payment_method

package
v4.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedDirectDebitChannelCodeEnumValues = []DirectDebitChannelCode{
	"BCA_KLIKPAY",
	"BCA_ONEKLIK",
	"BDO",
	"BPI",
	"BRI",
	"BNI",
	"CHINABANK",
	"CIMBNIAGA",
	"MTB",
	"RCBC",
	"UBP",
	"MANDIRI",
	"BBL",
	"SCB",
	"KTB",
	"BAY",
	"KBANK_MB",
	"BAY_MB",
	"KTB_MB",
	"BBL_MB",
	"SCB_MB",
	"BDO_EPAY",
	"AUTODEBIT_UBP",
	"AFFIN_FPX",
	"AGRO_FPX",
	"ALLIANCE_FPX",
	"AMBANK_FPX",
	"ISLAM_FPX",
	"MUAMALAT_FPX",
	"BOC_FPX",
	"RAKYAT_FPX",
	"BSN_FPX",
	"CIMB_FPX",
	"HLB_FPX",
	"HSBC_FPX",
	"KFH_FPX",
	"MAYB2E_FPX",
	"MAYB2U_FPX",
	"OCBC_FPX",
	"PUBLIC_FPX",
	"RHB_FPX",
	"SCH_FPX",
	"UOB_FPX",
	"AFFIN_FPX_BUSINESS",
	"AGRO_FPX_BUSINESS",
	"ALLIANCE_FPX_BUSINESS",
	"AMBANK_FPX_BUSINESS",
	"ISLAM_FPX_BUSINESS",
	"MUAMALAT_FPX_BUSINESS",
	"BNP_FPX_BUSINESS",
	"CIMB_FPX_BUSINESS",
	"CITIBANK_FPX_BUSINESS",
	"DEUTSCHE_FPX_BUSINESS",
	"HLB_FPX_BUSINESS",
	"HSBC_FPX_BUSINESS",
	"RAKYAT_FPX_BUSINESS",
	"KFH_FPX_BUSINESS",
	"MAYB2E_FPX_BUSINESS",
	"OCBC_FPX_BUSINESS",
	"PUBLIC_FPX_BUSINESS",
	"RHB_FPX_BUSINESS",
	"SCH_FPX_BUSINESS",
	"UOB_FPX_BUSINESS",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of DirectDebitChannelCode enum

View Source
var AllowedDirectDebitTypeEnumValues = []DirectDebitType{
	"DEBIT_CARD",
	"BANK_ACCOUNT",
	"BANK_REDIRECT",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of DirectDebitType enum

View Source
var AllowedEWalletChannelCodeEnumValues = []EWalletChannelCode{
	"GCASH",
	"GRABPAY",
	"PAYMAYA",
	"OVO",
	"DANA",
	"LINKAJA",
	"SHOPEEPAY",
	"SAKUKU",
	"NEXCASH",
	"ASTRAPAY",
	"JENIUSPAY",
	"APPOTA",
	"MOMO",
	"VNPTWALLET",
	"VIETTELPAY",
	"ZALOPAY",
	"WECHATPAY",
	"LINEPAY",
	"TRUEMONEY",
	"ALIPAY",
	"TOUCHANDGO",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of EWalletChannelCode enum

View Source
var AllowedOverTheCounterChannelCodeEnumValues = []OverTheCounterChannelCode{
	"7ELEVEN",
	"7ELEVEN_CLIQQ",
	"CEBUANA",
	"ECPAY",
	"PALAWAN",
	"MLHUILLIER",
	"ECPAY_DRAGONLOAN",
	"LBC",
	"ECPAY_SCHOOL",
	"RD_PAWNSHOP",
	"CVM",
	"USSC",
	"SM_BILLS",
	"ROBINSONS_BILLS",
	"ALFAMART",
	"INDOMARET",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of OverTheCounterChannelCode enum

View Source
var AllowedPaymentMethodCountryEnumValues = []PaymentMethodCountry{
	"PH",
	"ID",
	"VN",
	"TH",
	"MY",
	"US",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentMethodCountry enum

View Source
var AllowedPaymentMethodReusabilityEnumValues = []PaymentMethodReusability{
	"MULTIPLE_USE",
	"ONE_TIME_USE",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentMethodReusability enum

View Source
var AllowedPaymentMethodStatusEnumValues = []PaymentMethodStatus{
	"ACTIVE",
	"EXPIRED",
	"INACTIVE",
	"PENDING",
	"REQUIRES_ACTION",
	"FAILED",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentMethodStatus enum

View Source
var AllowedPaymentMethodTypeEnumValues = []PaymentMethodType{
	"CARD",
	"CRYPTOCURRENCY",
	"DIRECT_BANK_TRANSFER",
	"DIRECT_DEBIT",
	"EWALLET",
	"OVER_THE_COUNTER",
	"QR_CODE",
	"VIRTUAL_ACCOUNT",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentMethodType enum

View Source
var AllowedQRCodeChannelCodeEnumValues = []QRCodeChannelCode{
	"QRIS",
	"DANA",
	"RCBC",
	"PROMPTPAY",
	"LINKAJA",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of QRCodeChannelCode enum

View Source
var AllowedVirtualAccountChannelCodeEnumValues = []VirtualAccountChannelCode{
	"BCA",
	"BJB",
	"BNI",
	"BRI",
	"MANDIRI",
	"PERMATA",
	"BSI",
	"CIMB",
	"SAHABAT_SAMPOERNA",
	"ARTAJASA",
	"PV",
	"VIETCAPITAL",
	"WOORI",
	"MSB",
	"STANDARD_CHARTERED",
	"AMBANK",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of VirtualAccountChannelCode enum

Functions

This section is empty.

Types

type ApiAuthPaymentMethodRequest

type ApiAuthPaymentMethodRequest struct {
	ApiService PaymentMethodApi
	// contains filtered or unexported fields
}

func (ApiAuthPaymentMethodRequest) Execute

func (ApiAuthPaymentMethodRequest) ForUserId

func (ApiAuthPaymentMethodRequest) PaymentMethodAuthParameters

func (r ApiAuthPaymentMethodRequest) PaymentMethodAuthParameters(paymentMethodAuthParameters PaymentMethodAuthParameters) ApiAuthPaymentMethodRequest

type ApiCreatePaymentMethodRequest

type ApiCreatePaymentMethodRequest struct {
	ApiService PaymentMethodApi
	// contains filtered or unexported fields
}

func (ApiCreatePaymentMethodRequest) Execute

func (ApiCreatePaymentMethodRequest) ForUserId

func (ApiCreatePaymentMethodRequest) PaymentMethodParameters

func (r ApiCreatePaymentMethodRequest) PaymentMethodParameters(paymentMethodParameters PaymentMethodParameters) ApiCreatePaymentMethodRequest

type ApiExpirePaymentMethodRequest

type ApiExpirePaymentMethodRequest struct {
	ApiService PaymentMethodApi
	// contains filtered or unexported fields
}

func (ApiExpirePaymentMethodRequest) Execute

func (ApiExpirePaymentMethodRequest) ForUserId

func (ApiExpirePaymentMethodRequest) PaymentMethodExpireParameters

func (r ApiExpirePaymentMethodRequest) PaymentMethodExpireParameters(paymentMethodExpireParameters PaymentMethodExpireParameters) ApiExpirePaymentMethodRequest

type ApiGetAllPaymentMethodsRequest

type ApiGetAllPaymentMethodsRequest struct {
	ApiService PaymentMethodApi
	// contains filtered or unexported fields
}

func (ApiGetAllPaymentMethodsRequest) AfterId

func (ApiGetAllPaymentMethodsRequest) BeforeId

func (ApiGetAllPaymentMethodsRequest) CustomerId

func (ApiGetAllPaymentMethodsRequest) Execute

func (ApiGetAllPaymentMethodsRequest) ForUserId

func (ApiGetAllPaymentMethodsRequest) Id

func (ApiGetAllPaymentMethodsRequest) Limit

func (ApiGetAllPaymentMethodsRequest) ReferenceId

func (ApiGetAllPaymentMethodsRequest) Reusability

func (ApiGetAllPaymentMethodsRequest) Status

func (ApiGetAllPaymentMethodsRequest) Type_

type ApiGetPaymentMethodByIDRequest

type ApiGetPaymentMethodByIDRequest struct {
	ApiService PaymentMethodApi
	// contains filtered or unexported fields
}

func (ApiGetPaymentMethodByIDRequest) Execute

func (ApiGetPaymentMethodByIDRequest) ForUserId

type ApiGetPaymentsByPaymentMethodIdRequest

type ApiGetPaymentsByPaymentMethodIdRequest struct {
	ApiService PaymentMethodApi
	// contains filtered or unexported fields
}

func (ApiGetPaymentsByPaymentMethodIdRequest) ChannelCode

func (ApiGetPaymentsByPaymentMethodIdRequest) CreatedGte

func (ApiGetPaymentsByPaymentMethodIdRequest) CreatedLte

func (ApiGetPaymentsByPaymentMethodIdRequest) Currency

func (ApiGetPaymentsByPaymentMethodIdRequest) Execute

func (ApiGetPaymentsByPaymentMethodIdRequest) ForUserId

func (ApiGetPaymentsByPaymentMethodIdRequest) Limit

func (ApiGetPaymentsByPaymentMethodIdRequest) PaymentMethodId2

func (ApiGetPaymentsByPaymentMethodIdRequest) PaymentMethodType

func (ApiGetPaymentsByPaymentMethodIdRequest) PaymentRequestId

func (ApiGetPaymentsByPaymentMethodIdRequest) ReferenceId

func (ApiGetPaymentsByPaymentMethodIdRequest) Status

func (ApiGetPaymentsByPaymentMethodIdRequest) UpdatedGte

func (ApiGetPaymentsByPaymentMethodIdRequest) UpdatedLte

type ApiPatchPaymentMethodRequest

type ApiPatchPaymentMethodRequest struct {
	ApiService PaymentMethodApi
	// contains filtered or unexported fields
}

func (ApiPatchPaymentMethodRequest) Execute

func (ApiPatchPaymentMethodRequest) ForUserId

func (ApiPatchPaymentMethodRequest) PaymentMethodUpdateParameters

func (r ApiPatchPaymentMethodRequest) PaymentMethodUpdateParameters(paymentMethodUpdateParameters PaymentMethodUpdateParameters) ApiPatchPaymentMethodRequest

type ApiSimulatePaymentRequest

type ApiSimulatePaymentRequest struct {
	ApiService PaymentMethodApi
	// contains filtered or unexported fields
}

func (ApiSimulatePaymentRequest) Execute

func (ApiSimulatePaymentRequest) SimulatePaymentRequest

func (r ApiSimulatePaymentRequest) SimulatePaymentRequest(simulatePaymentRequest SimulatePaymentRequest) ApiSimulatePaymentRequest

type BillingInformation

type BillingInformation struct {
	Country       string         `json:"country"`
	StreetLine1   NullableString `json:"street_line1,omitempty"`
	StreetLine2   NullableString `json:"street_line2,omitempty"`
	City          NullableString `json:"city,omitempty"`
	ProvinceState NullableString `json:"province_state,omitempty"`
	PostalCode    NullableString `json:"postal_code,omitempty"`
}

BillingInformation Billing Information

func NewBillingInformation

func NewBillingInformation(country string) *BillingInformation

NewBillingInformation instantiates a new BillingInformation 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 NewBillingInformationWithDefaults

func NewBillingInformationWithDefaults() *BillingInformation

NewBillingInformationWithDefaults instantiates a new BillingInformation 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 (*BillingInformation) GetCity

func (o *BillingInformation) GetCity() string

GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingInformation) GetCityOk

func (o *BillingInformation) 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 (*BillingInformation) GetCountry

func (o *BillingInformation) GetCountry() string

GetCountry returns the Country field value

func (*BillingInformation) GetCountryOk

func (o *BillingInformation) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.

func (*BillingInformation) GetPostalCode

func (o *BillingInformation) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingInformation) GetPostalCodeOk

func (o *BillingInformation) 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 (*BillingInformation) GetProvinceState

func (o *BillingInformation) GetProvinceState() string

GetProvinceState returns the ProvinceState field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingInformation) GetProvinceStateOk

func (o *BillingInformation) GetProvinceStateOk() (*string, bool)

GetProvinceStateOk returns a tuple with the ProvinceState 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 (*BillingInformation) GetStreetLine1

func (o *BillingInformation) GetStreetLine1() string

GetStreetLine1 returns the StreetLine1 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingInformation) GetStreetLine1Ok

func (o *BillingInformation) 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 (*BillingInformation) GetStreetLine2

func (o *BillingInformation) GetStreetLine2() string

GetStreetLine2 returns the StreetLine2 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingInformation) GetStreetLine2Ok

func (o *BillingInformation) 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 (*BillingInformation) HasCity

func (o *BillingInformation) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*BillingInformation) HasPostalCode

func (o *BillingInformation) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*BillingInformation) HasProvinceState

func (o *BillingInformation) HasProvinceState() bool

HasProvinceState returns a boolean if a field has been set.

func (*BillingInformation) HasStreetLine1

func (o *BillingInformation) HasStreetLine1() bool

HasStreetLine1 returns a boolean if a field has been set.

func (*BillingInformation) HasStreetLine2

func (o *BillingInformation) HasStreetLine2() bool

HasStreetLine2 returns a boolean if a field has been set.

func (BillingInformation) MarshalJSON

func (o BillingInformation) MarshalJSON() ([]byte, error)

func (*BillingInformation) SetCity

func (o *BillingInformation) SetCity(v string)

SetCity gets a reference to the given NullableString and assigns it to the City field.

func (*BillingInformation) SetCityNil

func (o *BillingInformation) SetCityNil()

SetCityNil sets the value for City to be an explicit nil

func (*BillingInformation) SetCountry

func (o *BillingInformation) SetCountry(v string)

SetCountry sets field value

func (*BillingInformation) SetPostalCode

func (o *BillingInformation) SetPostalCode(v string)

SetPostalCode gets a reference to the given NullableString and assigns it to the PostalCode field.

func (*BillingInformation) SetPostalCodeNil

func (o *BillingInformation) SetPostalCodeNil()

SetPostalCodeNil sets the value for PostalCode to be an explicit nil

func (*BillingInformation) SetProvinceState

func (o *BillingInformation) SetProvinceState(v string)

SetProvinceState gets a reference to the given NullableString and assigns it to the ProvinceState field.

func (*BillingInformation) SetProvinceStateNil

func (o *BillingInformation) SetProvinceStateNil()

SetProvinceStateNil sets the value for ProvinceState to be an explicit nil

func (*BillingInformation) SetStreetLine1

func (o *BillingInformation) SetStreetLine1(v string)

SetStreetLine1 gets a reference to the given NullableString and assigns it to the StreetLine1 field.

func (*BillingInformation) SetStreetLine1Nil

func (o *BillingInformation) SetStreetLine1Nil()

SetStreetLine1Nil sets the value for StreetLine1 to be an explicit nil

func (*BillingInformation) SetStreetLine2

func (o *BillingInformation) SetStreetLine2(v string)

SetStreetLine2 gets a reference to the given NullableString and assigns it to the StreetLine2 field.

func (*BillingInformation) SetStreetLine2Nil

func (o *BillingInformation) SetStreetLine2Nil()

SetStreetLine2Nil sets the value for StreetLine2 to be an explicit nil

func (BillingInformation) ToMap

func (o BillingInformation) ToMap() (map[string]interface{}, error)

func (*BillingInformation) UnsetCity

func (o *BillingInformation) UnsetCity()

UnsetCity ensures that no value is present for City, not even an explicit nil

func (*BillingInformation) UnsetPostalCode

func (o *BillingInformation) UnsetPostalCode()

UnsetPostalCode ensures that no value is present for PostalCode, not even an explicit nil

func (*BillingInformation) UnsetProvinceState

func (o *BillingInformation) UnsetProvinceState()

UnsetProvinceState ensures that no value is present for ProvinceState, not even an explicit nil

func (*BillingInformation) UnsetStreetLine1

func (o *BillingInformation) UnsetStreetLine1()

UnsetStreetLine1 ensures that no value is present for StreetLine1, not even an explicit nil

func (*BillingInformation) UnsetStreetLine2

func (o *BillingInformation) UnsetStreetLine2()

UnsetStreetLine2 ensures that no value is present for StreetLine2, not even an explicit nil

type Card

type Card struct {
	Currency                NullableString                  `json:"currency"`
	ChannelProperties       NullableCardChannelProperties   `json:"channel_properties"`
	CardInformation         *TokenizedCardInformation       `json:"card_information,omitempty"`
	CardVerificationResults NullableCardVerificationResults `json:"card_verification_results,omitempty"`
}

Card Card Payment Method Details

func NewCard

func NewCard(currency NullableString, channelProperties NullableCardChannelProperties) *Card

NewCard instantiates a new Card 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 NewCardWithDefaults

func NewCardWithDefaults() *Card

NewCardWithDefaults instantiates a new Card 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 (*Card) GetCardInformation

func (o *Card) GetCardInformation() TokenizedCardInformation

GetCardInformation returns the CardInformation field value if set, zero value otherwise.

func (*Card) GetCardInformationOk

func (o *Card) GetCardInformationOk() (*TokenizedCardInformation, bool)

GetCardInformationOk returns a tuple with the CardInformation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Card) GetCardVerificationResults

func (o *Card) GetCardVerificationResults() CardVerificationResults

GetCardVerificationResults returns the CardVerificationResults field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Card) GetCardVerificationResultsOk

func (o *Card) GetCardVerificationResultsOk() (*CardVerificationResults, bool)

GetCardVerificationResultsOk returns a tuple with the CardVerificationResults 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 (*Card) GetChannelProperties

func (o *Card) GetChannelProperties() CardChannelProperties

GetChannelProperties returns the ChannelProperties field value If the value is explicit nil, the zero value for CardChannelProperties will be returned

func (*Card) GetChannelPropertiesOk

func (o *Card) GetChannelPropertiesOk() (*CardChannelProperties, bool)

GetChannelPropertiesOk returns a tuple with the ChannelProperties field value 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 (*Card) GetCurrency

func (o *Card) GetCurrency() string

GetCurrency returns the Currency field value If the value is explicit nil, the zero value for string will be returned

func (*Card) GetCurrencyOk

func (o *Card) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value 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 (*Card) HasCardInformation

func (o *Card) HasCardInformation() bool

HasCardInformation returns a boolean if a field has been set.

func (*Card) HasCardVerificationResults

func (o *Card) HasCardVerificationResults() bool

HasCardVerificationResults returns a boolean if a field has been set.

func (Card) MarshalJSON

func (o Card) MarshalJSON() ([]byte, error)

func (*Card) SetCardInformation

func (o *Card) SetCardInformation(v TokenizedCardInformation)

SetCardInformation gets a reference to the given TokenizedCardInformation and assigns it to the CardInformation field.

func (*Card) SetCardVerificationResults

func (o *Card) SetCardVerificationResults(v CardVerificationResults)

SetCardVerificationResults gets a reference to the given NullableCardVerificationResults and assigns it to the CardVerificationResults field.

func (*Card) SetCardVerificationResultsNil

func (o *Card) SetCardVerificationResultsNil()

SetCardVerificationResultsNil sets the value for CardVerificationResults to be an explicit nil

func (*Card) SetChannelProperties

func (o *Card) SetChannelProperties(v CardChannelProperties)

SetChannelProperties sets field value

func (*Card) SetCurrency

func (o *Card) SetCurrency(v string)

SetCurrency sets field value

func (Card) ToMap

func (o Card) ToMap() (map[string]interface{}, error)

func (*Card) UnsetCardVerificationResults

func (o *Card) UnsetCardVerificationResults()

UnsetCardVerificationResults ensures that no value is present for CardVerificationResults, not even an explicit nil

type CardChannelProperties

type CardChannelProperties struct {
	// This field value is only being used for reusability = MULTIPLE_USE. To indicate whether to perform 3DS during the linking phase. Defaults to false.
	SkipThreeDSecure NullableBool `json:"skip_three_d_secure,omitempty"`
	// URL where the end-customer is redirected if the authorization is successful
	SuccessReturnUrl NullableString `json:"success_return_url,omitempty"`
	// URL where the end-customer is redirected if the authorization failed
	FailureReturnUrl NullableString `json:"failure_return_url,omitempty"`
	// Type of “credential-on-file” / “card-on-file” payment being made. Indicate that this payment uses a previously linked Payment Method for charging.
	CardonfileType NullableString `json:"cardonfile_type,omitempty"`
}

CardChannelProperties Card Channel Properties

func NewCardChannelProperties

func NewCardChannelProperties() *CardChannelProperties

NewCardChannelProperties instantiates a new CardChannelProperties 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 NewCardChannelPropertiesWithDefaults

func NewCardChannelPropertiesWithDefaults() *CardChannelProperties

NewCardChannelPropertiesWithDefaults instantiates a new CardChannelProperties 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 (*CardChannelProperties) GetCardonfileType

func (o *CardChannelProperties) GetCardonfileType() string

GetCardonfileType returns the CardonfileType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardChannelProperties) GetCardonfileTypeOk

func (o *CardChannelProperties) GetCardonfileTypeOk() (*string, bool)

GetCardonfileTypeOk returns a tuple with the CardonfileType 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 (*CardChannelProperties) GetFailureReturnUrl

func (o *CardChannelProperties) GetFailureReturnUrl() string

GetFailureReturnUrl returns the FailureReturnUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardChannelProperties) GetFailureReturnUrlOk

func (o *CardChannelProperties) GetFailureReturnUrlOk() (*string, bool)

GetFailureReturnUrlOk returns a tuple with the FailureReturnUrl 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 (*CardChannelProperties) GetSkipThreeDSecure

func (o *CardChannelProperties) GetSkipThreeDSecure() bool

GetSkipThreeDSecure returns the SkipThreeDSecure field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardChannelProperties) GetSkipThreeDSecureOk

func (o *CardChannelProperties) GetSkipThreeDSecureOk() (*bool, bool)

GetSkipThreeDSecureOk returns a tuple with the SkipThreeDSecure 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 (*CardChannelProperties) GetSuccessReturnUrl

func (o *CardChannelProperties) GetSuccessReturnUrl() string

GetSuccessReturnUrl returns the SuccessReturnUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardChannelProperties) GetSuccessReturnUrlOk

func (o *CardChannelProperties) GetSuccessReturnUrlOk() (*string, bool)

GetSuccessReturnUrlOk returns a tuple with the SuccessReturnUrl 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 (*CardChannelProperties) HasCardonfileType

func (o *CardChannelProperties) HasCardonfileType() bool

HasCardonfileType returns a boolean if a field has been set.

func (*CardChannelProperties) HasFailureReturnUrl

func (o *CardChannelProperties) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*CardChannelProperties) HasSkipThreeDSecure

func (o *CardChannelProperties) HasSkipThreeDSecure() bool

HasSkipThreeDSecure returns a boolean if a field has been set.

func (*CardChannelProperties) HasSuccessReturnUrl

func (o *CardChannelProperties) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (CardChannelProperties) MarshalJSON

func (o CardChannelProperties) MarshalJSON() ([]byte, error)

func (*CardChannelProperties) SetCardonfileType

func (o *CardChannelProperties) SetCardonfileType(v string)

SetCardonfileType gets a reference to the given NullableString and assigns it to the CardonfileType field.

func (*CardChannelProperties) SetCardonfileTypeNil

func (o *CardChannelProperties) SetCardonfileTypeNil()

SetCardonfileTypeNil sets the value for CardonfileType to be an explicit nil

func (*CardChannelProperties) SetFailureReturnUrl

func (o *CardChannelProperties) SetFailureReturnUrl(v string)

SetFailureReturnUrl gets a reference to the given NullableString and assigns it to the FailureReturnUrl field.

func (*CardChannelProperties) SetFailureReturnUrlNil

func (o *CardChannelProperties) SetFailureReturnUrlNil()

SetFailureReturnUrlNil sets the value for FailureReturnUrl to be an explicit nil

func (*CardChannelProperties) SetSkipThreeDSecure

func (o *CardChannelProperties) SetSkipThreeDSecure(v bool)

SetSkipThreeDSecure gets a reference to the given NullableBool and assigns it to the SkipThreeDSecure field.

func (*CardChannelProperties) SetSkipThreeDSecureNil

func (o *CardChannelProperties) SetSkipThreeDSecureNil()

SetSkipThreeDSecureNil sets the value for SkipThreeDSecure to be an explicit nil

func (*CardChannelProperties) SetSuccessReturnUrl

func (o *CardChannelProperties) SetSuccessReturnUrl(v string)

SetSuccessReturnUrl gets a reference to the given NullableString and assigns it to the SuccessReturnUrl field.

func (*CardChannelProperties) SetSuccessReturnUrlNil

func (o *CardChannelProperties) SetSuccessReturnUrlNil()

SetSuccessReturnUrlNil sets the value for SuccessReturnUrl to be an explicit nil

func (CardChannelProperties) ToMap

func (o CardChannelProperties) ToMap() (map[string]interface{}, error)

func (*CardChannelProperties) UnsetCardonfileType

func (o *CardChannelProperties) UnsetCardonfileType()

UnsetCardonfileType ensures that no value is present for CardonfileType, not even an explicit nil

func (*CardChannelProperties) UnsetFailureReturnUrl

func (o *CardChannelProperties) UnsetFailureReturnUrl()

UnsetFailureReturnUrl ensures that no value is present for FailureReturnUrl, not even an explicit nil

func (*CardChannelProperties) UnsetSkipThreeDSecure

func (o *CardChannelProperties) UnsetSkipThreeDSecure()

UnsetSkipThreeDSecure ensures that no value is present for SkipThreeDSecure, not even an explicit nil

func (*CardChannelProperties) UnsetSuccessReturnUrl

func (o *CardChannelProperties) UnsetSuccessReturnUrl()

UnsetSuccessReturnUrl ensures that no value is present for SuccessReturnUrl, not even an explicit nil

type CardParameters

type CardParameters struct {
	Currency          string                         `json:"currency"`
	ChannelProperties NullableCardChannelProperties  `json:"channel_properties,omitempty"`
	CardInformation   *CardParametersCardInformation `json:"card_information,omitempty"`
}

CardParameters struct for CardParameters

func NewCardParameters

func NewCardParameters(currency string) *CardParameters

NewCardParameters instantiates a new CardParameters 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 NewCardParametersWithDefaults

func NewCardParametersWithDefaults() *CardParameters

NewCardParametersWithDefaults instantiates a new CardParameters 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 (*CardParameters) GetCardInformation

func (o *CardParameters) GetCardInformation() CardParametersCardInformation

GetCardInformation returns the CardInformation field value if set, zero value otherwise.

func (*CardParameters) GetCardInformationOk

func (o *CardParameters) GetCardInformationOk() (*CardParametersCardInformation, bool)

GetCardInformationOk returns a tuple with the CardInformation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CardParameters) GetChannelProperties

func (o *CardParameters) GetChannelProperties() CardChannelProperties

GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardParameters) GetChannelPropertiesOk

func (o *CardParameters) GetChannelPropertiesOk() (*CardChannelProperties, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CardParameters) GetCurrency

func (o *CardParameters) GetCurrency() string

GetCurrency returns the Currency field value

func (*CardParameters) GetCurrencyOk

func (o *CardParameters) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*CardParameters) HasCardInformation

func (o *CardParameters) HasCardInformation() bool

HasCardInformation returns a boolean if a field has been set.

func (*CardParameters) HasChannelProperties

func (o *CardParameters) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (CardParameters) MarshalJSON

func (o CardParameters) MarshalJSON() ([]byte, error)

func (*CardParameters) SetCardInformation

func (o *CardParameters) SetCardInformation(v CardParametersCardInformation)

SetCardInformation gets a reference to the given CardParametersCardInformation and assigns it to the CardInformation field.

func (*CardParameters) SetChannelProperties

func (o *CardParameters) SetChannelProperties(v CardChannelProperties)

SetChannelProperties gets a reference to the given NullableCardChannelProperties and assigns it to the ChannelProperties field.

func (*CardParameters) SetChannelPropertiesNil

func (o *CardParameters) SetChannelPropertiesNil()

SetChannelPropertiesNil sets the value for ChannelProperties to be an explicit nil

func (*CardParameters) SetCurrency

func (o *CardParameters) SetCurrency(v string)

SetCurrency sets field value

func (CardParameters) ToMap

func (o CardParameters) ToMap() (map[string]interface{}, error)

func (*CardParameters) UnsetChannelProperties

func (o *CardParameters) UnsetChannelProperties()

UnsetChannelProperties ensures that no value is present for ChannelProperties, not even an explicit nil

type CardParametersCardInformation

type CardParametersCardInformation struct {
	CardNumber string `json:"card_number"`
	// Card expiry month in MM format
	ExpiryMonth string `json:"expiry_month"`
	// Card expiry month in YY format
	ExpiryYear string `json:"expiry_year"`
	// Cardholder name
	CardholderName NullableString `json:"cardholder_name,omitempty"`
	Cvv            NullableString `json:"cvv,omitempty"`
}

CardParametersCardInformation Card Information

func NewCardParametersCardInformation

func NewCardParametersCardInformation(cardNumber string, expiryMonth string, expiryYear string) *CardParametersCardInformation

NewCardParametersCardInformation instantiates a new CardParametersCardInformation 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 NewCardParametersCardInformationWithDefaults

func NewCardParametersCardInformationWithDefaults() *CardParametersCardInformation

NewCardParametersCardInformationWithDefaults instantiates a new CardParametersCardInformation 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 (*CardParametersCardInformation) GetCardNumber

func (o *CardParametersCardInformation) GetCardNumber() string

GetCardNumber returns the CardNumber field value

func (*CardParametersCardInformation) GetCardNumberOk

func (o *CardParametersCardInformation) GetCardNumberOk() (*string, bool)

GetCardNumberOk returns a tuple with the CardNumber field value and a boolean to check if the value has been set.

func (*CardParametersCardInformation) GetCardholderName

func (o *CardParametersCardInformation) GetCardholderName() string

GetCardholderName returns the CardholderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardParametersCardInformation) GetCardholderNameOk

func (o *CardParametersCardInformation) GetCardholderNameOk() (*string, bool)

GetCardholderNameOk returns a tuple with the CardholderName 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 (*CardParametersCardInformation) GetCvv

GetCvv returns the Cvv field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardParametersCardInformation) GetCvvOk

func (o *CardParametersCardInformation) GetCvvOk() (*string, bool)

GetCvvOk returns a tuple with the Cvv 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 (*CardParametersCardInformation) GetExpiryMonth

func (o *CardParametersCardInformation) GetExpiryMonth() string

GetExpiryMonth returns the ExpiryMonth field value

func (*CardParametersCardInformation) GetExpiryMonthOk

func (o *CardParametersCardInformation) GetExpiryMonthOk() (*string, bool)

GetExpiryMonthOk returns a tuple with the ExpiryMonth field value and a boolean to check if the value has been set.

func (*CardParametersCardInformation) GetExpiryYear

func (o *CardParametersCardInformation) GetExpiryYear() string

GetExpiryYear returns the ExpiryYear field value

func (*CardParametersCardInformation) GetExpiryYearOk

func (o *CardParametersCardInformation) GetExpiryYearOk() (*string, bool)

GetExpiryYearOk returns a tuple with the ExpiryYear field value and a boolean to check if the value has been set.

func (*CardParametersCardInformation) HasCardholderName

func (o *CardParametersCardInformation) HasCardholderName() bool

HasCardholderName returns a boolean if a field has been set.

func (*CardParametersCardInformation) HasCvv

func (o *CardParametersCardInformation) HasCvv() bool

HasCvv returns a boolean if a field has been set.

func (CardParametersCardInformation) MarshalJSON

func (o CardParametersCardInformation) MarshalJSON() ([]byte, error)

func (*CardParametersCardInformation) SetCardNumber

func (o *CardParametersCardInformation) SetCardNumber(v string)

SetCardNumber sets field value

func (*CardParametersCardInformation) SetCardholderName

func (o *CardParametersCardInformation) SetCardholderName(v string)

SetCardholderName gets a reference to the given NullableString and assigns it to the CardholderName field.

func (*CardParametersCardInformation) SetCardholderNameNil

func (o *CardParametersCardInformation) SetCardholderNameNil()

SetCardholderNameNil sets the value for CardholderName to be an explicit nil

func (*CardParametersCardInformation) SetCvv

SetCvv gets a reference to the given NullableString and assigns it to the Cvv field.

func (*CardParametersCardInformation) SetCvvNil

func (o *CardParametersCardInformation) SetCvvNil()

SetCvvNil sets the value for Cvv to be an explicit nil

func (*CardParametersCardInformation) SetExpiryMonth

func (o *CardParametersCardInformation) SetExpiryMonth(v string)

SetExpiryMonth sets field value

func (*CardParametersCardInformation) SetExpiryYear

func (o *CardParametersCardInformation) SetExpiryYear(v string)

SetExpiryYear sets field value

func (CardParametersCardInformation) ToMap

func (o CardParametersCardInformation) ToMap() (map[string]interface{}, error)

func (*CardParametersCardInformation) UnsetCardholderName

func (o *CardParametersCardInformation) UnsetCardholderName()

UnsetCardholderName ensures that no value is present for CardholderName, not even an explicit nil

func (*CardParametersCardInformation) UnsetCvv

func (o *CardParametersCardInformation) UnsetCvv()

UnsetCvv ensures that no value is present for Cvv, not even an explicit nil

type CardVerificationResults

type CardVerificationResults struct {
	ThreeDSecure              NullableCardVerificationResultsThreeDSecure `json:"three_d_secure"`
	CvvResult                 NullableString                              `json:"cvv_result,omitempty"`
	AddressVerificationResult NullableString                              `json:"address_verification_result,omitempty"`
}

CardVerificationResults struct for CardVerificationResults

func NewCardVerificationResults

func NewCardVerificationResults(threeDSecure NullableCardVerificationResultsThreeDSecure) *CardVerificationResults

NewCardVerificationResults instantiates a new CardVerificationResults 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 NewCardVerificationResultsWithDefaults

func NewCardVerificationResultsWithDefaults() *CardVerificationResults

NewCardVerificationResultsWithDefaults instantiates a new CardVerificationResults 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 (*CardVerificationResults) GetAddressVerificationResult

func (o *CardVerificationResults) GetAddressVerificationResult() string

GetAddressVerificationResult returns the AddressVerificationResult field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardVerificationResults) GetAddressVerificationResultOk

func (o *CardVerificationResults) GetAddressVerificationResultOk() (*string, bool)

GetAddressVerificationResultOk returns a tuple with the AddressVerificationResult 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 (*CardVerificationResults) GetCvvResult

func (o *CardVerificationResults) GetCvvResult() string

GetCvvResult returns the CvvResult field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardVerificationResults) GetCvvResultOk

func (o *CardVerificationResults) GetCvvResultOk() (*string, bool)

GetCvvResultOk returns a tuple with the CvvResult 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 (*CardVerificationResults) GetThreeDSecure

GetThreeDSecure returns the ThreeDSecure field value If the value is explicit nil, the zero value for CardVerificationResultsThreeDSecure will be returned

func (*CardVerificationResults) GetThreeDSecureOk

GetThreeDSecureOk returns a tuple with the ThreeDSecure field value 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 (*CardVerificationResults) HasAddressVerificationResult

func (o *CardVerificationResults) HasAddressVerificationResult() bool

HasAddressVerificationResult returns a boolean if a field has been set.

func (*CardVerificationResults) HasCvvResult

func (o *CardVerificationResults) HasCvvResult() bool

HasCvvResult returns a boolean if a field has been set.

func (CardVerificationResults) MarshalJSON

func (o CardVerificationResults) MarshalJSON() ([]byte, error)

func (*CardVerificationResults) SetAddressVerificationResult

func (o *CardVerificationResults) SetAddressVerificationResult(v string)

SetAddressVerificationResult gets a reference to the given NullableString and assigns it to the AddressVerificationResult field.

func (*CardVerificationResults) SetAddressVerificationResultNil

func (o *CardVerificationResults) SetAddressVerificationResultNil()

SetAddressVerificationResultNil sets the value for AddressVerificationResult to be an explicit nil

func (*CardVerificationResults) SetCvvResult

func (o *CardVerificationResults) SetCvvResult(v string)

SetCvvResult gets a reference to the given NullableString and assigns it to the CvvResult field.

func (*CardVerificationResults) SetCvvResultNil

func (o *CardVerificationResults) SetCvvResultNil()

SetCvvResultNil sets the value for CvvResult to be an explicit nil

func (*CardVerificationResults) SetThreeDSecure

SetThreeDSecure sets field value

func (CardVerificationResults) ToMap

func (o CardVerificationResults) ToMap() (map[string]interface{}, error)

func (*CardVerificationResults) UnsetAddressVerificationResult

func (o *CardVerificationResults) UnsetAddressVerificationResult()

UnsetAddressVerificationResult ensures that no value is present for AddressVerificationResult, not even an explicit nil

func (*CardVerificationResults) UnsetCvvResult

func (o *CardVerificationResults) UnsetCvvResult()

UnsetCvvResult ensures that no value is present for CvvResult, not even an explicit nil

type CardVerificationResultsThreeDSecure

type CardVerificationResultsThreeDSecure struct {
	ThreeDSecureFlow         NullableString `json:"three_d_secure_flow,omitempty"`
	EciCode                  NullableString `json:"eci_code,omitempty"`
	ThreeDSecureResult       NullableString `json:"three_d_secure_result,omitempty"`
	ThreeDSecureResultReason NullableString `json:"three_d_secure_result_reason,omitempty"`
	ThreeDSecureVersion      NullableString `json:"three_d_secure_version,omitempty"`
}

CardVerificationResultsThreeDSecure struct for CardVerificationResultsThreeDSecure

func NewCardVerificationResultsThreeDSecure

func NewCardVerificationResultsThreeDSecure() *CardVerificationResultsThreeDSecure

NewCardVerificationResultsThreeDSecure instantiates a new CardVerificationResultsThreeDSecure 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 NewCardVerificationResultsThreeDSecureWithDefaults

func NewCardVerificationResultsThreeDSecureWithDefaults() *CardVerificationResultsThreeDSecure

NewCardVerificationResultsThreeDSecureWithDefaults instantiates a new CardVerificationResultsThreeDSecure 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 (*CardVerificationResultsThreeDSecure) GetEciCode

GetEciCode returns the EciCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardVerificationResultsThreeDSecure) GetEciCodeOk

func (o *CardVerificationResultsThreeDSecure) GetEciCodeOk() (*string, bool)

GetEciCodeOk returns a tuple with the EciCode 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 (*CardVerificationResultsThreeDSecure) GetThreeDSecureFlow

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureFlow() string

GetThreeDSecureFlow returns the ThreeDSecureFlow field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureFlowOk

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureFlowOk() (*string, bool)

GetThreeDSecureFlowOk returns a tuple with the ThreeDSecureFlow 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 (*CardVerificationResultsThreeDSecure) GetThreeDSecureResult

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureResult() string

GetThreeDSecureResult returns the ThreeDSecureResult field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureResultOk

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureResultOk() (*string, bool)

GetThreeDSecureResultOk returns a tuple with the ThreeDSecureResult 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 (*CardVerificationResultsThreeDSecure) GetThreeDSecureResultReason

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureResultReason() string

GetThreeDSecureResultReason returns the ThreeDSecureResultReason field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureResultReasonOk

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureResultReasonOk() (*string, bool)

GetThreeDSecureResultReasonOk returns a tuple with the ThreeDSecureResultReason 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 (*CardVerificationResultsThreeDSecure) GetThreeDSecureVersion

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureVersion() string

GetThreeDSecureVersion returns the ThreeDSecureVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureVersionOk

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureVersionOk() (*string, bool)

GetThreeDSecureVersionOk returns a tuple with the ThreeDSecureVersion 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 (*CardVerificationResultsThreeDSecure) HasEciCode

func (o *CardVerificationResultsThreeDSecure) HasEciCode() bool

HasEciCode returns a boolean if a field has been set.

func (*CardVerificationResultsThreeDSecure) HasThreeDSecureFlow

func (o *CardVerificationResultsThreeDSecure) HasThreeDSecureFlow() bool

HasThreeDSecureFlow returns a boolean if a field has been set.

func (*CardVerificationResultsThreeDSecure) HasThreeDSecureResult

func (o *CardVerificationResultsThreeDSecure) HasThreeDSecureResult() bool

HasThreeDSecureResult returns a boolean if a field has been set.

func (*CardVerificationResultsThreeDSecure) HasThreeDSecureResultReason

func (o *CardVerificationResultsThreeDSecure) HasThreeDSecureResultReason() bool

HasThreeDSecureResultReason returns a boolean if a field has been set.

func (*CardVerificationResultsThreeDSecure) HasThreeDSecureVersion

func (o *CardVerificationResultsThreeDSecure) HasThreeDSecureVersion() bool

HasThreeDSecureVersion returns a boolean if a field has been set.

func (CardVerificationResultsThreeDSecure) MarshalJSON

func (o CardVerificationResultsThreeDSecure) MarshalJSON() ([]byte, error)

func (*CardVerificationResultsThreeDSecure) SetEciCode

SetEciCode gets a reference to the given NullableString and assigns it to the EciCode field.

func (*CardVerificationResultsThreeDSecure) SetEciCodeNil

func (o *CardVerificationResultsThreeDSecure) SetEciCodeNil()

SetEciCodeNil sets the value for EciCode to be an explicit nil

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureFlow

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureFlow(v string)

SetThreeDSecureFlow gets a reference to the given NullableString and assigns it to the ThreeDSecureFlow field.

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureFlowNil

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureFlowNil()

SetThreeDSecureFlowNil sets the value for ThreeDSecureFlow to be an explicit nil

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureResult

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureResult(v string)

SetThreeDSecureResult gets a reference to the given NullableString and assigns it to the ThreeDSecureResult field.

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureResultNil

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureResultNil()

SetThreeDSecureResultNil sets the value for ThreeDSecureResult to be an explicit nil

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureResultReason

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureResultReason(v string)

SetThreeDSecureResultReason gets a reference to the given NullableString and assigns it to the ThreeDSecureResultReason field.

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureResultReasonNil

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureResultReasonNil()

SetThreeDSecureResultReasonNil sets the value for ThreeDSecureResultReason to be an explicit nil

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureVersion

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureVersion(v string)

SetThreeDSecureVersion gets a reference to the given NullableString and assigns it to the ThreeDSecureVersion field.

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureVersionNil

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureVersionNil()

SetThreeDSecureVersionNil sets the value for ThreeDSecureVersion to be an explicit nil

func (CardVerificationResultsThreeDSecure) ToMap

func (o CardVerificationResultsThreeDSecure) ToMap() (map[string]interface{}, error)

func (*CardVerificationResultsThreeDSecure) UnsetEciCode

func (o *CardVerificationResultsThreeDSecure) UnsetEciCode()

UnsetEciCode ensures that no value is present for EciCode, not even an explicit nil

func (*CardVerificationResultsThreeDSecure) UnsetThreeDSecureFlow

func (o *CardVerificationResultsThreeDSecure) UnsetThreeDSecureFlow()

UnsetThreeDSecureFlow ensures that no value is present for ThreeDSecureFlow, not even an explicit nil

func (*CardVerificationResultsThreeDSecure) UnsetThreeDSecureResult

func (o *CardVerificationResultsThreeDSecure) UnsetThreeDSecureResult()

UnsetThreeDSecureResult ensures that no value is present for ThreeDSecureResult, not even an explicit nil

func (*CardVerificationResultsThreeDSecure) UnsetThreeDSecureResultReason

func (o *CardVerificationResultsThreeDSecure) UnsetThreeDSecureResultReason()

UnsetThreeDSecureResultReason ensures that no value is present for ThreeDSecureResultReason, not even an explicit nil

func (*CardVerificationResultsThreeDSecure) UnsetThreeDSecureVersion

func (o *CardVerificationResultsThreeDSecure) UnsetThreeDSecureVersion()

UnsetThreeDSecureVersion ensures that no value is present for ThreeDSecureVersion, not even an explicit nil

type CreatePaymentMethod409Response

type CreatePaymentMethod409Response struct {
	ErrorCode *string `json:"error_code,omitempty"`
	Message   *string `json:"message,omitempty"`
}

CreatePaymentMethod409Response struct for CreatePaymentMethod409Response

func NewCreatePaymentMethod409Response

func NewCreatePaymentMethod409Response() *CreatePaymentMethod409Response

NewCreatePaymentMethod409Response instantiates a new CreatePaymentMethod409Response 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 NewCreatePaymentMethod409ResponseWithDefaults

func NewCreatePaymentMethod409ResponseWithDefaults() *CreatePaymentMethod409Response

NewCreatePaymentMethod409ResponseWithDefaults instantiates a new CreatePaymentMethod409Response 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 (*CreatePaymentMethod409Response) GetErrorCode

func (o *CreatePaymentMethod409Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*CreatePaymentMethod409Response) GetErrorCodeOk

func (o *CreatePaymentMethod409Response) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreatePaymentMethod409Response) GetMessage

func (o *CreatePaymentMethod409Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreatePaymentMethod409Response) GetMessageOk

func (o *CreatePaymentMethod409Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreatePaymentMethod409Response) HasErrorCode

func (o *CreatePaymentMethod409Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*CreatePaymentMethod409Response) HasMessage

func (o *CreatePaymentMethod409Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CreatePaymentMethod409Response) MarshalJSON

func (o CreatePaymentMethod409Response) MarshalJSON() ([]byte, error)

func (*CreatePaymentMethod409Response) SetErrorCode

func (o *CreatePaymentMethod409Response) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*CreatePaymentMethod409Response) SetMessage

func (o *CreatePaymentMethod409Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (CreatePaymentMethod409Response) ToMap

func (o CreatePaymentMethod409Response) ToMap() (map[string]interface{}, error)

type CreatePaymentMethod503Response

type CreatePaymentMethod503Response struct {
	ErrorCode *string `json:"error_code,omitempty"`
	Message   *string `json:"message,omitempty"`
}

CreatePaymentMethod503Response struct for CreatePaymentMethod503Response

func NewCreatePaymentMethod503Response

func NewCreatePaymentMethod503Response() *CreatePaymentMethod503Response

NewCreatePaymentMethod503Response instantiates a new CreatePaymentMethod503Response 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 NewCreatePaymentMethod503ResponseWithDefaults

func NewCreatePaymentMethod503ResponseWithDefaults() *CreatePaymentMethod503Response

NewCreatePaymentMethod503ResponseWithDefaults instantiates a new CreatePaymentMethod503Response 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 (*CreatePaymentMethod503Response) GetErrorCode

func (o *CreatePaymentMethod503Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*CreatePaymentMethod503Response) GetErrorCodeOk

func (o *CreatePaymentMethod503Response) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreatePaymentMethod503Response) GetMessage

func (o *CreatePaymentMethod503Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreatePaymentMethod503Response) GetMessageOk

func (o *CreatePaymentMethod503Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreatePaymentMethod503Response) HasErrorCode

func (o *CreatePaymentMethod503Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*CreatePaymentMethod503Response) HasMessage

func (o *CreatePaymentMethod503Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CreatePaymentMethod503Response) MarshalJSON

func (o CreatePaymentMethod503Response) MarshalJSON() ([]byte, error)

func (*CreatePaymentMethod503Response) SetErrorCode

func (o *CreatePaymentMethod503Response) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*CreatePaymentMethod503Response) SetMessage

func (o *CreatePaymentMethod503Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (CreatePaymentMethod503Response) ToMap

func (o CreatePaymentMethod503Response) ToMap() (map[string]interface{}, error)

type DirectDebit

type DirectDebit struct {
	ChannelCode       DirectDebitChannelCode               `json:"channel_code"`
	ChannelProperties NullableDirectDebitChannelProperties `json:"channel_properties"`
	Type              DirectDebitType                      `json:"type"`
	BankAccount       NullableDirectDebitBankAccount       `json:"bank_account,omitempty"`
	DebitCard         NullableDirectDebitDebitCard         `json:"debit_card,omitempty"`
}

DirectDebit Direct Debit Payment Method Details

func NewDirectDebit

func NewDirectDebit(channelCode DirectDebitChannelCode, channelProperties NullableDirectDebitChannelProperties, type_ 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) GetBankAccount

func (o *DirectDebit) GetBankAccount() DirectDebitBankAccount

GetBankAccount returns the BankAccount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebit) GetBankAccountOk

func (o *DirectDebit) GetBankAccountOk() (*DirectDebitBankAccount, bool)

GetBankAccountOk returns a tuple with the BankAccount 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 (*DirectDebit) GetChannelCode

func (o *DirectDebit) GetChannelCode() DirectDebitChannelCode

GetChannelCode returns the ChannelCode field value

func (*DirectDebit) GetChannelCodeOk

func (o *DirectDebit) GetChannelCodeOk() (*DirectDebitChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode field value and a boolean to check if the value has been set.

func (*DirectDebit) GetChannelProperties

func (o *DirectDebit) GetChannelProperties() DirectDebitChannelProperties

GetChannelProperties returns the ChannelProperties field value If the value is explicit nil, the zero value for DirectDebitChannelProperties will be returned

func (*DirectDebit) GetChannelPropertiesOk

func (o *DirectDebit) GetChannelPropertiesOk() (*DirectDebitChannelProperties, bool)

GetChannelPropertiesOk returns a tuple with the ChannelProperties field value 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 (*DirectDebit) GetDebitCard

func (o *DirectDebit) GetDebitCard() DirectDebitDebitCard

GetDebitCard returns the DebitCard field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebit) GetDebitCardOk

func (o *DirectDebit) GetDebitCardOk() (*DirectDebitDebitCard, bool)

GetDebitCardOk returns a tuple with the DebitCard 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 (*DirectDebit) GetType

func (o *DirectDebit) GetType() DirectDebitType

GetType returns the Type field value

func (*DirectDebit) GetTypeOk

func (o *DirectDebit) GetTypeOk() (*DirectDebitType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*DirectDebit) HasBankAccount

func (o *DirectDebit) HasBankAccount() bool

HasBankAccount returns a boolean if a field has been set.

func (*DirectDebit) HasDebitCard

func (o *DirectDebit) HasDebitCard() bool

HasDebitCard returns a boolean if a field has been set.

func (DirectDebit) MarshalJSON

func (o DirectDebit) MarshalJSON() ([]byte, error)

func (*DirectDebit) SetBankAccount

func (o *DirectDebit) SetBankAccount(v DirectDebitBankAccount)

SetBankAccount gets a reference to the given NullableDirectDebitBankAccount and assigns it to the BankAccount field.

func (*DirectDebit) SetBankAccountNil

func (o *DirectDebit) SetBankAccountNil()

SetBankAccountNil sets the value for BankAccount to be an explicit nil

func (*DirectDebit) SetChannelCode

func (o *DirectDebit) SetChannelCode(v DirectDebitChannelCode)

SetChannelCode sets field value

func (*DirectDebit) SetChannelProperties

func (o *DirectDebit) SetChannelProperties(v DirectDebitChannelProperties)

SetChannelProperties sets field value

func (*DirectDebit) SetDebitCard

func (o *DirectDebit) SetDebitCard(v DirectDebitDebitCard)

SetDebitCard gets a reference to the given NullableDirectDebitDebitCard and assigns it to the DebitCard field.

func (*DirectDebit) SetDebitCardNil

func (o *DirectDebit) SetDebitCardNil()

SetDebitCardNil sets the value for DebitCard to be an explicit nil

func (*DirectDebit) SetType

func (o *DirectDebit) SetType(v DirectDebitType)

SetType sets field value

func (DirectDebit) ToMap

func (o DirectDebit) ToMap() (map[string]interface{}, error)

func (*DirectDebit) UnsetBankAccount

func (o *DirectDebit) UnsetBankAccount()

UnsetBankAccount ensures that no value is present for BankAccount, not even an explicit nil

func (*DirectDebit) UnsetDebitCard

func (o *DirectDebit) UnsetDebitCard()

UnsetDebitCard ensures that no value is present for DebitCard, not even an explicit nil

type DirectDebitAllOf

type DirectDebitAllOf struct {
	Type        DirectDebitType                `json:"type"`
	BankAccount NullableDirectDebitBankAccount `json:"bank_account,omitempty"`
	DebitCard   NullableDirectDebitDebitCard   `json:"debit_card,omitempty"`
}

DirectDebitAllOf struct for DirectDebitAllOf

func NewDirectDebitAllOf

func NewDirectDebitAllOf(type_ DirectDebitType) *DirectDebitAllOf

NewDirectDebitAllOf instantiates a new DirectDebitAllOf 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 NewDirectDebitAllOfWithDefaults

func NewDirectDebitAllOfWithDefaults() *DirectDebitAllOf

NewDirectDebitAllOfWithDefaults instantiates a new DirectDebitAllOf 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 (*DirectDebitAllOf) GetBankAccount

func (o *DirectDebitAllOf) GetBankAccount() DirectDebitBankAccount

GetBankAccount returns the BankAccount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitAllOf) GetBankAccountOk

func (o *DirectDebitAllOf) GetBankAccountOk() (*DirectDebitBankAccount, bool)

GetBankAccountOk returns a tuple with the BankAccount 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 (*DirectDebitAllOf) GetDebitCard

func (o *DirectDebitAllOf) GetDebitCard() DirectDebitDebitCard

GetDebitCard returns the DebitCard field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitAllOf) GetDebitCardOk

func (o *DirectDebitAllOf) GetDebitCardOk() (*DirectDebitDebitCard, bool)

GetDebitCardOk returns a tuple with the DebitCard 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 (*DirectDebitAllOf) GetType

func (o *DirectDebitAllOf) GetType() DirectDebitType

GetType returns the Type field value

func (*DirectDebitAllOf) GetTypeOk

func (o *DirectDebitAllOf) GetTypeOk() (*DirectDebitType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*DirectDebitAllOf) HasBankAccount

func (o *DirectDebitAllOf) HasBankAccount() bool

HasBankAccount returns a boolean if a field has been set.

func (*DirectDebitAllOf) HasDebitCard

func (o *DirectDebitAllOf) HasDebitCard() bool

HasDebitCard returns a boolean if a field has been set.

func (DirectDebitAllOf) MarshalJSON

func (o DirectDebitAllOf) MarshalJSON() ([]byte, error)

func (*DirectDebitAllOf) SetBankAccount

func (o *DirectDebitAllOf) SetBankAccount(v DirectDebitBankAccount)

SetBankAccount gets a reference to the given NullableDirectDebitBankAccount and assigns it to the BankAccount field.

func (*DirectDebitAllOf) SetBankAccountNil

func (o *DirectDebitAllOf) SetBankAccountNil()

SetBankAccountNil sets the value for BankAccount to be an explicit nil

func (*DirectDebitAllOf) SetDebitCard

func (o *DirectDebitAllOf) SetDebitCard(v DirectDebitDebitCard)

SetDebitCard gets a reference to the given NullableDirectDebitDebitCard and assigns it to the DebitCard field.

func (*DirectDebitAllOf) SetDebitCardNil

func (o *DirectDebitAllOf) SetDebitCardNil()

SetDebitCardNil sets the value for DebitCard to be an explicit nil

func (*DirectDebitAllOf) SetType

func (o *DirectDebitAllOf) SetType(v DirectDebitType)

SetType sets field value

func (DirectDebitAllOf) ToMap

func (o DirectDebitAllOf) ToMap() (map[string]interface{}, error)

func (*DirectDebitAllOf) UnsetBankAccount

func (o *DirectDebitAllOf) UnsetBankAccount()

UnsetBankAccount ensures that no value is present for BankAccount, not even an explicit nil

func (*DirectDebitAllOf) UnsetDebitCard

func (o *DirectDebitAllOf) UnsetDebitCard()

UnsetDebitCard ensures that no value is present for DebitCard, not even an explicit nil

type DirectDebitBankAccount

type DirectDebitBankAccount struct {
	MaskedBankAccountNumber NullableString `json:"masked_bank_account_number,omitempty"`
	BankAccountHash         NullableString `json:"bank_account_hash,omitempty"`
	// Mobile number of the customer registered to the partner channel
	MobileNumber NullableString `json:"mobile_number,omitempty"`
	// Identity number of the customer registered to the partner channel
	IdentityDocumentNumber NullableString `json:"identity_document_number,omitempty"`
}

DirectDebitBankAccount struct for DirectDebitBankAccount

func NewDirectDebitBankAccount

func NewDirectDebitBankAccount() *DirectDebitBankAccount

NewDirectDebitBankAccount instantiates a new DirectDebitBankAccount 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 NewDirectDebitBankAccountWithDefaults

func NewDirectDebitBankAccountWithDefaults() *DirectDebitBankAccount

NewDirectDebitBankAccountWithDefaults instantiates a new DirectDebitBankAccount 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 (*DirectDebitBankAccount) GetBankAccountHash

func (o *DirectDebitBankAccount) GetBankAccountHash() string

GetBankAccountHash returns the BankAccountHash field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitBankAccount) GetBankAccountHashOk

func (o *DirectDebitBankAccount) GetBankAccountHashOk() (*string, bool)

GetBankAccountHashOk returns a tuple with the BankAccountHash 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 (*DirectDebitBankAccount) GetIdentityDocumentNumber

func (o *DirectDebitBankAccount) GetIdentityDocumentNumber() string

GetIdentityDocumentNumber returns the IdentityDocumentNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitBankAccount) GetIdentityDocumentNumberOk

func (o *DirectDebitBankAccount) GetIdentityDocumentNumberOk() (*string, bool)

GetIdentityDocumentNumberOk returns a tuple with the IdentityDocumentNumber 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 (*DirectDebitBankAccount) GetMaskedBankAccountNumber

func (o *DirectDebitBankAccount) GetMaskedBankAccountNumber() string

GetMaskedBankAccountNumber returns the MaskedBankAccountNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitBankAccount) GetMaskedBankAccountNumberOk

func (o *DirectDebitBankAccount) GetMaskedBankAccountNumberOk() (*string, bool)

GetMaskedBankAccountNumberOk returns a tuple with the MaskedBankAccountNumber 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 (*DirectDebitBankAccount) GetMobileNumber

func (o *DirectDebitBankAccount) GetMobileNumber() string

GetMobileNumber returns the MobileNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitBankAccount) GetMobileNumberOk

func (o *DirectDebitBankAccount) 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 (*DirectDebitBankAccount) HasBankAccountHash

func (o *DirectDebitBankAccount) HasBankAccountHash() bool

HasBankAccountHash returns a boolean if a field has been set.

func (*DirectDebitBankAccount) HasIdentityDocumentNumber

func (o *DirectDebitBankAccount) HasIdentityDocumentNumber() bool

HasIdentityDocumentNumber returns a boolean if a field has been set.

func (*DirectDebitBankAccount) HasMaskedBankAccountNumber

func (o *DirectDebitBankAccount) HasMaskedBankAccountNumber() bool

HasMaskedBankAccountNumber returns a boolean if a field has been set.

func (*DirectDebitBankAccount) HasMobileNumber

func (o *DirectDebitBankAccount) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (DirectDebitBankAccount) MarshalJSON

func (o DirectDebitBankAccount) MarshalJSON() ([]byte, error)

func (*DirectDebitBankAccount) SetBankAccountHash

func (o *DirectDebitBankAccount) SetBankAccountHash(v string)

SetBankAccountHash gets a reference to the given NullableString and assigns it to the BankAccountHash field.

func (*DirectDebitBankAccount) SetBankAccountHashNil

func (o *DirectDebitBankAccount) SetBankAccountHashNil()

SetBankAccountHashNil sets the value for BankAccountHash to be an explicit nil

func (*DirectDebitBankAccount) SetIdentityDocumentNumber

func (o *DirectDebitBankAccount) SetIdentityDocumentNumber(v string)

SetIdentityDocumentNumber gets a reference to the given NullableString and assigns it to the IdentityDocumentNumber field.

func (*DirectDebitBankAccount) SetIdentityDocumentNumberNil

func (o *DirectDebitBankAccount) SetIdentityDocumentNumberNil()

SetIdentityDocumentNumberNil sets the value for IdentityDocumentNumber to be an explicit nil

func (*DirectDebitBankAccount) SetMaskedBankAccountNumber

func (o *DirectDebitBankAccount) SetMaskedBankAccountNumber(v string)

SetMaskedBankAccountNumber gets a reference to the given NullableString and assigns it to the MaskedBankAccountNumber field.

func (*DirectDebitBankAccount) SetMaskedBankAccountNumberNil

func (o *DirectDebitBankAccount) SetMaskedBankAccountNumberNil()

SetMaskedBankAccountNumberNil sets the value for MaskedBankAccountNumber to be an explicit nil

func (*DirectDebitBankAccount) SetMobileNumber

func (o *DirectDebitBankAccount) SetMobileNumber(v string)

SetMobileNumber gets a reference to the given NullableString and assigns it to the MobileNumber field.

func (*DirectDebitBankAccount) SetMobileNumberNil

func (o *DirectDebitBankAccount) SetMobileNumberNil()

SetMobileNumberNil sets the value for MobileNumber to be an explicit nil

func (DirectDebitBankAccount) ToMap

func (o DirectDebitBankAccount) ToMap() (map[string]interface{}, error)

func (*DirectDebitBankAccount) UnsetBankAccountHash

func (o *DirectDebitBankAccount) UnsetBankAccountHash()

UnsetBankAccountHash ensures that no value is present for BankAccountHash, not even an explicit nil

func (*DirectDebitBankAccount) UnsetIdentityDocumentNumber

func (o *DirectDebitBankAccount) UnsetIdentityDocumentNumber()

UnsetIdentityDocumentNumber ensures that no value is present for IdentityDocumentNumber, not even an explicit nil

func (*DirectDebitBankAccount) UnsetMaskedBankAccountNumber

func (o *DirectDebitBankAccount) UnsetMaskedBankAccountNumber()

UnsetMaskedBankAccountNumber ensures that no value is present for MaskedBankAccountNumber, not even an explicit nil

func (*DirectDebitBankAccount) UnsetMobileNumber

func (o *DirectDebitBankAccount) UnsetMobileNumber()

UnsetMobileNumber ensures that no value is present for MobileNumber, not even an explicit nil

type DirectDebitChannelCode

type DirectDebitChannelCode string

DirectDebitChannelCode Direct Debit Channel Code

const (
	DIRECTDEBITCHANNELCODE_BCA_KLIKPAY                  DirectDebitChannelCode = "BCA_KLIKPAY"
	DIRECTDEBITCHANNELCODE_BCA_ONEKLIK                  DirectDebitChannelCode = "BCA_ONEKLIK"
	DIRECTDEBITCHANNELCODE_BDO                          DirectDebitChannelCode = "BDO"
	DIRECTDEBITCHANNELCODE_BPI                          DirectDebitChannelCode = "BPI"
	DIRECTDEBITCHANNELCODE_BRI                          DirectDebitChannelCode = "BRI"
	DIRECTDEBITCHANNELCODE_BNI                          DirectDebitChannelCode = "BNI"
	DIRECTDEBITCHANNELCODE_CHINABANK                    DirectDebitChannelCode = "CHINABANK"
	DIRECTDEBITCHANNELCODE_CIMBNIAGA                    DirectDebitChannelCode = "CIMBNIAGA"
	DIRECTDEBITCHANNELCODE_MTB                          DirectDebitChannelCode = "MTB"
	DIRECTDEBITCHANNELCODE_RCBC                         DirectDebitChannelCode = "RCBC"
	DIRECTDEBITCHANNELCODE_UBP                          DirectDebitChannelCode = "UBP"
	DIRECTDEBITCHANNELCODE_MANDIRI                      DirectDebitChannelCode = "MANDIRI"
	DIRECTDEBITCHANNELCODE_BBL                          DirectDebitChannelCode = "BBL"
	DIRECTDEBITCHANNELCODE_SCB                          DirectDebitChannelCode = "SCB"
	DIRECTDEBITCHANNELCODE_KTB                          DirectDebitChannelCode = "KTB"
	DIRECTDEBITCHANNELCODE_BAY                          DirectDebitChannelCode = "BAY"
	DIRECTDEBITCHANNELCODE_KBANK_MB                     DirectDebitChannelCode = "KBANK_MB"
	DIRECTDEBITCHANNELCODE_BAY_MB                       DirectDebitChannelCode = "BAY_MB"
	DIRECTDEBITCHANNELCODE_KTB_MB                       DirectDebitChannelCode = "KTB_MB"
	DIRECTDEBITCHANNELCODE_BBL_MB                       DirectDebitChannelCode = "BBL_MB"
	DIRECTDEBITCHANNELCODE_SCB_MB                       DirectDebitChannelCode = "SCB_MB"
	DIRECTDEBITCHANNELCODE_BDO_EPAY                     DirectDebitChannelCode = "BDO_EPAY"
	DIRECTDEBITCHANNELCODE_AUTODEBIT_UBP                DirectDebitChannelCode = "AUTODEBIT_UBP"
	DIRECTDEBITCHANNELCODE_AFFIN_FPX                    DirectDebitChannelCode = "AFFIN_FPX"
	DIRECTDEBITCHANNELCODE_AGRO_FPX                     DirectDebitChannelCode = "AGRO_FPX"
	DIRECTDEBITCHANNELCODE_ALLIANCE_FPX                 DirectDebitChannelCode = "ALLIANCE_FPX"
	DIRECTDEBITCHANNELCODE_AMBANK_FPX                   DirectDebitChannelCode = "AMBANK_FPX"
	DIRECTDEBITCHANNELCODE_ISLAM_FPX                    DirectDebitChannelCode = "ISLAM_FPX"
	DIRECTDEBITCHANNELCODE_MUAMALAT_FPX                 DirectDebitChannelCode = "MUAMALAT_FPX"
	DIRECTDEBITCHANNELCODE_BOC_FPX                      DirectDebitChannelCode = "BOC_FPX"
	DIRECTDEBITCHANNELCODE_RAKYAT_FPX                   DirectDebitChannelCode = "RAKYAT_FPX"
	DIRECTDEBITCHANNELCODE_BSN_FPX                      DirectDebitChannelCode = "BSN_FPX"
	DIRECTDEBITCHANNELCODE_CIMB_FPX                     DirectDebitChannelCode = "CIMB_FPX"
	DIRECTDEBITCHANNELCODE_HLB_FPX                      DirectDebitChannelCode = "HLB_FPX"
	DIRECTDEBITCHANNELCODE_HSBC_FPX                     DirectDebitChannelCode = "HSBC_FPX"
	DIRECTDEBITCHANNELCODE_KFH_FPX                      DirectDebitChannelCode = "KFH_FPX"
	DIRECTDEBITCHANNELCODE_MAYB2_E_FPX                  DirectDebitChannelCode = "MAYB2E_FPX"
	DIRECTDEBITCHANNELCODE_MAYB2_U_FPX                  DirectDebitChannelCode = "MAYB2U_FPX"
	DIRECTDEBITCHANNELCODE_OCBC_FPX                     DirectDebitChannelCode = "OCBC_FPX"
	DIRECTDEBITCHANNELCODE_PUBLIC_FPX                   DirectDebitChannelCode = "PUBLIC_FPX"
	DIRECTDEBITCHANNELCODE_RHB_FPX                      DirectDebitChannelCode = "RHB_FPX"
	DIRECTDEBITCHANNELCODE_SCH_FPX                      DirectDebitChannelCode = "SCH_FPX"
	DIRECTDEBITCHANNELCODE_UOB_FPX                      DirectDebitChannelCode = "UOB_FPX"
	DIRECTDEBITCHANNELCODE_AFFIN_FPX_BUSINESS           DirectDebitChannelCode = "AFFIN_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_AGRO_FPX_BUSINESS            DirectDebitChannelCode = "AGRO_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_ALLIANCE_FPX_BUSINESS        DirectDebitChannelCode = "ALLIANCE_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_AMBANK_FPX_BUSINESS          DirectDebitChannelCode = "AMBANK_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_ISLAM_FPX_BUSINESS           DirectDebitChannelCode = "ISLAM_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_MUAMALAT_FPX_BUSINESS        DirectDebitChannelCode = "MUAMALAT_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_BNP_FPX_BUSINESS             DirectDebitChannelCode = "BNP_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_CIMB_FPX_BUSINESS            DirectDebitChannelCode = "CIMB_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_CITIBANK_FPX_BUSINESS        DirectDebitChannelCode = "CITIBANK_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_DEUTSCHE_FPX_BUSINESS        DirectDebitChannelCode = "DEUTSCHE_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_HLB_FPX_BUSINESS             DirectDebitChannelCode = "HLB_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_HSBC_FPX_BUSINESS            DirectDebitChannelCode = "HSBC_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_RAKYAT_FPX_BUSINESS          DirectDebitChannelCode = "RAKYAT_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_KFH_FPX_BUSINESS             DirectDebitChannelCode = "KFH_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_MAYB2_E_FPX_BUSINESS         DirectDebitChannelCode = "MAYB2E_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_OCBC_FPX_BUSINESS            DirectDebitChannelCode = "OCBC_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_PUBLIC_FPX_BUSINESS          DirectDebitChannelCode = "PUBLIC_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_RHB_FPX_BUSINESS             DirectDebitChannelCode = "RHB_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_SCH_FPX_BUSINESS             DirectDebitChannelCode = "SCH_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_UOB_FPX_BUSINESS             DirectDebitChannelCode = "UOB_FPX_BUSINESS"
	DIRECTDEBITCHANNELCODE_XENDIT_ENUM_DEFAULT_FALLBACK DirectDebitChannelCode = "UNKNOWN_ENUM_VALUE"
)

List of DirectDebitChannelCode

func NewDirectDebitChannelCodeFromValue

func NewDirectDebitChannelCodeFromValue(v string) (*DirectDebitChannelCode, error)

NewDirectDebitChannelCodeFromValue returns a pointer to a valid DirectDebitChannelCode for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DirectDebitChannelCode) IsValid

func (v DirectDebitChannelCode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DirectDebitChannelCode) Ptr

Ptr returns reference to DirectDebitChannelCode value

func (DirectDebitChannelCode) String

func (v DirectDebitChannelCode) String() string

func (*DirectDebitChannelCode) UnmarshalJSON

func (v *DirectDebitChannelCode) UnmarshalJSON(src []byte) error

type DirectDebitChannelProperties

type DirectDebitChannelProperties struct {
	SuccessReturnUrl *string        `json:"success_return_url,omitempty"`
	FailureReturnUrl NullableString `json:"failure_return_url,omitempty"`
	// Mobile number of the customer registered to the partner channel
	MobileNumber NullableString `json:"mobile_number,omitempty"`
	// Last four digits of the debit card
	CardLastFour NullableString `json:"card_last_four,omitempty"`
	// Expiry month and year of the debit card (in MM/YY format)
	CardExpiry NullableString `json:"card_expiry,omitempty"`
	// Email address of the customer that is registered to the partner channel
	Email NullableString `json:"email,omitempty"`
	// Identity number of the customer registered to the partner channel
	IdentityDocumentNumber NullableString `json:"identity_document_number,omitempty"`
	RequireAuth            NullableBool   `json:"require_auth,omitempty"`
	// Account number of the customer
	AccountNumber NullableString `json:"account_number,omitempty"`
}

DirectDebitChannelProperties Direct Debit Channel Properties

func NewDirectDebitChannelProperties

func NewDirectDebitChannelProperties() *DirectDebitChannelProperties

NewDirectDebitChannelProperties instantiates a new DirectDebitChannelProperties 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 NewDirectDebitChannelPropertiesWithDefaults

func NewDirectDebitChannelPropertiesWithDefaults() *DirectDebitChannelProperties

NewDirectDebitChannelPropertiesWithDefaults instantiates a new DirectDebitChannelProperties 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 (*DirectDebitChannelProperties) GetAccountNumber

func (o *DirectDebitChannelProperties) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitChannelProperties) GetAccountNumberOk

func (o *DirectDebitChannelProperties) GetAccountNumberOk() (*string, bool)

GetAccountNumberOk returns a tuple with the AccountNumber 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 (*DirectDebitChannelProperties) GetCardExpiry

func (o *DirectDebitChannelProperties) GetCardExpiry() string

GetCardExpiry returns the CardExpiry field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitChannelProperties) GetCardExpiryOk

func (o *DirectDebitChannelProperties) GetCardExpiryOk() (*string, bool)

GetCardExpiryOk returns a tuple with the CardExpiry 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 (*DirectDebitChannelProperties) GetCardLastFour

func (o *DirectDebitChannelProperties) GetCardLastFour() string

GetCardLastFour returns the CardLastFour field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitChannelProperties) GetCardLastFourOk

func (o *DirectDebitChannelProperties) GetCardLastFourOk() (*string, bool)

GetCardLastFourOk returns a tuple with the CardLastFour 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 (*DirectDebitChannelProperties) GetEmail

func (o *DirectDebitChannelProperties) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitChannelProperties) GetEmailOk

func (o *DirectDebitChannelProperties) 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 (*DirectDebitChannelProperties) GetFailureReturnUrl

func (o *DirectDebitChannelProperties) GetFailureReturnUrl() string

GetFailureReturnUrl returns the FailureReturnUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitChannelProperties) GetFailureReturnUrlOk

func (o *DirectDebitChannelProperties) GetFailureReturnUrlOk() (*string, bool)

GetFailureReturnUrlOk returns a tuple with the FailureReturnUrl 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 (*DirectDebitChannelProperties) GetIdentityDocumentNumber

func (o *DirectDebitChannelProperties) GetIdentityDocumentNumber() string

GetIdentityDocumentNumber returns the IdentityDocumentNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitChannelProperties) GetIdentityDocumentNumberOk

func (o *DirectDebitChannelProperties) GetIdentityDocumentNumberOk() (*string, bool)

GetIdentityDocumentNumberOk returns a tuple with the IdentityDocumentNumber 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 (*DirectDebitChannelProperties) GetMobileNumber

func (o *DirectDebitChannelProperties) GetMobileNumber() string

GetMobileNumber returns the MobileNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitChannelProperties) GetMobileNumberOk

func (o *DirectDebitChannelProperties) 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 (*DirectDebitChannelProperties) GetRequireAuth

func (o *DirectDebitChannelProperties) GetRequireAuth() bool

GetRequireAuth returns the RequireAuth field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitChannelProperties) GetRequireAuthOk

func (o *DirectDebitChannelProperties) GetRequireAuthOk() (*bool, bool)

GetRequireAuthOk returns a tuple with the RequireAuth 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 (*DirectDebitChannelProperties) GetSuccessReturnUrl

func (o *DirectDebitChannelProperties) GetSuccessReturnUrl() string

GetSuccessReturnUrl returns the SuccessReturnUrl field value if set, zero value otherwise.

func (*DirectDebitChannelProperties) GetSuccessReturnUrlOk

func (o *DirectDebitChannelProperties) GetSuccessReturnUrlOk() (*string, bool)

GetSuccessReturnUrlOk returns a tuple with the SuccessReturnUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DirectDebitChannelProperties) HasAccountNumber

func (o *DirectDebitChannelProperties) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*DirectDebitChannelProperties) HasCardExpiry

func (o *DirectDebitChannelProperties) HasCardExpiry() bool

HasCardExpiry returns a boolean if a field has been set.

func (*DirectDebitChannelProperties) HasCardLastFour

func (o *DirectDebitChannelProperties) HasCardLastFour() bool

HasCardLastFour returns a boolean if a field has been set.

func (*DirectDebitChannelProperties) HasEmail

func (o *DirectDebitChannelProperties) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*DirectDebitChannelProperties) HasFailureReturnUrl

func (o *DirectDebitChannelProperties) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*DirectDebitChannelProperties) HasIdentityDocumentNumber

func (o *DirectDebitChannelProperties) HasIdentityDocumentNumber() bool

HasIdentityDocumentNumber returns a boolean if a field has been set.

func (*DirectDebitChannelProperties) HasMobileNumber

func (o *DirectDebitChannelProperties) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (*DirectDebitChannelProperties) HasRequireAuth

func (o *DirectDebitChannelProperties) HasRequireAuth() bool

HasRequireAuth returns a boolean if a field has been set.

func (*DirectDebitChannelProperties) HasSuccessReturnUrl

func (o *DirectDebitChannelProperties) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (DirectDebitChannelProperties) MarshalJSON

func (o DirectDebitChannelProperties) MarshalJSON() ([]byte, error)

func (*DirectDebitChannelProperties) SetAccountNumber

func (o *DirectDebitChannelProperties) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given NullableString and assigns it to the AccountNumber field.

func (*DirectDebitChannelProperties) SetAccountNumberNil

func (o *DirectDebitChannelProperties) SetAccountNumberNil()

SetAccountNumberNil sets the value for AccountNumber to be an explicit nil

func (*DirectDebitChannelProperties) SetCardExpiry

func (o *DirectDebitChannelProperties) SetCardExpiry(v string)

SetCardExpiry gets a reference to the given NullableString and assigns it to the CardExpiry field.

func (*DirectDebitChannelProperties) SetCardExpiryNil

func (o *DirectDebitChannelProperties) SetCardExpiryNil()

SetCardExpiryNil sets the value for CardExpiry to be an explicit nil

func (*DirectDebitChannelProperties) SetCardLastFour

func (o *DirectDebitChannelProperties) SetCardLastFour(v string)

SetCardLastFour gets a reference to the given NullableString and assigns it to the CardLastFour field.

func (*DirectDebitChannelProperties) SetCardLastFourNil

func (o *DirectDebitChannelProperties) SetCardLastFourNil()

SetCardLastFourNil sets the value for CardLastFour to be an explicit nil

func (*DirectDebitChannelProperties) SetEmail

func (o *DirectDebitChannelProperties) SetEmail(v string)

SetEmail gets a reference to the given NullableString and assigns it to the Email field.

func (*DirectDebitChannelProperties) SetEmailNil

func (o *DirectDebitChannelProperties) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*DirectDebitChannelProperties) SetFailureReturnUrl

func (o *DirectDebitChannelProperties) SetFailureReturnUrl(v string)

SetFailureReturnUrl gets a reference to the given NullableString and assigns it to the FailureReturnUrl field.

func (*DirectDebitChannelProperties) SetFailureReturnUrlNil

func (o *DirectDebitChannelProperties) SetFailureReturnUrlNil()

SetFailureReturnUrlNil sets the value for FailureReturnUrl to be an explicit nil

func (*DirectDebitChannelProperties) SetIdentityDocumentNumber

func (o *DirectDebitChannelProperties) SetIdentityDocumentNumber(v string)

SetIdentityDocumentNumber gets a reference to the given NullableString and assigns it to the IdentityDocumentNumber field.

func (*DirectDebitChannelProperties) SetIdentityDocumentNumberNil

func (o *DirectDebitChannelProperties) SetIdentityDocumentNumberNil()

SetIdentityDocumentNumberNil sets the value for IdentityDocumentNumber to be an explicit nil

func (*DirectDebitChannelProperties) SetMobileNumber

func (o *DirectDebitChannelProperties) SetMobileNumber(v string)

SetMobileNumber gets a reference to the given NullableString and assigns it to the MobileNumber field.

func (*DirectDebitChannelProperties) SetMobileNumberNil

func (o *DirectDebitChannelProperties) SetMobileNumberNil()

SetMobileNumberNil sets the value for MobileNumber to be an explicit nil

func (*DirectDebitChannelProperties) SetRequireAuth

func (o *DirectDebitChannelProperties) SetRequireAuth(v bool)

SetRequireAuth gets a reference to the given NullableBool and assigns it to the RequireAuth field.

func (*DirectDebitChannelProperties) SetRequireAuthNil

func (o *DirectDebitChannelProperties) SetRequireAuthNil()

SetRequireAuthNil sets the value for RequireAuth to be an explicit nil

func (*DirectDebitChannelProperties) SetSuccessReturnUrl

func (o *DirectDebitChannelProperties) SetSuccessReturnUrl(v string)

SetSuccessReturnUrl gets a reference to the given string and assigns it to the SuccessReturnUrl field.

func (DirectDebitChannelProperties) ToMap

func (o DirectDebitChannelProperties) ToMap() (map[string]interface{}, error)

func (*DirectDebitChannelProperties) UnsetAccountNumber

func (o *DirectDebitChannelProperties) UnsetAccountNumber()

UnsetAccountNumber ensures that no value is present for AccountNumber, not even an explicit nil

func (*DirectDebitChannelProperties) UnsetCardExpiry

func (o *DirectDebitChannelProperties) UnsetCardExpiry()

UnsetCardExpiry ensures that no value is present for CardExpiry, not even an explicit nil

func (*DirectDebitChannelProperties) UnsetCardLastFour

func (o *DirectDebitChannelProperties) UnsetCardLastFour()

UnsetCardLastFour ensures that no value is present for CardLastFour, not even an explicit nil

func (*DirectDebitChannelProperties) UnsetEmail

func (o *DirectDebitChannelProperties) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*DirectDebitChannelProperties) UnsetFailureReturnUrl

func (o *DirectDebitChannelProperties) UnsetFailureReturnUrl()

UnsetFailureReturnUrl ensures that no value is present for FailureReturnUrl, not even an explicit nil

func (*DirectDebitChannelProperties) UnsetIdentityDocumentNumber

func (o *DirectDebitChannelProperties) UnsetIdentityDocumentNumber()

UnsetIdentityDocumentNumber ensures that no value is present for IdentityDocumentNumber, not even an explicit nil

func (*DirectDebitChannelProperties) UnsetMobileNumber

func (o *DirectDebitChannelProperties) UnsetMobileNumber()

UnsetMobileNumber ensures that no value is present for MobileNumber, not even an explicit nil

func (*DirectDebitChannelProperties) UnsetRequireAuth

func (o *DirectDebitChannelProperties) UnsetRequireAuth()

UnsetRequireAuth ensures that no value is present for RequireAuth, not even an explicit nil

type DirectDebitDebitCard

type DirectDebitDebitCard struct {
	// Mobile number of the customer registered to the partner channel
	MobileNumber NullableString `json:"mobile_number,omitempty"`
	// Last four digits of the debit card
	CardLastFour NullableString `json:"card_last_four,omitempty"`
	// Expiry month and year of the debit card (in MM/YY format)
	CardExpiry NullableString `json:"card_expiry,omitempty"`
	// Email address of the customer that is registered to the partner channel
	Email NullableString `json:"email,omitempty"`
	// Account number of the customer
	AccountNumber NullableString `json:"account_number,omitempty"`
}

DirectDebitDebitCard struct for DirectDebitDebitCard

func NewDirectDebitDebitCard

func NewDirectDebitDebitCard() *DirectDebitDebitCard

NewDirectDebitDebitCard instantiates a new DirectDebitDebitCard 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 NewDirectDebitDebitCardWithDefaults

func NewDirectDebitDebitCardWithDefaults() *DirectDebitDebitCard

NewDirectDebitDebitCardWithDefaults instantiates a new DirectDebitDebitCard 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 (*DirectDebitDebitCard) GetAccountNumber

func (o *DirectDebitDebitCard) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitDebitCard) GetAccountNumberOk

func (o *DirectDebitDebitCard) GetAccountNumberOk() (*string, bool)

GetAccountNumberOk returns a tuple with the AccountNumber 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 (*DirectDebitDebitCard) GetCardExpiry

func (o *DirectDebitDebitCard) GetCardExpiry() string

GetCardExpiry returns the CardExpiry field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitDebitCard) GetCardExpiryOk

func (o *DirectDebitDebitCard) GetCardExpiryOk() (*string, bool)

GetCardExpiryOk returns a tuple with the CardExpiry 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 (*DirectDebitDebitCard) GetCardLastFour

func (o *DirectDebitDebitCard) GetCardLastFour() string

GetCardLastFour returns the CardLastFour field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitDebitCard) GetCardLastFourOk

func (o *DirectDebitDebitCard) GetCardLastFourOk() (*string, bool)

GetCardLastFourOk returns a tuple with the CardLastFour 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 (*DirectDebitDebitCard) GetEmail

func (o *DirectDebitDebitCard) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitDebitCard) GetEmailOk

func (o *DirectDebitDebitCard) 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 (*DirectDebitDebitCard) GetMobileNumber

func (o *DirectDebitDebitCard) GetMobileNumber() string

GetMobileNumber returns the MobileNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DirectDebitDebitCard) GetMobileNumberOk

func (o *DirectDebitDebitCard) 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 (*DirectDebitDebitCard) HasAccountNumber

func (o *DirectDebitDebitCard) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*DirectDebitDebitCard) HasCardExpiry

func (o *DirectDebitDebitCard) HasCardExpiry() bool

HasCardExpiry returns a boolean if a field has been set.

func (*DirectDebitDebitCard) HasCardLastFour

func (o *DirectDebitDebitCard) HasCardLastFour() bool

HasCardLastFour returns a boolean if a field has been set.

func (*DirectDebitDebitCard) HasEmail

func (o *DirectDebitDebitCard) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*DirectDebitDebitCard) HasMobileNumber

func (o *DirectDebitDebitCard) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (DirectDebitDebitCard) MarshalJSON

func (o DirectDebitDebitCard) MarshalJSON() ([]byte, error)

func (*DirectDebitDebitCard) SetAccountNumber

func (o *DirectDebitDebitCard) SetAccountNumber(v string)

SetAccountNumber gets a reference to the given NullableString and assigns it to the AccountNumber field.

func (*DirectDebitDebitCard) SetAccountNumberNil

func (o *DirectDebitDebitCard) SetAccountNumberNil()

SetAccountNumberNil sets the value for AccountNumber to be an explicit nil

func (*DirectDebitDebitCard) SetCardExpiry

func (o *DirectDebitDebitCard) SetCardExpiry(v string)

SetCardExpiry gets a reference to the given NullableString and assigns it to the CardExpiry field.

func (*DirectDebitDebitCard) SetCardExpiryNil

func (o *DirectDebitDebitCard) SetCardExpiryNil()

SetCardExpiryNil sets the value for CardExpiry to be an explicit nil

func (*DirectDebitDebitCard) SetCardLastFour

func (o *DirectDebitDebitCard) SetCardLastFour(v string)

SetCardLastFour gets a reference to the given NullableString and assigns it to the CardLastFour field.

func (*DirectDebitDebitCard) SetCardLastFourNil

func (o *DirectDebitDebitCard) SetCardLastFourNil()

SetCardLastFourNil sets the value for CardLastFour to be an explicit nil

func (*DirectDebitDebitCard) SetEmail

func (o *DirectDebitDebitCard) SetEmail(v string)

SetEmail gets a reference to the given NullableString and assigns it to the Email field.

func (*DirectDebitDebitCard) SetEmailNil

func (o *DirectDebitDebitCard) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*DirectDebitDebitCard) SetMobileNumber

func (o *DirectDebitDebitCard) SetMobileNumber(v string)

SetMobileNumber gets a reference to the given NullableString and assigns it to the MobileNumber field.

func (*DirectDebitDebitCard) SetMobileNumberNil

func (o *DirectDebitDebitCard) SetMobileNumberNil()

SetMobileNumberNil sets the value for MobileNumber to be an explicit nil

func (DirectDebitDebitCard) ToMap

func (o DirectDebitDebitCard) ToMap() (map[string]interface{}, error)

func (*DirectDebitDebitCard) UnsetAccountNumber

func (o *DirectDebitDebitCard) UnsetAccountNumber()

UnsetAccountNumber ensures that no value is present for AccountNumber, not even an explicit nil

func (*DirectDebitDebitCard) UnsetCardExpiry

func (o *DirectDebitDebitCard) UnsetCardExpiry()

UnsetCardExpiry ensures that no value is present for CardExpiry, not even an explicit nil

func (*DirectDebitDebitCard) UnsetCardLastFour

func (o *DirectDebitDebitCard) UnsetCardLastFour()

UnsetCardLastFour ensures that no value is present for CardLastFour, not even an explicit nil

func (*DirectDebitDebitCard) UnsetEmail

func (o *DirectDebitDebitCard) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*DirectDebitDebitCard) UnsetMobileNumber

func (o *DirectDebitDebitCard) UnsetMobileNumber()

UnsetMobileNumber ensures that no value is present for MobileNumber, not even an explicit nil

type DirectDebitParameters

type DirectDebitParameters struct {
	ChannelCode       DirectDebitChannelCode               `json:"channel_code"`
	ChannelProperties NullableDirectDebitChannelProperties `json:"channel_properties"`
}

DirectDebitParameters struct for DirectDebitParameters

func NewDirectDebitParameters

func NewDirectDebitParameters(channelCode DirectDebitChannelCode, channelProperties NullableDirectDebitChannelProperties) *DirectDebitParameters

NewDirectDebitParameters instantiates a new DirectDebitParameters 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 NewDirectDebitParametersWithDefaults

func NewDirectDebitParametersWithDefaults() *DirectDebitParameters

NewDirectDebitParametersWithDefaults instantiates a new DirectDebitParameters 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 (*DirectDebitParameters) GetChannelCode

func (o *DirectDebitParameters) GetChannelCode() DirectDebitChannelCode

GetChannelCode returns the ChannelCode field value

func (*DirectDebitParameters) GetChannelCodeOk

func (o *DirectDebitParameters) GetChannelCodeOk() (*DirectDebitChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode field value and a boolean to check if the value has been set.

func (*DirectDebitParameters) GetChannelProperties

func (o *DirectDebitParameters) GetChannelProperties() DirectDebitChannelProperties

GetChannelProperties returns the ChannelProperties field value If the value is explicit nil, the zero value for DirectDebitChannelProperties will be returned

func (*DirectDebitParameters) GetChannelPropertiesOk

func (o *DirectDebitParameters) GetChannelPropertiesOk() (*DirectDebitChannelProperties, bool)

GetChannelPropertiesOk returns a tuple with the ChannelProperties field value 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 (DirectDebitParameters) MarshalJSON

func (o DirectDebitParameters) MarshalJSON() ([]byte, error)

func (*DirectDebitParameters) SetChannelCode

func (o *DirectDebitParameters) SetChannelCode(v DirectDebitChannelCode)

SetChannelCode sets field value

func (*DirectDebitParameters) SetChannelProperties

func (o *DirectDebitParameters) SetChannelProperties(v DirectDebitChannelProperties)

SetChannelProperties sets field value

func (DirectDebitParameters) ToMap

func (o DirectDebitParameters) ToMap() (map[string]interface{}, error)

type DirectDebitType

type DirectDebitType string

DirectDebitType the model 'DirectDebitType'

const (
	DIRECTDEBITTYPE_DEBIT_CARD                   DirectDebitType = "DEBIT_CARD"
	DIRECTDEBITTYPE_BANK_ACCOUNT                 DirectDebitType = "BANK_ACCOUNT"
	DIRECTDEBITTYPE_BANK_REDIRECT                DirectDebitType = "BANK_REDIRECT"
	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

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 {
	ChannelCode       EWalletChannelCode        `json:"channel_code"`
	ChannelProperties *EWalletChannelProperties `json:"channel_properties,omitempty"`
	Account           *EWalletAccount           `json:"account,omitempty"`
}

EWallet Ewallet Payment Method Details

func NewEWallet

func NewEWallet(channelCode EWalletChannelCode) *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) GetAccount

func (o *EWallet) GetAccount() EWalletAccount

GetAccount returns the Account field value if set, zero value otherwise.

func (*EWallet) GetAccountOk

func (o *EWallet) GetAccountOk() (*EWalletAccount, bool)

GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EWallet) GetChannelCode

func (o *EWallet) GetChannelCode() EWalletChannelCode

GetChannelCode returns the ChannelCode field value

func (*EWallet) GetChannelCodeOk

func (o *EWallet) GetChannelCodeOk() (*EWalletChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode field value and a boolean to check if the value has been set.

func (*EWallet) GetChannelProperties

func (o *EWallet) GetChannelProperties() EWalletChannelProperties

GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise.

func (*EWallet) GetChannelPropertiesOk

func (o *EWallet) GetChannelPropertiesOk() (*EWalletChannelProperties, 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 (*EWallet) HasAccount

func (o *EWallet) HasAccount() bool

HasAccount returns a boolean if a field has been set.

func (*EWallet) HasChannelProperties

func (o *EWallet) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (EWallet) MarshalJSON

func (o EWallet) MarshalJSON() ([]byte, error)

func (*EWallet) SetAccount

func (o *EWallet) SetAccount(v EWalletAccount)

SetAccount gets a reference to the given EWalletAccount and assigns it to the Account field.

func (*EWallet) SetChannelCode

func (o *EWallet) SetChannelCode(v EWalletChannelCode)

SetChannelCode sets field value

func (*EWallet) SetChannelProperties

func (o *EWallet) SetChannelProperties(v EWalletChannelProperties)

SetChannelProperties gets a reference to the given EWalletChannelProperties and assigns it to the ChannelProperties field.

func (EWallet) ToMap

func (o EWallet) ToMap() (map[string]interface{}, error)

type EWalletAccount

type EWalletAccount struct {
	// Name of the eWallet account holder. The value is null if unavailableName of the eWallet account holder. The value is null if unavailable
	Name NullableString `json:"name,omitempty"`
	// Identifier from eWallet provider e.g. phone number. The value is null if unavailable
	AccountDetails NullableString `json:"account_details,omitempty"`
	// The main balance amount on eWallet account provided from eWallet provider. The value is null if unavailable
	Balance NullableFloat64 `json:"balance,omitempty"`
	// The point balance amount on eWallet account. Applicable only on some eWallet provider that has point system. The value is null if unavailabl
	PointBalance NullableFloat64 `json:"point_balance,omitempty"`
}

EWalletAccount EWallet Account Properties

func NewEWalletAccount

func NewEWalletAccount() *EWalletAccount

NewEWalletAccount instantiates a new EWalletAccount 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 NewEWalletAccountWithDefaults

func NewEWalletAccountWithDefaults() *EWalletAccount

NewEWalletAccountWithDefaults instantiates a new EWalletAccount 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 (*EWalletAccount) GetAccountDetails

func (o *EWalletAccount) GetAccountDetails() string

GetAccountDetails returns the AccountDetails field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EWalletAccount) GetAccountDetailsOk

func (o *EWalletAccount) GetAccountDetailsOk() (*string, bool)

GetAccountDetailsOk returns a tuple with the AccountDetails 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 (*EWalletAccount) GetBalance

func (o *EWalletAccount) GetBalance() float64

GetBalance returns the Balance field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EWalletAccount) GetBalanceOk

func (o *EWalletAccount) GetBalanceOk() (*float64, bool)

GetBalanceOk returns a tuple with the Balance 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 (*EWalletAccount) GetName

func (o *EWalletAccount) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EWalletAccount) GetNameOk

func (o *EWalletAccount) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name 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 (*EWalletAccount) GetPointBalance

func (o *EWalletAccount) GetPointBalance() float64

GetPointBalance returns the PointBalance field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EWalletAccount) GetPointBalanceOk

func (o *EWalletAccount) GetPointBalanceOk() (*float64, bool)

GetPointBalanceOk returns a tuple with the PointBalance 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 (*EWalletAccount) HasAccountDetails

func (o *EWalletAccount) HasAccountDetails() bool

HasAccountDetails returns a boolean if a field has been set.

func (*EWalletAccount) HasBalance

func (o *EWalletAccount) HasBalance() bool

HasBalance returns a boolean if a field has been set.

func (*EWalletAccount) HasName

func (o *EWalletAccount) HasName() bool

HasName returns a boolean if a field has been set.

func (*EWalletAccount) HasPointBalance

func (o *EWalletAccount) HasPointBalance() bool

HasPointBalance returns a boolean if a field has been set.

func (EWalletAccount) MarshalJSON

func (o EWalletAccount) MarshalJSON() ([]byte, error)

func (*EWalletAccount) SetAccountDetails

func (o *EWalletAccount) SetAccountDetails(v string)

SetAccountDetails gets a reference to the given NullableString and assigns it to the AccountDetails field.

func (*EWalletAccount) SetAccountDetailsNil

func (o *EWalletAccount) SetAccountDetailsNil()

SetAccountDetailsNil sets the value for AccountDetails to be an explicit nil

func (*EWalletAccount) SetBalance

func (o *EWalletAccount) SetBalance(v float64)

SetBalance gets a reference to the given NullableFloat64 and assigns it to the Balance field.

func (*EWalletAccount) SetBalanceNil

func (o *EWalletAccount) SetBalanceNil()

SetBalanceNil sets the value for Balance to be an explicit nil

func (*EWalletAccount) SetName

func (o *EWalletAccount) SetName(v string)

SetName gets a reference to the given NullableString and assigns it to the Name field.

func (*EWalletAccount) SetNameNil

func (o *EWalletAccount) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*EWalletAccount) SetPointBalance

func (o *EWalletAccount) SetPointBalance(v float64)

SetPointBalance gets a reference to the given NullableFloat64 and assigns it to the PointBalance field.

func (*EWalletAccount) SetPointBalanceNil

func (o *EWalletAccount) SetPointBalanceNil()

SetPointBalanceNil sets the value for PointBalance to be an explicit nil

func (EWalletAccount) ToMap

func (o EWalletAccount) ToMap() (map[string]interface{}, error)

func (*EWalletAccount) UnsetAccountDetails

func (o *EWalletAccount) UnsetAccountDetails()

UnsetAccountDetails ensures that no value is present for AccountDetails, not even an explicit nil

func (*EWalletAccount) UnsetBalance

func (o *EWalletAccount) UnsetBalance()

UnsetBalance ensures that no value is present for Balance, not even an explicit nil

func (*EWalletAccount) UnsetName

func (o *EWalletAccount) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

func (*EWalletAccount) UnsetPointBalance

func (o *EWalletAccount) UnsetPointBalance()

UnsetPointBalance ensures that no value is present for PointBalance, not even an explicit nil

type EWalletChannelCode

type EWalletChannelCode string

EWalletChannelCode EWallet Channel Code

const (
	EWALLETCHANNELCODE_GCASH                        EWalletChannelCode = "GCASH"
	EWALLETCHANNELCODE_GRABPAY                      EWalletChannelCode = "GRABPAY"
	EWALLETCHANNELCODE_PAYMAYA                      EWalletChannelCode = "PAYMAYA"
	EWALLETCHANNELCODE_OVO                          EWalletChannelCode = "OVO"
	EWALLETCHANNELCODE_DANA                         EWalletChannelCode = "DANA"
	EWALLETCHANNELCODE_LINKAJA                      EWalletChannelCode = "LINKAJA"
	EWALLETCHANNELCODE_SHOPEEPAY                    EWalletChannelCode = "SHOPEEPAY"
	EWALLETCHANNELCODE_SAKUKU                       EWalletChannelCode = "SAKUKU"
	EWALLETCHANNELCODE_NEXCASH                      EWalletChannelCode = "NEXCASH"
	EWALLETCHANNELCODE_ASTRAPAY                     EWalletChannelCode = "ASTRAPAY"
	EWALLETCHANNELCODE_JENIUSPAY                    EWalletChannelCode = "JENIUSPAY"
	EWALLETCHANNELCODE_APPOTA                       EWalletChannelCode = "APPOTA"
	EWALLETCHANNELCODE_MOMO                         EWalletChannelCode = "MOMO"
	EWALLETCHANNELCODE_VNPTWALLET                   EWalletChannelCode = "VNPTWALLET"
	EWALLETCHANNELCODE_VIETTELPAY                   EWalletChannelCode = "VIETTELPAY"
	EWALLETCHANNELCODE_ZALOPAY                      EWalletChannelCode = "ZALOPAY"
	EWALLETCHANNELCODE_WECHATPAY                    EWalletChannelCode = "WECHATPAY"
	EWALLETCHANNELCODE_LINEPAY                      EWalletChannelCode = "LINEPAY"
	EWALLETCHANNELCODE_TRUEMONEY                    EWalletChannelCode = "TRUEMONEY"
	EWALLETCHANNELCODE_ALIPAY                       EWalletChannelCode = "ALIPAY"
	EWALLETCHANNELCODE_TOUCHANDGO                   EWalletChannelCode = "TOUCHANDGO"
	EWALLETCHANNELCODE_XENDIT_ENUM_DEFAULT_FALLBACK EWalletChannelCode = "UNKNOWN_ENUM_VALUE"
)

List of EWalletChannelCode

func NewEWalletChannelCodeFromValue

func NewEWalletChannelCodeFromValue(v string) (*EWalletChannelCode, error)

NewEWalletChannelCodeFromValue returns a pointer to a valid EWalletChannelCode for the value passed as argument, or an error if the value passed is not allowed by the enum

func (EWalletChannelCode) IsValid

func (v EWalletChannelCode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (EWalletChannelCode) Ptr

Ptr returns reference to EWalletChannelCode value

func (EWalletChannelCode) String

func (v EWalletChannelCode) String() string

func (*EWalletChannelCode) UnmarshalJSON

func (v *EWalletChannelCode) UnmarshalJSON(src []byte) error

type EWalletChannelProperties

type EWalletChannelProperties struct {
	// URL where the end-customer is redirected if the authorization is successful
	SuccessReturnUrl *string `json:"success_return_url,omitempty"`
	// URL where the end-customer is redirected if the authorization failed
	FailureReturnUrl *string `json:"failure_return_url,omitempty"`
	// URL where the end-customer is redirected if the authorization cancelled
	CancelReturnUrl *string `json:"cancel_return_url,omitempty"`
	// Mobile number of customer in E.164 format (e.g. +628123123123). For OVO one time payment use only.
	MobileNumber *string `json:"mobile_number,omitempty"`
	// REDEEM_NONE will not use any point, REDEEM_ALL will use all available points before cash balance is used. For OVO and ShopeePay tokenized payment use only.
	RedeemPoints *string `json:"redeem_points,omitempty"`
	// Available for JENIUSPAY only
	Cashtag *string `json:"cashtag,omitempty"`
}

EWalletChannelProperties EWallet Channel Properties

func NewEWalletChannelProperties

func NewEWalletChannelProperties() *EWalletChannelProperties

NewEWalletChannelProperties instantiates a new EWalletChannelProperties 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 NewEWalletChannelPropertiesWithDefaults

func NewEWalletChannelPropertiesWithDefaults() *EWalletChannelProperties

NewEWalletChannelPropertiesWithDefaults instantiates a new EWalletChannelProperties 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 (*EWalletChannelProperties) GetCancelReturnUrl

func (o *EWalletChannelProperties) GetCancelReturnUrl() string

GetCancelReturnUrl returns the CancelReturnUrl field value if set, zero value otherwise.

func (*EWalletChannelProperties) GetCancelReturnUrlOk

func (o *EWalletChannelProperties) GetCancelReturnUrlOk() (*string, bool)

GetCancelReturnUrlOk returns a tuple with the CancelReturnUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EWalletChannelProperties) GetCashtag

func (o *EWalletChannelProperties) GetCashtag() string

GetCashtag returns the Cashtag field value if set, zero value otherwise.

func (*EWalletChannelProperties) GetCashtagOk

func (o *EWalletChannelProperties) GetCashtagOk() (*string, bool)

GetCashtagOk returns a tuple with the Cashtag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EWalletChannelProperties) GetFailureReturnUrl

func (o *EWalletChannelProperties) GetFailureReturnUrl() string

GetFailureReturnUrl returns the FailureReturnUrl field value if set, zero value otherwise.

func (*EWalletChannelProperties) GetFailureReturnUrlOk

func (o *EWalletChannelProperties) GetFailureReturnUrlOk() (*string, bool)

GetFailureReturnUrlOk returns a tuple with the FailureReturnUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EWalletChannelProperties) GetMobileNumber

func (o *EWalletChannelProperties) GetMobileNumber() string

GetMobileNumber returns the MobileNumber field value if set, zero value otherwise.

func (*EWalletChannelProperties) GetMobileNumberOk

func (o *EWalletChannelProperties) 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.

func (*EWalletChannelProperties) GetRedeemPoints

func (o *EWalletChannelProperties) GetRedeemPoints() string

GetRedeemPoints returns the RedeemPoints field value if set, zero value otherwise.

func (*EWalletChannelProperties) GetRedeemPointsOk

func (o *EWalletChannelProperties) GetRedeemPointsOk() (*string, bool)

GetRedeemPointsOk returns a tuple with the RedeemPoints field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EWalletChannelProperties) GetSuccessReturnUrl

func (o *EWalletChannelProperties) GetSuccessReturnUrl() string

GetSuccessReturnUrl returns the SuccessReturnUrl field value if set, zero value otherwise.

func (*EWalletChannelProperties) GetSuccessReturnUrlOk

func (o *EWalletChannelProperties) GetSuccessReturnUrlOk() (*string, bool)

GetSuccessReturnUrlOk returns a tuple with the SuccessReturnUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EWalletChannelProperties) HasCancelReturnUrl

func (o *EWalletChannelProperties) HasCancelReturnUrl() bool

HasCancelReturnUrl returns a boolean if a field has been set.

func (*EWalletChannelProperties) HasCashtag

func (o *EWalletChannelProperties) HasCashtag() bool

HasCashtag returns a boolean if a field has been set.

func (*EWalletChannelProperties) HasFailureReturnUrl

func (o *EWalletChannelProperties) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*EWalletChannelProperties) HasMobileNumber

func (o *EWalletChannelProperties) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (*EWalletChannelProperties) HasRedeemPoints

func (o *EWalletChannelProperties) HasRedeemPoints() bool

HasRedeemPoints returns a boolean if a field has been set.

func (*EWalletChannelProperties) HasSuccessReturnUrl

func (o *EWalletChannelProperties) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (EWalletChannelProperties) MarshalJSON

func (o EWalletChannelProperties) MarshalJSON() ([]byte, error)

func (*EWalletChannelProperties) SetCancelReturnUrl

func (o *EWalletChannelProperties) SetCancelReturnUrl(v string)

SetCancelReturnUrl gets a reference to the given string and assigns it to the CancelReturnUrl field.

func (*EWalletChannelProperties) SetCashtag

func (o *EWalletChannelProperties) SetCashtag(v string)

SetCashtag gets a reference to the given string and assigns it to the Cashtag field.

func (*EWalletChannelProperties) SetFailureReturnUrl

func (o *EWalletChannelProperties) SetFailureReturnUrl(v string)

SetFailureReturnUrl gets a reference to the given string and assigns it to the FailureReturnUrl field.

func (*EWalletChannelProperties) SetMobileNumber

func (o *EWalletChannelProperties) SetMobileNumber(v string)

SetMobileNumber gets a reference to the given string and assigns it to the MobileNumber field.

func (*EWalletChannelProperties) SetRedeemPoints

func (o *EWalletChannelProperties) SetRedeemPoints(v string)

SetRedeemPoints gets a reference to the given string and assigns it to the RedeemPoints field.

func (*EWalletChannelProperties) SetSuccessReturnUrl

func (o *EWalletChannelProperties) SetSuccessReturnUrl(v string)

SetSuccessReturnUrl gets a reference to the given string and assigns it to the SuccessReturnUrl field.

func (EWalletChannelProperties) ToMap

func (o EWalletChannelProperties) ToMap() (map[string]interface{}, error)

type EWalletParameters

type EWalletParameters struct {
	ChannelCode       EWalletChannelCode        `json:"channel_code"`
	ChannelProperties *EWalletChannelProperties `json:"channel_properties,omitempty"`
	Account           *EWalletAccount           `json:"account,omitempty"`
}

EWalletParameters struct for EWalletParameters

func NewEWalletParameters

func NewEWalletParameters(channelCode EWalletChannelCode) *EWalletParameters

NewEWalletParameters instantiates a new EWalletParameters 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 NewEWalletParametersWithDefaults

func NewEWalletParametersWithDefaults() *EWalletParameters

NewEWalletParametersWithDefaults instantiates a new EWalletParameters 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 (*EWalletParameters) GetAccount

func (o *EWalletParameters) GetAccount() EWalletAccount

GetAccount returns the Account field value if set, zero value otherwise.

func (*EWalletParameters) GetAccountOk

func (o *EWalletParameters) GetAccountOk() (*EWalletAccount, bool)

GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EWalletParameters) GetChannelCode

func (o *EWalletParameters) GetChannelCode() EWalletChannelCode

GetChannelCode returns the ChannelCode field value

func (*EWalletParameters) GetChannelCodeOk

func (o *EWalletParameters) GetChannelCodeOk() (*EWalletChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode field value and a boolean to check if the value has been set.

func (*EWalletParameters) GetChannelProperties

func (o *EWalletParameters) GetChannelProperties() EWalletChannelProperties

GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise.

func (*EWalletParameters) GetChannelPropertiesOk

func (o *EWalletParameters) GetChannelPropertiesOk() (*EWalletChannelProperties, 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 (*EWalletParameters) HasAccount

func (o *EWalletParameters) HasAccount() bool

HasAccount returns a boolean if a field has been set.

func (*EWalletParameters) HasChannelProperties

func (o *EWalletParameters) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (EWalletParameters) MarshalJSON

func (o EWalletParameters) MarshalJSON() ([]byte, error)

func (*EWalletParameters) SetAccount

func (o *EWalletParameters) SetAccount(v EWalletAccount)

SetAccount gets a reference to the given EWalletAccount and assigns it to the Account field.

func (*EWalletParameters) SetChannelCode

func (o *EWalletParameters) SetChannelCode(v EWalletChannelCode)

SetChannelCode sets field value

func (*EWalletParameters) SetChannelProperties

func (o *EWalletParameters) SetChannelProperties(v EWalletChannelProperties)

SetChannelProperties gets a reference to the given EWalletChannelProperties and assigns it to the ChannelProperties field.

func (EWalletParameters) ToMap

func (o EWalletParameters) ToMap() (map[string]interface{}, error)

type GetAllPaymentMethods400Response

type GetAllPaymentMethods400Response struct {
	ErrorCode *string `json:"error_code,omitempty"`
	Message   *string `json:"message,omitempty"`
}

GetAllPaymentMethods400Response struct for GetAllPaymentMethods400Response

func NewGetAllPaymentMethods400Response

func NewGetAllPaymentMethods400Response() *GetAllPaymentMethods400Response

NewGetAllPaymentMethods400Response instantiates a new GetAllPaymentMethods400Response 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 NewGetAllPaymentMethods400ResponseWithDefaults

func NewGetAllPaymentMethods400ResponseWithDefaults() *GetAllPaymentMethods400Response

NewGetAllPaymentMethods400ResponseWithDefaults instantiates a new GetAllPaymentMethods400Response 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 (*GetAllPaymentMethods400Response) GetErrorCode

func (o *GetAllPaymentMethods400Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*GetAllPaymentMethods400Response) GetErrorCodeOk

func (o *GetAllPaymentMethods400Response) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAllPaymentMethods400Response) GetMessage

func (o *GetAllPaymentMethods400Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetAllPaymentMethods400Response) GetMessageOk

func (o *GetAllPaymentMethods400Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAllPaymentMethods400Response) HasErrorCode

func (o *GetAllPaymentMethods400Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetAllPaymentMethods400Response) HasMessage

func (o *GetAllPaymentMethods400Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetAllPaymentMethods400Response) MarshalJSON

func (o GetAllPaymentMethods400Response) MarshalJSON() ([]byte, error)

func (*GetAllPaymentMethods400Response) SetErrorCode

func (o *GetAllPaymentMethods400Response) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*GetAllPaymentMethods400Response) SetMessage

func (o *GetAllPaymentMethods400Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetAllPaymentMethods400Response) ToMap

func (o GetAllPaymentMethods400Response) ToMap() (map[string]interface{}, error)

type GetAllPaymentMethods403Response

type GetAllPaymentMethods403Response struct {
	ErrorCode *string `json:"error_code,omitempty"`
	Message   *string `json:"message,omitempty"`
}

GetAllPaymentMethods403Response struct for GetAllPaymentMethods403Response

func NewGetAllPaymentMethods403Response

func NewGetAllPaymentMethods403Response() *GetAllPaymentMethods403Response

NewGetAllPaymentMethods403Response instantiates a new GetAllPaymentMethods403Response 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 NewGetAllPaymentMethods403ResponseWithDefaults

func NewGetAllPaymentMethods403ResponseWithDefaults() *GetAllPaymentMethods403Response

NewGetAllPaymentMethods403ResponseWithDefaults instantiates a new GetAllPaymentMethods403Response 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 (*GetAllPaymentMethods403Response) GetErrorCode

func (o *GetAllPaymentMethods403Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*GetAllPaymentMethods403Response) GetErrorCodeOk

func (o *GetAllPaymentMethods403Response) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAllPaymentMethods403Response) GetMessage

func (o *GetAllPaymentMethods403Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetAllPaymentMethods403Response) GetMessageOk

func (o *GetAllPaymentMethods403Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAllPaymentMethods403Response) HasErrorCode

func (o *GetAllPaymentMethods403Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetAllPaymentMethods403Response) HasMessage

func (o *GetAllPaymentMethods403Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetAllPaymentMethods403Response) MarshalJSON

func (o GetAllPaymentMethods403Response) MarshalJSON() ([]byte, error)

func (*GetAllPaymentMethods403Response) SetErrorCode

func (o *GetAllPaymentMethods403Response) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*GetAllPaymentMethods403Response) SetMessage

func (o *GetAllPaymentMethods403Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetAllPaymentMethods403Response) ToMap

func (o GetAllPaymentMethods403Response) ToMap() (map[string]interface{}, error)

type GetAllPaymentMethods404Response

type GetAllPaymentMethods404Response struct {
	ErrorCode *string `json:"error_code,omitempty"`
	Message   *string `json:"message,omitempty"`
}

GetAllPaymentMethods404Response struct for GetAllPaymentMethods404Response

func NewGetAllPaymentMethods404Response

func NewGetAllPaymentMethods404Response() *GetAllPaymentMethods404Response

NewGetAllPaymentMethods404Response instantiates a new GetAllPaymentMethods404Response 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 NewGetAllPaymentMethods404ResponseWithDefaults

func NewGetAllPaymentMethods404ResponseWithDefaults() *GetAllPaymentMethods404Response

NewGetAllPaymentMethods404ResponseWithDefaults instantiates a new GetAllPaymentMethods404Response 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 (*GetAllPaymentMethods404Response) GetErrorCode

func (o *GetAllPaymentMethods404Response) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*GetAllPaymentMethods404Response) GetErrorCodeOk

func (o *GetAllPaymentMethods404Response) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAllPaymentMethods404Response) GetMessage

func (o *GetAllPaymentMethods404Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetAllPaymentMethods404Response) GetMessageOk

func (o *GetAllPaymentMethods404Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAllPaymentMethods404Response) HasErrorCode

func (o *GetAllPaymentMethods404Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetAllPaymentMethods404Response) HasMessage

func (o *GetAllPaymentMethods404Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetAllPaymentMethods404Response) MarshalJSON

func (o GetAllPaymentMethods404Response) MarshalJSON() ([]byte, error)

func (*GetAllPaymentMethods404Response) SetErrorCode

func (o *GetAllPaymentMethods404Response) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*GetAllPaymentMethods404Response) SetMessage

func (o *GetAllPaymentMethods404Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetAllPaymentMethods404Response) ToMap

func (o GetAllPaymentMethods404Response) ToMap() (map[string]interface{}, error)

type GetAllPaymentMethodsDefaultResponse

type GetAllPaymentMethodsDefaultResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`
	Message   *string `json:"message,omitempty"`
}

GetAllPaymentMethodsDefaultResponse struct for GetAllPaymentMethodsDefaultResponse

func NewGetAllPaymentMethodsDefaultResponse

func NewGetAllPaymentMethodsDefaultResponse() *GetAllPaymentMethodsDefaultResponse

NewGetAllPaymentMethodsDefaultResponse instantiates a new GetAllPaymentMethodsDefaultResponse 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 NewGetAllPaymentMethodsDefaultResponseWithDefaults

func NewGetAllPaymentMethodsDefaultResponseWithDefaults() *GetAllPaymentMethodsDefaultResponse

NewGetAllPaymentMethodsDefaultResponseWithDefaults instantiates a new GetAllPaymentMethodsDefaultResponse 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 (*GetAllPaymentMethodsDefaultResponse) GetErrorCode

func (o *GetAllPaymentMethodsDefaultResponse) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*GetAllPaymentMethodsDefaultResponse) GetErrorCodeOk

func (o *GetAllPaymentMethodsDefaultResponse) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAllPaymentMethodsDefaultResponse) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetAllPaymentMethodsDefaultResponse) GetMessageOk

func (o *GetAllPaymentMethodsDefaultResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAllPaymentMethodsDefaultResponse) HasErrorCode

func (o *GetAllPaymentMethodsDefaultResponse) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetAllPaymentMethodsDefaultResponse) HasMessage

func (o *GetAllPaymentMethodsDefaultResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetAllPaymentMethodsDefaultResponse) MarshalJSON

func (o GetAllPaymentMethodsDefaultResponse) MarshalJSON() ([]byte, error)

func (*GetAllPaymentMethodsDefaultResponse) SetErrorCode

func (o *GetAllPaymentMethodsDefaultResponse) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*GetAllPaymentMethodsDefaultResponse) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetAllPaymentMethodsDefaultResponse) ToMap

func (o GetAllPaymentMethodsDefaultResponse) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBillingInformation

type NullableBillingInformation struct {
	// contains filtered or unexported fields
}

func NewNullableBillingInformation

func NewNullableBillingInformation(val *BillingInformation) *NullableBillingInformation

func (NullableBillingInformation) Get

func (NullableBillingInformation) IsSet

func (v NullableBillingInformation) IsSet() bool

func (NullableBillingInformation) MarshalJSON

func (v NullableBillingInformation) MarshalJSON() ([]byte, error)

func (*NullableBillingInformation) Set

func (*NullableBillingInformation) UnmarshalJSON

func (v *NullableBillingInformation) UnmarshalJSON(src []byte) error

func (*NullableBillingInformation) Unset

func (v *NullableBillingInformation) 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 NullableCard

type NullableCard struct {
	// contains filtered or unexported fields
}

func NewNullableCard

func NewNullableCard(val *Card) *NullableCard

func (NullableCard) Get

func (v NullableCard) Get() *Card

func (NullableCard) IsSet

func (v NullableCard) IsSet() bool

func (NullableCard) MarshalJSON

func (v NullableCard) MarshalJSON() ([]byte, error)

func (*NullableCard) Set

func (v *NullableCard) Set(val *Card)

func (*NullableCard) UnmarshalJSON

func (v *NullableCard) UnmarshalJSON(src []byte) error

func (*NullableCard) Unset

func (v *NullableCard) Unset()

type NullableCardChannelProperties

type NullableCardChannelProperties struct {
	// contains filtered or unexported fields
}

func (NullableCardChannelProperties) Get

func (NullableCardChannelProperties) IsSet

func (NullableCardChannelProperties) MarshalJSON

func (v NullableCardChannelProperties) MarshalJSON() ([]byte, error)

func (*NullableCardChannelProperties) Set

func (*NullableCardChannelProperties) UnmarshalJSON

func (v *NullableCardChannelProperties) UnmarshalJSON(src []byte) error

func (*NullableCardChannelProperties) Unset

func (v *NullableCardChannelProperties) Unset()

type NullableCardParameters

type NullableCardParameters struct {
	// contains filtered or unexported fields
}

func NewNullableCardParameters

func NewNullableCardParameters(val *CardParameters) *NullableCardParameters

func (NullableCardParameters) Get

func (NullableCardParameters) IsSet

func (v NullableCardParameters) IsSet() bool

func (NullableCardParameters) MarshalJSON

func (v NullableCardParameters) MarshalJSON() ([]byte, error)

func (*NullableCardParameters) Set

func (*NullableCardParameters) UnmarshalJSON

func (v *NullableCardParameters) UnmarshalJSON(src []byte) error

func (*NullableCardParameters) Unset

func (v *NullableCardParameters) Unset()

type NullableCardParametersCardInformation

type NullableCardParametersCardInformation struct {
	// contains filtered or unexported fields
}

func (NullableCardParametersCardInformation) Get

func (NullableCardParametersCardInformation) IsSet

func (NullableCardParametersCardInformation) MarshalJSON

func (v NullableCardParametersCardInformation) MarshalJSON() ([]byte, error)

func (*NullableCardParametersCardInformation) Set

func (*NullableCardParametersCardInformation) UnmarshalJSON

func (v *NullableCardParametersCardInformation) UnmarshalJSON(src []byte) error

func (*NullableCardParametersCardInformation) Unset

type NullableCardVerificationResults

type NullableCardVerificationResults struct {
	// contains filtered or unexported fields
}

func (NullableCardVerificationResults) Get

func (NullableCardVerificationResults) IsSet

func (NullableCardVerificationResults) MarshalJSON

func (v NullableCardVerificationResults) MarshalJSON() ([]byte, error)

func (*NullableCardVerificationResults) Set

func (*NullableCardVerificationResults) UnmarshalJSON

func (v *NullableCardVerificationResults) UnmarshalJSON(src []byte) error

func (*NullableCardVerificationResults) Unset

type NullableCardVerificationResultsThreeDSecure

type NullableCardVerificationResultsThreeDSecure struct {
	// contains filtered or unexported fields
}

func (NullableCardVerificationResultsThreeDSecure) Get

func (NullableCardVerificationResultsThreeDSecure) IsSet

func (NullableCardVerificationResultsThreeDSecure) MarshalJSON

func (*NullableCardVerificationResultsThreeDSecure) Set

func (*NullableCardVerificationResultsThreeDSecure) UnmarshalJSON

func (v *NullableCardVerificationResultsThreeDSecure) UnmarshalJSON(src []byte) error

func (*NullableCardVerificationResultsThreeDSecure) Unset

type NullableCreatePaymentMethod409Response

type NullableCreatePaymentMethod409Response struct {
	// contains filtered or unexported fields
}

func (NullableCreatePaymentMethod409Response) Get

func (NullableCreatePaymentMethod409Response) IsSet

func (NullableCreatePaymentMethod409Response) MarshalJSON

func (v NullableCreatePaymentMethod409Response) MarshalJSON() ([]byte, error)

func (*NullableCreatePaymentMethod409Response) Set

func (*NullableCreatePaymentMethod409Response) UnmarshalJSON

func (v *NullableCreatePaymentMethod409Response) UnmarshalJSON(src []byte) error

func (*NullableCreatePaymentMethod409Response) Unset

type NullableCreatePaymentMethod503Response

type NullableCreatePaymentMethod503Response struct {
	// contains filtered or unexported fields
}

func (NullableCreatePaymentMethod503Response) Get

func (NullableCreatePaymentMethod503Response) IsSet

func (NullableCreatePaymentMethod503Response) MarshalJSON

func (v NullableCreatePaymentMethod503Response) MarshalJSON() ([]byte, error)

func (*NullableCreatePaymentMethod503Response) Set

func (*NullableCreatePaymentMethod503Response) UnmarshalJSON

func (v *NullableCreatePaymentMethod503Response) UnmarshalJSON(src []byte) error

func (*NullableCreatePaymentMethod503Response) Unset

type NullableDirectDebit

type NullableDirectDebit struct {
	// contains filtered or unexported fields
}

func NewNullableDirectDebit

func NewNullableDirectDebit(val *DirectDebit) *NullableDirectDebit

func (NullableDirectDebit) Get

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 NullableDirectDebitAllOf

type NullableDirectDebitAllOf struct {
	// contains filtered or unexported fields
}

func NewNullableDirectDebitAllOf

func NewNullableDirectDebitAllOf(val *DirectDebitAllOf) *NullableDirectDebitAllOf

func (NullableDirectDebitAllOf) Get

func (NullableDirectDebitAllOf) IsSet

func (v NullableDirectDebitAllOf) IsSet() bool

func (NullableDirectDebitAllOf) MarshalJSON

func (v NullableDirectDebitAllOf) MarshalJSON() ([]byte, error)

func (*NullableDirectDebitAllOf) Set

func (*NullableDirectDebitAllOf) UnmarshalJSON

func (v *NullableDirectDebitAllOf) UnmarshalJSON(src []byte) error

func (*NullableDirectDebitAllOf) Unset

func (v *NullableDirectDebitAllOf) Unset()

type NullableDirectDebitBankAccount

type NullableDirectDebitBankAccount struct {
	// contains filtered or unexported fields
}

func (NullableDirectDebitBankAccount) Get

func (NullableDirectDebitBankAccount) IsSet

func (NullableDirectDebitBankAccount) MarshalJSON

func (v NullableDirectDebitBankAccount) MarshalJSON() ([]byte, error)

func (*NullableDirectDebitBankAccount) Set

func (*NullableDirectDebitBankAccount) UnmarshalJSON

func (v *NullableDirectDebitBankAccount) UnmarshalJSON(src []byte) error

func (*NullableDirectDebitBankAccount) Unset

func (v *NullableDirectDebitBankAccount) Unset()

type NullableDirectDebitChannelCode

type NullableDirectDebitChannelCode struct {
	// contains filtered or unexported fields
}

func (NullableDirectDebitChannelCode) Get

func (NullableDirectDebitChannelCode) IsSet

func (NullableDirectDebitChannelCode) MarshalJSON

func (v NullableDirectDebitChannelCode) MarshalJSON() ([]byte, error)

func (*NullableDirectDebitChannelCode) Set

func (*NullableDirectDebitChannelCode) UnmarshalJSON

func (v *NullableDirectDebitChannelCode) UnmarshalJSON(src []byte) error

func (*NullableDirectDebitChannelCode) Unset

func (v *NullableDirectDebitChannelCode) Unset()

type NullableDirectDebitChannelProperties

type NullableDirectDebitChannelProperties struct {
	// contains filtered or unexported fields
}

func (NullableDirectDebitChannelProperties) Get

func (NullableDirectDebitChannelProperties) IsSet

func (NullableDirectDebitChannelProperties) MarshalJSON

func (v NullableDirectDebitChannelProperties) MarshalJSON() ([]byte, error)

func (*NullableDirectDebitChannelProperties) Set

func (*NullableDirectDebitChannelProperties) UnmarshalJSON

func (v *NullableDirectDebitChannelProperties) UnmarshalJSON(src []byte) error

func (*NullableDirectDebitChannelProperties) Unset

type NullableDirectDebitDebitCard

type NullableDirectDebitDebitCard struct {
	// contains filtered or unexported fields
}

func NewNullableDirectDebitDebitCard

func NewNullableDirectDebitDebitCard(val *DirectDebitDebitCard) *NullableDirectDebitDebitCard

func (NullableDirectDebitDebitCard) Get

func (NullableDirectDebitDebitCard) IsSet

func (NullableDirectDebitDebitCard) MarshalJSON

func (v NullableDirectDebitDebitCard) MarshalJSON() ([]byte, error)

func (*NullableDirectDebitDebitCard) Set

func (*NullableDirectDebitDebitCard) UnmarshalJSON

func (v *NullableDirectDebitDebitCard) UnmarshalJSON(src []byte) error

func (*NullableDirectDebitDebitCard) Unset

func (v *NullableDirectDebitDebitCard) Unset()

type NullableDirectDebitParameters

type NullableDirectDebitParameters struct {
	// contains filtered or unexported fields
}

func (NullableDirectDebitParameters) Get

func (NullableDirectDebitParameters) IsSet

func (NullableDirectDebitParameters) MarshalJSON

func (v NullableDirectDebitParameters) MarshalJSON() ([]byte, error)

func (*NullableDirectDebitParameters) Set

func (*NullableDirectDebitParameters) UnmarshalJSON

func (v *NullableDirectDebitParameters) UnmarshalJSON(src []byte) error

func (*NullableDirectDebitParameters) Unset

func (v *NullableDirectDebitParameters) Unset()

type NullableDirectDebitType

type NullableDirectDebitType struct {
	// contains filtered or unexported fields
}

func NewNullableDirectDebitType

func NewNullableDirectDebitType(val *DirectDebitType) *NullableDirectDebitType

func (NullableDirectDebitType) Get

func (NullableDirectDebitType) IsSet

func (v NullableDirectDebitType) IsSet() bool

func (NullableDirectDebitType) MarshalJSON

func (v NullableDirectDebitType) MarshalJSON() ([]byte, error)

func (*NullableDirectDebitType) Set

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 NullableEWalletAccount

type NullableEWalletAccount struct {
	// contains filtered or unexported fields
}

func NewNullableEWalletAccount

func NewNullableEWalletAccount(val *EWalletAccount) *NullableEWalletAccount

func (NullableEWalletAccount) Get

func (NullableEWalletAccount) IsSet

func (v NullableEWalletAccount) IsSet() bool

func (NullableEWalletAccount) MarshalJSON

func (v NullableEWalletAccount) MarshalJSON() ([]byte, error)

func (*NullableEWalletAccount) Set

func (*NullableEWalletAccount) UnmarshalJSON

func (v *NullableEWalletAccount) UnmarshalJSON(src []byte) error

func (*NullableEWalletAccount) Unset

func (v *NullableEWalletAccount) Unset()

type NullableEWalletChannelCode

type NullableEWalletChannelCode struct {
	// contains filtered or unexported fields
}

func NewNullableEWalletChannelCode

func NewNullableEWalletChannelCode(val *EWalletChannelCode) *NullableEWalletChannelCode

func (NullableEWalletChannelCode) Get

func (NullableEWalletChannelCode) IsSet

func (v NullableEWalletChannelCode) IsSet() bool

func (NullableEWalletChannelCode) MarshalJSON

func (v NullableEWalletChannelCode) MarshalJSON() ([]byte, error)

func (*NullableEWalletChannelCode) Set

func (*NullableEWalletChannelCode) UnmarshalJSON

func (v *NullableEWalletChannelCode) UnmarshalJSON(src []byte) error

func (*NullableEWalletChannelCode) Unset

func (v *NullableEWalletChannelCode) Unset()

type NullableEWalletChannelProperties

type NullableEWalletChannelProperties struct {
	// contains filtered or unexported fields
}

func (NullableEWalletChannelProperties) Get

func (NullableEWalletChannelProperties) IsSet

func (NullableEWalletChannelProperties) MarshalJSON

func (v NullableEWalletChannelProperties) MarshalJSON() ([]byte, error)

func (*NullableEWalletChannelProperties) Set

func (*NullableEWalletChannelProperties) UnmarshalJSON

func (v *NullableEWalletChannelProperties) UnmarshalJSON(src []byte) error

func (*NullableEWalletChannelProperties) Unset

type NullableEWalletParameters

type NullableEWalletParameters struct {
	// contains filtered or unexported fields
}

func NewNullableEWalletParameters

func NewNullableEWalletParameters(val *EWalletParameters) *NullableEWalletParameters

func (NullableEWalletParameters) Get

func (NullableEWalletParameters) IsSet

func (v NullableEWalletParameters) IsSet() bool

func (NullableEWalletParameters) MarshalJSON

func (v NullableEWalletParameters) MarshalJSON() ([]byte, error)

func (*NullableEWalletParameters) Set

func (*NullableEWalletParameters) UnmarshalJSON

func (v *NullableEWalletParameters) UnmarshalJSON(src []byte) error

func (*NullableEWalletParameters) Unset

func (v *NullableEWalletParameters) 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 NullableGetAllPaymentMethods400Response

type NullableGetAllPaymentMethods400Response struct {
	// contains filtered or unexported fields
}

func (NullableGetAllPaymentMethods400Response) Get

func (NullableGetAllPaymentMethods400Response) IsSet

func (NullableGetAllPaymentMethods400Response) MarshalJSON

func (v NullableGetAllPaymentMethods400Response) MarshalJSON() ([]byte, error)

func (*NullableGetAllPaymentMethods400Response) Set

func (*NullableGetAllPaymentMethods400Response) UnmarshalJSON

func (v *NullableGetAllPaymentMethods400Response) UnmarshalJSON(src []byte) error

func (*NullableGetAllPaymentMethods400Response) Unset

type NullableGetAllPaymentMethods403Response

type NullableGetAllPaymentMethods403Response struct {
	// contains filtered or unexported fields
}

func (NullableGetAllPaymentMethods403Response) Get

func (NullableGetAllPaymentMethods403Response) IsSet

func (NullableGetAllPaymentMethods403Response) MarshalJSON

func (v NullableGetAllPaymentMethods403Response) MarshalJSON() ([]byte, error)

func (*NullableGetAllPaymentMethods403Response) Set

func (*NullableGetAllPaymentMethods403Response) UnmarshalJSON

func (v *NullableGetAllPaymentMethods403Response) UnmarshalJSON(src []byte) error

func (*NullableGetAllPaymentMethods403Response) Unset

type NullableGetAllPaymentMethods404Response

type NullableGetAllPaymentMethods404Response struct {
	// contains filtered or unexported fields
}

func (NullableGetAllPaymentMethods404Response) Get

func (NullableGetAllPaymentMethods404Response) IsSet

func (NullableGetAllPaymentMethods404Response) MarshalJSON

func (v NullableGetAllPaymentMethods404Response) MarshalJSON() ([]byte, error)

func (*NullableGetAllPaymentMethods404Response) Set

func (*NullableGetAllPaymentMethods404Response) UnmarshalJSON

func (v *NullableGetAllPaymentMethods404Response) UnmarshalJSON(src []byte) error

func (*NullableGetAllPaymentMethods404Response) Unset

type NullableGetAllPaymentMethodsDefaultResponse

type NullableGetAllPaymentMethodsDefaultResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetAllPaymentMethodsDefaultResponse) Get

func (NullableGetAllPaymentMethodsDefaultResponse) IsSet

func (NullableGetAllPaymentMethodsDefaultResponse) MarshalJSON

func (*NullableGetAllPaymentMethodsDefaultResponse) Set

func (*NullableGetAllPaymentMethodsDefaultResponse) UnmarshalJSON

func (v *NullableGetAllPaymentMethodsDefaultResponse) UnmarshalJSON(src []byte) error

func (*NullableGetAllPaymentMethodsDefaultResponse) 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 NullableOverTheCounter

type NullableOverTheCounter struct {
	// contains filtered or unexported fields
}

func NewNullableOverTheCounter

func NewNullableOverTheCounter(val *OverTheCounter) *NullableOverTheCounter

func (NullableOverTheCounter) Get

func (NullableOverTheCounter) IsSet

func (v NullableOverTheCounter) IsSet() bool

func (NullableOverTheCounter) MarshalJSON

func (v NullableOverTheCounter) MarshalJSON() ([]byte, error)

func (*NullableOverTheCounter) Set

func (*NullableOverTheCounter) UnmarshalJSON

func (v *NullableOverTheCounter) UnmarshalJSON(src []byte) error

func (*NullableOverTheCounter) Unset

func (v *NullableOverTheCounter) Unset()

type NullableOverTheCounterChannelCode

type NullableOverTheCounterChannelCode struct {
	// contains filtered or unexported fields
}

func (NullableOverTheCounterChannelCode) Get

func (NullableOverTheCounterChannelCode) IsSet

func (NullableOverTheCounterChannelCode) MarshalJSON

func (v NullableOverTheCounterChannelCode) MarshalJSON() ([]byte, error)

func (*NullableOverTheCounterChannelCode) Set

func (*NullableOverTheCounterChannelCode) UnmarshalJSON

func (v *NullableOverTheCounterChannelCode) UnmarshalJSON(src []byte) error

func (*NullableOverTheCounterChannelCode) Unset

type NullableOverTheCounterChannelProperties

type NullableOverTheCounterChannelProperties struct {
	// contains filtered or unexported fields
}

func (NullableOverTheCounterChannelProperties) Get

func (NullableOverTheCounterChannelProperties) IsSet

func (NullableOverTheCounterChannelProperties) MarshalJSON

func (v NullableOverTheCounterChannelProperties) MarshalJSON() ([]byte, error)

func (*NullableOverTheCounterChannelProperties) Set

func (*NullableOverTheCounterChannelProperties) UnmarshalJSON

func (v *NullableOverTheCounterChannelProperties) UnmarshalJSON(src []byte) error

func (*NullableOverTheCounterChannelProperties) Unset

type NullableOverTheCounterChannelPropertiesUpdate

type NullableOverTheCounterChannelPropertiesUpdate struct {
	// contains filtered or unexported fields
}

func (NullableOverTheCounterChannelPropertiesUpdate) Get

func (NullableOverTheCounterChannelPropertiesUpdate) IsSet

func (NullableOverTheCounterChannelPropertiesUpdate) MarshalJSON

func (*NullableOverTheCounterChannelPropertiesUpdate) Set

func (*NullableOverTheCounterChannelPropertiesUpdate) UnmarshalJSON

func (*NullableOverTheCounterChannelPropertiesUpdate) Unset

type NullableOverTheCounterParameters

type NullableOverTheCounterParameters struct {
	// contains filtered or unexported fields
}

func (NullableOverTheCounterParameters) Get

func (NullableOverTheCounterParameters) IsSet

func (NullableOverTheCounterParameters) MarshalJSON

func (v NullableOverTheCounterParameters) MarshalJSON() ([]byte, error)

func (*NullableOverTheCounterParameters) Set

func (*NullableOverTheCounterParameters) UnmarshalJSON

func (v *NullableOverTheCounterParameters) UnmarshalJSON(src []byte) error

func (*NullableOverTheCounterParameters) Unset

type NullableOverTheCounterUpdateParameters

type NullableOverTheCounterUpdateParameters struct {
	// contains filtered or unexported fields
}

func (NullableOverTheCounterUpdateParameters) Get

func (NullableOverTheCounterUpdateParameters) IsSet

func (NullableOverTheCounterUpdateParameters) MarshalJSON

func (v NullableOverTheCounterUpdateParameters) MarshalJSON() ([]byte, error)

func (*NullableOverTheCounterUpdateParameters) Set

func (*NullableOverTheCounterUpdateParameters) UnmarshalJSON

func (v *NullableOverTheCounterUpdateParameters) UnmarshalJSON(src []byte) error

func (*NullableOverTheCounterUpdateParameters) Unset

type NullablePaymentMethod

type NullablePaymentMethod struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethod

func NewNullablePaymentMethod(val *PaymentMethod) *NullablePaymentMethod

func (NullablePaymentMethod) Get

func (NullablePaymentMethod) IsSet

func (v NullablePaymentMethod) IsSet() bool

func (NullablePaymentMethod) MarshalJSON

func (v NullablePaymentMethod) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethod) Set

func (v *NullablePaymentMethod) Set(val *PaymentMethod)

func (*NullablePaymentMethod) UnmarshalJSON

func (v *NullablePaymentMethod) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethod) Unset

func (v *NullablePaymentMethod) Unset()

type NullablePaymentMethodAction

type NullablePaymentMethodAction struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodAction

func NewNullablePaymentMethodAction(val *PaymentMethodAction) *NullablePaymentMethodAction

func (NullablePaymentMethodAction) Get

func (NullablePaymentMethodAction) IsSet

func (NullablePaymentMethodAction) MarshalJSON

func (v NullablePaymentMethodAction) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodAction) Set

func (*NullablePaymentMethodAction) UnmarshalJSON

func (v *NullablePaymentMethodAction) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodAction) Unset

func (v *NullablePaymentMethodAction) Unset()

type NullablePaymentMethodAuthParameters

type NullablePaymentMethodAuthParameters struct {
	// contains filtered or unexported fields
}

func (NullablePaymentMethodAuthParameters) Get

func (NullablePaymentMethodAuthParameters) IsSet

func (NullablePaymentMethodAuthParameters) MarshalJSON

func (v NullablePaymentMethodAuthParameters) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodAuthParameters) Set

func (*NullablePaymentMethodAuthParameters) UnmarshalJSON

func (v *NullablePaymentMethodAuthParameters) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodAuthParameters) Unset

type NullablePaymentMethodCallback

type NullablePaymentMethodCallback struct {
	// contains filtered or unexported fields
}

func (NullablePaymentMethodCallback) Get

func (NullablePaymentMethodCallback) IsSet

func (NullablePaymentMethodCallback) MarshalJSON

func (v NullablePaymentMethodCallback) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodCallback) Set

func (*NullablePaymentMethodCallback) UnmarshalJSON

func (v *NullablePaymentMethodCallback) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodCallback) Unset

func (v *NullablePaymentMethodCallback) Unset()

type NullablePaymentMethodCountry

type NullablePaymentMethodCountry struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodCountry

func NewNullablePaymentMethodCountry(val *PaymentMethodCountry) *NullablePaymentMethodCountry

func (NullablePaymentMethodCountry) Get

func (NullablePaymentMethodCountry) IsSet

func (NullablePaymentMethodCountry) MarshalJSON

func (v NullablePaymentMethodCountry) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodCountry) Set

func (*NullablePaymentMethodCountry) UnmarshalJSON

func (v *NullablePaymentMethodCountry) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodCountry) Unset

func (v *NullablePaymentMethodCountry) Unset()

type NullablePaymentMethodExpireParameters

type NullablePaymentMethodExpireParameters struct {
	// contains filtered or unexported fields
}

func (NullablePaymentMethodExpireParameters) Get

func (NullablePaymentMethodExpireParameters) IsSet

func (NullablePaymentMethodExpireParameters) MarshalJSON

func (v NullablePaymentMethodExpireParameters) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodExpireParameters) Set

func (*NullablePaymentMethodExpireParameters) UnmarshalJSON

func (v *NullablePaymentMethodExpireParameters) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodExpireParameters) Unset

type NullablePaymentMethodList

type NullablePaymentMethodList struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodList

func NewNullablePaymentMethodList(val *PaymentMethodList) *NullablePaymentMethodList

func (NullablePaymentMethodList) Get

func (NullablePaymentMethodList) IsSet

func (v NullablePaymentMethodList) IsSet() bool

func (NullablePaymentMethodList) MarshalJSON

func (v NullablePaymentMethodList) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodList) Set

func (*NullablePaymentMethodList) UnmarshalJSON

func (v *NullablePaymentMethodList) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodList) Unset

func (v *NullablePaymentMethodList) Unset()

type NullablePaymentMethodParameters

type NullablePaymentMethodParameters struct {
	// contains filtered or unexported fields
}

func (NullablePaymentMethodParameters) Get

func (NullablePaymentMethodParameters) IsSet

func (NullablePaymentMethodParameters) MarshalJSON

func (v NullablePaymentMethodParameters) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodParameters) Set

func (*NullablePaymentMethodParameters) UnmarshalJSON

func (v *NullablePaymentMethodParameters) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodParameters) Unset

type NullablePaymentMethodReusability

type NullablePaymentMethodReusability struct {
	// contains filtered or unexported fields
}

func (NullablePaymentMethodReusability) Get

func (NullablePaymentMethodReusability) IsSet

func (NullablePaymentMethodReusability) MarshalJSON

func (v NullablePaymentMethodReusability) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodReusability) Set

func (*NullablePaymentMethodReusability) UnmarshalJSON

func (v *NullablePaymentMethodReusability) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodReusability) Unset

type NullablePaymentMethodStatus

type NullablePaymentMethodStatus struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodStatus

func NewNullablePaymentMethodStatus(val *PaymentMethodStatus) *NullablePaymentMethodStatus

func (NullablePaymentMethodStatus) Get

func (NullablePaymentMethodStatus) IsSet

func (NullablePaymentMethodStatus) MarshalJSON

func (v NullablePaymentMethodStatus) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodStatus) Set

func (*NullablePaymentMethodStatus) UnmarshalJSON

func (v *NullablePaymentMethodStatus) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodStatus) Unset

func (v *NullablePaymentMethodStatus) Unset()

type NullablePaymentMethodType

type NullablePaymentMethodType struct {
	// contains filtered or unexported fields
}

func NewNullablePaymentMethodType

func NewNullablePaymentMethodType(val *PaymentMethodType) *NullablePaymentMethodType

func (NullablePaymentMethodType) Get

func (NullablePaymentMethodType) IsSet

func (v NullablePaymentMethodType) IsSet() bool

func (NullablePaymentMethodType) MarshalJSON

func (v NullablePaymentMethodType) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodType) Set

func (*NullablePaymentMethodType) UnmarshalJSON

func (v *NullablePaymentMethodType) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodType) Unset

func (v *NullablePaymentMethodType) Unset()

type NullablePaymentMethodUpdateParameters

type NullablePaymentMethodUpdateParameters struct {
	// contains filtered or unexported fields
}

func (NullablePaymentMethodUpdateParameters) Get

func (NullablePaymentMethodUpdateParameters) IsSet

func (NullablePaymentMethodUpdateParameters) MarshalJSON

func (v NullablePaymentMethodUpdateParameters) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodUpdateParameters) Set

func (*NullablePaymentMethodUpdateParameters) UnmarshalJSON

func (v *NullablePaymentMethodUpdateParameters) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodUpdateParameters) 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 NullableQRCodeChannelCode

type NullableQRCodeChannelCode struct {
	// contains filtered or unexported fields
}

func NewNullableQRCodeChannelCode

func NewNullableQRCodeChannelCode(val *QRCodeChannelCode) *NullableQRCodeChannelCode

func (NullableQRCodeChannelCode) Get

func (NullableQRCodeChannelCode) IsSet

func (v NullableQRCodeChannelCode) IsSet() bool

func (NullableQRCodeChannelCode) MarshalJSON

func (v NullableQRCodeChannelCode) MarshalJSON() ([]byte, error)

func (*NullableQRCodeChannelCode) Set

func (*NullableQRCodeChannelCode) UnmarshalJSON

func (v *NullableQRCodeChannelCode) UnmarshalJSON(src []byte) error

func (*NullableQRCodeChannelCode) Unset

func (v *NullableQRCodeChannelCode) Unset()

type NullableQRCodeChannelProperties

type NullableQRCodeChannelProperties struct {
	// contains filtered or unexported fields
}

func (NullableQRCodeChannelProperties) Get

func (NullableQRCodeChannelProperties) IsSet

func (NullableQRCodeChannelProperties) MarshalJSON

func (v NullableQRCodeChannelProperties) MarshalJSON() ([]byte, error)

func (*NullableQRCodeChannelProperties) Set

func (*NullableQRCodeChannelProperties) UnmarshalJSON

func (v *NullableQRCodeChannelProperties) UnmarshalJSON(src []byte) error

func (*NullableQRCodeChannelProperties) Unset

type NullableQRCodeParameters

type NullableQRCodeParameters struct {
	// contains filtered or unexported fields
}

func NewNullableQRCodeParameters

func NewNullableQRCodeParameters(val *QRCodeParameters) *NullableQRCodeParameters

func (NullableQRCodeParameters) Get

func (NullableQRCodeParameters) IsSet

func (v NullableQRCodeParameters) IsSet() bool

func (NullableQRCodeParameters) MarshalJSON

func (v NullableQRCodeParameters) MarshalJSON() ([]byte, error)

func (*NullableQRCodeParameters) Set

func (*NullableQRCodeParameters) UnmarshalJSON

func (v *NullableQRCodeParameters) UnmarshalJSON(src []byte) error

func (*NullableQRCodeParameters) Unset

func (v *NullableQRCodeParameters) Unset()

type NullableSimulatePaymentRequest

type NullableSimulatePaymentRequest struct {
	// contains filtered or unexported fields
}

func (NullableSimulatePaymentRequest) Get

func (NullableSimulatePaymentRequest) IsSet

func (NullableSimulatePaymentRequest) MarshalJSON

func (v NullableSimulatePaymentRequest) MarshalJSON() ([]byte, error)

func (*NullableSimulatePaymentRequest) Set

func (*NullableSimulatePaymentRequest) UnmarshalJSON

func (v *NullableSimulatePaymentRequest) UnmarshalJSON(src []byte) error

func (*NullableSimulatePaymentRequest) Unset

func (v *NullableSimulatePaymentRequest) 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 NullableTokenizedCardInformation

type NullableTokenizedCardInformation struct {
	// contains filtered or unexported fields
}

func (NullableTokenizedCardInformation) Get

func (NullableTokenizedCardInformation) IsSet

func (NullableTokenizedCardInformation) MarshalJSON

func (v NullableTokenizedCardInformation) MarshalJSON() ([]byte, error)

func (*NullableTokenizedCardInformation) Set

func (*NullableTokenizedCardInformation) UnmarshalJSON

func (v *NullableTokenizedCardInformation) UnmarshalJSON(src []byte) error

func (*NullableTokenizedCardInformation) Unset

type NullableVirtualAccount

type NullableVirtualAccount struct {
	// contains filtered or unexported fields
}

func NewNullableVirtualAccount

func NewNullableVirtualAccount(val *VirtualAccount) *NullableVirtualAccount

func (NullableVirtualAccount) Get

func (NullableVirtualAccount) IsSet

func (v NullableVirtualAccount) IsSet() bool

func (NullableVirtualAccount) MarshalJSON

func (v NullableVirtualAccount) MarshalJSON() ([]byte, error)

func (*NullableVirtualAccount) Set

func (*NullableVirtualAccount) UnmarshalJSON

func (v *NullableVirtualAccount) UnmarshalJSON(src []byte) error

func (*NullableVirtualAccount) Unset

func (v *NullableVirtualAccount) Unset()

type NullableVirtualAccountAllOf

type NullableVirtualAccountAllOf struct {
	// contains filtered or unexported fields
}

func NewNullableVirtualAccountAllOf

func NewNullableVirtualAccountAllOf(val *VirtualAccountAllOf) *NullableVirtualAccountAllOf

func (NullableVirtualAccountAllOf) Get

func (NullableVirtualAccountAllOf) IsSet

func (NullableVirtualAccountAllOf) MarshalJSON

func (v NullableVirtualAccountAllOf) MarshalJSON() ([]byte, error)

func (*NullableVirtualAccountAllOf) Set

func (*NullableVirtualAccountAllOf) UnmarshalJSON

func (v *NullableVirtualAccountAllOf) UnmarshalJSON(src []byte) error

func (*NullableVirtualAccountAllOf) Unset

func (v *NullableVirtualAccountAllOf) Unset()

type NullableVirtualAccountAlternativeDisplay

type NullableVirtualAccountAlternativeDisplay struct {
	// contains filtered or unexported fields
}

func (NullableVirtualAccountAlternativeDisplay) Get

func (NullableVirtualAccountAlternativeDisplay) IsSet

func (NullableVirtualAccountAlternativeDisplay) MarshalJSON

func (*NullableVirtualAccountAlternativeDisplay) Set

func (*NullableVirtualAccountAlternativeDisplay) UnmarshalJSON

func (v *NullableVirtualAccountAlternativeDisplay) UnmarshalJSON(src []byte) error

func (*NullableVirtualAccountAlternativeDisplay) Unset

type NullableVirtualAccountChannelCode

type NullableVirtualAccountChannelCode struct {
	// contains filtered or unexported fields
}

func (NullableVirtualAccountChannelCode) Get

func (NullableVirtualAccountChannelCode) IsSet

func (NullableVirtualAccountChannelCode) MarshalJSON

func (v NullableVirtualAccountChannelCode) MarshalJSON() ([]byte, error)

func (*NullableVirtualAccountChannelCode) Set

func (*NullableVirtualAccountChannelCode) UnmarshalJSON

func (v *NullableVirtualAccountChannelCode) UnmarshalJSON(src []byte) error

func (*NullableVirtualAccountChannelCode) Unset

type NullableVirtualAccountChannelProperties

type NullableVirtualAccountChannelProperties struct {
	// contains filtered or unexported fields
}

func (NullableVirtualAccountChannelProperties) Get

func (NullableVirtualAccountChannelProperties) IsSet

func (NullableVirtualAccountChannelProperties) MarshalJSON

func (v NullableVirtualAccountChannelProperties) MarshalJSON() ([]byte, error)

func (*NullableVirtualAccountChannelProperties) Set

func (*NullableVirtualAccountChannelProperties) UnmarshalJSON

func (v *NullableVirtualAccountChannelProperties) UnmarshalJSON(src []byte) error

func (*NullableVirtualAccountChannelProperties) Unset

type NullableVirtualAccountChannelPropertiesPatch

type NullableVirtualAccountChannelPropertiesPatch struct {
	// contains filtered or unexported fields
}

func (NullableVirtualAccountChannelPropertiesPatch) Get

func (NullableVirtualAccountChannelPropertiesPatch) IsSet

func (NullableVirtualAccountChannelPropertiesPatch) MarshalJSON

func (*NullableVirtualAccountChannelPropertiesPatch) Set

func (*NullableVirtualAccountChannelPropertiesPatch) UnmarshalJSON

func (*NullableVirtualAccountChannelPropertiesPatch) Unset

type NullableVirtualAccountParameters

type NullableVirtualAccountParameters struct {
	// contains filtered or unexported fields
}

func (NullableVirtualAccountParameters) Get

func (NullableVirtualAccountParameters) IsSet

func (NullableVirtualAccountParameters) MarshalJSON

func (v NullableVirtualAccountParameters) MarshalJSON() ([]byte, error)

func (*NullableVirtualAccountParameters) Set

func (*NullableVirtualAccountParameters) UnmarshalJSON

func (v *NullableVirtualAccountParameters) UnmarshalJSON(src []byte) error

func (*NullableVirtualAccountParameters) Unset

type NullableVirtualAccountUpdateParameters

type NullableVirtualAccountUpdateParameters struct {
	// contains filtered or unexported fields
}

func (NullableVirtualAccountUpdateParameters) Get

func (NullableVirtualAccountUpdateParameters) IsSet

func (NullableVirtualAccountUpdateParameters) MarshalJSON

func (v NullableVirtualAccountUpdateParameters) MarshalJSON() ([]byte, error)

func (*NullableVirtualAccountUpdateParameters) Set

func (*NullableVirtualAccountUpdateParameters) UnmarshalJSON

func (v *NullableVirtualAccountUpdateParameters) UnmarshalJSON(src []byte) error

func (*NullableVirtualAccountUpdateParameters) Unset

type OverTheCounter

type OverTheCounter struct {
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	Currency          *string                         `json:"currency,omitempty"`
	ChannelCode       OverTheCounterChannelCode       `json:"channel_code"`
	ChannelProperties OverTheCounterChannelProperties `json:"channel_properties"`
}

OverTheCounter Over The Counter Payment Method Details

func NewOverTheCounter

func NewOverTheCounter(channelCode OverTheCounterChannelCode, channelProperties OverTheCounterChannelProperties) *OverTheCounter

NewOverTheCounter instantiates a new OverTheCounter 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 NewOverTheCounterWithDefaults

func NewOverTheCounterWithDefaults() *OverTheCounter

NewOverTheCounterWithDefaults instantiates a new OverTheCounter 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 (*OverTheCounter) GetAmount

func (o *OverTheCounter) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OverTheCounter) GetAmountOk

func (o *OverTheCounter) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount 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 (*OverTheCounter) GetChannelCode

func (o *OverTheCounter) GetChannelCode() OverTheCounterChannelCode

GetChannelCode returns the ChannelCode field value

func (*OverTheCounter) GetChannelCodeOk

func (o *OverTheCounter) GetChannelCodeOk() (*OverTheCounterChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode field value and a boolean to check if the value has been set.

func (*OverTheCounter) GetChannelProperties

func (o *OverTheCounter) GetChannelProperties() OverTheCounterChannelProperties

GetChannelProperties returns the ChannelProperties field value

func (*OverTheCounter) GetChannelPropertiesOk

func (o *OverTheCounter) GetChannelPropertiesOk() (*OverTheCounterChannelProperties, bool)

GetChannelPropertiesOk returns a tuple with the ChannelProperties field value and a boolean to check if the value has been set.

func (*OverTheCounter) GetCurrency

func (o *OverTheCounter) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*OverTheCounter) GetCurrencyOk

func (o *OverTheCounter) 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 (*OverTheCounter) HasAmount

func (o *OverTheCounter) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*OverTheCounter) HasCurrency

func (o *OverTheCounter) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (OverTheCounter) MarshalJSON

func (o OverTheCounter) MarshalJSON() ([]byte, error)

func (*OverTheCounter) SetAmount

func (o *OverTheCounter) SetAmount(v float64)

SetAmount gets a reference to the given NullableFloat64 and assigns it to the Amount field.

func (*OverTheCounter) SetAmountNil

func (o *OverTheCounter) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*OverTheCounter) SetChannelCode

func (o *OverTheCounter) SetChannelCode(v OverTheCounterChannelCode)

SetChannelCode sets field value

func (*OverTheCounter) SetChannelProperties

func (o *OverTheCounter) SetChannelProperties(v OverTheCounterChannelProperties)

SetChannelProperties sets field value

func (*OverTheCounter) SetCurrency

func (o *OverTheCounter) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (OverTheCounter) ToMap

func (o OverTheCounter) ToMap() (map[string]interface{}, error)

func (*OverTheCounter) UnsetAmount

func (o *OverTheCounter) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

type OverTheCounterChannelCode

type OverTheCounterChannelCode string

OverTheCounterChannelCode Over The Counter Channel Code

const (
	OVERTHECOUNTERCHANNELCODE__7_ELEVEN                    OverTheCounterChannelCode = "7ELEVEN"
	OVERTHECOUNTERCHANNELCODE__7_ELEVEN_CLIQQ              OverTheCounterChannelCode = "7ELEVEN_CLIQQ"
	OVERTHECOUNTERCHANNELCODE_CEBUANA                      OverTheCounterChannelCode = "CEBUANA"
	OVERTHECOUNTERCHANNELCODE_ECPAY                        OverTheCounterChannelCode = "ECPAY"
	OVERTHECOUNTERCHANNELCODE_PALAWAN                      OverTheCounterChannelCode = "PALAWAN"
	OVERTHECOUNTERCHANNELCODE_MLHUILLIER                   OverTheCounterChannelCode = "MLHUILLIER"
	OVERTHECOUNTERCHANNELCODE_ECPAY_DRAGONLOAN             OverTheCounterChannelCode = "ECPAY_DRAGONLOAN"
	OVERTHECOUNTERCHANNELCODE_LBC                          OverTheCounterChannelCode = "LBC"
	OVERTHECOUNTERCHANNELCODE_ECPAY_SCHOOL                 OverTheCounterChannelCode = "ECPAY_SCHOOL"
	OVERTHECOUNTERCHANNELCODE_RD_PAWNSHOP                  OverTheCounterChannelCode = "RD_PAWNSHOP"
	OVERTHECOUNTERCHANNELCODE_CVM                          OverTheCounterChannelCode = "CVM"
	OVERTHECOUNTERCHANNELCODE_USSC                         OverTheCounterChannelCode = "USSC"
	OVERTHECOUNTERCHANNELCODE_SM_BILLS                     OverTheCounterChannelCode = "SM_BILLS"
	OVERTHECOUNTERCHANNELCODE_ROBINSONS_BILLS              OverTheCounterChannelCode = "ROBINSONS_BILLS"
	OVERTHECOUNTERCHANNELCODE_ALFAMART                     OverTheCounterChannelCode = "ALFAMART"
	OVERTHECOUNTERCHANNELCODE_INDOMARET                    OverTheCounterChannelCode = "INDOMARET"
	OVERTHECOUNTERCHANNELCODE_XENDIT_ENUM_DEFAULT_FALLBACK OverTheCounterChannelCode = "UNKNOWN_ENUM_VALUE"
)

List of OverTheCounterChannelCode

func NewOverTheCounterChannelCodeFromValue

func NewOverTheCounterChannelCodeFromValue(v string) (*OverTheCounterChannelCode, error)

NewOverTheCounterChannelCodeFromValue returns a pointer to a valid OverTheCounterChannelCode for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OverTheCounterChannelCode) IsValid

func (v OverTheCounterChannelCode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OverTheCounterChannelCode) Ptr

Ptr returns reference to OverTheCounterChannelCode value

func (OverTheCounterChannelCode) String

func (v OverTheCounterChannelCode) String() string

func (*OverTheCounterChannelCode) UnmarshalJSON

func (v *OverTheCounterChannelCode) UnmarshalJSON(src []byte) error

type OverTheCounterChannelProperties

type OverTheCounterChannelProperties struct {
	// The payment code that you want to assign, e.g 12345. If you do not send one, one will be picked at random.
	PaymentCode *string `json:"payment_code,omitempty"`
	// Name of customer.
	CustomerName string `json:"customer_name"`
	// The time when the payment code will be expired. The minimum is 2 hours and the maximum is 9 days for 7ELEVEN. Default expired date will be 2 days from payment code generated.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
}

OverTheCounterChannelProperties Over The Counter Channel Properties

func NewOverTheCounterChannelProperties

func NewOverTheCounterChannelProperties(customerName string) *OverTheCounterChannelProperties

NewOverTheCounterChannelProperties instantiates a new OverTheCounterChannelProperties 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 NewOverTheCounterChannelPropertiesWithDefaults

func NewOverTheCounterChannelPropertiesWithDefaults() *OverTheCounterChannelProperties

NewOverTheCounterChannelPropertiesWithDefaults instantiates a new OverTheCounterChannelProperties 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 (*OverTheCounterChannelProperties) GetCustomerName

func (o *OverTheCounterChannelProperties) GetCustomerName() string

GetCustomerName returns the CustomerName field value

func (*OverTheCounterChannelProperties) GetCustomerNameOk

func (o *OverTheCounterChannelProperties) GetCustomerNameOk() (*string, bool)

GetCustomerNameOk returns a tuple with the CustomerName field value and a boolean to check if the value has been set.

func (*OverTheCounterChannelProperties) GetExpiresAt

func (o *OverTheCounterChannelProperties) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*OverTheCounterChannelProperties) GetExpiresAtOk

func (o *OverTheCounterChannelProperties) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OverTheCounterChannelProperties) GetPaymentCode

func (o *OverTheCounterChannelProperties) GetPaymentCode() string

GetPaymentCode returns the PaymentCode field value if set, zero value otherwise.

func (*OverTheCounterChannelProperties) GetPaymentCodeOk

func (o *OverTheCounterChannelProperties) 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 (*OverTheCounterChannelProperties) HasExpiresAt

func (o *OverTheCounterChannelProperties) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*OverTheCounterChannelProperties) HasPaymentCode

func (o *OverTheCounterChannelProperties) HasPaymentCode() bool

HasPaymentCode returns a boolean if a field has been set.

func (OverTheCounterChannelProperties) MarshalJSON

func (o OverTheCounterChannelProperties) MarshalJSON() ([]byte, error)

func (*OverTheCounterChannelProperties) SetCustomerName

func (o *OverTheCounterChannelProperties) SetCustomerName(v string)

SetCustomerName sets field value

func (*OverTheCounterChannelProperties) SetExpiresAt

func (o *OverTheCounterChannelProperties) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*OverTheCounterChannelProperties) SetPaymentCode

func (o *OverTheCounterChannelProperties) SetPaymentCode(v string)

SetPaymentCode gets a reference to the given string and assigns it to the PaymentCode field.

func (OverTheCounterChannelProperties) ToMap

func (o OverTheCounterChannelProperties) ToMap() (map[string]interface{}, error)

type OverTheCounterChannelPropertiesUpdate

type OverTheCounterChannelPropertiesUpdate struct {
	// Name of customer.
	CustomerName *string `json:"customer_name,omitempty"`
	// The time when the payment code will be expired. The minimum is 2 hours and the maximum is 9 days for 7ELEVEN. Default expired date will be 2 days from payment code generated.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
}

OverTheCounterChannelPropertiesUpdate Over The Counter Channel properties that can be updated

func NewOverTheCounterChannelPropertiesUpdate

func NewOverTheCounterChannelPropertiesUpdate() *OverTheCounterChannelPropertiesUpdate

NewOverTheCounterChannelPropertiesUpdate instantiates a new OverTheCounterChannelPropertiesUpdate 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 NewOverTheCounterChannelPropertiesUpdateWithDefaults

func NewOverTheCounterChannelPropertiesUpdateWithDefaults() *OverTheCounterChannelPropertiesUpdate

NewOverTheCounterChannelPropertiesUpdateWithDefaults instantiates a new OverTheCounterChannelPropertiesUpdate 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 (*OverTheCounterChannelPropertiesUpdate) GetCustomerName

func (o *OverTheCounterChannelPropertiesUpdate) GetCustomerName() string

GetCustomerName returns the CustomerName field value if set, zero value otherwise.

func (*OverTheCounterChannelPropertiesUpdate) GetCustomerNameOk

func (o *OverTheCounterChannelPropertiesUpdate) GetCustomerNameOk() (*string, bool)

GetCustomerNameOk returns a tuple with the CustomerName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OverTheCounterChannelPropertiesUpdate) GetExpiresAt

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*OverTheCounterChannelPropertiesUpdate) GetExpiresAtOk

func (o *OverTheCounterChannelPropertiesUpdate) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OverTheCounterChannelPropertiesUpdate) HasCustomerName

func (o *OverTheCounterChannelPropertiesUpdate) HasCustomerName() bool

HasCustomerName returns a boolean if a field has been set.

func (*OverTheCounterChannelPropertiesUpdate) HasExpiresAt

func (o *OverTheCounterChannelPropertiesUpdate) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (OverTheCounterChannelPropertiesUpdate) MarshalJSON

func (o OverTheCounterChannelPropertiesUpdate) MarshalJSON() ([]byte, error)

func (*OverTheCounterChannelPropertiesUpdate) SetCustomerName

func (o *OverTheCounterChannelPropertiesUpdate) SetCustomerName(v string)

SetCustomerName gets a reference to the given string and assigns it to the CustomerName field.

func (*OverTheCounterChannelPropertiesUpdate) SetExpiresAt

func (o *OverTheCounterChannelPropertiesUpdate) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (OverTheCounterChannelPropertiesUpdate) ToMap

func (o OverTheCounterChannelPropertiesUpdate) ToMap() (map[string]interface{}, error)

type OverTheCounterParameters

type OverTheCounterParameters struct {
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	Currency          *string                         `json:"currency,omitempty"`
	ChannelCode       OverTheCounterChannelCode       `json:"channel_code"`
	ChannelProperties OverTheCounterChannelProperties `json:"channel_properties"`
}

OverTheCounterParameters struct for OverTheCounterParameters

func NewOverTheCounterParameters

func NewOverTheCounterParameters(channelCode OverTheCounterChannelCode, channelProperties OverTheCounterChannelProperties) *OverTheCounterParameters

NewOverTheCounterParameters instantiates a new OverTheCounterParameters 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 NewOverTheCounterParametersWithDefaults

func NewOverTheCounterParametersWithDefaults() *OverTheCounterParameters

NewOverTheCounterParametersWithDefaults instantiates a new OverTheCounterParameters 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 (*OverTheCounterParameters) GetAmount

func (o *OverTheCounterParameters) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OverTheCounterParameters) GetAmountOk

func (o *OverTheCounterParameters) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount 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 (*OverTheCounterParameters) GetChannelCode

GetChannelCode returns the ChannelCode field value

func (*OverTheCounterParameters) GetChannelCodeOk

func (o *OverTheCounterParameters) GetChannelCodeOk() (*OverTheCounterChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode field value and a boolean to check if the value has been set.

func (*OverTheCounterParameters) GetChannelProperties

GetChannelProperties returns the ChannelProperties field value

func (*OverTheCounterParameters) GetChannelPropertiesOk

func (o *OverTheCounterParameters) GetChannelPropertiesOk() (*OverTheCounterChannelProperties, bool)

GetChannelPropertiesOk returns a tuple with the ChannelProperties field value and a boolean to check if the value has been set.

func (*OverTheCounterParameters) GetCurrency

func (o *OverTheCounterParameters) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*OverTheCounterParameters) GetCurrencyOk

func (o *OverTheCounterParameters) 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 (*OverTheCounterParameters) HasAmount

func (o *OverTheCounterParameters) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*OverTheCounterParameters) HasCurrency

func (o *OverTheCounterParameters) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (OverTheCounterParameters) MarshalJSON

func (o OverTheCounterParameters) MarshalJSON() ([]byte, error)

func (*OverTheCounterParameters) SetAmount

func (o *OverTheCounterParameters) SetAmount(v float64)

SetAmount gets a reference to the given NullableFloat64 and assigns it to the Amount field.

func (*OverTheCounterParameters) SetAmountNil

func (o *OverTheCounterParameters) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*OverTheCounterParameters) SetChannelCode

SetChannelCode sets field value

func (*OverTheCounterParameters) SetChannelProperties

func (o *OverTheCounterParameters) SetChannelProperties(v OverTheCounterChannelProperties)

SetChannelProperties sets field value

func (*OverTheCounterParameters) SetCurrency

func (o *OverTheCounterParameters) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (OverTheCounterParameters) ToMap

func (o OverTheCounterParameters) ToMap() (map[string]interface{}, error)

func (*OverTheCounterParameters) UnsetAmount

func (o *OverTheCounterParameters) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

type OverTheCounterUpdateParameters

type OverTheCounterUpdateParameters struct {
	Amount            NullableFloat64                        `json:"amount,omitempty"`
	ChannelProperties *OverTheCounterChannelPropertiesUpdate `json:"channel_properties,omitempty"`
}

OverTheCounterUpdateParameters struct for OverTheCounterUpdateParameters

func NewOverTheCounterUpdateParameters

func NewOverTheCounterUpdateParameters() *OverTheCounterUpdateParameters

NewOverTheCounterUpdateParameters instantiates a new OverTheCounterUpdateParameters 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 NewOverTheCounterUpdateParametersWithDefaults

func NewOverTheCounterUpdateParametersWithDefaults() *OverTheCounterUpdateParameters

NewOverTheCounterUpdateParametersWithDefaults instantiates a new OverTheCounterUpdateParameters 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 (*OverTheCounterUpdateParameters) GetAmount

func (o *OverTheCounterUpdateParameters) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*OverTheCounterUpdateParameters) GetAmountOk

func (o *OverTheCounterUpdateParameters) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount 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 (*OverTheCounterUpdateParameters) GetChannelProperties

GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise.

func (*OverTheCounterUpdateParameters) GetChannelPropertiesOk

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 (*OverTheCounterUpdateParameters) HasAmount

func (o *OverTheCounterUpdateParameters) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*OverTheCounterUpdateParameters) HasChannelProperties

func (o *OverTheCounterUpdateParameters) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (OverTheCounterUpdateParameters) MarshalJSON

func (o OverTheCounterUpdateParameters) MarshalJSON() ([]byte, error)

func (*OverTheCounterUpdateParameters) SetAmount

func (o *OverTheCounterUpdateParameters) SetAmount(v float64)

SetAmount gets a reference to the given NullableFloat64 and assigns it to the Amount field.

func (*OverTheCounterUpdateParameters) SetAmountNil

func (o *OverTheCounterUpdateParameters) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*OverTheCounterUpdateParameters) SetChannelProperties

SetChannelProperties gets a reference to the given OverTheCounterChannelPropertiesUpdate and assigns it to the ChannelProperties field.

func (OverTheCounterUpdateParameters) ToMap

func (o OverTheCounterUpdateParameters) ToMap() (map[string]interface{}, error)

func (*OverTheCounterUpdateParameters) UnsetAmount

func (o *OverTheCounterUpdateParameters) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

type PaymentMethod

type PaymentMethod struct {
	Id                 string                     `json:"id"`
	BusinessId         *string                    `json:"business_id,omitempty"`
	Type               *PaymentMethodType         `json:"type,omitempty"`
	Country            *PaymentMethodCountry      `json:"country,omitempty"`
	CustomerId         NullableString             `json:"customer_id,omitempty"`
	Customer           map[string]interface{}     `json:"customer,omitempty"`
	ReferenceId        *string                    `json:"reference_id,omitempty"`
	Description        NullableString             `json:"description,omitempty"`
	Status             *PaymentMethodStatus       `json:"status,omitempty"`
	Reusability        *PaymentMethodReusability  `json:"reusability,omitempty"`
	Actions            []PaymentMethodAction      `json:"actions,omitempty"`
	Metadata           map[string]interface{}     `json:"metadata,omitempty"`
	BillingInformation NullableBillingInformation `json:"billing_information,omitempty"`
	FailureCode        NullableString             `json:"failure_code,omitempty"`
	Created            *time.Time                 `json:"created,omitempty"`
	Updated            *time.Time                 `json:"updated,omitempty"`
	Ewallet            NullableEWallet            `json:"ewallet,omitempty"`
	DirectDebit        NullableDirectDebit        `json:"direct_debit,omitempty"`
	OverTheCounter     NullableOverTheCounter     `json:"over_the_counter,omitempty"`
	Card               NullableCard               `json:"card,omitempty"`
	QrCode             NullableQRCode             `json:"qr_code,omitempty"`
	VirtualAccount     NullableVirtualAccount     `json:"virtual_account,omitempty"`
}

PaymentMethod struct for PaymentMethod

func NewPaymentMethod

func NewPaymentMethod(id string) *PaymentMethod

NewPaymentMethod instantiates a new PaymentMethod 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 NewPaymentMethodWithDefaults

func NewPaymentMethodWithDefaults() *PaymentMethod

NewPaymentMethodWithDefaults instantiates a new PaymentMethod 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 (*PaymentMethod) GetActions

func (o *PaymentMethod) GetActions() []PaymentMethodAction

GetActions returns the Actions field value if set, zero value otherwise.

func (*PaymentMethod) GetActionsOk

func (o *PaymentMethod) GetActionsOk() ([]PaymentMethodAction, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetBillingInformation

func (o *PaymentMethod) GetBillingInformation() BillingInformation

GetBillingInformation returns the BillingInformation field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetBillingInformationOk

func (o *PaymentMethod) GetBillingInformationOk() (*BillingInformation, bool)

GetBillingInformationOk returns a tuple with the BillingInformation 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 (*PaymentMethod) GetBusinessId

func (o *PaymentMethod) GetBusinessId() string

GetBusinessId returns the BusinessId field value if set, zero value otherwise.

func (*PaymentMethod) GetBusinessIdOk

func (o *PaymentMethod) GetBusinessIdOk() (*string, bool)

GetBusinessIdOk returns a tuple with the BusinessId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetCard

func (o *PaymentMethod) GetCard() Card

GetCard returns the Card field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetCardOk

func (o *PaymentMethod) GetCardOk() (*Card, bool)

GetCardOk returns a tuple with the Card 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 (*PaymentMethod) GetCountry

func (o *PaymentMethod) GetCountry() PaymentMethodCountry

GetCountry returns the Country field value if set, zero value otherwise.

func (*PaymentMethod) GetCountryOk

func (o *PaymentMethod) GetCountryOk() (*PaymentMethodCountry, 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.

func (*PaymentMethod) GetCreated

func (o *PaymentMethod) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*PaymentMethod) GetCreatedOk

func (o *PaymentMethod) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetCustomer

func (o *PaymentMethod) GetCustomer() map[string]interface{}

GetCustomer returns the Customer field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetCustomerId

func (o *PaymentMethod) GetCustomerId() string

GetCustomerId returns the CustomerId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetCustomerIdOk

func (o *PaymentMethod) 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 (*PaymentMethod) GetCustomerOk

func (o *PaymentMethod) GetCustomerOk() (map[string]interface{}, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetDescription

func (o *PaymentMethod) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetDescriptionOk

func (o *PaymentMethod) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetDirectDebit

func (o *PaymentMethod) GetDirectDebit() DirectDebit

GetDirectDebit returns the DirectDebit field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetDirectDebitOk

func (o *PaymentMethod) GetDirectDebitOk() (*DirectDebit, bool)

GetDirectDebitOk returns a tuple with the DirectDebit 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 (*PaymentMethod) GetEwallet

func (o *PaymentMethod) GetEwallet() EWallet

GetEwallet returns the Ewallet field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetEwalletOk

func (o *PaymentMethod) GetEwalletOk() (*EWallet, bool)

GetEwalletOk returns a tuple with the Ewallet 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 (*PaymentMethod) GetFailureCode

func (o *PaymentMethod) GetFailureCode() string

GetFailureCode returns the FailureCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetFailureCodeOk

func (o *PaymentMethod) GetFailureCodeOk() (*string, bool)

GetFailureCodeOk returns a tuple with the FailureCode 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 (*PaymentMethod) GetId

func (o *PaymentMethod) GetId() string

GetId returns the Id field value

func (*PaymentMethod) GetIdOk

func (o *PaymentMethod) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PaymentMethod) GetMetadata

func (o *PaymentMethod) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetMetadataOk

func (o *PaymentMethod) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata 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 (*PaymentMethod) GetOverTheCounter

func (o *PaymentMethod) GetOverTheCounter() OverTheCounter

GetOverTheCounter returns the OverTheCounter field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetOverTheCounterOk

func (o *PaymentMethod) GetOverTheCounterOk() (*OverTheCounter, bool)

GetOverTheCounterOk returns a tuple with the OverTheCounter 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 (*PaymentMethod) GetQrCode

func (o *PaymentMethod) GetQrCode() QRCode

GetQrCode returns the QrCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetQrCodeOk

func (o *PaymentMethod) GetQrCodeOk() (*QRCode, bool)

GetQrCodeOk returns a tuple with the QrCode 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 (*PaymentMethod) GetReferenceId

func (o *PaymentMethod) GetReferenceId() string

GetReferenceId returns the ReferenceId field value if set, zero value otherwise.

func (*PaymentMethod) GetReferenceIdOk

func (o *PaymentMethod) 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 (*PaymentMethod) GetReusability

func (o *PaymentMethod) GetReusability() PaymentMethodReusability

GetReusability returns the Reusability field value if set, zero value otherwise.

func (*PaymentMethod) GetReusabilityOk

func (o *PaymentMethod) GetReusabilityOk() (*PaymentMethodReusability, bool)

GetReusabilityOk returns a tuple with the Reusability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetStatus

func (o *PaymentMethod) GetStatus() PaymentMethodStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentMethod) GetStatusOk

func (o *PaymentMethod) GetStatusOk() (*PaymentMethodStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetType

func (o *PaymentMethod) GetType() PaymentMethodType

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentMethod) GetTypeOk

func (o *PaymentMethod) GetTypeOk() (*PaymentMethodType, 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 (*PaymentMethod) GetUpdated

func (o *PaymentMethod) GetUpdated() time.Time

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*PaymentMethod) GetUpdatedOk

func (o *PaymentMethod) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetVirtualAccount

func (o *PaymentMethod) GetVirtualAccount() VirtualAccount

GetVirtualAccount returns the VirtualAccount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethod) GetVirtualAccountOk

func (o *PaymentMethod) GetVirtualAccountOk() (*VirtualAccount, bool)

GetVirtualAccountOk returns a tuple with the VirtualAccount 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 (*PaymentMethod) HasActions

func (o *PaymentMethod) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*PaymentMethod) HasBillingInformation

func (o *PaymentMethod) HasBillingInformation() bool

HasBillingInformation returns a boolean if a field has been set.

func (*PaymentMethod) HasBusinessId

func (o *PaymentMethod) HasBusinessId() bool

HasBusinessId returns a boolean if a field has been set.

func (*PaymentMethod) HasCard

func (o *PaymentMethod) HasCard() bool

HasCard returns a boolean if a field has been set.

func (*PaymentMethod) HasCountry

func (o *PaymentMethod) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PaymentMethod) HasCreated

func (o *PaymentMethod) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*PaymentMethod) HasCustomer

func (o *PaymentMethod) HasCustomer() bool

HasCustomer returns a boolean if a field has been set.

func (*PaymentMethod) HasCustomerId

func (o *PaymentMethod) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*PaymentMethod) HasDescription

func (o *PaymentMethod) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PaymentMethod) HasDirectDebit

func (o *PaymentMethod) HasDirectDebit() bool

HasDirectDebit returns a boolean if a field has been set.

func (*PaymentMethod) HasEwallet

func (o *PaymentMethod) HasEwallet() bool

HasEwallet returns a boolean if a field has been set.

func (*PaymentMethod) HasFailureCode

func (o *PaymentMethod) HasFailureCode() bool

HasFailureCode returns a boolean if a field has been set.

func (*PaymentMethod) HasMetadata

func (o *PaymentMethod) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PaymentMethod) HasOverTheCounter

func (o *PaymentMethod) HasOverTheCounter() bool

HasOverTheCounter returns a boolean if a field has been set.

func (*PaymentMethod) HasQrCode

func (o *PaymentMethod) HasQrCode() bool

HasQrCode returns a boolean if a field has been set.

func (*PaymentMethod) HasReferenceId

func (o *PaymentMethod) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*PaymentMethod) HasReusability

func (o *PaymentMethod) HasReusability() bool

HasReusability returns a boolean if a field has been set.

func (*PaymentMethod) HasStatus

func (o *PaymentMethod) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PaymentMethod) HasType

func (o *PaymentMethod) HasType() bool

HasType returns a boolean if a field has been set.

func (*PaymentMethod) HasUpdated

func (o *PaymentMethod) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (*PaymentMethod) HasVirtualAccount

func (o *PaymentMethod) HasVirtualAccount() bool

HasVirtualAccount returns a boolean if a field has been set.

func (PaymentMethod) MarshalJSON

func (o PaymentMethod) MarshalJSON() ([]byte, error)

func (*PaymentMethod) SetActions

func (o *PaymentMethod) SetActions(v []PaymentMethodAction)

SetActions gets a reference to the given []PaymentMethodAction and assigns it to the Actions field.

func (*PaymentMethod) SetBillingInformation

func (o *PaymentMethod) SetBillingInformation(v BillingInformation)

SetBillingInformation gets a reference to the given NullableBillingInformation and assigns it to the BillingInformation field.

func (*PaymentMethod) SetBillingInformationNil

func (o *PaymentMethod) SetBillingInformationNil()

SetBillingInformationNil sets the value for BillingInformation to be an explicit nil

func (*PaymentMethod) SetBusinessId

func (o *PaymentMethod) SetBusinessId(v string)

SetBusinessId gets a reference to the given string and assigns it to the BusinessId field.

func (*PaymentMethod) SetCard

func (o *PaymentMethod) SetCard(v Card)

SetCard gets a reference to the given NullableCard and assigns it to the Card field.

func (*PaymentMethod) SetCardNil

func (o *PaymentMethod) SetCardNil()

SetCardNil sets the value for Card to be an explicit nil

func (*PaymentMethod) SetCountry

func (o *PaymentMethod) SetCountry(v PaymentMethodCountry)

SetCountry gets a reference to the given PaymentMethodCountry and assigns it to the Country field.

func (*PaymentMethod) SetCreated

func (o *PaymentMethod) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*PaymentMethod) SetCustomer

func (o *PaymentMethod) SetCustomer(v map[string]interface{})

SetCustomer gets a reference to the given map[string]interface{} and assigns it to the Customer field.

func (*PaymentMethod) SetCustomerId

func (o *PaymentMethod) SetCustomerId(v string)

SetCustomerId gets a reference to the given NullableString and assigns it to the CustomerId field.

func (*PaymentMethod) SetCustomerIdNil

func (o *PaymentMethod) SetCustomerIdNil()

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

func (*PaymentMethod) SetDescription

func (o *PaymentMethod) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*PaymentMethod) SetDescriptionNil

func (o *PaymentMethod) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*PaymentMethod) SetDirectDebit

func (o *PaymentMethod) SetDirectDebit(v DirectDebit)

SetDirectDebit gets a reference to the given NullableDirectDebit and assigns it to the DirectDebit field.

func (*PaymentMethod) SetDirectDebitNil

func (o *PaymentMethod) SetDirectDebitNil()

SetDirectDebitNil sets the value for DirectDebit to be an explicit nil

func (*PaymentMethod) SetEwallet

func (o *PaymentMethod) SetEwallet(v EWallet)

SetEwallet gets a reference to the given NullableEWallet and assigns it to the Ewallet field.

func (*PaymentMethod) SetEwalletNil

func (o *PaymentMethod) SetEwalletNil()

SetEwalletNil sets the value for Ewallet to be an explicit nil

func (*PaymentMethod) SetFailureCode

func (o *PaymentMethod) SetFailureCode(v string)

SetFailureCode gets a reference to the given NullableString and assigns it to the FailureCode field.

func (*PaymentMethod) SetFailureCodeNil

func (o *PaymentMethod) SetFailureCodeNil()

SetFailureCodeNil sets the value for FailureCode to be an explicit nil

func (*PaymentMethod) SetId

func (o *PaymentMethod) SetId(v string)

SetId sets field value

func (*PaymentMethod) SetMetadata

func (o *PaymentMethod) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*PaymentMethod) SetOverTheCounter

func (o *PaymentMethod) SetOverTheCounter(v OverTheCounter)

SetOverTheCounter gets a reference to the given NullableOverTheCounter and assigns it to the OverTheCounter field.

func (*PaymentMethod) SetOverTheCounterNil

func (o *PaymentMethod) SetOverTheCounterNil()

SetOverTheCounterNil sets the value for OverTheCounter to be an explicit nil

func (*PaymentMethod) SetQrCode

func (o *PaymentMethod) SetQrCode(v QRCode)

SetQrCode gets a reference to the given NullableQRCode and assigns it to the QrCode field.

func (*PaymentMethod) SetQrCodeNil

func (o *PaymentMethod) SetQrCodeNil()

SetQrCodeNil sets the value for QrCode to be an explicit nil

func (*PaymentMethod) SetReferenceId

func (o *PaymentMethod) SetReferenceId(v string)

SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.

func (*PaymentMethod) SetReusability

func (o *PaymentMethod) SetReusability(v PaymentMethodReusability)

SetReusability gets a reference to the given PaymentMethodReusability and assigns it to the Reusability field.

func (*PaymentMethod) SetStatus

func (o *PaymentMethod) SetStatus(v PaymentMethodStatus)

SetStatus gets a reference to the given PaymentMethodStatus and assigns it to the Status field.

func (*PaymentMethod) SetType

func (o *PaymentMethod) SetType(v PaymentMethodType)

SetType gets a reference to the given PaymentMethodType and assigns it to the Type field.

func (*PaymentMethod) SetUpdated

func (o *PaymentMethod) SetUpdated(v time.Time)

SetUpdated gets a reference to the given time.Time and assigns it to the Updated field.

func (*PaymentMethod) SetVirtualAccount

func (o *PaymentMethod) SetVirtualAccount(v VirtualAccount)

SetVirtualAccount gets a reference to the given NullableVirtualAccount and assigns it to the VirtualAccount field.

func (*PaymentMethod) SetVirtualAccountNil

func (o *PaymentMethod) SetVirtualAccountNil()

SetVirtualAccountNil sets the value for VirtualAccount to be an explicit nil

func (PaymentMethod) ToMap

func (o PaymentMethod) ToMap() (map[string]interface{}, error)

func (*PaymentMethod) UnsetBillingInformation

func (o *PaymentMethod) UnsetBillingInformation()

UnsetBillingInformation ensures that no value is present for BillingInformation, not even an explicit nil

func (*PaymentMethod) UnsetCard

func (o *PaymentMethod) UnsetCard()

UnsetCard ensures that no value is present for Card, not even an explicit nil

func (*PaymentMethod) UnsetCustomerId

func (o *PaymentMethod) UnsetCustomerId()

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

func (*PaymentMethod) UnsetDescription

func (o *PaymentMethod) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*PaymentMethod) UnsetDirectDebit

func (o *PaymentMethod) UnsetDirectDebit()

UnsetDirectDebit ensures that no value is present for DirectDebit, not even an explicit nil

func (*PaymentMethod) UnsetEwallet

func (o *PaymentMethod) UnsetEwallet()

UnsetEwallet ensures that no value is present for Ewallet, not even an explicit nil

func (*PaymentMethod) UnsetFailureCode

func (o *PaymentMethod) UnsetFailureCode()

UnsetFailureCode ensures that no value is present for FailureCode, not even an explicit nil

func (*PaymentMethod) UnsetOverTheCounter

func (o *PaymentMethod) UnsetOverTheCounter()

UnsetOverTheCounter ensures that no value is present for OverTheCounter, not even an explicit nil

func (*PaymentMethod) UnsetQrCode

func (o *PaymentMethod) UnsetQrCode()

UnsetQrCode ensures that no value is present for QrCode, not even an explicit nil

func (*PaymentMethod) UnsetVirtualAccount

func (o *PaymentMethod) UnsetVirtualAccount()

UnsetVirtualAccount ensures that no value is present for VirtualAccount, not even an explicit nil

type PaymentMethodAction

type PaymentMethodAction struct {
	Action  *string `json:"action,omitempty"`
	Method  *string `json:"method,omitempty"`
	Url     *string `json:"url,omitempty"`
	UrlType *string `json:"url_type,omitempty"`
}

PaymentMethodAction struct for PaymentMethodAction

func NewPaymentMethodAction

func NewPaymentMethodAction() *PaymentMethodAction

NewPaymentMethodAction instantiates a new PaymentMethodAction 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 NewPaymentMethodActionWithDefaults

func NewPaymentMethodActionWithDefaults() *PaymentMethodAction

NewPaymentMethodActionWithDefaults instantiates a new PaymentMethodAction 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 (*PaymentMethodAction) GetAction

func (o *PaymentMethodAction) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*PaymentMethodAction) GetActionOk

func (o *PaymentMethodAction) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodAction) GetMethod

func (o *PaymentMethodAction) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*PaymentMethodAction) GetMethodOk

func (o *PaymentMethodAction) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodAction) GetUrl

func (o *PaymentMethodAction) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*PaymentMethodAction) GetUrlOk

func (o *PaymentMethodAction) 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 (*PaymentMethodAction) GetUrlType

func (o *PaymentMethodAction) GetUrlType() string

GetUrlType returns the UrlType field value if set, zero value otherwise.

func (*PaymentMethodAction) GetUrlTypeOk

func (o *PaymentMethodAction) GetUrlTypeOk() (*string, bool)

GetUrlTypeOk returns a tuple with the UrlType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodAction) HasAction

func (o *PaymentMethodAction) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*PaymentMethodAction) HasMethod

func (o *PaymentMethodAction) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*PaymentMethodAction) HasUrl

func (o *PaymentMethodAction) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*PaymentMethodAction) HasUrlType

func (o *PaymentMethodAction) HasUrlType() bool

HasUrlType returns a boolean if a field has been set.

func (PaymentMethodAction) MarshalJSON

func (o PaymentMethodAction) MarshalJSON() ([]byte, error)

func (*PaymentMethodAction) SetAction

func (o *PaymentMethodAction) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*PaymentMethodAction) SetMethod

func (o *PaymentMethodAction) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*PaymentMethodAction) SetUrl

func (o *PaymentMethodAction) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*PaymentMethodAction) SetUrlType

func (o *PaymentMethodAction) SetUrlType(v string)

SetUrlType gets a reference to the given string and assigns it to the UrlType field.

func (PaymentMethodAction) ToMap

func (o PaymentMethodAction) ToMap() (map[string]interface{}, error)

type PaymentMethodApi

type PaymentMethodApi interface {

	/*
		CreatePaymentMethod Creates payment method

		This endpoint initiates creation of payment method

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreatePaymentMethodRequest
	*/
	CreatePaymentMethod(ctx context.Context) ApiCreatePaymentMethodRequest

	// CreatePaymentMethodExecute executes the request
	//  @return PaymentMethod
	CreatePaymentMethodExecute(r ApiCreatePaymentMethodRequest) (*PaymentMethod, *http.Response, *common.XenditSdkError)

	/*
		GetPaymentMethodByID Get payment method by ID

		Get payment method by ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentMethodId
		@return ApiGetPaymentMethodByIDRequest
	*/
	GetPaymentMethodByID(ctx context.Context, paymentMethodId string) ApiGetPaymentMethodByIDRequest

	// GetPaymentMethodByIDExecute executes the request
	//  @return PaymentMethod
	GetPaymentMethodByIDExecute(r ApiGetPaymentMethodByIDRequest) (*PaymentMethod, *http.Response, *common.XenditSdkError)

	/*
		GetPaymentsByPaymentMethodId Returns payments with matching PaymentMethodID.

		Returns payments with matching PaymentMethodID.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentMethodId
		@return ApiGetPaymentsByPaymentMethodIdRequest
	*/
	GetPaymentsByPaymentMethodId(ctx context.Context, paymentMethodId string) ApiGetPaymentsByPaymentMethodIdRequest

	// GetPaymentsByPaymentMethodIdExecute executes the request
	//  @return map[string]interface{}
	GetPaymentsByPaymentMethodIdExecute(r ApiGetPaymentsByPaymentMethodIdRequest) (map[string]interface{}, *http.Response, *common.XenditSdkError)

	/*
		PatchPaymentMethod Patch payment methods

		This endpoint is used to toggle the “`status“` of an e-Wallet or a Direct Debit payment method to “`ACTIVE“` or “`INACTIVE“`. This is also used to update the details of an Over-the-Counter or a Virtual Account payment method.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentMethodId
		@return ApiPatchPaymentMethodRequest
	*/
	PatchPaymentMethod(ctx context.Context, paymentMethodId string) ApiPatchPaymentMethodRequest

	// PatchPaymentMethodExecute executes the request
	//  @return PaymentMethod
	PatchPaymentMethodExecute(r ApiPatchPaymentMethodRequest) (*PaymentMethod, *http.Response, *common.XenditSdkError)

	/*
		GetAllPaymentMethods Get all payment methods by filters

		Get all payment methods by filters

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetAllPaymentMethodsRequest
	*/
	GetAllPaymentMethods(ctx context.Context) ApiGetAllPaymentMethodsRequest

	// GetAllPaymentMethodsExecute executes the request
	//  @return PaymentMethodList
	GetAllPaymentMethodsExecute(r ApiGetAllPaymentMethodsRequest) (*PaymentMethodList, *http.Response, *common.XenditSdkError)

	/*
		ExpirePaymentMethod Expires a payment method

		This endpoint expires a payment method and performs unlinking if necessary

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentMethodId
		@return ApiExpirePaymentMethodRequest
	*/
	ExpirePaymentMethod(ctx context.Context, paymentMethodId string) ApiExpirePaymentMethodRequest

	// ExpirePaymentMethodExecute executes the request
	//  @return PaymentMethod
	ExpirePaymentMethodExecute(r ApiExpirePaymentMethodRequest) (*PaymentMethod, *http.Response, *common.XenditSdkError)

	/*
		AuthPaymentMethod Validate a payment method's linking OTP

		This endpoint validates a payment method linking OTP

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentMethodId
		@return ApiAuthPaymentMethodRequest
	*/
	AuthPaymentMethod(ctx context.Context, paymentMethodId string) ApiAuthPaymentMethodRequest

	// AuthPaymentMethodExecute executes the request
	//  @return PaymentMethod
	AuthPaymentMethodExecute(r ApiAuthPaymentMethodRequest) (*PaymentMethod, *http.Response, *common.XenditSdkError)

	/*
		SimulatePayment Makes payment with matching PaymentMethodID.

		Makes payment with matching PaymentMethodID.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentMethodId
		@return ApiSimulatePaymentRequest
	*/
	SimulatePayment(ctx context.Context, paymentMethodId string) ApiSimulatePaymentRequest

	// SimulatePaymentExecute executes the request
	SimulatePaymentExecute(r ApiSimulatePaymentRequest) (*http.Response, *common.XenditSdkError)
}

func NewPaymentMethodApi

func NewPaymentMethodApi(client common.IClient) PaymentMethodApi

NewPaymentMethodApi Create a new PaymentMethodApi service

type PaymentMethodApiService

type PaymentMethodApiService struct {
	// contains filtered or unexported fields
}

PaymentMethodApiService PaymentMethodApi service

func (*PaymentMethodApiService) AuthPaymentMethod

func (a *PaymentMethodApiService) AuthPaymentMethod(ctx context.Context, paymentMethodId string) ApiAuthPaymentMethodRequest

AuthPaymentMethod Validate a payment method's linking OTP

This endpoint validates a payment method linking OTP

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId
@return ApiAuthPaymentMethodRequest

func (*PaymentMethodApiService) AuthPaymentMethodExecute

Execute executes the request

@return PaymentMethod

func (*PaymentMethodApiService) CreatePaymentMethod

CreatePaymentMethod Creates payment method

This endpoint initiates creation of payment method

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreatePaymentMethodRequest

func (*PaymentMethodApiService) CreatePaymentMethodExecute

Execute executes the request

@return PaymentMethod

func (*PaymentMethodApiService) ExpirePaymentMethod

func (a *PaymentMethodApiService) ExpirePaymentMethod(ctx context.Context, paymentMethodId string) ApiExpirePaymentMethodRequest

ExpirePaymentMethod Expires a payment method

This endpoint expires a payment method and performs unlinking if necessary

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId
@return ApiExpirePaymentMethodRequest

func (*PaymentMethodApiService) ExpirePaymentMethodExecute

Execute executes the request

@return PaymentMethod

func (*PaymentMethodApiService) GetAllPaymentMethods

GetAllPaymentMethods Get all payment methods by filters

Get all payment methods by filters

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllPaymentMethodsRequest

func (*PaymentMethodApiService) GetAllPaymentMethodsExecute

Execute executes the request

@return PaymentMethodList

func (*PaymentMethodApiService) GetPaymentMethodByID

func (a *PaymentMethodApiService) GetPaymentMethodByID(ctx context.Context, paymentMethodId string) ApiGetPaymentMethodByIDRequest

GetPaymentMethodByID Get payment method by ID

Get payment method by ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId
@return ApiGetPaymentMethodByIDRequest

func (*PaymentMethodApiService) GetPaymentMethodByIDExecute

Execute executes the request

@return PaymentMethod

func (*PaymentMethodApiService) GetPaymentsByPaymentMethodId

func (a *PaymentMethodApiService) GetPaymentsByPaymentMethodId(ctx context.Context, paymentMethodId string) ApiGetPaymentsByPaymentMethodIdRequest

GetPaymentsByPaymentMethodId Returns payments with matching PaymentMethodID.

Returns payments with matching PaymentMethodID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId
@return ApiGetPaymentsByPaymentMethodIdRequest

func (*PaymentMethodApiService) GetPaymentsByPaymentMethodIdExecute

func (a *PaymentMethodApiService) GetPaymentsByPaymentMethodIdExecute(r ApiGetPaymentsByPaymentMethodIdRequest) (map[string]interface{}, *http.Response, *common.XenditSdkError)

Execute executes the request

@return map[string]interface{}

func (*PaymentMethodApiService) PatchPaymentMethod

func (a *PaymentMethodApiService) PatchPaymentMethod(ctx context.Context, paymentMethodId string) ApiPatchPaymentMethodRequest

PatchPaymentMethod Patch payment methods

This endpoint is used to toggle the ```status``` of an e-Wallet or a Direct Debit payment method to ```ACTIVE``` or ```INACTIVE```. This is also used to update the details of an Over-the-Counter or a Virtual Account payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId
@return ApiPatchPaymentMethodRequest

func (*PaymentMethodApiService) PatchPaymentMethodExecute

Execute executes the request

@return PaymentMethod

func (*PaymentMethodApiService) SimulatePayment

func (a *PaymentMethodApiService) SimulatePayment(ctx context.Context, paymentMethodId string) ApiSimulatePaymentRequest

SimulatePayment Makes payment with matching PaymentMethodID.

Makes payment with matching PaymentMethodID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId
@return ApiSimulatePaymentRequest

func (*PaymentMethodApiService) SimulatePaymentExecute

Execute executes the request

type PaymentMethodAuthParameters

type PaymentMethodAuthParameters struct {
	AuthCode string `json:"auth_code"`
}

PaymentMethodAuthParameters struct for PaymentMethodAuthParameters

func NewPaymentMethodAuthParameters

func NewPaymentMethodAuthParameters(authCode string) *PaymentMethodAuthParameters

NewPaymentMethodAuthParameters instantiates a new PaymentMethodAuthParameters 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 NewPaymentMethodAuthParametersWithDefaults

func NewPaymentMethodAuthParametersWithDefaults() *PaymentMethodAuthParameters

NewPaymentMethodAuthParametersWithDefaults instantiates a new PaymentMethodAuthParameters 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 (*PaymentMethodAuthParameters) GetAuthCode

func (o *PaymentMethodAuthParameters) GetAuthCode() string

GetAuthCode returns the AuthCode field value

func (*PaymentMethodAuthParameters) GetAuthCodeOk

func (o *PaymentMethodAuthParameters) GetAuthCodeOk() (*string, bool)

GetAuthCodeOk returns a tuple with the AuthCode field value and a boolean to check if the value has been set.

func (PaymentMethodAuthParameters) MarshalJSON

func (o PaymentMethodAuthParameters) MarshalJSON() ([]byte, error)

func (*PaymentMethodAuthParameters) SetAuthCode

func (o *PaymentMethodAuthParameters) SetAuthCode(v string)

SetAuthCode sets field value

func (PaymentMethodAuthParameters) ToMap

func (o PaymentMethodAuthParameters) ToMap() (map[string]interface{}, error)

type PaymentMethodCallback

type PaymentMethodCallback struct {
	// Identifies the event that triggered a notification to the merchant
	Event string `json:"event"`
	// business_id
	BusinessId string         `json:"business_id"`
	Created    string         `json:"created"`
	Data       *PaymentMethod `json:"data,omitempty"`
}

PaymentMethodCallback Callback for active or expired E-Wallet or Direct Debit account linking, Virtual Accounts or QR strings

func NewPaymentMethodCallback

func NewPaymentMethodCallback(event string, businessId string, created string) *PaymentMethodCallback

NewPaymentMethodCallback instantiates a new PaymentMethodCallback 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 NewPaymentMethodCallbackWithDefaults

func NewPaymentMethodCallbackWithDefaults() *PaymentMethodCallback

NewPaymentMethodCallbackWithDefaults instantiates a new PaymentMethodCallback 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 (*PaymentMethodCallback) GetBusinessId

func (o *PaymentMethodCallback) GetBusinessId() string

GetBusinessId returns the BusinessId field value

func (*PaymentMethodCallback) GetBusinessIdOk

func (o *PaymentMethodCallback) GetBusinessIdOk() (*string, bool)

GetBusinessIdOk returns a tuple with the BusinessId field value and a boolean to check if the value has been set.

func (*PaymentMethodCallback) GetCreated

func (o *PaymentMethodCallback) GetCreated() string

GetCreated returns the Created field value

func (*PaymentMethodCallback) GetCreatedOk

func (o *PaymentMethodCallback) GetCreatedOk() (*string, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*PaymentMethodCallback) GetData

func (o *PaymentMethodCallback) GetData() PaymentMethod

GetData returns the Data field value if set, zero value otherwise.

func (*PaymentMethodCallback) GetDataOk

func (o *PaymentMethodCallback) GetDataOk() (*PaymentMethod, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodCallback) GetEvent

func (o *PaymentMethodCallback) GetEvent() string

GetEvent returns the Event field value

func (*PaymentMethodCallback) GetEventOk

func (o *PaymentMethodCallback) GetEventOk() (*string, bool)

GetEventOk returns a tuple with the Event field value and a boolean to check if the value has been set.

func (*PaymentMethodCallback) HasData

func (o *PaymentMethodCallback) HasData() bool

HasData returns a boolean if a field has been set.

func (PaymentMethodCallback) MarshalJSON

func (o PaymentMethodCallback) MarshalJSON() ([]byte, error)

func (*PaymentMethodCallback) SetBusinessId

func (o *PaymentMethodCallback) SetBusinessId(v string)

SetBusinessId sets field value

func (*PaymentMethodCallback) SetCreated

func (o *PaymentMethodCallback) SetCreated(v string)

SetCreated sets field value

func (*PaymentMethodCallback) SetData

func (o *PaymentMethodCallback) SetData(v PaymentMethod)

SetData gets a reference to the given PaymentMethod and assigns it to the Data field.

func (*PaymentMethodCallback) SetEvent

func (o *PaymentMethodCallback) SetEvent(v string)

SetEvent sets field value

func (PaymentMethodCallback) ToMap

func (o PaymentMethodCallback) ToMap() (map[string]interface{}, error)

type PaymentMethodCountry

type PaymentMethodCountry string

PaymentMethodCountry the model 'PaymentMethodCountry'

const (
	PAYMENTMETHODCOUNTRY_PH                           PaymentMethodCountry = "PH"
	PAYMENTMETHODCOUNTRY_ID                           PaymentMethodCountry = "ID"
	PAYMENTMETHODCOUNTRY_VN                           PaymentMethodCountry = "VN"
	PAYMENTMETHODCOUNTRY_TH                           PaymentMethodCountry = "TH"
	PAYMENTMETHODCOUNTRY_MY                           PaymentMethodCountry = "MY"
	PAYMENTMETHODCOUNTRY_US                           PaymentMethodCountry = "US"
	PAYMENTMETHODCOUNTRY_XENDIT_ENUM_DEFAULT_FALLBACK PaymentMethodCountry = "UNKNOWN_ENUM_VALUE"
)

List of PaymentMethodCountry

func NewPaymentMethodCountryFromValue

func NewPaymentMethodCountryFromValue(v string) (*PaymentMethodCountry, error)

NewPaymentMethodCountryFromValue returns a pointer to a valid PaymentMethodCountry for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PaymentMethodCountry) IsValid

func (v PaymentMethodCountry) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PaymentMethodCountry) Ptr

Ptr returns reference to PaymentMethodCountry value

func (PaymentMethodCountry) String

func (v PaymentMethodCountry) String() string

func (*PaymentMethodCountry) UnmarshalJSON

func (v *PaymentMethodCountry) UnmarshalJSON(src []byte) error

type PaymentMethodExpireParameters

type PaymentMethodExpireParameters struct {
	// URL where the end customer is redirected if the unlinking authorization is successful.
	SuccessReturnUrl NullableString `json:"success_return_url,omitempty"`
	// URL where the end customer is redirected if the unlinking authorization is failed.
	FailureReturnUrl NullableString `json:"failure_return_url,omitempty"`
}

PaymentMethodExpireParameters struct for PaymentMethodExpireParameters

func NewPaymentMethodExpireParameters

func NewPaymentMethodExpireParameters() *PaymentMethodExpireParameters

NewPaymentMethodExpireParameters instantiates a new PaymentMethodExpireParameters 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 NewPaymentMethodExpireParametersWithDefaults

func NewPaymentMethodExpireParametersWithDefaults() *PaymentMethodExpireParameters

NewPaymentMethodExpireParametersWithDefaults instantiates a new PaymentMethodExpireParameters 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 (*PaymentMethodExpireParameters) GetFailureReturnUrl

func (o *PaymentMethodExpireParameters) GetFailureReturnUrl() string

GetFailureReturnUrl returns the FailureReturnUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodExpireParameters) GetFailureReturnUrlOk

func (o *PaymentMethodExpireParameters) GetFailureReturnUrlOk() (*string, bool)

GetFailureReturnUrlOk returns a tuple with the FailureReturnUrl 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 (*PaymentMethodExpireParameters) GetSuccessReturnUrl

func (o *PaymentMethodExpireParameters) GetSuccessReturnUrl() string

GetSuccessReturnUrl returns the SuccessReturnUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodExpireParameters) GetSuccessReturnUrlOk

func (o *PaymentMethodExpireParameters) GetSuccessReturnUrlOk() (*string, bool)

GetSuccessReturnUrlOk returns a tuple with the SuccessReturnUrl 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 (*PaymentMethodExpireParameters) HasFailureReturnUrl

func (o *PaymentMethodExpireParameters) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*PaymentMethodExpireParameters) HasSuccessReturnUrl

func (o *PaymentMethodExpireParameters) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (PaymentMethodExpireParameters) MarshalJSON

func (o PaymentMethodExpireParameters) MarshalJSON() ([]byte, error)

func (*PaymentMethodExpireParameters) SetFailureReturnUrl

func (o *PaymentMethodExpireParameters) SetFailureReturnUrl(v string)

SetFailureReturnUrl gets a reference to the given NullableString and assigns it to the FailureReturnUrl field.

func (*PaymentMethodExpireParameters) SetFailureReturnUrlNil

func (o *PaymentMethodExpireParameters) SetFailureReturnUrlNil()

SetFailureReturnUrlNil sets the value for FailureReturnUrl to be an explicit nil

func (*PaymentMethodExpireParameters) SetSuccessReturnUrl

func (o *PaymentMethodExpireParameters) SetSuccessReturnUrl(v string)

SetSuccessReturnUrl gets a reference to the given NullableString and assigns it to the SuccessReturnUrl field.

func (*PaymentMethodExpireParameters) SetSuccessReturnUrlNil

func (o *PaymentMethodExpireParameters) SetSuccessReturnUrlNil()

SetSuccessReturnUrlNil sets the value for SuccessReturnUrl to be an explicit nil

func (PaymentMethodExpireParameters) ToMap

func (o PaymentMethodExpireParameters) ToMap() (map[string]interface{}, error)

func (*PaymentMethodExpireParameters) UnsetFailureReturnUrl

func (o *PaymentMethodExpireParameters) UnsetFailureReturnUrl()

UnsetFailureReturnUrl ensures that no value is present for FailureReturnUrl, not even an explicit nil

func (*PaymentMethodExpireParameters) UnsetSuccessReturnUrl

func (o *PaymentMethodExpireParameters) UnsetSuccessReturnUrl()

UnsetSuccessReturnUrl ensures that no value is present for SuccessReturnUrl, not even an explicit nil

type PaymentMethodList

type PaymentMethodList struct {
	Data    []PaymentMethod `json:"data"`
	HasMore *bool           `json:"has_more,omitempty"`
}

PaymentMethodList struct for PaymentMethodList

func NewPaymentMethodList

func NewPaymentMethodList(data []PaymentMethod) *PaymentMethodList

NewPaymentMethodList instantiates a new PaymentMethodList 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 NewPaymentMethodListWithDefaults

func NewPaymentMethodListWithDefaults() *PaymentMethodList

NewPaymentMethodListWithDefaults instantiates a new PaymentMethodList 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 (*PaymentMethodList) GetData

func (o *PaymentMethodList) GetData() []PaymentMethod

GetData returns the Data field value

func (*PaymentMethodList) GetDataOk

func (o *PaymentMethodList) GetDataOk() ([]PaymentMethod, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*PaymentMethodList) GetHasMore

func (o *PaymentMethodList) GetHasMore() bool

GetHasMore returns the HasMore field value if set, zero value otherwise.

func (*PaymentMethodList) GetHasMoreOk

func (o *PaymentMethodList) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodList) HasHasMore

func (o *PaymentMethodList) HasHasMore() bool

HasHasMore returns a boolean if a field has been set.

func (PaymentMethodList) MarshalJSON

func (o PaymentMethodList) MarshalJSON() ([]byte, error)

func (*PaymentMethodList) SetData

func (o *PaymentMethodList) SetData(v []PaymentMethod)

SetData sets field value

func (*PaymentMethodList) SetHasMore

func (o *PaymentMethodList) SetHasMore(v bool)

SetHasMore gets a reference to the given bool and assigns it to the HasMore field.

func (PaymentMethodList) ToMap

func (o PaymentMethodList) ToMap() (map[string]interface{}, error)

type PaymentMethodParameters

type PaymentMethodParameters struct {
	Type               PaymentMethodType          `json:"type"`
	Country            NullableString             `json:"country,omitempty"`
	Reusability        PaymentMethodReusability   `json:"reusability"`
	CustomerId         NullableString             `json:"customer_id,omitempty"`
	ReferenceId        *string                    `json:"reference_id,omitempty"`
	Description        NullableString             `json:"description,omitempty"`
	Card               *CardParameters            `json:"card,omitempty"`
	DirectDebit        *DirectDebitParameters     `json:"direct_debit,omitempty"`
	Ewallet            *EWalletParameters         `json:"ewallet,omitempty"`
	OverTheCounter     *OverTheCounterParameters  `json:"over_the_counter,omitempty"`
	VirtualAccount     *VirtualAccountParameters  `json:"virtual_account,omitempty"`
	QrCode             *QRCodeParameters          `json:"qr_code,omitempty"`
	Metadata           map[string]interface{}     `json:"metadata,omitempty"`
	BillingInformation NullableBillingInformation `json:"billing_information,omitempty"`
}

PaymentMethodParameters struct for PaymentMethodParameters

func NewPaymentMethodParameters

func NewPaymentMethodParameters(type_ PaymentMethodType, reusability PaymentMethodReusability) *PaymentMethodParameters

NewPaymentMethodParameters instantiates a new PaymentMethodParameters 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 NewPaymentMethodParametersWithDefaults

func NewPaymentMethodParametersWithDefaults() *PaymentMethodParameters

NewPaymentMethodParametersWithDefaults instantiates a new PaymentMethodParameters 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 (*PaymentMethodParameters) GetBillingInformation

func (o *PaymentMethodParameters) GetBillingInformation() BillingInformation

GetBillingInformation returns the BillingInformation field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodParameters) GetBillingInformationOk

func (o *PaymentMethodParameters) GetBillingInformationOk() (*BillingInformation, bool)

GetBillingInformationOk returns a tuple with the BillingInformation 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 (*PaymentMethodParameters) GetCard

GetCard returns the Card field value if set, zero value otherwise.

func (*PaymentMethodParameters) GetCardOk

func (o *PaymentMethodParameters) GetCardOk() (*CardParameters, bool)

GetCardOk returns a tuple with the Card field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodParameters) GetCountry

func (o *PaymentMethodParameters) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodParameters) GetCountryOk

func (o *PaymentMethodParameters) 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 (*PaymentMethodParameters) GetCustomerId

func (o *PaymentMethodParameters) GetCustomerId() string

GetCustomerId returns the CustomerId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodParameters) GetCustomerIdOk

func (o *PaymentMethodParameters) 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 (*PaymentMethodParameters) GetDescription

func (o *PaymentMethodParameters) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodParameters) GetDescriptionOk

func (o *PaymentMethodParameters) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodParameters) GetDirectDebit

func (o *PaymentMethodParameters) GetDirectDebit() DirectDebitParameters

GetDirectDebit returns the DirectDebit field value if set, zero value otherwise.

func (*PaymentMethodParameters) GetDirectDebitOk

func (o *PaymentMethodParameters) GetDirectDebitOk() (*DirectDebitParameters, bool)

GetDirectDebitOk returns a tuple with the DirectDebit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodParameters) GetEwallet

GetEwallet returns the Ewallet field value if set, zero value otherwise.

func (*PaymentMethodParameters) GetEwalletOk

func (o *PaymentMethodParameters) GetEwalletOk() (*EWalletParameters, bool)

GetEwalletOk returns a tuple with the Ewallet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodParameters) GetMetadata

func (o *PaymentMethodParameters) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaymentMethodParameters) GetMetadataOk

func (o *PaymentMethodParameters) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata 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 (*PaymentMethodParameters) GetOverTheCounter

func (o *PaymentMethodParameters) GetOverTheCounter() OverTheCounterParameters

GetOverTheCounter returns the OverTheCounter field value if set, zero value otherwise.

func (*PaymentMethodParameters) GetOverTheCounterOk

func (o *PaymentMethodParameters) GetOverTheCounterOk() (*OverTheCounterParameters, bool)

GetOverTheCounterOk returns a tuple with the OverTheCounter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodParameters) GetQrCode

GetQrCode returns the QrCode field value if set, zero value otherwise.

func (*PaymentMethodParameters) GetQrCodeOk

func (o *PaymentMethodParameters) GetQrCodeOk() (*QRCodeParameters, bool)

GetQrCodeOk returns a tuple with the QrCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodParameters) GetReferenceId

func (o *PaymentMethodParameters) GetReferenceId() string

GetReferenceId returns the ReferenceId field value if set, zero value otherwise.

func (*PaymentMethodParameters) GetReferenceIdOk

func (o *PaymentMethodParameters) 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 (*PaymentMethodParameters) GetReusability

GetReusability returns the Reusability field value

func (*PaymentMethodParameters) GetReusabilityOk

func (o *PaymentMethodParameters) GetReusabilityOk() (*PaymentMethodReusability, bool)

GetReusabilityOk returns a tuple with the Reusability field value and a boolean to check if the value has been set.

func (*PaymentMethodParameters) GetType

GetType returns the Type field value

func (*PaymentMethodParameters) GetTypeOk

func (o *PaymentMethodParameters) GetTypeOk() (*PaymentMethodType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*PaymentMethodParameters) GetVirtualAccount

func (o *PaymentMethodParameters) GetVirtualAccount() VirtualAccountParameters

GetVirtualAccount returns the VirtualAccount field value if set, zero value otherwise.

func (*PaymentMethodParameters) GetVirtualAccountOk

func (o *PaymentMethodParameters) GetVirtualAccountOk() (*VirtualAccountParameters, bool)

GetVirtualAccountOk returns a tuple with the VirtualAccount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodParameters) HasBillingInformation

func (o *PaymentMethodParameters) HasBillingInformation() bool

HasBillingInformation returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasCard

func (o *PaymentMethodParameters) HasCard() bool

HasCard returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasCountry

func (o *PaymentMethodParameters) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasCustomerId

func (o *PaymentMethodParameters) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasDescription

func (o *PaymentMethodParameters) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasDirectDebit

func (o *PaymentMethodParameters) HasDirectDebit() bool

HasDirectDebit returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasEwallet

func (o *PaymentMethodParameters) HasEwallet() bool

HasEwallet returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasMetadata

func (o *PaymentMethodParameters) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasOverTheCounter

func (o *PaymentMethodParameters) HasOverTheCounter() bool

HasOverTheCounter returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasQrCode

func (o *PaymentMethodParameters) HasQrCode() bool

HasQrCode returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasReferenceId

func (o *PaymentMethodParameters) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*PaymentMethodParameters) HasVirtualAccount

func (o *PaymentMethodParameters) HasVirtualAccount() bool

HasVirtualAccount returns a boolean if a field has been set.

func (PaymentMethodParameters) MarshalJSON

func (o PaymentMethodParameters) MarshalJSON() ([]byte, error)

func (*PaymentMethodParameters) SetBillingInformation

func (o *PaymentMethodParameters) SetBillingInformation(v BillingInformation)

SetBillingInformation gets a reference to the given NullableBillingInformation and assigns it to the BillingInformation field.

func (*PaymentMethodParameters) SetBillingInformationNil

func (o *PaymentMethodParameters) SetBillingInformationNil()

SetBillingInformationNil sets the value for BillingInformation to be an explicit nil

func (*PaymentMethodParameters) SetCard

SetCard gets a reference to the given CardParameters and assigns it to the Card field.

func (*PaymentMethodParameters) SetCountry

func (o *PaymentMethodParameters) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*PaymentMethodParameters) SetCountryNil

func (o *PaymentMethodParameters) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*PaymentMethodParameters) SetCustomerId

func (o *PaymentMethodParameters) SetCustomerId(v string)

SetCustomerId gets a reference to the given NullableString and assigns it to the CustomerId field.

func (*PaymentMethodParameters) SetCustomerIdNil

func (o *PaymentMethodParameters) SetCustomerIdNil()

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

func (*PaymentMethodParameters) SetDescription

func (o *PaymentMethodParameters) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*PaymentMethodParameters) SetDescriptionNil

func (o *PaymentMethodParameters) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*PaymentMethodParameters) SetDirectDebit

func (o *PaymentMethodParameters) SetDirectDebit(v DirectDebitParameters)

SetDirectDebit gets a reference to the given DirectDebitParameters and assigns it to the DirectDebit field.

func (*PaymentMethodParameters) SetEwallet

func (o *PaymentMethodParameters) SetEwallet(v EWalletParameters)

SetEwallet gets a reference to the given EWalletParameters and assigns it to the Ewallet field.

func (*PaymentMethodParameters) SetMetadata

func (o *PaymentMethodParameters) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*PaymentMethodParameters) SetOverTheCounter

func (o *PaymentMethodParameters) SetOverTheCounter(v OverTheCounterParameters)

SetOverTheCounter gets a reference to the given OverTheCounterParameters and assigns it to the OverTheCounter field.

func (*PaymentMethodParameters) SetQrCode

func (o *PaymentMethodParameters) SetQrCode(v QRCodeParameters)

SetQrCode gets a reference to the given QRCodeParameters and assigns it to the QrCode field.

func (*PaymentMethodParameters) SetReferenceId

func (o *PaymentMethodParameters) SetReferenceId(v string)

SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.

func (*PaymentMethodParameters) SetReusability

SetReusability sets field value

func (*PaymentMethodParameters) SetType

SetType sets field value

func (*PaymentMethodParameters) SetVirtualAccount

func (o *PaymentMethodParameters) SetVirtualAccount(v VirtualAccountParameters)

SetVirtualAccount gets a reference to the given VirtualAccountParameters and assigns it to the VirtualAccount field.

func (PaymentMethodParameters) ToMap

func (o PaymentMethodParameters) ToMap() (map[string]interface{}, error)

func (*PaymentMethodParameters) UnsetBillingInformation

func (o *PaymentMethodParameters) UnsetBillingInformation()

UnsetBillingInformation ensures that no value is present for BillingInformation, not even an explicit nil

func (*PaymentMethodParameters) UnsetCountry

func (o *PaymentMethodParameters) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*PaymentMethodParameters) UnsetCustomerId

func (o *PaymentMethodParameters) UnsetCustomerId()

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

func (*PaymentMethodParameters) UnsetDescription

func (o *PaymentMethodParameters) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type PaymentMethodReusability

type PaymentMethodReusability string

PaymentMethodReusability the model 'PaymentMethodReusability'

const (
	PAYMENTMETHODREUSABILITY_MULTIPLE_USE                 PaymentMethodReusability = "MULTIPLE_USE"
	PAYMENTMETHODREUSABILITY_ONE_TIME_USE                 PaymentMethodReusability = "ONE_TIME_USE"
	PAYMENTMETHODREUSABILITY_XENDIT_ENUM_DEFAULT_FALLBACK PaymentMethodReusability = "UNKNOWN_ENUM_VALUE"
)

List of PaymentMethodReusability

func NewPaymentMethodReusabilityFromValue

func NewPaymentMethodReusabilityFromValue(v string) (*PaymentMethodReusability, error)

NewPaymentMethodReusabilityFromValue returns a pointer to a valid PaymentMethodReusability for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PaymentMethodReusability) IsValid

func (v PaymentMethodReusability) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PaymentMethodReusability) Ptr

Ptr returns reference to PaymentMethodReusability value

func (PaymentMethodReusability) String

func (v PaymentMethodReusability) String() string

func (*PaymentMethodReusability) UnmarshalJSON

func (v *PaymentMethodReusability) UnmarshalJSON(src []byte) error

type PaymentMethodStatus

type PaymentMethodStatus string

PaymentMethodStatus the model 'PaymentMethodStatus'

const (
	PAYMENTMETHODSTATUS_ACTIVE                       PaymentMethodStatus = "ACTIVE"
	PAYMENTMETHODSTATUS_EXPIRED                      PaymentMethodStatus = "EXPIRED"
	PAYMENTMETHODSTATUS_INACTIVE                     PaymentMethodStatus = "INACTIVE"
	PAYMENTMETHODSTATUS_PENDING                      PaymentMethodStatus = "PENDING"
	PAYMENTMETHODSTATUS_REQUIRES_ACTION              PaymentMethodStatus = "REQUIRES_ACTION"
	PAYMENTMETHODSTATUS_FAILED                       PaymentMethodStatus = "FAILED"
	PAYMENTMETHODSTATUS_XENDIT_ENUM_DEFAULT_FALLBACK PaymentMethodStatus = "UNKNOWN_ENUM_VALUE"
)

List of PaymentMethodStatus

func NewPaymentMethodStatusFromValue

func NewPaymentMethodStatusFromValue(v string) (*PaymentMethodStatus, error)

NewPaymentMethodStatusFromValue returns a pointer to a valid PaymentMethodStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PaymentMethodStatus) IsValid

func (v PaymentMethodStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PaymentMethodStatus) Ptr

Ptr returns reference to PaymentMethodStatus value

func (PaymentMethodStatus) String

func (v PaymentMethodStatus) String() string

func (*PaymentMethodStatus) UnmarshalJSON

func (v *PaymentMethodStatus) UnmarshalJSON(src []byte) error

type PaymentMethodType

type PaymentMethodType string

PaymentMethodType the model 'PaymentMethodType'

const (
	PAYMENTMETHODTYPE_CARD                         PaymentMethodType = "CARD"
	PAYMENTMETHODTYPE_CRYPTOCURRENCY               PaymentMethodType = "CRYPTOCURRENCY"
	PAYMENTMETHODTYPE_DIRECT_BANK_TRANSFER         PaymentMethodType = "DIRECT_BANK_TRANSFER"
	PAYMENTMETHODTYPE_DIRECT_DEBIT                 PaymentMethodType = "DIRECT_DEBIT"
	PAYMENTMETHODTYPE_EWALLET                      PaymentMethodType = "EWALLET"
	PAYMENTMETHODTYPE_OVER_THE_COUNTER             PaymentMethodType = "OVER_THE_COUNTER"
	PAYMENTMETHODTYPE_QR_CODE                      PaymentMethodType = "QR_CODE"
	PAYMENTMETHODTYPE_VIRTUAL_ACCOUNT              PaymentMethodType = "VIRTUAL_ACCOUNT"
	PAYMENTMETHODTYPE_XENDIT_ENUM_DEFAULT_FALLBACK PaymentMethodType = "UNKNOWN_ENUM_VALUE"
)

List of PaymentMethodType

func NewPaymentMethodTypeFromValue

func NewPaymentMethodTypeFromValue(v string) (*PaymentMethodType, error)

NewPaymentMethodTypeFromValue returns a pointer to a valid PaymentMethodType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PaymentMethodType) IsValid

func (v PaymentMethodType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PaymentMethodType) Ptr

Ptr returns reference to PaymentMethodType value

func (PaymentMethodType) String

func (v PaymentMethodType) String() string

func (*PaymentMethodType) UnmarshalJSON

func (v *PaymentMethodType) UnmarshalJSON(src []byte) error

type PaymentMethodUpdateParameters

type PaymentMethodUpdateParameters struct {
	Description    *string                         `json:"description,omitempty"`
	ReferenceId    *string                         `json:"reference_id,omitempty"`
	Reusability    *PaymentMethodReusability       `json:"reusability,omitempty"`
	Status         *PaymentMethodStatus            `json:"status,omitempty"`
	OverTheCounter *OverTheCounterUpdateParameters `json:"over_the_counter,omitempty"`
	VirtualAccount *VirtualAccountUpdateParameters `json:"virtual_account,omitempty"`
}

PaymentMethodUpdateParameters struct for PaymentMethodUpdateParameters

func NewPaymentMethodUpdateParameters

func NewPaymentMethodUpdateParameters() *PaymentMethodUpdateParameters

NewPaymentMethodUpdateParameters instantiates a new PaymentMethodUpdateParameters 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 NewPaymentMethodUpdateParametersWithDefaults

func NewPaymentMethodUpdateParametersWithDefaults() *PaymentMethodUpdateParameters

NewPaymentMethodUpdateParametersWithDefaults instantiates a new PaymentMethodUpdateParameters 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 (*PaymentMethodUpdateParameters) GetDescription

func (o *PaymentMethodUpdateParameters) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*PaymentMethodUpdateParameters) GetDescriptionOk

func (o *PaymentMethodUpdateParameters) 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 (*PaymentMethodUpdateParameters) GetOverTheCounter

GetOverTheCounter returns the OverTheCounter field value if set, zero value otherwise.

func (*PaymentMethodUpdateParameters) GetOverTheCounterOk

GetOverTheCounterOk returns a tuple with the OverTheCounter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateParameters) GetReferenceId

func (o *PaymentMethodUpdateParameters) GetReferenceId() string

GetReferenceId returns the ReferenceId field value if set, zero value otherwise.

func (*PaymentMethodUpdateParameters) GetReferenceIdOk

func (o *PaymentMethodUpdateParameters) 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 (*PaymentMethodUpdateParameters) GetReusability

GetReusability returns the Reusability field value if set, zero value otherwise.

func (*PaymentMethodUpdateParameters) GetReusabilityOk

GetReusabilityOk returns a tuple with the Reusability field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateParameters) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*PaymentMethodUpdateParameters) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateParameters) GetVirtualAccount

GetVirtualAccount returns the VirtualAccount field value if set, zero value otherwise.

func (*PaymentMethodUpdateParameters) GetVirtualAccountOk

GetVirtualAccountOk returns a tuple with the VirtualAccount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateParameters) HasDescription

func (o *PaymentMethodUpdateParameters) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PaymentMethodUpdateParameters) HasOverTheCounter

func (o *PaymentMethodUpdateParameters) HasOverTheCounter() bool

HasOverTheCounter returns a boolean if a field has been set.

func (*PaymentMethodUpdateParameters) HasReferenceId

func (o *PaymentMethodUpdateParameters) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*PaymentMethodUpdateParameters) HasReusability

func (o *PaymentMethodUpdateParameters) HasReusability() bool

HasReusability returns a boolean if a field has been set.

func (*PaymentMethodUpdateParameters) HasStatus

func (o *PaymentMethodUpdateParameters) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PaymentMethodUpdateParameters) HasVirtualAccount

func (o *PaymentMethodUpdateParameters) HasVirtualAccount() bool

HasVirtualAccount returns a boolean if a field has been set.

func (PaymentMethodUpdateParameters) MarshalJSON

func (o PaymentMethodUpdateParameters) MarshalJSON() ([]byte, error)

func (*PaymentMethodUpdateParameters) SetDescription

func (o *PaymentMethodUpdateParameters) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*PaymentMethodUpdateParameters) SetOverTheCounter

SetOverTheCounter gets a reference to the given OverTheCounterUpdateParameters and assigns it to the OverTheCounter field.

func (*PaymentMethodUpdateParameters) SetReferenceId

func (o *PaymentMethodUpdateParameters) SetReferenceId(v string)

SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.

func (*PaymentMethodUpdateParameters) SetReusability

SetReusability gets a reference to the given PaymentMethodReusability and assigns it to the Reusability field.

func (*PaymentMethodUpdateParameters) SetStatus

SetStatus gets a reference to the given PaymentMethodStatus and assigns it to the Status field.

func (*PaymentMethodUpdateParameters) SetVirtualAccount

SetVirtualAccount gets a reference to the given VirtualAccountUpdateParameters and assigns it to the VirtualAccount field.

func (PaymentMethodUpdateParameters) ToMap

func (o PaymentMethodUpdateParameters) ToMap() (map[string]interface{}, error)

type QRCode

type QRCode struct {
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	Currency          *string                         `json:"currency,omitempty"`
	ChannelCode       NullableQRCodeChannelCode       `json:"channel_code,omitempty"`
	ChannelProperties NullableQRCodeChannelProperties `json:"channel_properties,omitempty"`
}

QRCode QR Code Payment Method Details

func NewQRCode

func NewQRCode() *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) GetAmount

func (o *QRCode) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QRCode) GetAmountOk

func (o *QRCode) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount 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 (*QRCode) GetChannelCode

func (o *QRCode) GetChannelCode() QRCodeChannelCode

GetChannelCode returns the ChannelCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QRCode) GetChannelCodeOk

func (o *QRCode) GetChannelCodeOk() (*QRCodeChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode 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 (*QRCode) GetChannelProperties

func (o *QRCode) GetChannelProperties() QRCodeChannelProperties

GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QRCode) GetChannelPropertiesOk

func (o *QRCode) GetChannelPropertiesOk() (*QRCodeChannelProperties, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*QRCode) GetCurrency

func (o *QRCode) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*QRCode) GetCurrencyOk

func (o *QRCode) 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 (*QRCode) HasAmount

func (o *QRCode) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*QRCode) HasChannelCode

func (o *QRCode) HasChannelCode() bool

HasChannelCode returns a boolean if a field has been set.

func (*QRCode) HasChannelProperties

func (o *QRCode) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (*QRCode) HasCurrency

func (o *QRCode) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (QRCode) MarshalJSON

func (o QRCode) MarshalJSON() ([]byte, error)

func (*QRCode) SetAmount

func (o *QRCode) SetAmount(v float64)

SetAmount gets a reference to the given NullableFloat64 and assigns it to the Amount field.

func (*QRCode) SetAmountNil

func (o *QRCode) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*QRCode) SetChannelCode

func (o *QRCode) SetChannelCode(v QRCodeChannelCode)

SetChannelCode gets a reference to the given NullableQRCodeChannelCode and assigns it to the ChannelCode field.

func (*QRCode) SetChannelCodeNil

func (o *QRCode) SetChannelCodeNil()

SetChannelCodeNil sets the value for ChannelCode to be an explicit nil

func (*QRCode) SetChannelProperties

func (o *QRCode) SetChannelProperties(v QRCodeChannelProperties)

SetChannelProperties gets a reference to the given NullableQRCodeChannelProperties and assigns it to the ChannelProperties field.

func (*QRCode) SetChannelPropertiesNil

func (o *QRCode) SetChannelPropertiesNil()

SetChannelPropertiesNil sets the value for ChannelProperties to be an explicit nil

func (*QRCode) SetCurrency

func (o *QRCode) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (QRCode) ToMap

func (o QRCode) ToMap() (map[string]interface{}, error)

func (*QRCode) UnsetAmount

func (o *QRCode) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

func (*QRCode) UnsetChannelCode

func (o *QRCode) UnsetChannelCode()

UnsetChannelCode ensures that no value is present for ChannelCode, not even an explicit nil

func (*QRCode) UnsetChannelProperties

func (o *QRCode) UnsetChannelProperties()

UnsetChannelProperties ensures that no value is present for ChannelProperties, not even an explicit nil

type QRCodeChannelCode

type QRCodeChannelCode string

QRCodeChannelCode QR Code Channel Code

const (
	QRCODECHANNELCODE_QRIS                         QRCodeChannelCode = "QRIS"
	QRCODECHANNELCODE_DANA                         QRCodeChannelCode = "DANA"
	QRCODECHANNELCODE_RCBC                         QRCodeChannelCode = "RCBC"
	QRCODECHANNELCODE_PROMPTPAY                    QRCodeChannelCode = "PROMPTPAY"
	QRCODECHANNELCODE_LINKAJA                      QRCodeChannelCode = "LINKAJA"
	QRCODECHANNELCODE_XENDIT_ENUM_DEFAULT_FALLBACK QRCodeChannelCode = "UNKNOWN_ENUM_VALUE"
)

List of QRCodeChannelCode

func NewQRCodeChannelCodeFromValue

func NewQRCodeChannelCodeFromValue(v string) (*QRCodeChannelCode, error)

NewQRCodeChannelCodeFromValue returns a pointer to a valid QRCodeChannelCode for the value passed as argument, or an error if the value passed is not allowed by the enum

func (QRCodeChannelCode) IsValid

func (v QRCodeChannelCode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (QRCodeChannelCode) Ptr

Ptr returns reference to QRCodeChannelCode value

func (QRCodeChannelCode) String

func (v QRCodeChannelCode) String() string

func (*QRCodeChannelCode) UnmarshalJSON

func (v *QRCodeChannelCode) UnmarshalJSON(src []byte) error

type QRCodeChannelProperties

type QRCodeChannelProperties struct {
	// QR string to be rendered for display to end users. QR string to image rendering are commonly available in software libraries (e.g Nodejs, PHP, Java)
	QrString  *string    `json:"qr_string,omitempty"`
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
}

QRCodeChannelProperties QR Code Channel Properties

func NewQRCodeChannelProperties

func NewQRCodeChannelProperties() *QRCodeChannelProperties

NewQRCodeChannelProperties instantiates a new QRCodeChannelProperties 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 NewQRCodeChannelPropertiesWithDefaults

func NewQRCodeChannelPropertiesWithDefaults() *QRCodeChannelProperties

NewQRCodeChannelPropertiesWithDefaults instantiates a new QRCodeChannelProperties 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 (*QRCodeChannelProperties) GetExpiresAt

func (o *QRCodeChannelProperties) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*QRCodeChannelProperties) GetExpiresAtOk

func (o *QRCodeChannelProperties) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QRCodeChannelProperties) GetQrString

func (o *QRCodeChannelProperties) GetQrString() string

GetQrString returns the QrString field value if set, zero value otherwise.

func (*QRCodeChannelProperties) GetQrStringOk

func (o *QRCodeChannelProperties) GetQrStringOk() (*string, bool)

GetQrStringOk returns a tuple with the QrString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*QRCodeChannelProperties) HasExpiresAt

func (o *QRCodeChannelProperties) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*QRCodeChannelProperties) HasQrString

func (o *QRCodeChannelProperties) HasQrString() bool

HasQrString returns a boolean if a field has been set.

func (QRCodeChannelProperties) MarshalJSON

func (o QRCodeChannelProperties) MarshalJSON() ([]byte, error)

func (*QRCodeChannelProperties) SetExpiresAt

func (o *QRCodeChannelProperties) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*QRCodeChannelProperties) SetQrString

func (o *QRCodeChannelProperties) SetQrString(v string)

SetQrString gets a reference to the given string and assigns it to the QrString field.

func (QRCodeChannelProperties) ToMap

func (o QRCodeChannelProperties) ToMap() (map[string]interface{}, error)

type QRCodeParameters

type QRCodeParameters struct {
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	Currency          *string                         `json:"currency,omitempty"`
	ChannelCode       NullableQRCodeChannelCode       `json:"channel_code,omitempty"`
	ChannelProperties NullableQRCodeChannelProperties `json:"channel_properties,omitempty"`
}

QRCodeParameters struct for QRCodeParameters

func NewQRCodeParameters

func NewQRCodeParameters() *QRCodeParameters

NewQRCodeParameters instantiates a new QRCodeParameters 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 NewQRCodeParametersWithDefaults

func NewQRCodeParametersWithDefaults() *QRCodeParameters

NewQRCodeParametersWithDefaults instantiates a new QRCodeParameters 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 (*QRCodeParameters) GetAmount

func (o *QRCodeParameters) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QRCodeParameters) GetAmountOk

func (o *QRCodeParameters) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount 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 (*QRCodeParameters) GetChannelCode

func (o *QRCodeParameters) GetChannelCode() QRCodeChannelCode

GetChannelCode returns the ChannelCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QRCodeParameters) GetChannelCodeOk

func (o *QRCodeParameters) GetChannelCodeOk() (*QRCodeChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode 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 (*QRCodeParameters) GetChannelProperties

func (o *QRCodeParameters) GetChannelProperties() QRCodeChannelProperties

GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise (both if not set or set to explicit null).

func (*QRCodeParameters) GetChannelPropertiesOk

func (o *QRCodeParameters) GetChannelPropertiesOk() (*QRCodeChannelProperties, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*QRCodeParameters) GetCurrency

func (o *QRCodeParameters) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*QRCodeParameters) GetCurrencyOk

func (o *QRCodeParameters) 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 (*QRCodeParameters) HasAmount

func (o *QRCodeParameters) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*QRCodeParameters) HasChannelCode

func (o *QRCodeParameters) HasChannelCode() bool

HasChannelCode returns a boolean if a field has been set.

func (*QRCodeParameters) HasChannelProperties

func (o *QRCodeParameters) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (*QRCodeParameters) HasCurrency

func (o *QRCodeParameters) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (QRCodeParameters) MarshalJSON

func (o QRCodeParameters) MarshalJSON() ([]byte, error)

func (*QRCodeParameters) SetAmount

func (o *QRCodeParameters) SetAmount(v float64)

SetAmount gets a reference to the given NullableFloat64 and assigns it to the Amount field.

func (*QRCodeParameters) SetAmountNil

func (o *QRCodeParameters) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*QRCodeParameters) SetChannelCode

func (o *QRCodeParameters) SetChannelCode(v QRCodeChannelCode)

SetChannelCode gets a reference to the given NullableQRCodeChannelCode and assigns it to the ChannelCode field.

func (*QRCodeParameters) SetChannelCodeNil

func (o *QRCodeParameters) SetChannelCodeNil()

SetChannelCodeNil sets the value for ChannelCode to be an explicit nil

func (*QRCodeParameters) SetChannelProperties

func (o *QRCodeParameters) SetChannelProperties(v QRCodeChannelProperties)

SetChannelProperties gets a reference to the given NullableQRCodeChannelProperties and assigns it to the ChannelProperties field.

func (*QRCodeParameters) SetChannelPropertiesNil

func (o *QRCodeParameters) SetChannelPropertiesNil()

SetChannelPropertiesNil sets the value for ChannelProperties to be an explicit nil

func (*QRCodeParameters) SetCurrency

func (o *QRCodeParameters) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (QRCodeParameters) ToMap

func (o QRCodeParameters) ToMap() (map[string]interface{}, error)

func (*QRCodeParameters) UnsetAmount

func (o *QRCodeParameters) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

func (*QRCodeParameters) UnsetChannelCode

func (o *QRCodeParameters) UnsetChannelCode()

UnsetChannelCode ensures that no value is present for ChannelCode, not even an explicit nil

func (*QRCodeParameters) UnsetChannelProperties

func (o *QRCodeParameters) UnsetChannelProperties()

UnsetChannelProperties ensures that no value is present for ChannelProperties, not even an explicit nil

type SimulatePaymentRequest

type SimulatePaymentRequest struct {
	Amount *float64 `json:"amount,omitempty"`
}

SimulatePaymentRequest struct for SimulatePaymentRequest

func NewSimulatePaymentRequest

func NewSimulatePaymentRequest() *SimulatePaymentRequest

NewSimulatePaymentRequest instantiates a new SimulatePaymentRequest 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 NewSimulatePaymentRequestWithDefaults

func NewSimulatePaymentRequestWithDefaults() *SimulatePaymentRequest

NewSimulatePaymentRequestWithDefaults instantiates a new SimulatePaymentRequest 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 (*SimulatePaymentRequest) GetAmount

func (o *SimulatePaymentRequest) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise.

func (*SimulatePaymentRequest) GetAmountOk

func (o *SimulatePaymentRequest) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SimulatePaymentRequest) HasAmount

func (o *SimulatePaymentRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (SimulatePaymentRequest) MarshalJSON

func (o SimulatePaymentRequest) MarshalJSON() ([]byte, error)

func (*SimulatePaymentRequest) SetAmount

func (o *SimulatePaymentRequest) SetAmount(v float64)

SetAmount gets a reference to the given float64 and assigns it to the Amount field.

func (SimulatePaymentRequest) ToMap

func (o SimulatePaymentRequest) ToMap() (map[string]interface{}, error)

type TokenizedCardInformation

type TokenizedCardInformation struct {
	TokenId string `json:"token_id"`
	// 1st 6 and last 4 digits of the card
	MaskedCardNumber string `json:"masked_card_number"`
	// Cardholder name is optional but recommended for 3DS 2 / AVS verification
	CardholderName NullableString `json:"cardholder_name,omitempty"`
	// Card expiry month in MM format
	ExpiryMonth string `json:"expiry_month"`
	// Card expiry month in YY format
	ExpiryYear string `json:"expiry_year"`
	// Xendit-generated identifier for the unique card number. Multiple payment method objects can be created for the same account - e.g. if the user first creates a one-time payment request, and then later on creates a multiple-use payment method using the same account.   The fingerprint helps to identify the unique account being used.
	Fingerprint string `json:"fingerprint"`
	// Whether the card is a credit or debit card
	Type string `json:"type"`
	// Card network - VISA, MASTERCARD, JCB, AMEX, DISCOVER, BCA
	Network string `json:"network"`
	// Country where the card was issued ISO 3166-1 Alpha-2
	Country string `json:"country"`
	// Issuer of the card, most often an issuing bank For example, “BCA”, “MANDIRI”
	Issuer string `json:"issuer"`
}

TokenizedCardInformation Tokenized Card Information

func NewTokenizedCardInformation

func NewTokenizedCardInformation(tokenId string, maskedCardNumber string, expiryMonth string, expiryYear string, fingerprint string, type_ string, network string, country string, issuer string) *TokenizedCardInformation

NewTokenizedCardInformation instantiates a new TokenizedCardInformation 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 NewTokenizedCardInformationWithDefaults

func NewTokenizedCardInformationWithDefaults() *TokenizedCardInformation

NewTokenizedCardInformationWithDefaults instantiates a new TokenizedCardInformation 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 (*TokenizedCardInformation) GetCardholderName

func (o *TokenizedCardInformation) GetCardholderName() string

GetCardholderName returns the CardholderName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TokenizedCardInformation) GetCardholderNameOk

func (o *TokenizedCardInformation) GetCardholderNameOk() (*string, bool)

GetCardholderNameOk returns a tuple with the CardholderName 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 (*TokenizedCardInformation) GetCountry

func (o *TokenizedCardInformation) GetCountry() string

GetCountry returns the Country field value

func (*TokenizedCardInformation) GetCountryOk

func (o *TokenizedCardInformation) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) GetExpiryMonth

func (o *TokenizedCardInformation) GetExpiryMonth() string

GetExpiryMonth returns the ExpiryMonth field value

func (*TokenizedCardInformation) GetExpiryMonthOk

func (o *TokenizedCardInformation) GetExpiryMonthOk() (*string, bool)

GetExpiryMonthOk returns a tuple with the ExpiryMonth field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) GetExpiryYear

func (o *TokenizedCardInformation) GetExpiryYear() string

GetExpiryYear returns the ExpiryYear field value

func (*TokenizedCardInformation) GetExpiryYearOk

func (o *TokenizedCardInformation) GetExpiryYearOk() (*string, bool)

GetExpiryYearOk returns a tuple with the ExpiryYear field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) GetFingerprint

func (o *TokenizedCardInformation) GetFingerprint() string

GetFingerprint returns the Fingerprint field value

func (*TokenizedCardInformation) GetFingerprintOk

func (o *TokenizedCardInformation) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) GetIssuer

func (o *TokenizedCardInformation) GetIssuer() string

GetIssuer returns the Issuer field value

func (*TokenizedCardInformation) GetIssuerOk

func (o *TokenizedCardInformation) GetIssuerOk() (*string, bool)

GetIssuerOk returns a tuple with the Issuer field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) GetMaskedCardNumber

func (o *TokenizedCardInformation) GetMaskedCardNumber() string

GetMaskedCardNumber returns the MaskedCardNumber field value

func (*TokenizedCardInformation) GetMaskedCardNumberOk

func (o *TokenizedCardInformation) GetMaskedCardNumberOk() (*string, bool)

GetMaskedCardNumberOk returns a tuple with the MaskedCardNumber field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) GetNetwork

func (o *TokenizedCardInformation) GetNetwork() string

GetNetwork returns the Network field value

func (*TokenizedCardInformation) GetNetworkOk

func (o *TokenizedCardInformation) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) GetTokenId

func (o *TokenizedCardInformation) GetTokenId() string

GetTokenId returns the TokenId field value

func (*TokenizedCardInformation) GetTokenIdOk

func (o *TokenizedCardInformation) GetTokenIdOk() (*string, bool)

GetTokenIdOk returns a tuple with the TokenId field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) GetType

func (o *TokenizedCardInformation) GetType() string

GetType returns the Type field value

func (*TokenizedCardInformation) GetTypeOk

func (o *TokenizedCardInformation) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*TokenizedCardInformation) HasCardholderName

func (o *TokenizedCardInformation) HasCardholderName() bool

HasCardholderName returns a boolean if a field has been set.

func (TokenizedCardInformation) MarshalJSON

func (o TokenizedCardInformation) MarshalJSON() ([]byte, error)

func (*TokenizedCardInformation) SetCardholderName

func (o *TokenizedCardInformation) SetCardholderName(v string)

SetCardholderName gets a reference to the given NullableString and assigns it to the CardholderName field.

func (*TokenizedCardInformation) SetCardholderNameNil

func (o *TokenizedCardInformation) SetCardholderNameNil()

SetCardholderNameNil sets the value for CardholderName to be an explicit nil

func (*TokenizedCardInformation) SetCountry

func (o *TokenizedCardInformation) SetCountry(v string)

SetCountry sets field value

func (*TokenizedCardInformation) SetExpiryMonth

func (o *TokenizedCardInformation) SetExpiryMonth(v string)

SetExpiryMonth sets field value

func (*TokenizedCardInformation) SetExpiryYear

func (o *TokenizedCardInformation) SetExpiryYear(v string)

SetExpiryYear sets field value

func (*TokenizedCardInformation) SetFingerprint

func (o *TokenizedCardInformation) SetFingerprint(v string)

SetFingerprint sets field value

func (*TokenizedCardInformation) SetIssuer

func (o *TokenizedCardInformation) SetIssuer(v string)

SetIssuer sets field value

func (*TokenizedCardInformation) SetMaskedCardNumber

func (o *TokenizedCardInformation) SetMaskedCardNumber(v string)

SetMaskedCardNumber sets field value

func (*TokenizedCardInformation) SetNetwork

func (o *TokenizedCardInformation) SetNetwork(v string)

SetNetwork sets field value

func (*TokenizedCardInformation) SetTokenId

func (o *TokenizedCardInformation) SetTokenId(v string)

SetTokenId sets field value

func (*TokenizedCardInformation) SetType

func (o *TokenizedCardInformation) SetType(v string)

SetType sets field value

func (TokenizedCardInformation) ToMap

func (o TokenizedCardInformation) ToMap() (map[string]interface{}, error)

func (*TokenizedCardInformation) UnsetCardholderName

func (o *TokenizedCardInformation) UnsetCardholderName()

UnsetCardholderName ensures that no value is present for CardholderName, not even an explicit nil

type VirtualAccount

type VirtualAccount struct {
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	MinAmount         NullableFloat64                 `json:"min_amount,omitempty"`
	MaxAmount         NullableFloat64                 `json:"max_amount,omitempty"`
	Currency          *string                         `json:"currency,omitempty"`
	ChannelCode       VirtualAccountChannelCode       `json:"channel_code"`
	ChannelProperties VirtualAccountChannelProperties `json:"channel_properties"`
	// For payments in Vietnam only, alternative display requested for the virtual account
	AlternativeDisplayTypes []string                           `json:"alternative_display_types,omitempty"`
	AlternativeDisplays     []VirtualAccountAlternativeDisplay `json:"alternative_displays,omitempty"`
}

VirtualAccount Virtual Account Payment Method Details

func NewVirtualAccount

func NewVirtualAccount(channelCode VirtualAccountChannelCode, channelProperties VirtualAccountChannelProperties) *VirtualAccount

NewVirtualAccount instantiates a new VirtualAccount 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 NewVirtualAccountWithDefaults

func NewVirtualAccountWithDefaults() *VirtualAccount

NewVirtualAccountWithDefaults instantiates a new VirtualAccount 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 (*VirtualAccount) GetAlternativeDisplayTypes

func (o *VirtualAccount) GetAlternativeDisplayTypes() []string

GetAlternativeDisplayTypes returns the AlternativeDisplayTypes field value if set, zero value otherwise.

func (*VirtualAccount) GetAlternativeDisplayTypesOk

func (o *VirtualAccount) GetAlternativeDisplayTypesOk() ([]string, bool)

GetAlternativeDisplayTypesOk returns a tuple with the AlternativeDisplayTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccount) GetAlternativeDisplays

func (o *VirtualAccount) GetAlternativeDisplays() []VirtualAccountAlternativeDisplay

GetAlternativeDisplays returns the AlternativeDisplays field value if set, zero value otherwise.

func (*VirtualAccount) GetAlternativeDisplaysOk

func (o *VirtualAccount) GetAlternativeDisplaysOk() ([]VirtualAccountAlternativeDisplay, 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 (*VirtualAccount) GetAmount

func (o *VirtualAccount) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccount) GetAmountOk

func (o *VirtualAccount) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount 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 (*VirtualAccount) GetChannelCode

func (o *VirtualAccount) GetChannelCode() VirtualAccountChannelCode

GetChannelCode returns the ChannelCode field value

func (*VirtualAccount) GetChannelCodeOk

func (o *VirtualAccount) GetChannelCodeOk() (*VirtualAccountChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode field value and a boolean to check if the value has been set.

func (*VirtualAccount) GetChannelProperties

func (o *VirtualAccount) GetChannelProperties() VirtualAccountChannelProperties

GetChannelProperties returns the ChannelProperties field value

func (*VirtualAccount) GetChannelPropertiesOk

func (o *VirtualAccount) GetChannelPropertiesOk() (*VirtualAccountChannelProperties, bool)

GetChannelPropertiesOk returns a tuple with the ChannelProperties field value and a boolean to check if the value has been set.

func (*VirtualAccount) GetCurrency

func (o *VirtualAccount) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*VirtualAccount) GetCurrencyOk

func (o *VirtualAccount) 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 (*VirtualAccount) GetMaxAmount

func (o *VirtualAccount) GetMaxAmount() float64

GetMaxAmount returns the MaxAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccount) GetMaxAmountOk

func (o *VirtualAccount) GetMaxAmountOk() (*float64, bool)

GetMaxAmountOk returns a tuple with the MaxAmount 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 (*VirtualAccount) GetMinAmount

func (o *VirtualAccount) GetMinAmount() float64

GetMinAmount returns the MinAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccount) GetMinAmountOk

func (o *VirtualAccount) GetMinAmountOk() (*float64, bool)

GetMinAmountOk returns a tuple with the MinAmount 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 (*VirtualAccount) HasAlternativeDisplayTypes

func (o *VirtualAccount) HasAlternativeDisplayTypes() bool

HasAlternativeDisplayTypes returns a boolean if a field has been set.

func (*VirtualAccount) HasAlternativeDisplays

func (o *VirtualAccount) HasAlternativeDisplays() bool

HasAlternativeDisplays returns a boolean if a field has been set.

func (*VirtualAccount) HasAmount

func (o *VirtualAccount) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*VirtualAccount) HasCurrency

func (o *VirtualAccount) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*VirtualAccount) HasMaxAmount

func (o *VirtualAccount) HasMaxAmount() bool

HasMaxAmount returns a boolean if a field has been set.

func (*VirtualAccount) HasMinAmount

func (o *VirtualAccount) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (VirtualAccount) MarshalJSON

func (o VirtualAccount) MarshalJSON() ([]byte, error)

func (*VirtualAccount) SetAlternativeDisplayTypes

func (o *VirtualAccount) SetAlternativeDisplayTypes(v []string)

SetAlternativeDisplayTypes gets a reference to the given []string and assigns it to the AlternativeDisplayTypes field.

func (*VirtualAccount) SetAlternativeDisplays

func (o *VirtualAccount) SetAlternativeDisplays(v []VirtualAccountAlternativeDisplay)

SetAlternativeDisplays gets a reference to the given []VirtualAccountAlternativeDisplay and assigns it to the AlternativeDisplays field.

func (*VirtualAccount) SetAmount

func (o *VirtualAccount) SetAmount(v float64)

SetAmount gets a reference to the given NullableFloat64 and assigns it to the Amount field.

func (*VirtualAccount) SetAmountNil

func (o *VirtualAccount) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*VirtualAccount) SetChannelCode

func (o *VirtualAccount) SetChannelCode(v VirtualAccountChannelCode)

SetChannelCode sets field value

func (*VirtualAccount) SetChannelProperties

func (o *VirtualAccount) SetChannelProperties(v VirtualAccountChannelProperties)

SetChannelProperties sets field value

func (*VirtualAccount) SetCurrency

func (o *VirtualAccount) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*VirtualAccount) SetMaxAmount

func (o *VirtualAccount) SetMaxAmount(v float64)

SetMaxAmount gets a reference to the given NullableFloat64 and assigns it to the MaxAmount field.

func (*VirtualAccount) SetMaxAmountNil

func (o *VirtualAccount) SetMaxAmountNil()

SetMaxAmountNil sets the value for MaxAmount to be an explicit nil

func (*VirtualAccount) SetMinAmount

func (o *VirtualAccount) SetMinAmount(v float64)

SetMinAmount gets a reference to the given NullableFloat64 and assigns it to the MinAmount field.

func (*VirtualAccount) SetMinAmountNil

func (o *VirtualAccount) SetMinAmountNil()

SetMinAmountNil sets the value for MinAmount to be an explicit nil

func (VirtualAccount) ToMap

func (o VirtualAccount) ToMap() (map[string]interface{}, error)

func (*VirtualAccount) UnsetAmount

func (o *VirtualAccount) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

func (*VirtualAccount) UnsetMaxAmount

func (o *VirtualAccount) UnsetMaxAmount()

UnsetMaxAmount ensures that no value is present for MaxAmount, not even an explicit nil

func (*VirtualAccount) UnsetMinAmount

func (o *VirtualAccount) UnsetMinAmount()

UnsetMinAmount ensures that no value is present for MinAmount, not even an explicit nil

type VirtualAccountAllOf

type VirtualAccountAllOf struct {
	AlternativeDisplays []VirtualAccountAlternativeDisplay `json:"alternative_displays,omitempty"`
}

VirtualAccountAllOf struct for VirtualAccountAllOf

func NewVirtualAccountAllOf

func NewVirtualAccountAllOf() *VirtualAccountAllOf

NewVirtualAccountAllOf instantiates a new VirtualAccountAllOf 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 NewVirtualAccountAllOfWithDefaults

func NewVirtualAccountAllOfWithDefaults() *VirtualAccountAllOf

NewVirtualAccountAllOfWithDefaults instantiates a new VirtualAccountAllOf 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 (*VirtualAccountAllOf) GetAlternativeDisplays

func (o *VirtualAccountAllOf) GetAlternativeDisplays() []VirtualAccountAlternativeDisplay

GetAlternativeDisplays returns the AlternativeDisplays field value if set, zero value otherwise.

func (*VirtualAccountAllOf) GetAlternativeDisplaysOk

func (o *VirtualAccountAllOf) GetAlternativeDisplaysOk() ([]VirtualAccountAlternativeDisplay, 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 (*VirtualAccountAllOf) HasAlternativeDisplays

func (o *VirtualAccountAllOf) HasAlternativeDisplays() bool

HasAlternativeDisplays returns a boolean if a field has been set.

func (VirtualAccountAllOf) MarshalJSON

func (o VirtualAccountAllOf) MarshalJSON() ([]byte, error)

func (*VirtualAccountAllOf) SetAlternativeDisplays

func (o *VirtualAccountAllOf) SetAlternativeDisplays(v []VirtualAccountAlternativeDisplay)

SetAlternativeDisplays gets a reference to the given []VirtualAccountAlternativeDisplay and assigns it to the AlternativeDisplays field.

func (VirtualAccountAllOf) ToMap

func (o VirtualAccountAllOf) ToMap() (map[string]interface{}, error)

type VirtualAccountAlternativeDisplay

type VirtualAccountAlternativeDisplay struct {
	// Type of the alternative display
	Type *string `json:"type,omitempty"`
	// Data payload of the given alternative display
	Data *string `json:"data,omitempty"`
}

VirtualAccountAlternativeDisplay Alternative Display Object

func NewVirtualAccountAlternativeDisplay

func NewVirtualAccountAlternativeDisplay() *VirtualAccountAlternativeDisplay

NewVirtualAccountAlternativeDisplay instantiates a new VirtualAccountAlternativeDisplay 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 NewVirtualAccountAlternativeDisplayWithDefaults

func NewVirtualAccountAlternativeDisplayWithDefaults() *VirtualAccountAlternativeDisplay

NewVirtualAccountAlternativeDisplayWithDefaults instantiates a new VirtualAccountAlternativeDisplay 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 (*VirtualAccountAlternativeDisplay) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*VirtualAccountAlternativeDisplay) GetDataOk

func (o *VirtualAccountAlternativeDisplay) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountAlternativeDisplay) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*VirtualAccountAlternativeDisplay) GetTypeOk

func (o *VirtualAccountAlternativeDisplay) 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 (*VirtualAccountAlternativeDisplay) HasData

HasData returns a boolean if a field has been set.

func (*VirtualAccountAlternativeDisplay) HasType

HasType returns a boolean if a field has been set.

func (VirtualAccountAlternativeDisplay) MarshalJSON

func (o VirtualAccountAlternativeDisplay) MarshalJSON() ([]byte, error)

func (*VirtualAccountAlternativeDisplay) SetData

SetData gets a reference to the given string and assigns it to the Data field.

func (*VirtualAccountAlternativeDisplay) SetType

SetType gets a reference to the given string and assigns it to the Type field.

func (VirtualAccountAlternativeDisplay) ToMap

func (o VirtualAccountAlternativeDisplay) ToMap() (map[string]interface{}, error)

type VirtualAccountChannelCode

type VirtualAccountChannelCode string

VirtualAccountChannelCode Virtual Account Channel Code

const (
	VIRTUALACCOUNTCHANNELCODE_BCA                          VirtualAccountChannelCode = "BCA"
	VIRTUALACCOUNTCHANNELCODE_BJB                          VirtualAccountChannelCode = "BJB"
	VIRTUALACCOUNTCHANNELCODE_BNI                          VirtualAccountChannelCode = "BNI"
	VIRTUALACCOUNTCHANNELCODE_BRI                          VirtualAccountChannelCode = "BRI"
	VIRTUALACCOUNTCHANNELCODE_MANDIRI                      VirtualAccountChannelCode = "MANDIRI"
	VIRTUALACCOUNTCHANNELCODE_PERMATA                      VirtualAccountChannelCode = "PERMATA"
	VIRTUALACCOUNTCHANNELCODE_BSI                          VirtualAccountChannelCode = "BSI"
	VIRTUALACCOUNTCHANNELCODE_CIMB                         VirtualAccountChannelCode = "CIMB"
	VIRTUALACCOUNTCHANNELCODE_SAHABAT_SAMPOERNA            VirtualAccountChannelCode = "SAHABAT_SAMPOERNA"
	VIRTUALACCOUNTCHANNELCODE_ARTAJASA                     VirtualAccountChannelCode = "ARTAJASA"
	VIRTUALACCOUNTCHANNELCODE_PV                           VirtualAccountChannelCode = "PV"
	VIRTUALACCOUNTCHANNELCODE_VIETCAPITAL                  VirtualAccountChannelCode = "VIETCAPITAL"
	VIRTUALACCOUNTCHANNELCODE_WOORI                        VirtualAccountChannelCode = "WOORI"
	VIRTUALACCOUNTCHANNELCODE_MSB                          VirtualAccountChannelCode = "MSB"
	VIRTUALACCOUNTCHANNELCODE_STANDARD_CHARTERED           VirtualAccountChannelCode = "STANDARD_CHARTERED"
	VIRTUALACCOUNTCHANNELCODE_AMBANK                       VirtualAccountChannelCode = "AMBANK"
	VIRTUALACCOUNTCHANNELCODE_XENDIT_ENUM_DEFAULT_FALLBACK VirtualAccountChannelCode = "UNKNOWN_ENUM_VALUE"
)

List of VirtualAccountChannelCode

func NewVirtualAccountChannelCodeFromValue

func NewVirtualAccountChannelCodeFromValue(v string) (*VirtualAccountChannelCode, error)

NewVirtualAccountChannelCodeFromValue returns a pointer to a valid VirtualAccountChannelCode for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VirtualAccountChannelCode) IsValid

func (v VirtualAccountChannelCode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VirtualAccountChannelCode) Ptr

Ptr returns reference to VirtualAccountChannelCode value

func (VirtualAccountChannelCode) String

func (v VirtualAccountChannelCode) String() string

func (*VirtualAccountChannelCode) UnmarshalJSON

func (v *VirtualAccountChannelCode) UnmarshalJSON(src []byte) error

type VirtualAccountChannelProperties

type VirtualAccountChannelProperties struct {
	// Name of customer.
	CustomerName *string `json:"customer_name,omitempty"`
	// You can assign specific Virtual Account number using this parameter. If you do not send one, one will be picked at random. Make sure the number you specify is within your Virtual Account range.
	VirtualAccountNumber *string `json:"virtual_account_number,omitempty"`
	// The date and time in ISO 8601 UTC+0 when the virtual account number will be expired. Default: The default expiration date will be 31 years from creation date.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// The suggested amount you want to assign. Note: Suggested amounts is the amounts that can see as a suggestion, but user can still put any numbers (only supported for Mandiri and BRI)
	SuggestedAmount *float64 `json:"suggested_amount,omitempty"`
}

VirtualAccountChannelProperties Virtual Account Channel Properties

func NewVirtualAccountChannelProperties

func NewVirtualAccountChannelProperties() *VirtualAccountChannelProperties

NewVirtualAccountChannelProperties instantiates a new VirtualAccountChannelProperties 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 NewVirtualAccountChannelPropertiesWithDefaults

func NewVirtualAccountChannelPropertiesWithDefaults() *VirtualAccountChannelProperties

NewVirtualAccountChannelPropertiesWithDefaults instantiates a new VirtualAccountChannelProperties 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 (*VirtualAccountChannelProperties) GetCustomerName

func (o *VirtualAccountChannelProperties) GetCustomerName() string

GetCustomerName returns the CustomerName field value if set, zero value otherwise.

func (*VirtualAccountChannelProperties) GetCustomerNameOk

func (o *VirtualAccountChannelProperties) GetCustomerNameOk() (*string, bool)

GetCustomerNameOk returns a tuple with the CustomerName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountChannelProperties) GetExpiresAt

func (o *VirtualAccountChannelProperties) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*VirtualAccountChannelProperties) GetExpiresAtOk

func (o *VirtualAccountChannelProperties) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountChannelProperties) GetSuggestedAmount

func (o *VirtualAccountChannelProperties) GetSuggestedAmount() float64

GetSuggestedAmount returns the SuggestedAmount field value if set, zero value otherwise.

func (*VirtualAccountChannelProperties) GetSuggestedAmountOk

func (o *VirtualAccountChannelProperties) GetSuggestedAmountOk() (*float64, bool)

GetSuggestedAmountOk returns a tuple with the SuggestedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountChannelProperties) GetVirtualAccountNumber

func (o *VirtualAccountChannelProperties) GetVirtualAccountNumber() string

GetVirtualAccountNumber returns the VirtualAccountNumber field value if set, zero value otherwise.

func (*VirtualAccountChannelProperties) GetVirtualAccountNumberOk

func (o *VirtualAccountChannelProperties) GetVirtualAccountNumberOk() (*string, bool)

GetVirtualAccountNumberOk returns a tuple with the VirtualAccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountChannelProperties) HasCustomerName

func (o *VirtualAccountChannelProperties) HasCustomerName() bool

HasCustomerName returns a boolean if a field has been set.

func (*VirtualAccountChannelProperties) HasExpiresAt

func (o *VirtualAccountChannelProperties) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*VirtualAccountChannelProperties) HasSuggestedAmount

func (o *VirtualAccountChannelProperties) HasSuggestedAmount() bool

HasSuggestedAmount returns a boolean if a field has been set.

func (*VirtualAccountChannelProperties) HasVirtualAccountNumber

func (o *VirtualAccountChannelProperties) HasVirtualAccountNumber() bool

HasVirtualAccountNumber returns a boolean if a field has been set.

func (VirtualAccountChannelProperties) MarshalJSON

func (o VirtualAccountChannelProperties) MarshalJSON() ([]byte, error)

func (*VirtualAccountChannelProperties) SetCustomerName

func (o *VirtualAccountChannelProperties) SetCustomerName(v string)

SetCustomerName gets a reference to the given string and assigns it to the CustomerName field.

func (*VirtualAccountChannelProperties) SetExpiresAt

func (o *VirtualAccountChannelProperties) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*VirtualAccountChannelProperties) SetSuggestedAmount

func (o *VirtualAccountChannelProperties) SetSuggestedAmount(v float64)

SetSuggestedAmount gets a reference to the given float64 and assigns it to the SuggestedAmount field.

func (*VirtualAccountChannelProperties) SetVirtualAccountNumber

func (o *VirtualAccountChannelProperties) SetVirtualAccountNumber(v string)

SetVirtualAccountNumber gets a reference to the given string and assigns it to the VirtualAccountNumber field.

func (VirtualAccountChannelProperties) ToMap

func (o VirtualAccountChannelProperties) ToMap() (map[string]interface{}, error)

type VirtualAccountChannelPropertiesPatch

type VirtualAccountChannelPropertiesPatch struct {
	// The date and time in ISO 8601 UTC+0 when the virtual account number will be expired. Default: The default expiration date will be 31 years from creation date.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// The suggested amount you want to assign. Note: Suggested amounts is the amounts that can see as a suggestion, but user can still put any numbers (only supported for Mandiri and BRI)
	SuggestedAmount *float64 `json:"suggested_amount,omitempty"`
}

VirtualAccountChannelPropertiesPatch Virtual Account Channel Properties

func NewVirtualAccountChannelPropertiesPatch

func NewVirtualAccountChannelPropertiesPatch() *VirtualAccountChannelPropertiesPatch

NewVirtualAccountChannelPropertiesPatch instantiates a new VirtualAccountChannelPropertiesPatch 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 NewVirtualAccountChannelPropertiesPatchWithDefaults

func NewVirtualAccountChannelPropertiesPatchWithDefaults() *VirtualAccountChannelPropertiesPatch

NewVirtualAccountChannelPropertiesPatchWithDefaults instantiates a new VirtualAccountChannelPropertiesPatch 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 (*VirtualAccountChannelPropertiesPatch) GetExpiresAt

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*VirtualAccountChannelPropertiesPatch) GetExpiresAtOk

func (o *VirtualAccountChannelPropertiesPatch) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountChannelPropertiesPatch) GetSuggestedAmount

func (o *VirtualAccountChannelPropertiesPatch) GetSuggestedAmount() float64

GetSuggestedAmount returns the SuggestedAmount field value if set, zero value otherwise.

func (*VirtualAccountChannelPropertiesPatch) GetSuggestedAmountOk

func (o *VirtualAccountChannelPropertiesPatch) GetSuggestedAmountOk() (*float64, bool)

GetSuggestedAmountOk returns a tuple with the SuggestedAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountChannelPropertiesPatch) HasExpiresAt

func (o *VirtualAccountChannelPropertiesPatch) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*VirtualAccountChannelPropertiesPatch) HasSuggestedAmount

func (o *VirtualAccountChannelPropertiesPatch) HasSuggestedAmount() bool

HasSuggestedAmount returns a boolean if a field has been set.

func (VirtualAccountChannelPropertiesPatch) MarshalJSON

func (o VirtualAccountChannelPropertiesPatch) MarshalJSON() ([]byte, error)

func (*VirtualAccountChannelPropertiesPatch) SetExpiresAt

func (o *VirtualAccountChannelPropertiesPatch) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*VirtualAccountChannelPropertiesPatch) SetSuggestedAmount

func (o *VirtualAccountChannelPropertiesPatch) SetSuggestedAmount(v float64)

SetSuggestedAmount gets a reference to the given float64 and assigns it to the SuggestedAmount field.

func (VirtualAccountChannelPropertiesPatch) ToMap

func (o VirtualAccountChannelPropertiesPatch) ToMap() (map[string]interface{}, error)

type VirtualAccountParameters

type VirtualAccountParameters struct {
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	MinAmount         NullableFloat64                 `json:"min_amount,omitempty"`
	MaxAmount         NullableFloat64                 `json:"max_amount,omitempty"`
	Currency          *string                         `json:"currency,omitempty"`
	ChannelCode       VirtualAccountChannelCode       `json:"channel_code"`
	ChannelProperties VirtualAccountChannelProperties `json:"channel_properties"`
	// For payments in Vietnam only, alternative display requested for the virtual account
	AlternativeDisplayTypes []string `json:"alternative_display_types,omitempty"`
}

VirtualAccountParameters struct for VirtualAccountParameters

func NewVirtualAccountParameters

func NewVirtualAccountParameters(channelCode VirtualAccountChannelCode, channelProperties VirtualAccountChannelProperties) *VirtualAccountParameters

NewVirtualAccountParameters instantiates a new VirtualAccountParameters 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 NewVirtualAccountParametersWithDefaults

func NewVirtualAccountParametersWithDefaults() *VirtualAccountParameters

NewVirtualAccountParametersWithDefaults instantiates a new VirtualAccountParameters 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 (*VirtualAccountParameters) GetAlternativeDisplayTypes

func (o *VirtualAccountParameters) GetAlternativeDisplayTypes() []string

GetAlternativeDisplayTypes returns the AlternativeDisplayTypes field value if set, zero value otherwise.

func (*VirtualAccountParameters) GetAlternativeDisplayTypesOk

func (o *VirtualAccountParameters) GetAlternativeDisplayTypesOk() ([]string, bool)

GetAlternativeDisplayTypesOk returns a tuple with the AlternativeDisplayTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountParameters) GetAmount

func (o *VirtualAccountParameters) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccountParameters) GetAmountOk

func (o *VirtualAccountParameters) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount 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 (*VirtualAccountParameters) GetChannelCode

GetChannelCode returns the ChannelCode field value

func (*VirtualAccountParameters) GetChannelCodeOk

func (o *VirtualAccountParameters) GetChannelCodeOk() (*VirtualAccountChannelCode, bool)

GetChannelCodeOk returns a tuple with the ChannelCode field value and a boolean to check if the value has been set.

func (*VirtualAccountParameters) GetChannelProperties

GetChannelProperties returns the ChannelProperties field value

func (*VirtualAccountParameters) GetChannelPropertiesOk

func (o *VirtualAccountParameters) GetChannelPropertiesOk() (*VirtualAccountChannelProperties, bool)

GetChannelPropertiesOk returns a tuple with the ChannelProperties field value and a boolean to check if the value has been set.

func (*VirtualAccountParameters) GetCurrency

func (o *VirtualAccountParameters) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*VirtualAccountParameters) GetCurrencyOk

func (o *VirtualAccountParameters) 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 (*VirtualAccountParameters) GetMaxAmount

func (o *VirtualAccountParameters) GetMaxAmount() float64

GetMaxAmount returns the MaxAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccountParameters) GetMaxAmountOk

func (o *VirtualAccountParameters) GetMaxAmountOk() (*float64, bool)

GetMaxAmountOk returns a tuple with the MaxAmount 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 (*VirtualAccountParameters) GetMinAmount

func (o *VirtualAccountParameters) GetMinAmount() float64

GetMinAmount returns the MinAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccountParameters) GetMinAmountOk

func (o *VirtualAccountParameters) GetMinAmountOk() (*float64, bool)

GetMinAmountOk returns a tuple with the MinAmount 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 (*VirtualAccountParameters) HasAlternativeDisplayTypes

func (o *VirtualAccountParameters) HasAlternativeDisplayTypes() bool

HasAlternativeDisplayTypes returns a boolean if a field has been set.

func (*VirtualAccountParameters) HasAmount

func (o *VirtualAccountParameters) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*VirtualAccountParameters) HasCurrency

func (o *VirtualAccountParameters) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*VirtualAccountParameters) HasMaxAmount

func (o *VirtualAccountParameters) HasMaxAmount() bool

HasMaxAmount returns a boolean if a field has been set.

func (*VirtualAccountParameters) HasMinAmount

func (o *VirtualAccountParameters) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (VirtualAccountParameters) MarshalJSON

func (o VirtualAccountParameters) MarshalJSON() ([]byte, error)

func (*VirtualAccountParameters) SetAlternativeDisplayTypes

func (o *VirtualAccountParameters) SetAlternativeDisplayTypes(v []string)

SetAlternativeDisplayTypes gets a reference to the given []string and assigns it to the AlternativeDisplayTypes field.

func (*VirtualAccountParameters) SetAmount

func (o *VirtualAccountParameters) SetAmount(v float64)

SetAmount gets a reference to the given NullableFloat64 and assigns it to the Amount field.

func (*VirtualAccountParameters) SetAmountNil

func (o *VirtualAccountParameters) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*VirtualAccountParameters) SetChannelCode

SetChannelCode sets field value

func (*VirtualAccountParameters) SetChannelProperties

func (o *VirtualAccountParameters) SetChannelProperties(v VirtualAccountChannelProperties)

SetChannelProperties sets field value

func (*VirtualAccountParameters) SetCurrency

func (o *VirtualAccountParameters) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*VirtualAccountParameters) SetMaxAmount

func (o *VirtualAccountParameters) SetMaxAmount(v float64)

SetMaxAmount gets a reference to the given NullableFloat64 and assigns it to the MaxAmount field.

func (*VirtualAccountParameters) SetMaxAmountNil

func (o *VirtualAccountParameters) SetMaxAmountNil()

SetMaxAmountNil sets the value for MaxAmount to be an explicit nil

func (*VirtualAccountParameters) SetMinAmount

func (o *VirtualAccountParameters) SetMinAmount(v float64)

SetMinAmount gets a reference to the given NullableFloat64 and assigns it to the MinAmount field.

func (*VirtualAccountParameters) SetMinAmountNil

func (o *VirtualAccountParameters) SetMinAmountNil()

SetMinAmountNil sets the value for MinAmount to be an explicit nil

func (VirtualAccountParameters) ToMap

func (o VirtualAccountParameters) ToMap() (map[string]interface{}, error)

func (*VirtualAccountParameters) UnsetAmount

func (o *VirtualAccountParameters) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

func (*VirtualAccountParameters) UnsetMaxAmount

func (o *VirtualAccountParameters) UnsetMaxAmount()

UnsetMaxAmount ensures that no value is present for MaxAmount, not even an explicit nil

func (*VirtualAccountParameters) UnsetMinAmount

func (o *VirtualAccountParameters) UnsetMinAmount()

UnsetMinAmount ensures that no value is present for MinAmount, not even an explicit nil

type VirtualAccountUpdateParameters

type VirtualAccountUpdateParameters struct {
	Amount            NullableFloat64                       `json:"amount,omitempty"`
	MinAmount         NullableFloat64                       `json:"min_amount,omitempty"`
	MaxAmount         NullableFloat64                       `json:"max_amount,omitempty"`
	ChannelProperties *VirtualAccountChannelPropertiesPatch `json:"channel_properties,omitempty"`
	// For payments in Vietnam only, alternative display requested for the virtual account
	AlternativeDisplayTypes []string `json:"alternative_display_types,omitempty"`
}

VirtualAccountUpdateParameters struct for VirtualAccountUpdateParameters

func NewVirtualAccountUpdateParameters

func NewVirtualAccountUpdateParameters() *VirtualAccountUpdateParameters

NewVirtualAccountUpdateParameters instantiates a new VirtualAccountUpdateParameters 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 NewVirtualAccountUpdateParametersWithDefaults

func NewVirtualAccountUpdateParametersWithDefaults() *VirtualAccountUpdateParameters

NewVirtualAccountUpdateParametersWithDefaults instantiates a new VirtualAccountUpdateParameters 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 (*VirtualAccountUpdateParameters) GetAlternativeDisplayTypes

func (o *VirtualAccountUpdateParameters) GetAlternativeDisplayTypes() []string

GetAlternativeDisplayTypes returns the AlternativeDisplayTypes field value if set, zero value otherwise.

func (*VirtualAccountUpdateParameters) GetAlternativeDisplayTypesOk

func (o *VirtualAccountUpdateParameters) GetAlternativeDisplayTypesOk() ([]string, bool)

GetAlternativeDisplayTypesOk returns a tuple with the AlternativeDisplayTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualAccountUpdateParameters) GetAmount

func (o *VirtualAccountUpdateParameters) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccountUpdateParameters) GetAmountOk

func (o *VirtualAccountUpdateParameters) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount 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 (*VirtualAccountUpdateParameters) GetChannelProperties

GetChannelProperties returns the ChannelProperties field value if set, zero value otherwise.

func (*VirtualAccountUpdateParameters) GetChannelPropertiesOk

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 (*VirtualAccountUpdateParameters) GetMaxAmount

func (o *VirtualAccountUpdateParameters) GetMaxAmount() float64

GetMaxAmount returns the MaxAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccountUpdateParameters) GetMaxAmountOk

func (o *VirtualAccountUpdateParameters) GetMaxAmountOk() (*float64, bool)

GetMaxAmountOk returns a tuple with the MaxAmount 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 (*VirtualAccountUpdateParameters) GetMinAmount

func (o *VirtualAccountUpdateParameters) GetMinAmount() float64

GetMinAmount returns the MinAmount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VirtualAccountUpdateParameters) GetMinAmountOk

func (o *VirtualAccountUpdateParameters) GetMinAmountOk() (*float64, bool)

GetMinAmountOk returns a tuple with the MinAmount 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 (*VirtualAccountUpdateParameters) HasAlternativeDisplayTypes

func (o *VirtualAccountUpdateParameters) HasAlternativeDisplayTypes() bool

HasAlternativeDisplayTypes returns a boolean if a field has been set.

func (*VirtualAccountUpdateParameters) HasAmount

func (o *VirtualAccountUpdateParameters) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*VirtualAccountUpdateParameters) HasChannelProperties

func (o *VirtualAccountUpdateParameters) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (*VirtualAccountUpdateParameters) HasMaxAmount

func (o *VirtualAccountUpdateParameters) HasMaxAmount() bool

HasMaxAmount returns a boolean if a field has been set.

func (*VirtualAccountUpdateParameters) HasMinAmount

func (o *VirtualAccountUpdateParameters) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (VirtualAccountUpdateParameters) MarshalJSON

func (o VirtualAccountUpdateParameters) MarshalJSON() ([]byte, error)

func (*VirtualAccountUpdateParameters) SetAlternativeDisplayTypes

func (o *VirtualAccountUpdateParameters) SetAlternativeDisplayTypes(v []string)

SetAlternativeDisplayTypes gets a reference to the given []string and assigns it to the AlternativeDisplayTypes field.

func (*VirtualAccountUpdateParameters) SetAmount

func (o *VirtualAccountUpdateParameters) SetAmount(v float64)

SetAmount gets a reference to the given NullableFloat64 and assigns it to the Amount field.

func (*VirtualAccountUpdateParameters) SetAmountNil

func (o *VirtualAccountUpdateParameters) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*VirtualAccountUpdateParameters) SetChannelProperties

SetChannelProperties gets a reference to the given VirtualAccountChannelPropertiesPatch and assigns it to the ChannelProperties field.

func (*VirtualAccountUpdateParameters) SetMaxAmount

func (o *VirtualAccountUpdateParameters) SetMaxAmount(v float64)

SetMaxAmount gets a reference to the given NullableFloat64 and assigns it to the MaxAmount field.

func (*VirtualAccountUpdateParameters) SetMaxAmountNil

func (o *VirtualAccountUpdateParameters) SetMaxAmountNil()

SetMaxAmountNil sets the value for MaxAmount to be an explicit nil

func (*VirtualAccountUpdateParameters) SetMinAmount

func (o *VirtualAccountUpdateParameters) SetMinAmount(v float64)

SetMinAmount gets a reference to the given NullableFloat64 and assigns it to the MinAmount field.

func (*VirtualAccountUpdateParameters) SetMinAmountNil

func (o *VirtualAccountUpdateParameters) SetMinAmountNil()

SetMinAmountNil sets the value for MinAmount to be an explicit nil

func (VirtualAccountUpdateParameters) ToMap

func (o VirtualAccountUpdateParameters) ToMap() (map[string]interface{}, error)

func (*VirtualAccountUpdateParameters) UnsetAmount

func (o *VirtualAccountUpdateParameters) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

func (*VirtualAccountUpdateParameters) UnsetMaxAmount

func (o *VirtualAccountUpdateParameters) UnsetMaxAmount()

UnsetMaxAmount ensures that no value is present for MaxAmount, not even an explicit nil

func (*VirtualAccountUpdateParameters) UnsetMinAmount

func (o *VirtualAccountUpdateParameters) UnsetMinAmount()

UnsetMinAmount ensures that no value is present for MinAmount, not even an explicit nil

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL