payment_request

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",
	"BRI",
	"BNI",
	"MANDIRI",
	"BPI",
	"BDO",
	"CIMBNIAGA",
	"MTB",
	"RCBC",
	"UBP",
	"AUTODEBIT_UBP",
	"CHINABANK",
	"BAY",
	"KTB",
	"BBL",
	"SCB",
	"KBANK_MB",
	"BAY_MB",
	"KTB_MB",
	"BBL_MB",
	"SCB_MB",
	"BDO_EPAY",
	"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",
	"DANA",
	"OVO",
	"LINKAJA",
	"SHOPEEPAY",
	"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 AllowedPaymentMethodReusabilityEnumValues = []PaymentMethodReusability{
	"MULTIPLE_USE",
	"ONE_TIME_USE",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentMethodReusability enum

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

All allowed values of PaymentMethodStatus enum

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

All allowed values of PaymentMethodType enum

View Source
var AllowedPaymentRequestCaptureMethodEnumValues = []PaymentRequestCaptureMethod{
	"AUTOMATIC",
	"MANUAL",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentRequestCaptureMethod enum

View Source
var AllowedPaymentRequestCountryEnumValues = []PaymentRequestCountry{
	"ID",
	"PH",
	"VN",
	"TH",
	"MY",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentRequestCountry enum

View Source
var AllowedPaymentRequestCurrencyEnumValues = []PaymentRequestCurrency{
	"IDR",
	"PHP",
	"VND",
	"THB",
	"MYR",
	"USD",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentRequestCurrency enum

View Source
var AllowedPaymentRequestInitiatorEnumValues = []PaymentRequestInitiator{
	"CUSTOMER",
	"MERCHANT",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentRequestInitiator enum

View Source
var AllowedPaymentRequestStatusEnumValues = []PaymentRequestStatus{
	"PENDING",
	"REQUIRES_ACTION",
	"CANCELED",
	"SUCCEEDED",
	"FAILED",
	"VOIDED",
	"UNKNOWN",
	"AWAITING_CAPTURE",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of PaymentRequestStatus enum

View Source
var AllowedQRCodeChannelCodeEnumValues = []QRCodeChannelCode{
	"QRIS",
	"DANA",
	"RCBC",
	"LINKAJA",
	"PROMPTPAY",
	"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",
	"BNC",
	"HANA",
	"MUAMALAT",
	"UNKNOWN_ENUM_VALUE",
}

All allowed values of VirtualAccountChannelCode enum

Functions

This section is empty.

Types

type ApiAuthorizePaymentRequestRequest

type ApiAuthorizePaymentRequestRequest struct {
	ApiService PaymentRequestApi
	// contains filtered or unexported fields
}

func (ApiAuthorizePaymentRequestRequest) Execute

func (ApiAuthorizePaymentRequestRequest) ForUserId

func (ApiAuthorizePaymentRequestRequest) PaymentRequestAuthParameters

func (r ApiAuthorizePaymentRequestRequest) PaymentRequestAuthParameters(paymentRequestAuthParameters PaymentRequestAuthParameters) ApiAuthorizePaymentRequestRequest

type ApiCapturePaymentRequestRequest

type ApiCapturePaymentRequestRequest struct {
	ApiService PaymentRequestApi
	// contains filtered or unexported fields
}

func (ApiCapturePaymentRequestRequest) CaptureParameters

func (ApiCapturePaymentRequestRequest) Execute

func (ApiCapturePaymentRequestRequest) ForUserId

type ApiCreatePaymentRequestRequest

type ApiCreatePaymentRequestRequest struct {
	ApiService PaymentRequestApi
	// contains filtered or unexported fields
}

func (ApiCreatePaymentRequestRequest) Execute

func (ApiCreatePaymentRequestRequest) ForUserId

func (ApiCreatePaymentRequestRequest) IdempotencyKey

func (r ApiCreatePaymentRequestRequest) IdempotencyKey(idempotencyKey string) ApiCreatePaymentRequestRequest

func (ApiCreatePaymentRequestRequest) PaymentRequestParameters

func (r ApiCreatePaymentRequestRequest) PaymentRequestParameters(paymentRequestParameters PaymentRequestParameters) ApiCreatePaymentRequestRequest

type ApiGetAllPaymentRequestsRequest

type ApiGetAllPaymentRequestsRequest struct {
	ApiService PaymentRequestApi
	// contains filtered or unexported fields
}

func (ApiGetAllPaymentRequestsRequest) AfterId

func (ApiGetAllPaymentRequestsRequest) BeforeId

func (ApiGetAllPaymentRequestsRequest) CustomerId

func (ApiGetAllPaymentRequestsRequest) Execute

func (ApiGetAllPaymentRequestsRequest) ForUserId

func (ApiGetAllPaymentRequestsRequest) Id

func (ApiGetAllPaymentRequestsRequest) Limit

func (ApiGetAllPaymentRequestsRequest) ReferenceId

type ApiGetPaymentRequestByIDRequest

type ApiGetPaymentRequestByIDRequest struct {
	ApiService PaymentRequestApi
	// contains filtered or unexported fields
}

func (ApiGetPaymentRequestByIDRequest) Execute

func (ApiGetPaymentRequestByIDRequest) ForUserId

type ApiGetPaymentRequestCapturesRequest

type ApiGetPaymentRequestCapturesRequest struct {
	ApiService PaymentRequestApi
	// contains filtered or unexported fields
}

func (ApiGetPaymentRequestCapturesRequest) Execute

func (ApiGetPaymentRequestCapturesRequest) ForUserId

func (ApiGetPaymentRequestCapturesRequest) Limit

type ApiResendPaymentRequestAuthRequest

type ApiResendPaymentRequestAuthRequest struct {
	ApiService PaymentRequestApi
	// contains filtered or unexported fields
}

func (ApiResendPaymentRequestAuthRequest) Execute

func (ApiResendPaymentRequestAuthRequest) ForUserId

type Capture

type Capture struct {
	Id                string                 `json:"id"`
	PaymentRequestId  string                 `json:"payment_request_id"`
	PaymentId         string                 `json:"payment_id"`
	ReferenceId       string                 `json:"reference_id"`
	Currency          string                 `json:"currency"`
	AuthorizedAmount  float64                `json:"authorized_amount"`
	CapturedAmount    float64                `json:"captured_amount"`
	Status            string                 `json:"status"`
	PaymentMethod     PaymentMethod          `json:"payment_method"`
	FailureCode       NullableString         `json:"failure_code"`
	CustomerId        NullableString         `json:"customer_id"`
	Metadata          map[string]interface{} `json:"metadata"`
	ChannelProperties map[string]interface{} `json:"channel_properties"`
	Created           string                 `json:"created"`
	Updated           string                 `json:"updated"`
}

Capture struct for Capture

func NewCapture

func NewCapture(id string, paymentRequestId string, paymentId string, referenceId string, currency string, authorizedAmount float64, capturedAmount float64, status string, paymentMethod PaymentMethod, failureCode NullableString, customerId NullableString, metadata map[string]interface{}, channelProperties map[string]interface{}, created string, updated string) *Capture

NewCapture instantiates a new Capture 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 NewCaptureWithDefaults

func NewCaptureWithDefaults() *Capture

NewCaptureWithDefaults instantiates a new Capture 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 (*Capture) GetAuthorizedAmount

func (o *Capture) GetAuthorizedAmount() float64

GetAuthorizedAmount returns the AuthorizedAmount field value

func (*Capture) GetAuthorizedAmountOk

func (o *Capture) GetAuthorizedAmountOk() (*float64, bool)

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

func (*Capture) GetCapturedAmount

func (o *Capture) GetCapturedAmount() float64

GetCapturedAmount returns the CapturedAmount field value

func (*Capture) GetCapturedAmountOk

func (o *Capture) GetCapturedAmountOk() (*float64, bool)

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

func (*Capture) GetChannelProperties

func (o *Capture) GetChannelProperties() map[string]interface{}

GetChannelProperties returns the ChannelProperties field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*Capture) GetChannelPropertiesOk

func (o *Capture) GetChannelPropertiesOk() (map[string]interface{}, 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 (*Capture) GetCreated

func (o *Capture) GetCreated() string

GetCreated returns the Created field value

func (*Capture) GetCreatedOk

func (o *Capture) GetCreatedOk() (*string, bool)

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

func (*Capture) GetCurrency

func (o *Capture) GetCurrency() string

GetCurrency returns the Currency field value

func (*Capture) GetCurrencyOk

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

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

func (*Capture) GetCustomerId

func (o *Capture) GetCustomerId() string

GetCustomerId returns the CustomerId field value If the value is explicit nil, the zero value for string will be returned

func (*Capture) GetCustomerIdOk

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

GetCustomerIdOk returns a tuple with the CustomerId 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 (*Capture) GetFailureCode

func (o *Capture) GetFailureCode() string

GetFailureCode returns the FailureCode field value If the value is explicit nil, the zero value for string will be returned

func (*Capture) GetFailureCodeOk

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

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

func (o *Capture) GetId() string

GetId returns the Id field value

func (*Capture) GetIdOk

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

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

func (*Capture) GetMetadata

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

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*Capture) GetMetadataOk

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

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

func (o *Capture) GetPaymentId() string

GetPaymentId returns the PaymentId field value

func (*Capture) GetPaymentIdOk

func (o *Capture) GetPaymentIdOk() (*string, bool)

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

func (*Capture) GetPaymentMethod

func (o *Capture) GetPaymentMethod() PaymentMethod

GetPaymentMethod returns the PaymentMethod field value

func (*Capture) GetPaymentMethodOk

func (o *Capture) GetPaymentMethodOk() (*PaymentMethod, bool)

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

func (*Capture) GetPaymentRequestId

func (o *Capture) GetPaymentRequestId() string

GetPaymentRequestId returns the PaymentRequestId field value

func (*Capture) GetPaymentRequestIdOk

func (o *Capture) GetPaymentRequestIdOk() (*string, bool)

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

func (*Capture) GetReferenceId

func (o *Capture) GetReferenceId() string

GetReferenceId returns the ReferenceId field value

func (*Capture) GetReferenceIdOk

func (o *Capture) GetReferenceIdOk() (*string, bool)

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

func (*Capture) GetStatus

func (o *Capture) GetStatus() string

GetStatus returns the Status field value

func (*Capture) GetStatusOk

func (o *Capture) GetStatusOk() (*string, bool)

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

func (*Capture) GetUpdated

func (o *Capture) GetUpdated() string

GetUpdated returns the Updated field value

func (*Capture) GetUpdatedOk

func (o *Capture) GetUpdatedOk() (*string, bool)

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

func (Capture) MarshalJSON

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

func (*Capture) SetAuthorizedAmount

func (o *Capture) SetAuthorizedAmount(v float64)

SetAuthorizedAmount sets field value

func (*Capture) SetCapturedAmount

func (o *Capture) SetCapturedAmount(v float64)

SetCapturedAmount sets field value

func (*Capture) SetChannelProperties

func (o *Capture) SetChannelProperties(v map[string]interface{})

SetChannelProperties sets field value

func (*Capture) SetCreated

func (o *Capture) SetCreated(v string)

SetCreated sets field value

func (*Capture) SetCurrency

func (o *Capture) SetCurrency(v string)

SetCurrency sets field value

func (*Capture) SetCustomerId

func (o *Capture) SetCustomerId(v string)

SetCustomerId sets field value

func (*Capture) SetFailureCode

func (o *Capture) SetFailureCode(v string)

SetFailureCode sets field value

func (*Capture) SetId

func (o *Capture) SetId(v string)

SetId sets field value

func (*Capture) SetMetadata

func (o *Capture) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*Capture) SetPaymentId

func (o *Capture) SetPaymentId(v string)

SetPaymentId sets field value

func (*Capture) SetPaymentMethod

func (o *Capture) SetPaymentMethod(v PaymentMethod)

SetPaymentMethod sets field value

func (*Capture) SetPaymentRequestId

func (o *Capture) SetPaymentRequestId(v string)

SetPaymentRequestId sets field value

func (*Capture) SetReferenceId

func (o *Capture) SetReferenceId(v string)

SetReferenceId sets field value

func (*Capture) SetStatus

func (o *Capture) SetStatus(v string)

SetStatus sets field value

func (*Capture) SetUpdated

func (o *Capture) SetUpdated(v string)

SetUpdated sets field value

func (Capture) ToMap

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

type CaptureListResponse

type CaptureListResponse struct {
	Data    []Capture `json:"data"`
	HasMore bool      `json:"has_more"`
}

CaptureListResponse struct for CaptureListResponse

func NewCaptureListResponse

func NewCaptureListResponse(data []Capture, hasMore bool) *CaptureListResponse

NewCaptureListResponse instantiates a new CaptureListResponse 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 NewCaptureListResponseWithDefaults

func NewCaptureListResponseWithDefaults() *CaptureListResponse

NewCaptureListResponseWithDefaults instantiates a new CaptureListResponse 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 (*CaptureListResponse) GetData

func (o *CaptureListResponse) GetData() []Capture

GetData returns the Data field value

func (*CaptureListResponse) GetDataOk

func (o *CaptureListResponse) GetDataOk() ([]Capture, bool)

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

func (*CaptureListResponse) GetHasMore

func (o *CaptureListResponse) GetHasMore() bool

GetHasMore returns the HasMore field value

func (*CaptureListResponse) GetHasMoreOk

func (o *CaptureListResponse) GetHasMoreOk() (*bool, bool)

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

func (CaptureListResponse) MarshalJSON

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

func (*CaptureListResponse) SetData

func (o *CaptureListResponse) SetData(v []Capture)

SetData sets field value

func (*CaptureListResponse) SetHasMore

func (o *CaptureListResponse) SetHasMore(v bool)

SetHasMore sets field value

func (CaptureListResponse) ToMap

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

type CaptureParameters

type CaptureParameters struct {
	ReferenceId   NullableString `json:"reference_id,omitempty"`
	CaptureAmount float64        `json:"capture_amount"`
}

CaptureParameters struct for CaptureParameters

func NewCaptureParameters

func NewCaptureParameters(captureAmount float64) *CaptureParameters

NewCaptureParameters instantiates a new CaptureParameters 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 NewCaptureParametersWithDefaults

func NewCaptureParametersWithDefaults() *CaptureParameters

NewCaptureParametersWithDefaults instantiates a new CaptureParameters 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 (*CaptureParameters) GetCaptureAmount

func (o *CaptureParameters) GetCaptureAmount() float64

GetCaptureAmount returns the CaptureAmount field value

func (*CaptureParameters) GetCaptureAmountOk

func (o *CaptureParameters) GetCaptureAmountOk() (*float64, bool)

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

func (*CaptureParameters) GetReferenceId

func (o *CaptureParameters) GetReferenceId() string

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

func (*CaptureParameters) GetReferenceIdOk

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

func (*CaptureParameters) HasReferenceId

func (o *CaptureParameters) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (CaptureParameters) MarshalJSON

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

func (*CaptureParameters) SetCaptureAmount

func (o *CaptureParameters) SetCaptureAmount(v float64)

SetCaptureAmount sets field value

func (*CaptureParameters) SetReferenceId

func (o *CaptureParameters) SetReferenceId(v string)

SetReferenceId gets a reference to the given NullableString and assigns it to the ReferenceId field.

func (*CaptureParameters) SetReferenceIdNil

func (o *CaptureParameters) SetReferenceIdNil()

SetReferenceIdNil sets the value for ReferenceId to be an explicit nil

func (CaptureParameters) ToMap

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

func (*CaptureParameters) UnsetReferenceId

func (o *CaptureParameters) UnsetReferenceId()

UnsetReferenceId ensures that no value is present for ReferenceId, not even an explicit nil

type Card

type Card struct {
	Currency                PaymentRequestCurrency          `json:"currency"`
	ChannelProperties       CardChannelProperties           `json:"channel_properties"`
	CardInformation         CardInformation                 `json:"card_information"`
	CardVerificationResults NullableCardVerificationResults `json:"card_verification_results,omitempty"`
}

Card struct for Card

func NewCard

func NewCard(currency PaymentRequestCurrency, channelProperties CardChannelProperties, cardInformation CardInformation) *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() CardInformation

GetCardInformation returns the CardInformation field value

func (*Card) GetCardInformationOk

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

GetCardInformationOk returns a tuple with the CardInformation field value 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

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.

func (*Card) GetCurrency

func (o *Card) GetCurrency() PaymentRequestCurrency

GetCurrency returns the Currency field value

func (*Card) GetCurrencyOk

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

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value 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 CardInformation)

SetCardInformation sets field value

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 PaymentRequestCurrency)

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 {
	// To indicate whether to perform 3DS during the linking phase
	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"`
	// Tag for a Merchant ID that you want to associate this payment with. For merchants using their own MIDs to specify which MID they want to use
	MerchantIdTag *string `json:"merchant_id_tag,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) GetMerchantIdTag

func (o *CardChannelProperties) GetMerchantIdTag() string

GetMerchantIdTag returns the MerchantIdTag field value if set, zero value otherwise.

func (*CardChannelProperties) GetMerchantIdTagOk

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

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

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) HasMerchantIdTag

func (o *CardChannelProperties) HasMerchantIdTag() bool

HasMerchantIdTag 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) SetMerchantIdTag

func (o *CardChannelProperties) SetMerchantIdTag(v string)

SetMerchantIdTag gets a reference to the given string and assigns it to the MerchantIdTag field.

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 CardInformation

type CardInformation struct {
	TokenId string `json:"token_id"`
	// 1st 6 and last 4 digits of the card
	MaskedCardNumber string `json:"masked_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"`
	Fingerprint    *string        `json:"fingerprint,omitempty"`
	Type           *string        `json:"type,omitempty"`
	Network        *string        `json:"network,omitempty"`
	Country        *string        `json:"country,omitempty"`
	Issuer         *string        `json:"issuer,omitempty"`
}

CardInformation Card Information

func NewCardInformation

func NewCardInformation(tokenId string, maskedCardNumber string, expiryMonth string, expiryYear string) *CardInformation

NewCardInformation instantiates a new CardInformation 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 NewCardInformationWithDefaults

func NewCardInformationWithDefaults() *CardInformation

NewCardInformationWithDefaults instantiates a new CardInformation 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 (*CardInformation) GetCardholderName

func (o *CardInformation) GetCardholderName() string

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

func (*CardInformation) GetCardholderNameOk

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

func (o *CardInformation) GetCountry() string

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

func (*CardInformation) GetCountryOk

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

func (*CardInformation) GetExpiryMonth

func (o *CardInformation) GetExpiryMonth() string

GetExpiryMonth returns the ExpiryMonth field value

func (*CardInformation) GetExpiryMonthOk

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

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

func (*CardInformation) GetExpiryYear

func (o *CardInformation) GetExpiryYear() string

GetExpiryYear returns the ExpiryYear field value

func (*CardInformation) GetExpiryYearOk

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

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

func (*CardInformation) GetFingerprint

func (o *CardInformation) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*CardInformation) GetFingerprintOk

func (o *CardInformation) GetFingerprintOk() (*string, bool)

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

func (*CardInformation) GetIssuer

func (o *CardInformation) GetIssuer() string

GetIssuer returns the Issuer field value if set, zero value otherwise.

func (*CardInformation) GetIssuerOk

func (o *CardInformation) GetIssuerOk() (*string, bool)

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

func (*CardInformation) GetMaskedCardNumber

func (o *CardInformation) GetMaskedCardNumber() string

GetMaskedCardNumber returns the MaskedCardNumber field value

func (*CardInformation) GetMaskedCardNumberOk

func (o *CardInformation) GetMaskedCardNumberOk() (*string, bool)

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

func (*CardInformation) GetNetwork

func (o *CardInformation) GetNetwork() string

GetNetwork returns the Network field value if set, zero value otherwise.

func (*CardInformation) GetNetworkOk

func (o *CardInformation) GetNetworkOk() (*string, bool)

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

func (*CardInformation) GetTokenId

func (o *CardInformation) GetTokenId() string

GetTokenId returns the TokenId field value

func (*CardInformation) GetTokenIdOk

func (o *CardInformation) GetTokenIdOk() (*string, bool)

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

func (*CardInformation) GetType

func (o *CardInformation) GetType() string

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

func (*CardInformation) GetTypeOk

func (o *CardInformation) 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 (*CardInformation) HasCardholderName

func (o *CardInformation) HasCardholderName() bool

HasCardholderName returns a boolean if a field has been set.

func (*CardInformation) HasCountry

func (o *CardInformation) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*CardInformation) HasFingerprint

func (o *CardInformation) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*CardInformation) HasIssuer

func (o *CardInformation) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*CardInformation) HasNetwork

func (o *CardInformation) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*CardInformation) HasType

func (o *CardInformation) HasType() bool

HasType returns a boolean if a field has been set.

func (CardInformation) MarshalJSON

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

func (*CardInformation) SetCardholderName

func (o *CardInformation) SetCardholderName(v string)

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

func (*CardInformation) SetCardholderNameNil

func (o *CardInformation) SetCardholderNameNil()

SetCardholderNameNil sets the value for CardholderName to be an explicit nil

func (*CardInformation) SetCountry

func (o *CardInformation) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*CardInformation) SetExpiryMonth

func (o *CardInformation) SetExpiryMonth(v string)

SetExpiryMonth sets field value

func (*CardInformation) SetExpiryYear

func (o *CardInformation) SetExpiryYear(v string)

SetExpiryYear sets field value

func (*CardInformation) SetFingerprint

func (o *CardInformation) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*CardInformation) SetIssuer

func (o *CardInformation) SetIssuer(v string)

SetIssuer gets a reference to the given string and assigns it to the Issuer field.

func (*CardInformation) SetMaskedCardNumber

func (o *CardInformation) SetMaskedCardNumber(v string)

SetMaskedCardNumber sets field value

func (*CardInformation) SetNetwork

func (o *CardInformation) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (*CardInformation) SetTokenId

func (o *CardInformation) SetTokenId(v string)

SetTokenId sets field value

func (*CardInformation) SetType

func (o *CardInformation) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (CardInformation) ToMap

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

func (*CardInformation) UnsetCardholderName

func (o *CardInformation) UnsetCardholderName()

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

type CardVerificationResults

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

CardVerificationResults struct for CardVerificationResults

func NewCardVerificationResults

func NewCardVerificationResults() *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 set, zero value otherwise.

func (*CardVerificationResults) GetThreeDSecureOk

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

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) HasThreeDSecure

func (o *CardVerificationResults) HasThreeDSecure() bool

HasThreeDSecure 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 gets a reference to the given CardVerificationResultsThreeDSecure and assigns it to the ThreeDSecure field.

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 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"`
}

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) 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) HasBankAccountHash

func (o *DirectDebitBankAccount) HasBankAccountHash() bool

HasBankAccountHash 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) 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) 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) 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) UnsetMaskedBankAccountNumber

func (o *DirectDebitBankAccount) UnsetMaskedBankAccountNumber()

UnsetMaskedBankAccountNumber ensures that no value is present for MaskedBankAccountNumber, 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_BRI                          DirectDebitChannelCode = "BRI"
	DIRECTDEBITCHANNELCODE_BNI                          DirectDebitChannelCode = "BNI"
	DIRECTDEBITCHANNELCODE_MANDIRI                      DirectDebitChannelCode = "MANDIRI"
	DIRECTDEBITCHANNELCODE_BPI                          DirectDebitChannelCode = "BPI"
	DIRECTDEBITCHANNELCODE_BDO                          DirectDebitChannelCode = "BDO"
	DIRECTDEBITCHANNELCODE_CIMBNIAGA                    DirectDebitChannelCode = "CIMBNIAGA"
	DIRECTDEBITCHANNELCODE_MTB                          DirectDebitChannelCode = "MTB"
	DIRECTDEBITCHANNELCODE_RCBC                         DirectDebitChannelCode = "RCBC"
	DIRECTDEBITCHANNELCODE_UBP                          DirectDebitChannelCode = "UBP"
	DIRECTDEBITCHANNELCODE_AUTODEBIT_UBP                DirectDebitChannelCode = "AUTODEBIT_UBP"
	DIRECTDEBITCHANNELCODE_CHINABANK                    DirectDebitChannelCode = "CHINABANK"
	DIRECTDEBITCHANNELCODE_BAY                          DirectDebitChannelCode = "BAY"
	DIRECTDEBITCHANNELCODE_KTB                          DirectDebitChannelCode = "KTB"
	DIRECTDEBITCHANNELCODE_BBL                          DirectDebitChannelCode = "BBL"
	DIRECTDEBITCHANNELCODE_SCB                          DirectDebitChannelCode = "SCB"
	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_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 {
	DirectDebitChannelPropertiesBankAccount  *DirectDebitChannelPropertiesBankAccount
	DirectDebitChannelPropertiesBankRedirect *DirectDebitChannelPropertiesBankRedirect
	DirectDebitChannelPropertiesDebitCard    *DirectDebitChannelPropertiesDebitCard
}

DirectDebitChannelProperties struct for DirectDebitChannelProperties

func (*DirectDebitChannelProperties) MarshalJSON

func (src *DirectDebitChannelProperties) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*DirectDebitChannelProperties) UnmarshalJSON

func (dst *DirectDebitChannelProperties) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type DirectDebitChannelPropertiesBankAccount

type DirectDebitChannelPropertiesBankAccount struct {
	SuccessReturnUrl       *string `json:"success_return_url,omitempty"`
	FailureReturnUrl       *string `json:"failure_return_url,omitempty"`
	MobileNumber           *string `json:"mobile_number,omitempty"`
	IdentityDocumentNumber *string `json:"identity_document_number,omitempty"`
}

DirectDebitChannelPropertiesBankAccount Direct Debit Bank Account Channel Properties

func NewDirectDebitChannelPropertiesBankAccount

func NewDirectDebitChannelPropertiesBankAccount() *DirectDebitChannelPropertiesBankAccount

NewDirectDebitChannelPropertiesBankAccount instantiates a new DirectDebitChannelPropertiesBankAccount 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 NewDirectDebitChannelPropertiesBankAccountWithDefaults

func NewDirectDebitChannelPropertiesBankAccountWithDefaults() *DirectDebitChannelPropertiesBankAccount

NewDirectDebitChannelPropertiesBankAccountWithDefaults instantiates a new DirectDebitChannelPropertiesBankAccount 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 (*DirectDebitChannelPropertiesBankAccount) GetFailureReturnUrl

func (o *DirectDebitChannelPropertiesBankAccount) GetFailureReturnUrl() string

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

func (*DirectDebitChannelPropertiesBankAccount) GetFailureReturnUrlOk

func (o *DirectDebitChannelPropertiesBankAccount) 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 (*DirectDebitChannelPropertiesBankAccount) GetIdentityDocumentNumber

func (o *DirectDebitChannelPropertiesBankAccount) GetIdentityDocumentNumber() string

GetIdentityDocumentNumber returns the IdentityDocumentNumber field value if set, zero value otherwise.

func (*DirectDebitChannelPropertiesBankAccount) GetIdentityDocumentNumberOk

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

func (*DirectDebitChannelPropertiesBankAccount) GetMobileNumber

func (o *DirectDebitChannelPropertiesBankAccount) GetMobileNumber() string

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

func (*DirectDebitChannelPropertiesBankAccount) GetMobileNumberOk

func (o *DirectDebitChannelPropertiesBankAccount) 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 (*DirectDebitChannelPropertiesBankAccount) GetSuccessReturnUrl

func (o *DirectDebitChannelPropertiesBankAccount) GetSuccessReturnUrl() string

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

func (*DirectDebitChannelPropertiesBankAccount) GetSuccessReturnUrlOk

func (o *DirectDebitChannelPropertiesBankAccount) 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 (*DirectDebitChannelPropertiesBankAccount) HasFailureReturnUrl

func (o *DirectDebitChannelPropertiesBankAccount) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesBankAccount) HasIdentityDocumentNumber

func (o *DirectDebitChannelPropertiesBankAccount) HasIdentityDocumentNumber() bool

HasIdentityDocumentNumber returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesBankAccount) HasMobileNumber

func (o *DirectDebitChannelPropertiesBankAccount) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesBankAccount) HasSuccessReturnUrl

func (o *DirectDebitChannelPropertiesBankAccount) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (DirectDebitChannelPropertiesBankAccount) MarshalJSON

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

func (*DirectDebitChannelPropertiesBankAccount) SetFailureReturnUrl

func (o *DirectDebitChannelPropertiesBankAccount) SetFailureReturnUrl(v string)

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

func (*DirectDebitChannelPropertiesBankAccount) SetIdentityDocumentNumber

func (o *DirectDebitChannelPropertiesBankAccount) SetIdentityDocumentNumber(v string)

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

func (*DirectDebitChannelPropertiesBankAccount) SetMobileNumber

func (o *DirectDebitChannelPropertiesBankAccount) SetMobileNumber(v string)

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

func (*DirectDebitChannelPropertiesBankAccount) SetSuccessReturnUrl

func (o *DirectDebitChannelPropertiesBankAccount) SetSuccessReturnUrl(v string)

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

func (DirectDebitChannelPropertiesBankAccount) ToMap

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

type DirectDebitChannelPropertiesBankRedirect

type DirectDebitChannelPropertiesBankRedirect struct {
	// Mobile number of the customer that is registered to channel
	MobileNumber     *string `json:"mobile_number,omitempty"`
	SuccessReturnUrl *string `json:"success_return_url,omitempty"`
	FailureReturnUrl *string `json:"failure_return_url,omitempty"`
}

DirectDebitChannelPropertiesBankRedirect Direct Debit Bank Account Channel Properties

func NewDirectDebitChannelPropertiesBankRedirect

func NewDirectDebitChannelPropertiesBankRedirect() *DirectDebitChannelPropertiesBankRedirect

NewDirectDebitChannelPropertiesBankRedirect instantiates a new DirectDebitChannelPropertiesBankRedirect 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 NewDirectDebitChannelPropertiesBankRedirectWithDefaults

func NewDirectDebitChannelPropertiesBankRedirectWithDefaults() *DirectDebitChannelPropertiesBankRedirect

NewDirectDebitChannelPropertiesBankRedirectWithDefaults instantiates a new DirectDebitChannelPropertiesBankRedirect 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 (*DirectDebitChannelPropertiesBankRedirect) GetFailureReturnUrl

func (o *DirectDebitChannelPropertiesBankRedirect) GetFailureReturnUrl() string

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

func (*DirectDebitChannelPropertiesBankRedirect) GetFailureReturnUrlOk

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

func (o *DirectDebitChannelPropertiesBankRedirect) GetMobileNumber() string

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

func (*DirectDebitChannelPropertiesBankRedirect) GetMobileNumberOk

func (o *DirectDebitChannelPropertiesBankRedirect) 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 (*DirectDebitChannelPropertiesBankRedirect) GetSuccessReturnUrl

func (o *DirectDebitChannelPropertiesBankRedirect) GetSuccessReturnUrl() string

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

func (*DirectDebitChannelPropertiesBankRedirect) GetSuccessReturnUrlOk

func (o *DirectDebitChannelPropertiesBankRedirect) 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 (*DirectDebitChannelPropertiesBankRedirect) HasFailureReturnUrl

func (o *DirectDebitChannelPropertiesBankRedirect) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesBankRedirect) HasMobileNumber

func (o *DirectDebitChannelPropertiesBankRedirect) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesBankRedirect) HasSuccessReturnUrl

func (o *DirectDebitChannelPropertiesBankRedirect) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (DirectDebitChannelPropertiesBankRedirect) MarshalJSON

func (*DirectDebitChannelPropertiesBankRedirect) SetFailureReturnUrl

func (o *DirectDebitChannelPropertiesBankRedirect) SetFailureReturnUrl(v string)

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

func (*DirectDebitChannelPropertiesBankRedirect) SetMobileNumber

func (o *DirectDebitChannelPropertiesBankRedirect) SetMobileNumber(v string)

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

func (*DirectDebitChannelPropertiesBankRedirect) SetSuccessReturnUrl

func (o *DirectDebitChannelPropertiesBankRedirect) SetSuccessReturnUrl(v string)

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

func (DirectDebitChannelPropertiesBankRedirect) ToMap

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

type DirectDebitChannelPropertiesDebitCard

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

DirectDebitChannelPropertiesDebitCard Direct Debit Debit Card Channel Properties

func NewDirectDebitChannelPropertiesDebitCard

func NewDirectDebitChannelPropertiesDebitCard() *DirectDebitChannelPropertiesDebitCard

NewDirectDebitChannelPropertiesDebitCard instantiates a new DirectDebitChannelPropertiesDebitCard 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 NewDirectDebitChannelPropertiesDebitCardWithDefaults

func NewDirectDebitChannelPropertiesDebitCardWithDefaults() *DirectDebitChannelPropertiesDebitCard

NewDirectDebitChannelPropertiesDebitCardWithDefaults instantiates a new DirectDebitChannelPropertiesDebitCard 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 (*DirectDebitChannelPropertiesDebitCard) GetAccountNumber

func (o *DirectDebitChannelPropertiesDebitCard) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.

func (*DirectDebitChannelPropertiesDebitCard) GetAccountNumberOk

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

func (*DirectDebitChannelPropertiesDebitCard) GetCardExpiry

func (o *DirectDebitChannelPropertiesDebitCard) GetCardExpiry() string

GetCardExpiry returns the CardExpiry field value if set, zero value otherwise.

func (*DirectDebitChannelPropertiesDebitCard) GetCardExpiryOk

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

func (*DirectDebitChannelPropertiesDebitCard) GetCardLastFour

func (o *DirectDebitChannelPropertiesDebitCard) GetCardLastFour() string

GetCardLastFour returns the CardLastFour field value if set, zero value otherwise.

func (*DirectDebitChannelPropertiesDebitCard) GetCardLastFourOk

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

func (*DirectDebitChannelPropertiesDebitCard) GetEmail

GetEmail returns the Email field value if set, zero value otherwise.

func (*DirectDebitChannelPropertiesDebitCard) GetEmailOk

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

func (*DirectDebitChannelPropertiesDebitCard) GetMobileNumber

func (o *DirectDebitChannelPropertiesDebitCard) GetMobileNumber() string

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

func (*DirectDebitChannelPropertiesDebitCard) GetMobileNumberOk

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

func (o *DirectDebitChannelPropertiesDebitCard) HasAccountNumber() bool

HasAccountNumber returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesDebitCard) HasCardExpiry

func (o *DirectDebitChannelPropertiesDebitCard) HasCardExpiry() bool

HasCardExpiry returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesDebitCard) HasCardLastFour

func (o *DirectDebitChannelPropertiesDebitCard) HasCardLastFour() bool

HasCardLastFour returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesDebitCard) HasEmail

HasEmail returns a boolean if a field has been set.

func (*DirectDebitChannelPropertiesDebitCard) HasMobileNumber

func (o *DirectDebitChannelPropertiesDebitCard) HasMobileNumber() bool

HasMobileNumber returns a boolean if a field has been set.

func (DirectDebitChannelPropertiesDebitCard) MarshalJSON

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

func (*DirectDebitChannelPropertiesDebitCard) SetAccountNumber

func (o *DirectDebitChannelPropertiesDebitCard) SetAccountNumber(v string)

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

func (*DirectDebitChannelPropertiesDebitCard) SetCardExpiry

func (o *DirectDebitChannelPropertiesDebitCard) SetCardExpiry(v string)

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

func (*DirectDebitChannelPropertiesDebitCard) SetCardLastFour

func (o *DirectDebitChannelPropertiesDebitCard) SetCardLastFour(v string)

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

func (*DirectDebitChannelPropertiesDebitCard) SetEmail

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

func (*DirectDebitChannelPropertiesDebitCard) SetMobileNumber

func (o *DirectDebitChannelPropertiesDebitCard) SetMobileNumber(v string)

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

func (DirectDebitChannelPropertiesDebitCard) ToMap

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

type DirectDebitDebitCard

type DirectDebitDebitCard struct {
	// Mobile number of the customer registered to the partner channel
	MobileNumber  NullableString `json:"mobile_number,omitempty"`
	AccountNumber *string        `json:"account_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"`
}

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.

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.

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 string and assigns it to the AccountNumber field.

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) 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"`
	Type              *DirectDebitType                     `json:"type,omitempty"`
}

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) GetType

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

func (*DirectDebitParameters) GetTypeOk

func (o *DirectDebitParameters) GetTypeOk() (*DirectDebitType, 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 (*DirectDebitParameters) HasType

func (o *DirectDebitParameters) HasType() bool

HasType returns a boolean if a field has been set.

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) SetType

func (o *DirectDebitParameters) SetType(v DirectDebitType)

SetType gets a reference to the given DirectDebitType and assigns it to the Type field.

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

EWallet Ewallet Payment Method Details

func NewEWallet

func NewEWallet() *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 if set, zero value otherwise.

func (*EWallet) GetChannelCodeOk

func (o *EWallet) GetChannelCodeOk() (*EWalletChannelCode, 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.

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) HasChannelCode

func (o *EWallet) HasChannelCode() bool

HasChannelCode 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 gets a reference to the given EWalletChannelCode and assigns it to the ChannelCode field.

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 EWalletAllOf

type EWalletAllOf struct {
	Account *EWalletAccount `json:"account,omitempty"`
}

EWalletAllOf struct for EWalletAllOf

func NewEWalletAllOf

func NewEWalletAllOf() *EWalletAllOf

NewEWalletAllOf instantiates a new EWalletAllOf 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 NewEWalletAllOfWithDefaults

func NewEWalletAllOfWithDefaults() *EWalletAllOf

NewEWalletAllOfWithDefaults instantiates a new EWalletAllOf 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 (*EWalletAllOf) GetAccount

func (o *EWalletAllOf) GetAccount() EWalletAccount

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

func (*EWalletAllOf) GetAccountOk

func (o *EWalletAllOf) 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 (*EWalletAllOf) HasAccount

func (o *EWalletAllOf) HasAccount() bool

HasAccount returns a boolean if a field has been set.

func (EWalletAllOf) MarshalJSON

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

func (*EWalletAllOf) SetAccount

func (o *EWalletAllOf) SetAccount(v EWalletAccount)

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

func (EWalletAllOf) ToMap

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

type EWalletChannelCode

type EWalletChannelCode string

EWalletChannelCode Ewallet Channel Code

const (
	EWALLETCHANNELCODE_GCASH                        EWalletChannelCode = "GCASH"
	EWALLETCHANNELCODE_GRABPAY                      EWalletChannelCode = "GRABPAY"
	EWALLETCHANNELCODE_PAYMAYA                      EWalletChannelCode = "PAYMAYA"
	EWALLETCHANNELCODE_DANA                         EWalletChannelCode = "DANA"
	EWALLETCHANNELCODE_OVO                          EWalletChannelCode = "OVO"
	EWALLETCHANNELCODE_LINKAJA                      EWalletChannelCode = "LINKAJA"
	EWALLETCHANNELCODE_SHOPEEPAY                    EWalletChannelCode = "SHOPEEPAY"
	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"`
	// 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"`
	MobileNumber *string `json:"mobile_number,omitempty"`
	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,omitempty"`
	ChannelProperties *EWalletChannelProperties `json:"channel_properties,omitempty"`
}

EWalletParameters struct for EWalletParameters

func NewEWalletParameters

func NewEWalletParameters() *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) GetChannelCode

func (o *EWalletParameters) GetChannelCode() EWalletChannelCode

GetChannelCode returns the ChannelCode field value if set, zero value otherwise.

func (*EWalletParameters) GetChannelCodeOk

func (o *EWalletParameters) GetChannelCodeOk() (*EWalletChannelCode, 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.

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) HasChannelCode

func (o *EWalletParameters) HasChannelCode() bool

HasChannelCode 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) SetChannelCode

func (o *EWalletParameters) SetChannelCode(v EWalletChannelCode)

SetChannelCode gets a reference to the given EWalletChannelCode and assigns it to the ChannelCode field.

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 Error

type Error struct {
	ErrorCode NullableString `json:"error_code,omitempty"`
	Message   NullableString `json:"message,omitempty"`
}

Error struct for Error

func NewError

func NewError() *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetErrorCode

func (o *Error) GetErrorCode() string

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

func (*Error) GetErrorCodeOk

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

func (*Error) GetMessage

func (o *Error) GetMessage() string

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

func (*Error) GetMessageOk

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

func (*Error) HasErrorCode

func (o *Error) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*Error) HasMessage

func (o *Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetErrorCode

func (o *Error) SetErrorCode(v string)

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

func (*Error) SetErrorCodeNil

func (o *Error) SetErrorCodeNil()

SetErrorCodeNil sets the value for ErrorCode to be an explicit nil

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

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

func (*Error) SetMessageNil

func (o *Error) SetMessageNil()

SetMessageNil sets the value for Message to be an explicit nil

func (Error) ToMap

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

func (*Error) UnsetErrorCode

func (o *Error) UnsetErrorCode()

UnsetErrorCode ensures that no value is present for ErrorCode, not even an explicit nil

func (*Error) UnsetMessage

func (o *Error) UnsetMessage()

UnsetMessage ensures that no value is present for Message, not even an explicit nil

type InvoicePartnerMetadata

type InvoicePartnerMetadata struct {
	Notes *string `json:"notes,omitempty"`
}

InvoicePartnerMetadata struct for InvoicePartnerMetadata

func NewInvoicePartnerMetadata

func NewInvoicePartnerMetadata() *InvoicePartnerMetadata

NewInvoicePartnerMetadata instantiates a new InvoicePartnerMetadata 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 NewInvoicePartnerMetadataWithDefaults

func NewInvoicePartnerMetadataWithDefaults() *InvoicePartnerMetadata

NewInvoicePartnerMetadataWithDefaults instantiates a new InvoicePartnerMetadata 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 (*InvoicePartnerMetadata) GetNotes

func (o *InvoicePartnerMetadata) GetNotes() string

GetNotes returns the Notes field value if set, zero value otherwise.

func (*InvoicePartnerMetadata) GetNotesOk

func (o *InvoicePartnerMetadata) GetNotesOk() (*string, bool)

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

func (*InvoicePartnerMetadata) HasNotes

func (o *InvoicePartnerMetadata) HasNotes() bool

HasNotes returns a boolean if a field has been set.

func (InvoicePartnerMetadata) MarshalJSON

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

func (*InvoicePartnerMetadata) SetNotes

func (o *InvoicePartnerMetadata) SetNotes(v string)

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (InvoicePartnerMetadata) ToMap

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

type MappedNullable

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

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 NullableCapture

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

func NewNullableCapture

func NewNullableCapture(val *Capture) *NullableCapture

func (NullableCapture) Get

func (v NullableCapture) Get() *Capture

func (NullableCapture) IsSet

func (v NullableCapture) IsSet() bool

func (NullableCapture) MarshalJSON

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

func (*NullableCapture) Set

func (v *NullableCapture) Set(val *Capture)

func (*NullableCapture) UnmarshalJSON

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

func (*NullableCapture) Unset

func (v *NullableCapture) Unset()

type NullableCaptureListResponse

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

func NewNullableCaptureListResponse

func NewNullableCaptureListResponse(val *CaptureListResponse) *NullableCaptureListResponse

func (NullableCaptureListResponse) Get

func (NullableCaptureListResponse) IsSet

func (NullableCaptureListResponse) MarshalJSON

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

func (*NullableCaptureListResponse) Set

func (*NullableCaptureListResponse) UnmarshalJSON

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

func (*NullableCaptureListResponse) Unset

func (v *NullableCaptureListResponse) Unset()

type NullableCaptureParameters

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

func NewNullableCaptureParameters

func NewNullableCaptureParameters(val *CaptureParameters) *NullableCaptureParameters

func (NullableCaptureParameters) Get

func (NullableCaptureParameters) IsSet

func (v NullableCaptureParameters) IsSet() bool

func (NullableCaptureParameters) MarshalJSON

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

func (*NullableCaptureParameters) Set

func (*NullableCaptureParameters) UnmarshalJSON

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

func (*NullableCaptureParameters) Unset

func (v *NullableCaptureParameters) 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 NullableCardInformation

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

func NewNullableCardInformation

func NewNullableCardInformation(val *CardInformation) *NullableCardInformation

func (NullableCardInformation) Get

func (NullableCardInformation) IsSet

func (v NullableCardInformation) IsSet() bool

func (NullableCardInformation) MarshalJSON

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

func (*NullableCardInformation) Set

func (*NullableCardInformation) UnmarshalJSON

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

func (*NullableCardInformation) Unset

func (v *NullableCardInformation) 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 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 NullableDirectDebitChannelPropertiesBankAccount

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

func (NullableDirectDebitChannelPropertiesBankAccount) Get

func (NullableDirectDebitChannelPropertiesBankAccount) IsSet

func (NullableDirectDebitChannelPropertiesBankAccount) MarshalJSON

func (*NullableDirectDebitChannelPropertiesBankAccount) Set

func (*NullableDirectDebitChannelPropertiesBankAccount) UnmarshalJSON

func (*NullableDirectDebitChannelPropertiesBankAccount) Unset

type NullableDirectDebitChannelPropertiesBankRedirect

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

func (NullableDirectDebitChannelPropertiesBankRedirect) Get

func (NullableDirectDebitChannelPropertiesBankRedirect) IsSet

func (NullableDirectDebitChannelPropertiesBankRedirect) MarshalJSON

func (*NullableDirectDebitChannelPropertiesBankRedirect) Set

func (*NullableDirectDebitChannelPropertiesBankRedirect) UnmarshalJSON

func (*NullableDirectDebitChannelPropertiesBankRedirect) Unset

type NullableDirectDebitChannelPropertiesDebitCard

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

func (NullableDirectDebitChannelPropertiesDebitCard) Get

func (NullableDirectDebitChannelPropertiesDebitCard) IsSet

func (NullableDirectDebitChannelPropertiesDebitCard) MarshalJSON

func (*NullableDirectDebitChannelPropertiesDebitCard) Set

func (*NullableDirectDebitChannelPropertiesDebitCard) UnmarshalJSON

func (*NullableDirectDebitChannelPropertiesDebitCard) 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 NullableEWalletAllOf

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

func NewNullableEWalletAllOf

func NewNullableEWalletAllOf(val *EWalletAllOf) *NullableEWalletAllOf

func (NullableEWalletAllOf) Get

func (NullableEWalletAllOf) IsSet

func (v NullableEWalletAllOf) IsSet() bool

func (NullableEWalletAllOf) MarshalJSON

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

func (*NullableEWalletAllOf) Set

func (v *NullableEWalletAllOf) Set(val *EWalletAllOf)

func (*NullableEWalletAllOf) UnmarshalJSON

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

func (*NullableEWalletAllOf) Unset

func (v *NullableEWalletAllOf) 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 NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) 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 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 NullableInvoicePartnerMetadata

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

func (NullableInvoicePartnerMetadata) Get

func (NullableInvoicePartnerMetadata) IsSet

func (NullableInvoicePartnerMetadata) MarshalJSON

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

func (*NullableInvoicePartnerMetadata) Set

func (*NullableInvoicePartnerMetadata) UnmarshalJSON

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

func (*NullableInvoicePartnerMetadata) Unset

func (v *NullableInvoicePartnerMetadata) 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 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 NullablePaymentCallback

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

func NewNullablePaymentCallback

func NewNullablePaymentCallback(val *PaymentCallback) *NullablePaymentCallback

func (NullablePaymentCallback) Get

func (NullablePaymentCallback) IsSet

func (v NullablePaymentCallback) IsSet() bool

func (NullablePaymentCallback) MarshalJSON

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

func (*NullablePaymentCallback) Set

func (*NullablePaymentCallback) UnmarshalJSON

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

func (*NullablePaymentCallback) Unset

func (v *NullablePaymentCallback) Unset()

type NullablePaymentCallbackData

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

func NewNullablePaymentCallbackData

func NewNullablePaymentCallbackData(val *PaymentCallbackData) *NullablePaymentCallbackData

func (NullablePaymentCallbackData) Get

func (NullablePaymentCallbackData) IsSet

func (NullablePaymentCallbackData) MarshalJSON

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

func (*NullablePaymentCallbackData) Set

func (*NullablePaymentCallbackData) UnmarshalJSON

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

func (*NullablePaymentCallbackData) Unset

func (v *NullablePaymentCallbackData) 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 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 NullablePaymentRequest

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

func NewNullablePaymentRequest

func NewNullablePaymentRequest(val *PaymentRequest) *NullablePaymentRequest

func (NullablePaymentRequest) Get

func (NullablePaymentRequest) IsSet

func (v NullablePaymentRequest) IsSet() bool

func (NullablePaymentRequest) MarshalJSON

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

func (*NullablePaymentRequest) Set

func (*NullablePaymentRequest) UnmarshalJSON

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

func (*NullablePaymentRequest) Unset

func (v *NullablePaymentRequest) Unset()

type NullablePaymentRequestAction

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

func NewNullablePaymentRequestAction

func NewNullablePaymentRequestAction(val *PaymentRequestAction) *NullablePaymentRequestAction

func (NullablePaymentRequestAction) Get

func (NullablePaymentRequestAction) IsSet

func (NullablePaymentRequestAction) MarshalJSON

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

func (*NullablePaymentRequestAction) Set

func (*NullablePaymentRequestAction) UnmarshalJSON

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

func (*NullablePaymentRequestAction) Unset

func (v *NullablePaymentRequestAction) Unset()

type NullablePaymentRequestAuthParameters

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

func (NullablePaymentRequestAuthParameters) Get

func (NullablePaymentRequestAuthParameters) IsSet

func (NullablePaymentRequestAuthParameters) MarshalJSON

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

func (*NullablePaymentRequestAuthParameters) Set

func (*NullablePaymentRequestAuthParameters) UnmarshalJSON

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

func (*NullablePaymentRequestAuthParameters) Unset

type NullablePaymentRequestBasketItem

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

func (NullablePaymentRequestBasketItem) Get

func (NullablePaymentRequestBasketItem) IsSet

func (NullablePaymentRequestBasketItem) MarshalJSON

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

func (*NullablePaymentRequestBasketItem) Set

func (*NullablePaymentRequestBasketItem) UnmarshalJSON

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

func (*NullablePaymentRequestBasketItem) Unset

type NullablePaymentRequestCaptureMethod

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

func (NullablePaymentRequestCaptureMethod) Get

func (NullablePaymentRequestCaptureMethod) IsSet

func (NullablePaymentRequestCaptureMethod) MarshalJSON

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

func (*NullablePaymentRequestCaptureMethod) Set

func (*NullablePaymentRequestCaptureMethod) UnmarshalJSON

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

func (*NullablePaymentRequestCaptureMethod) Unset

type NullablePaymentRequestCardVerificationResults

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

func (NullablePaymentRequestCardVerificationResults) Get

func (NullablePaymentRequestCardVerificationResults) IsSet

func (NullablePaymentRequestCardVerificationResults) MarshalJSON

func (*NullablePaymentRequestCardVerificationResults) Set

func (*NullablePaymentRequestCardVerificationResults) UnmarshalJSON

func (*NullablePaymentRequestCardVerificationResults) Unset

type NullablePaymentRequestCardVerificationResultsThreeDeeSecure

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

func (NullablePaymentRequestCardVerificationResultsThreeDeeSecure) Get

func (NullablePaymentRequestCardVerificationResultsThreeDeeSecure) IsSet

func (NullablePaymentRequestCardVerificationResultsThreeDeeSecure) MarshalJSON

func (*NullablePaymentRequestCardVerificationResultsThreeDeeSecure) Set

func (*NullablePaymentRequestCardVerificationResultsThreeDeeSecure) UnmarshalJSON

func (*NullablePaymentRequestCardVerificationResultsThreeDeeSecure) Unset

type NullablePaymentRequestChannelProperties

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

func (NullablePaymentRequestChannelProperties) Get

func (NullablePaymentRequestChannelProperties) IsSet

func (NullablePaymentRequestChannelProperties) MarshalJSON

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

func (*NullablePaymentRequestChannelProperties) Set

func (*NullablePaymentRequestChannelProperties) UnmarshalJSON

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

func (*NullablePaymentRequestChannelProperties) Unset

type NullablePaymentRequestCountry

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

func (NullablePaymentRequestCountry) Get

func (NullablePaymentRequestCountry) IsSet

func (NullablePaymentRequestCountry) MarshalJSON

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

func (*NullablePaymentRequestCountry) Set

func (*NullablePaymentRequestCountry) UnmarshalJSON

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

func (*NullablePaymentRequestCountry) Unset

func (v *NullablePaymentRequestCountry) Unset()

type NullablePaymentRequestCurrency

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

func (NullablePaymentRequestCurrency) Get

func (NullablePaymentRequestCurrency) IsSet

func (NullablePaymentRequestCurrency) MarshalJSON

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

func (*NullablePaymentRequestCurrency) Set

func (*NullablePaymentRequestCurrency) UnmarshalJSON

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

func (*NullablePaymentRequestCurrency) Unset

func (v *NullablePaymentRequestCurrency) Unset()

type NullablePaymentRequestInitiator

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

func (NullablePaymentRequestInitiator) Get

func (NullablePaymentRequestInitiator) IsSet

func (NullablePaymentRequestInitiator) MarshalJSON

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

func (*NullablePaymentRequestInitiator) Set

func (*NullablePaymentRequestInitiator) UnmarshalJSON

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

func (*NullablePaymentRequestInitiator) Unset

type NullablePaymentRequestListResponse

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

func (NullablePaymentRequestListResponse) Get

func (NullablePaymentRequestListResponse) IsSet

func (NullablePaymentRequestListResponse) MarshalJSON

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

func (*NullablePaymentRequestListResponse) Set

func (*NullablePaymentRequestListResponse) UnmarshalJSON

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

func (*NullablePaymentRequestListResponse) Unset

type NullablePaymentRequestParameters

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

func (NullablePaymentRequestParameters) Get

func (NullablePaymentRequestParameters) IsSet

func (NullablePaymentRequestParameters) MarshalJSON

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

func (*NullablePaymentRequestParameters) Set

func (*NullablePaymentRequestParameters) UnmarshalJSON

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

func (*NullablePaymentRequestParameters) Unset

type NullablePaymentRequestParametersChannelProperties

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

func (NullablePaymentRequestParametersChannelProperties) Get

func (NullablePaymentRequestParametersChannelProperties) IsSet

func (NullablePaymentRequestParametersChannelProperties) MarshalJSON

func (*NullablePaymentRequestParametersChannelProperties) Set

func (*NullablePaymentRequestParametersChannelProperties) UnmarshalJSON

func (*NullablePaymentRequestParametersChannelProperties) Unset

type NullablePaymentRequestParametersChannelPropertiesAllOf

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

func (NullablePaymentRequestParametersChannelPropertiesAllOf) Get

func (NullablePaymentRequestParametersChannelPropertiesAllOf) IsSet

func (NullablePaymentRequestParametersChannelPropertiesAllOf) MarshalJSON

func (*NullablePaymentRequestParametersChannelPropertiesAllOf) Set

func (*NullablePaymentRequestParametersChannelPropertiesAllOf) UnmarshalJSON

func (*NullablePaymentRequestParametersChannelPropertiesAllOf) Unset

type NullablePaymentRequestShippingInformation

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

func (NullablePaymentRequestShippingInformation) Get

func (NullablePaymentRequestShippingInformation) IsSet

func (NullablePaymentRequestShippingInformation) MarshalJSON

func (*NullablePaymentRequestShippingInformation) Set

func (*NullablePaymentRequestShippingInformation) UnmarshalJSON

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

func (*NullablePaymentRequestShippingInformation) Unset

type NullablePaymentRequestStatus

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

func NewNullablePaymentRequestStatus

func NewNullablePaymentRequestStatus(val *PaymentRequestStatus) *NullablePaymentRequestStatus

func (NullablePaymentRequestStatus) Get

func (NullablePaymentRequestStatus) IsSet

func (NullablePaymentRequestStatus) MarshalJSON

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

func (*NullablePaymentRequestStatus) Set

func (*NullablePaymentRequestStatus) UnmarshalJSON

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

func (*NullablePaymentRequestStatus) Unset

func (v *NullablePaymentRequestStatus) 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 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 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 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 OverTheCounter

type OverTheCounter struct {
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	Currency          *PaymentRequestCurrency         `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() PaymentRequestCurrency

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

func (*OverTheCounter) GetCurrencyOk

func (o *OverTheCounter) GetCurrencyOk() (*PaymentRequestCurrency, 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 PaymentRequestCurrency)

SetCurrency gets a reference to the given PaymentRequestCurrency 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 OverTheCounterParameters

type OverTheCounterParameters struct {
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	Currency          *PaymentRequestCurrency         `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

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

func (*OverTheCounterParameters) GetCurrencyOk

func (o *OverTheCounterParameters) GetCurrencyOk() (*PaymentRequestCurrency, 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

SetCurrency gets a reference to the given PaymentRequestCurrency 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 PaymentCallback

type PaymentCallback 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       *PaymentCallbackData `json:"data,omitempty"`
}

PaymentCallback Callback for successful or failed payments made via the Payments API

func NewPaymentCallback

func NewPaymentCallback(event string, businessId string, created string) *PaymentCallback

NewPaymentCallback instantiates a new PaymentCallback 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 NewPaymentCallbackWithDefaults

func NewPaymentCallbackWithDefaults() *PaymentCallback

NewPaymentCallbackWithDefaults instantiates a new PaymentCallback 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 (*PaymentCallback) GetBusinessId

func (o *PaymentCallback) GetBusinessId() string

GetBusinessId returns the BusinessId field value

func (*PaymentCallback) GetBusinessIdOk

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

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

func (*PaymentCallback) GetCreated

func (o *PaymentCallback) GetCreated() string

GetCreated returns the Created field value

func (*PaymentCallback) GetCreatedOk

func (o *PaymentCallback) GetCreatedOk() (*string, bool)

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

func (*PaymentCallback) GetData

func (o *PaymentCallback) GetData() PaymentCallbackData

GetData returns the Data field value if set, zero value otherwise.

func (*PaymentCallback) GetDataOk

func (o *PaymentCallback) GetDataOk() (*PaymentCallbackData, 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 (*PaymentCallback) GetEvent

func (o *PaymentCallback) GetEvent() string

GetEvent returns the Event field value

func (*PaymentCallback) GetEventOk

func (o *PaymentCallback) GetEventOk() (*string, bool)

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

func (*PaymentCallback) HasData

func (o *PaymentCallback) HasData() bool

HasData returns a boolean if a field has been set.

func (PaymentCallback) MarshalJSON

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

func (*PaymentCallback) SetBusinessId

func (o *PaymentCallback) SetBusinessId(v string)

SetBusinessId sets field value

func (*PaymentCallback) SetCreated

func (o *PaymentCallback) SetCreated(v string)

SetCreated sets field value

func (*PaymentCallback) SetData

func (o *PaymentCallback) SetData(v PaymentCallbackData)

SetData gets a reference to the given PaymentCallbackData and assigns it to the Data field.

func (*PaymentCallback) SetEvent

func (o *PaymentCallback) SetEvent(v string)

SetEvent sets field value

func (PaymentCallback) ToMap

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

type PaymentCallbackData

type PaymentCallbackData struct {
	Id                string                                  `json:"id"`
	PaymentRequestId  NullableString                          `json:"payment_request_id,omitempty"`
	ReferenceId       string                                  `json:"reference_id"`
	CustomerId        NullableString                          `json:"customer_id,omitempty"`
	Currency          string                                  `json:"currency"`
	Amount            float64                                 `json:"amount"`
	Country           string                                  `json:"country"`
	Status            string                                  `json:"status"`
	PaymentMethod     PaymentMethod                           `json:"payment_method"`
	ChannelProperties NullablePaymentRequestChannelProperties `json:"channel_properties,omitempty"`
	PaymentDetail     map[string]interface{}                  `json:"payment_detail,omitempty"`
	FailureCode       NullableString                          `json:"failure_code,omitempty"`
	Created           string                                  `json:"created"`
	Updated           string                                  `json:"updated"`
	Metadata          map[string]interface{}                  `json:"metadata,omitempty"`
}

PaymentCallbackData Represents the actual funds transaction/attempt made to a payment method

func NewPaymentCallbackData

func NewPaymentCallbackData(id string, referenceId string, currency string, amount float64, country string, status string, paymentMethod PaymentMethod, created string, updated string) *PaymentCallbackData

NewPaymentCallbackData instantiates a new PaymentCallbackData 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 NewPaymentCallbackDataWithDefaults

func NewPaymentCallbackDataWithDefaults() *PaymentCallbackData

NewPaymentCallbackDataWithDefaults instantiates a new PaymentCallbackData 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 (*PaymentCallbackData) GetAmount

func (o *PaymentCallbackData) GetAmount() float64

GetAmount returns the Amount field value

func (*PaymentCallbackData) GetAmountOk

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

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

func (*PaymentCallbackData) GetChannelProperties

func (o *PaymentCallbackData) GetChannelProperties() PaymentRequestChannelProperties

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

func (*PaymentCallbackData) GetChannelPropertiesOk

func (o *PaymentCallbackData) GetChannelPropertiesOk() (*PaymentRequestChannelProperties, 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 (*PaymentCallbackData) GetCountry

func (o *PaymentCallbackData) GetCountry() string

GetCountry returns the Country field value

func (*PaymentCallbackData) GetCountryOk

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

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

func (*PaymentCallbackData) GetCreated

func (o *PaymentCallbackData) GetCreated() string

GetCreated returns the Created field value

func (*PaymentCallbackData) GetCreatedOk

func (o *PaymentCallbackData) GetCreatedOk() (*string, bool)

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

func (*PaymentCallbackData) GetCurrency

func (o *PaymentCallbackData) GetCurrency() string

GetCurrency returns the Currency field value

func (*PaymentCallbackData) GetCurrencyOk

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

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

func (*PaymentCallbackData) GetCustomerId

func (o *PaymentCallbackData) GetCustomerId() string

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

func (*PaymentCallbackData) GetCustomerIdOk

func (o *PaymentCallbackData) 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 (*PaymentCallbackData) GetFailureCode

func (o *PaymentCallbackData) GetFailureCode() string

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

func (*PaymentCallbackData) GetFailureCodeOk

func (o *PaymentCallbackData) 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 (*PaymentCallbackData) GetId

func (o *PaymentCallbackData) GetId() string

GetId returns the Id field value

func (*PaymentCallbackData) GetIdOk

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

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

func (*PaymentCallbackData) GetMetadata

func (o *PaymentCallbackData) 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 (*PaymentCallbackData) GetMetadataOk

func (o *PaymentCallbackData) 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 (*PaymentCallbackData) GetPaymentDetail

func (o *PaymentCallbackData) GetPaymentDetail() map[string]interface{}

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

func (*PaymentCallbackData) GetPaymentDetailOk

func (o *PaymentCallbackData) GetPaymentDetailOk() (map[string]interface{}, bool)

GetPaymentDetailOk returns a tuple with the PaymentDetail 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 (*PaymentCallbackData) GetPaymentMethod

func (o *PaymentCallbackData) GetPaymentMethod() PaymentMethod

GetPaymentMethod returns the PaymentMethod field value

func (*PaymentCallbackData) GetPaymentMethodOk

func (o *PaymentCallbackData) GetPaymentMethodOk() (*PaymentMethod, bool)

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

func (*PaymentCallbackData) GetPaymentRequestId

func (o *PaymentCallbackData) GetPaymentRequestId() string

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

func (*PaymentCallbackData) GetPaymentRequestIdOk

func (o *PaymentCallbackData) GetPaymentRequestIdOk() (*string, bool)

GetPaymentRequestIdOk returns a tuple with the PaymentRequestId 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 (*PaymentCallbackData) GetReferenceId

func (o *PaymentCallbackData) GetReferenceId() string

GetReferenceId returns the ReferenceId field value

func (*PaymentCallbackData) GetReferenceIdOk

func (o *PaymentCallbackData) GetReferenceIdOk() (*string, bool)

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

func (*PaymentCallbackData) GetStatus

func (o *PaymentCallbackData) GetStatus() string

GetStatus returns the Status field value

func (*PaymentCallbackData) GetStatusOk

func (o *PaymentCallbackData) GetStatusOk() (*string, bool)

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

func (*PaymentCallbackData) GetUpdated

func (o *PaymentCallbackData) GetUpdated() string

GetUpdated returns the Updated field value

func (*PaymentCallbackData) GetUpdatedOk

func (o *PaymentCallbackData) GetUpdatedOk() (*string, bool)

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

func (*PaymentCallbackData) HasChannelProperties

func (o *PaymentCallbackData) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (*PaymentCallbackData) HasCustomerId

func (o *PaymentCallbackData) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*PaymentCallbackData) HasFailureCode

func (o *PaymentCallbackData) HasFailureCode() bool

HasFailureCode returns a boolean if a field has been set.

func (*PaymentCallbackData) HasMetadata

func (o *PaymentCallbackData) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PaymentCallbackData) HasPaymentDetail

func (o *PaymentCallbackData) HasPaymentDetail() bool

HasPaymentDetail returns a boolean if a field has been set.

func (*PaymentCallbackData) HasPaymentRequestId

func (o *PaymentCallbackData) HasPaymentRequestId() bool

HasPaymentRequestId returns a boolean if a field has been set.

func (PaymentCallbackData) MarshalJSON

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

func (*PaymentCallbackData) SetAmount

func (o *PaymentCallbackData) SetAmount(v float64)

SetAmount sets field value

func (*PaymentCallbackData) SetChannelProperties

func (o *PaymentCallbackData) SetChannelProperties(v PaymentRequestChannelProperties)

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

func (*PaymentCallbackData) SetChannelPropertiesNil

func (o *PaymentCallbackData) SetChannelPropertiesNil()

SetChannelPropertiesNil sets the value for ChannelProperties to be an explicit nil

func (*PaymentCallbackData) SetCountry

func (o *PaymentCallbackData) SetCountry(v string)

SetCountry sets field value

func (*PaymentCallbackData) SetCreated

func (o *PaymentCallbackData) SetCreated(v string)

SetCreated sets field value

func (*PaymentCallbackData) SetCurrency

func (o *PaymentCallbackData) SetCurrency(v string)

SetCurrency sets field value

func (*PaymentCallbackData) SetCustomerId

func (o *PaymentCallbackData) SetCustomerId(v string)

SetCustomerId gets a reference to the given NullableString and assigns it to the CustomerId field.

func (*PaymentCallbackData) SetCustomerIdNil

func (o *PaymentCallbackData) SetCustomerIdNil()

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

func (*PaymentCallbackData) SetFailureCode

func (o *PaymentCallbackData) SetFailureCode(v string)

SetFailureCode gets a reference to the given NullableString and assigns it to the FailureCode field.

func (*PaymentCallbackData) SetFailureCodeNil added in v4.1.0

func (o *PaymentCallbackData) SetFailureCodeNil()

SetFailureCodeNil sets the value for FailureCode to be an explicit nil

func (*PaymentCallbackData) SetId

func (o *PaymentCallbackData) SetId(v string)

SetId sets field value

func (*PaymentCallbackData) SetMetadata

func (o *PaymentCallbackData) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*PaymentCallbackData) SetPaymentDetail

func (o *PaymentCallbackData) SetPaymentDetail(v map[string]interface{})

SetPaymentDetail gets a reference to the given map[string]interface{} and assigns it to the PaymentDetail field.

func (*PaymentCallbackData) SetPaymentMethod

func (o *PaymentCallbackData) SetPaymentMethod(v PaymentMethod)

SetPaymentMethod sets field value

func (*PaymentCallbackData) SetPaymentRequestId

func (o *PaymentCallbackData) SetPaymentRequestId(v string)

SetPaymentRequestId gets a reference to the given NullableString and assigns it to the PaymentRequestId field.

func (*PaymentCallbackData) SetPaymentRequestIdNil

func (o *PaymentCallbackData) SetPaymentRequestIdNil()

SetPaymentRequestIdNil sets the value for PaymentRequestId to be an explicit nil

func (*PaymentCallbackData) SetReferenceId

func (o *PaymentCallbackData) SetReferenceId(v string)

SetReferenceId sets field value

func (*PaymentCallbackData) SetStatus

func (o *PaymentCallbackData) SetStatus(v string)

SetStatus sets field value

func (*PaymentCallbackData) SetUpdated

func (o *PaymentCallbackData) SetUpdated(v string)

SetUpdated sets field value

func (PaymentCallbackData) ToMap

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

func (*PaymentCallbackData) UnsetChannelProperties

func (o *PaymentCallbackData) UnsetChannelProperties()

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

func (*PaymentCallbackData) UnsetCustomerId

func (o *PaymentCallbackData) UnsetCustomerId()

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

func (*PaymentCallbackData) UnsetFailureCode added in v4.1.0

func (o *PaymentCallbackData) UnsetFailureCode()

UnsetFailureCode ensures that no value is present for FailureCode, not even an explicit nil

func (*PaymentCallbackData) UnsetPaymentRequestId

func (o *PaymentCallbackData) UnsetPaymentRequestId()

UnsetPaymentRequestId ensures that no value is present for PaymentRequestId, not even an explicit nil

type PaymentMethod

type PaymentMethod struct {
	Id             string                   `json:"id"`
	Type           PaymentMethodType        `json:"type"`
	Created        *string                  `json:"created,omitempty"`
	Updated        *string                  `json:"updated,omitempty"`
	Description    NullableString           `json:"description,omitempty"`
	ReferenceId    *string                  `json:"reference_id,omitempty"`
	Card           NullableCard             `json:"card,omitempty"`
	DirectDebit    NullableDirectDebit      `json:"direct_debit,omitempty"`
	Ewallet        NullableEWallet          `json:"ewallet,omitempty"`
	OverTheCounter NullableOverTheCounter   `json:"over_the_counter,omitempty"`
	VirtualAccount NullableVirtualAccount   `json:"virtual_account,omitempty"`
	QrCode         NullableQRCode           `json:"qr_code,omitempty"`
	Reusability    PaymentMethodReusability `json:"reusability"`
	Status         PaymentMethodStatus      `json:"status"`
	Metadata       map[string]interface{}   `json:"metadata,omitempty"`
}

PaymentMethod struct for PaymentMethod

func NewPaymentMethod

func NewPaymentMethod(id string, type_ PaymentMethodType, reusability PaymentMethodReusability, status PaymentMethodStatus) *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) 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) GetCreated

func (o *PaymentMethod) GetCreated() string

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

func (*PaymentMethod) GetCreatedOk

func (o *PaymentMethod) GetCreatedOk() (*string, 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) 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) 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

func (*PaymentMethod) GetReusabilityOk

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

GetReusabilityOk returns a tuple with the Reusability field value 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

func (*PaymentMethod) GetStatusOk

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

GetStatusOk returns a tuple with the Status field value 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

func (*PaymentMethod) GetTypeOk

func (o *PaymentMethod) GetTypeOk() (*PaymentMethodType, bool)

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

func (*PaymentMethod) GetUpdated

func (o *PaymentMethod) GetUpdated() string

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*PaymentMethod) GetUpdatedOk

func (o *PaymentMethod) GetUpdatedOk() (*string, 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) HasCard

func (o *PaymentMethod) HasCard() bool

HasCard 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) 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) 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) 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) 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) SetCreated

func (o *PaymentMethod) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

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) 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 sets field value

func (*PaymentMethod) SetStatus

func (o *PaymentMethod) SetStatus(v PaymentMethodStatus)

SetStatus sets field value

func (*PaymentMethod) SetType

func (o *PaymentMethod) SetType(v PaymentMethodType)

SetType sets field value

func (*PaymentMethod) SetUpdated

func (o *PaymentMethod) SetUpdated(v string)

SetUpdated gets a reference to the given string 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) UnsetCard

func (o *PaymentMethod) UnsetCard()

UnsetCard ensures that no value is present for Card, 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) 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 PaymentMethodParameters

type PaymentMethodParameters struct {
	Type           PaymentMethodType                `json:"type"`
	Reusability    PaymentMethodReusability         `json:"reusability"`
	Description    NullableString                   `json:"description,omitempty"`
	ReferenceId    *string                          `json:"reference_id,omitempty"`
	DirectDebit    NullableDirectDebitParameters    `json:"direct_debit,omitempty"`
	Ewallet        NullableEWalletParameters        `json:"ewallet,omitempty"`
	OverTheCounter NullableOverTheCounterParameters `json:"over_the_counter,omitempty"`
	VirtualAccount NullableVirtualAccountParameters `json:"virtual_account,omitempty"`
	QrCode         NullableQRCodeParameters         `json:"qr_code,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) 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 (both if not set or set to explicit null).

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

func (*PaymentMethodParameters) GetEwallet

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

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. 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 (both if not set or set to explicit null).

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

func (*PaymentMethodParameters) GetQrCode

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

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

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 (both if not set or set to explicit null).

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

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) 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) 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 NullableDirectDebitParameters and assigns it to the DirectDebit field.

func (*PaymentMethodParameters) SetDirectDebitNil

func (o *PaymentMethodParameters) SetDirectDebitNil()

SetDirectDebitNil sets the value for DirectDebit to be an explicit nil

func (*PaymentMethodParameters) SetEwallet

func (o *PaymentMethodParameters) SetEwallet(v EWalletParameters)

SetEwallet gets a reference to the given NullableEWalletParameters and assigns it to the Ewallet field.

func (*PaymentMethodParameters) SetEwalletNil

func (o *PaymentMethodParameters) SetEwalletNil()

SetEwalletNil sets the value for Ewallet to be an explicit nil

func (*PaymentMethodParameters) SetOverTheCounter

func (o *PaymentMethodParameters) SetOverTheCounter(v OverTheCounterParameters)

SetOverTheCounter gets a reference to the given NullableOverTheCounterParameters and assigns it to the OverTheCounter field.

func (*PaymentMethodParameters) SetOverTheCounterNil

func (o *PaymentMethodParameters) SetOverTheCounterNil()

SetOverTheCounterNil sets the value for OverTheCounter to be an explicit nil

func (*PaymentMethodParameters) SetQrCode

func (o *PaymentMethodParameters) SetQrCode(v QRCodeParameters)

SetQrCode gets a reference to the given NullableQRCodeParameters and assigns it to the QrCode field.

func (*PaymentMethodParameters) SetQrCodeNil

func (o *PaymentMethodParameters) SetQrCodeNil()

SetQrCodeNil sets the value for QrCode to be an explicit nil

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 NullableVirtualAccountParameters and assigns it to the VirtualAccount field.

func (*PaymentMethodParameters) SetVirtualAccountNil

func (o *PaymentMethodParameters) SetVirtualAccountNil()

SetVirtualAccountNil sets the value for VirtualAccount to be an explicit nil

func (PaymentMethodParameters) ToMap

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

func (*PaymentMethodParameters) UnsetDescription

func (o *PaymentMethodParameters) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*PaymentMethodParameters) UnsetDirectDebit

func (o *PaymentMethodParameters) UnsetDirectDebit()

UnsetDirectDebit ensures that no value is present for DirectDebit, not even an explicit nil

func (*PaymentMethodParameters) UnsetEwallet

func (o *PaymentMethodParameters) UnsetEwallet()

UnsetEwallet ensures that no value is present for Ewallet, not even an explicit nil

func (*PaymentMethodParameters) UnsetOverTheCounter

func (o *PaymentMethodParameters) UnsetOverTheCounter()

UnsetOverTheCounter ensures that no value is present for OverTheCounter, not even an explicit nil

func (*PaymentMethodParameters) UnsetQrCode

func (o *PaymentMethodParameters) UnsetQrCode()

UnsetQrCode ensures that no value is present for QrCode, not even an explicit nil

func (*PaymentMethodParameters) UnsetVirtualAccount

func (o *PaymentMethodParameters) UnsetVirtualAccount()

UnsetVirtualAccount ensures that no value is present for VirtualAccount, 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_INACTIVE                     PaymentMethodStatus = "INACTIVE"
	PAYMENTMETHODSTATUS_PENDING                      PaymentMethodStatus = "PENDING"
	PAYMENTMETHODSTATUS_EXPIRED                      PaymentMethodStatus = "EXPIRED"
	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_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 PaymentRequest

type PaymentRequest struct {
	Id                      string                                        `json:"id"`
	Created                 string                                        `json:"created"`
	Updated                 string                                        `json:"updated"`
	ReferenceId             string                                        `json:"reference_id"`
	BusinessId              string                                        `json:"business_id"`
	CustomerId              NullableString                                `json:"customer_id,omitempty"`
	Customer                map[string]interface{}                        `json:"customer,omitempty"`
	Amount                  *float64                                      `json:"amount,omitempty"`
	MinAmount               NullableFloat64                               `json:"min_amount,omitempty"`
	MaxAmount               NullableFloat64                               `json:"max_amount,omitempty"`
	Country                 *PaymentRequestCountry                        `json:"country,omitempty"`
	Currency                PaymentRequestCurrency                        `json:"currency"`
	PaymentMethod           PaymentMethod                                 `json:"payment_method"`
	Description             NullableString                                `json:"description,omitempty"`
	FailureCode             NullableString                                `json:"failure_code,omitempty"`
	CaptureMethod           NullablePaymentRequestCaptureMethod           `json:"capture_method,omitempty"`
	Initiator               NullablePaymentRequestInitiator               `json:"initiator,omitempty"`
	CardVerificationResults NullablePaymentRequestCardVerificationResults `json:"card_verification_results,omitempty"`
	Status                  PaymentRequestStatus                          `json:"status"`
	Actions                 []PaymentRequestAction                        `json:"actions,omitempty"`
	Metadata                map[string]interface{}                        `json:"metadata,omitempty"`
	ShippingInformation     NullablePaymentRequestShippingInformation     `json:"shipping_information,omitempty"`
	Items                   []PaymentRequestBasketItem                    `json:"items,omitempty"`
}

PaymentRequest struct for PaymentRequest

func NewPaymentRequest

func NewPaymentRequest(id string, created string, updated string, referenceId string, businessId string, currency PaymentRequestCurrency, paymentMethod PaymentMethod, status PaymentRequestStatus) *PaymentRequest

NewPaymentRequest instantiates a new PaymentRequest 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 NewPaymentRequestWithDefaults

func NewPaymentRequestWithDefaults() *PaymentRequest

NewPaymentRequestWithDefaults instantiates a new PaymentRequest 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 (*PaymentRequest) GetActions

func (o *PaymentRequest) GetActions() []PaymentRequestAction

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

func (*PaymentRequest) GetActionsOk

func (o *PaymentRequest) GetActionsOk() ([]PaymentRequestAction, 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 (*PaymentRequest) GetAmount

func (o *PaymentRequest) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise.

func (*PaymentRequest) GetAmountOk

func (o *PaymentRequest) 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 (*PaymentRequest) GetBusinessId

func (o *PaymentRequest) GetBusinessId() string

GetBusinessId returns the BusinessId field value

func (*PaymentRequest) GetBusinessIdOk

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

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

func (*PaymentRequest) GetCaptureMethod

func (o *PaymentRequest) GetCaptureMethod() PaymentRequestCaptureMethod

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

func (*PaymentRequest) GetCaptureMethodOk

func (o *PaymentRequest) GetCaptureMethodOk() (*PaymentRequestCaptureMethod, bool)

GetCaptureMethodOk returns a tuple with the CaptureMethod 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 (*PaymentRequest) GetCardVerificationResults

func (o *PaymentRequest) GetCardVerificationResults() PaymentRequestCardVerificationResults

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

func (*PaymentRequest) GetCardVerificationResultsOk

func (o *PaymentRequest) GetCardVerificationResultsOk() (*PaymentRequestCardVerificationResults, 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 (*PaymentRequest) GetCountry

func (o *PaymentRequest) GetCountry() PaymentRequestCountry

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

func (*PaymentRequest) GetCountryOk

func (o *PaymentRequest) GetCountryOk() (*PaymentRequestCountry, 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 (*PaymentRequest) GetCreated

func (o *PaymentRequest) GetCreated() string

GetCreated returns the Created field value

func (*PaymentRequest) GetCreatedOk

func (o *PaymentRequest) GetCreatedOk() (*string, bool)

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

func (*PaymentRequest) GetCurrency

func (o *PaymentRequest) GetCurrency() PaymentRequestCurrency

GetCurrency returns the Currency field value

func (*PaymentRequest) GetCurrencyOk

func (o *PaymentRequest) GetCurrencyOk() (*PaymentRequestCurrency, bool)

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

func (*PaymentRequest) GetCustomer

func (o *PaymentRequest) 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 (*PaymentRequest) GetCustomerId

func (o *PaymentRequest) GetCustomerId() string

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

func (*PaymentRequest) GetCustomerIdOk

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

func (o *PaymentRequest) 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 (*PaymentRequest) GetDescription

func (o *PaymentRequest) GetDescription() string

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

func (*PaymentRequest) GetDescriptionOk

func (o *PaymentRequest) 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 (*PaymentRequest) GetFailureCode

func (o *PaymentRequest) GetFailureCode() string

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

func (*PaymentRequest) GetFailureCodeOk

func (o *PaymentRequest) 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 (*PaymentRequest) GetId

func (o *PaymentRequest) GetId() string

GetId returns the Id field value

func (*PaymentRequest) GetIdOk

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

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

func (*PaymentRequest) GetInitiator

func (o *PaymentRequest) GetInitiator() PaymentRequestInitiator

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

func (*PaymentRequest) GetInitiatorOk

func (o *PaymentRequest) GetInitiatorOk() (*PaymentRequestInitiator, bool)

GetInitiatorOk returns a tuple with the Initiator 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 (*PaymentRequest) GetItems

func (o *PaymentRequest) GetItems() []PaymentRequestBasketItem

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

func (*PaymentRequest) GetItemsOk

func (o *PaymentRequest) GetItemsOk() ([]PaymentRequestBasketItem, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentRequest) GetMaxAmount

func (o *PaymentRequest) GetMaxAmount() float64

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

func (*PaymentRequest) GetMaxAmountOk

func (o *PaymentRequest) 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 (*PaymentRequest) GetMetadata

func (o *PaymentRequest) 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 (*PaymentRequest) GetMetadataOk

func (o *PaymentRequest) 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 (*PaymentRequest) GetMinAmount

func (o *PaymentRequest) GetMinAmount() float64

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

func (*PaymentRequest) GetMinAmountOk

func (o *PaymentRequest) 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 (*PaymentRequest) GetPaymentMethod

func (o *PaymentRequest) GetPaymentMethod() PaymentMethod

GetPaymentMethod returns the PaymentMethod field value

func (*PaymentRequest) GetPaymentMethodOk

func (o *PaymentRequest) GetPaymentMethodOk() (*PaymentMethod, bool)

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

func (*PaymentRequest) GetReferenceId

func (o *PaymentRequest) GetReferenceId() string

GetReferenceId returns the ReferenceId field value

func (*PaymentRequest) GetReferenceIdOk

func (o *PaymentRequest) GetReferenceIdOk() (*string, bool)

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

func (*PaymentRequest) GetShippingInformation

func (o *PaymentRequest) GetShippingInformation() PaymentRequestShippingInformation

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

func (*PaymentRequest) GetShippingInformationOk

func (o *PaymentRequest) GetShippingInformationOk() (*PaymentRequestShippingInformation, bool)

GetShippingInformationOk returns a tuple with the ShippingInformation 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 (*PaymentRequest) GetStatus

func (o *PaymentRequest) GetStatus() PaymentRequestStatus

GetStatus returns the Status field value

func (*PaymentRequest) GetStatusOk

func (o *PaymentRequest) GetStatusOk() (*PaymentRequestStatus, bool)

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

func (*PaymentRequest) GetUpdated

func (o *PaymentRequest) GetUpdated() string

GetUpdated returns the Updated field value

func (*PaymentRequest) GetUpdatedOk

func (o *PaymentRequest) GetUpdatedOk() (*string, bool)

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

func (*PaymentRequest) HasActions

func (o *PaymentRequest) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*PaymentRequest) HasAmount

func (o *PaymentRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*PaymentRequest) HasCaptureMethod

func (o *PaymentRequest) HasCaptureMethod() bool

HasCaptureMethod returns a boolean if a field has been set.

func (*PaymentRequest) HasCardVerificationResults

func (o *PaymentRequest) HasCardVerificationResults() bool

HasCardVerificationResults returns a boolean if a field has been set.

func (*PaymentRequest) HasCountry

func (o *PaymentRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PaymentRequest) HasCustomer

func (o *PaymentRequest) HasCustomer() bool

HasCustomer returns a boolean if a field has been set.

func (*PaymentRequest) HasCustomerId

func (o *PaymentRequest) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*PaymentRequest) HasDescription

func (o *PaymentRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PaymentRequest) HasFailureCode

func (o *PaymentRequest) HasFailureCode() bool

HasFailureCode returns a boolean if a field has been set.

func (*PaymentRequest) HasInitiator

func (o *PaymentRequest) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

func (*PaymentRequest) HasItems

func (o *PaymentRequest) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PaymentRequest) HasMaxAmount

func (o *PaymentRequest) HasMaxAmount() bool

HasMaxAmount returns a boolean if a field has been set.

func (*PaymentRequest) HasMetadata

func (o *PaymentRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PaymentRequest) HasMinAmount

func (o *PaymentRequest) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (*PaymentRequest) HasShippingInformation

func (o *PaymentRequest) HasShippingInformation() bool

HasShippingInformation returns a boolean if a field has been set.

func (PaymentRequest) MarshalJSON

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

func (*PaymentRequest) SetActions

func (o *PaymentRequest) SetActions(v []PaymentRequestAction)

SetActions gets a reference to the given []PaymentRequestAction and assigns it to the Actions field.

func (*PaymentRequest) SetAmount

func (o *PaymentRequest) SetAmount(v float64)

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

func (*PaymentRequest) SetBusinessId

func (o *PaymentRequest) SetBusinessId(v string)

SetBusinessId sets field value

func (*PaymentRequest) SetCaptureMethod

func (o *PaymentRequest) SetCaptureMethod(v PaymentRequestCaptureMethod)

SetCaptureMethod gets a reference to the given NullablePaymentRequestCaptureMethod and assigns it to the CaptureMethod field.

func (*PaymentRequest) SetCaptureMethodNil

func (o *PaymentRequest) SetCaptureMethodNil()

SetCaptureMethodNil sets the value for CaptureMethod to be an explicit nil

func (*PaymentRequest) SetCardVerificationResults

func (o *PaymentRequest) SetCardVerificationResults(v PaymentRequestCardVerificationResults)

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

func (*PaymentRequest) SetCardVerificationResultsNil

func (o *PaymentRequest) SetCardVerificationResultsNil()

SetCardVerificationResultsNil sets the value for CardVerificationResults to be an explicit nil

func (*PaymentRequest) SetCountry

func (o *PaymentRequest) SetCountry(v PaymentRequestCountry)

SetCountry gets a reference to the given PaymentRequestCountry and assigns it to the Country field.

func (*PaymentRequest) SetCreated

func (o *PaymentRequest) SetCreated(v string)

SetCreated sets field value

func (*PaymentRequest) SetCurrency

func (o *PaymentRequest) SetCurrency(v PaymentRequestCurrency)

SetCurrency sets field value

func (*PaymentRequest) SetCustomer

func (o *PaymentRequest) SetCustomer(v map[string]interface{})

SetCustomer gets a reference to the given map[string]interface{} and assigns it to the Customer field.

func (*PaymentRequest) SetCustomerId

func (o *PaymentRequest) SetCustomerId(v string)

SetCustomerId gets a reference to the given NullableString and assigns it to the CustomerId field.

func (*PaymentRequest) SetCustomerIdNil

func (o *PaymentRequest) SetCustomerIdNil()

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

func (*PaymentRequest) SetDescription

func (o *PaymentRequest) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*PaymentRequest) SetDescriptionNil

func (o *PaymentRequest) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*PaymentRequest) SetFailureCode

func (o *PaymentRequest) SetFailureCode(v string)

SetFailureCode gets a reference to the given NullableString and assigns it to the FailureCode field.

func (*PaymentRequest) SetFailureCodeNil

func (o *PaymentRequest) SetFailureCodeNil()

SetFailureCodeNil sets the value for FailureCode to be an explicit nil

func (*PaymentRequest) SetId

func (o *PaymentRequest) SetId(v string)

SetId sets field value

func (*PaymentRequest) SetInitiator

func (o *PaymentRequest) SetInitiator(v PaymentRequestInitiator)

SetInitiator gets a reference to the given NullablePaymentRequestInitiator and assigns it to the Initiator field.

func (*PaymentRequest) SetInitiatorNil

func (o *PaymentRequest) SetInitiatorNil()

SetInitiatorNil sets the value for Initiator to be an explicit nil

func (*PaymentRequest) SetItems

func (o *PaymentRequest) SetItems(v []PaymentRequestBasketItem)

SetItems gets a reference to the given []PaymentRequestBasketItem and assigns it to the Items field.

func (*PaymentRequest) SetMaxAmount

func (o *PaymentRequest) SetMaxAmount(v float64)

SetMaxAmount gets a reference to the given NullableFloat64 and assigns it to the MaxAmount field.

func (*PaymentRequest) SetMaxAmountNil

func (o *PaymentRequest) SetMaxAmountNil()

SetMaxAmountNil sets the value for MaxAmount to be an explicit nil

func (*PaymentRequest) SetMetadata

func (o *PaymentRequest) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*PaymentRequest) SetMinAmount

func (o *PaymentRequest) SetMinAmount(v float64)

SetMinAmount gets a reference to the given NullableFloat64 and assigns it to the MinAmount field.

func (*PaymentRequest) SetMinAmountNil

func (o *PaymentRequest) SetMinAmountNil()

SetMinAmountNil sets the value for MinAmount to be an explicit nil

func (*PaymentRequest) SetPaymentMethod

func (o *PaymentRequest) SetPaymentMethod(v PaymentMethod)

SetPaymentMethod sets field value

func (*PaymentRequest) SetReferenceId

func (o *PaymentRequest) SetReferenceId(v string)

SetReferenceId sets field value

func (*PaymentRequest) SetShippingInformation

func (o *PaymentRequest) SetShippingInformation(v PaymentRequestShippingInformation)

SetShippingInformation gets a reference to the given NullablePaymentRequestShippingInformation and assigns it to the ShippingInformation field.

func (*PaymentRequest) SetShippingInformationNil

func (o *PaymentRequest) SetShippingInformationNil()

SetShippingInformationNil sets the value for ShippingInformation to be an explicit nil

func (*PaymentRequest) SetStatus

func (o *PaymentRequest) SetStatus(v PaymentRequestStatus)

SetStatus sets field value

func (*PaymentRequest) SetUpdated

func (o *PaymentRequest) SetUpdated(v string)

SetUpdated sets field value

func (PaymentRequest) ToMap

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

func (*PaymentRequest) UnsetCaptureMethod

func (o *PaymentRequest) UnsetCaptureMethod()

UnsetCaptureMethod ensures that no value is present for CaptureMethod, not even an explicit nil

func (*PaymentRequest) UnsetCardVerificationResults

func (o *PaymentRequest) UnsetCardVerificationResults()

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

func (*PaymentRequest) UnsetCustomerId

func (o *PaymentRequest) UnsetCustomerId()

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

func (*PaymentRequest) UnsetDescription

func (o *PaymentRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*PaymentRequest) UnsetFailureCode

func (o *PaymentRequest) UnsetFailureCode()

UnsetFailureCode ensures that no value is present for FailureCode, not even an explicit nil

func (*PaymentRequest) UnsetInitiator

func (o *PaymentRequest) UnsetInitiator()

UnsetInitiator ensures that no value is present for Initiator, not even an explicit nil

func (*PaymentRequest) UnsetMaxAmount

func (o *PaymentRequest) UnsetMaxAmount()

UnsetMaxAmount ensures that no value is present for MaxAmount, not even an explicit nil

func (*PaymentRequest) UnsetMinAmount

func (o *PaymentRequest) UnsetMinAmount()

UnsetMinAmount ensures that no value is present for MinAmount, not even an explicit nil

func (*PaymentRequest) UnsetShippingInformation

func (o *PaymentRequest) UnsetShippingInformation()

UnsetShippingInformation ensures that no value is present for ShippingInformation, not even an explicit nil

type PaymentRequestAction

type PaymentRequestAction struct {
	Action  string         `json:"action"`
	UrlType string         `json:"url_type"`
	Method  NullableString `json:"method"`
	Url     NullableString `json:"url"`
	QrCode  NullableString `json:"qr_code"`
}

PaymentRequestAction struct for PaymentRequestAction

func NewPaymentRequestAction

func NewPaymentRequestAction(action string, urlType string, method NullableString, url NullableString, qrCode NullableString) *PaymentRequestAction

NewPaymentRequestAction instantiates a new PaymentRequestAction 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 NewPaymentRequestActionWithDefaults

func NewPaymentRequestActionWithDefaults() *PaymentRequestAction

NewPaymentRequestActionWithDefaults instantiates a new PaymentRequestAction 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 (*PaymentRequestAction) GetAction

func (o *PaymentRequestAction) GetAction() string

GetAction returns the Action field value

func (*PaymentRequestAction) GetActionOk

func (o *PaymentRequestAction) GetActionOk() (*string, bool)

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

func (*PaymentRequestAction) GetMethod

func (o *PaymentRequestAction) GetMethod() string

GetMethod returns the Method field value If the value is explicit nil, the zero value for string will be returned

func (*PaymentRequestAction) GetMethodOk

func (o *PaymentRequestAction) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method 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 (*PaymentRequestAction) GetQrCode

func (o *PaymentRequestAction) GetQrCode() string

GetQrCode returns the QrCode field value If the value is explicit nil, the zero value for string will be returned

func (*PaymentRequestAction) GetQrCodeOk

func (o *PaymentRequestAction) GetQrCodeOk() (*string, bool)

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

func (o *PaymentRequestAction) GetUrl() string

GetUrl returns the Url field value If the value is explicit nil, the zero value for string will be returned

func (*PaymentRequestAction) GetUrlOk

func (o *PaymentRequestAction) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url 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 (*PaymentRequestAction) GetUrlType

func (o *PaymentRequestAction) GetUrlType() string

GetUrlType returns the UrlType field value

func (*PaymentRequestAction) GetUrlTypeOk

func (o *PaymentRequestAction) GetUrlTypeOk() (*string, bool)

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

func (PaymentRequestAction) MarshalJSON

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

func (*PaymentRequestAction) SetAction

func (o *PaymentRequestAction) SetAction(v string)

SetAction sets field value

func (*PaymentRequestAction) SetMethod

func (o *PaymentRequestAction) SetMethod(v string)

SetMethod sets field value

func (*PaymentRequestAction) SetQrCode

func (o *PaymentRequestAction) SetQrCode(v string)

SetQrCode sets field value

func (*PaymentRequestAction) SetUrl

func (o *PaymentRequestAction) SetUrl(v string)

SetUrl sets field value

func (*PaymentRequestAction) SetUrlType

func (o *PaymentRequestAction) SetUrlType(v string)

SetUrlType sets field value

func (PaymentRequestAction) ToMap

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

type PaymentRequestApi

type PaymentRequestApi interface {

	/*
		CreatePaymentRequest Create Payment Request

		Create Payment Request

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiCreatePaymentRequestRequest
	*/
	CreatePaymentRequest(ctx context.Context) ApiCreatePaymentRequestRequest

	// CreatePaymentRequestExecute executes the request
	//  @return PaymentRequest
	CreatePaymentRequestExecute(r ApiCreatePaymentRequestRequest) (*PaymentRequest, *http.Response, *common.XenditSdkError)

	/*
		GetPaymentRequestByID Get payment request by ID

		Get payment request by ID

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentRequestId
		@return ApiGetPaymentRequestByIDRequest
	*/
	GetPaymentRequestByID(ctx context.Context, paymentRequestId string) ApiGetPaymentRequestByIDRequest

	// GetPaymentRequestByIDExecute executes the request
	//  @return PaymentRequest
	GetPaymentRequestByIDExecute(r ApiGetPaymentRequestByIDRequest) (*PaymentRequest, *http.Response, *common.XenditSdkError)

	/*
		GetPaymentRequestCaptures Get Payment Request Capture

		Get Payment Request Capture

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentRequestId
		@return ApiGetPaymentRequestCapturesRequest
	*/
	GetPaymentRequestCaptures(ctx context.Context, paymentRequestId string) ApiGetPaymentRequestCapturesRequest

	// GetPaymentRequestCapturesExecute executes the request
	//  @return CaptureListResponse
	GetPaymentRequestCapturesExecute(r ApiGetPaymentRequestCapturesRequest) (*CaptureListResponse, *http.Response, *common.XenditSdkError)

	/*
		GetAllPaymentRequests Get all payment requests by filter

		Get all payment requests by filter

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetAllPaymentRequestsRequest
	*/
	GetAllPaymentRequests(ctx context.Context) ApiGetAllPaymentRequestsRequest

	// GetAllPaymentRequestsExecute executes the request
	//  @return PaymentRequestListResponse
	GetAllPaymentRequestsExecute(r ApiGetAllPaymentRequestsRequest) (*PaymentRequestListResponse, *http.Response, *common.XenditSdkError)

	/*
		CapturePaymentRequest Payment Request Capture

		Payment Request Capture

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentRequestId
		@return ApiCapturePaymentRequestRequest
	*/
	CapturePaymentRequest(ctx context.Context, paymentRequestId string) ApiCapturePaymentRequestRequest

	// CapturePaymentRequestExecute executes the request
	//  @return Capture
	CapturePaymentRequestExecute(r ApiCapturePaymentRequestRequest) (*Capture, *http.Response, *common.XenditSdkError)

	/*
		AuthorizePaymentRequest Payment Request Authorize

		Payment Request Authorize

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentRequestId
		@return ApiAuthorizePaymentRequestRequest
	*/
	AuthorizePaymentRequest(ctx context.Context, paymentRequestId string) ApiAuthorizePaymentRequestRequest

	// AuthorizePaymentRequestExecute executes the request
	//  @return PaymentRequest
	AuthorizePaymentRequestExecute(r ApiAuthorizePaymentRequestRequest) (*PaymentRequest, *http.Response, *common.XenditSdkError)

	/*
		ResendPaymentRequestAuth Payment Request Resend Auth

		Payment Request Resend Auth

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param paymentRequestId
		@return ApiResendPaymentRequestAuthRequest
	*/
	ResendPaymentRequestAuth(ctx context.Context, paymentRequestId string) ApiResendPaymentRequestAuthRequest

	// ResendPaymentRequestAuthExecute executes the request
	//  @return PaymentRequest
	ResendPaymentRequestAuthExecute(r ApiResendPaymentRequestAuthRequest) (*PaymentRequest, *http.Response, *common.XenditSdkError)
}

func NewPaymentRequestApi

func NewPaymentRequestApi(client common.IClient) PaymentRequestApi

NewPaymentRequestApi Create a new PaymentRequestApi service

type PaymentRequestApiService

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

PaymentRequestApiService PaymentRequestApi service

func (*PaymentRequestApiService) AuthorizePaymentRequest

func (a *PaymentRequestApiService) AuthorizePaymentRequest(ctx context.Context, paymentRequestId string) ApiAuthorizePaymentRequestRequest

AuthorizePaymentRequest Payment Request Authorize

Payment Request Authorize

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentRequestId
@return ApiAuthorizePaymentRequestRequest

func (*PaymentRequestApiService) AuthorizePaymentRequestExecute

Execute executes the request

@return PaymentRequest

func (*PaymentRequestApiService) CapturePaymentRequest

func (a *PaymentRequestApiService) CapturePaymentRequest(ctx context.Context, paymentRequestId string) ApiCapturePaymentRequestRequest

CapturePaymentRequest Payment Request Capture

Payment Request Capture

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentRequestId
@return ApiCapturePaymentRequestRequest

func (*PaymentRequestApiService) CapturePaymentRequestExecute

Execute executes the request

@return Capture

func (*PaymentRequestApiService) CreatePaymentRequest

CreatePaymentRequest Create Payment Request

Create Payment Request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreatePaymentRequestRequest

func (*PaymentRequestApiService) CreatePaymentRequestExecute

Execute executes the request

@return PaymentRequest

func (*PaymentRequestApiService) GetAllPaymentRequests

GetAllPaymentRequests Get all payment requests by filter

Get all payment requests by filter

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllPaymentRequestsRequest

func (*PaymentRequestApiService) GetAllPaymentRequestsExecute

Execute executes the request

@return PaymentRequestListResponse

func (*PaymentRequestApiService) GetPaymentRequestByID

func (a *PaymentRequestApiService) GetPaymentRequestByID(ctx context.Context, paymentRequestId string) ApiGetPaymentRequestByIDRequest

GetPaymentRequestByID Get payment request by ID

Get payment request by ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentRequestId
@return ApiGetPaymentRequestByIDRequest

func (*PaymentRequestApiService) GetPaymentRequestByIDExecute

Execute executes the request

@return PaymentRequest

func (*PaymentRequestApiService) GetPaymentRequestCaptures

func (a *PaymentRequestApiService) GetPaymentRequestCaptures(ctx context.Context, paymentRequestId string) ApiGetPaymentRequestCapturesRequest

GetPaymentRequestCaptures Get Payment Request Capture

Get Payment Request Capture

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentRequestId
@return ApiGetPaymentRequestCapturesRequest

func (*PaymentRequestApiService) GetPaymentRequestCapturesExecute

Execute executes the request

@return CaptureListResponse

func (*PaymentRequestApiService) ResendPaymentRequestAuth

func (a *PaymentRequestApiService) ResendPaymentRequestAuth(ctx context.Context, paymentRequestId string) ApiResendPaymentRequestAuthRequest

ResendPaymentRequestAuth Payment Request Resend Auth

Payment Request Resend Auth

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentRequestId
@return ApiResendPaymentRequestAuthRequest

func (*PaymentRequestApiService) ResendPaymentRequestAuthExecute

Execute executes the request

@return PaymentRequest

type PaymentRequestAuthParameters

type PaymentRequestAuthParameters struct {
	AuthCode string `json:"auth_code"`
}

PaymentRequestAuthParameters struct for PaymentRequestAuthParameters

func NewPaymentRequestAuthParameters

func NewPaymentRequestAuthParameters(authCode string) *PaymentRequestAuthParameters

NewPaymentRequestAuthParameters instantiates a new PaymentRequestAuthParameters 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 NewPaymentRequestAuthParametersWithDefaults

func NewPaymentRequestAuthParametersWithDefaults() *PaymentRequestAuthParameters

NewPaymentRequestAuthParametersWithDefaults instantiates a new PaymentRequestAuthParameters 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 (*PaymentRequestAuthParameters) GetAuthCode

func (o *PaymentRequestAuthParameters) GetAuthCode() string

GetAuthCode returns the AuthCode field value

func (*PaymentRequestAuthParameters) GetAuthCodeOk

func (o *PaymentRequestAuthParameters) GetAuthCodeOk() (*string, bool)

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

func (PaymentRequestAuthParameters) MarshalJSON

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

func (*PaymentRequestAuthParameters) SetAuthCode

func (o *PaymentRequestAuthParameters) SetAuthCode(v string)

SetAuthCode sets field value

func (PaymentRequestAuthParameters) ToMap

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

type PaymentRequestBasketItem

type PaymentRequestBasketItem struct {
	ReferenceId          *string                `json:"reference_id,omitempty"`
	Name                 string                 `json:"name"`
	Description          *string                `json:"description,omitempty"`
	Type                 *string                `json:"type,omitempty"`
	Category             string                 `json:"category"`
	SubCategory          *string                `json:"sub_category,omitempty"`
	Currency             string                 `json:"currency"`
	Quantity             float64                `json:"quantity"`
	Price                float64                `json:"price"`
	PayerChargedCurrency *string                `json:"payer_charged_currency,omitempty"`
	PayerChargedPrice    *float64               `json:"payer_charged_price,omitempty"`
	Url                  *string                `json:"url,omitempty"`
	Metadata             map[string]interface{} `json:"metadata,omitempty"`
}

PaymentRequestBasketItem struct for PaymentRequestBasketItem

func NewPaymentRequestBasketItem

func NewPaymentRequestBasketItem(name string, category string, currency string, quantity float64, price float64) *PaymentRequestBasketItem

NewPaymentRequestBasketItem instantiates a new PaymentRequestBasketItem 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 NewPaymentRequestBasketItemWithDefaults

func NewPaymentRequestBasketItemWithDefaults() *PaymentRequestBasketItem

NewPaymentRequestBasketItemWithDefaults instantiates a new PaymentRequestBasketItem 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 (*PaymentRequestBasketItem) GetCategory

func (o *PaymentRequestBasketItem) GetCategory() string

GetCategory returns the Category field value

func (*PaymentRequestBasketItem) GetCategoryOk

func (o *PaymentRequestBasketItem) GetCategoryOk() (*string, bool)

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

func (*PaymentRequestBasketItem) GetCurrency

func (o *PaymentRequestBasketItem) GetCurrency() string

GetCurrency returns the Currency field value

func (*PaymentRequestBasketItem) GetCurrencyOk

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

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

func (*PaymentRequestBasketItem) GetDescription

func (o *PaymentRequestBasketItem) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*PaymentRequestBasketItem) GetDescriptionOk

func (o *PaymentRequestBasketItem) 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 (*PaymentRequestBasketItem) GetMetadata

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

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*PaymentRequestBasketItem) GetMetadataOk

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

func (*PaymentRequestBasketItem) GetName

func (o *PaymentRequestBasketItem) GetName() string

GetName returns the Name field value

func (*PaymentRequestBasketItem) GetNameOk

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

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

func (*PaymentRequestBasketItem) GetPayerChargedCurrency

func (o *PaymentRequestBasketItem) GetPayerChargedCurrency() string

GetPayerChargedCurrency returns the PayerChargedCurrency field value if set, zero value otherwise.

func (*PaymentRequestBasketItem) GetPayerChargedCurrencyOk

func (o *PaymentRequestBasketItem) GetPayerChargedCurrencyOk() (*string, bool)

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

func (*PaymentRequestBasketItem) GetPayerChargedPrice

func (o *PaymentRequestBasketItem) GetPayerChargedPrice() float64

GetPayerChargedPrice returns the PayerChargedPrice field value if set, zero value otherwise.

func (*PaymentRequestBasketItem) GetPayerChargedPriceOk

func (o *PaymentRequestBasketItem) GetPayerChargedPriceOk() (*float64, bool)

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

func (*PaymentRequestBasketItem) GetPrice

func (o *PaymentRequestBasketItem) GetPrice() float64

GetPrice returns the Price field value

func (*PaymentRequestBasketItem) GetPriceOk

func (o *PaymentRequestBasketItem) GetPriceOk() (*float64, bool)

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

func (*PaymentRequestBasketItem) GetQuantity

func (o *PaymentRequestBasketItem) GetQuantity() float64

GetQuantity returns the Quantity field value

func (*PaymentRequestBasketItem) GetQuantityOk

func (o *PaymentRequestBasketItem) GetQuantityOk() (*float64, bool)

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

func (*PaymentRequestBasketItem) GetReferenceId

func (o *PaymentRequestBasketItem) GetReferenceId() string

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

func (*PaymentRequestBasketItem) GetReferenceIdOk

func (o *PaymentRequestBasketItem) 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 (*PaymentRequestBasketItem) GetSubCategory

func (o *PaymentRequestBasketItem) GetSubCategory() string

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*PaymentRequestBasketItem) GetSubCategoryOk

func (o *PaymentRequestBasketItem) GetSubCategoryOk() (*string, bool)

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

func (*PaymentRequestBasketItem) GetType

func (o *PaymentRequestBasketItem) GetType() string

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

func (*PaymentRequestBasketItem) GetTypeOk

func (o *PaymentRequestBasketItem) 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 (*PaymentRequestBasketItem) GetUrl

func (o *PaymentRequestBasketItem) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*PaymentRequestBasketItem) GetUrlOk

func (o *PaymentRequestBasketItem) 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 (*PaymentRequestBasketItem) HasDescription

func (o *PaymentRequestBasketItem) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PaymentRequestBasketItem) HasMetadata

func (o *PaymentRequestBasketItem) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PaymentRequestBasketItem) HasPayerChargedCurrency

func (o *PaymentRequestBasketItem) HasPayerChargedCurrency() bool

HasPayerChargedCurrency returns a boolean if a field has been set.

func (*PaymentRequestBasketItem) HasPayerChargedPrice

func (o *PaymentRequestBasketItem) HasPayerChargedPrice() bool

HasPayerChargedPrice returns a boolean if a field has been set.

func (*PaymentRequestBasketItem) HasReferenceId

func (o *PaymentRequestBasketItem) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*PaymentRequestBasketItem) HasSubCategory

func (o *PaymentRequestBasketItem) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (*PaymentRequestBasketItem) HasType

func (o *PaymentRequestBasketItem) HasType() bool

HasType returns a boolean if a field has been set.

func (*PaymentRequestBasketItem) HasUrl

func (o *PaymentRequestBasketItem) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (PaymentRequestBasketItem) MarshalJSON

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

func (*PaymentRequestBasketItem) SetCategory

func (o *PaymentRequestBasketItem) SetCategory(v string)

SetCategory sets field value

func (*PaymentRequestBasketItem) SetCurrency

func (o *PaymentRequestBasketItem) SetCurrency(v string)

SetCurrency sets field value

func (*PaymentRequestBasketItem) SetDescription

func (o *PaymentRequestBasketItem) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*PaymentRequestBasketItem) SetMetadata

func (o *PaymentRequestBasketItem) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*PaymentRequestBasketItem) SetName

func (o *PaymentRequestBasketItem) SetName(v string)

SetName sets field value

func (*PaymentRequestBasketItem) SetPayerChargedCurrency

func (o *PaymentRequestBasketItem) SetPayerChargedCurrency(v string)

SetPayerChargedCurrency gets a reference to the given string and assigns it to the PayerChargedCurrency field.

func (*PaymentRequestBasketItem) SetPayerChargedPrice

func (o *PaymentRequestBasketItem) SetPayerChargedPrice(v float64)

SetPayerChargedPrice gets a reference to the given float64 and assigns it to the PayerChargedPrice field.

func (*PaymentRequestBasketItem) SetPrice

func (o *PaymentRequestBasketItem) SetPrice(v float64)

SetPrice sets field value

func (*PaymentRequestBasketItem) SetQuantity

func (o *PaymentRequestBasketItem) SetQuantity(v float64)

SetQuantity sets field value

func (*PaymentRequestBasketItem) SetReferenceId

func (o *PaymentRequestBasketItem) SetReferenceId(v string)

SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.

func (*PaymentRequestBasketItem) SetSubCategory

func (o *PaymentRequestBasketItem) SetSubCategory(v string)

SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.

func (*PaymentRequestBasketItem) SetType

func (o *PaymentRequestBasketItem) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentRequestBasketItem) SetUrl

func (o *PaymentRequestBasketItem) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (PaymentRequestBasketItem) ToMap

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

type PaymentRequestCaptureMethod

type PaymentRequestCaptureMethod string

PaymentRequestCaptureMethod the model 'PaymentRequestCaptureMethod'

const (
	PAYMENTREQUESTCAPTUREMETHOD_AUTOMATIC                    PaymentRequestCaptureMethod = "AUTOMATIC"
	PAYMENTREQUESTCAPTUREMETHOD_MANUAL                       PaymentRequestCaptureMethod = "MANUAL"
	PAYMENTREQUESTCAPTUREMETHOD_XENDIT_ENUM_DEFAULT_FALLBACK PaymentRequestCaptureMethod = "UNKNOWN_ENUM_VALUE"
)

List of PaymentRequestCaptureMethod

func NewPaymentRequestCaptureMethodFromValue

func NewPaymentRequestCaptureMethodFromValue(v string) (*PaymentRequestCaptureMethod, error)

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

func (PaymentRequestCaptureMethod) IsValid

func (v PaymentRequestCaptureMethod) IsValid() bool

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

func (PaymentRequestCaptureMethod) Ptr

Ptr returns reference to PaymentRequestCaptureMethod value

func (PaymentRequestCaptureMethod) String

func (*PaymentRequestCaptureMethod) UnmarshalJSON

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

type PaymentRequestCardVerificationResults

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

PaymentRequestCardVerificationResults struct for PaymentRequestCardVerificationResults

func NewPaymentRequestCardVerificationResults

func NewPaymentRequestCardVerificationResults(threeDSecure NullablePaymentRequestCardVerificationResultsThreeDeeSecure) *PaymentRequestCardVerificationResults

NewPaymentRequestCardVerificationResults instantiates a new PaymentRequestCardVerificationResults 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 NewPaymentRequestCardVerificationResultsWithDefaults

func NewPaymentRequestCardVerificationResultsWithDefaults() *PaymentRequestCardVerificationResults

NewPaymentRequestCardVerificationResultsWithDefaults instantiates a new PaymentRequestCardVerificationResults 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 (*PaymentRequestCardVerificationResults) GetAddressVerificationResult

func (o *PaymentRequestCardVerificationResults) GetAddressVerificationResult() string

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

func (*PaymentRequestCardVerificationResults) GetAddressVerificationResultOk

func (o *PaymentRequestCardVerificationResults) 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 (*PaymentRequestCardVerificationResults) GetCvvResult

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

func (*PaymentRequestCardVerificationResults) GetCvvResultOk

func (o *PaymentRequestCardVerificationResults) 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 (*PaymentRequestCardVerificationResults) GetThreeDSecure

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

func (*PaymentRequestCardVerificationResults) 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 (*PaymentRequestCardVerificationResults) HasAddressVerificationResult

func (o *PaymentRequestCardVerificationResults) HasAddressVerificationResult() bool

HasAddressVerificationResult returns a boolean if a field has been set.

func (*PaymentRequestCardVerificationResults) HasCvvResult

func (o *PaymentRequestCardVerificationResults) HasCvvResult() bool

HasCvvResult returns a boolean if a field has been set.

func (PaymentRequestCardVerificationResults) MarshalJSON

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

func (*PaymentRequestCardVerificationResults) SetAddressVerificationResult

func (o *PaymentRequestCardVerificationResults) SetAddressVerificationResult(v string)

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

func (*PaymentRequestCardVerificationResults) SetAddressVerificationResultNil

func (o *PaymentRequestCardVerificationResults) SetAddressVerificationResultNil()

SetAddressVerificationResultNil sets the value for AddressVerificationResult to be an explicit nil

func (*PaymentRequestCardVerificationResults) SetCvvResult

func (o *PaymentRequestCardVerificationResults) SetCvvResult(v string)

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

func (*PaymentRequestCardVerificationResults) SetCvvResultNil

func (o *PaymentRequestCardVerificationResults) SetCvvResultNil()

SetCvvResultNil sets the value for CvvResult to be an explicit nil

func (*PaymentRequestCardVerificationResults) SetThreeDSecure

SetThreeDSecure sets field value

func (PaymentRequestCardVerificationResults) ToMap

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

func (*PaymentRequestCardVerificationResults) UnsetAddressVerificationResult

func (o *PaymentRequestCardVerificationResults) UnsetAddressVerificationResult()

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

func (*PaymentRequestCardVerificationResults) UnsetCvvResult

func (o *PaymentRequestCardVerificationResults) UnsetCvvResult()

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

type PaymentRequestCardVerificationResultsThreeDeeSecure

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

PaymentRequestCardVerificationResultsThreeDeeSecure struct for PaymentRequestCardVerificationResultsThreeDeeSecure

func NewPaymentRequestCardVerificationResultsThreeDeeSecure

func NewPaymentRequestCardVerificationResultsThreeDeeSecure() *PaymentRequestCardVerificationResultsThreeDeeSecure

NewPaymentRequestCardVerificationResultsThreeDeeSecure instantiates a new PaymentRequestCardVerificationResultsThreeDeeSecure 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 NewPaymentRequestCardVerificationResultsThreeDeeSecureWithDefaults

func NewPaymentRequestCardVerificationResultsThreeDeeSecureWithDefaults() *PaymentRequestCardVerificationResultsThreeDeeSecure

NewPaymentRequestCardVerificationResultsThreeDeeSecureWithDefaults instantiates a new PaymentRequestCardVerificationResultsThreeDeeSecure 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 (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetEciCode

GetEciCode returns the EciCode field value if set, zero value otherwise.

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetEciCodeOk

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureFlow

GetThreeDSecureFlow returns the ThreeDSecureFlow field value if set, zero value otherwise.

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureFlowOk

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureResult

GetThreeDSecureResult returns the ThreeDSecureResult field value if set, zero value otherwise.

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureResultOk

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureResultReason

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureResultReason() string

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureResultReasonOk

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) 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 (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureVersion

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureVersion() string

GetThreeDSecureVersion returns the ThreeDSecureVersion field value if set, zero value otherwise.

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) GetThreeDSecureVersionOk

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) HasEciCode

HasEciCode returns a boolean if a field has been set.

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) HasThreeDSecureFlow

HasThreeDSecureFlow returns a boolean if a field has been set.

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) HasThreeDSecureResult

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) HasThreeDSecureResult() bool

HasThreeDSecureResult returns a boolean if a field has been set.

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) HasThreeDSecureResultReason

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) HasThreeDSecureResultReason() bool

HasThreeDSecureResultReason returns a boolean if a field has been set.

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) HasThreeDSecureVersion

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) HasThreeDSecureVersion() bool

HasThreeDSecureVersion returns a boolean if a field has been set.

func (PaymentRequestCardVerificationResultsThreeDeeSecure) MarshalJSON

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) SetEciCode

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureFlow

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureResult

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureResult(v string)

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureResultReason

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureResultReason(v string)

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

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureResultReasonNil

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureResultReasonNil()

SetThreeDSecureResultReasonNil sets the value for ThreeDSecureResultReason to be an explicit nil

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureVersion

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) SetThreeDSecureVersion(v string)

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

func (PaymentRequestCardVerificationResultsThreeDeeSecure) ToMap

func (*PaymentRequestCardVerificationResultsThreeDeeSecure) UnsetThreeDSecureResultReason

func (o *PaymentRequestCardVerificationResultsThreeDeeSecure) UnsetThreeDSecureResultReason()

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

type PaymentRequestChannelProperties

type PaymentRequestChannelProperties 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"`
	// 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"`
	// Toggle used to require end-customer to input undergo OTP validation before completing a payment. OTP will always be required for transactions greater than 1,000,000 IDR. For BRI tokenized payment use only.
	RequireAuth *bool `json:"require_auth,omitempty"`
	// Tag for a Merchant ID that you want to associate this payment with. For merchants using their own MIDs to specify which MID they want to use
	MerchantIdTag *string `json:"merchant_id_tag,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"`
}

PaymentRequestChannelProperties struct for PaymentRequestChannelProperties

func NewPaymentRequestChannelProperties

func NewPaymentRequestChannelProperties() *PaymentRequestChannelProperties

NewPaymentRequestChannelProperties instantiates a new PaymentRequestChannelProperties 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 NewPaymentRequestChannelPropertiesWithDefaults

func NewPaymentRequestChannelPropertiesWithDefaults() *PaymentRequestChannelProperties

NewPaymentRequestChannelPropertiesWithDefaults instantiates a new PaymentRequestChannelProperties 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 (*PaymentRequestChannelProperties) GetCancelReturnUrl

func (o *PaymentRequestChannelProperties) GetCancelReturnUrl() string

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

func (*PaymentRequestChannelProperties) GetCancelReturnUrlOk

func (o *PaymentRequestChannelProperties) 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 (*PaymentRequestChannelProperties) GetCardonfileType

func (o *PaymentRequestChannelProperties) GetCardonfileType() string

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

func (*PaymentRequestChannelProperties) GetCardonfileTypeOk

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

func (o *PaymentRequestChannelProperties) GetFailureReturnUrl() string

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

func (*PaymentRequestChannelProperties) GetFailureReturnUrlOk

func (o *PaymentRequestChannelProperties) 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 (*PaymentRequestChannelProperties) GetMerchantIdTag

func (o *PaymentRequestChannelProperties) GetMerchantIdTag() string

GetMerchantIdTag returns the MerchantIdTag field value if set, zero value otherwise.

func (*PaymentRequestChannelProperties) GetMerchantIdTagOk

func (o *PaymentRequestChannelProperties) GetMerchantIdTagOk() (*string, bool)

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

func (*PaymentRequestChannelProperties) GetRedeemPoints

func (o *PaymentRequestChannelProperties) GetRedeemPoints() string

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

func (*PaymentRequestChannelProperties) GetRedeemPointsOk

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

func (o *PaymentRequestChannelProperties) GetRequireAuth() bool

GetRequireAuth returns the RequireAuth field value if set, zero value otherwise.

func (*PaymentRequestChannelProperties) GetRequireAuthOk

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

func (*PaymentRequestChannelProperties) GetSuccessReturnUrl

func (o *PaymentRequestChannelProperties) GetSuccessReturnUrl() string

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

func (*PaymentRequestChannelProperties) GetSuccessReturnUrlOk

func (o *PaymentRequestChannelProperties) 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 (*PaymentRequestChannelProperties) HasCancelReturnUrl

func (o *PaymentRequestChannelProperties) HasCancelReturnUrl() bool

HasCancelReturnUrl returns a boolean if a field has been set.

func (*PaymentRequestChannelProperties) HasCardonfileType

func (o *PaymentRequestChannelProperties) HasCardonfileType() bool

HasCardonfileType returns a boolean if a field has been set.

func (*PaymentRequestChannelProperties) HasFailureReturnUrl

func (o *PaymentRequestChannelProperties) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*PaymentRequestChannelProperties) HasMerchantIdTag

func (o *PaymentRequestChannelProperties) HasMerchantIdTag() bool

HasMerchantIdTag returns a boolean if a field has been set.

func (*PaymentRequestChannelProperties) HasRedeemPoints

func (o *PaymentRequestChannelProperties) HasRedeemPoints() bool

HasRedeemPoints returns a boolean if a field has been set.

func (*PaymentRequestChannelProperties) HasRequireAuth

func (o *PaymentRequestChannelProperties) HasRequireAuth() bool

HasRequireAuth returns a boolean if a field has been set.

func (*PaymentRequestChannelProperties) HasSuccessReturnUrl

func (o *PaymentRequestChannelProperties) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (PaymentRequestChannelProperties) MarshalJSON

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

func (*PaymentRequestChannelProperties) SetCancelReturnUrl

func (o *PaymentRequestChannelProperties) SetCancelReturnUrl(v string)

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

func (*PaymentRequestChannelProperties) SetCardonfileType

func (o *PaymentRequestChannelProperties) SetCardonfileType(v string)

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

func (*PaymentRequestChannelProperties) SetCardonfileTypeNil

func (o *PaymentRequestChannelProperties) SetCardonfileTypeNil()

SetCardonfileTypeNil sets the value for CardonfileType to be an explicit nil

func (*PaymentRequestChannelProperties) SetFailureReturnUrl

func (o *PaymentRequestChannelProperties) SetFailureReturnUrl(v string)

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

func (*PaymentRequestChannelProperties) SetMerchantIdTag

func (o *PaymentRequestChannelProperties) SetMerchantIdTag(v string)

SetMerchantIdTag gets a reference to the given string and assigns it to the MerchantIdTag field.

func (*PaymentRequestChannelProperties) SetRedeemPoints

func (o *PaymentRequestChannelProperties) SetRedeemPoints(v string)

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

func (*PaymentRequestChannelProperties) SetRequireAuth

func (o *PaymentRequestChannelProperties) SetRequireAuth(v bool)

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

func (*PaymentRequestChannelProperties) SetSuccessReturnUrl

func (o *PaymentRequestChannelProperties) SetSuccessReturnUrl(v string)

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

func (PaymentRequestChannelProperties) ToMap

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

func (*PaymentRequestChannelProperties) UnsetCardonfileType

func (o *PaymentRequestChannelProperties) UnsetCardonfileType()

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

type PaymentRequestCountry

type PaymentRequestCountry string

PaymentRequestCountry the model 'PaymentRequestCountry'

const (
	PAYMENTREQUESTCOUNTRY_ID                           PaymentRequestCountry = "ID"
	PAYMENTREQUESTCOUNTRY_PH                           PaymentRequestCountry = "PH"
	PAYMENTREQUESTCOUNTRY_VN                           PaymentRequestCountry = "VN"
	PAYMENTREQUESTCOUNTRY_TH                           PaymentRequestCountry = "TH"
	PAYMENTREQUESTCOUNTRY_MY                           PaymentRequestCountry = "MY"
	PAYMENTREQUESTCOUNTRY_XENDIT_ENUM_DEFAULT_FALLBACK PaymentRequestCountry = "UNKNOWN_ENUM_VALUE"
)

List of PaymentRequestCountry

func NewPaymentRequestCountryFromValue

func NewPaymentRequestCountryFromValue(v string) (*PaymentRequestCountry, error)

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

func (PaymentRequestCountry) IsValid

func (v PaymentRequestCountry) IsValid() bool

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

func (PaymentRequestCountry) Ptr

Ptr returns reference to PaymentRequestCountry value

func (PaymentRequestCountry) String

func (v PaymentRequestCountry) String() string

func (*PaymentRequestCountry) UnmarshalJSON

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

type PaymentRequestCurrency

type PaymentRequestCurrency string

PaymentRequestCurrency the model 'PaymentRequestCurrency'

const (
	PAYMENTREQUESTCURRENCY_IDR                          PaymentRequestCurrency = "IDR"
	PAYMENTREQUESTCURRENCY_PHP                          PaymentRequestCurrency = "PHP"
	PAYMENTREQUESTCURRENCY_VND                          PaymentRequestCurrency = "VND"
	PAYMENTREQUESTCURRENCY_THB                          PaymentRequestCurrency = "THB"
	PAYMENTREQUESTCURRENCY_MYR                          PaymentRequestCurrency = "MYR"
	PAYMENTREQUESTCURRENCY_USD                          PaymentRequestCurrency = "USD"
	PAYMENTREQUESTCURRENCY_XENDIT_ENUM_DEFAULT_FALLBACK PaymentRequestCurrency = "UNKNOWN_ENUM_VALUE"
)

List of PaymentRequestCurrency

func NewPaymentRequestCurrencyFromValue

func NewPaymentRequestCurrencyFromValue(v string) (*PaymentRequestCurrency, error)

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

func (PaymentRequestCurrency) IsValid

func (v PaymentRequestCurrency) IsValid() bool

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

func (PaymentRequestCurrency) Ptr

Ptr returns reference to PaymentRequestCurrency value

func (PaymentRequestCurrency) String

func (v PaymentRequestCurrency) String() string

func (*PaymentRequestCurrency) UnmarshalJSON

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

type PaymentRequestInitiator

type PaymentRequestInitiator string

PaymentRequestInitiator the model 'PaymentRequestInitiator'

const (
	PAYMENTREQUESTINITIATOR_CUSTOMER                     PaymentRequestInitiator = "CUSTOMER"
	PAYMENTREQUESTINITIATOR_MERCHANT                     PaymentRequestInitiator = "MERCHANT"
	PAYMENTREQUESTINITIATOR_XENDIT_ENUM_DEFAULT_FALLBACK PaymentRequestInitiator = "UNKNOWN_ENUM_VALUE"
)

List of PaymentRequestInitiator

func NewPaymentRequestInitiatorFromValue

func NewPaymentRequestInitiatorFromValue(v string) (*PaymentRequestInitiator, error)

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

func (PaymentRequestInitiator) IsValid

func (v PaymentRequestInitiator) IsValid() bool

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

func (PaymentRequestInitiator) Ptr

Ptr returns reference to PaymentRequestInitiator value

func (PaymentRequestInitiator) String

func (v PaymentRequestInitiator) String() string

func (*PaymentRequestInitiator) UnmarshalJSON

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

type PaymentRequestListResponse

type PaymentRequestListResponse struct {
	Data    []PaymentRequest `json:"data"`
	HasMore bool             `json:"has_more"`
}

PaymentRequestListResponse struct for PaymentRequestListResponse

func NewPaymentRequestListResponse

func NewPaymentRequestListResponse(data []PaymentRequest, hasMore bool) *PaymentRequestListResponse

NewPaymentRequestListResponse instantiates a new PaymentRequestListResponse 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 NewPaymentRequestListResponseWithDefaults

func NewPaymentRequestListResponseWithDefaults() *PaymentRequestListResponse

NewPaymentRequestListResponseWithDefaults instantiates a new PaymentRequestListResponse 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 (*PaymentRequestListResponse) GetData

GetData returns the Data field value

func (*PaymentRequestListResponse) GetDataOk

func (o *PaymentRequestListResponse) GetDataOk() ([]PaymentRequest, bool)

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

func (*PaymentRequestListResponse) GetHasMore

func (o *PaymentRequestListResponse) GetHasMore() bool

GetHasMore returns the HasMore field value

func (*PaymentRequestListResponse) GetHasMoreOk

func (o *PaymentRequestListResponse) GetHasMoreOk() (*bool, bool)

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

func (PaymentRequestListResponse) MarshalJSON

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

func (*PaymentRequestListResponse) SetData

SetData sets field value

func (*PaymentRequestListResponse) SetHasMore

func (o *PaymentRequestListResponse) SetHasMore(v bool)

SetHasMore sets field value

func (PaymentRequestListResponse) ToMap

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

type PaymentRequestParameters

type PaymentRequestParameters struct {
	ReferenceId         *string                                    `json:"reference_id,omitempty"`
	Amount              *float64                                   `json:"amount,omitempty"`
	Currency            PaymentRequestCurrency                     `json:"currency"`
	PaymentMethod       *PaymentMethodParameters                   `json:"payment_method,omitempty"`
	Description         NullableString                             `json:"description,omitempty"`
	CaptureMethod       NullablePaymentRequestCaptureMethod        `json:"capture_method,omitempty"`
	Initiator           NullablePaymentRequestInitiator            `json:"initiator,omitempty"`
	PaymentMethodId     *string                                    `json:"payment_method_id,omitempty"`
	ChannelProperties   *PaymentRequestParametersChannelProperties `json:"channel_properties,omitempty"`
	ShippingInformation NullablePaymentRequestShippingInformation  `json:"shipping_information,omitempty"`
	Items               []PaymentRequestBasketItem                 `json:"items,omitempty"`
	CustomerId          NullableString                             `json:"customer_id,omitempty"`
	Customer            map[string]interface{}                     `json:"customer,omitempty"`
	Metadata            map[string]interface{}                     `json:"metadata,omitempty"`
}

PaymentRequestParameters struct for PaymentRequestParameters

func NewPaymentRequestParameters

func NewPaymentRequestParameters(currency PaymentRequestCurrency) *PaymentRequestParameters

NewPaymentRequestParameters instantiates a new PaymentRequestParameters 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 NewPaymentRequestParametersWithDefaults

func NewPaymentRequestParametersWithDefaults() *PaymentRequestParameters

NewPaymentRequestParametersWithDefaults instantiates a new PaymentRequestParameters 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 (*PaymentRequestParameters) GetAmount

func (o *PaymentRequestParameters) GetAmount() float64

GetAmount returns the Amount field value if set, zero value otherwise.

func (*PaymentRequestParameters) GetAmountOk

func (o *PaymentRequestParameters) 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 (*PaymentRequestParameters) GetCaptureMethod

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

func (*PaymentRequestParameters) GetCaptureMethodOk

func (o *PaymentRequestParameters) GetCaptureMethodOk() (*PaymentRequestCaptureMethod, bool)

GetCaptureMethodOk returns a tuple with the CaptureMethod 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 (*PaymentRequestParameters) GetChannelProperties

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

func (*PaymentRequestParameters) 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 (*PaymentRequestParameters) GetCurrency

GetCurrency returns the Currency field value

func (*PaymentRequestParameters) GetCurrencyOk

func (o *PaymentRequestParameters) GetCurrencyOk() (*PaymentRequestCurrency, bool)

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

func (*PaymentRequestParameters) GetCustomer

func (o *PaymentRequestParameters) 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 (*PaymentRequestParameters) GetCustomerId

func (o *PaymentRequestParameters) GetCustomerId() string

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

func (*PaymentRequestParameters) GetCustomerIdOk

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

func (o *PaymentRequestParameters) 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 (*PaymentRequestParameters) GetDescription

func (o *PaymentRequestParameters) GetDescription() string

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

func (*PaymentRequestParameters) GetDescriptionOk

func (o *PaymentRequestParameters) 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 (*PaymentRequestParameters) GetInitiator

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

func (*PaymentRequestParameters) GetInitiatorOk

func (o *PaymentRequestParameters) GetInitiatorOk() (*PaymentRequestInitiator, bool)

GetInitiatorOk returns a tuple with the Initiator 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 (*PaymentRequestParameters) GetItems

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

func (*PaymentRequestParameters) GetItemsOk

GetItemsOk returns a tuple with the Items 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 (*PaymentRequestParameters) GetMetadata

func (o *PaymentRequestParameters) 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 (*PaymentRequestParameters) GetMetadataOk

func (o *PaymentRequestParameters) 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 (*PaymentRequestParameters) GetPaymentMethod

func (o *PaymentRequestParameters) GetPaymentMethod() PaymentMethodParameters

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*PaymentRequestParameters) GetPaymentMethodId

func (o *PaymentRequestParameters) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*PaymentRequestParameters) GetPaymentMethodIdOk

func (o *PaymentRequestParameters) GetPaymentMethodIdOk() (*string, bool)

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

func (*PaymentRequestParameters) GetPaymentMethodOk

func (o *PaymentRequestParameters) GetPaymentMethodOk() (*PaymentMethodParameters, bool)

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

func (*PaymentRequestParameters) GetReferenceId

func (o *PaymentRequestParameters) GetReferenceId() string

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

func (*PaymentRequestParameters) GetReferenceIdOk

func (o *PaymentRequestParameters) 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 (*PaymentRequestParameters) GetShippingInformation

func (o *PaymentRequestParameters) GetShippingInformation() PaymentRequestShippingInformation

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

func (*PaymentRequestParameters) GetShippingInformationOk

func (o *PaymentRequestParameters) GetShippingInformationOk() (*PaymentRequestShippingInformation, bool)

GetShippingInformationOk returns a tuple with the ShippingInformation 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 (*PaymentRequestParameters) HasAmount

func (o *PaymentRequestParameters) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasCaptureMethod

func (o *PaymentRequestParameters) HasCaptureMethod() bool

HasCaptureMethod returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasChannelProperties

func (o *PaymentRequestParameters) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasCustomer

func (o *PaymentRequestParameters) HasCustomer() bool

HasCustomer returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasCustomerId

func (o *PaymentRequestParameters) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasDescription

func (o *PaymentRequestParameters) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasInitiator

func (o *PaymentRequestParameters) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasItems

func (o *PaymentRequestParameters) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasMetadata

func (o *PaymentRequestParameters) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasPaymentMethod

func (o *PaymentRequestParameters) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasPaymentMethodId

func (o *PaymentRequestParameters) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasReferenceId

func (o *PaymentRequestParameters) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*PaymentRequestParameters) HasShippingInformation

func (o *PaymentRequestParameters) HasShippingInformation() bool

HasShippingInformation returns a boolean if a field has been set.

func (PaymentRequestParameters) MarshalJSON

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

func (*PaymentRequestParameters) SetAmount

func (o *PaymentRequestParameters) SetAmount(v float64)

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

func (*PaymentRequestParameters) SetCaptureMethod

SetCaptureMethod gets a reference to the given NullablePaymentRequestCaptureMethod and assigns it to the CaptureMethod field.

func (*PaymentRequestParameters) SetCaptureMethodNil

func (o *PaymentRequestParameters) SetCaptureMethodNil()

SetCaptureMethodNil sets the value for CaptureMethod to be an explicit nil

func (*PaymentRequestParameters) SetChannelProperties

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

func (*PaymentRequestParameters) SetCurrency

SetCurrency sets field value

func (*PaymentRequestParameters) SetCustomer

func (o *PaymentRequestParameters) SetCustomer(v map[string]interface{})

SetCustomer gets a reference to the given map[string]interface{} and assigns it to the Customer field.

func (*PaymentRequestParameters) SetCustomerId

func (o *PaymentRequestParameters) SetCustomerId(v string)

SetCustomerId gets a reference to the given NullableString and assigns it to the CustomerId field.

func (*PaymentRequestParameters) SetCustomerIdNil

func (o *PaymentRequestParameters) SetCustomerIdNil()

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

func (*PaymentRequestParameters) SetDescription

func (o *PaymentRequestParameters) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*PaymentRequestParameters) SetDescriptionNil

func (o *PaymentRequestParameters) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*PaymentRequestParameters) SetInitiator

SetInitiator gets a reference to the given NullablePaymentRequestInitiator and assigns it to the Initiator field.

func (*PaymentRequestParameters) SetInitiatorNil

func (o *PaymentRequestParameters) SetInitiatorNil()

SetInitiatorNil sets the value for Initiator to be an explicit nil

func (*PaymentRequestParameters) SetItems

SetItems gets a reference to the given []PaymentRequestBasketItem and assigns it to the Items field.

func (*PaymentRequestParameters) SetMetadata

func (o *PaymentRequestParameters) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*PaymentRequestParameters) SetPaymentMethod

func (o *PaymentRequestParameters) SetPaymentMethod(v PaymentMethodParameters)

SetPaymentMethod gets a reference to the given PaymentMethodParameters and assigns it to the PaymentMethod field.

func (*PaymentRequestParameters) SetPaymentMethodId

func (o *PaymentRequestParameters) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

func (*PaymentRequestParameters) SetReferenceId

func (o *PaymentRequestParameters) SetReferenceId(v string)

SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.

func (*PaymentRequestParameters) SetShippingInformation

func (o *PaymentRequestParameters) SetShippingInformation(v PaymentRequestShippingInformation)

SetShippingInformation gets a reference to the given NullablePaymentRequestShippingInformation and assigns it to the ShippingInformation field.

func (*PaymentRequestParameters) SetShippingInformationNil

func (o *PaymentRequestParameters) SetShippingInformationNil()

SetShippingInformationNil sets the value for ShippingInformation to be an explicit nil

func (PaymentRequestParameters) ToMap

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

func (*PaymentRequestParameters) UnsetCaptureMethod

func (o *PaymentRequestParameters) UnsetCaptureMethod()

UnsetCaptureMethod ensures that no value is present for CaptureMethod, not even an explicit nil

func (*PaymentRequestParameters) UnsetCustomerId

func (o *PaymentRequestParameters) UnsetCustomerId()

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

func (*PaymentRequestParameters) UnsetDescription

func (o *PaymentRequestParameters) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*PaymentRequestParameters) UnsetInitiator

func (o *PaymentRequestParameters) UnsetInitiator()

UnsetInitiator ensures that no value is present for Initiator, not even an explicit nil

func (*PaymentRequestParameters) UnsetShippingInformation

func (o *PaymentRequestParameters) UnsetShippingInformation()

UnsetShippingInformation ensures that no value is present for ShippingInformation, not even an explicit nil

type PaymentRequestParametersChannelProperties

type PaymentRequestParametersChannelProperties 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"`
	// 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"`
	// Toggle used to require end-customer to input undergo OTP validation before completing a payment. OTP will always be required for transactions greater than 1,000,000 IDR. For BRI tokenized payment use only.
	RequireAuth *bool `json:"require_auth,omitempty"`
	// Tag for a Merchant ID that you want to associate this payment with. For merchants using their own MIDs to specify which MID they want to use
	MerchantIdTag *string `json:"merchant_id_tag,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"`
	// Three digit code written on the back of the card (usually called CVV/CVN).
	Cvv *string `json:"cvv,omitempty"`
}

PaymentRequestParametersChannelProperties struct for PaymentRequestParametersChannelProperties

func NewPaymentRequestParametersChannelProperties

func NewPaymentRequestParametersChannelProperties() *PaymentRequestParametersChannelProperties

NewPaymentRequestParametersChannelProperties instantiates a new PaymentRequestParametersChannelProperties 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 NewPaymentRequestParametersChannelPropertiesWithDefaults

func NewPaymentRequestParametersChannelPropertiesWithDefaults() *PaymentRequestParametersChannelProperties

NewPaymentRequestParametersChannelPropertiesWithDefaults instantiates a new PaymentRequestParametersChannelProperties 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 (*PaymentRequestParametersChannelProperties) GetCancelReturnUrl

func (o *PaymentRequestParametersChannelProperties) GetCancelReturnUrl() string

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

func (*PaymentRequestParametersChannelProperties) GetCancelReturnUrlOk

func (o *PaymentRequestParametersChannelProperties) 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 (*PaymentRequestParametersChannelProperties) GetCardonfileType

func (o *PaymentRequestParametersChannelProperties) GetCardonfileType() string

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

func (*PaymentRequestParametersChannelProperties) GetCardonfileTypeOk

func (o *PaymentRequestParametersChannelProperties) 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 (*PaymentRequestParametersChannelProperties) GetCvv

GetCvv returns the Cvv field value if set, zero value otherwise.

func (*PaymentRequestParametersChannelProperties) GetCvvOk

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

func (*PaymentRequestParametersChannelProperties) GetFailureReturnUrl

func (o *PaymentRequestParametersChannelProperties) GetFailureReturnUrl() string

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

func (*PaymentRequestParametersChannelProperties) GetFailureReturnUrlOk

func (o *PaymentRequestParametersChannelProperties) 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 (*PaymentRequestParametersChannelProperties) GetMerchantIdTag

func (o *PaymentRequestParametersChannelProperties) GetMerchantIdTag() string

GetMerchantIdTag returns the MerchantIdTag field value if set, zero value otherwise.

func (*PaymentRequestParametersChannelProperties) GetMerchantIdTagOk

func (o *PaymentRequestParametersChannelProperties) GetMerchantIdTagOk() (*string, bool)

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

func (*PaymentRequestParametersChannelProperties) GetRedeemPoints

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

func (*PaymentRequestParametersChannelProperties) GetRedeemPointsOk

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

func (o *PaymentRequestParametersChannelProperties) GetRequireAuth() bool

GetRequireAuth returns the RequireAuth field value if set, zero value otherwise.

func (*PaymentRequestParametersChannelProperties) GetRequireAuthOk

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

func (*PaymentRequestParametersChannelProperties) GetSuccessReturnUrl

func (o *PaymentRequestParametersChannelProperties) GetSuccessReturnUrl() string

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

func (*PaymentRequestParametersChannelProperties) GetSuccessReturnUrlOk

func (o *PaymentRequestParametersChannelProperties) 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 (*PaymentRequestParametersChannelProperties) HasCancelReturnUrl

func (o *PaymentRequestParametersChannelProperties) HasCancelReturnUrl() bool

HasCancelReturnUrl returns a boolean if a field has been set.

func (*PaymentRequestParametersChannelProperties) HasCardonfileType

func (o *PaymentRequestParametersChannelProperties) HasCardonfileType() bool

HasCardonfileType returns a boolean if a field has been set.

func (*PaymentRequestParametersChannelProperties) HasCvv

HasCvv returns a boolean if a field has been set.

func (*PaymentRequestParametersChannelProperties) HasFailureReturnUrl

func (o *PaymentRequestParametersChannelProperties) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*PaymentRequestParametersChannelProperties) HasMerchantIdTag

func (o *PaymentRequestParametersChannelProperties) HasMerchantIdTag() bool

HasMerchantIdTag returns a boolean if a field has been set.

func (*PaymentRequestParametersChannelProperties) HasRedeemPoints

func (o *PaymentRequestParametersChannelProperties) HasRedeemPoints() bool

HasRedeemPoints returns a boolean if a field has been set.

func (*PaymentRequestParametersChannelProperties) HasRequireAuth

func (o *PaymentRequestParametersChannelProperties) HasRequireAuth() bool

HasRequireAuth returns a boolean if a field has been set.

func (*PaymentRequestParametersChannelProperties) HasSuccessReturnUrl

func (o *PaymentRequestParametersChannelProperties) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (PaymentRequestParametersChannelProperties) MarshalJSON

func (*PaymentRequestParametersChannelProperties) SetCancelReturnUrl

func (o *PaymentRequestParametersChannelProperties) SetCancelReturnUrl(v string)

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

func (*PaymentRequestParametersChannelProperties) SetCardonfileType

func (o *PaymentRequestParametersChannelProperties) SetCardonfileType(v string)

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

func (*PaymentRequestParametersChannelProperties) SetCardonfileTypeNil

func (o *PaymentRequestParametersChannelProperties) SetCardonfileTypeNil()

SetCardonfileTypeNil sets the value for CardonfileType to be an explicit nil

func (*PaymentRequestParametersChannelProperties) SetCvv

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

func (*PaymentRequestParametersChannelProperties) SetFailureReturnUrl

func (o *PaymentRequestParametersChannelProperties) SetFailureReturnUrl(v string)

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

func (*PaymentRequestParametersChannelProperties) SetMerchantIdTag

func (o *PaymentRequestParametersChannelProperties) SetMerchantIdTag(v string)

SetMerchantIdTag gets a reference to the given string and assigns it to the MerchantIdTag field.

func (*PaymentRequestParametersChannelProperties) SetRedeemPoints

func (o *PaymentRequestParametersChannelProperties) SetRedeemPoints(v string)

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

func (*PaymentRequestParametersChannelProperties) SetRequireAuth

func (o *PaymentRequestParametersChannelProperties) SetRequireAuth(v bool)

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

func (*PaymentRequestParametersChannelProperties) SetSuccessReturnUrl

func (o *PaymentRequestParametersChannelProperties) SetSuccessReturnUrl(v string)

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

func (PaymentRequestParametersChannelProperties) ToMap

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

func (*PaymentRequestParametersChannelProperties) UnsetCardonfileType

func (o *PaymentRequestParametersChannelProperties) UnsetCardonfileType()

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

type PaymentRequestParametersChannelPropertiesAllOf

type PaymentRequestParametersChannelPropertiesAllOf struct {
	// Three digit code written on the back of the card (usually called CVV/CVN).
	Cvv *string `json:"cvv,omitempty"`
}

PaymentRequestParametersChannelPropertiesAllOf struct for PaymentRequestParametersChannelPropertiesAllOf

func NewPaymentRequestParametersChannelPropertiesAllOf

func NewPaymentRequestParametersChannelPropertiesAllOf() *PaymentRequestParametersChannelPropertiesAllOf

NewPaymentRequestParametersChannelPropertiesAllOf instantiates a new PaymentRequestParametersChannelPropertiesAllOf 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 NewPaymentRequestParametersChannelPropertiesAllOfWithDefaults

func NewPaymentRequestParametersChannelPropertiesAllOfWithDefaults() *PaymentRequestParametersChannelPropertiesAllOf

NewPaymentRequestParametersChannelPropertiesAllOfWithDefaults instantiates a new PaymentRequestParametersChannelPropertiesAllOf 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 (*PaymentRequestParametersChannelPropertiesAllOf) GetCvv

GetCvv returns the Cvv field value if set, zero value otherwise.

func (*PaymentRequestParametersChannelPropertiesAllOf) GetCvvOk

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

func (*PaymentRequestParametersChannelPropertiesAllOf) HasCvv

HasCvv returns a boolean if a field has been set.

func (PaymentRequestParametersChannelPropertiesAllOf) MarshalJSON

func (*PaymentRequestParametersChannelPropertiesAllOf) SetCvv

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

func (PaymentRequestParametersChannelPropertiesAllOf) ToMap

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

type PaymentRequestShippingInformation

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

PaymentRequestShippingInformation struct for PaymentRequestShippingInformation

func NewPaymentRequestShippingInformation

func NewPaymentRequestShippingInformation(country string) *PaymentRequestShippingInformation

NewPaymentRequestShippingInformation instantiates a new PaymentRequestShippingInformation 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 NewPaymentRequestShippingInformationWithDefaults

func NewPaymentRequestShippingInformationWithDefaults() *PaymentRequestShippingInformation

NewPaymentRequestShippingInformationWithDefaults instantiates a new PaymentRequestShippingInformation 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 (*PaymentRequestShippingInformation) GetCity

GetCity returns the City field value if set, zero value otherwise.

func (*PaymentRequestShippingInformation) GetCityOk

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

func (*PaymentRequestShippingInformation) GetCountry

func (o *PaymentRequestShippingInformation) GetCountry() string

GetCountry returns the Country field value

func (*PaymentRequestShippingInformation) GetCountryOk

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

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

func (*PaymentRequestShippingInformation) GetPostalCode

func (o *PaymentRequestShippingInformation) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*PaymentRequestShippingInformation) GetPostalCodeOk

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

func (*PaymentRequestShippingInformation) GetProvinceState

func (o *PaymentRequestShippingInformation) GetProvinceState() string

GetProvinceState returns the ProvinceState field value if set, zero value otherwise.

func (*PaymentRequestShippingInformation) GetProvinceStateOk

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

func (*PaymentRequestShippingInformation) GetStreetLine1

func (o *PaymentRequestShippingInformation) GetStreetLine1() string

GetStreetLine1 returns the StreetLine1 field value if set, zero value otherwise.

func (*PaymentRequestShippingInformation) GetStreetLine1Ok

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

func (*PaymentRequestShippingInformation) GetStreetLine2

func (o *PaymentRequestShippingInformation) GetStreetLine2() string

GetStreetLine2 returns the StreetLine2 field value if set, zero value otherwise.

func (*PaymentRequestShippingInformation) GetStreetLine2Ok

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

func (*PaymentRequestShippingInformation) HasCity

HasCity returns a boolean if a field has been set.

func (*PaymentRequestShippingInformation) HasPostalCode

func (o *PaymentRequestShippingInformation) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*PaymentRequestShippingInformation) HasProvinceState

func (o *PaymentRequestShippingInformation) HasProvinceState() bool

HasProvinceState returns a boolean if a field has been set.

func (*PaymentRequestShippingInformation) HasStreetLine1

func (o *PaymentRequestShippingInformation) HasStreetLine1() bool

HasStreetLine1 returns a boolean if a field has been set.

func (*PaymentRequestShippingInformation) HasStreetLine2

func (o *PaymentRequestShippingInformation) HasStreetLine2() bool

HasStreetLine2 returns a boolean if a field has been set.

func (PaymentRequestShippingInformation) MarshalJSON

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

func (*PaymentRequestShippingInformation) SetCity

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

func (*PaymentRequestShippingInformation) SetCountry

func (o *PaymentRequestShippingInformation) SetCountry(v string)

SetCountry sets field value

func (*PaymentRequestShippingInformation) SetPostalCode

func (o *PaymentRequestShippingInformation) SetPostalCode(v string)

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

func (*PaymentRequestShippingInformation) SetProvinceState

func (o *PaymentRequestShippingInformation) SetProvinceState(v string)

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

func (*PaymentRequestShippingInformation) SetStreetLine1

func (o *PaymentRequestShippingInformation) SetStreetLine1(v string)

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

func (*PaymentRequestShippingInformation) SetStreetLine2

func (o *PaymentRequestShippingInformation) SetStreetLine2(v string)

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

func (PaymentRequestShippingInformation) ToMap

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

type PaymentRequestStatus

type PaymentRequestStatus string

PaymentRequestStatus the model 'PaymentRequestStatus'

const (
	PAYMENTREQUESTSTATUS_PENDING                      PaymentRequestStatus = "PENDING"
	PAYMENTREQUESTSTATUS_REQUIRES_ACTION              PaymentRequestStatus = "REQUIRES_ACTION"
	PAYMENTREQUESTSTATUS_CANCELED                     PaymentRequestStatus = "CANCELED"
	PAYMENTREQUESTSTATUS_SUCCEEDED                    PaymentRequestStatus = "SUCCEEDED"
	PAYMENTREQUESTSTATUS_FAILED                       PaymentRequestStatus = "FAILED"
	PAYMENTREQUESTSTATUS_VOIDED                       PaymentRequestStatus = "VOIDED"
	PAYMENTREQUESTSTATUS_UNKNOWN                      PaymentRequestStatus = "UNKNOWN"
	PAYMENTREQUESTSTATUS_AWAITING_CAPTURE             PaymentRequestStatus = "AWAITING_CAPTURE"
	PAYMENTREQUESTSTATUS_XENDIT_ENUM_DEFAULT_FALLBACK PaymentRequestStatus = "UNKNOWN_ENUM_VALUE"
)

List of PaymentRequestStatus

func NewPaymentRequestStatusFromValue

func NewPaymentRequestStatusFromValue(v string) (*PaymentRequestStatus, error)

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

func (PaymentRequestStatus) IsValid

func (v PaymentRequestStatus) IsValid() bool

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

func (PaymentRequestStatus) Ptr

Ptr returns reference to PaymentRequestStatus value

func (PaymentRequestStatus) String

func (v PaymentRequestStatus) String() string

func (*PaymentRequestStatus) UnmarshalJSON

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

type QRCode

type QRCode struct {
	ChannelCode       NullableQRCodeChannelCode `json:"channel_code,omitempty"`
	ChannelProperties *QRCodeChannelProperties  `json:"channel_properties,omitempty"`
}

QRCode QRCode 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) 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.

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.

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) MarshalJSON

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

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 QRCodeChannelProperties and assigns it to the ChannelProperties field.

func (QRCode) ToMap

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

func (*QRCode) UnsetChannelCode

func (o *QRCode) UnsetChannelCode()

UnsetChannelCode ensures that no value is present for ChannelCode, 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_LINKAJA                      QRCodeChannelCode = "LINKAJA"
	QRCODECHANNELCODE_PROMPTPAY                    QRCodeChannelCode = "PROMPTPAY"
	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 {
	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 {
	ChannelCode       NullableQRCodeChannelCode `json:"channel_code,omitempty"`
	ChannelProperties *QRCodeChannelProperties  `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) 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.

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.

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) MarshalJSON

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

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 QRCodeChannelProperties and assigns it to the ChannelProperties field.

func (QRCodeParameters) ToMap

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

func (*QRCodeParameters) UnsetChannelCode

func (o *QRCodeParameters) UnsetChannelCode()

UnsetChannelCode ensures that no value is present for ChannelCode, not even an explicit nil

type VirtualAccount

type VirtualAccount struct {
	MinAmount         NullableFloat64                 `json:"min_amount,omitempty"`
	MaxAmount         NullableFloat64                 `json:"max_amount,omitempty"`
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	Currency          *PaymentRequestCurrency         `json:"currency,omitempty"`
	ChannelCode       VirtualAccountChannelCode       `json:"channel_code"`
	ChannelProperties VirtualAccountChannelProperties `json:"channel_properties"`
	// 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() PaymentRequestCurrency

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

func (*VirtualAccount) GetCurrencyOk

func (o *VirtualAccount) GetCurrencyOk() (*PaymentRequestCurrency, 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 PaymentRequestCurrency)

SetCurrency gets a reference to the given PaymentRequestCurrency 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_BNC                          VirtualAccountChannelCode = "BNC"
	VIRTUALACCOUNTCHANNELCODE_HANA                         VirtualAccountChannelCode = "HANA"
	VIRTUALACCOUNTCHANNELCODE_MUAMALAT                     VirtualAccountChannelCode = "MUAMALAT"
	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"`
	// 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(customerName string) *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

func (*VirtualAccountChannelProperties) GetCustomerNameOk

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

GetCustomerNameOk returns a tuple with the CustomerName field value 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) 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 sets field value

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 VirtualAccountParameters

type VirtualAccountParameters struct {
	MinAmount         NullableFloat64                 `json:"min_amount,omitempty"`
	MaxAmount         NullableFloat64                 `json:"max_amount,omitempty"`
	Amount            NullableFloat64                 `json:"amount,omitempty"`
	Currency          *PaymentRequestCurrency         `json:"currency,omitempty"`
	ChannelCode       VirtualAccountChannelCode       `json:"channel_code"`
	ChannelProperties VirtualAccountChannelProperties `json:"channel_properties"`
	// 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

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

func (*VirtualAccountParameters) GetCurrencyOk

func (o *VirtualAccountParameters) GetCurrencyOk() (*PaymentRequestCurrency, 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

SetCurrency gets a reference to the given PaymentRequestCurrency 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL