Documentation ¶
Index ¶
- Variables
- type AddressObject
- func (o *AddressObject) GetCity() string
- func (o *AddressObject) GetCityOk() (*string, bool)
- func (o *AddressObject) GetCountry() string
- func (o *AddressObject) GetCountryOk() (*string, bool)
- func (o *AddressObject) GetPostalCode() string
- func (o *AddressObject) GetPostalCodeOk() (*string, bool)
- func (o *AddressObject) GetProvince() string
- func (o *AddressObject) GetProvinceOk() (*string, bool)
- func (o *AddressObject) GetState() string
- func (o *AddressObject) GetStateOk() (*string, bool)
- func (o *AddressObject) GetStreetLine1() string
- func (o *AddressObject) GetStreetLine1Ok() (*string, bool)
- func (o *AddressObject) GetStreetLine2() string
- func (o *AddressObject) GetStreetLine2Ok() (*string, bool)
- func (o *AddressObject) HasCity() bool
- func (o *AddressObject) HasCountry() bool
- func (o *AddressObject) HasPostalCode() bool
- func (o *AddressObject) HasProvince() bool
- func (o *AddressObject) HasState() bool
- func (o *AddressObject) HasStreetLine1() bool
- func (o *AddressObject) HasStreetLine2() bool
- func (o AddressObject) MarshalJSON() ([]byte, error)
- func (o *AddressObject) SetCity(v string)
- func (o *AddressObject) SetCityNil()
- func (o *AddressObject) SetCountry(v string)
- func (o *AddressObject) SetCountryNil()
- func (o *AddressObject) SetPostalCode(v string)
- func (o *AddressObject) SetPostalCodeNil()
- func (o *AddressObject) SetProvince(v string)
- func (o *AddressObject) SetProvinceNil()
- func (o *AddressObject) SetState(v string)
- func (o *AddressObject) SetStateNil()
- func (o *AddressObject) SetStreetLine1(v string)
- func (o *AddressObject) SetStreetLine1Nil()
- func (o *AddressObject) SetStreetLine2(v string)
- func (o *AddressObject) SetStreetLine2Nil()
- func (o AddressObject) ToMap() (map[string]interface{}, error)
- func (o *AddressObject) UnsetCity()
- func (o *AddressObject) UnsetCountry()
- func (o *AddressObject) UnsetPostalCode()
- func (o *AddressObject) UnsetProvince()
- func (o *AddressObject) UnsetState()
- func (o *AddressObject) UnsetStreetLine1()
- func (o *AddressObject) UnsetStreetLine2()
- type AlternativeDisplayItem
- func (o *AlternativeDisplayItem) GetType() string
- func (o *AlternativeDisplayItem) GetTypeOk() (*string, bool)
- func (o *AlternativeDisplayItem) GetValue() string
- func (o *AlternativeDisplayItem) GetValueOk() (*string, bool)
- func (o *AlternativeDisplayItem) HasType() bool
- func (o *AlternativeDisplayItem) HasValue() bool
- func (o AlternativeDisplayItem) MarshalJSON() ([]byte, error)
- func (o *AlternativeDisplayItem) SetType(v string)
- func (o *AlternativeDisplayItem) SetValue(v string)
- func (o AlternativeDisplayItem) ToMap() (map[string]interface{}, error)
- type ApiCreateInvoiceRequest
- type ApiExpireInvoiceRequest
- type ApiGetInvoiceByIdRequest
- type ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) ClientTypes(clientTypes []InvoiceClientType) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) CreatedAfter(createdAfter time.Time) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) CreatedBefore(createdBefore time.Time) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) Execute() ([]Invoice, *http.Response, *common.XenditSdkError)
- func (r ApiGetInvoicesRequest) ExpiredAfter(expiredAfter time.Time) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) ExpiredBefore(expiredBefore time.Time) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) ExternalId(externalId string) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) ForUserId(forUserId string) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) LastInvoice(lastInvoice string) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) Limit(limit float32) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) OnDemandLink(onDemandLink string) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) PaidAfter(paidAfter time.Time) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) PaidBefore(paidBefore time.Time) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) PaymentChannels(paymentChannels []string) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) RecurringPaymentId(recurringPaymentId string) ApiGetInvoicesRequest
- func (r ApiGetInvoicesRequest) Statuses(statuses []InvoiceStatus) ApiGetInvoicesRequest
- type BadRequestError
- func (o *BadRequestError) GetErrorCode() string
- func (o *BadRequestError) GetErrorCodeOk() (*string, bool)
- func (o *BadRequestError) GetMessage() string
- func (o *BadRequestError) GetMessageOk() (*string, bool)
- func (o BadRequestError) MarshalJSON() ([]byte, error)
- func (o *BadRequestError) SetErrorCode(v string)
- func (o *BadRequestError) SetMessage(v string)
- func (o BadRequestError) ToMap() (map[string]interface{}, error)
- type Bank
- func (o *Bank) GetAccountHolderName() string
- func (o *Bank) GetAccountHolderNameOk() (*string, bool)
- func (o *Bank) GetAlternativeDisplays() []AlternativeDisplayItem
- func (o *Bank) GetAlternativeDisplaysOk() ([]AlternativeDisplayItem, bool)
- func (o *Bank) GetBankAccountNumber() string
- func (o *Bank) GetBankAccountNumberOk() (*string, bool)
- func (o *Bank) GetBankBranch() string
- func (o *Bank) GetBankBranchOk() (*string, bool)
- func (o *Bank) GetBankCode() BankCode
- func (o *Bank) GetBankCodeOk() (*BankCode, bool)
- func (o *Bank) GetCollectionType() string
- func (o *Bank) GetCollectionTypeOk() (*string, bool)
- func (o *Bank) GetTransferAmount() float64
- func (o *Bank) GetTransferAmountOk() (*float64, bool)
- func (o *Bank) HasAlternativeDisplays() bool
- func (o *Bank) HasBankAccountNumber() bool
- func (o *Bank) HasBankBranch() bool
- func (o *Bank) HasTransferAmount() bool
- func (o Bank) MarshalJSON() ([]byte, error)
- func (o *Bank) SetAccountHolderName(v string)
- func (o *Bank) SetAlternativeDisplays(v []AlternativeDisplayItem)
- func (o *Bank) SetBankAccountNumber(v string)
- func (o *Bank) SetBankBranch(v string)
- func (o *Bank) SetBankCode(v BankCode)
- func (o *Bank) SetCollectionType(v string)
- func (o *Bank) SetTransferAmount(v float64)
- func (o Bank) ToMap() (map[string]interface{}, error)
- type BankCode
- type ChannelProperties
- func (o *ChannelProperties) GetCards() ChannelPropertiesCards
- func (o *ChannelProperties) GetCardsOk() (*ChannelPropertiesCards, bool)
- func (o *ChannelProperties) HasCards() bool
- func (o ChannelProperties) MarshalJSON() ([]byte, error)
- func (o *ChannelProperties) SetCards(v ChannelPropertiesCards)
- func (o ChannelProperties) ToMap() (map[string]interface{}, error)
- type ChannelPropertiesCards
- func (o *ChannelPropertiesCards) GetAllowedBins() []string
- func (o *ChannelPropertiesCards) GetAllowedBinsOk() ([]string, bool)
- func (o *ChannelPropertiesCards) HasAllowedBins() bool
- func (o ChannelPropertiesCards) MarshalJSON() ([]byte, error)
- func (o *ChannelPropertiesCards) SetAllowedBins(v []string)
- func (o ChannelPropertiesCards) ToMap() (map[string]interface{}, error)
- type CreateInvoiceRequest
- func (o *CreateInvoiceRequest) GetAmount() float64
- func (o *CreateInvoiceRequest) GetAmountOk() (*float64, bool)
- func (o *CreateInvoiceRequest) GetCallbackVirtualAccountId() string
- func (o *CreateInvoiceRequest) GetCallbackVirtualAccountIdOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetChannelProperties() ChannelProperties
- func (o *CreateInvoiceRequest) GetChannelPropertiesOk() (*ChannelProperties, bool)
- func (o *CreateInvoiceRequest) GetCurrency() string
- func (o *CreateInvoiceRequest) GetCurrencyOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetCustomer() CustomerObject
- func (o *CreateInvoiceRequest) GetCustomerNotificationPreference() NotificationPreference
- func (o *CreateInvoiceRequest) GetCustomerNotificationPreferenceOk() (*NotificationPreference, bool)
- func (o *CreateInvoiceRequest) GetCustomerOk() (*CustomerObject, bool)
- func (o *CreateInvoiceRequest) GetDescription() string
- func (o *CreateInvoiceRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetExternalId() string
- func (o *CreateInvoiceRequest) GetExternalIdOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetFailureRedirectUrl() string
- func (o *CreateInvoiceRequest) GetFailureRedirectUrlOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetFees() []InvoiceFee
- func (o *CreateInvoiceRequest) GetFeesOk() ([]InvoiceFee, bool)
- func (o *CreateInvoiceRequest) GetInvoiceDuration() string
- func (o *CreateInvoiceRequest) GetInvoiceDurationOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetItems() []InvoiceItem
- func (o *CreateInvoiceRequest) GetItemsOk() ([]InvoiceItem, bool)
- func (o *CreateInvoiceRequest) GetLocal() string
- func (o *CreateInvoiceRequest) GetLocalOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetMidLabel() string
- func (o *CreateInvoiceRequest) GetMidLabelOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetPayerEmail() string
- func (o *CreateInvoiceRequest) GetPayerEmailOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetPaymentMethods() []string
- func (o *CreateInvoiceRequest) GetPaymentMethodsOk() ([]string, bool)
- func (o *CreateInvoiceRequest) GetReminderTime() float32
- func (o *CreateInvoiceRequest) GetReminderTimeOk() (*float32, bool)
- func (o *CreateInvoiceRequest) GetReminderTimeUnit() string
- func (o *CreateInvoiceRequest) GetReminderTimeUnitOk() (*string, bool)
- func (o *CreateInvoiceRequest) GetShouldAuthenticateCreditCard() bool
- func (o *CreateInvoiceRequest) GetShouldAuthenticateCreditCardOk() (*bool, bool)
- func (o *CreateInvoiceRequest) GetShouldSendEmail() bool
- func (o *CreateInvoiceRequest) GetShouldSendEmailOk() (*bool, bool)
- func (o *CreateInvoiceRequest) GetSuccessRedirectUrl() string
- func (o *CreateInvoiceRequest) GetSuccessRedirectUrlOk() (*string, bool)
- func (o *CreateInvoiceRequest) HasCallbackVirtualAccountId() bool
- func (o *CreateInvoiceRequest) HasChannelProperties() bool
- func (o *CreateInvoiceRequest) HasCurrency() bool
- func (o *CreateInvoiceRequest) HasCustomer() bool
- func (o *CreateInvoiceRequest) HasCustomerNotificationPreference() bool
- func (o *CreateInvoiceRequest) HasDescription() bool
- func (o *CreateInvoiceRequest) HasFailureRedirectUrl() bool
- func (o *CreateInvoiceRequest) HasFees() bool
- func (o *CreateInvoiceRequest) HasInvoiceDuration() bool
- func (o *CreateInvoiceRequest) HasItems() bool
- func (o *CreateInvoiceRequest) HasLocal() bool
- func (o *CreateInvoiceRequest) HasMidLabel() bool
- func (o *CreateInvoiceRequest) HasPayerEmail() bool
- func (o *CreateInvoiceRequest) HasPaymentMethods() bool
- func (o *CreateInvoiceRequest) HasReminderTime() bool
- func (o *CreateInvoiceRequest) HasReminderTimeUnit() bool
- func (o *CreateInvoiceRequest) HasShouldAuthenticateCreditCard() bool
- func (o *CreateInvoiceRequest) HasShouldSendEmail() bool
- func (o *CreateInvoiceRequest) HasSuccessRedirectUrl() bool
- func (o CreateInvoiceRequest) MarshalJSON() ([]byte, error)
- func (o *CreateInvoiceRequest) SetAmount(v float64)
- func (o *CreateInvoiceRequest) SetCallbackVirtualAccountId(v string)
- func (o *CreateInvoiceRequest) SetChannelProperties(v ChannelProperties)
- func (o *CreateInvoiceRequest) SetCurrency(v string)
- func (o *CreateInvoiceRequest) SetCustomer(v CustomerObject)
- func (o *CreateInvoiceRequest) SetCustomerNotificationPreference(v NotificationPreference)
- func (o *CreateInvoiceRequest) SetDescription(v string)
- func (o *CreateInvoiceRequest) SetExternalId(v string)
- func (o *CreateInvoiceRequest) SetFailureRedirectUrl(v string)
- func (o *CreateInvoiceRequest) SetFees(v []InvoiceFee)
- func (o *CreateInvoiceRequest) SetInvoiceDuration(v string)
- func (o *CreateInvoiceRequest) SetItems(v []InvoiceItem)
- func (o *CreateInvoiceRequest) SetLocal(v string)
- func (o *CreateInvoiceRequest) SetMidLabel(v string)
- func (o *CreateInvoiceRequest) SetPayerEmail(v string)
- func (o *CreateInvoiceRequest) SetPaymentMethods(v []string)
- func (o *CreateInvoiceRequest) SetReminderTime(v float32)
- func (o *CreateInvoiceRequest) SetReminderTimeUnit(v string)
- func (o *CreateInvoiceRequest) SetShouldAuthenticateCreditCard(v bool)
- func (o *CreateInvoiceRequest) SetShouldSendEmail(v bool)
- func (o *CreateInvoiceRequest) SetSuccessRedirectUrl(v string)
- func (o CreateInvoiceRequest) ToMap() (map[string]interface{}, error)
- type CustomerObject
- func (o *CustomerObject) GetAddresses() []AddressObject
- func (o *CustomerObject) GetAddressesOk() ([]AddressObject, bool)
- func (o *CustomerObject) GetCustomerId() string
- func (o *CustomerObject) GetCustomerIdOk() (*string, bool)
- func (o *CustomerObject) GetEmail() string
- func (o *CustomerObject) GetEmailOk() (*string, bool)
- func (o *CustomerObject) GetGivenNames() string
- func (o *CustomerObject) GetGivenNamesOk() (*string, bool)
- func (o *CustomerObject) GetId() string
- func (o *CustomerObject) GetIdOk() (*string, bool)
- func (o *CustomerObject) GetMobileNumber() string
- func (o *CustomerObject) GetMobileNumberOk() (*string, bool)
- func (o *CustomerObject) GetPhoneNumber() string
- func (o *CustomerObject) GetPhoneNumberOk() (*string, bool)
- func (o *CustomerObject) GetSurname() string
- func (o *CustomerObject) GetSurnameOk() (*string, bool)
- func (o *CustomerObject) HasAddresses() bool
- func (o *CustomerObject) HasCustomerId() bool
- func (o *CustomerObject) HasEmail() bool
- func (o *CustomerObject) HasGivenNames() bool
- func (o *CustomerObject) HasId() bool
- func (o *CustomerObject) HasMobileNumber() bool
- func (o *CustomerObject) HasPhoneNumber() bool
- func (o *CustomerObject) HasSurname() bool
- func (o CustomerObject) MarshalJSON() ([]byte, error)
- func (o *CustomerObject) SetAddresses(v []AddressObject)
- func (o *CustomerObject) SetCustomerId(v string)
- func (o *CustomerObject) SetCustomerIdNil()
- func (o *CustomerObject) SetEmail(v string)
- func (o *CustomerObject) SetEmailNil()
- func (o *CustomerObject) SetGivenNames(v string)
- func (o *CustomerObject) SetGivenNamesNil()
- func (o *CustomerObject) SetId(v string)
- func (o *CustomerObject) SetIdNil()
- func (o *CustomerObject) SetMobileNumber(v string)
- func (o *CustomerObject) SetMobileNumberNil()
- func (o *CustomerObject) SetPhoneNumber(v string)
- func (o *CustomerObject) SetPhoneNumberNil()
- func (o *CustomerObject) SetSurname(v string)
- func (o *CustomerObject) SetSurnameNil()
- func (o CustomerObject) ToMap() (map[string]interface{}, error)
- func (o *CustomerObject) UnsetCustomerId()
- func (o *CustomerObject) UnsetEmail()
- func (o *CustomerObject) UnsetGivenNames()
- func (o *CustomerObject) UnsetId()
- func (o *CustomerObject) UnsetMobileNumber()
- func (o *CustomerObject) UnsetPhoneNumber()
- func (o *CustomerObject) UnsetSurname()
- type DirectDebit
- func (o *DirectDebit) GetDirectDebitType() DirectDebitType
- func (o *DirectDebit) GetDirectDebitTypeOk() (*DirectDebitType, bool)
- func (o DirectDebit) MarshalJSON() ([]byte, error)
- func (o *DirectDebit) SetDirectDebitType(v DirectDebitType)
- func (o DirectDebit) ToMap() (map[string]interface{}, error)
- type DirectDebitType
- type Ewallet
- type EwalletType
- type ForbiddenError
- func (o *ForbiddenError) GetErrorCode() string
- func (o *ForbiddenError) GetErrorCodeOk() (*string, bool)
- func (o *ForbiddenError) GetMessage() string
- func (o *ForbiddenError) GetMessageOk() (*string, bool)
- func (o ForbiddenError) MarshalJSON() ([]byte, error)
- func (o *ForbiddenError) SetErrorCode(v string)
- func (o *ForbiddenError) SetMessage(v string)
- func (o ForbiddenError) ToMap() (map[string]interface{}, error)
- type Invoice
- func (o *Invoice) GetAmount() float64
- func (o *Invoice) GetAmountOk() (*float64, bool)
- func (o *Invoice) GetAvailableBanks() []Bank
- func (o *Invoice) GetAvailableBanksOk() ([]Bank, bool)
- func (o *Invoice) GetAvailableDirectDebits() []DirectDebit
- func (o *Invoice) GetAvailableDirectDebitsOk() ([]DirectDebit, bool)
- func (o *Invoice) GetAvailableEwallets() []Ewallet
- func (o *Invoice) GetAvailableEwalletsOk() ([]Ewallet, bool)
- func (o *Invoice) GetAvailablePaylaters() []Paylater
- func (o *Invoice) GetAvailablePaylatersOk() ([]Paylater, bool)
- func (o *Invoice) GetAvailableQrCodes() []QrCode
- func (o *Invoice) GetAvailableQrCodesOk() ([]QrCode, bool)
- func (o *Invoice) GetAvailableRetailOutlets() []RetailOutlet
- func (o *Invoice) GetAvailableRetailOutletsOk() ([]RetailOutlet, bool)
- func (o *Invoice) GetChannelProperties() ChannelProperties
- func (o *Invoice) GetChannelPropertiesOk() (*ChannelProperties, bool)
- func (o *Invoice) GetCreated() time.Time
- func (o *Invoice) GetCreatedOk() (*time.Time, bool)
- func (o *Invoice) GetCurrency() InvoiceCurrency
- func (o *Invoice) GetCurrencyOk() (*InvoiceCurrency, bool)
- func (o *Invoice) GetCustomer() CustomerObject
- func (o *Invoice) GetCustomerNotificationPreference() NotificationPreference
- func (o *Invoice) GetCustomerNotificationPreferenceOk() (*NotificationPreference, bool)
- func (o *Invoice) GetCustomerOk() (*CustomerObject, bool)
- func (o *Invoice) GetDescription() string
- func (o *Invoice) GetDescriptionOk() (*string, bool)
- func (o *Invoice) GetExpiryDate() time.Time
- func (o *Invoice) GetExpiryDateOk() (*time.Time, bool)
- func (o *Invoice) GetExternalId() string
- func (o *Invoice) GetExternalIdOk() (*string, bool)
- func (o *Invoice) GetFailureRedirectUrl() string
- func (o *Invoice) GetFailureRedirectUrlOk() (*string, bool)
- func (o *Invoice) GetFees() []InvoiceFee
- func (o *Invoice) GetFeesOk() ([]InvoiceFee, bool)
- func (o *Invoice) GetFixedVa() bool
- func (o *Invoice) GetFixedVaOk() (*bool, bool)
- func (o *Invoice) GetId() string
- func (o *Invoice) GetIdOk() (*string, bool)
- func (o *Invoice) GetInvoiceUrl() string
- func (o *Invoice) GetInvoiceUrlOk() (*string, bool)
- func (o *Invoice) GetItems() []InvoiceItem
- func (o *Invoice) GetItemsOk() ([]InvoiceItem, bool)
- func (o *Invoice) GetLocale() string
- func (o *Invoice) GetLocaleOk() (*string, bool)
- func (o *Invoice) GetMerchantName() string
- func (o *Invoice) GetMerchantNameOk() (*string, bool)
- func (o *Invoice) GetMerchantProfilePictureUrl() string
- func (o *Invoice) GetMerchantProfilePictureUrlOk() (*string, bool)
- func (o *Invoice) GetPayerEmail() string
- func (o *Invoice) GetPayerEmailOk() (*string, bool)
- func (o *Invoice) GetPaymentMethod() InvoicePaymentMethod
- func (o *Invoice) GetPaymentMethodOk() (*InvoicePaymentMethod, bool)
- func (o *Invoice) GetReminderDate() time.Time
- func (o *Invoice) GetReminderDateOk() (*time.Time, bool)
- func (o *Invoice) GetShouldAuthenticateCreditCard() bool
- func (o *Invoice) GetShouldAuthenticateCreditCardOk() (*bool, bool)
- func (o *Invoice) GetShouldExcludeCreditCard() bool
- func (o *Invoice) GetShouldExcludeCreditCardOk() (*bool, bool)
- func (o *Invoice) GetShouldSendEmail() bool
- func (o *Invoice) GetShouldSendEmailOk() (*bool, bool)
- func (o *Invoice) GetStatus() InvoiceStatus
- func (o *Invoice) GetStatusOk() (*InvoiceStatus, bool)
- func (o *Invoice) GetSuccessRedirectUrl() string
- func (o *Invoice) GetSuccessRedirectUrlOk() (*string, bool)
- func (o *Invoice) GetUpdated() time.Time
- func (o *Invoice) GetUpdatedOk() (*time.Time, bool)
- func (o *Invoice) GetUserId() string
- func (o *Invoice) GetUserIdOk() (*string, bool)
- func (o *Invoice) HasChannelProperties() bool
- func (o *Invoice) HasCurrency() bool
- func (o *Invoice) HasCustomer() bool
- func (o *Invoice) HasCustomerNotificationPreference() bool
- func (o *Invoice) HasDescription() bool
- func (o *Invoice) HasFailureRedirectUrl() bool
- func (o *Invoice) HasFees() bool
- func (o *Invoice) HasFixedVa() bool
- func (o *Invoice) HasId() bool
- func (o *Invoice) HasItems() bool
- func (o *Invoice) HasLocale() bool
- func (o *Invoice) HasPayerEmail() bool
- func (o *Invoice) HasPaymentMethod() bool
- func (o *Invoice) HasReminderDate() bool
- func (o *Invoice) HasShouldAuthenticateCreditCard() bool
- func (o *Invoice) HasShouldExcludeCreditCard() bool
- func (o *Invoice) HasSuccessRedirectUrl() bool
- func (o Invoice) MarshalJSON() ([]byte, error)
- func (o *Invoice) SetAmount(v float64)
- func (o *Invoice) SetAvailableBanks(v []Bank)
- func (o *Invoice) SetAvailableDirectDebits(v []DirectDebit)
- func (o *Invoice) SetAvailableEwallets(v []Ewallet)
- func (o *Invoice) SetAvailablePaylaters(v []Paylater)
- func (o *Invoice) SetAvailableQrCodes(v []QrCode)
- func (o *Invoice) SetAvailableRetailOutlets(v []RetailOutlet)
- func (o *Invoice) SetChannelProperties(v ChannelProperties)
- func (o *Invoice) SetCreated(v time.Time)
- func (o *Invoice) SetCurrency(v InvoiceCurrency)
- func (o *Invoice) SetCustomer(v CustomerObject)
- func (o *Invoice) SetCustomerNotificationPreference(v NotificationPreference)
- func (o *Invoice) SetDescription(v string)
- func (o *Invoice) SetExpiryDate(v time.Time)
- func (o *Invoice) SetExternalId(v string)
- func (o *Invoice) SetFailureRedirectUrl(v string)
- func (o *Invoice) SetFees(v []InvoiceFee)
- func (o *Invoice) SetFixedVa(v bool)
- func (o *Invoice) SetId(v string)
- func (o *Invoice) SetInvoiceUrl(v string)
- func (o *Invoice) SetItems(v []InvoiceItem)
- func (o *Invoice) SetLocale(v string)
- func (o *Invoice) SetMerchantName(v string)
- func (o *Invoice) SetMerchantProfilePictureUrl(v string)
- func (o *Invoice) SetPayerEmail(v string)
- func (o *Invoice) SetPaymentMethod(v InvoicePaymentMethod)
- func (o *Invoice) SetReminderDate(v time.Time)
- func (o *Invoice) SetShouldAuthenticateCreditCard(v bool)
- func (o *Invoice) SetShouldExcludeCreditCard(v bool)
- func (o *Invoice) SetShouldSendEmail(v bool)
- func (o *Invoice) SetStatus(v InvoiceStatus)
- func (o *Invoice) SetSuccessRedirectUrl(v string)
- func (o *Invoice) SetUpdated(v time.Time)
- func (o *Invoice) SetUserId(v string)
- func (o Invoice) ToMap() (map[string]interface{}, error)
- type InvoiceApi
- type InvoiceApiService
- func (a *InvoiceApiService) CreateInvoice(ctx context.Context) ApiCreateInvoiceRequest
- func (a *InvoiceApiService) CreateInvoiceExecute(r ApiCreateInvoiceRequest) (*Invoice, *http.Response, *common.XenditSdkError)
- func (a *InvoiceApiService) ExpireInvoice(ctx context.Context, invoiceId string) ApiExpireInvoiceRequest
- func (a *InvoiceApiService) ExpireInvoiceExecute(r ApiExpireInvoiceRequest) (*Invoice, *http.Response, *common.XenditSdkError)
- func (a *InvoiceApiService) GetInvoiceById(ctx context.Context, invoiceId string) ApiGetInvoiceByIdRequest
- func (a *InvoiceApiService) GetInvoiceByIdExecute(r ApiGetInvoiceByIdRequest) (*Invoice, *http.Response, *common.XenditSdkError)
- func (a *InvoiceApiService) GetInvoices(ctx context.Context) ApiGetInvoicesRequest
- func (a *InvoiceApiService) GetInvoicesExecute(r ApiGetInvoicesRequest) ([]Invoice, *http.Response, *common.XenditSdkError)
- type InvoiceCallback
- func (o *InvoiceCallback) GetAmount() float64
- func (o *InvoiceCallback) GetAmountOk() (*float64, bool)
- func (o *InvoiceCallback) GetBankCode() string
- func (o *InvoiceCallback) GetBankCodeOk() (*string, bool)
- func (o *InvoiceCallback) GetCreated() string
- func (o *InvoiceCallback) GetCreatedOk() (*string, bool)
- func (o *InvoiceCallback) GetCreditCardChargeId() string
- func (o *InvoiceCallback) GetCreditCardChargeIdOk() (*string, bool)
- func (o *InvoiceCallback) GetCurrency() string
- func (o *InvoiceCallback) GetCurrencyOk() (*string, bool)
- func (o *InvoiceCallback) GetDescription() string
- func (o *InvoiceCallback) GetDescriptionOk() (*string, bool)
- func (o *InvoiceCallback) GetEwalletType() string
- func (o *InvoiceCallback) GetEwalletTypeOk() (*string, bool)
- func (o *InvoiceCallback) GetExternalId() string
- func (o *InvoiceCallback) GetExternalIdOk() (*string, bool)
- func (o *InvoiceCallback) GetFailureRedirectUrl() string
- func (o *InvoiceCallback) GetFailureRedirectUrlOk() (*string, bool)
- func (o *InvoiceCallback) GetFees() []InvoiceFee
- func (o *InvoiceCallback) GetFeesOk() ([]InvoiceFee, bool)
- func (o *InvoiceCallback) GetId() string
- func (o *InvoiceCallback) GetIdOk() (*string, bool)
- func (o *InvoiceCallback) GetItems() []InvoiceCallbackItem
- func (o *InvoiceCallback) GetItemsOk() ([]InvoiceCallbackItem, bool)
- func (o *InvoiceCallback) GetMerchantName() string
- func (o *InvoiceCallback) GetMerchantNameOk() (*string, bool)
- func (o *InvoiceCallback) GetOnDemandLink() string
- func (o *InvoiceCallback) GetOnDemandLinkOk() (*string, bool)
- func (o *InvoiceCallback) GetPaidAmount() float64
- func (o *InvoiceCallback) GetPaidAmountOk() (*float64, bool)
- func (o *InvoiceCallback) GetPaidAt() string
- func (o *InvoiceCallback) GetPaidAtOk() (*string, bool)
- func (o *InvoiceCallback) GetPayerEmail() string
- func (o *InvoiceCallback) GetPayerEmailOk() (*string, bool)
- func (o *InvoiceCallback) GetPaymentChannel() string
- func (o *InvoiceCallback) GetPaymentChannelOk() (*string, bool)
- func (o *InvoiceCallback) GetPaymentDestination() string
- func (o *InvoiceCallback) GetPaymentDestinationOk() (*string, bool)
- func (o *InvoiceCallback) GetPaymentDetails() PaymentDetails
- func (o *InvoiceCallback) GetPaymentDetailsOk() (*PaymentDetails, bool)
- func (o *InvoiceCallback) GetPaymentId() string
- func (o *InvoiceCallback) GetPaymentIdOk() (*string, bool)
- func (o *InvoiceCallback) GetPaymentMethod() string
- func (o *InvoiceCallback) GetPaymentMethodOk() (*string, bool)
- func (o *InvoiceCallback) GetRecurringPaymentId() string
- func (o *InvoiceCallback) GetRecurringPaymentIdOk() (*string, bool)
- func (o *InvoiceCallback) GetShouldAuthenticateCreditCard() bool
- func (o *InvoiceCallback) GetShouldAuthenticateCreditCardOk() (*bool, bool)
- func (o *InvoiceCallback) GetStatus() string
- func (o *InvoiceCallback) GetStatusOk() (*string, bool)
- func (o *InvoiceCallback) GetSuccessRedirectUrl() string
- func (o *InvoiceCallback) GetSuccessRedirectUrlOk() (*string, bool)
- func (o *InvoiceCallback) GetUpdated() string
- func (o *InvoiceCallback) GetUpdatedOk() (*string, bool)
- func (o *InvoiceCallback) GetUserId() string
- func (o *InvoiceCallback) GetUserIdOk() (*string, bool)
- func (o *InvoiceCallback) HasBankCode() bool
- func (o *InvoiceCallback) HasCreditCardChargeId() bool
- func (o *InvoiceCallback) HasDescription() bool
- func (o *InvoiceCallback) HasEwalletType() bool
- func (o *InvoiceCallback) HasFailureRedirectUrl() bool
- func (o *InvoiceCallback) HasFees() bool
- func (o *InvoiceCallback) HasItems() bool
- func (o *InvoiceCallback) HasOnDemandLink() bool
- func (o *InvoiceCallback) HasPaidAmount() bool
- func (o *InvoiceCallback) HasPaidAt() bool
- func (o *InvoiceCallback) HasPayerEmail() bool
- func (o *InvoiceCallback) HasPaymentChannel() bool
- func (o *InvoiceCallback) HasPaymentDestination() bool
- func (o *InvoiceCallback) HasPaymentDetails() bool
- func (o *InvoiceCallback) HasPaymentId() bool
- func (o *InvoiceCallback) HasPaymentMethod() bool
- func (o *InvoiceCallback) HasRecurringPaymentId() bool
- func (o *InvoiceCallback) HasShouldAuthenticateCreditCard() bool
- func (o *InvoiceCallback) HasSuccessRedirectUrl() bool
- func (o InvoiceCallback) MarshalJSON() ([]byte, error)
- func (o *InvoiceCallback) SetAmount(v float64)
- func (o *InvoiceCallback) SetBankCode(v string)
- func (o *InvoiceCallback) SetCreated(v string)
- func (o *InvoiceCallback) SetCreditCardChargeId(v string)
- func (o *InvoiceCallback) SetCurrency(v string)
- func (o *InvoiceCallback) SetDescription(v string)
- func (o *InvoiceCallback) SetEwalletType(v string)
- func (o *InvoiceCallback) SetExternalId(v string)
- func (o *InvoiceCallback) SetFailureRedirectUrl(v string)
- func (o *InvoiceCallback) SetFees(v []InvoiceFee)
- func (o *InvoiceCallback) SetId(v string)
- func (o *InvoiceCallback) SetItems(v []InvoiceCallbackItem)
- func (o *InvoiceCallback) SetMerchantName(v string)
- func (o *InvoiceCallback) SetOnDemandLink(v string)
- func (o *InvoiceCallback) SetPaidAmount(v float64)
- func (o *InvoiceCallback) SetPaidAt(v string)
- func (o *InvoiceCallback) SetPayerEmail(v string)
- func (o *InvoiceCallback) SetPaymentChannel(v string)
- func (o *InvoiceCallback) SetPaymentDestination(v string)
- func (o *InvoiceCallback) SetPaymentDetails(v PaymentDetails)
- func (o *InvoiceCallback) SetPaymentId(v string)
- func (o *InvoiceCallback) SetPaymentMethod(v string)
- func (o *InvoiceCallback) SetRecurringPaymentId(v string)
- func (o *InvoiceCallback) SetShouldAuthenticateCreditCard(v bool)
- func (o *InvoiceCallback) SetStatus(v string)
- func (o *InvoiceCallback) SetSuccessRedirectUrl(v string)
- func (o *InvoiceCallback) SetUpdated(v string)
- func (o *InvoiceCallback) SetUserId(v string)
- func (o InvoiceCallback) ToMap() (map[string]interface{}, error)
- type InvoiceCallbackItem
- func (o *InvoiceCallbackItem) GetCategory() string
- func (o *InvoiceCallbackItem) GetCategoryOk() (*string, bool)
- func (o *InvoiceCallbackItem) GetName() string
- func (o *InvoiceCallbackItem) GetNameOk() (*string, bool)
- func (o *InvoiceCallbackItem) GetPrice() float32
- func (o *InvoiceCallbackItem) GetPriceOk() (*float32, bool)
- func (o *InvoiceCallbackItem) GetQuantity() float32
- func (o *InvoiceCallbackItem) GetQuantityOk() (*float32, bool)
- func (o *InvoiceCallbackItem) GetUrl() string
- func (o *InvoiceCallbackItem) GetUrlOk() (*string, bool)
- func (o *InvoiceCallbackItem) HasCategory() bool
- func (o *InvoiceCallbackItem) HasUrl() bool
- func (o InvoiceCallbackItem) MarshalJSON() ([]byte, error)
- func (o *InvoiceCallbackItem) SetCategory(v string)
- func (o *InvoiceCallbackItem) SetName(v string)
- func (o *InvoiceCallbackItem) SetPrice(v float32)
- func (o *InvoiceCallbackItem) SetQuantity(v float32)
- func (o *InvoiceCallbackItem) SetUrl(v string)
- func (o InvoiceCallbackItem) ToMap() (map[string]interface{}, error)
- type InvoiceClientType
- type InvoiceCurrency
- type InvoiceError404ResponseDefinition
- func (o *InvoiceError404ResponseDefinition) GetErrorCode() string
- func (o *InvoiceError404ResponseDefinition) GetErrorCodeOk() (*string, bool)
- func (o *InvoiceError404ResponseDefinition) GetMessage() string
- func (o *InvoiceError404ResponseDefinition) GetMessageOk() (*string, bool)
- func (o InvoiceError404ResponseDefinition) MarshalJSON() ([]byte, error)
- func (o *InvoiceError404ResponseDefinition) SetErrorCode(v string)
- func (o *InvoiceError404ResponseDefinition) SetMessage(v string)
- func (o InvoiceError404ResponseDefinition) ToMap() (map[string]interface{}, error)
- type InvoiceFee
- func (o *InvoiceFee) GetType() string
- func (o *InvoiceFee) GetTypeOk() (*string, bool)
- func (o *InvoiceFee) GetValue() float32
- func (o *InvoiceFee) GetValueOk() (*float32, bool)
- func (o InvoiceFee) MarshalJSON() ([]byte, error)
- func (o *InvoiceFee) SetType(v string)
- func (o *InvoiceFee) SetValue(v float32)
- func (o InvoiceFee) ToMap() (map[string]interface{}, error)
- type InvoiceItem
- func (o *InvoiceItem) GetCategory() string
- func (o *InvoiceItem) GetCategoryOk() (*string, bool)
- func (o *InvoiceItem) GetName() string
- func (o *InvoiceItem) GetNameOk() (*string, bool)
- func (o *InvoiceItem) GetPrice() float32
- func (o *InvoiceItem) GetPriceOk() (*float32, bool)
- func (o *InvoiceItem) GetQuantity() float32
- func (o *InvoiceItem) GetQuantityOk() (*float32, bool)
- func (o *InvoiceItem) GetReferenceId() string
- func (o *InvoiceItem) GetReferenceIdOk() (*string, bool)
- func (o *InvoiceItem) GetUrl() string
- func (o *InvoiceItem) GetUrlOk() (*string, bool)
- func (o *InvoiceItem) HasCategory() bool
- func (o *InvoiceItem) HasReferenceId() bool
- func (o *InvoiceItem) HasUrl() bool
- func (o InvoiceItem) MarshalJSON() ([]byte, error)
- func (o *InvoiceItem) SetCategory(v string)
- func (o *InvoiceItem) SetName(v string)
- func (o *InvoiceItem) SetPrice(v float32)
- func (o *InvoiceItem) SetQuantity(v float32)
- func (o *InvoiceItem) SetReferenceId(v string)
- func (o *InvoiceItem) SetUrl(v string)
- func (o InvoiceItem) ToMap() (map[string]interface{}, error)
- type InvoiceNotFoundError
- func (o *InvoiceNotFoundError) GetErrorCode() string
- func (o *InvoiceNotFoundError) GetErrorCodeOk() (*string, bool)
- func (o *InvoiceNotFoundError) GetMessage() string
- func (o *InvoiceNotFoundError) GetMessageOk() (*string, bool)
- func (o InvoiceNotFoundError) MarshalJSON() ([]byte, error)
- func (o *InvoiceNotFoundError) SetErrorCode(v string)
- func (o *InvoiceNotFoundError) SetMessage(v string)
- func (o InvoiceNotFoundError) ToMap() (map[string]interface{}, error)
- type InvoicePaymentMethod
- type InvoiceStatus
- type MappedNullable
- type NotificationChannel
- type NotificationPreference
- func (o *NotificationPreference) GetInvoiceCreated() []NotificationChannel
- func (o *NotificationPreference) GetInvoiceCreatedOk() ([]NotificationChannel, bool)
- func (o *NotificationPreference) GetInvoicePaid() []NotificationChannel
- func (o *NotificationPreference) GetInvoicePaidOk() ([]NotificationChannel, bool)
- func (o *NotificationPreference) GetInvoiceReminder() []NotificationChannel
- func (o *NotificationPreference) GetInvoiceReminderOk() ([]NotificationChannel, bool)
- func (o *NotificationPreference) HasInvoiceCreated() bool
- func (o *NotificationPreference) HasInvoicePaid() bool
- func (o *NotificationPreference) HasInvoiceReminder() bool
- func (o NotificationPreference) MarshalJSON() ([]byte, error)
- func (o *NotificationPreference) SetInvoiceCreated(v []NotificationChannel)
- func (o *NotificationPreference) SetInvoicePaid(v []NotificationChannel)
- func (o *NotificationPreference) SetInvoiceReminder(v []NotificationChannel)
- func (o NotificationPreference) ToMap() (map[string]interface{}, error)
- type NullableAddressObject
- func (v NullableAddressObject) Get() *AddressObject
- func (v NullableAddressObject) IsSet() bool
- func (v NullableAddressObject) MarshalJSON() ([]byte, error)
- func (v *NullableAddressObject) Set(val *AddressObject)
- func (v *NullableAddressObject) UnmarshalJSON(src []byte) error
- func (v *NullableAddressObject) Unset()
- type NullableAlternativeDisplayItem
- func (v NullableAlternativeDisplayItem) Get() *AlternativeDisplayItem
- func (v NullableAlternativeDisplayItem) IsSet() bool
- func (v NullableAlternativeDisplayItem) MarshalJSON() ([]byte, error)
- func (v *NullableAlternativeDisplayItem) Set(val *AlternativeDisplayItem)
- func (v *NullableAlternativeDisplayItem) UnmarshalJSON(src []byte) error
- func (v *NullableAlternativeDisplayItem) Unset()
- type NullableBadRequestError
- func (v NullableBadRequestError) Get() *BadRequestError
- func (v NullableBadRequestError) IsSet() bool
- func (v NullableBadRequestError) MarshalJSON() ([]byte, error)
- func (v *NullableBadRequestError) Set(val *BadRequestError)
- func (v *NullableBadRequestError) UnmarshalJSON(src []byte) error
- func (v *NullableBadRequestError) Unset()
- type NullableBank
- type NullableBankCode
- type NullableBool
- type NullableChannelProperties
- func (v NullableChannelProperties) Get() *ChannelProperties
- func (v NullableChannelProperties) IsSet() bool
- func (v NullableChannelProperties) MarshalJSON() ([]byte, error)
- func (v *NullableChannelProperties) Set(val *ChannelProperties)
- func (v *NullableChannelProperties) UnmarshalJSON(src []byte) error
- func (v *NullableChannelProperties) Unset()
- type NullableChannelPropertiesCards
- func (v NullableChannelPropertiesCards) Get() *ChannelPropertiesCards
- func (v NullableChannelPropertiesCards) IsSet() bool
- func (v NullableChannelPropertiesCards) MarshalJSON() ([]byte, error)
- func (v *NullableChannelPropertiesCards) Set(val *ChannelPropertiesCards)
- func (v *NullableChannelPropertiesCards) UnmarshalJSON(src []byte) error
- func (v *NullableChannelPropertiesCards) Unset()
- type NullableCreateInvoiceRequest
- func (v NullableCreateInvoiceRequest) Get() *CreateInvoiceRequest
- func (v NullableCreateInvoiceRequest) IsSet() bool
- func (v NullableCreateInvoiceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInvoiceRequest) Set(val *CreateInvoiceRequest)
- func (v *NullableCreateInvoiceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInvoiceRequest) Unset()
- type NullableCustomerObject
- func (v NullableCustomerObject) Get() *CustomerObject
- func (v NullableCustomerObject) IsSet() bool
- func (v NullableCustomerObject) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerObject) Set(val *CustomerObject)
- func (v *NullableCustomerObject) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerObject) Unset()
- type NullableDirectDebit
- func (v NullableDirectDebit) Get() *DirectDebit
- func (v NullableDirectDebit) IsSet() bool
- func (v NullableDirectDebit) MarshalJSON() ([]byte, error)
- func (v *NullableDirectDebit) Set(val *DirectDebit)
- func (v *NullableDirectDebit) UnmarshalJSON(src []byte) error
- func (v *NullableDirectDebit) Unset()
- type NullableDirectDebitType
- func (v NullableDirectDebitType) Get() *DirectDebitType
- func (v NullableDirectDebitType) IsSet() bool
- func (v NullableDirectDebitType) MarshalJSON() ([]byte, error)
- func (v *NullableDirectDebitType) Set(val *DirectDebitType)
- func (v *NullableDirectDebitType) UnmarshalJSON(src []byte) error
- func (v *NullableDirectDebitType) Unset()
- type NullableEwallet
- type NullableEwalletType
- func (v NullableEwalletType) Get() *EwalletType
- func (v NullableEwalletType) IsSet() bool
- func (v NullableEwalletType) MarshalJSON() ([]byte, error)
- func (v *NullableEwalletType) Set(val *EwalletType)
- func (v *NullableEwalletType) UnmarshalJSON(src []byte) error
- func (v *NullableEwalletType) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableForbiddenError
- func (v NullableForbiddenError) Get() *ForbiddenError
- func (v NullableForbiddenError) IsSet() bool
- func (v NullableForbiddenError) MarshalJSON() ([]byte, error)
- func (v *NullableForbiddenError) Set(val *ForbiddenError)
- func (v *NullableForbiddenError) UnmarshalJSON(src []byte) error
- func (v *NullableForbiddenError) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInvoice
- type NullableInvoiceCallback
- func (v NullableInvoiceCallback) Get() *InvoiceCallback
- func (v NullableInvoiceCallback) IsSet() bool
- func (v NullableInvoiceCallback) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceCallback) Set(val *InvoiceCallback)
- func (v *NullableInvoiceCallback) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceCallback) Unset()
- type NullableInvoiceCallbackItem
- func (v NullableInvoiceCallbackItem) Get() *InvoiceCallbackItem
- func (v NullableInvoiceCallbackItem) IsSet() bool
- func (v NullableInvoiceCallbackItem) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceCallbackItem) Set(val *InvoiceCallbackItem)
- func (v *NullableInvoiceCallbackItem) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceCallbackItem) Unset()
- type NullableInvoiceClientType
- func (v NullableInvoiceClientType) Get() *InvoiceClientType
- func (v NullableInvoiceClientType) IsSet() bool
- func (v NullableInvoiceClientType) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceClientType) Set(val *InvoiceClientType)
- func (v *NullableInvoiceClientType) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceClientType) Unset()
- type NullableInvoiceCurrency
- func (v NullableInvoiceCurrency) Get() *InvoiceCurrency
- func (v NullableInvoiceCurrency) IsSet() bool
- func (v NullableInvoiceCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceCurrency) Set(val *InvoiceCurrency)
- func (v *NullableInvoiceCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceCurrency) Unset()
- type NullableInvoiceError404ResponseDefinition
- func (v NullableInvoiceError404ResponseDefinition) Get() *InvoiceError404ResponseDefinition
- func (v NullableInvoiceError404ResponseDefinition) IsSet() bool
- func (v NullableInvoiceError404ResponseDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceError404ResponseDefinition) Set(val *InvoiceError404ResponseDefinition)
- func (v *NullableInvoiceError404ResponseDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceError404ResponseDefinition) Unset()
- type NullableInvoiceFee
- type NullableInvoiceItem
- func (v NullableInvoiceItem) Get() *InvoiceItem
- func (v NullableInvoiceItem) IsSet() bool
- func (v NullableInvoiceItem) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceItem) Set(val *InvoiceItem)
- func (v *NullableInvoiceItem) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceItem) Unset()
- type NullableInvoiceNotFoundError
- func (v NullableInvoiceNotFoundError) Get() *InvoiceNotFoundError
- func (v NullableInvoiceNotFoundError) IsSet() bool
- func (v NullableInvoiceNotFoundError) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceNotFoundError) Set(val *InvoiceNotFoundError)
- func (v *NullableInvoiceNotFoundError) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceNotFoundError) Unset()
- type NullableInvoicePaymentMethod
- func (v NullableInvoicePaymentMethod) Get() *InvoicePaymentMethod
- func (v NullableInvoicePaymentMethod) IsSet() bool
- func (v NullableInvoicePaymentMethod) MarshalJSON() ([]byte, error)
- func (v *NullableInvoicePaymentMethod) Set(val *InvoicePaymentMethod)
- func (v *NullableInvoicePaymentMethod) UnmarshalJSON(src []byte) error
- func (v *NullableInvoicePaymentMethod) Unset()
- type NullableInvoiceStatus
- func (v NullableInvoiceStatus) Get() *InvoiceStatus
- func (v NullableInvoiceStatus) IsSet() bool
- func (v NullableInvoiceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceStatus) Set(val *InvoiceStatus)
- func (v *NullableInvoiceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceStatus) Unset()
- type NullableNotificationChannel
- func (v NullableNotificationChannel) Get() *NotificationChannel
- func (v NullableNotificationChannel) IsSet() bool
- func (v NullableNotificationChannel) MarshalJSON() ([]byte, error)
- func (v *NullableNotificationChannel) Set(val *NotificationChannel)
- func (v *NullableNotificationChannel) UnmarshalJSON(src []byte) error
- func (v *NullableNotificationChannel) Unset()
- type NullableNotificationPreference
- func (v NullableNotificationPreference) Get() *NotificationPreference
- func (v NullableNotificationPreference) IsSet() bool
- func (v NullableNotificationPreference) MarshalJSON() ([]byte, error)
- func (v *NullableNotificationPreference) Set(val *NotificationPreference)
- func (v *NullableNotificationPreference) UnmarshalJSON(src []byte) error
- func (v *NullableNotificationPreference) Unset()
- type NullablePaylater
- type NullablePaylaterType
- func (v NullablePaylaterType) Get() *PaylaterType
- func (v NullablePaylaterType) IsSet() bool
- func (v NullablePaylaterType) MarshalJSON() ([]byte, error)
- func (v *NullablePaylaterType) Set(val *PaylaterType)
- func (v *NullablePaylaterType) UnmarshalJSON(src []byte) error
- func (v *NullablePaylaterType) Unset()
- type NullablePaymentDetails
- func (v NullablePaymentDetails) Get() *PaymentDetails
- func (v NullablePaymentDetails) IsSet() bool
- func (v NullablePaymentDetails) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentDetails) Set(val *PaymentDetails)
- func (v *NullablePaymentDetails) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentDetails) Unset()
- type NullableQrCode
- type NullableQrCodeType
- type NullableRetailOutlet
- func (v NullableRetailOutlet) Get() *RetailOutlet
- func (v NullableRetailOutlet) IsSet() bool
- func (v NullableRetailOutlet) MarshalJSON() ([]byte, error)
- func (v *NullableRetailOutlet) Set(val *RetailOutlet)
- func (v *NullableRetailOutlet) UnmarshalJSON(src []byte) error
- func (v *NullableRetailOutlet) Unset()
- type NullableRetailOutletName
- func (v NullableRetailOutletName) Get() *RetailOutletName
- func (v NullableRetailOutletName) IsSet() bool
- func (v NullableRetailOutletName) MarshalJSON() ([]byte, error)
- func (v *NullableRetailOutletName) Set(val *RetailOutletName)
- func (v *NullableRetailOutletName) UnmarshalJSON(src []byte) error
- func (v *NullableRetailOutletName) Unset()
- type NullableServerError
- func (v NullableServerError) Get() *ServerError
- func (v NullableServerError) IsSet() bool
- func (v NullableServerError) MarshalJSON() ([]byte, error)
- func (v *NullableServerError) Set(val *ServerError)
- func (v *NullableServerError) UnmarshalJSON(src []byte) error
- func (v *NullableServerError) Unset()
- type NullableString
- type NullableTime
- type NullableUnauthorizedError
- func (v NullableUnauthorizedError) Get() *UnauthorizedError
- func (v NullableUnauthorizedError) IsSet() bool
- func (v NullableUnauthorizedError) MarshalJSON() ([]byte, error)
- func (v *NullableUnauthorizedError) Set(val *UnauthorizedError)
- func (v *NullableUnauthorizedError) UnmarshalJSON(src []byte) error
- func (v *NullableUnauthorizedError) Unset()
- type Paylater
- func (o *Paylater) GetPaylaterType() PaylaterType
- func (o *Paylater) GetPaylaterTypeOk() (*PaylaterType, bool)
- func (o *Paylater) GetShouldExclude() bool
- func (o *Paylater) GetShouldExcludeOk() (*bool, bool)
- func (o *Paylater) HasShouldExclude() bool
- func (o Paylater) MarshalJSON() ([]byte, error)
- func (o *Paylater) SetPaylaterType(v PaylaterType)
- func (o *Paylater) SetShouldExclude(v bool)
- func (o Paylater) ToMap() (map[string]interface{}, error)
- type PaylaterType
- type PaymentDetails
- func (o *PaymentDetails) GetReceiptId() string
- func (o *PaymentDetails) GetReceiptIdOk() (*string, bool)
- func (o *PaymentDetails) GetSource() string
- func (o *PaymentDetails) GetSourceOk() (*string, bool)
- func (o *PaymentDetails) HasReceiptId() bool
- func (o *PaymentDetails) HasSource() bool
- func (o PaymentDetails) MarshalJSON() ([]byte, error)
- func (o *PaymentDetails) SetReceiptId(v string)
- func (o *PaymentDetails) SetSource(v string)
- func (o PaymentDetails) ToMap() (map[string]interface{}, error)
- type QrCode
- type QrCodeType
- type RetailOutlet
- func (o *RetailOutlet) GetMerchantName() string
- func (o *RetailOutlet) GetMerchantNameOk() (*string, bool)
- func (o *RetailOutlet) GetPaymentCode() string
- func (o *RetailOutlet) GetPaymentCodeOk() (*string, bool)
- func (o *RetailOutlet) GetRetailOutletName() RetailOutletName
- func (o *RetailOutlet) GetRetailOutletNameOk() (*RetailOutletName, bool)
- func (o *RetailOutlet) GetTransferAmount() float64
- func (o *RetailOutlet) GetTransferAmountOk() (*float64, bool)
- func (o *RetailOutlet) HasMerchantName() bool
- func (o *RetailOutlet) HasPaymentCode() bool
- func (o *RetailOutlet) HasTransferAmount() bool
- func (o RetailOutlet) MarshalJSON() ([]byte, error)
- func (o *RetailOutlet) SetMerchantName(v string)
- func (o *RetailOutlet) SetPaymentCode(v string)
- func (o *RetailOutlet) SetRetailOutletName(v RetailOutletName)
- func (o *RetailOutlet) SetTransferAmount(v float64)
- func (o RetailOutlet) ToMap() (map[string]interface{}, error)
- type RetailOutletName
- type ServerError
- func (o *ServerError) GetErrorCode() string
- func (o *ServerError) GetErrorCodeOk() (*string, bool)
- func (o *ServerError) GetMessage() string
- func (o *ServerError) GetMessageOk() (*string, bool)
- func (o ServerError) MarshalJSON() ([]byte, error)
- func (o *ServerError) SetErrorCode(v string)
- func (o *ServerError) SetMessage(v string)
- func (o ServerError) ToMap() (map[string]interface{}, error)
- type UnauthorizedError
- func (o *UnauthorizedError) GetErrorCode() string
- func (o *UnauthorizedError) GetErrorCodeOk() (*string, bool)
- func (o *UnauthorizedError) GetMessage() string
- func (o *UnauthorizedError) GetMessageOk() (*string, bool)
- func (o UnauthorizedError) MarshalJSON() ([]byte, error)
- func (o *UnauthorizedError) SetErrorCode(v string)
- func (o *UnauthorizedError) SetMessage(v string)
- func (o UnauthorizedError) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var AllowedBankCodeEnumValues = []BankCode{
"BCA",
"BNI",
"BRI",
"MANDIRI",
"PERMATA",
"BSI",
"BJB",
"SAHABAT_SAMPOERNA",
"CIMB",
"BNC",
"HANA",
"MUAMALAT",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of BankCode enum
var AllowedDirectDebitTypeEnumValues = []DirectDebitType{
"BA_BRI",
"DC_BRI",
"DD_BRI",
"DD_MANDIRI",
"BA_BPI",
"DC_BPI",
"DD_BPI",
"BA_UBP",
"DC_UBP",
"DD_UBP",
"BCA_KLIKPAY",
"BA_BCA_KLIKPAY",
"DC_BCA_KLIKPAY",
"DD_BCA_KLIKPAY",
"DD_BDO_EPAY",
"DD_RCBC",
"DD_CHINABANK",
"BA_CHINABANK",
"DC_CHINABANK",
"DD_PUBLIC_FPX",
"DD_AMBANK_FPX",
"DD_KFH_FPX",
"DD_AGRO_FPX",
"DD_AFFIN_FPX",
"DD_ALLIANCE_FPX",
"DD_MUAMALAT_FPX",
"DD_HLB_FPX",
"DD_ISLAM_FPX",
"DD_RAKYAT_FPX",
"DD_CIMB_FPX",
"DD_UOB_FPX",
"DD_BOC_FPX",
"DD_BSN_FPX",
"DD_OCBC_FPX",
"DD_HSBC_FPX",
"DD_SCH_FPX",
"DD_MAYB2U_FPX",
"DD_RHB_FPX",
"DD_UOB_FPX_BUSINESS",
"DD_AGRO_FPX_BUSINESS",
"DD_ALLIANCE_FPX_BUSINESS",
"DD_AMBANK_FPX_BUSINESS",
"DD_ISLAM_FPX_BUSINESS",
"DD_MUAMALAT_FPX_BUSINESS",
"DD_HLB_FPX_BUSINESS",
"DD_HSBC_FPX_BUSINESS",
"DD_RAKYAT_FPX_BUSINESS",
"DD_KFH_FPX_BUSINESS",
"DD_OCBC_FPX_BUSINESS",
"DD_PUBLIC_FPX_BUSINESS",
"DD_RHB_FPX_BUSINESS",
"DD_SCH_FPX_BUSINESS",
"DD_CITIBANK_FPX_BUSINESS",
"DD_BNP_FPX_BUSINESS",
"DD_DEUTSCHE_FPX_BUSINESS",
"DD_MAYB2E_FPX_BUSINESS",
"DD_CIMB_FPX_BUSINESS",
"DD_AFFIN_FPX_BUSINESS",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of DirectDebitType enum
var AllowedEwalletTypeEnumValues = []EwalletType{
"OVO",
"DANA",
"LINKAJA",
"PAYMAYA",
"SHOPEEPAY",
"GCASH",
"GRABPAY",
"ASTRAPAY",
"NEXCASH",
"JENIUSPAY",
"MOMO",
"ZALOPAY",
"VIETTELPAY",
"VNPTWALLET",
"APPOTA",
"LINEPAY",
"TRUEMONEY",
"WECHATPAY",
"TOUCHNGO",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of EwalletType enum
var AllowedInvoiceClientTypeEnumValues = []InvoiceClientType{
"DASHBOARD",
"API_GATEWAY",
"INTEGRATION",
"ON_DEMAND",
"RECURRING",
"MOBILE",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of InvoiceClientType enum
var AllowedInvoiceCurrencyEnumValues = []InvoiceCurrency{
"IDR",
"USD",
"THB",
"VND",
"PHP",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of InvoiceCurrency enum
var AllowedInvoicePaymentMethodEnumValues = []InvoicePaymentMethod{
"POOL",
"CALLBACK_VIRTUAL_ACCOUNT",
"CREDIT_CARD",
"RETAIL_OUTLET",
"QR_CODE",
"QRIS",
"EWALLET",
"DIRECT_DEBIT",
"BANK_TRANSFER",
"PAYLATER",
"CRYPTOCURRENCY",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of InvoicePaymentMethod enum
var AllowedInvoiceStatusEnumValues = []InvoiceStatus{
"PENDING",
"PAID",
"SETTLED",
"EXPIRED",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of InvoiceStatus enum
var AllowedNotificationChannelEnumValues = []NotificationChannel{
"email",
"sms",
"whatsapp",
"viber",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of NotificationChannel enum
var AllowedPaylaterTypeEnumValues = []PaylaterType{
"KREDIVO",
"AKULAKU",
"UANGME",
"BILLEASE",
"CASHALO",
"ATOME",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of PaylaterType enum
var AllowedQrCodeTypeEnumValues = []QrCodeType{
"QRIS",
"PROMPTPAY",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of QrCodeType enum
var AllowedRetailOutletNameEnumValues = []RetailOutletName{
"ALFAMART",
"INDOMARET",
"7ELEVEN",
"CEBUANA",
"DP_ECPAY_LOAN",
"DP_MLHUILLIER",
"DP_PALAWAN",
"DP_ECPAY_SCHOOL",
"LBC",
"UNKNOWN_ENUM_VALUE",
}
All allowed values of RetailOutletName enum
Functions ¶
This section is empty.
Types ¶
type AddressObject ¶
type AddressObject struct { // The country where the address is located. Country NullableString `json:"country,omitempty"` // The first line of the street address. StreetLine1 NullableString `json:"street_line1,omitempty"` // The second line of the street address. StreetLine2 NullableString `json:"street_line2,omitempty"` // The city or locality within the address. City NullableString `json:"city,omitempty"` // The province or region within the country. Province NullableString `json:"province,omitempty"` // The state or administrative division within the country. State NullableString `json:"state,omitempty"` // The postal code or ZIP code for the address. PostalCode NullableString `json:"postal_code,omitempty"` }
AddressObject An object representing an address with various properties.
func NewAddressObject ¶
func NewAddressObject() *AddressObject
NewAddressObject instantiates a new AddressObject 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
func NewAddressObjectWithDefaults ¶
func NewAddressObjectWithDefaults() *AddressObject
NewAddressObjectWithDefaults instantiates a new AddressObject 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
func (*AddressObject) GetCity ¶
func (o *AddressObject) GetCity() string
GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AddressObject) GetCityOk ¶
func (o *AddressObject) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AddressObject) GetCountry ¶
func (o *AddressObject) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AddressObject) GetCountryOk ¶
func (o *AddressObject) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AddressObject) GetPostalCode ¶
func (o *AddressObject) GetPostalCode() string
GetPostalCode returns the PostalCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AddressObject) GetPostalCodeOk ¶
func (o *AddressObject) GetPostalCodeOk() (*string, bool)
GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AddressObject) GetProvince ¶
func (o *AddressObject) GetProvince() string
GetProvince returns the Province field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AddressObject) GetProvinceOk ¶
func (o *AddressObject) GetProvinceOk() (*string, bool)
GetProvinceOk returns a tuple with the Province field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AddressObject) GetState ¶
func (o *AddressObject) GetState() string
GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AddressObject) GetStateOk ¶
func (o *AddressObject) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AddressObject) GetStreetLine1 ¶
func (o *AddressObject) GetStreetLine1() string
GetStreetLine1 returns the StreetLine1 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AddressObject) GetStreetLine1Ok ¶
func (o *AddressObject) GetStreetLine1Ok() (*string, bool)
GetStreetLine1Ok returns a tuple with the StreetLine1 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AddressObject) GetStreetLine2 ¶
func (o *AddressObject) GetStreetLine2() string
GetStreetLine2 returns the StreetLine2 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AddressObject) GetStreetLine2Ok ¶
func (o *AddressObject) GetStreetLine2Ok() (*string, bool)
GetStreetLine2Ok returns a tuple with the StreetLine2 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AddressObject) HasCity ¶
func (o *AddressObject) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*AddressObject) HasCountry ¶
func (o *AddressObject) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*AddressObject) HasPostalCode ¶
func (o *AddressObject) HasPostalCode() bool
HasPostalCode returns a boolean if a field has been set.
func (*AddressObject) HasProvince ¶
func (o *AddressObject) HasProvince() bool
HasProvince returns a boolean if a field has been set.
func (*AddressObject) HasState ¶
func (o *AddressObject) HasState() bool
HasState returns a boolean if a field has been set.
func (*AddressObject) HasStreetLine1 ¶
func (o *AddressObject) HasStreetLine1() bool
HasStreetLine1 returns a boolean if a field has been set.
func (*AddressObject) HasStreetLine2 ¶
func (o *AddressObject) HasStreetLine2() bool
HasStreetLine2 returns a boolean if a field has been set.
func (AddressObject) MarshalJSON ¶
func (o AddressObject) MarshalJSON() ([]byte, error)
func (*AddressObject) SetCity ¶
func (o *AddressObject) SetCity(v string)
SetCity gets a reference to the given NullableString and assigns it to the City field.
func (*AddressObject) SetCityNil ¶
func (o *AddressObject) SetCityNil()
SetCityNil sets the value for City to be an explicit nil
func (*AddressObject) SetCountry ¶
func (o *AddressObject) SetCountry(v string)
SetCountry gets a reference to the given NullableString and assigns it to the Country field.
func (*AddressObject) SetCountryNil ¶
func (o *AddressObject) SetCountryNil()
SetCountryNil sets the value for Country to be an explicit nil
func (*AddressObject) SetPostalCode ¶
func (o *AddressObject) SetPostalCode(v string)
SetPostalCode gets a reference to the given NullableString and assigns it to the PostalCode field.
func (*AddressObject) SetPostalCodeNil ¶
func (o *AddressObject) SetPostalCodeNil()
SetPostalCodeNil sets the value for PostalCode to be an explicit nil
func (*AddressObject) SetProvince ¶
func (o *AddressObject) SetProvince(v string)
SetProvince gets a reference to the given NullableString and assigns it to the Province field.
func (*AddressObject) SetProvinceNil ¶
func (o *AddressObject) SetProvinceNil()
SetProvinceNil sets the value for Province to be an explicit nil
func (*AddressObject) SetState ¶
func (o *AddressObject) SetState(v string)
SetState gets a reference to the given NullableString and assigns it to the State field.
func (*AddressObject) SetStateNil ¶
func (o *AddressObject) SetStateNil()
SetStateNil sets the value for State to be an explicit nil
func (*AddressObject) SetStreetLine1 ¶
func (o *AddressObject) SetStreetLine1(v string)
SetStreetLine1 gets a reference to the given NullableString and assigns it to the StreetLine1 field.
func (*AddressObject) SetStreetLine1Nil ¶
func (o *AddressObject) SetStreetLine1Nil()
SetStreetLine1Nil sets the value for StreetLine1 to be an explicit nil
func (*AddressObject) SetStreetLine2 ¶
func (o *AddressObject) SetStreetLine2(v string)
SetStreetLine2 gets a reference to the given NullableString and assigns it to the StreetLine2 field.
func (*AddressObject) SetStreetLine2Nil ¶
func (o *AddressObject) SetStreetLine2Nil()
SetStreetLine2Nil sets the value for StreetLine2 to be an explicit nil
func (AddressObject) ToMap ¶
func (o AddressObject) ToMap() (map[string]interface{}, error)
func (*AddressObject) UnsetCity ¶
func (o *AddressObject) UnsetCity()
UnsetCity ensures that no value is present for City, not even an explicit nil
func (*AddressObject) UnsetCountry ¶
func (o *AddressObject) UnsetCountry()
UnsetCountry ensures that no value is present for Country, not even an explicit nil
func (*AddressObject) UnsetPostalCode ¶
func (o *AddressObject) UnsetPostalCode()
UnsetPostalCode ensures that no value is present for PostalCode, not even an explicit nil
func (*AddressObject) UnsetProvince ¶
func (o *AddressObject) UnsetProvince()
UnsetProvince ensures that no value is present for Province, not even an explicit nil
func (*AddressObject) UnsetState ¶
func (o *AddressObject) UnsetState()
UnsetState ensures that no value is present for State, not even an explicit nil
func (*AddressObject) UnsetStreetLine1 ¶
func (o *AddressObject) UnsetStreetLine1()
UnsetStreetLine1 ensures that no value is present for StreetLine1, not even an explicit nil
func (*AddressObject) UnsetStreetLine2 ¶
func (o *AddressObject) UnsetStreetLine2()
UnsetStreetLine2 ensures that no value is present for StreetLine2, not even an explicit nil
type AlternativeDisplayItem ¶
type AlternativeDisplayItem struct { // Represent type of alternative display. Type *string `json:"type,omitempty"` // Represent value of alternative display value. Value *string `json:"value,omitempty"` }
AlternativeDisplayItem An object representing alternative display of a VA.
func NewAlternativeDisplayItem ¶
func NewAlternativeDisplayItem() *AlternativeDisplayItem
NewAlternativeDisplayItem instantiates a new AlternativeDisplayItem 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
func NewAlternativeDisplayItemWithDefaults ¶
func NewAlternativeDisplayItemWithDefaults() *AlternativeDisplayItem
NewAlternativeDisplayItemWithDefaults instantiates a new AlternativeDisplayItem 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
func (*AlternativeDisplayItem) GetType ¶
func (o *AlternativeDisplayItem) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AlternativeDisplayItem) GetTypeOk ¶
func (o *AlternativeDisplayItem) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlternativeDisplayItem) GetValue ¶
func (o *AlternativeDisplayItem) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*AlternativeDisplayItem) GetValueOk ¶
func (o *AlternativeDisplayItem) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlternativeDisplayItem) HasType ¶
func (o *AlternativeDisplayItem) HasType() bool
HasType returns a boolean if a field has been set.
func (*AlternativeDisplayItem) HasValue ¶
func (o *AlternativeDisplayItem) HasValue() bool
HasValue returns a boolean if a field has been set.
func (AlternativeDisplayItem) MarshalJSON ¶
func (o AlternativeDisplayItem) MarshalJSON() ([]byte, error)
func (*AlternativeDisplayItem) SetType ¶
func (o *AlternativeDisplayItem) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*AlternativeDisplayItem) SetValue ¶
func (o *AlternativeDisplayItem) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (AlternativeDisplayItem) ToMap ¶
func (o AlternativeDisplayItem) ToMap() (map[string]interface{}, error)
type ApiCreateInvoiceRequest ¶
type ApiCreateInvoiceRequest struct { ApiService InvoiceApi // contains filtered or unexported fields }
func (ApiCreateInvoiceRequest) CreateInvoiceRequest ¶
func (r ApiCreateInvoiceRequest) CreateInvoiceRequest(createInvoiceRequest CreateInvoiceRequest) ApiCreateInvoiceRequest
func (ApiCreateInvoiceRequest) Execute ¶
func (r ApiCreateInvoiceRequest) Execute() (*Invoice, *http.Response, *common.XenditSdkError)
func (ApiCreateInvoiceRequest) ForUserId ¶
func (r ApiCreateInvoiceRequest) ForUserId(forUserId string) ApiCreateInvoiceRequest
Business ID of the sub-account merchant (XP feature)
type ApiExpireInvoiceRequest ¶
type ApiExpireInvoiceRequest struct { ApiService InvoiceApi // contains filtered or unexported fields }
func (ApiExpireInvoiceRequest) Execute ¶
func (r ApiExpireInvoiceRequest) Execute() (*Invoice, *http.Response, *common.XenditSdkError)
func (ApiExpireInvoiceRequest) ForUserId ¶
func (r ApiExpireInvoiceRequest) ForUserId(forUserId string) ApiExpireInvoiceRequest
Business ID of the sub-account merchant (XP feature)
type ApiGetInvoiceByIdRequest ¶
type ApiGetInvoiceByIdRequest struct { ApiService InvoiceApi // contains filtered or unexported fields }
func (ApiGetInvoiceByIdRequest) Execute ¶
func (r ApiGetInvoiceByIdRequest) Execute() (*Invoice, *http.Response, *common.XenditSdkError)
func (ApiGetInvoiceByIdRequest) ForUserId ¶
func (r ApiGetInvoiceByIdRequest) ForUserId(forUserId string) ApiGetInvoiceByIdRequest
Business ID of the sub-account merchant (XP feature)
type ApiGetInvoicesRequest ¶
type ApiGetInvoicesRequest struct { ApiService InvoiceApi // contains filtered or unexported fields }
func (ApiGetInvoicesRequest) ClientTypes ¶
func (r ApiGetInvoicesRequest) ClientTypes(clientTypes []InvoiceClientType) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) CreatedAfter ¶
func (r ApiGetInvoicesRequest) CreatedAfter(createdAfter time.Time) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) CreatedBefore ¶
func (r ApiGetInvoicesRequest) CreatedBefore(createdBefore time.Time) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) Execute ¶
func (r ApiGetInvoicesRequest) Execute() ([]Invoice, *http.Response, *common.XenditSdkError)
func (ApiGetInvoicesRequest) ExpiredAfter ¶
func (r ApiGetInvoicesRequest) ExpiredAfter(expiredAfter time.Time) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) ExpiredBefore ¶
func (r ApiGetInvoicesRequest) ExpiredBefore(expiredBefore time.Time) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) ExternalId ¶
func (r ApiGetInvoicesRequest) ExternalId(externalId string) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) ForUserId ¶
func (r ApiGetInvoicesRequest) ForUserId(forUserId string) ApiGetInvoicesRequest
Business ID of the sub-account merchant (XP feature)
func (ApiGetInvoicesRequest) LastInvoice ¶
func (r ApiGetInvoicesRequest) LastInvoice(lastInvoice string) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) Limit ¶
func (r ApiGetInvoicesRequest) Limit(limit float32) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) OnDemandLink ¶
func (r ApiGetInvoicesRequest) OnDemandLink(onDemandLink string) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) PaidAfter ¶
func (r ApiGetInvoicesRequest) PaidAfter(paidAfter time.Time) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) PaidBefore ¶
func (r ApiGetInvoicesRequest) PaidBefore(paidBefore time.Time) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) PaymentChannels ¶
func (r ApiGetInvoicesRequest) PaymentChannels(paymentChannels []string) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) RecurringPaymentId ¶
func (r ApiGetInvoicesRequest) RecurringPaymentId(recurringPaymentId string) ApiGetInvoicesRequest
func (ApiGetInvoicesRequest) Statuses ¶
func (r ApiGetInvoicesRequest) Statuses(statuses []InvoiceStatus) ApiGetInvoicesRequest
type BadRequestError ¶
type BadRequestError struct { // The error code indicating the type of error that occurred. ErrorCode string `json:"error_code"` // A human-readable error message that provides additional information about the error. Message string `json:"message"` }
BadRequestError Response definition for a 400 Bad Request error when creating an invoice.
func NewBadRequestError ¶
func NewBadRequestError(errorCode string, message string) *BadRequestError
NewBadRequestError instantiates a new BadRequestError 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
func NewBadRequestErrorWithDefaults ¶
func NewBadRequestErrorWithDefaults() *BadRequestError
NewBadRequestErrorWithDefaults instantiates a new BadRequestError 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
func (*BadRequestError) GetErrorCode ¶
func (o *BadRequestError) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*BadRequestError) GetErrorCodeOk ¶
func (o *BadRequestError) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*BadRequestError) GetMessage ¶
func (o *BadRequestError) GetMessage() string
GetMessage returns the Message field value
func (*BadRequestError) GetMessageOk ¶
func (o *BadRequestError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (BadRequestError) MarshalJSON ¶
func (o BadRequestError) MarshalJSON() ([]byte, error)
func (*BadRequestError) SetErrorCode ¶
func (o *BadRequestError) SetErrorCode(v string)
SetErrorCode sets field value
func (*BadRequestError) SetMessage ¶
func (o *BadRequestError) SetMessage(v string)
SetMessage sets field value
func (BadRequestError) ToMap ¶
func (o BadRequestError) ToMap() (map[string]interface{}, error)
type Bank ¶
type Bank struct { BankCode BankCode `json:"bank_code"` // The collection type for the bank details. CollectionType string `json:"collection_type"` // The branch of the bank. BankBranch *string `json:"bank_branch,omitempty"` // The bank account number. BankAccountNumber *string `json:"bank_account_number,omitempty"` // The name of the account holder. AccountHolderName string `json:"account_holder_name"` // The transfer amount. TransferAmount *float64 `json:"transfer_amount,omitempty"` AlternativeDisplays []AlternativeDisplayItem `json:"alternative_displays,omitempty"` }
Bank An object representing bank details for invoices.
func NewBank ¶
NewBank instantiates a new Bank 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
func NewBankWithDefaults ¶
func NewBankWithDefaults() *Bank
NewBankWithDefaults instantiates a new Bank 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
func (*Bank) GetAccountHolderName ¶
GetAccountHolderName returns the AccountHolderName field value
func (*Bank) GetAccountHolderNameOk ¶
GetAccountHolderNameOk returns a tuple with the AccountHolderName field value and a boolean to check if the value has been set.
func (*Bank) GetAlternativeDisplays ¶
func (o *Bank) GetAlternativeDisplays() []AlternativeDisplayItem
GetAlternativeDisplays returns the AlternativeDisplays field value if set, zero value otherwise.
func (*Bank) GetAlternativeDisplaysOk ¶
func (o *Bank) GetAlternativeDisplaysOk() ([]AlternativeDisplayItem, bool)
GetAlternativeDisplaysOk returns a tuple with the AlternativeDisplays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Bank) GetBankAccountNumber ¶
GetBankAccountNumber returns the BankAccountNumber field value if set, zero value otherwise.
func (*Bank) GetBankAccountNumberOk ¶
GetBankAccountNumberOk returns a tuple with the BankAccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Bank) GetBankBranch ¶
GetBankBranch returns the BankBranch field value if set, zero value otherwise.
func (*Bank) GetBankBranchOk ¶
GetBankBranchOk returns a tuple with the BankBranch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Bank) GetBankCode ¶
GetBankCode returns the BankCode field value
func (*Bank) GetBankCodeOk ¶
GetBankCodeOk returns a tuple with the BankCode field value and a boolean to check if the value has been set.
func (*Bank) GetCollectionType ¶
GetCollectionType returns the CollectionType field value
func (*Bank) GetCollectionTypeOk ¶
GetCollectionTypeOk returns a tuple with the CollectionType field value and a boolean to check if the value has been set.
func (*Bank) GetTransferAmount ¶
GetTransferAmount returns the TransferAmount field value if set, zero value otherwise.
func (*Bank) GetTransferAmountOk ¶
GetTransferAmountOk returns a tuple with the TransferAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Bank) HasAlternativeDisplays ¶
HasAlternativeDisplays returns a boolean if a field has been set.
func (*Bank) HasBankAccountNumber ¶
HasBankAccountNumber returns a boolean if a field has been set.
func (*Bank) HasBankBranch ¶
HasBankBranch returns a boolean if a field has been set.
func (*Bank) HasTransferAmount ¶
HasTransferAmount returns a boolean if a field has been set.
func (Bank) MarshalJSON ¶
func (*Bank) SetAccountHolderName ¶
SetAccountHolderName sets field value
func (*Bank) SetAlternativeDisplays ¶
func (o *Bank) SetAlternativeDisplays(v []AlternativeDisplayItem)
SetAlternativeDisplays gets a reference to the given []AlternativeDisplayItem and assigns it to the AlternativeDisplays field.
func (*Bank) SetBankAccountNumber ¶
SetBankAccountNumber gets a reference to the given string and assigns it to the BankAccountNumber field.
func (*Bank) SetBankBranch ¶
SetBankBranch gets a reference to the given string and assigns it to the BankBranch field.
func (*Bank) SetCollectionType ¶
SetCollectionType sets field value
func (*Bank) SetTransferAmount ¶
SetTransferAmount gets a reference to the given float64 and assigns it to the TransferAmount field.
type BankCode ¶
type BankCode string
BankCode Representing the available bank channels used for invoice-related transactions.
const ( BANKCODE_BCA BankCode = "BCA" BANKCODE_BNI BankCode = "BNI" BANKCODE_BRI BankCode = "BRI" BANKCODE_MANDIRI BankCode = "MANDIRI" BANKCODE_PERMATA BankCode = "PERMATA" BANKCODE_BSI BankCode = "BSI" BANKCODE_BJB BankCode = "BJB" BANKCODE_SAHABAT_SAMPOERNA BankCode = "SAHABAT_SAMPOERNA" BANKCODE_CIMB BankCode = "CIMB" BANKCODE_BNC BankCode = "BNC" BANKCODE_HANA BankCode = "HANA" BANKCODE_MUAMALAT BankCode = "MUAMALAT" BANKCODE_XENDIT_ENUM_DEFAULT_FALLBACK BankCode = "UNKNOWN_ENUM_VALUE" )
List of BankCode
func NewBankCodeFromValue ¶
NewBankCodeFromValue returns a pointer to a valid BankCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*BankCode) UnmarshalJSON ¶
type ChannelProperties ¶ added in v4.3.0
type ChannelProperties struct {
Cards *ChannelPropertiesCards `json:"cards,omitempty"`
}
ChannelProperties An object representing channel-specific properties.
func NewChannelProperties ¶ added in v4.3.0
func NewChannelProperties() *ChannelProperties
NewChannelProperties instantiates a new ChannelProperties 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
func NewChannelPropertiesWithDefaults ¶ added in v4.3.0
func NewChannelPropertiesWithDefaults() *ChannelProperties
NewChannelPropertiesWithDefaults instantiates a new ChannelProperties 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
func (*ChannelProperties) GetCards ¶ added in v4.3.0
func (o *ChannelProperties) GetCards() ChannelPropertiesCards
GetCards returns the Cards field value if set, zero value otherwise.
func (*ChannelProperties) GetCardsOk ¶ added in v4.3.0
func (o *ChannelProperties) GetCardsOk() (*ChannelPropertiesCards, bool)
GetCardsOk returns a tuple with the Cards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelProperties) HasCards ¶ added in v4.3.0
func (o *ChannelProperties) HasCards() bool
HasCards returns a boolean if a field has been set.
func (ChannelProperties) MarshalJSON ¶ added in v4.3.0
func (o ChannelProperties) MarshalJSON() ([]byte, error)
func (*ChannelProperties) SetCards ¶ added in v4.3.0
func (o *ChannelProperties) SetCards(v ChannelPropertiesCards)
SetCards gets a reference to the given ChannelPropertiesCards and assigns it to the Cards field.
func (ChannelProperties) ToMap ¶ added in v4.3.0
func (o ChannelProperties) ToMap() (map[string]interface{}, error)
type ChannelPropertiesCards ¶ added in v4.3.0
type ChannelPropertiesCards struct { // An array of allowed BINs (6 or 8 digits) for credit card payments. AllowedBins []string `json:"allowed_bins,omitempty"` }
ChannelPropertiesCards An object representing properties specific for credit card payment method.
func NewChannelPropertiesCards ¶ added in v4.3.0
func NewChannelPropertiesCards() *ChannelPropertiesCards
NewChannelPropertiesCards instantiates a new ChannelPropertiesCards 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
func NewChannelPropertiesCardsWithDefaults ¶ added in v4.3.0
func NewChannelPropertiesCardsWithDefaults() *ChannelPropertiesCards
NewChannelPropertiesCardsWithDefaults instantiates a new ChannelPropertiesCards 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
func (*ChannelPropertiesCards) GetAllowedBins ¶ added in v4.3.0
func (o *ChannelPropertiesCards) GetAllowedBins() []string
GetAllowedBins returns the AllowedBins field value if set, zero value otherwise.
func (*ChannelPropertiesCards) GetAllowedBinsOk ¶ added in v4.3.0
func (o *ChannelPropertiesCards) GetAllowedBinsOk() ([]string, bool)
GetAllowedBinsOk returns a tuple with the AllowedBins field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelPropertiesCards) HasAllowedBins ¶ added in v4.3.0
func (o *ChannelPropertiesCards) HasAllowedBins() bool
HasAllowedBins returns a boolean if a field has been set.
func (ChannelPropertiesCards) MarshalJSON ¶ added in v4.3.0
func (o ChannelPropertiesCards) MarshalJSON() ([]byte, error)
func (*ChannelPropertiesCards) SetAllowedBins ¶ added in v4.3.0
func (o *ChannelPropertiesCards) SetAllowedBins(v []string)
SetAllowedBins gets a reference to the given []string and assigns it to the AllowedBins field.
func (ChannelPropertiesCards) ToMap ¶ added in v4.3.0
func (o ChannelPropertiesCards) ToMap() (map[string]interface{}, error)
type CreateInvoiceRequest ¶
type CreateInvoiceRequest struct { // The external ID of the invoice. ExternalId string `json:"external_id"` // The invoice amount. Amount float64 `json:"amount"` // The email address of the payer. PayerEmail *string `json:"payer_email,omitempty"` // A description of the payment. Description *string `json:"description,omitempty"` // The duration of the invoice. InvoiceDuration *string `json:"invoice_duration,omitempty"` // The ID of the callback virtual account. CallbackVirtualAccountId *string `json:"callback_virtual_account_id,omitempty"` // Indicates whether email notifications should be sent. ShouldSendEmail *bool `json:"should_send_email,omitempty"` Customer *CustomerObject `json:"customer,omitempty"` CustomerNotificationPreference *NotificationPreference `json:"customer_notification_preference,omitempty"` // The URL to redirect to on successful payment. SuccessRedirectUrl *string `json:"success_redirect_url,omitempty"` // The URL to redirect to on payment failure. FailureRedirectUrl *string `json:"failure_redirect_url,omitempty"` // An array of available payment methods. PaymentMethods []string `json:"payment_methods,omitempty"` // The middle label. MidLabel *string `json:"mid_label,omitempty"` // Indicates whether credit card authentication is required. ShouldAuthenticateCreditCard *bool `json:"should_authenticate_credit_card,omitempty"` // The currency of the invoice. Currency *string `json:"currency,omitempty"` // The reminder time. ReminderTime *float32 `json:"reminder_time,omitempty"` // The local. Local *string `json:"local,omitempty"` // The unit of the reminder time. ReminderTimeUnit *string `json:"reminder_time_unit,omitempty"` // An array of items included in the invoice. Items []InvoiceItem `json:"items,omitempty"` // An array of fees associated with the invoice. Fees []InvoiceFee `json:"fees,omitempty"` ChannelProperties *ChannelProperties `json:"channel_properties,omitempty"` }
CreateInvoiceRequest An object representing for an invoice creation request.
func NewCreateInvoiceRequest ¶
func NewCreateInvoiceRequest(externalId string, amount float64) *CreateInvoiceRequest
NewCreateInvoiceRequest instantiates a new CreateInvoiceRequest 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
func NewCreateInvoiceRequestWithDefaults ¶
func NewCreateInvoiceRequestWithDefaults() *CreateInvoiceRequest
NewCreateInvoiceRequestWithDefaults instantiates a new CreateInvoiceRequest 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
func (*CreateInvoiceRequest) GetAmount ¶
func (o *CreateInvoiceRequest) GetAmount() float64
GetAmount returns the Amount field value
func (*CreateInvoiceRequest) GetAmountOk ¶
func (o *CreateInvoiceRequest) GetAmountOk() (*float64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetCallbackVirtualAccountId ¶
func (o *CreateInvoiceRequest) GetCallbackVirtualAccountId() string
GetCallbackVirtualAccountId returns the CallbackVirtualAccountId field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetCallbackVirtualAccountIdOk ¶
func (o *CreateInvoiceRequest) GetCallbackVirtualAccountIdOk() (*string, bool)
GetCallbackVirtualAccountIdOk returns a tuple with the CallbackVirtualAccountId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetChannelProperties ¶ added in v4.3.0
func (o *CreateInvoiceRequest) GetChannelProperties() ChannelProperties
GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetChannelPropertiesOk ¶ added in v4.3.0
func (o *CreateInvoiceRequest) GetChannelPropertiesOk() (*ChannelProperties, bool)
GetChannelPropertiesOk returns a tuple with the ChannelProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetCurrency ¶
func (o *CreateInvoiceRequest) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetCurrencyOk ¶
func (o *CreateInvoiceRequest) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetCustomer ¶
func (o *CreateInvoiceRequest) GetCustomer() CustomerObject
GetCustomer returns the Customer field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetCustomerNotificationPreference ¶
func (o *CreateInvoiceRequest) GetCustomerNotificationPreference() NotificationPreference
GetCustomerNotificationPreference returns the CustomerNotificationPreference field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetCustomerNotificationPreferenceOk ¶
func (o *CreateInvoiceRequest) GetCustomerNotificationPreferenceOk() (*NotificationPreference, bool)
GetCustomerNotificationPreferenceOk returns a tuple with the CustomerNotificationPreference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetCustomerOk ¶
func (o *CreateInvoiceRequest) GetCustomerOk() (*CustomerObject, bool)
GetCustomerOk returns a tuple with the Customer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetDescription ¶
func (o *CreateInvoiceRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetDescriptionOk ¶
func (o *CreateInvoiceRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetExternalId ¶
func (o *CreateInvoiceRequest) GetExternalId() string
GetExternalId returns the ExternalId field value
func (*CreateInvoiceRequest) GetExternalIdOk ¶
func (o *CreateInvoiceRequest) GetExternalIdOk() (*string, bool)
GetExternalIdOk returns a tuple with the ExternalId field value and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetFailureRedirectUrl ¶
func (o *CreateInvoiceRequest) GetFailureRedirectUrl() string
GetFailureRedirectUrl returns the FailureRedirectUrl field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetFailureRedirectUrlOk ¶
func (o *CreateInvoiceRequest) GetFailureRedirectUrlOk() (*string, bool)
GetFailureRedirectUrlOk returns a tuple with the FailureRedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetFees ¶
func (o *CreateInvoiceRequest) GetFees() []InvoiceFee
GetFees returns the Fees field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetFeesOk ¶
func (o *CreateInvoiceRequest) GetFeesOk() ([]InvoiceFee, bool)
GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetInvoiceDuration ¶
func (o *CreateInvoiceRequest) GetInvoiceDuration() string
GetInvoiceDuration returns the InvoiceDuration field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetInvoiceDurationOk ¶
func (o *CreateInvoiceRequest) GetInvoiceDurationOk() (*string, bool)
GetInvoiceDurationOk returns a tuple with the InvoiceDuration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetItems ¶
func (o *CreateInvoiceRequest) GetItems() []InvoiceItem
GetItems returns the Items field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetItemsOk ¶
func (o *CreateInvoiceRequest) GetItemsOk() ([]InvoiceItem, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetLocal ¶
func (o *CreateInvoiceRequest) GetLocal() string
GetLocal returns the Local field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetLocalOk ¶
func (o *CreateInvoiceRequest) GetLocalOk() (*string, bool)
GetLocalOk returns a tuple with the Local field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetMidLabel ¶
func (o *CreateInvoiceRequest) GetMidLabel() string
GetMidLabel returns the MidLabel field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetMidLabelOk ¶
func (o *CreateInvoiceRequest) GetMidLabelOk() (*string, bool)
GetMidLabelOk returns a tuple with the MidLabel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetPayerEmail ¶
func (o *CreateInvoiceRequest) GetPayerEmail() string
GetPayerEmail returns the PayerEmail field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetPayerEmailOk ¶
func (o *CreateInvoiceRequest) GetPayerEmailOk() (*string, bool)
GetPayerEmailOk returns a tuple with the PayerEmail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetPaymentMethods ¶
func (o *CreateInvoiceRequest) GetPaymentMethods() []string
GetPaymentMethods returns the PaymentMethods field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetPaymentMethodsOk ¶
func (o *CreateInvoiceRequest) GetPaymentMethodsOk() ([]string, bool)
GetPaymentMethodsOk returns a tuple with the PaymentMethods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetReminderTime ¶
func (o *CreateInvoiceRequest) GetReminderTime() float32
GetReminderTime returns the ReminderTime field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetReminderTimeOk ¶
func (o *CreateInvoiceRequest) GetReminderTimeOk() (*float32, bool)
GetReminderTimeOk returns a tuple with the ReminderTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetReminderTimeUnit ¶
func (o *CreateInvoiceRequest) GetReminderTimeUnit() string
GetReminderTimeUnit returns the ReminderTimeUnit field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetReminderTimeUnitOk ¶
func (o *CreateInvoiceRequest) GetReminderTimeUnitOk() (*string, bool)
GetReminderTimeUnitOk returns a tuple with the ReminderTimeUnit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetShouldAuthenticateCreditCard ¶
func (o *CreateInvoiceRequest) GetShouldAuthenticateCreditCard() bool
GetShouldAuthenticateCreditCard returns the ShouldAuthenticateCreditCard field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetShouldAuthenticateCreditCardOk ¶
func (o *CreateInvoiceRequest) GetShouldAuthenticateCreditCardOk() (*bool, bool)
GetShouldAuthenticateCreditCardOk returns a tuple with the ShouldAuthenticateCreditCard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetShouldSendEmail ¶
func (o *CreateInvoiceRequest) GetShouldSendEmail() bool
GetShouldSendEmail returns the ShouldSendEmail field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetShouldSendEmailOk ¶
func (o *CreateInvoiceRequest) GetShouldSendEmailOk() (*bool, bool)
GetShouldSendEmailOk returns a tuple with the ShouldSendEmail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) GetSuccessRedirectUrl ¶
func (o *CreateInvoiceRequest) GetSuccessRedirectUrl() string
GetSuccessRedirectUrl returns the SuccessRedirectUrl field value if set, zero value otherwise.
func (*CreateInvoiceRequest) GetSuccessRedirectUrlOk ¶
func (o *CreateInvoiceRequest) GetSuccessRedirectUrlOk() (*string, bool)
GetSuccessRedirectUrlOk returns a tuple with the SuccessRedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInvoiceRequest) HasCallbackVirtualAccountId ¶
func (o *CreateInvoiceRequest) HasCallbackVirtualAccountId() bool
HasCallbackVirtualAccountId returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasChannelProperties ¶ added in v4.3.0
func (o *CreateInvoiceRequest) HasChannelProperties() bool
HasChannelProperties returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasCurrency ¶
func (o *CreateInvoiceRequest) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasCustomer ¶
func (o *CreateInvoiceRequest) HasCustomer() bool
HasCustomer returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasCustomerNotificationPreference ¶
func (o *CreateInvoiceRequest) HasCustomerNotificationPreference() bool
HasCustomerNotificationPreference returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasDescription ¶
func (o *CreateInvoiceRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasFailureRedirectUrl ¶
func (o *CreateInvoiceRequest) HasFailureRedirectUrl() bool
HasFailureRedirectUrl returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasFees ¶
func (o *CreateInvoiceRequest) HasFees() bool
HasFees returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasInvoiceDuration ¶
func (o *CreateInvoiceRequest) HasInvoiceDuration() bool
HasInvoiceDuration returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasItems ¶
func (o *CreateInvoiceRequest) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasLocal ¶
func (o *CreateInvoiceRequest) HasLocal() bool
HasLocal returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasMidLabel ¶
func (o *CreateInvoiceRequest) HasMidLabel() bool
HasMidLabel returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasPayerEmail ¶
func (o *CreateInvoiceRequest) HasPayerEmail() bool
HasPayerEmail returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasPaymentMethods ¶
func (o *CreateInvoiceRequest) HasPaymentMethods() bool
HasPaymentMethods returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasReminderTime ¶
func (o *CreateInvoiceRequest) HasReminderTime() bool
HasReminderTime returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasReminderTimeUnit ¶
func (o *CreateInvoiceRequest) HasReminderTimeUnit() bool
HasReminderTimeUnit returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasShouldAuthenticateCreditCard ¶
func (o *CreateInvoiceRequest) HasShouldAuthenticateCreditCard() bool
HasShouldAuthenticateCreditCard returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasShouldSendEmail ¶
func (o *CreateInvoiceRequest) HasShouldSendEmail() bool
HasShouldSendEmail returns a boolean if a field has been set.
func (*CreateInvoiceRequest) HasSuccessRedirectUrl ¶
func (o *CreateInvoiceRequest) HasSuccessRedirectUrl() bool
HasSuccessRedirectUrl returns a boolean if a field has been set.
func (CreateInvoiceRequest) MarshalJSON ¶
func (o CreateInvoiceRequest) MarshalJSON() ([]byte, error)
func (*CreateInvoiceRequest) SetAmount ¶
func (o *CreateInvoiceRequest) SetAmount(v float64)
SetAmount sets field value
func (*CreateInvoiceRequest) SetCallbackVirtualAccountId ¶
func (o *CreateInvoiceRequest) SetCallbackVirtualAccountId(v string)
SetCallbackVirtualAccountId gets a reference to the given string and assigns it to the CallbackVirtualAccountId field.
func (*CreateInvoiceRequest) SetChannelProperties ¶ added in v4.3.0
func (o *CreateInvoiceRequest) SetChannelProperties(v ChannelProperties)
SetChannelProperties gets a reference to the given ChannelProperties and assigns it to the ChannelProperties field.
func (*CreateInvoiceRequest) SetCurrency ¶
func (o *CreateInvoiceRequest) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*CreateInvoiceRequest) SetCustomer ¶
func (o *CreateInvoiceRequest) SetCustomer(v CustomerObject)
SetCustomer gets a reference to the given CustomerObject and assigns it to the Customer field.
func (*CreateInvoiceRequest) SetCustomerNotificationPreference ¶
func (o *CreateInvoiceRequest) SetCustomerNotificationPreference(v NotificationPreference)
SetCustomerNotificationPreference gets a reference to the given NotificationPreference and assigns it to the CustomerNotificationPreference field.
func (*CreateInvoiceRequest) SetDescription ¶
func (o *CreateInvoiceRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateInvoiceRequest) SetExternalId ¶
func (o *CreateInvoiceRequest) SetExternalId(v string)
SetExternalId sets field value
func (*CreateInvoiceRequest) SetFailureRedirectUrl ¶
func (o *CreateInvoiceRequest) SetFailureRedirectUrl(v string)
SetFailureRedirectUrl gets a reference to the given string and assigns it to the FailureRedirectUrl field.
func (*CreateInvoiceRequest) SetFees ¶
func (o *CreateInvoiceRequest) SetFees(v []InvoiceFee)
SetFees gets a reference to the given []InvoiceFee and assigns it to the Fees field.
func (*CreateInvoiceRequest) SetInvoiceDuration ¶
func (o *CreateInvoiceRequest) SetInvoiceDuration(v string)
SetInvoiceDuration gets a reference to the given string and assigns it to the InvoiceDuration field.
func (*CreateInvoiceRequest) SetItems ¶
func (o *CreateInvoiceRequest) SetItems(v []InvoiceItem)
SetItems gets a reference to the given []InvoiceItem and assigns it to the Items field.
func (*CreateInvoiceRequest) SetLocal ¶
func (o *CreateInvoiceRequest) SetLocal(v string)
SetLocal gets a reference to the given string and assigns it to the Local field.
func (*CreateInvoiceRequest) SetMidLabel ¶
func (o *CreateInvoiceRequest) SetMidLabel(v string)
SetMidLabel gets a reference to the given string and assigns it to the MidLabel field.
func (*CreateInvoiceRequest) SetPayerEmail ¶
func (o *CreateInvoiceRequest) SetPayerEmail(v string)
SetPayerEmail gets a reference to the given string and assigns it to the PayerEmail field.
func (*CreateInvoiceRequest) SetPaymentMethods ¶
func (o *CreateInvoiceRequest) SetPaymentMethods(v []string)
SetPaymentMethods gets a reference to the given []string and assigns it to the PaymentMethods field.
func (*CreateInvoiceRequest) SetReminderTime ¶
func (o *CreateInvoiceRequest) SetReminderTime(v float32)
SetReminderTime gets a reference to the given float32 and assigns it to the ReminderTime field.
func (*CreateInvoiceRequest) SetReminderTimeUnit ¶
func (o *CreateInvoiceRequest) SetReminderTimeUnit(v string)
SetReminderTimeUnit gets a reference to the given string and assigns it to the ReminderTimeUnit field.
func (*CreateInvoiceRequest) SetShouldAuthenticateCreditCard ¶
func (o *CreateInvoiceRequest) SetShouldAuthenticateCreditCard(v bool)
SetShouldAuthenticateCreditCard gets a reference to the given bool and assigns it to the ShouldAuthenticateCreditCard field.
func (*CreateInvoiceRequest) SetShouldSendEmail ¶
func (o *CreateInvoiceRequest) SetShouldSendEmail(v bool)
SetShouldSendEmail gets a reference to the given bool and assigns it to the ShouldSendEmail field.
func (*CreateInvoiceRequest) SetSuccessRedirectUrl ¶
func (o *CreateInvoiceRequest) SetSuccessRedirectUrl(v string)
SetSuccessRedirectUrl gets a reference to the given string and assigns it to the SuccessRedirectUrl field.
func (CreateInvoiceRequest) ToMap ¶
func (o CreateInvoiceRequest) ToMap() (map[string]interface{}, error)
type CustomerObject ¶
type CustomerObject struct { // The unique identifier for the customer. Id NullableString `json:"id,omitempty"` // The customer's phone number. PhoneNumber NullableString `json:"phone_number,omitempty"` // The customer's given names or first names. GivenNames NullableString `json:"given_names,omitempty"` // The customer's surname or last name. Surname NullableString `json:"surname,omitempty"` // The customer's email address. Email NullableString `json:"email,omitempty"` // The customer's mobile phone number. MobileNumber NullableString `json:"mobile_number,omitempty"` // An additional identifier for the customer. CustomerId NullableString `json:"customer_id,omitempty"` // An array of addresses associated with the customer. Addresses []AddressObject `json:"addresses,omitempty"` }
CustomerObject An object representing a customer with various properties, including addresses.
func NewCustomerObject ¶
func NewCustomerObject() *CustomerObject
NewCustomerObject instantiates a new CustomerObject 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
func NewCustomerObjectWithDefaults ¶
func NewCustomerObjectWithDefaults() *CustomerObject
NewCustomerObjectWithDefaults instantiates a new CustomerObject 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
func (*CustomerObject) GetAddresses ¶
func (o *CustomerObject) GetAddresses() []AddressObject
GetAddresses returns the Addresses field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerObject) GetAddressesOk ¶
func (o *CustomerObject) GetAddressesOk() ([]AddressObject, bool)
GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CustomerObject) GetCustomerId ¶
func (o *CustomerObject) GetCustomerId() string
GetCustomerId returns the CustomerId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerObject) GetCustomerIdOk ¶
func (o *CustomerObject) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CustomerObject) GetEmail ¶
func (o *CustomerObject) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerObject) GetEmailOk ¶
func (o *CustomerObject) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CustomerObject) GetGivenNames ¶
func (o *CustomerObject) GetGivenNames() string
GetGivenNames returns the GivenNames field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerObject) GetGivenNamesOk ¶
func (o *CustomerObject) GetGivenNamesOk() (*string, bool)
GetGivenNamesOk returns a tuple with the GivenNames field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CustomerObject) GetId ¶
func (o *CustomerObject) GetId() string
GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerObject) GetIdOk ¶
func (o *CustomerObject) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CustomerObject) GetMobileNumber ¶
func (o *CustomerObject) GetMobileNumber() string
GetMobileNumber returns the MobileNumber field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerObject) GetMobileNumberOk ¶
func (o *CustomerObject) GetMobileNumberOk() (*string, bool)
GetMobileNumberOk returns a tuple with the MobileNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CustomerObject) GetPhoneNumber ¶
func (o *CustomerObject) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerObject) GetPhoneNumberOk ¶
func (o *CustomerObject) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CustomerObject) GetSurname ¶
func (o *CustomerObject) GetSurname() string
GetSurname returns the Surname field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CustomerObject) GetSurnameOk ¶
func (o *CustomerObject) GetSurnameOk() (*string, bool)
GetSurnameOk returns a tuple with the Surname field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CustomerObject) HasAddresses ¶
func (o *CustomerObject) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (*CustomerObject) HasCustomerId ¶
func (o *CustomerObject) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (*CustomerObject) HasEmail ¶
func (o *CustomerObject) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CustomerObject) HasGivenNames ¶
func (o *CustomerObject) HasGivenNames() bool
HasGivenNames returns a boolean if a field has been set.
func (*CustomerObject) HasId ¶
func (o *CustomerObject) HasId() bool
HasId returns a boolean if a field has been set.
func (*CustomerObject) HasMobileNumber ¶
func (o *CustomerObject) HasMobileNumber() bool
HasMobileNumber returns a boolean if a field has been set.
func (*CustomerObject) HasPhoneNumber ¶
func (o *CustomerObject) HasPhoneNumber() bool
HasPhoneNumber returns a boolean if a field has been set.
func (*CustomerObject) HasSurname ¶
func (o *CustomerObject) HasSurname() bool
HasSurname returns a boolean if a field has been set.
func (CustomerObject) MarshalJSON ¶
func (o CustomerObject) MarshalJSON() ([]byte, error)
func (*CustomerObject) SetAddresses ¶
func (o *CustomerObject) SetAddresses(v []AddressObject)
SetAddresses gets a reference to the given []AddressObject and assigns it to the Addresses field.
func (*CustomerObject) SetCustomerId ¶
func (o *CustomerObject) SetCustomerId(v string)
SetCustomerId gets a reference to the given NullableString and assigns it to the CustomerId field.
func (*CustomerObject) SetCustomerIdNil ¶
func (o *CustomerObject) SetCustomerIdNil()
SetCustomerIdNil sets the value for CustomerId to be an explicit nil
func (*CustomerObject) SetEmail ¶
func (o *CustomerObject) SetEmail(v string)
SetEmail gets a reference to the given NullableString and assigns it to the Email field.
func (*CustomerObject) SetEmailNil ¶
func (o *CustomerObject) SetEmailNil()
SetEmailNil sets the value for Email to be an explicit nil
func (*CustomerObject) SetGivenNames ¶
func (o *CustomerObject) SetGivenNames(v string)
SetGivenNames gets a reference to the given NullableString and assigns it to the GivenNames field.
func (*CustomerObject) SetGivenNamesNil ¶
func (o *CustomerObject) SetGivenNamesNil()
SetGivenNamesNil sets the value for GivenNames to be an explicit nil
func (*CustomerObject) SetId ¶
func (o *CustomerObject) SetId(v string)
SetId gets a reference to the given NullableString and assigns it to the Id field.
func (*CustomerObject) SetIdNil ¶
func (o *CustomerObject) SetIdNil()
SetIdNil sets the value for Id to be an explicit nil
func (*CustomerObject) SetMobileNumber ¶
func (o *CustomerObject) SetMobileNumber(v string)
SetMobileNumber gets a reference to the given NullableString and assigns it to the MobileNumber field.
func (*CustomerObject) SetMobileNumberNil ¶
func (o *CustomerObject) SetMobileNumberNil()
SetMobileNumberNil sets the value for MobileNumber to be an explicit nil
func (*CustomerObject) SetPhoneNumber ¶
func (o *CustomerObject) SetPhoneNumber(v string)
SetPhoneNumber gets a reference to the given NullableString and assigns it to the PhoneNumber field.
func (*CustomerObject) SetPhoneNumberNil ¶
func (o *CustomerObject) SetPhoneNumberNil()
SetPhoneNumberNil sets the value for PhoneNumber to be an explicit nil
func (*CustomerObject) SetSurname ¶
func (o *CustomerObject) SetSurname(v string)
SetSurname gets a reference to the given NullableString and assigns it to the Surname field.
func (*CustomerObject) SetSurnameNil ¶
func (o *CustomerObject) SetSurnameNil()
SetSurnameNil sets the value for Surname to be an explicit nil
func (CustomerObject) ToMap ¶
func (o CustomerObject) ToMap() (map[string]interface{}, error)
func (*CustomerObject) UnsetCustomerId ¶
func (o *CustomerObject) UnsetCustomerId()
UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil
func (*CustomerObject) UnsetEmail ¶
func (o *CustomerObject) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (*CustomerObject) UnsetGivenNames ¶
func (o *CustomerObject) UnsetGivenNames()
UnsetGivenNames ensures that no value is present for GivenNames, not even an explicit nil
func (*CustomerObject) UnsetId ¶
func (o *CustomerObject) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (*CustomerObject) UnsetMobileNumber ¶
func (o *CustomerObject) UnsetMobileNumber()
UnsetMobileNumber ensures that no value is present for MobileNumber, not even an explicit nil
func (*CustomerObject) UnsetPhoneNumber ¶
func (o *CustomerObject) UnsetPhoneNumber()
UnsetPhoneNumber ensures that no value is present for PhoneNumber, not even an explicit nil
func (*CustomerObject) UnsetSurname ¶
func (o *CustomerObject) UnsetSurname()
UnsetSurname ensures that no value is present for Surname, not even an explicit nil
type DirectDebit ¶
type DirectDebit struct {
DirectDebitType DirectDebitType `json:"direct_debit_type"`
}
DirectDebit An object representing direct debit details for invoices.
func NewDirectDebit ¶
func NewDirectDebit(directDebitType DirectDebitType) *DirectDebit
NewDirectDebit instantiates a new DirectDebit 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
func NewDirectDebitWithDefaults ¶
func NewDirectDebitWithDefaults() *DirectDebit
NewDirectDebitWithDefaults instantiates a new DirectDebit 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
func (*DirectDebit) GetDirectDebitType ¶
func (o *DirectDebit) GetDirectDebitType() DirectDebitType
GetDirectDebitType returns the DirectDebitType field value
func (*DirectDebit) GetDirectDebitTypeOk ¶
func (o *DirectDebit) GetDirectDebitTypeOk() (*DirectDebitType, bool)
GetDirectDebitTypeOk returns a tuple with the DirectDebitType field value and a boolean to check if the value has been set.
func (DirectDebit) MarshalJSON ¶
func (o DirectDebit) MarshalJSON() ([]byte, error)
func (*DirectDebit) SetDirectDebitType ¶
func (o *DirectDebit) SetDirectDebitType(v DirectDebitType)
SetDirectDebitType sets field value
func (DirectDebit) ToMap ¶
func (o DirectDebit) ToMap() (map[string]interface{}, error)
type DirectDebitType ¶
type DirectDebitType string
DirectDebitType Representing the available Direct Debit channels used for invoice-related transactions.
const ( DIRECTDEBITTYPE_BA_BRI DirectDebitType = "BA_BRI" DIRECTDEBITTYPE_DC_BRI DirectDebitType = "DC_BRI" DIRECTDEBITTYPE_DD_BRI DirectDebitType = "DD_BRI" DIRECTDEBITTYPE_DD_MANDIRI DirectDebitType = "DD_MANDIRI" DIRECTDEBITTYPE_BA_BPI DirectDebitType = "BA_BPI" DIRECTDEBITTYPE_DC_BPI DirectDebitType = "DC_BPI" DIRECTDEBITTYPE_DD_BPI DirectDebitType = "DD_BPI" DIRECTDEBITTYPE_BA_UBP DirectDebitType = "BA_UBP" DIRECTDEBITTYPE_DC_UBP DirectDebitType = "DC_UBP" DIRECTDEBITTYPE_DD_UBP DirectDebitType = "DD_UBP" DIRECTDEBITTYPE_BCA_KLIKPAY DirectDebitType = "BCA_KLIKPAY" DIRECTDEBITTYPE_BA_BCA_KLIKPAY DirectDebitType = "BA_BCA_KLIKPAY" DIRECTDEBITTYPE_DC_BCA_KLIKPAY DirectDebitType = "DC_BCA_KLIKPAY" DIRECTDEBITTYPE_DD_BCA_KLIKPAY DirectDebitType = "DD_BCA_KLIKPAY" DIRECTDEBITTYPE_DD_BDO_EPAY DirectDebitType = "DD_BDO_EPAY" DIRECTDEBITTYPE_DD_RCBC DirectDebitType = "DD_RCBC" DIRECTDEBITTYPE_DD_CHINABANK DirectDebitType = "DD_CHINABANK" DIRECTDEBITTYPE_BA_CHINABANK DirectDebitType = "BA_CHINABANK" DIRECTDEBITTYPE_DC_CHINABANK DirectDebitType = "DC_CHINABANK" DIRECTDEBITTYPE_DD_PUBLIC_FPX DirectDebitType = "DD_PUBLIC_FPX" DIRECTDEBITTYPE_DD_AMBANK_FPX DirectDebitType = "DD_AMBANK_FPX" DIRECTDEBITTYPE_DD_KFH_FPX DirectDebitType = "DD_KFH_FPX" DIRECTDEBITTYPE_DD_AGRO_FPX DirectDebitType = "DD_AGRO_FPX" DIRECTDEBITTYPE_DD_AFFIN_FPX DirectDebitType = "DD_AFFIN_FPX" DIRECTDEBITTYPE_DD_ALLIANCE_FPX DirectDebitType = "DD_ALLIANCE_FPX" DIRECTDEBITTYPE_DD_MUAMALAT_FPX DirectDebitType = "DD_MUAMALAT_FPX" DIRECTDEBITTYPE_DD_HLB_FPX DirectDebitType = "DD_HLB_FPX" DIRECTDEBITTYPE_DD_ISLAM_FPX DirectDebitType = "DD_ISLAM_FPX" DIRECTDEBITTYPE_DD_RAKYAT_FPX DirectDebitType = "DD_RAKYAT_FPX" DIRECTDEBITTYPE_DD_CIMB_FPX DirectDebitType = "DD_CIMB_FPX" DIRECTDEBITTYPE_DD_UOB_FPX DirectDebitType = "DD_UOB_FPX" DIRECTDEBITTYPE_DD_BOC_FPX DirectDebitType = "DD_BOC_FPX" DIRECTDEBITTYPE_DD_BSN_FPX DirectDebitType = "DD_BSN_FPX" DIRECTDEBITTYPE_DD_OCBC_FPX DirectDebitType = "DD_OCBC_FPX" DIRECTDEBITTYPE_DD_HSBC_FPX DirectDebitType = "DD_HSBC_FPX" DIRECTDEBITTYPE_DD_SCH_FPX DirectDebitType = "DD_SCH_FPX" DIRECTDEBITTYPE_DD_MAYB2_U_FPX DirectDebitType = "DD_MAYB2U_FPX" DIRECTDEBITTYPE_DD_RHB_FPX DirectDebitType = "DD_RHB_FPX" DIRECTDEBITTYPE_DD_UOB_FPX_BUSINESS DirectDebitType = "DD_UOB_FPX_BUSINESS" DIRECTDEBITTYPE_DD_AGRO_FPX_BUSINESS DirectDebitType = "DD_AGRO_FPX_BUSINESS" DIRECTDEBITTYPE_DD_ALLIANCE_FPX_BUSINESS DirectDebitType = "DD_ALLIANCE_FPX_BUSINESS" DIRECTDEBITTYPE_DD_AMBANK_FPX_BUSINESS DirectDebitType = "DD_AMBANK_FPX_BUSINESS" DIRECTDEBITTYPE_DD_ISLAM_FPX_BUSINESS DirectDebitType = "DD_ISLAM_FPX_BUSINESS" DIRECTDEBITTYPE_DD_MUAMALAT_FPX_BUSINESS DirectDebitType = "DD_MUAMALAT_FPX_BUSINESS" DIRECTDEBITTYPE_DD_HLB_FPX_BUSINESS DirectDebitType = "DD_HLB_FPX_BUSINESS" DIRECTDEBITTYPE_DD_HSBC_FPX_BUSINESS DirectDebitType = "DD_HSBC_FPX_BUSINESS" DIRECTDEBITTYPE_DD_RAKYAT_FPX_BUSINESS DirectDebitType = "DD_RAKYAT_FPX_BUSINESS" DIRECTDEBITTYPE_DD_KFH_FPX_BUSINESS DirectDebitType = "DD_KFH_FPX_BUSINESS" DIRECTDEBITTYPE_DD_OCBC_FPX_BUSINESS DirectDebitType = "DD_OCBC_FPX_BUSINESS" DIRECTDEBITTYPE_DD_PUBLIC_FPX_BUSINESS DirectDebitType = "DD_PUBLIC_FPX_BUSINESS" DIRECTDEBITTYPE_DD_RHB_FPX_BUSINESS DirectDebitType = "DD_RHB_FPX_BUSINESS" DIRECTDEBITTYPE_DD_SCH_FPX_BUSINESS DirectDebitType = "DD_SCH_FPX_BUSINESS" DIRECTDEBITTYPE_DD_CITIBANK_FPX_BUSINESS DirectDebitType = "DD_CITIBANK_FPX_BUSINESS" DIRECTDEBITTYPE_DD_BNP_FPX_BUSINESS DirectDebitType = "DD_BNP_FPX_BUSINESS" DIRECTDEBITTYPE_DD_DEUTSCHE_FPX_BUSINESS DirectDebitType = "DD_DEUTSCHE_FPX_BUSINESS" DIRECTDEBITTYPE_DD_MAYB2_E_FPX_BUSINESS DirectDebitType = "DD_MAYB2E_FPX_BUSINESS" DIRECTDEBITTYPE_DD_CIMB_FPX_BUSINESS DirectDebitType = "DD_CIMB_FPX_BUSINESS" DIRECTDEBITTYPE_DD_AFFIN_FPX_BUSINESS DirectDebitType = "DD_AFFIN_FPX_BUSINESS" DIRECTDEBITTYPE_XENDIT_ENUM_DEFAULT_FALLBACK DirectDebitType = "UNKNOWN_ENUM_VALUE" )
List of DirectDebitType
func NewDirectDebitTypeFromValue ¶
func NewDirectDebitTypeFromValue(v string) (*DirectDebitType, error)
NewDirectDebitTypeFromValue returns a pointer to a valid DirectDebitType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DirectDebitType) IsValid ¶
func (v DirectDebitType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DirectDebitType) Ptr ¶
func (v DirectDebitType) Ptr() *DirectDebitType
Ptr returns reference to DirectDebitType value
func (DirectDebitType) String ¶
func (v DirectDebitType) String() string
func (*DirectDebitType) UnmarshalJSON ¶
func (v *DirectDebitType) UnmarshalJSON(src []byte) error
type Ewallet ¶
type Ewallet struct {
EwalletType EwalletType `json:"ewallet_type"`
}
Ewallet An object representing e-wallet details for invoices.
func NewEwallet ¶
func NewEwallet(ewalletType EwalletType) *Ewallet
NewEwallet instantiates a new Ewallet 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
func NewEwalletWithDefaults ¶
func NewEwalletWithDefaults() *Ewallet
NewEwalletWithDefaults instantiates a new Ewallet 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
func (*Ewallet) GetEwalletType ¶
func (o *Ewallet) GetEwalletType() EwalletType
GetEwalletType returns the EwalletType field value
func (*Ewallet) GetEwalletTypeOk ¶
func (o *Ewallet) GetEwalletTypeOk() (*EwalletType, bool)
GetEwalletTypeOk returns a tuple with the EwalletType field value and a boolean to check if the value has been set.
func (Ewallet) MarshalJSON ¶
func (*Ewallet) SetEwalletType ¶
func (o *Ewallet) SetEwalletType(v EwalletType)
SetEwalletType sets field value
type EwalletType ¶
type EwalletType string
EwalletType Representing the available eWallet channels used for invoice-related transactions.
const ( EWALLETTYPE_OVO EwalletType = "OVO" EWALLETTYPE_DANA EwalletType = "DANA" EWALLETTYPE_LINKAJA EwalletType = "LINKAJA" EWALLETTYPE_PAYMAYA EwalletType = "PAYMAYA" EWALLETTYPE_SHOPEEPAY EwalletType = "SHOPEEPAY" EWALLETTYPE_GCASH EwalletType = "GCASH" EWALLETTYPE_GRABPAY EwalletType = "GRABPAY" EWALLETTYPE_ASTRAPAY EwalletType = "ASTRAPAY" EWALLETTYPE_NEXCASH EwalletType = "NEXCASH" EWALLETTYPE_JENIUSPAY EwalletType = "JENIUSPAY" EWALLETTYPE_MOMO EwalletType = "MOMO" EWALLETTYPE_ZALOPAY EwalletType = "ZALOPAY" EWALLETTYPE_VIETTELPAY EwalletType = "VIETTELPAY" EWALLETTYPE_VNPTWALLET EwalletType = "VNPTWALLET" EWALLETTYPE_APPOTA EwalletType = "APPOTA" EWALLETTYPE_LINEPAY EwalletType = "LINEPAY" EWALLETTYPE_TRUEMONEY EwalletType = "TRUEMONEY" EWALLETTYPE_WECHATPAY EwalletType = "WECHATPAY" EWALLETTYPE_TOUCHNGO EwalletType = "TOUCHNGO" EWALLETTYPE_XENDIT_ENUM_DEFAULT_FALLBACK EwalletType = "UNKNOWN_ENUM_VALUE" )
List of EwalletType
func NewEwalletTypeFromValue ¶
func NewEwalletTypeFromValue(v string) (*EwalletType, error)
NewEwalletTypeFromValue returns a pointer to a valid EwalletType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (EwalletType) IsValid ¶
func (v EwalletType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (EwalletType) Ptr ¶
func (v EwalletType) Ptr() *EwalletType
Ptr returns reference to EwalletType value
func (EwalletType) String ¶
func (v EwalletType) String() string
func (*EwalletType) UnmarshalJSON ¶
func (v *EwalletType) UnmarshalJSON(src []byte) error
type ForbiddenError ¶
type ForbiddenError struct { // The specific error code indicating that access to the invoice operation is suspended. ErrorCode string `json:"error_code"` // A human-readable error message providing additional context about the 403 Forbidden response. Message string `json:"message"` }
ForbiddenError An error object used to indicate a 403 Forbidden response related to invoice operations.
func NewForbiddenError ¶
func NewForbiddenError(errorCode string, message string) *ForbiddenError
NewForbiddenError instantiates a new ForbiddenError 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
func NewForbiddenErrorWithDefaults ¶
func NewForbiddenErrorWithDefaults() *ForbiddenError
NewForbiddenErrorWithDefaults instantiates a new ForbiddenError 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
func (*ForbiddenError) GetErrorCode ¶
func (o *ForbiddenError) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*ForbiddenError) GetErrorCodeOk ¶
func (o *ForbiddenError) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*ForbiddenError) GetMessage ¶
func (o *ForbiddenError) GetMessage() string
GetMessage returns the Message field value
func (*ForbiddenError) GetMessageOk ¶
func (o *ForbiddenError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (ForbiddenError) MarshalJSON ¶
func (o ForbiddenError) MarshalJSON() ([]byte, error)
func (*ForbiddenError) SetErrorCode ¶
func (o *ForbiddenError) SetErrorCode(v string)
SetErrorCode sets field value
func (*ForbiddenError) SetMessage ¶
func (o *ForbiddenError) SetMessage(v string)
SetMessage sets field value
func (ForbiddenError) ToMap ¶
func (o ForbiddenError) ToMap() (map[string]interface{}, error)
type Invoice ¶
type Invoice struct { // The unique identifier for the invoice. Id *string `json:"id,omitempty"` // The external identifier for the invoice. ExternalId string `json:"external_id"` // The user ID associated with the invoice. UserId string `json:"user_id"` // The email address of the payer. PayerEmail *string `json:"payer_email,omitempty"` // A description of the invoice. Description *string `json:"description,omitempty"` PaymentMethod *InvoicePaymentMethod `json:"payment_method,omitempty"` Status InvoiceStatus `json:"status"` // The name of the merchant. MerchantName string `json:"merchant_name"` // The URL of the merchant's profile picture. MerchantProfilePictureUrl string `json:"merchant_profile_picture_url"` // The locale or language used for the invoice. Locale *string `json:"locale,omitempty"` // The total amount of the invoice. Amount float64 `json:"amount"` // Representing a date and time in ISO 8601 format. ExpiryDate time.Time `json:"expiry_date"` // The URL to view the invoice. InvoiceUrl string `json:"invoice_url"` // An array of available banks for payment. AvailableBanks []Bank `json:"available_banks"` // An array of available retail outlets for payment. AvailableRetailOutlets []RetailOutlet `json:"available_retail_outlets"` // An array of available e-wallets for payment. AvailableEwallets []Ewallet `json:"available_ewallets"` // An array of available QR codes for payment. AvailableQrCodes []QrCode `json:"available_qr_codes"` // An array of available direct debit options for payment. AvailableDirectDebits []DirectDebit `json:"available_direct_debits"` // An array of available pay-later options for payment. AvailablePaylaters []Paylater `json:"available_paylaters"` // Indicates whether credit card payments should be excluded. ShouldExcludeCreditCard *bool `json:"should_exclude_credit_card,omitempty"` // Indicates whether email notifications should be sent. ShouldSendEmail bool `json:"should_send_email"` // Representing a date and time in ISO 8601 format. Created time.Time `json:"created"` // Representing a date and time in ISO 8601 format. Updated time.Time `json:"updated"` // The URL to redirect to on successful payment. SuccessRedirectUrl *string `json:"success_redirect_url,omitempty"` // The URL to redirect to on payment failure. FailureRedirectUrl *string `json:"failure_redirect_url,omitempty"` // Indicates whether credit card authentication is required. ShouldAuthenticateCreditCard *bool `json:"should_authenticate_credit_card,omitempty"` Currency *InvoiceCurrency `json:"currency,omitempty"` // An array of items included in the invoice. Items []InvoiceItem `json:"items,omitempty"` // Indicates whether the virtual account is fixed. FixedVa *bool `json:"fixed_va,omitempty"` // Representing a date and time in ISO 8601 format. ReminderDate *time.Time `json:"reminder_date,omitempty"` Customer *CustomerObject `json:"customer,omitempty"` CustomerNotificationPreference *NotificationPreference `json:"customer_notification_preference,omitempty"` // An array of fees associated with the invoice. Fees []InvoiceFee `json:"fees,omitempty"` ChannelProperties *ChannelProperties `json:"channel_properties,omitempty"` }
Invoice An object representing details for an invoice.
func NewInvoice ¶
func NewInvoice(externalId string, userId string, status InvoiceStatus, merchantName string, merchantProfilePictureUrl string, amount float64, expiryDate time.Time, invoiceUrl string, availableBanks []Bank, availableRetailOutlets []RetailOutlet, availableEwallets []Ewallet, availableQrCodes []QrCode, availableDirectDebits []DirectDebit, availablePaylaters []Paylater, shouldSendEmail bool, created time.Time, updated time.Time) *Invoice
NewInvoice instantiates a new Invoice 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
func NewInvoiceWithDefaults ¶
func NewInvoiceWithDefaults() *Invoice
NewInvoiceWithDefaults instantiates a new Invoice 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
func (*Invoice) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Invoice) GetAvailableBanks ¶
GetAvailableBanks returns the AvailableBanks field value
func (*Invoice) GetAvailableBanksOk ¶
GetAvailableBanksOk returns a tuple with the AvailableBanks field value and a boolean to check if the value has been set.
func (*Invoice) GetAvailableDirectDebits ¶
func (o *Invoice) GetAvailableDirectDebits() []DirectDebit
GetAvailableDirectDebits returns the AvailableDirectDebits field value
func (*Invoice) GetAvailableDirectDebitsOk ¶
func (o *Invoice) GetAvailableDirectDebitsOk() ([]DirectDebit, bool)
GetAvailableDirectDebitsOk returns a tuple with the AvailableDirectDebits field value and a boolean to check if the value has been set.
func (*Invoice) GetAvailableEwallets ¶
GetAvailableEwallets returns the AvailableEwallets field value
func (*Invoice) GetAvailableEwalletsOk ¶
GetAvailableEwalletsOk returns a tuple with the AvailableEwallets field value and a boolean to check if the value has been set.
func (*Invoice) GetAvailablePaylaters ¶
GetAvailablePaylaters returns the AvailablePaylaters field value
func (*Invoice) GetAvailablePaylatersOk ¶
GetAvailablePaylatersOk returns a tuple with the AvailablePaylaters field value and a boolean to check if the value has been set.
func (*Invoice) GetAvailableQrCodes ¶
GetAvailableQrCodes returns the AvailableQrCodes field value
func (*Invoice) GetAvailableQrCodesOk ¶
GetAvailableQrCodesOk returns a tuple with the AvailableQrCodes field value and a boolean to check if the value has been set.
func (*Invoice) GetAvailableRetailOutlets ¶
func (o *Invoice) GetAvailableRetailOutlets() []RetailOutlet
GetAvailableRetailOutlets returns the AvailableRetailOutlets field value
func (*Invoice) GetAvailableRetailOutletsOk ¶
func (o *Invoice) GetAvailableRetailOutletsOk() ([]RetailOutlet, bool)
GetAvailableRetailOutletsOk returns a tuple with the AvailableRetailOutlets field value and a boolean to check if the value has been set.
func (*Invoice) GetChannelProperties ¶ added in v4.3.0
func (o *Invoice) GetChannelProperties() ChannelProperties
GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise.
func (*Invoice) GetChannelPropertiesOk ¶ added in v4.3.0
func (o *Invoice) GetChannelPropertiesOk() (*ChannelProperties, bool)
GetChannelPropertiesOk returns a tuple with the ChannelProperties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetCreated ¶
GetCreated returns the Created field value
func (*Invoice) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Invoice) GetCurrency ¶
func (o *Invoice) GetCurrency() InvoiceCurrency
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*Invoice) GetCurrencyOk ¶
func (o *Invoice) GetCurrencyOk() (*InvoiceCurrency, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetCustomer ¶
func (o *Invoice) GetCustomer() CustomerObject
GetCustomer returns the Customer field value if set, zero value otherwise.
func (*Invoice) GetCustomerNotificationPreference ¶
func (o *Invoice) GetCustomerNotificationPreference() NotificationPreference
GetCustomerNotificationPreference returns the CustomerNotificationPreference field value if set, zero value otherwise.
func (*Invoice) GetCustomerNotificationPreferenceOk ¶
func (o *Invoice) GetCustomerNotificationPreferenceOk() (*NotificationPreference, bool)
GetCustomerNotificationPreferenceOk returns a tuple with the CustomerNotificationPreference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetCustomerOk ¶
func (o *Invoice) GetCustomerOk() (*CustomerObject, bool)
GetCustomerOk returns a tuple with the Customer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Invoice) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetExpiryDate ¶
GetExpiryDate returns the ExpiryDate field value
func (*Invoice) GetExpiryDateOk ¶
GetExpiryDateOk returns a tuple with the ExpiryDate field value and a boolean to check if the value has been set.
func (*Invoice) GetExternalId ¶
GetExternalId returns the ExternalId field value
func (*Invoice) GetExternalIdOk ¶
GetExternalIdOk returns a tuple with the ExternalId field value and a boolean to check if the value has been set.
func (*Invoice) GetFailureRedirectUrl ¶
GetFailureRedirectUrl returns the FailureRedirectUrl field value if set, zero value otherwise.
func (*Invoice) GetFailureRedirectUrlOk ¶
GetFailureRedirectUrlOk returns a tuple with the FailureRedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetFees ¶
func (o *Invoice) GetFees() []InvoiceFee
GetFees returns the Fees field value if set, zero value otherwise.
func (*Invoice) GetFeesOk ¶
func (o *Invoice) GetFeesOk() ([]InvoiceFee, bool)
GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetFixedVa ¶
GetFixedVa returns the FixedVa field value if set, zero value otherwise.
func (*Invoice) GetFixedVaOk ¶
GetFixedVaOk returns a tuple with the FixedVa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetInvoiceUrl ¶
GetInvoiceUrl returns the InvoiceUrl field value
func (*Invoice) GetInvoiceUrlOk ¶
GetInvoiceUrlOk returns a tuple with the InvoiceUrl field value and a boolean to check if the value has been set.
func (*Invoice) GetItems ¶
func (o *Invoice) GetItems() []InvoiceItem
GetItems returns the Items field value if set, zero value otherwise.
func (*Invoice) GetItemsOk ¶
func (o *Invoice) GetItemsOk() ([]InvoiceItem, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetLocaleOk ¶
GetLocaleOk returns a tuple with the Locale field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetMerchantName ¶
GetMerchantName returns the MerchantName field value
func (*Invoice) GetMerchantNameOk ¶
GetMerchantNameOk returns a tuple with the MerchantName field value and a boolean to check if the value has been set.
func (*Invoice) GetMerchantProfilePictureUrl ¶
GetMerchantProfilePictureUrl returns the MerchantProfilePictureUrl field value
func (*Invoice) GetMerchantProfilePictureUrlOk ¶
GetMerchantProfilePictureUrlOk returns a tuple with the MerchantProfilePictureUrl field value and a boolean to check if the value has been set.
func (*Invoice) GetPayerEmail ¶
GetPayerEmail returns the PayerEmail field value if set, zero value otherwise.
func (*Invoice) GetPayerEmailOk ¶
GetPayerEmailOk returns a tuple with the PayerEmail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetPaymentMethod ¶
func (o *Invoice) GetPaymentMethod() InvoicePaymentMethod
GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
func (*Invoice) GetPaymentMethodOk ¶
func (o *Invoice) GetPaymentMethodOk() (*InvoicePaymentMethod, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetReminderDate ¶
GetReminderDate returns the ReminderDate field value if set, zero value otherwise.
func (*Invoice) GetReminderDateOk ¶
GetReminderDateOk returns a tuple with the ReminderDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetShouldAuthenticateCreditCard ¶
GetShouldAuthenticateCreditCard returns the ShouldAuthenticateCreditCard field value if set, zero value otherwise.
func (*Invoice) GetShouldAuthenticateCreditCardOk ¶
GetShouldAuthenticateCreditCardOk returns a tuple with the ShouldAuthenticateCreditCard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetShouldExcludeCreditCard ¶
GetShouldExcludeCreditCard returns the ShouldExcludeCreditCard field value if set, zero value otherwise.
func (*Invoice) GetShouldExcludeCreditCardOk ¶
GetShouldExcludeCreditCardOk returns a tuple with the ShouldExcludeCreditCard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetShouldSendEmail ¶
GetShouldSendEmail returns the ShouldSendEmail field value
func (*Invoice) GetShouldSendEmailOk ¶
GetShouldSendEmailOk returns a tuple with the ShouldSendEmail field value and a boolean to check if the value has been set.
func (*Invoice) GetStatus ¶
func (o *Invoice) GetStatus() InvoiceStatus
GetStatus returns the Status field value
func (*Invoice) GetStatusOk ¶
func (o *Invoice) GetStatusOk() (*InvoiceStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Invoice) GetSuccessRedirectUrl ¶
GetSuccessRedirectUrl returns the SuccessRedirectUrl field value if set, zero value otherwise.
func (*Invoice) GetSuccessRedirectUrlOk ¶
GetSuccessRedirectUrlOk returns a tuple with the SuccessRedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invoice) GetUpdated ¶
GetUpdated returns the Updated field value
func (*Invoice) GetUpdatedOk ¶
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (*Invoice) GetUserIdOk ¶
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (*Invoice) HasChannelProperties ¶ added in v4.3.0
HasChannelProperties returns a boolean if a field has been set.
func (*Invoice) HasCurrency ¶
HasCurrency returns a boolean if a field has been set.
func (*Invoice) HasCustomer ¶
HasCustomer returns a boolean if a field has been set.
func (*Invoice) HasCustomerNotificationPreference ¶
HasCustomerNotificationPreference returns a boolean if a field has been set.
func (*Invoice) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Invoice) HasFailureRedirectUrl ¶
HasFailureRedirectUrl returns a boolean if a field has been set.
func (*Invoice) HasFixedVa ¶
HasFixedVa returns a boolean if a field has been set.
func (*Invoice) HasPayerEmail ¶
HasPayerEmail returns a boolean if a field has been set.
func (*Invoice) HasPaymentMethod ¶
HasPaymentMethod returns a boolean if a field has been set.
func (*Invoice) HasReminderDate ¶
HasReminderDate returns a boolean if a field has been set.
func (*Invoice) HasShouldAuthenticateCreditCard ¶
HasShouldAuthenticateCreditCard returns a boolean if a field has been set.
func (*Invoice) HasShouldExcludeCreditCard ¶
HasShouldExcludeCreditCard returns a boolean if a field has been set.
func (*Invoice) HasSuccessRedirectUrl ¶
HasSuccessRedirectUrl returns a boolean if a field has been set.
func (Invoice) MarshalJSON ¶
func (*Invoice) SetAvailableBanks ¶
SetAvailableBanks sets field value
func (*Invoice) SetAvailableDirectDebits ¶
func (o *Invoice) SetAvailableDirectDebits(v []DirectDebit)
SetAvailableDirectDebits sets field value
func (*Invoice) SetAvailableEwallets ¶
SetAvailableEwallets sets field value
func (*Invoice) SetAvailablePaylaters ¶
SetAvailablePaylaters sets field value
func (*Invoice) SetAvailableQrCodes ¶
SetAvailableQrCodes sets field value
func (*Invoice) SetAvailableRetailOutlets ¶
func (o *Invoice) SetAvailableRetailOutlets(v []RetailOutlet)
SetAvailableRetailOutlets sets field value
func (*Invoice) SetChannelProperties ¶ added in v4.3.0
func (o *Invoice) SetChannelProperties(v ChannelProperties)
SetChannelProperties gets a reference to the given ChannelProperties and assigns it to the ChannelProperties field.
func (*Invoice) SetCurrency ¶
func (o *Invoice) SetCurrency(v InvoiceCurrency)
SetCurrency gets a reference to the given InvoiceCurrency and assigns it to the Currency field.
func (*Invoice) SetCustomer ¶
func (o *Invoice) SetCustomer(v CustomerObject)
SetCustomer gets a reference to the given CustomerObject and assigns it to the Customer field.
func (*Invoice) SetCustomerNotificationPreference ¶
func (o *Invoice) SetCustomerNotificationPreference(v NotificationPreference)
SetCustomerNotificationPreference gets a reference to the given NotificationPreference and assigns it to the CustomerNotificationPreference field.
func (*Invoice) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Invoice) SetExpiryDate ¶
SetExpiryDate sets field value
func (*Invoice) SetExternalId ¶
SetExternalId sets field value
func (*Invoice) SetFailureRedirectUrl ¶
SetFailureRedirectUrl gets a reference to the given string and assigns it to the FailureRedirectUrl field.
func (*Invoice) SetFees ¶
func (o *Invoice) SetFees(v []InvoiceFee)
SetFees gets a reference to the given []InvoiceFee and assigns it to the Fees field.
func (*Invoice) SetFixedVa ¶
SetFixedVa gets a reference to the given bool and assigns it to the FixedVa field.
func (*Invoice) SetInvoiceUrl ¶
SetInvoiceUrl sets field value
func (*Invoice) SetItems ¶
func (o *Invoice) SetItems(v []InvoiceItem)
SetItems gets a reference to the given []InvoiceItem and assigns it to the Items field.
func (*Invoice) SetLocale ¶
SetLocale gets a reference to the given string and assigns it to the Locale field.
func (*Invoice) SetMerchantName ¶
SetMerchantName sets field value
func (*Invoice) SetMerchantProfilePictureUrl ¶
SetMerchantProfilePictureUrl sets field value
func (*Invoice) SetPayerEmail ¶
SetPayerEmail gets a reference to the given string and assigns it to the PayerEmail field.
func (*Invoice) SetPaymentMethod ¶
func (o *Invoice) SetPaymentMethod(v InvoicePaymentMethod)
SetPaymentMethod gets a reference to the given InvoicePaymentMethod and assigns it to the PaymentMethod field.
func (*Invoice) SetReminderDate ¶
SetReminderDate gets a reference to the given time.Time and assigns it to the ReminderDate field.
func (*Invoice) SetShouldAuthenticateCreditCard ¶
SetShouldAuthenticateCreditCard gets a reference to the given bool and assigns it to the ShouldAuthenticateCreditCard field.
func (*Invoice) SetShouldExcludeCreditCard ¶
SetShouldExcludeCreditCard gets a reference to the given bool and assigns it to the ShouldExcludeCreditCard field.
func (*Invoice) SetShouldSendEmail ¶
SetShouldSendEmail sets field value
func (*Invoice) SetSuccessRedirectUrl ¶
SetSuccessRedirectUrl gets a reference to the given string and assigns it to the SuccessRedirectUrl field.
type InvoiceApi ¶
type InvoiceApi interface { /* CreateInvoice Create an invoice @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateInvoiceRequest */ CreateInvoice(ctx context.Context) ApiCreateInvoiceRequest // CreateInvoiceExecute executes the request // @return Invoice CreateInvoiceExecute(r ApiCreateInvoiceRequest) (*Invoice, *http.Response, *common.XenditSdkError) /* GetInvoiceById Get invoice by invoice id @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param invoiceId Invoice ID @return ApiGetInvoiceByIdRequest */ GetInvoiceById(ctx context.Context, invoiceId string) ApiGetInvoiceByIdRequest // GetInvoiceByIdExecute executes the request // @return Invoice GetInvoiceByIdExecute(r ApiGetInvoiceByIdRequest) (*Invoice, *http.Response, *common.XenditSdkError) /* GetInvoices Get all Invoices @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetInvoicesRequest */ GetInvoices(ctx context.Context) ApiGetInvoicesRequest // GetInvoicesExecute executes the request // @return []Invoice GetInvoicesExecute(r ApiGetInvoicesRequest) ([]Invoice, *http.Response, *common.XenditSdkError) /* ExpireInvoice Manually expire an invoice @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param invoiceId Invoice ID to be expired @return ApiExpireInvoiceRequest */ ExpireInvoice(ctx context.Context, invoiceId string) ApiExpireInvoiceRequest // ExpireInvoiceExecute executes the request // @return Invoice ExpireInvoiceExecute(r ApiExpireInvoiceRequest) (*Invoice, *http.Response, *common.XenditSdkError) }
func NewInvoiceApi ¶
func NewInvoiceApi(client common.IClient) InvoiceApi
NewInvoiceApi Create a new InvoiceApi service
type InvoiceApiService ¶
type InvoiceApiService struct {
// contains filtered or unexported fields
}
InvoiceApiService InvoiceApi service
func (*InvoiceApiService) CreateInvoice ¶
func (a *InvoiceApiService) CreateInvoice(ctx context.Context) ApiCreateInvoiceRequest
CreateInvoice Create an invoice
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateInvoiceRequest
func (*InvoiceApiService) CreateInvoiceExecute ¶
func (a *InvoiceApiService) CreateInvoiceExecute(r ApiCreateInvoiceRequest) (*Invoice, *http.Response, *common.XenditSdkError)
Execute executes the request
@return Invoice
func (*InvoiceApiService) ExpireInvoice ¶
func (a *InvoiceApiService) ExpireInvoice(ctx context.Context, invoiceId string) ApiExpireInvoiceRequest
ExpireInvoice Manually expire an invoice
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param invoiceId Invoice ID to be expired @return ApiExpireInvoiceRequest
func (*InvoiceApiService) ExpireInvoiceExecute ¶
func (a *InvoiceApiService) ExpireInvoiceExecute(r ApiExpireInvoiceRequest) (*Invoice, *http.Response, *common.XenditSdkError)
Execute executes the request
@return Invoice
func (*InvoiceApiService) GetInvoiceById ¶
func (a *InvoiceApiService) GetInvoiceById(ctx context.Context, invoiceId string) ApiGetInvoiceByIdRequest
GetInvoiceById Get invoice by invoice id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param invoiceId Invoice ID @return ApiGetInvoiceByIdRequest
func (*InvoiceApiService) GetInvoiceByIdExecute ¶
func (a *InvoiceApiService) GetInvoiceByIdExecute(r ApiGetInvoiceByIdRequest) (*Invoice, *http.Response, *common.XenditSdkError)
Execute executes the request
@return Invoice
func (*InvoiceApiService) GetInvoices ¶
func (a *InvoiceApiService) GetInvoices(ctx context.Context) ApiGetInvoicesRequest
GetInvoices Get all Invoices
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetInvoicesRequest
func (*InvoiceApiService) GetInvoicesExecute ¶
func (a *InvoiceApiService) GetInvoicesExecute(r ApiGetInvoicesRequest) ([]Invoice, *http.Response, *common.XenditSdkError)
Execute executes the request
@return []Invoice
type InvoiceCallback ¶
type InvoiceCallback struct { // An invoice ID generated by Xendit Id string `json:"id"` // ID of your choice (typically the unique identifier of an invoice in your system) ExternalId string `json:"external_id"` // Xendit Business ID UserId string `json:"user_id"` // The status of the invoice. Status string `json:"status"` // The name of company or website MerchantName string `json:"merchant_name"` // Nominal amount for the invoice Amount float64 `json:"amount"` // Email of the payer PayerEmail *string `json:"payer_email,omitempty"` // Description for the invoice Description *string `json:"description,omitempty"` // Total amount paid for the invoice PaidAmount *float64 `json:"paid_amount,omitempty"` // The date and time when the invoice was created. Created string `json:"created"` // The date and time when the invoice was last updated. Updated string `json:"updated"` // The currency of the invoice. Currency string `json:"currency"` // The date and time when the invoice was paid. PaidAt *string `json:"paid_at,omitempty"` // The payment method used for the invoice. PaymentMethod *string `json:"payment_method,omitempty"` // The payment channel. PaymentChannel *string `json:"payment_channel,omitempty"` // The payment destination. PaymentDestination *string `json:"payment_destination,omitempty"` PaymentDetails *PaymentDetails `json:"payment_details,omitempty"` // The ID of the payment. PaymentId *string `json:"payment_id,omitempty"` // The URL to redirect to on successful payment. SuccessRedirectUrl *string `json:"success_redirect_url,omitempty"` // The URL to redirect to on payment failure. FailureRedirectUrl *string `json:"failure_redirect_url,omitempty"` // The ID associated with a credit card charge (if applicable). CreditCardChargeId *string `json:"credit_card_charge_id,omitempty"` Items []InvoiceCallbackItem `json:"items,omitempty"` // An array of fees associated with the invoice. Fees []InvoiceFee `json:"fees,omitempty"` // Indicates whether credit card authentication is required. ShouldAuthenticateCreditCard *bool `json:"should_authenticate_credit_card,omitempty"` // The bank code for the bank details. BankCode *string `json:"bank_code,omitempty"` // The type of eWallet. EwalletType *string `json:"ewallet_type,omitempty"` // The on-demand link. OnDemandLink *string `json:"on_demand_link,omitempty"` // The ID of the recurring payment. RecurringPaymentId *string `json:"recurring_payment_id,omitempty"` }
InvoiceCallback Invoice Callback Object
func NewInvoiceCallback ¶
func NewInvoiceCallback(id string, externalId string, userId string, status string, merchantName string, amount float64, created string, updated string, currency string) *InvoiceCallback
NewInvoiceCallback instantiates a new InvoiceCallback 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
func NewInvoiceCallbackWithDefaults ¶
func NewInvoiceCallbackWithDefaults() *InvoiceCallback
NewInvoiceCallbackWithDefaults instantiates a new InvoiceCallback 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
func (*InvoiceCallback) GetAmount ¶
func (o *InvoiceCallback) GetAmount() float64
GetAmount returns the Amount field value
func (*InvoiceCallback) GetAmountOk ¶
func (o *InvoiceCallback) GetAmountOk() (*float64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*InvoiceCallback) GetBankCode ¶
func (o *InvoiceCallback) GetBankCode() string
GetBankCode returns the BankCode field value if set, zero value otherwise.
func (*InvoiceCallback) GetBankCodeOk ¶
func (o *InvoiceCallback) GetBankCodeOk() (*string, bool)
GetBankCodeOk returns a tuple with the BankCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetCreated ¶
func (o *InvoiceCallback) GetCreated() string
GetCreated returns the Created field value
func (*InvoiceCallback) GetCreatedOk ¶
func (o *InvoiceCallback) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*InvoiceCallback) GetCreditCardChargeId ¶
func (o *InvoiceCallback) GetCreditCardChargeId() string
GetCreditCardChargeId returns the CreditCardChargeId field value if set, zero value otherwise.
func (*InvoiceCallback) GetCreditCardChargeIdOk ¶
func (o *InvoiceCallback) GetCreditCardChargeIdOk() (*string, bool)
GetCreditCardChargeIdOk returns a tuple with the CreditCardChargeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetCurrency ¶
func (o *InvoiceCallback) GetCurrency() string
GetCurrency returns the Currency field value
func (*InvoiceCallback) GetCurrencyOk ¶
func (o *InvoiceCallback) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*InvoiceCallback) GetDescription ¶
func (o *InvoiceCallback) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*InvoiceCallback) GetDescriptionOk ¶
func (o *InvoiceCallback) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetEwalletType ¶
func (o *InvoiceCallback) GetEwalletType() string
GetEwalletType returns the EwalletType field value if set, zero value otherwise.
func (*InvoiceCallback) GetEwalletTypeOk ¶
func (o *InvoiceCallback) GetEwalletTypeOk() (*string, bool)
GetEwalletTypeOk returns a tuple with the EwalletType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetExternalId ¶
func (o *InvoiceCallback) GetExternalId() string
GetExternalId returns the ExternalId field value
func (*InvoiceCallback) GetExternalIdOk ¶
func (o *InvoiceCallback) GetExternalIdOk() (*string, bool)
GetExternalIdOk returns a tuple with the ExternalId field value and a boolean to check if the value has been set.
func (*InvoiceCallback) GetFailureRedirectUrl ¶
func (o *InvoiceCallback) GetFailureRedirectUrl() string
GetFailureRedirectUrl returns the FailureRedirectUrl field value if set, zero value otherwise.
func (*InvoiceCallback) GetFailureRedirectUrlOk ¶
func (o *InvoiceCallback) GetFailureRedirectUrlOk() (*string, bool)
GetFailureRedirectUrlOk returns a tuple with the FailureRedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetFees ¶
func (o *InvoiceCallback) GetFees() []InvoiceFee
GetFees returns the Fees field value if set, zero value otherwise.
func (*InvoiceCallback) GetFeesOk ¶
func (o *InvoiceCallback) GetFeesOk() ([]InvoiceFee, bool)
GetFeesOk returns a tuple with the Fees field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetId ¶
func (o *InvoiceCallback) GetId() string
GetId returns the Id field value
func (*InvoiceCallback) GetIdOk ¶
func (o *InvoiceCallback) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*InvoiceCallback) GetItems ¶
func (o *InvoiceCallback) GetItems() []InvoiceCallbackItem
GetItems returns the Items field value if set, zero value otherwise.
func (*InvoiceCallback) GetItemsOk ¶
func (o *InvoiceCallback) GetItemsOk() ([]InvoiceCallbackItem, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetMerchantName ¶
func (o *InvoiceCallback) GetMerchantName() string
GetMerchantName returns the MerchantName field value
func (*InvoiceCallback) GetMerchantNameOk ¶
func (o *InvoiceCallback) GetMerchantNameOk() (*string, bool)
GetMerchantNameOk returns a tuple with the MerchantName field value and a boolean to check if the value has been set.
func (*InvoiceCallback) GetOnDemandLink ¶
func (o *InvoiceCallback) GetOnDemandLink() string
GetOnDemandLink returns the OnDemandLink field value if set, zero value otherwise.
func (*InvoiceCallback) GetOnDemandLinkOk ¶
func (o *InvoiceCallback) GetOnDemandLinkOk() (*string, bool)
GetOnDemandLinkOk returns a tuple with the OnDemandLink field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetPaidAmount ¶
func (o *InvoiceCallback) GetPaidAmount() float64
GetPaidAmount returns the PaidAmount field value if set, zero value otherwise.
func (*InvoiceCallback) GetPaidAmountOk ¶
func (o *InvoiceCallback) GetPaidAmountOk() (*float64, bool)
GetPaidAmountOk returns a tuple with the PaidAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetPaidAt ¶
func (o *InvoiceCallback) GetPaidAt() string
GetPaidAt returns the PaidAt field value if set, zero value otherwise.
func (*InvoiceCallback) GetPaidAtOk ¶
func (o *InvoiceCallback) GetPaidAtOk() (*string, bool)
GetPaidAtOk returns a tuple with the PaidAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetPayerEmail ¶
func (o *InvoiceCallback) GetPayerEmail() string
GetPayerEmail returns the PayerEmail field value if set, zero value otherwise.
func (*InvoiceCallback) GetPayerEmailOk ¶
func (o *InvoiceCallback) GetPayerEmailOk() (*string, bool)
GetPayerEmailOk returns a tuple with the PayerEmail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetPaymentChannel ¶
func (o *InvoiceCallback) GetPaymentChannel() string
GetPaymentChannel returns the PaymentChannel field value if set, zero value otherwise.
func (*InvoiceCallback) GetPaymentChannelOk ¶
func (o *InvoiceCallback) GetPaymentChannelOk() (*string, bool)
GetPaymentChannelOk returns a tuple with the PaymentChannel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetPaymentDestination ¶
func (o *InvoiceCallback) GetPaymentDestination() string
GetPaymentDestination returns the PaymentDestination field value if set, zero value otherwise.
func (*InvoiceCallback) GetPaymentDestinationOk ¶
func (o *InvoiceCallback) GetPaymentDestinationOk() (*string, bool)
GetPaymentDestinationOk returns a tuple with the PaymentDestination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetPaymentDetails ¶
func (o *InvoiceCallback) GetPaymentDetails() PaymentDetails
GetPaymentDetails returns the PaymentDetails field value if set, zero value otherwise.
func (*InvoiceCallback) GetPaymentDetailsOk ¶
func (o *InvoiceCallback) GetPaymentDetailsOk() (*PaymentDetails, bool)
GetPaymentDetailsOk returns a tuple with the PaymentDetails field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetPaymentId ¶
func (o *InvoiceCallback) GetPaymentId() string
GetPaymentId returns the PaymentId field value if set, zero value otherwise.
func (*InvoiceCallback) GetPaymentIdOk ¶
func (o *InvoiceCallback) GetPaymentIdOk() (*string, bool)
GetPaymentIdOk returns a tuple with the PaymentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetPaymentMethod ¶
func (o *InvoiceCallback) GetPaymentMethod() string
GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
func (*InvoiceCallback) GetPaymentMethodOk ¶
func (o *InvoiceCallback) GetPaymentMethodOk() (*string, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetRecurringPaymentId ¶
func (o *InvoiceCallback) GetRecurringPaymentId() string
GetRecurringPaymentId returns the RecurringPaymentId field value if set, zero value otherwise.
func (*InvoiceCallback) GetRecurringPaymentIdOk ¶
func (o *InvoiceCallback) GetRecurringPaymentIdOk() (*string, bool)
GetRecurringPaymentIdOk returns a tuple with the RecurringPaymentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetShouldAuthenticateCreditCard ¶
func (o *InvoiceCallback) GetShouldAuthenticateCreditCard() bool
GetShouldAuthenticateCreditCard returns the ShouldAuthenticateCreditCard field value if set, zero value otherwise.
func (*InvoiceCallback) GetShouldAuthenticateCreditCardOk ¶
func (o *InvoiceCallback) GetShouldAuthenticateCreditCardOk() (*bool, bool)
GetShouldAuthenticateCreditCardOk returns a tuple with the ShouldAuthenticateCreditCard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetStatus ¶
func (o *InvoiceCallback) GetStatus() string
GetStatus returns the Status field value
func (*InvoiceCallback) GetStatusOk ¶
func (o *InvoiceCallback) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*InvoiceCallback) GetSuccessRedirectUrl ¶
func (o *InvoiceCallback) GetSuccessRedirectUrl() string
GetSuccessRedirectUrl returns the SuccessRedirectUrl field value if set, zero value otherwise.
func (*InvoiceCallback) GetSuccessRedirectUrlOk ¶
func (o *InvoiceCallback) GetSuccessRedirectUrlOk() (*string, bool)
GetSuccessRedirectUrlOk returns a tuple with the SuccessRedirectUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallback) GetUpdated ¶
func (o *InvoiceCallback) GetUpdated() string
GetUpdated returns the Updated field value
func (*InvoiceCallback) GetUpdatedOk ¶
func (o *InvoiceCallback) GetUpdatedOk() (*string, bool)
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (*InvoiceCallback) GetUserId ¶
func (o *InvoiceCallback) GetUserId() string
GetUserId returns the UserId field value
func (*InvoiceCallback) GetUserIdOk ¶
func (o *InvoiceCallback) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (*InvoiceCallback) HasBankCode ¶
func (o *InvoiceCallback) HasBankCode() bool
HasBankCode returns a boolean if a field has been set.
func (*InvoiceCallback) HasCreditCardChargeId ¶
func (o *InvoiceCallback) HasCreditCardChargeId() bool
HasCreditCardChargeId returns a boolean if a field has been set.
func (*InvoiceCallback) HasDescription ¶
func (o *InvoiceCallback) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*InvoiceCallback) HasEwalletType ¶
func (o *InvoiceCallback) HasEwalletType() bool
HasEwalletType returns a boolean if a field has been set.
func (*InvoiceCallback) HasFailureRedirectUrl ¶
func (o *InvoiceCallback) HasFailureRedirectUrl() bool
HasFailureRedirectUrl returns a boolean if a field has been set.
func (*InvoiceCallback) HasFees ¶
func (o *InvoiceCallback) HasFees() bool
HasFees returns a boolean if a field has been set.
func (*InvoiceCallback) HasItems ¶
func (o *InvoiceCallback) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*InvoiceCallback) HasOnDemandLink ¶
func (o *InvoiceCallback) HasOnDemandLink() bool
HasOnDemandLink returns a boolean if a field has been set.
func (*InvoiceCallback) HasPaidAmount ¶
func (o *InvoiceCallback) HasPaidAmount() bool
HasPaidAmount returns a boolean if a field has been set.
func (*InvoiceCallback) HasPaidAt ¶
func (o *InvoiceCallback) HasPaidAt() bool
HasPaidAt returns a boolean if a field has been set.
func (*InvoiceCallback) HasPayerEmail ¶
func (o *InvoiceCallback) HasPayerEmail() bool
HasPayerEmail returns a boolean if a field has been set.
func (*InvoiceCallback) HasPaymentChannel ¶
func (o *InvoiceCallback) HasPaymentChannel() bool
HasPaymentChannel returns a boolean if a field has been set.
func (*InvoiceCallback) HasPaymentDestination ¶
func (o *InvoiceCallback) HasPaymentDestination() bool
HasPaymentDestination returns a boolean if a field has been set.
func (*InvoiceCallback) HasPaymentDetails ¶
func (o *InvoiceCallback) HasPaymentDetails() bool
HasPaymentDetails returns a boolean if a field has been set.
func (*InvoiceCallback) HasPaymentId ¶
func (o *InvoiceCallback) HasPaymentId() bool
HasPaymentId returns a boolean if a field has been set.
func (*InvoiceCallback) HasPaymentMethod ¶
func (o *InvoiceCallback) HasPaymentMethod() bool
HasPaymentMethod returns a boolean if a field has been set.
func (*InvoiceCallback) HasRecurringPaymentId ¶
func (o *InvoiceCallback) HasRecurringPaymentId() bool
HasRecurringPaymentId returns a boolean if a field has been set.
func (*InvoiceCallback) HasShouldAuthenticateCreditCard ¶
func (o *InvoiceCallback) HasShouldAuthenticateCreditCard() bool
HasShouldAuthenticateCreditCard returns a boolean if a field has been set.
func (*InvoiceCallback) HasSuccessRedirectUrl ¶
func (o *InvoiceCallback) HasSuccessRedirectUrl() bool
HasSuccessRedirectUrl returns a boolean if a field has been set.
func (InvoiceCallback) MarshalJSON ¶
func (o InvoiceCallback) MarshalJSON() ([]byte, error)
func (*InvoiceCallback) SetAmount ¶
func (o *InvoiceCallback) SetAmount(v float64)
SetAmount sets field value
func (*InvoiceCallback) SetBankCode ¶
func (o *InvoiceCallback) SetBankCode(v string)
SetBankCode gets a reference to the given string and assigns it to the BankCode field.
func (*InvoiceCallback) SetCreated ¶
func (o *InvoiceCallback) SetCreated(v string)
SetCreated sets field value
func (*InvoiceCallback) SetCreditCardChargeId ¶
func (o *InvoiceCallback) SetCreditCardChargeId(v string)
SetCreditCardChargeId gets a reference to the given string and assigns it to the CreditCardChargeId field.
func (*InvoiceCallback) SetCurrency ¶
func (o *InvoiceCallback) SetCurrency(v string)
SetCurrency sets field value
func (*InvoiceCallback) SetDescription ¶
func (o *InvoiceCallback) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*InvoiceCallback) SetEwalletType ¶
func (o *InvoiceCallback) SetEwalletType(v string)
SetEwalletType gets a reference to the given string and assigns it to the EwalletType field.
func (*InvoiceCallback) SetExternalId ¶
func (o *InvoiceCallback) SetExternalId(v string)
SetExternalId sets field value
func (*InvoiceCallback) SetFailureRedirectUrl ¶
func (o *InvoiceCallback) SetFailureRedirectUrl(v string)
SetFailureRedirectUrl gets a reference to the given string and assigns it to the FailureRedirectUrl field.
func (*InvoiceCallback) SetFees ¶
func (o *InvoiceCallback) SetFees(v []InvoiceFee)
SetFees gets a reference to the given []InvoiceFee and assigns it to the Fees field.
func (*InvoiceCallback) SetItems ¶
func (o *InvoiceCallback) SetItems(v []InvoiceCallbackItem)
SetItems gets a reference to the given []InvoiceCallbackItem and assigns it to the Items field.
func (*InvoiceCallback) SetMerchantName ¶
func (o *InvoiceCallback) SetMerchantName(v string)
SetMerchantName sets field value
func (*InvoiceCallback) SetOnDemandLink ¶
func (o *InvoiceCallback) SetOnDemandLink(v string)
SetOnDemandLink gets a reference to the given string and assigns it to the OnDemandLink field.
func (*InvoiceCallback) SetPaidAmount ¶
func (o *InvoiceCallback) SetPaidAmount(v float64)
SetPaidAmount gets a reference to the given float64 and assigns it to the PaidAmount field.
func (*InvoiceCallback) SetPaidAt ¶
func (o *InvoiceCallback) SetPaidAt(v string)
SetPaidAt gets a reference to the given string and assigns it to the PaidAt field.
func (*InvoiceCallback) SetPayerEmail ¶
func (o *InvoiceCallback) SetPayerEmail(v string)
SetPayerEmail gets a reference to the given string and assigns it to the PayerEmail field.
func (*InvoiceCallback) SetPaymentChannel ¶
func (o *InvoiceCallback) SetPaymentChannel(v string)
SetPaymentChannel gets a reference to the given string and assigns it to the PaymentChannel field.
func (*InvoiceCallback) SetPaymentDestination ¶
func (o *InvoiceCallback) SetPaymentDestination(v string)
SetPaymentDestination gets a reference to the given string and assigns it to the PaymentDestination field.
func (*InvoiceCallback) SetPaymentDetails ¶
func (o *InvoiceCallback) SetPaymentDetails(v PaymentDetails)
SetPaymentDetails gets a reference to the given PaymentDetails and assigns it to the PaymentDetails field.
func (*InvoiceCallback) SetPaymentId ¶
func (o *InvoiceCallback) SetPaymentId(v string)
SetPaymentId gets a reference to the given string and assigns it to the PaymentId field.
func (*InvoiceCallback) SetPaymentMethod ¶
func (o *InvoiceCallback) SetPaymentMethod(v string)
SetPaymentMethod gets a reference to the given string and assigns it to the PaymentMethod field.
func (*InvoiceCallback) SetRecurringPaymentId ¶
func (o *InvoiceCallback) SetRecurringPaymentId(v string)
SetRecurringPaymentId gets a reference to the given string and assigns it to the RecurringPaymentId field.
func (*InvoiceCallback) SetShouldAuthenticateCreditCard ¶
func (o *InvoiceCallback) SetShouldAuthenticateCreditCard(v bool)
SetShouldAuthenticateCreditCard gets a reference to the given bool and assigns it to the ShouldAuthenticateCreditCard field.
func (*InvoiceCallback) SetStatus ¶
func (o *InvoiceCallback) SetStatus(v string)
SetStatus sets field value
func (*InvoiceCallback) SetSuccessRedirectUrl ¶
func (o *InvoiceCallback) SetSuccessRedirectUrl(v string)
SetSuccessRedirectUrl gets a reference to the given string and assigns it to the SuccessRedirectUrl field.
func (*InvoiceCallback) SetUpdated ¶
func (o *InvoiceCallback) SetUpdated(v string)
SetUpdated sets field value
func (*InvoiceCallback) SetUserId ¶
func (o *InvoiceCallback) SetUserId(v string)
SetUserId sets field value
func (InvoiceCallback) ToMap ¶
func (o InvoiceCallback) ToMap() (map[string]interface{}, error)
type InvoiceCallbackItem ¶
type InvoiceCallbackItem struct { // The name of the item. Name string `json:"name"` // The price of the item. Price float32 `json:"price"` // The quantity of the item. Must be greater than or equal to 0. Quantity float32 `json:"quantity"` // The URL associated with the item. Url *string `json:"url,omitempty"` // The category of the item. Category *string `json:"category,omitempty"` }
InvoiceCallbackItem An object representing an item within an invoice.
func NewInvoiceCallbackItem ¶
func NewInvoiceCallbackItem(name string, price float32, quantity float32) *InvoiceCallbackItem
NewInvoiceCallbackItem instantiates a new InvoiceCallbackItem 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
func NewInvoiceCallbackItemWithDefaults ¶
func NewInvoiceCallbackItemWithDefaults() *InvoiceCallbackItem
NewInvoiceCallbackItemWithDefaults instantiates a new InvoiceCallbackItem 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
func (*InvoiceCallbackItem) GetCategory ¶
func (o *InvoiceCallbackItem) GetCategory() string
GetCategory returns the Category field value if set, zero value otherwise.
func (*InvoiceCallbackItem) GetCategoryOk ¶
func (o *InvoiceCallbackItem) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallbackItem) GetName ¶
func (o *InvoiceCallbackItem) GetName() string
GetName returns the Name field value
func (*InvoiceCallbackItem) GetNameOk ¶
func (o *InvoiceCallbackItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*InvoiceCallbackItem) GetPrice ¶
func (o *InvoiceCallbackItem) GetPrice() float32
GetPrice returns the Price field value
func (*InvoiceCallbackItem) GetPriceOk ¶
func (o *InvoiceCallbackItem) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*InvoiceCallbackItem) GetQuantity ¶
func (o *InvoiceCallbackItem) GetQuantity() float32
GetQuantity returns the Quantity field value
func (*InvoiceCallbackItem) GetQuantityOk ¶
func (o *InvoiceCallbackItem) GetQuantityOk() (*float32, bool)
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*InvoiceCallbackItem) GetUrl ¶
func (o *InvoiceCallbackItem) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*InvoiceCallbackItem) GetUrlOk ¶
func (o *InvoiceCallbackItem) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceCallbackItem) HasCategory ¶
func (o *InvoiceCallbackItem) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (*InvoiceCallbackItem) HasUrl ¶
func (o *InvoiceCallbackItem) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (InvoiceCallbackItem) MarshalJSON ¶
func (o InvoiceCallbackItem) MarshalJSON() ([]byte, error)
func (*InvoiceCallbackItem) SetCategory ¶
func (o *InvoiceCallbackItem) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (*InvoiceCallbackItem) SetName ¶
func (o *InvoiceCallbackItem) SetName(v string)
SetName sets field value
func (*InvoiceCallbackItem) SetPrice ¶
func (o *InvoiceCallbackItem) SetPrice(v float32)
SetPrice sets field value
func (*InvoiceCallbackItem) SetQuantity ¶
func (o *InvoiceCallbackItem) SetQuantity(v float32)
SetQuantity sets field value
func (*InvoiceCallbackItem) SetUrl ¶
func (o *InvoiceCallbackItem) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (InvoiceCallbackItem) ToMap ¶
func (o InvoiceCallbackItem) ToMap() (map[string]interface{}, error)
type InvoiceClientType ¶
type InvoiceClientType string
InvoiceClientType Representing the client type or source of an invoice.
const ( INVOICECLIENTTYPE_DASHBOARD InvoiceClientType = "DASHBOARD" INVOICECLIENTTYPE_API_GATEWAY InvoiceClientType = "API_GATEWAY" INVOICECLIENTTYPE_INTEGRATION InvoiceClientType = "INTEGRATION" INVOICECLIENTTYPE_ON_DEMAND InvoiceClientType = "ON_DEMAND" INVOICECLIENTTYPE_RECURRING InvoiceClientType = "RECURRING" INVOICECLIENTTYPE_MOBILE InvoiceClientType = "MOBILE" INVOICECLIENTTYPE_XENDIT_ENUM_DEFAULT_FALLBACK InvoiceClientType = "UNKNOWN_ENUM_VALUE" )
List of InvoiceClientType
func NewInvoiceClientTypeFromValue ¶
func NewInvoiceClientTypeFromValue(v string) (*InvoiceClientType, error)
NewInvoiceClientTypeFromValue returns a pointer to a valid InvoiceClientType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InvoiceClientType) IsValid ¶
func (v InvoiceClientType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InvoiceClientType) Ptr ¶
func (v InvoiceClientType) Ptr() *InvoiceClientType
Ptr returns reference to InvoiceClientType value
func (InvoiceClientType) String ¶
func (v InvoiceClientType) String() string
func (*InvoiceClientType) UnmarshalJSON ¶
func (v *InvoiceClientType) UnmarshalJSON(src []byte) error
type InvoiceCurrency ¶
type InvoiceCurrency string
InvoiceCurrency Representing the currency used for an invoice.
const ( INVOICECURRENCY_IDR InvoiceCurrency = "IDR" INVOICECURRENCY_USD InvoiceCurrency = "USD" INVOICECURRENCY_THB InvoiceCurrency = "THB" INVOICECURRENCY_VND InvoiceCurrency = "VND" INVOICECURRENCY_PHP InvoiceCurrency = "PHP" INVOICECURRENCY_XENDIT_ENUM_DEFAULT_FALLBACK InvoiceCurrency = "UNKNOWN_ENUM_VALUE" )
List of InvoiceCurrency
func NewInvoiceCurrencyFromValue ¶
func NewInvoiceCurrencyFromValue(v string) (*InvoiceCurrency, error)
NewInvoiceCurrencyFromValue returns a pointer to a valid InvoiceCurrency for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InvoiceCurrency) IsValid ¶
func (v InvoiceCurrency) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InvoiceCurrency) Ptr ¶
func (v InvoiceCurrency) Ptr() *InvoiceCurrency
Ptr returns reference to InvoiceCurrency value
func (InvoiceCurrency) String ¶
func (v InvoiceCurrency) String() string
func (*InvoiceCurrency) UnmarshalJSON ¶
func (v *InvoiceCurrency) UnmarshalJSON(src []byte) error
type InvoiceError404ResponseDefinition ¶
type InvoiceError404ResponseDefinition struct { // The specific error code indicating that the requested invoice was not found. ErrorCode string `json:"error_code"` // A human-readable error message providing additional context about the resource not being found. Message string `json:"message"` }
InvoiceError404ResponseDefinition An error object used to indicate that the requested resource, in this case, an invoice, was not found.
func NewInvoiceError404ResponseDefinition ¶
func NewInvoiceError404ResponseDefinition(errorCode string, message string) *InvoiceError404ResponseDefinition
NewInvoiceError404ResponseDefinition instantiates a new InvoiceError404ResponseDefinition 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
func NewInvoiceError404ResponseDefinitionWithDefaults ¶
func NewInvoiceError404ResponseDefinitionWithDefaults() *InvoiceError404ResponseDefinition
NewInvoiceError404ResponseDefinitionWithDefaults instantiates a new InvoiceError404ResponseDefinition 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
func (*InvoiceError404ResponseDefinition) GetErrorCode ¶
func (o *InvoiceError404ResponseDefinition) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*InvoiceError404ResponseDefinition) GetErrorCodeOk ¶
func (o *InvoiceError404ResponseDefinition) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*InvoiceError404ResponseDefinition) GetMessage ¶
func (o *InvoiceError404ResponseDefinition) GetMessage() string
GetMessage returns the Message field value
func (*InvoiceError404ResponseDefinition) GetMessageOk ¶
func (o *InvoiceError404ResponseDefinition) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (InvoiceError404ResponseDefinition) MarshalJSON ¶
func (o InvoiceError404ResponseDefinition) MarshalJSON() ([]byte, error)
func (*InvoiceError404ResponseDefinition) SetErrorCode ¶
func (o *InvoiceError404ResponseDefinition) SetErrorCode(v string)
SetErrorCode sets field value
func (*InvoiceError404ResponseDefinition) SetMessage ¶
func (o *InvoiceError404ResponseDefinition) SetMessage(v string)
SetMessage sets field value
func (InvoiceError404ResponseDefinition) ToMap ¶
func (o InvoiceError404ResponseDefinition) ToMap() (map[string]interface{}, error)
type InvoiceFee ¶
type InvoiceFee struct { // The type of fee. Type string `json:"type"` // The value or amount of the fee. Value float32 `json:"value"` }
InvoiceFee An object representing internal details for a fee associated with an invoice.
func NewInvoiceFee ¶
func NewInvoiceFee(type_ string, value float32) *InvoiceFee
NewInvoiceFee instantiates a new InvoiceFee 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
func NewInvoiceFeeWithDefaults ¶
func NewInvoiceFeeWithDefaults() *InvoiceFee
NewInvoiceFeeWithDefaults instantiates a new InvoiceFee 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
func (*InvoiceFee) GetType ¶
func (o *InvoiceFee) GetType() string
GetType returns the Type field value
func (*InvoiceFee) GetTypeOk ¶
func (o *InvoiceFee) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*InvoiceFee) GetValue ¶
func (o *InvoiceFee) GetValue() float32
GetValue returns the Value field value
func (*InvoiceFee) GetValueOk ¶
func (o *InvoiceFee) GetValueOk() (*float32, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (InvoiceFee) MarshalJSON ¶
func (o InvoiceFee) MarshalJSON() ([]byte, error)
func (InvoiceFee) ToMap ¶
func (o InvoiceFee) ToMap() (map[string]interface{}, error)
type InvoiceItem ¶
type InvoiceItem struct { // The name of the item. Name string `json:"name"` // The price of the item. Price float32 `json:"price"` // The quantity of the item. Must be greater than or equal to 0. Quantity float32 `json:"quantity"` // The reference ID of the item. ReferenceId *string `json:"reference_id,omitempty"` // The URL associated with the item. Url *string `json:"url,omitempty"` // The category of the item. Category *string `json:"category,omitempty"` }
InvoiceItem An object representing an item within an invoice.
func NewInvoiceItem ¶
func NewInvoiceItem(name string, price float32, quantity float32) *InvoiceItem
NewInvoiceItem instantiates a new InvoiceItem 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
func NewInvoiceItemWithDefaults ¶
func NewInvoiceItemWithDefaults() *InvoiceItem
NewInvoiceItemWithDefaults instantiates a new InvoiceItem 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
func (*InvoiceItem) GetCategory ¶
func (o *InvoiceItem) GetCategory() string
GetCategory returns the Category field value if set, zero value otherwise.
func (*InvoiceItem) GetCategoryOk ¶
func (o *InvoiceItem) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceItem) GetName ¶
func (o *InvoiceItem) GetName() string
GetName returns the Name field value
func (*InvoiceItem) GetNameOk ¶
func (o *InvoiceItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*InvoiceItem) GetPrice ¶
func (o *InvoiceItem) GetPrice() float32
GetPrice returns the Price field value
func (*InvoiceItem) GetPriceOk ¶
func (o *InvoiceItem) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*InvoiceItem) GetQuantity ¶
func (o *InvoiceItem) GetQuantity() float32
GetQuantity returns the Quantity field value
func (*InvoiceItem) GetQuantityOk ¶
func (o *InvoiceItem) GetQuantityOk() (*float32, bool)
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*InvoiceItem) GetReferenceId ¶
func (o *InvoiceItem) GetReferenceId() string
GetReferenceId returns the ReferenceId field value if set, zero value otherwise.
func (*InvoiceItem) GetReferenceIdOk ¶
func (o *InvoiceItem) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceItem) GetUrl ¶
func (o *InvoiceItem) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*InvoiceItem) GetUrlOk ¶
func (o *InvoiceItem) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvoiceItem) HasCategory ¶
func (o *InvoiceItem) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (*InvoiceItem) HasReferenceId ¶
func (o *InvoiceItem) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (*InvoiceItem) HasUrl ¶
func (o *InvoiceItem) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (InvoiceItem) MarshalJSON ¶
func (o InvoiceItem) MarshalJSON() ([]byte, error)
func (*InvoiceItem) SetCategory ¶
func (o *InvoiceItem) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (*InvoiceItem) SetQuantity ¶
func (o *InvoiceItem) SetQuantity(v float32)
SetQuantity sets field value
func (*InvoiceItem) SetReferenceId ¶
func (o *InvoiceItem) SetReferenceId(v string)
SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.
func (*InvoiceItem) SetUrl ¶
func (o *InvoiceItem) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (InvoiceItem) ToMap ¶
func (o InvoiceItem) ToMap() (map[string]interface{}, error)
type InvoiceNotFoundError ¶
type InvoiceNotFoundError struct { // The error code indicating the type of error that occurred. ErrorCode string `json:"error_code"` // A human-readable error message that provides additional information about the error. Message string `json:"message"` }
InvoiceNotFoundError Response definition for a 404 Not Found error when creating an invoice.
func NewInvoiceNotFoundError ¶
func NewInvoiceNotFoundError(errorCode string, message string) *InvoiceNotFoundError
NewInvoiceNotFoundError instantiates a new InvoiceNotFoundError 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
func NewInvoiceNotFoundErrorWithDefaults ¶
func NewInvoiceNotFoundErrorWithDefaults() *InvoiceNotFoundError
NewInvoiceNotFoundErrorWithDefaults instantiates a new InvoiceNotFoundError 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
func (*InvoiceNotFoundError) GetErrorCode ¶
func (o *InvoiceNotFoundError) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*InvoiceNotFoundError) GetErrorCodeOk ¶
func (o *InvoiceNotFoundError) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*InvoiceNotFoundError) GetMessage ¶
func (o *InvoiceNotFoundError) GetMessage() string
GetMessage returns the Message field value
func (*InvoiceNotFoundError) GetMessageOk ¶
func (o *InvoiceNotFoundError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (InvoiceNotFoundError) MarshalJSON ¶
func (o InvoiceNotFoundError) MarshalJSON() ([]byte, error)
func (*InvoiceNotFoundError) SetErrorCode ¶
func (o *InvoiceNotFoundError) SetErrorCode(v string)
SetErrorCode sets field value
func (*InvoiceNotFoundError) SetMessage ¶
func (o *InvoiceNotFoundError) SetMessage(v string)
SetMessage sets field value
func (InvoiceNotFoundError) ToMap ¶
func (o InvoiceNotFoundError) ToMap() (map[string]interface{}, error)
type InvoicePaymentMethod ¶
type InvoicePaymentMethod string
InvoicePaymentMethod Representing the payment method used for an invoice.
const ( INVOICEPAYMENTMETHOD_POOL InvoicePaymentMethod = "POOL" INVOICEPAYMENTMETHOD_CALLBACK_VIRTUAL_ACCOUNT InvoicePaymentMethod = "CALLBACK_VIRTUAL_ACCOUNT" INVOICEPAYMENTMETHOD_CREDIT_CARD InvoicePaymentMethod = "CREDIT_CARD" INVOICEPAYMENTMETHOD_RETAIL_OUTLET InvoicePaymentMethod = "RETAIL_OUTLET" INVOICEPAYMENTMETHOD_QR_CODE InvoicePaymentMethod = "QR_CODE" INVOICEPAYMENTMETHOD_QRIS InvoicePaymentMethod = "QRIS" INVOICEPAYMENTMETHOD_EWALLET InvoicePaymentMethod = "EWALLET" INVOICEPAYMENTMETHOD_DIRECT_DEBIT InvoicePaymentMethod = "DIRECT_DEBIT" INVOICEPAYMENTMETHOD_BANK_TRANSFER InvoicePaymentMethod = "BANK_TRANSFER" INVOICEPAYMENTMETHOD_PAYLATER InvoicePaymentMethod = "PAYLATER" INVOICEPAYMENTMETHOD_CRYPTOCURRENCY InvoicePaymentMethod = "CRYPTOCURRENCY" INVOICEPAYMENTMETHOD_XENDIT_ENUM_DEFAULT_FALLBACK InvoicePaymentMethod = "UNKNOWN_ENUM_VALUE" )
List of InvoicePaymentMethod
func NewInvoicePaymentMethodFromValue ¶
func NewInvoicePaymentMethodFromValue(v string) (*InvoicePaymentMethod, error)
NewInvoicePaymentMethodFromValue returns a pointer to a valid InvoicePaymentMethod for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InvoicePaymentMethod) IsValid ¶
func (v InvoicePaymentMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InvoicePaymentMethod) Ptr ¶
func (v InvoicePaymentMethod) Ptr() *InvoicePaymentMethod
Ptr returns reference to InvoicePaymentMethod value
func (InvoicePaymentMethod) String ¶
func (v InvoicePaymentMethod) String() string
func (*InvoicePaymentMethod) UnmarshalJSON ¶
func (v *InvoicePaymentMethod) UnmarshalJSON(src []byte) error
type InvoiceStatus ¶
type InvoiceStatus string
InvoiceStatus Representing the status of an invoice.
const ( INVOICESTATUS_PENDING InvoiceStatus = "PENDING" INVOICESTATUS_PAID InvoiceStatus = "PAID" INVOICESTATUS_SETTLED InvoiceStatus = "SETTLED" INVOICESTATUS_EXPIRED InvoiceStatus = "EXPIRED" INVOICESTATUS_XENDIT_ENUM_DEFAULT_FALLBACK InvoiceStatus = "UNKNOWN_ENUM_VALUE" )
List of InvoiceStatus
func NewInvoiceStatusFromValue ¶
func NewInvoiceStatusFromValue(v string) (*InvoiceStatus, error)
NewInvoiceStatusFromValue returns a pointer to a valid InvoiceStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InvoiceStatus) IsValid ¶
func (v InvoiceStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InvoiceStatus) Ptr ¶
func (v InvoiceStatus) Ptr() *InvoiceStatus
Ptr returns reference to InvoiceStatus value
func (InvoiceStatus) String ¶
func (v InvoiceStatus) String() string
func (*InvoiceStatus) UnmarshalJSON ¶
func (v *InvoiceStatus) UnmarshalJSON(src []byte) error
type MappedNullable ¶
type NotificationChannel ¶
type NotificationChannel string
NotificationChannel Representing a notification channel for sending messages.
const ( NOTIFICATIONCHANNEL_EMAIL NotificationChannel = "email" NOTIFICATIONCHANNEL_SMS NotificationChannel = "sms" NOTIFICATIONCHANNEL_WHATSAPP NotificationChannel = "whatsapp" NOTIFICATIONCHANNEL_VIBER NotificationChannel = "viber" NOTIFICATIONCHANNEL_XENDIT_ENUM_DEFAULT_FALLBACK NotificationChannel = "UNKNOWN_ENUM_VALUE" )
List of NotificationChannel
func NewNotificationChannelFromValue ¶
func NewNotificationChannelFromValue(v string) (*NotificationChannel, error)
NewNotificationChannelFromValue returns a pointer to a valid NotificationChannel for the value passed as argument, or an error if the value passed is not allowed by the enum
func (NotificationChannel) IsValid ¶
func (v NotificationChannel) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (NotificationChannel) Ptr ¶
func (v NotificationChannel) Ptr() *NotificationChannel
Ptr returns reference to NotificationChannel value
func (NotificationChannel) String ¶
func (v NotificationChannel) String() string
func (*NotificationChannel) UnmarshalJSON ¶
func (v *NotificationChannel) UnmarshalJSON(src []byte) error
type NotificationPreference ¶
type NotificationPreference struct { // Notification channels for when an invoice is created. InvoiceCreated []NotificationChannel `json:"invoice_created,omitempty"` // Notification channels for invoice reminders. InvoiceReminder []NotificationChannel `json:"invoice_reminder,omitempty"` // Notification channels for when an invoice is paid. InvoicePaid []NotificationChannel `json:"invoice_paid,omitempty"` }
NotificationPreference An object representing notification preferences for different invoice events.
func NewNotificationPreference ¶
func NewNotificationPreference() *NotificationPreference
NewNotificationPreference instantiates a new NotificationPreference 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
func NewNotificationPreferenceWithDefaults ¶
func NewNotificationPreferenceWithDefaults() *NotificationPreference
NewNotificationPreferenceWithDefaults instantiates a new NotificationPreference 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
func (*NotificationPreference) GetInvoiceCreated ¶
func (o *NotificationPreference) GetInvoiceCreated() []NotificationChannel
GetInvoiceCreated returns the InvoiceCreated field value if set, zero value otherwise.
func (*NotificationPreference) GetInvoiceCreatedOk ¶
func (o *NotificationPreference) GetInvoiceCreatedOk() ([]NotificationChannel, bool)
GetInvoiceCreatedOk returns a tuple with the InvoiceCreated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotificationPreference) GetInvoicePaid ¶
func (o *NotificationPreference) GetInvoicePaid() []NotificationChannel
GetInvoicePaid returns the InvoicePaid field value if set, zero value otherwise.
func (*NotificationPreference) GetInvoicePaidOk ¶
func (o *NotificationPreference) GetInvoicePaidOk() ([]NotificationChannel, bool)
GetInvoicePaidOk returns a tuple with the InvoicePaid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotificationPreference) GetInvoiceReminder ¶
func (o *NotificationPreference) GetInvoiceReminder() []NotificationChannel
GetInvoiceReminder returns the InvoiceReminder field value if set, zero value otherwise.
func (*NotificationPreference) GetInvoiceReminderOk ¶
func (o *NotificationPreference) GetInvoiceReminderOk() ([]NotificationChannel, bool)
GetInvoiceReminderOk returns a tuple with the InvoiceReminder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NotificationPreference) HasInvoiceCreated ¶
func (o *NotificationPreference) HasInvoiceCreated() bool
HasInvoiceCreated returns a boolean if a field has been set.
func (*NotificationPreference) HasInvoicePaid ¶
func (o *NotificationPreference) HasInvoicePaid() bool
HasInvoicePaid returns a boolean if a field has been set.
func (*NotificationPreference) HasInvoiceReminder ¶
func (o *NotificationPreference) HasInvoiceReminder() bool
HasInvoiceReminder returns a boolean if a field has been set.
func (NotificationPreference) MarshalJSON ¶
func (o NotificationPreference) MarshalJSON() ([]byte, error)
func (*NotificationPreference) SetInvoiceCreated ¶
func (o *NotificationPreference) SetInvoiceCreated(v []NotificationChannel)
SetInvoiceCreated gets a reference to the given []NotificationChannel and assigns it to the InvoiceCreated field.
func (*NotificationPreference) SetInvoicePaid ¶
func (o *NotificationPreference) SetInvoicePaid(v []NotificationChannel)
SetInvoicePaid gets a reference to the given []NotificationChannel and assigns it to the InvoicePaid field.
func (*NotificationPreference) SetInvoiceReminder ¶
func (o *NotificationPreference) SetInvoiceReminder(v []NotificationChannel)
SetInvoiceReminder gets a reference to the given []NotificationChannel and assigns it to the InvoiceReminder field.
func (NotificationPreference) ToMap ¶
func (o NotificationPreference) ToMap() (map[string]interface{}, error)
type NullableAddressObject ¶
type NullableAddressObject struct {
// contains filtered or unexported fields
}
func NewNullableAddressObject ¶
func NewNullableAddressObject(val *AddressObject) *NullableAddressObject
func (NullableAddressObject) Get ¶
func (v NullableAddressObject) Get() *AddressObject
func (NullableAddressObject) IsSet ¶
func (v NullableAddressObject) IsSet() bool
func (NullableAddressObject) MarshalJSON ¶
func (v NullableAddressObject) MarshalJSON() ([]byte, error)
func (*NullableAddressObject) Set ¶
func (v *NullableAddressObject) Set(val *AddressObject)
func (*NullableAddressObject) UnmarshalJSON ¶
func (v *NullableAddressObject) UnmarshalJSON(src []byte) error
func (*NullableAddressObject) Unset ¶
func (v *NullableAddressObject) Unset()
type NullableAlternativeDisplayItem ¶
type NullableAlternativeDisplayItem struct {
// contains filtered or unexported fields
}
func NewNullableAlternativeDisplayItem ¶
func NewNullableAlternativeDisplayItem(val *AlternativeDisplayItem) *NullableAlternativeDisplayItem
func (NullableAlternativeDisplayItem) Get ¶
func (v NullableAlternativeDisplayItem) Get() *AlternativeDisplayItem
func (NullableAlternativeDisplayItem) IsSet ¶
func (v NullableAlternativeDisplayItem) IsSet() bool
func (NullableAlternativeDisplayItem) MarshalJSON ¶
func (v NullableAlternativeDisplayItem) MarshalJSON() ([]byte, error)
func (*NullableAlternativeDisplayItem) Set ¶
func (v *NullableAlternativeDisplayItem) Set(val *AlternativeDisplayItem)
func (*NullableAlternativeDisplayItem) UnmarshalJSON ¶
func (v *NullableAlternativeDisplayItem) UnmarshalJSON(src []byte) error
func (*NullableAlternativeDisplayItem) Unset ¶
func (v *NullableAlternativeDisplayItem) Unset()
type NullableBadRequestError ¶
type NullableBadRequestError struct {
// contains filtered or unexported fields
}
func NewNullableBadRequestError ¶
func NewNullableBadRequestError(val *BadRequestError) *NullableBadRequestError
func (NullableBadRequestError) Get ¶
func (v NullableBadRequestError) Get() *BadRequestError
func (NullableBadRequestError) IsSet ¶
func (v NullableBadRequestError) IsSet() bool
func (NullableBadRequestError) MarshalJSON ¶
func (v NullableBadRequestError) MarshalJSON() ([]byte, error)
func (*NullableBadRequestError) Set ¶
func (v *NullableBadRequestError) Set(val *BadRequestError)
func (*NullableBadRequestError) UnmarshalJSON ¶
func (v *NullableBadRequestError) UnmarshalJSON(src []byte) error
func (*NullableBadRequestError) Unset ¶
func (v *NullableBadRequestError) Unset()
type NullableBank ¶
type NullableBank struct {
// contains filtered or unexported fields
}
func NewNullableBank ¶
func NewNullableBank(val *Bank) *NullableBank
func (NullableBank) Get ¶
func (v NullableBank) Get() *Bank
func (NullableBank) IsSet ¶
func (v NullableBank) IsSet() bool
func (NullableBank) MarshalJSON ¶
func (v NullableBank) MarshalJSON() ([]byte, error)
func (*NullableBank) Set ¶
func (v *NullableBank) Set(val *Bank)
func (*NullableBank) UnmarshalJSON ¶
func (v *NullableBank) UnmarshalJSON(src []byte) error
func (*NullableBank) Unset ¶
func (v *NullableBank) Unset()
type NullableBankCode ¶
type NullableBankCode struct {
// contains filtered or unexported fields
}
func NewNullableBankCode ¶
func NewNullableBankCode(val *BankCode) *NullableBankCode
func (NullableBankCode) Get ¶
func (v NullableBankCode) Get() *BankCode
func (NullableBankCode) IsSet ¶
func (v NullableBankCode) IsSet() bool
func (NullableBankCode) MarshalJSON ¶
func (v NullableBankCode) MarshalJSON() ([]byte, error)
func (*NullableBankCode) Set ¶
func (v *NullableBankCode) Set(val *BankCode)
func (*NullableBankCode) UnmarshalJSON ¶
func (v *NullableBankCode) UnmarshalJSON(src []byte) error
func (*NullableBankCode) Unset ¶
func (v *NullableBankCode) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableChannelProperties ¶ added in v4.3.0
type NullableChannelProperties struct {
// contains filtered or unexported fields
}
func NewNullableChannelProperties ¶ added in v4.3.0
func NewNullableChannelProperties(val *ChannelProperties) *NullableChannelProperties
func (NullableChannelProperties) Get ¶ added in v4.3.0
func (v NullableChannelProperties) Get() *ChannelProperties
func (NullableChannelProperties) IsSet ¶ added in v4.3.0
func (v NullableChannelProperties) IsSet() bool
func (NullableChannelProperties) MarshalJSON ¶ added in v4.3.0
func (v NullableChannelProperties) MarshalJSON() ([]byte, error)
func (*NullableChannelProperties) Set ¶ added in v4.3.0
func (v *NullableChannelProperties) Set(val *ChannelProperties)
func (*NullableChannelProperties) UnmarshalJSON ¶ added in v4.3.0
func (v *NullableChannelProperties) UnmarshalJSON(src []byte) error
func (*NullableChannelProperties) Unset ¶ added in v4.3.0
func (v *NullableChannelProperties) Unset()
type NullableChannelPropertiesCards ¶ added in v4.3.0
type NullableChannelPropertiesCards struct {
// contains filtered or unexported fields
}
func NewNullableChannelPropertiesCards ¶ added in v4.3.0
func NewNullableChannelPropertiesCards(val *ChannelPropertiesCards) *NullableChannelPropertiesCards
func (NullableChannelPropertiesCards) Get ¶ added in v4.3.0
func (v NullableChannelPropertiesCards) Get() *ChannelPropertiesCards
func (NullableChannelPropertiesCards) IsSet ¶ added in v4.3.0
func (v NullableChannelPropertiesCards) IsSet() bool
func (NullableChannelPropertiesCards) MarshalJSON ¶ added in v4.3.0
func (v NullableChannelPropertiesCards) MarshalJSON() ([]byte, error)
func (*NullableChannelPropertiesCards) Set ¶ added in v4.3.0
func (v *NullableChannelPropertiesCards) Set(val *ChannelPropertiesCards)
func (*NullableChannelPropertiesCards) UnmarshalJSON ¶ added in v4.3.0
func (v *NullableChannelPropertiesCards) UnmarshalJSON(src []byte) error
func (*NullableChannelPropertiesCards) Unset ¶ added in v4.3.0
func (v *NullableChannelPropertiesCards) Unset()
type NullableCreateInvoiceRequest ¶
type NullableCreateInvoiceRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateInvoiceRequest ¶
func NewNullableCreateInvoiceRequest(val *CreateInvoiceRequest) *NullableCreateInvoiceRequest
func (NullableCreateInvoiceRequest) Get ¶
func (v NullableCreateInvoiceRequest) Get() *CreateInvoiceRequest
func (NullableCreateInvoiceRequest) IsSet ¶
func (v NullableCreateInvoiceRequest) IsSet() bool
func (NullableCreateInvoiceRequest) MarshalJSON ¶
func (v NullableCreateInvoiceRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateInvoiceRequest) Set ¶
func (v *NullableCreateInvoiceRequest) Set(val *CreateInvoiceRequest)
func (*NullableCreateInvoiceRequest) UnmarshalJSON ¶
func (v *NullableCreateInvoiceRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateInvoiceRequest) Unset ¶
func (v *NullableCreateInvoiceRequest) Unset()
type NullableCustomerObject ¶
type NullableCustomerObject struct {
// contains filtered or unexported fields
}
func NewNullableCustomerObject ¶
func NewNullableCustomerObject(val *CustomerObject) *NullableCustomerObject
func (NullableCustomerObject) Get ¶
func (v NullableCustomerObject) Get() *CustomerObject
func (NullableCustomerObject) IsSet ¶
func (v NullableCustomerObject) IsSet() bool
func (NullableCustomerObject) MarshalJSON ¶
func (v NullableCustomerObject) MarshalJSON() ([]byte, error)
func (*NullableCustomerObject) Set ¶
func (v *NullableCustomerObject) Set(val *CustomerObject)
func (*NullableCustomerObject) UnmarshalJSON ¶
func (v *NullableCustomerObject) UnmarshalJSON(src []byte) error
func (*NullableCustomerObject) Unset ¶
func (v *NullableCustomerObject) Unset()
type NullableDirectDebit ¶
type NullableDirectDebit struct {
// contains filtered or unexported fields
}
func NewNullableDirectDebit ¶
func NewNullableDirectDebit(val *DirectDebit) *NullableDirectDebit
func (NullableDirectDebit) Get ¶
func (v NullableDirectDebit) Get() *DirectDebit
func (NullableDirectDebit) IsSet ¶
func (v NullableDirectDebit) IsSet() bool
func (NullableDirectDebit) MarshalJSON ¶
func (v NullableDirectDebit) MarshalJSON() ([]byte, error)
func (*NullableDirectDebit) Set ¶
func (v *NullableDirectDebit) Set(val *DirectDebit)
func (*NullableDirectDebit) UnmarshalJSON ¶
func (v *NullableDirectDebit) UnmarshalJSON(src []byte) error
func (*NullableDirectDebit) Unset ¶
func (v *NullableDirectDebit) Unset()
type NullableDirectDebitType ¶
type NullableDirectDebitType struct {
// contains filtered or unexported fields
}
func NewNullableDirectDebitType ¶
func NewNullableDirectDebitType(val *DirectDebitType) *NullableDirectDebitType
func (NullableDirectDebitType) Get ¶
func (v NullableDirectDebitType) Get() *DirectDebitType
func (NullableDirectDebitType) IsSet ¶
func (v NullableDirectDebitType) IsSet() bool
func (NullableDirectDebitType) MarshalJSON ¶
func (v NullableDirectDebitType) MarshalJSON() ([]byte, error)
func (*NullableDirectDebitType) Set ¶
func (v *NullableDirectDebitType) Set(val *DirectDebitType)
func (*NullableDirectDebitType) UnmarshalJSON ¶
func (v *NullableDirectDebitType) UnmarshalJSON(src []byte) error
func (*NullableDirectDebitType) Unset ¶
func (v *NullableDirectDebitType) Unset()
type NullableEwallet ¶
type NullableEwallet struct {
// contains filtered or unexported fields
}
func NewNullableEwallet ¶
func NewNullableEwallet(val *Ewallet) *NullableEwallet
func (NullableEwallet) Get ¶
func (v NullableEwallet) Get() *Ewallet
func (NullableEwallet) IsSet ¶
func (v NullableEwallet) IsSet() bool
func (NullableEwallet) MarshalJSON ¶
func (v NullableEwallet) MarshalJSON() ([]byte, error)
func (*NullableEwallet) Set ¶
func (v *NullableEwallet) Set(val *Ewallet)
func (*NullableEwallet) UnmarshalJSON ¶
func (v *NullableEwallet) UnmarshalJSON(src []byte) error
func (*NullableEwallet) Unset ¶
func (v *NullableEwallet) Unset()
type NullableEwalletType ¶
type NullableEwalletType struct {
// contains filtered or unexported fields
}
func NewNullableEwalletType ¶
func NewNullableEwalletType(val *EwalletType) *NullableEwalletType
func (NullableEwalletType) Get ¶
func (v NullableEwalletType) Get() *EwalletType
func (NullableEwalletType) IsSet ¶
func (v NullableEwalletType) IsSet() bool
func (NullableEwalletType) MarshalJSON ¶
func (v NullableEwalletType) MarshalJSON() ([]byte, error)
func (*NullableEwalletType) Set ¶
func (v *NullableEwalletType) Set(val *EwalletType)
func (*NullableEwalletType) UnmarshalJSON ¶
func (v *NullableEwalletType) UnmarshalJSON(src []byte) error
func (*NullableEwalletType) Unset ¶
func (v *NullableEwalletType) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableForbiddenError ¶
type NullableForbiddenError struct {
// contains filtered or unexported fields
}
func NewNullableForbiddenError ¶
func NewNullableForbiddenError(val *ForbiddenError) *NullableForbiddenError
func (NullableForbiddenError) Get ¶
func (v NullableForbiddenError) Get() *ForbiddenError
func (NullableForbiddenError) IsSet ¶
func (v NullableForbiddenError) IsSet() bool
func (NullableForbiddenError) MarshalJSON ¶
func (v NullableForbiddenError) MarshalJSON() ([]byte, error)
func (*NullableForbiddenError) Set ¶
func (v *NullableForbiddenError) Set(val *ForbiddenError)
func (*NullableForbiddenError) UnmarshalJSON ¶
func (v *NullableForbiddenError) UnmarshalJSON(src []byte) error
func (*NullableForbiddenError) Unset ¶
func (v *NullableForbiddenError) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableInvoice ¶
type NullableInvoice struct {
// contains filtered or unexported fields
}
func NewNullableInvoice ¶
func NewNullableInvoice(val *Invoice) *NullableInvoice
func (NullableInvoice) Get ¶
func (v NullableInvoice) Get() *Invoice
func (NullableInvoice) IsSet ¶
func (v NullableInvoice) IsSet() bool
func (NullableInvoice) MarshalJSON ¶
func (v NullableInvoice) MarshalJSON() ([]byte, error)
func (*NullableInvoice) Set ¶
func (v *NullableInvoice) Set(val *Invoice)
func (*NullableInvoice) UnmarshalJSON ¶
func (v *NullableInvoice) UnmarshalJSON(src []byte) error
func (*NullableInvoice) Unset ¶
func (v *NullableInvoice) Unset()
type NullableInvoiceCallback ¶
type NullableInvoiceCallback struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceCallback ¶
func NewNullableInvoiceCallback(val *InvoiceCallback) *NullableInvoiceCallback
func (NullableInvoiceCallback) Get ¶
func (v NullableInvoiceCallback) Get() *InvoiceCallback
func (NullableInvoiceCallback) IsSet ¶
func (v NullableInvoiceCallback) IsSet() bool
func (NullableInvoiceCallback) MarshalJSON ¶
func (v NullableInvoiceCallback) MarshalJSON() ([]byte, error)
func (*NullableInvoiceCallback) Set ¶
func (v *NullableInvoiceCallback) Set(val *InvoiceCallback)
func (*NullableInvoiceCallback) UnmarshalJSON ¶
func (v *NullableInvoiceCallback) UnmarshalJSON(src []byte) error
func (*NullableInvoiceCallback) Unset ¶
func (v *NullableInvoiceCallback) Unset()
type NullableInvoiceCallbackItem ¶
type NullableInvoiceCallbackItem struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceCallbackItem ¶
func NewNullableInvoiceCallbackItem(val *InvoiceCallbackItem) *NullableInvoiceCallbackItem
func (NullableInvoiceCallbackItem) Get ¶
func (v NullableInvoiceCallbackItem) Get() *InvoiceCallbackItem
func (NullableInvoiceCallbackItem) IsSet ¶
func (v NullableInvoiceCallbackItem) IsSet() bool
func (NullableInvoiceCallbackItem) MarshalJSON ¶
func (v NullableInvoiceCallbackItem) MarshalJSON() ([]byte, error)
func (*NullableInvoiceCallbackItem) Set ¶
func (v *NullableInvoiceCallbackItem) Set(val *InvoiceCallbackItem)
func (*NullableInvoiceCallbackItem) UnmarshalJSON ¶
func (v *NullableInvoiceCallbackItem) UnmarshalJSON(src []byte) error
func (*NullableInvoiceCallbackItem) Unset ¶
func (v *NullableInvoiceCallbackItem) Unset()
type NullableInvoiceClientType ¶
type NullableInvoiceClientType struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceClientType ¶
func NewNullableInvoiceClientType(val *InvoiceClientType) *NullableInvoiceClientType
func (NullableInvoiceClientType) Get ¶
func (v NullableInvoiceClientType) Get() *InvoiceClientType
func (NullableInvoiceClientType) IsSet ¶
func (v NullableInvoiceClientType) IsSet() bool
func (NullableInvoiceClientType) MarshalJSON ¶
func (v NullableInvoiceClientType) MarshalJSON() ([]byte, error)
func (*NullableInvoiceClientType) Set ¶
func (v *NullableInvoiceClientType) Set(val *InvoiceClientType)
func (*NullableInvoiceClientType) UnmarshalJSON ¶
func (v *NullableInvoiceClientType) UnmarshalJSON(src []byte) error
func (*NullableInvoiceClientType) Unset ¶
func (v *NullableInvoiceClientType) Unset()
type NullableInvoiceCurrency ¶
type NullableInvoiceCurrency struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceCurrency ¶
func NewNullableInvoiceCurrency(val *InvoiceCurrency) *NullableInvoiceCurrency
func (NullableInvoiceCurrency) Get ¶
func (v NullableInvoiceCurrency) Get() *InvoiceCurrency
func (NullableInvoiceCurrency) IsSet ¶
func (v NullableInvoiceCurrency) IsSet() bool
func (NullableInvoiceCurrency) MarshalJSON ¶
func (v NullableInvoiceCurrency) MarshalJSON() ([]byte, error)
func (*NullableInvoiceCurrency) Set ¶
func (v *NullableInvoiceCurrency) Set(val *InvoiceCurrency)
func (*NullableInvoiceCurrency) UnmarshalJSON ¶
func (v *NullableInvoiceCurrency) UnmarshalJSON(src []byte) error
func (*NullableInvoiceCurrency) Unset ¶
func (v *NullableInvoiceCurrency) Unset()
type NullableInvoiceError404ResponseDefinition ¶
type NullableInvoiceError404ResponseDefinition struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceError404ResponseDefinition ¶
func NewNullableInvoiceError404ResponseDefinition(val *InvoiceError404ResponseDefinition) *NullableInvoiceError404ResponseDefinition
func (NullableInvoiceError404ResponseDefinition) IsSet ¶
func (v NullableInvoiceError404ResponseDefinition) IsSet() bool
func (NullableInvoiceError404ResponseDefinition) MarshalJSON ¶
func (v NullableInvoiceError404ResponseDefinition) MarshalJSON() ([]byte, error)
func (*NullableInvoiceError404ResponseDefinition) Set ¶
func (v *NullableInvoiceError404ResponseDefinition) Set(val *InvoiceError404ResponseDefinition)
func (*NullableInvoiceError404ResponseDefinition) UnmarshalJSON ¶
func (v *NullableInvoiceError404ResponseDefinition) UnmarshalJSON(src []byte) error
func (*NullableInvoiceError404ResponseDefinition) Unset ¶
func (v *NullableInvoiceError404ResponseDefinition) Unset()
type NullableInvoiceFee ¶
type NullableInvoiceFee struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceFee ¶
func NewNullableInvoiceFee(val *InvoiceFee) *NullableInvoiceFee
func (NullableInvoiceFee) Get ¶
func (v NullableInvoiceFee) Get() *InvoiceFee
func (NullableInvoiceFee) IsSet ¶
func (v NullableInvoiceFee) IsSet() bool
func (NullableInvoiceFee) MarshalJSON ¶
func (v NullableInvoiceFee) MarshalJSON() ([]byte, error)
func (*NullableInvoiceFee) Set ¶
func (v *NullableInvoiceFee) Set(val *InvoiceFee)
func (*NullableInvoiceFee) UnmarshalJSON ¶
func (v *NullableInvoiceFee) UnmarshalJSON(src []byte) error
func (*NullableInvoiceFee) Unset ¶
func (v *NullableInvoiceFee) Unset()
type NullableInvoiceItem ¶
type NullableInvoiceItem struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceItem ¶
func NewNullableInvoiceItem(val *InvoiceItem) *NullableInvoiceItem
func (NullableInvoiceItem) Get ¶
func (v NullableInvoiceItem) Get() *InvoiceItem
func (NullableInvoiceItem) IsSet ¶
func (v NullableInvoiceItem) IsSet() bool
func (NullableInvoiceItem) MarshalJSON ¶
func (v NullableInvoiceItem) MarshalJSON() ([]byte, error)
func (*NullableInvoiceItem) Set ¶
func (v *NullableInvoiceItem) Set(val *InvoiceItem)
func (*NullableInvoiceItem) UnmarshalJSON ¶
func (v *NullableInvoiceItem) UnmarshalJSON(src []byte) error
func (*NullableInvoiceItem) Unset ¶
func (v *NullableInvoiceItem) Unset()
type NullableInvoiceNotFoundError ¶
type NullableInvoiceNotFoundError struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceNotFoundError ¶
func NewNullableInvoiceNotFoundError(val *InvoiceNotFoundError) *NullableInvoiceNotFoundError
func (NullableInvoiceNotFoundError) Get ¶
func (v NullableInvoiceNotFoundError) Get() *InvoiceNotFoundError
func (NullableInvoiceNotFoundError) IsSet ¶
func (v NullableInvoiceNotFoundError) IsSet() bool
func (NullableInvoiceNotFoundError) MarshalJSON ¶
func (v NullableInvoiceNotFoundError) MarshalJSON() ([]byte, error)
func (*NullableInvoiceNotFoundError) Set ¶
func (v *NullableInvoiceNotFoundError) Set(val *InvoiceNotFoundError)
func (*NullableInvoiceNotFoundError) UnmarshalJSON ¶
func (v *NullableInvoiceNotFoundError) UnmarshalJSON(src []byte) error
func (*NullableInvoiceNotFoundError) Unset ¶
func (v *NullableInvoiceNotFoundError) Unset()
type NullableInvoicePaymentMethod ¶
type NullableInvoicePaymentMethod struct {
// contains filtered or unexported fields
}
func NewNullableInvoicePaymentMethod ¶
func NewNullableInvoicePaymentMethod(val *InvoicePaymentMethod) *NullableInvoicePaymentMethod
func (NullableInvoicePaymentMethod) Get ¶
func (v NullableInvoicePaymentMethod) Get() *InvoicePaymentMethod
func (NullableInvoicePaymentMethod) IsSet ¶
func (v NullableInvoicePaymentMethod) IsSet() bool
func (NullableInvoicePaymentMethod) MarshalJSON ¶
func (v NullableInvoicePaymentMethod) MarshalJSON() ([]byte, error)
func (*NullableInvoicePaymentMethod) Set ¶
func (v *NullableInvoicePaymentMethod) Set(val *InvoicePaymentMethod)
func (*NullableInvoicePaymentMethod) UnmarshalJSON ¶
func (v *NullableInvoicePaymentMethod) UnmarshalJSON(src []byte) error
func (*NullableInvoicePaymentMethod) Unset ¶
func (v *NullableInvoicePaymentMethod) Unset()
type NullableInvoiceStatus ¶
type NullableInvoiceStatus struct {
// contains filtered or unexported fields
}
func NewNullableInvoiceStatus ¶
func NewNullableInvoiceStatus(val *InvoiceStatus) *NullableInvoiceStatus
func (NullableInvoiceStatus) Get ¶
func (v NullableInvoiceStatus) Get() *InvoiceStatus
func (NullableInvoiceStatus) IsSet ¶
func (v NullableInvoiceStatus) IsSet() bool
func (NullableInvoiceStatus) MarshalJSON ¶
func (v NullableInvoiceStatus) MarshalJSON() ([]byte, error)
func (*NullableInvoiceStatus) Set ¶
func (v *NullableInvoiceStatus) Set(val *InvoiceStatus)
func (*NullableInvoiceStatus) UnmarshalJSON ¶
func (v *NullableInvoiceStatus) UnmarshalJSON(src []byte) error
func (*NullableInvoiceStatus) Unset ¶
func (v *NullableInvoiceStatus) Unset()
type NullableNotificationChannel ¶
type NullableNotificationChannel struct {
// contains filtered or unexported fields
}
func NewNullableNotificationChannel ¶
func NewNullableNotificationChannel(val *NotificationChannel) *NullableNotificationChannel
func (NullableNotificationChannel) Get ¶
func (v NullableNotificationChannel) Get() *NotificationChannel
func (NullableNotificationChannel) IsSet ¶
func (v NullableNotificationChannel) IsSet() bool
func (NullableNotificationChannel) MarshalJSON ¶
func (v NullableNotificationChannel) MarshalJSON() ([]byte, error)
func (*NullableNotificationChannel) Set ¶
func (v *NullableNotificationChannel) Set(val *NotificationChannel)
func (*NullableNotificationChannel) UnmarshalJSON ¶
func (v *NullableNotificationChannel) UnmarshalJSON(src []byte) error
func (*NullableNotificationChannel) Unset ¶
func (v *NullableNotificationChannel) Unset()
type NullableNotificationPreference ¶
type NullableNotificationPreference struct {
// contains filtered or unexported fields
}
func NewNullableNotificationPreference ¶
func NewNullableNotificationPreference(val *NotificationPreference) *NullableNotificationPreference
func (NullableNotificationPreference) Get ¶
func (v NullableNotificationPreference) Get() *NotificationPreference
func (NullableNotificationPreference) IsSet ¶
func (v NullableNotificationPreference) IsSet() bool
func (NullableNotificationPreference) MarshalJSON ¶
func (v NullableNotificationPreference) MarshalJSON() ([]byte, error)
func (*NullableNotificationPreference) Set ¶
func (v *NullableNotificationPreference) Set(val *NotificationPreference)
func (*NullableNotificationPreference) UnmarshalJSON ¶
func (v *NullableNotificationPreference) UnmarshalJSON(src []byte) error
func (*NullableNotificationPreference) Unset ¶
func (v *NullableNotificationPreference) Unset()
type NullablePaylater ¶
type NullablePaylater struct {
// contains filtered or unexported fields
}
func NewNullablePaylater ¶
func NewNullablePaylater(val *Paylater) *NullablePaylater
func (NullablePaylater) Get ¶
func (v NullablePaylater) Get() *Paylater
func (NullablePaylater) IsSet ¶
func (v NullablePaylater) IsSet() bool
func (NullablePaylater) MarshalJSON ¶
func (v NullablePaylater) MarshalJSON() ([]byte, error)
func (*NullablePaylater) Set ¶
func (v *NullablePaylater) Set(val *Paylater)
func (*NullablePaylater) UnmarshalJSON ¶
func (v *NullablePaylater) UnmarshalJSON(src []byte) error
func (*NullablePaylater) Unset ¶
func (v *NullablePaylater) Unset()
type NullablePaylaterType ¶
type NullablePaylaterType struct {
// contains filtered or unexported fields
}
func NewNullablePaylaterType ¶
func NewNullablePaylaterType(val *PaylaterType) *NullablePaylaterType
func (NullablePaylaterType) Get ¶
func (v NullablePaylaterType) Get() *PaylaterType
func (NullablePaylaterType) IsSet ¶
func (v NullablePaylaterType) IsSet() bool
func (NullablePaylaterType) MarshalJSON ¶
func (v NullablePaylaterType) MarshalJSON() ([]byte, error)
func (*NullablePaylaterType) Set ¶
func (v *NullablePaylaterType) Set(val *PaylaterType)
func (*NullablePaylaterType) UnmarshalJSON ¶
func (v *NullablePaylaterType) UnmarshalJSON(src []byte) error
func (*NullablePaylaterType) Unset ¶
func (v *NullablePaylaterType) Unset()
type NullablePaymentDetails ¶
type NullablePaymentDetails struct {
// contains filtered or unexported fields
}
func NewNullablePaymentDetails ¶
func NewNullablePaymentDetails(val *PaymentDetails) *NullablePaymentDetails
func (NullablePaymentDetails) Get ¶
func (v NullablePaymentDetails) Get() *PaymentDetails
func (NullablePaymentDetails) IsSet ¶
func (v NullablePaymentDetails) IsSet() bool
func (NullablePaymentDetails) MarshalJSON ¶
func (v NullablePaymentDetails) MarshalJSON() ([]byte, error)
func (*NullablePaymentDetails) Set ¶
func (v *NullablePaymentDetails) Set(val *PaymentDetails)
func (*NullablePaymentDetails) UnmarshalJSON ¶
func (v *NullablePaymentDetails) UnmarshalJSON(src []byte) error
func (*NullablePaymentDetails) Unset ¶
func (v *NullablePaymentDetails) Unset()
type NullableQrCode ¶
type NullableQrCode struct {
// contains filtered or unexported fields
}
func NewNullableQrCode ¶
func NewNullableQrCode(val *QrCode) *NullableQrCode
func (NullableQrCode) Get ¶
func (v NullableQrCode) Get() *QrCode
func (NullableQrCode) IsSet ¶
func (v NullableQrCode) IsSet() bool
func (NullableQrCode) MarshalJSON ¶
func (v NullableQrCode) MarshalJSON() ([]byte, error)
func (*NullableQrCode) Set ¶
func (v *NullableQrCode) Set(val *QrCode)
func (*NullableQrCode) UnmarshalJSON ¶
func (v *NullableQrCode) UnmarshalJSON(src []byte) error
func (*NullableQrCode) Unset ¶
func (v *NullableQrCode) Unset()
type NullableQrCodeType ¶
type NullableQrCodeType struct {
// contains filtered or unexported fields
}
func NewNullableQrCodeType ¶
func NewNullableQrCodeType(val *QrCodeType) *NullableQrCodeType
func (NullableQrCodeType) Get ¶
func (v NullableQrCodeType) Get() *QrCodeType
func (NullableQrCodeType) IsSet ¶
func (v NullableQrCodeType) IsSet() bool
func (NullableQrCodeType) MarshalJSON ¶
func (v NullableQrCodeType) MarshalJSON() ([]byte, error)
func (*NullableQrCodeType) Set ¶
func (v *NullableQrCodeType) Set(val *QrCodeType)
func (*NullableQrCodeType) UnmarshalJSON ¶
func (v *NullableQrCodeType) UnmarshalJSON(src []byte) error
func (*NullableQrCodeType) Unset ¶
func (v *NullableQrCodeType) Unset()
type NullableRetailOutlet ¶
type NullableRetailOutlet struct {
// contains filtered or unexported fields
}
func NewNullableRetailOutlet ¶
func NewNullableRetailOutlet(val *RetailOutlet) *NullableRetailOutlet
func (NullableRetailOutlet) Get ¶
func (v NullableRetailOutlet) Get() *RetailOutlet
func (NullableRetailOutlet) IsSet ¶
func (v NullableRetailOutlet) IsSet() bool
func (NullableRetailOutlet) MarshalJSON ¶
func (v NullableRetailOutlet) MarshalJSON() ([]byte, error)
func (*NullableRetailOutlet) Set ¶
func (v *NullableRetailOutlet) Set(val *RetailOutlet)
func (*NullableRetailOutlet) UnmarshalJSON ¶
func (v *NullableRetailOutlet) UnmarshalJSON(src []byte) error
func (*NullableRetailOutlet) Unset ¶
func (v *NullableRetailOutlet) Unset()
type NullableRetailOutletName ¶
type NullableRetailOutletName struct {
// contains filtered or unexported fields
}
func NewNullableRetailOutletName ¶
func NewNullableRetailOutletName(val *RetailOutletName) *NullableRetailOutletName
func (NullableRetailOutletName) Get ¶
func (v NullableRetailOutletName) Get() *RetailOutletName
func (NullableRetailOutletName) IsSet ¶
func (v NullableRetailOutletName) IsSet() bool
func (NullableRetailOutletName) MarshalJSON ¶
func (v NullableRetailOutletName) MarshalJSON() ([]byte, error)
func (*NullableRetailOutletName) Set ¶
func (v *NullableRetailOutletName) Set(val *RetailOutletName)
func (*NullableRetailOutletName) UnmarshalJSON ¶
func (v *NullableRetailOutletName) UnmarshalJSON(src []byte) error
func (*NullableRetailOutletName) Unset ¶
func (v *NullableRetailOutletName) Unset()
type NullableServerError ¶
type NullableServerError struct {
// contains filtered or unexported fields
}
func NewNullableServerError ¶
func NewNullableServerError(val *ServerError) *NullableServerError
func (NullableServerError) Get ¶
func (v NullableServerError) Get() *ServerError
func (NullableServerError) IsSet ¶
func (v NullableServerError) IsSet() bool
func (NullableServerError) MarshalJSON ¶
func (v NullableServerError) MarshalJSON() ([]byte, error)
func (*NullableServerError) Set ¶
func (v *NullableServerError) Set(val *ServerError)
func (*NullableServerError) UnmarshalJSON ¶
func (v *NullableServerError) UnmarshalJSON(src []byte) error
func (*NullableServerError) Unset ¶
func (v *NullableServerError) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUnauthorizedError ¶
type NullableUnauthorizedError struct {
// contains filtered or unexported fields
}
func NewNullableUnauthorizedError ¶
func NewNullableUnauthorizedError(val *UnauthorizedError) *NullableUnauthorizedError
func (NullableUnauthorizedError) Get ¶
func (v NullableUnauthorizedError) Get() *UnauthorizedError
func (NullableUnauthorizedError) IsSet ¶
func (v NullableUnauthorizedError) IsSet() bool
func (NullableUnauthorizedError) MarshalJSON ¶
func (v NullableUnauthorizedError) MarshalJSON() ([]byte, error)
func (*NullableUnauthorizedError) Set ¶
func (v *NullableUnauthorizedError) Set(val *UnauthorizedError)
func (*NullableUnauthorizedError) UnmarshalJSON ¶
func (v *NullableUnauthorizedError) UnmarshalJSON(src []byte) error
func (*NullableUnauthorizedError) Unset ¶
func (v *NullableUnauthorizedError) Unset()
type Paylater ¶
type Paylater struct { PaylaterType PaylaterType `json:"paylater_type"` // Indicates whether this paylater option should be excluded. ShouldExclude *bool `json:"should_exclude,omitempty"` }
Paylater An object representing paylater details for invoices.
func NewPaylater ¶
func NewPaylater(paylaterType PaylaterType) *Paylater
NewPaylater instantiates a new Paylater 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
func NewPaylaterWithDefaults ¶
func NewPaylaterWithDefaults() *Paylater
NewPaylaterWithDefaults instantiates a new Paylater 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
func (*Paylater) GetPaylaterType ¶
func (o *Paylater) GetPaylaterType() PaylaterType
GetPaylaterType returns the PaylaterType field value
func (*Paylater) GetPaylaterTypeOk ¶
func (o *Paylater) GetPaylaterTypeOk() (*PaylaterType, bool)
GetPaylaterTypeOk returns a tuple with the PaylaterType field value and a boolean to check if the value has been set.
func (*Paylater) GetShouldExclude ¶
GetShouldExclude returns the ShouldExclude field value if set, zero value otherwise.
func (*Paylater) GetShouldExcludeOk ¶
GetShouldExcludeOk returns a tuple with the ShouldExclude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Paylater) HasShouldExclude ¶
HasShouldExclude returns a boolean if a field has been set.
func (Paylater) MarshalJSON ¶
func (*Paylater) SetPaylaterType ¶
func (o *Paylater) SetPaylaterType(v PaylaterType)
SetPaylaterType sets field value
func (*Paylater) SetShouldExclude ¶
SetShouldExclude gets a reference to the given bool and assigns it to the ShouldExclude field.
type PaylaterType ¶
type PaylaterType string
PaylaterType Representing the available paylater channels used for invoice-related transactions.
const ( PAYLATERTYPE_KREDIVO PaylaterType = "KREDIVO" PAYLATERTYPE_AKULAKU PaylaterType = "AKULAKU" PAYLATERTYPE_UANGME PaylaterType = "UANGME" PAYLATERTYPE_BILLEASE PaylaterType = "BILLEASE" PAYLATERTYPE_CASHALO PaylaterType = "CASHALO" PAYLATERTYPE_ATOME PaylaterType = "ATOME" PAYLATERTYPE_XENDIT_ENUM_DEFAULT_FALLBACK PaylaterType = "UNKNOWN_ENUM_VALUE" )
List of PaylaterType
func NewPaylaterTypeFromValue ¶
func NewPaylaterTypeFromValue(v string) (*PaylaterType, error)
NewPaylaterTypeFromValue returns a pointer to a valid PaylaterType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PaylaterType) IsValid ¶
func (v PaylaterType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PaylaterType) Ptr ¶
func (v PaylaterType) Ptr() *PaylaterType
Ptr returns reference to PaylaterType value
func (PaylaterType) String ¶
func (v PaylaterType) String() string
func (*PaylaterType) UnmarshalJSON ¶
func (v *PaylaterType) UnmarshalJSON(src []byte) error
type PaymentDetails ¶
type PaymentDetails struct { // The unique identifier or reference ID associated with the payment receipt. ReceiptId *string `json:"receipt_id,omitempty"` // The source or method of payment. Source *string `json:"source,omitempty"` }
PaymentDetails An object representing payment details.
func NewPaymentDetails ¶
func NewPaymentDetails() *PaymentDetails
NewPaymentDetails instantiates a new PaymentDetails 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
func NewPaymentDetailsWithDefaults ¶
func NewPaymentDetailsWithDefaults() *PaymentDetails
NewPaymentDetailsWithDefaults instantiates a new PaymentDetails 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
func (*PaymentDetails) GetReceiptId ¶
func (o *PaymentDetails) GetReceiptId() string
GetReceiptId returns the ReceiptId field value if set, zero value otherwise.
func (*PaymentDetails) GetReceiptIdOk ¶
func (o *PaymentDetails) GetReceiptIdOk() (*string, bool)
GetReceiptIdOk returns a tuple with the ReceiptId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentDetails) GetSource ¶
func (o *PaymentDetails) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*PaymentDetails) GetSourceOk ¶
func (o *PaymentDetails) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentDetails) HasReceiptId ¶
func (o *PaymentDetails) HasReceiptId() bool
HasReceiptId returns a boolean if a field has been set.
func (*PaymentDetails) HasSource ¶
func (o *PaymentDetails) HasSource() bool
HasSource returns a boolean if a field has been set.
func (PaymentDetails) MarshalJSON ¶
func (o PaymentDetails) MarshalJSON() ([]byte, error)
func (*PaymentDetails) SetReceiptId ¶
func (o *PaymentDetails) SetReceiptId(v string)
SetReceiptId gets a reference to the given string and assigns it to the ReceiptId field.
func (*PaymentDetails) SetSource ¶
func (o *PaymentDetails) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (PaymentDetails) ToMap ¶
func (o PaymentDetails) ToMap() (map[string]interface{}, error)
type QrCode ¶
type QrCode struct {
QrCodeType QrCodeType `json:"qr_code_type"`
}
QrCode An object representing QR code details for invoices.
func NewQrCode ¶
func NewQrCode(qrCodeType QrCodeType) *QrCode
NewQrCode instantiates a new QrCode 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
func NewQrCodeWithDefaults ¶
func NewQrCodeWithDefaults() *QrCode
NewQrCodeWithDefaults instantiates a new QrCode 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
func (*QrCode) GetQrCodeType ¶
func (o *QrCode) GetQrCodeType() QrCodeType
GetQrCodeType returns the QrCodeType field value
func (*QrCode) GetQrCodeTypeOk ¶
func (o *QrCode) GetQrCodeTypeOk() (*QrCodeType, bool)
GetQrCodeTypeOk returns a tuple with the QrCodeType field value and a boolean to check if the value has been set.
func (QrCode) MarshalJSON ¶
func (*QrCode) SetQrCodeType ¶
func (o *QrCode) SetQrCodeType(v QrCodeType)
SetQrCodeType sets field value
type QrCodeType ¶
type QrCodeType string
QrCodeType Representing the available QR Code channels used for invoice-related transactions.
const ( QRCODETYPE_QRIS QrCodeType = "QRIS" QRCODETYPE_PROMPTPAY QrCodeType = "PROMPTPAY" QRCODETYPE_XENDIT_ENUM_DEFAULT_FALLBACK QrCodeType = "UNKNOWN_ENUM_VALUE" )
List of QrCodeType
func NewQrCodeTypeFromValue ¶
func NewQrCodeTypeFromValue(v string) (*QrCodeType, error)
NewQrCodeTypeFromValue returns a pointer to a valid QrCodeType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (QrCodeType) IsValid ¶
func (v QrCodeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (QrCodeType) Ptr ¶
func (v QrCodeType) Ptr() *QrCodeType
Ptr returns reference to QrCodeType value
func (QrCodeType) String ¶
func (v QrCodeType) String() string
func (*QrCodeType) UnmarshalJSON ¶
func (v *QrCodeType) UnmarshalJSON(src []byte) error
type RetailOutlet ¶
type RetailOutlet struct { RetailOutletName RetailOutletName `json:"retail_outlet_name"` // The payment code. PaymentCode *string `json:"payment_code,omitempty"` // The transfer amount. TransferAmount *float64 `json:"transfer_amount,omitempty"` // The name of the merchant. MerchantName *string `json:"merchant_name,omitempty"` }
RetailOutlet An object representing retail outlet details for invoices.
func NewRetailOutlet ¶
func NewRetailOutlet(retailOutletName RetailOutletName) *RetailOutlet
NewRetailOutlet instantiates a new RetailOutlet 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
func NewRetailOutletWithDefaults ¶
func NewRetailOutletWithDefaults() *RetailOutlet
NewRetailOutletWithDefaults instantiates a new RetailOutlet 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
func (*RetailOutlet) GetMerchantName ¶
func (o *RetailOutlet) GetMerchantName() string
GetMerchantName returns the MerchantName field value if set, zero value otherwise.
func (*RetailOutlet) GetMerchantNameOk ¶
func (o *RetailOutlet) GetMerchantNameOk() (*string, bool)
GetMerchantNameOk returns a tuple with the MerchantName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetailOutlet) GetPaymentCode ¶
func (o *RetailOutlet) GetPaymentCode() string
GetPaymentCode returns the PaymentCode field value if set, zero value otherwise.
func (*RetailOutlet) GetPaymentCodeOk ¶
func (o *RetailOutlet) GetPaymentCodeOk() (*string, bool)
GetPaymentCodeOk returns a tuple with the PaymentCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetailOutlet) GetRetailOutletName ¶
func (o *RetailOutlet) GetRetailOutletName() RetailOutletName
GetRetailOutletName returns the RetailOutletName field value
func (*RetailOutlet) GetRetailOutletNameOk ¶
func (o *RetailOutlet) GetRetailOutletNameOk() (*RetailOutletName, bool)
GetRetailOutletNameOk returns a tuple with the RetailOutletName field value and a boolean to check if the value has been set.
func (*RetailOutlet) GetTransferAmount ¶
func (o *RetailOutlet) GetTransferAmount() float64
GetTransferAmount returns the TransferAmount field value if set, zero value otherwise.
func (*RetailOutlet) GetTransferAmountOk ¶
func (o *RetailOutlet) GetTransferAmountOk() (*float64, bool)
GetTransferAmountOk returns a tuple with the TransferAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RetailOutlet) HasMerchantName ¶
func (o *RetailOutlet) HasMerchantName() bool
HasMerchantName returns a boolean if a field has been set.
func (*RetailOutlet) HasPaymentCode ¶
func (o *RetailOutlet) HasPaymentCode() bool
HasPaymentCode returns a boolean if a field has been set.
func (*RetailOutlet) HasTransferAmount ¶
func (o *RetailOutlet) HasTransferAmount() bool
HasTransferAmount returns a boolean if a field has been set.
func (RetailOutlet) MarshalJSON ¶
func (o RetailOutlet) MarshalJSON() ([]byte, error)
func (*RetailOutlet) SetMerchantName ¶
func (o *RetailOutlet) SetMerchantName(v string)
SetMerchantName gets a reference to the given string and assigns it to the MerchantName field.
func (*RetailOutlet) SetPaymentCode ¶
func (o *RetailOutlet) SetPaymentCode(v string)
SetPaymentCode gets a reference to the given string and assigns it to the PaymentCode field.
func (*RetailOutlet) SetRetailOutletName ¶
func (o *RetailOutlet) SetRetailOutletName(v RetailOutletName)
SetRetailOutletName sets field value
func (*RetailOutlet) SetTransferAmount ¶
func (o *RetailOutlet) SetTransferAmount(v float64)
SetTransferAmount gets a reference to the given float64 and assigns it to the TransferAmount field.
func (RetailOutlet) ToMap ¶
func (o RetailOutlet) ToMap() (map[string]interface{}, error)
type RetailOutletName ¶
type RetailOutletName string
RetailOutletName Representing the available retail outlet channels used for invoice-related transactions.
const ( RETAILOUTLETNAME_ALFAMART RetailOutletName = "ALFAMART" RETAILOUTLETNAME_INDOMARET RetailOutletName = "INDOMARET" RETAILOUTLETNAME__7_ELEVEN RetailOutletName = "7ELEVEN" RETAILOUTLETNAME_CEBUANA RetailOutletName = "CEBUANA" RETAILOUTLETNAME_DP_ECPAY_LOAN RetailOutletName = "DP_ECPAY_LOAN" RETAILOUTLETNAME_DP_MLHUILLIER RetailOutletName = "DP_MLHUILLIER" RETAILOUTLETNAME_DP_PALAWAN RetailOutletName = "DP_PALAWAN" RETAILOUTLETNAME_DP_ECPAY_SCHOOL RetailOutletName = "DP_ECPAY_SCHOOL" RETAILOUTLETNAME_LBC RetailOutletName = "LBC" RETAILOUTLETNAME_XENDIT_ENUM_DEFAULT_FALLBACK RetailOutletName = "UNKNOWN_ENUM_VALUE" )
List of RetailOutletName
func NewRetailOutletNameFromValue ¶
func NewRetailOutletNameFromValue(v string) (*RetailOutletName, error)
NewRetailOutletNameFromValue returns a pointer to a valid RetailOutletName for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RetailOutletName) IsValid ¶
func (v RetailOutletName) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RetailOutletName) Ptr ¶
func (v RetailOutletName) Ptr() *RetailOutletName
Ptr returns reference to RetailOutletName value
func (RetailOutletName) String ¶
func (v RetailOutletName) String() string
func (*RetailOutletName) UnmarshalJSON ¶
func (v *RetailOutletName) UnmarshalJSON(src []byte) error
type ServerError ¶
ServerError struct for ServerError
func NewServerError ¶
func NewServerError(errorCode string, message string) *ServerError
NewServerError instantiates a new ServerError 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
func NewServerErrorWithDefaults ¶
func NewServerErrorWithDefaults() *ServerError
NewServerErrorWithDefaults instantiates a new ServerError 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
func (*ServerError) GetErrorCode ¶
func (o *ServerError) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*ServerError) GetErrorCodeOk ¶
func (o *ServerError) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*ServerError) GetMessage ¶
func (o *ServerError) GetMessage() string
GetMessage returns the Message field value
func (*ServerError) GetMessageOk ¶
func (o *ServerError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (ServerError) MarshalJSON ¶
func (o ServerError) MarshalJSON() ([]byte, error)
func (*ServerError) SetErrorCode ¶
func (o *ServerError) SetErrorCode(v string)
SetErrorCode sets field value
func (*ServerError) SetMessage ¶
func (o *ServerError) SetMessage(v string)
SetMessage sets field value
func (ServerError) ToMap ¶
func (o ServerError) ToMap() (map[string]interface{}, error)
type UnauthorizedError ¶
type UnauthorizedError struct { string `json:"error_code"` Message string `json:"message"` }ErrorCode
UnauthorizedError An error object used to indicate unauthorized access to an invoice-related resource.
func NewUnauthorizedError ¶
func NewUnauthorizedError(errorCode string, message string) *UnauthorizedError
NewUnauthorizedError instantiates a new UnauthorizedError 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
func NewUnauthorizedErrorWithDefaults ¶
func NewUnauthorizedErrorWithDefaults() *UnauthorizedError
NewUnauthorizedErrorWithDefaults instantiates a new UnauthorizedError 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
func (*UnauthorizedError) GetErrorCode ¶
func (o *UnauthorizedError) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*UnauthorizedError) GetErrorCodeOk ¶
func (o *UnauthorizedError) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*UnauthorizedError) GetMessage ¶
func (o *UnauthorizedError) GetMessage() string
GetMessage returns the Message field value
func (*UnauthorizedError) GetMessageOk ¶
func (o *UnauthorizedError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (UnauthorizedError) MarshalJSON ¶
func (o UnauthorizedError) MarshalJSON() ([]byte, error)
func (*UnauthorizedError) SetErrorCode ¶
func (o *UnauthorizedError) SetErrorCode(v string)
SetErrorCode sets field value
func (*UnauthorizedError) SetMessage ¶
func (o *UnauthorizedError) SetMessage(v string)
SetMessage sets field value
func (UnauthorizedError) ToMap ¶
func (o UnauthorizedError) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_invoice.go
- model_address_object.go
- model_alternative_display_item.go
- model_bad_request_error.go
- model_bank.go
- model_bank_code.go
- model_channel_properties.go
- model_channel_properties_cards.go
- model_create_invoice_request.go
- model_customer_object.go
- model_direct_debit.go
- model_direct_debit_type.go
- model_ewallet.go
- model_ewallet_type.go
- model_forbidden_error.go
- model_invoice.go
- model_invoice_callback.go
- model_invoice_callback_item.go
- model_invoice_client_type.go
- model_invoice_currency.go
- model_invoice_error404_response_definition.go
- model_invoice_fee.go
- model_invoice_item.go
- model_invoice_not_found_error.go
- model_invoice_payment_method.go
- model_invoice_status.go
- model_notification_channel.go
- model_notification_preference.go
- model_paylater.go
- model_paylater_type.go
- model_payment_details.go
- model_qr_code.go
- model_qr_code_type.go
- model_retail_outlet.go
- model_retail_outlet_name.go
- model_server_error.go
- model_unauthorized_error.go
- nullable.go