Skip to content

Latest commit

 

History

History
304 lines (167 loc) · 8.68 KB

File metadata and controls

304 lines (167 loc) · 8.68 KB

CreditNoteQueryParams

Properties

Name Type Description Notes
CreatedAt Pointer to NullableDateTimeFilter [optional]
CustomerId Pointer to NullableString [optional]
Expand Pointer to []string Specifies which fields in the response should be expanded. [optional]
InvoiceId Pointer to NullableString [optional]
PageNumber Pointer to int32 Page number [optional] [default to 1]
PageSize Pointer to int32 Page size [optional] [default to 100]
SortDescending Pointer to bool Sort direction. [optional] [default to false]
SortKey Pointer to string Key name based on which data is sorted. [optional] [default to "created_at"]
UpdatedAt Pointer to NullableDateTimeFilter [optional]

Methods

NewCreditNoteQueryParams

func NewCreditNoteQueryParams() *CreditNoteQueryParams

NewCreditNoteQueryParams instantiates a new CreditNoteQueryParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewCreditNoteQueryParamsWithDefaults

func NewCreditNoteQueryParamsWithDefaults() *CreditNoteQueryParams

NewCreditNoteQueryParamsWithDefaults instantiates a new CreditNoteQueryParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetCreatedAt

func (o *CreditNoteQueryParams) GetCreatedAt() DateTimeFilter

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *CreditNoteQueryParams) GetCreatedAtOk() (*DateTimeFilter, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *CreditNoteQueryParams) SetCreatedAt(v DateTimeFilter)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *CreditNoteQueryParams) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

SetCreatedAtNil

func (o *CreditNoteQueryParams) SetCreatedAtNil(b bool)

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

UnsetCreatedAt

func (o *CreditNoteQueryParams) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

GetCustomerId

func (o *CreditNoteQueryParams) GetCustomerId() string

GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.

GetCustomerIdOk

func (o *CreditNoteQueryParams) GetCustomerIdOk() (*string, bool)

GetCustomerIdOk returns a tuple with the CustomerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCustomerId

func (o *CreditNoteQueryParams) SetCustomerId(v string)

SetCustomerId sets CustomerId field to given value.

HasCustomerId

func (o *CreditNoteQueryParams) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

SetCustomerIdNil

func (o *CreditNoteQueryParams) SetCustomerIdNil(b bool)

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

UnsetCustomerId

func (o *CreditNoteQueryParams) UnsetCustomerId()

UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil

GetExpand

func (o *CreditNoteQueryParams) GetExpand() []string

GetExpand returns the Expand field if non-nil, zero value otherwise.

GetExpandOk

func (o *CreditNoteQueryParams) GetExpandOk() (*[]string, bool)

GetExpandOk returns a tuple with the Expand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExpand

func (o *CreditNoteQueryParams) SetExpand(v []string)

SetExpand sets Expand field to given value.

HasExpand

func (o *CreditNoteQueryParams) HasExpand() bool

HasExpand returns a boolean if a field has been set.

GetInvoiceId

func (o *CreditNoteQueryParams) GetInvoiceId() string

GetInvoiceId returns the InvoiceId field if non-nil, zero value otherwise.

GetInvoiceIdOk

func (o *CreditNoteQueryParams) GetInvoiceIdOk() (*string, bool)

GetInvoiceIdOk returns a tuple with the InvoiceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInvoiceId

func (o *CreditNoteQueryParams) SetInvoiceId(v string)

SetInvoiceId sets InvoiceId field to given value.

HasInvoiceId

func (o *CreditNoteQueryParams) HasInvoiceId() bool

HasInvoiceId returns a boolean if a field has been set.

SetInvoiceIdNil

func (o *CreditNoteQueryParams) SetInvoiceIdNil(b bool)

SetInvoiceIdNil sets the value for InvoiceId to be an explicit nil

UnsetInvoiceId

func (o *CreditNoteQueryParams) UnsetInvoiceId()

UnsetInvoiceId ensures that no value is present for InvoiceId, not even an explicit nil

GetPageNumber

func (o *CreditNoteQueryParams) GetPageNumber() int32

GetPageNumber returns the PageNumber field if non-nil, zero value otherwise.

GetPageNumberOk

func (o *CreditNoteQueryParams) GetPageNumberOk() (*int32, bool)

GetPageNumberOk returns a tuple with the PageNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPageNumber

func (o *CreditNoteQueryParams) SetPageNumber(v int32)

SetPageNumber sets PageNumber field to given value.

HasPageNumber

func (o *CreditNoteQueryParams) HasPageNumber() bool

HasPageNumber returns a boolean if a field has been set.

GetPageSize

func (o *CreditNoteQueryParams) GetPageSize() int32

GetPageSize returns the PageSize field if non-nil, zero value otherwise.

GetPageSizeOk

func (o *CreditNoteQueryParams) GetPageSizeOk() (*int32, bool)

GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPageSize

func (o *CreditNoteQueryParams) SetPageSize(v int32)

SetPageSize sets PageSize field to given value.

HasPageSize

func (o *CreditNoteQueryParams) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

GetSortDescending

func (o *CreditNoteQueryParams) GetSortDescending() bool

GetSortDescending returns the SortDescending field if non-nil, zero value otherwise.

GetSortDescendingOk

func (o *CreditNoteQueryParams) GetSortDescendingOk() (*bool, bool)

GetSortDescendingOk returns a tuple with the SortDescending field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSortDescending

func (o *CreditNoteQueryParams) SetSortDescending(v bool)

SetSortDescending sets SortDescending field to given value.

HasSortDescending

func (o *CreditNoteQueryParams) HasSortDescending() bool

HasSortDescending returns a boolean if a field has been set.

GetSortKey

func (o *CreditNoteQueryParams) GetSortKey() string

GetSortKey returns the SortKey field if non-nil, zero value otherwise.

GetSortKeyOk

func (o *CreditNoteQueryParams) GetSortKeyOk() (*string, bool)

GetSortKeyOk returns a tuple with the SortKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSortKey

func (o *CreditNoteQueryParams) SetSortKey(v string)

SetSortKey sets SortKey field to given value.

HasSortKey

func (o *CreditNoteQueryParams) HasSortKey() bool

HasSortKey returns a boolean if a field has been set.

GetUpdatedAt

func (o *CreditNoteQueryParams) GetUpdatedAt() DateTimeFilter

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *CreditNoteQueryParams) GetUpdatedAtOk() (*DateTimeFilter, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpdatedAt

func (o *CreditNoteQueryParams) SetUpdatedAt(v DateTimeFilter)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *CreditNoteQueryParams) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

SetUpdatedAtNil

func (o *CreditNoteQueryParams) SetUpdatedAtNil(b bool)

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

UnsetUpdatedAt

func (o *CreditNoteQueryParams) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]