payment_request

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator; DO NOT EDIT.

Code generated by Xendit OpenAPI Generator; DO NOT EDIT.

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

All allowed values of DirectDebitChannelCode enum

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

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

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

All allowed values of OverTheCounterChannelCode enum

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

All allowed values of PaymentMethodReusability enum

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

All allowed values of PaymentMethodStatus enum

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

All allowed values of PaymentMethodType enum

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

All allowed values of PaymentRequestCaptureMethod enum

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

All allowed values of PaymentRequestCountry enum

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

All allowed values of PaymentRequestCurrency enum

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

All allowed values of PaymentRequestInitiator enum

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

All allowed values of PaymentRequestStatus enum

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

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

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

func (r ApiAuthorizePaymentRequestRequest) PublicPaymentRequestAuthorize(publicPaymentRequestAuthorize PublicPaymentRequestAuthorize) ApiAuthorizePaymentRequestRequest

type ApiCapturePaymentRequestRequest

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

func (ApiCapturePaymentRequestRequest) CreateCapture

func (ApiCapturePaymentRequestRequest) Execute

type ApiCreatePaymentRequestRequest

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

func (ApiCreatePaymentRequestRequest) Execute

func (ApiCreatePaymentRequestRequest) IdempotencyKey

func (r ApiCreatePaymentRequestRequest) IdempotencyKey(idempotencyKey string) ApiCreatePaymentRequestRequest

func (ApiCreatePaymentRequestRequest) PublicCreatePaymentRequestSDK

func (r ApiCreatePaymentRequestRequest) PublicCreatePaymentRequestSDK(publicCreatePaymentRequestSDK PublicCreatePaymentRequestSDK) 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) Id

func (ApiGetAllPaymentRequestsRequest) Limit

func (ApiGetAllPaymentRequestsRequest) ReferenceId

type ApiGetPaymentRequestByIDRequest

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

func (ApiGetPaymentRequestByIDRequest) Execute

type ApiGetPaymentRequestCapturesRequest

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

func (ApiGetPaymentRequestCapturesRequest) AfterId

func (ApiGetPaymentRequestCapturesRequest) BeforeId

func (ApiGetPaymentRequestCapturesRequest) Execute

func (ApiGetPaymentRequestCapturesRequest) Limit

type ApiResendPaymentRequestAuthRequest

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

func (ApiResendPaymentRequestAuthRequest) Execute

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     PublicPaymentMethod    `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 PublicPaymentMethod, 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() PublicPaymentMethod

GetPaymentMethod returns the PaymentMethod field value

func (*Capture) GetPaymentMethodOk

func (o *Capture) GetPaymentMethodOk() (*PublicPaymentMethod, 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 PublicPaymentMethod)

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 CardChannelProperties

type CardChannelProperties struct {
	// To indicate whether to perform 3DS during the linking phase
	SkipThreeDSecure *bool `json:"skip_three_d_secure,omitempty"`
	// 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"`
	// Type of “credential-on-file” / “card-on-file” payment being made. Indicate that this payment uses a previously linked Payment Method for charging.
	CardonfileType *string `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.

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.

func (*CardChannelProperties) GetFailureReturnUrl

func (o *CardChannelProperties) GetFailureReturnUrl() string

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

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.

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.

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.

func (*CardChannelProperties) GetSuccessReturnUrl

func (o *CardChannelProperties) GetSuccessReturnUrl() string

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

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.

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

func (*CardChannelProperties) SetFailureReturnUrl

func (o *CardChannelProperties) SetFailureReturnUrl(v string)

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

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 bool and assigns it to the SkipThreeDSecure field.

func (*CardChannelProperties) SetSuccessReturnUrl

func (o *CardChannelProperties) SetSuccessReturnUrl(v string)

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

func (CardChannelProperties) ToMap

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

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"`
	CvvResult                 NullableString                      `json:"cvv_result,omitempty"`
	AddressVerificationResult NullableString                      `json:"address_verification_result,omitempty"`
}

CardVerificationResults struct for CardVerificationResults

func NewCardVerificationResults

func NewCardVerificationResults(threeDSecure CardVerificationResultsThreeDSecure) *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

func (*CardVerificationResults) GetThreeDSecureOk

GetThreeDSecureOk returns a tuple with the ThreeDSecure field value 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) MarshalJSON

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

func (*CardVerificationResults) SetAddressVerificationResult

func (o *CardVerificationResults) SetAddressVerificationResult(v string)

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

func (*CardVerificationResults) SetAddressVerificationResultNil

func (o *CardVerificationResults) SetAddressVerificationResultNil()

SetAddressVerificationResultNil sets the value for AddressVerificationResult to be an explicit nil

func (*CardVerificationResults) SetCvvResult

func (o *CardVerificationResults) SetCvvResult(v string)

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

func (*CardVerificationResults) SetCvvResultNil

func (o *CardVerificationResults) SetCvvResultNil()

SetCvvResultNil sets the value for CvvResult to be an explicit nil

func (*CardVerificationResults) SetThreeDSecure

SetThreeDSecure sets field value

func (CardVerificationResults) ToMap

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

func (*CardVerificationResults) UnsetAddressVerificationResult

func (o *CardVerificationResults) UnsetAddressVerificationResult()

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

func (*CardVerificationResults) UnsetCvvResult

func (o *CardVerificationResults) UnsetCvvResult()

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

type CardVerificationResultsThreeDSecure

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

CardVerificationResultsThreeDSecure struct for CardVerificationResultsThreeDSecure

func NewCardVerificationResultsThreeDSecure

func NewCardVerificationResultsThreeDSecure() *CardVerificationResultsThreeDSecure

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

func NewCardVerificationResultsThreeDSecureWithDefaults

func NewCardVerificationResultsThreeDSecureWithDefaults() *CardVerificationResultsThreeDSecure

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

func (*CardVerificationResultsThreeDSecure) GetEciCode

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

func (*CardVerificationResultsThreeDSecure) GetEciCodeOk

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

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

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureFlow

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureFlow() string

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

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureFlowOk

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

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

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureResult

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureResult() string

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

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureResultOk

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

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

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureResultReason

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureResultReason() string

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

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureResultReasonOk

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

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

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureVersion

func (o *CardVerificationResultsThreeDSecure) GetThreeDSecureVersion() string

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

func (*CardVerificationResultsThreeDSecure) GetThreeDSecureVersionOk

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

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

func (*CardVerificationResultsThreeDSecure) HasEciCode

func (o *CardVerificationResultsThreeDSecure) HasEciCode() bool

HasEciCode returns a boolean if a field has been set.

func (*CardVerificationResultsThreeDSecure) HasThreeDSecureFlow

func (o *CardVerificationResultsThreeDSecure) HasThreeDSecureFlow() bool

HasThreeDSecureFlow returns a boolean if a field has been set.

func (*CardVerificationResultsThreeDSecure) HasThreeDSecureResult

func (o *CardVerificationResultsThreeDSecure) HasThreeDSecureResult() bool

HasThreeDSecureResult returns a boolean if a field has been set.

func (*CardVerificationResultsThreeDSecure) HasThreeDSecureResultReason

func (o *CardVerificationResultsThreeDSecure) HasThreeDSecureResultReason() bool

HasThreeDSecureResultReason returns a boolean if a field has been set.

func (*CardVerificationResultsThreeDSecure) HasThreeDSecureVersion

func (o *CardVerificationResultsThreeDSecure) HasThreeDSecureVersion() bool

HasThreeDSecureVersion returns a boolean if a field has been set.

func (CardVerificationResultsThreeDSecure) MarshalJSON

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

func (*CardVerificationResultsThreeDSecure) SetEciCode

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

func (*CardVerificationResultsThreeDSecure) SetEciCodeNil

func (o *CardVerificationResultsThreeDSecure) SetEciCodeNil()

SetEciCodeNil sets the value for EciCode to be an explicit nil

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureFlow

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureFlow(v string)

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

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureFlowNil

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureFlowNil()

SetThreeDSecureFlowNil sets the value for ThreeDSecureFlow to be an explicit nil

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureResult

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureResult(v string)

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

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureResultNil

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureResultNil()

SetThreeDSecureResultNil sets the value for ThreeDSecureResult to be an explicit nil

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureResultReason

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureResultReason(v string)

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

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureResultReasonNil

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureResultReasonNil()

SetThreeDSecureResultReasonNil sets the value for ThreeDSecureResultReason to be an explicit nil

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureVersion

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureVersion(v string)

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

func (*CardVerificationResultsThreeDSecure) SetThreeDSecureVersionNil

func (o *CardVerificationResultsThreeDSecure) SetThreeDSecureVersionNil()

SetThreeDSecureVersionNil sets the value for ThreeDSecureVersion to be an explicit nil

func (CardVerificationResultsThreeDSecure) ToMap

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

func (*CardVerificationResultsThreeDSecure) UnsetEciCode

func (o *CardVerificationResultsThreeDSecure) UnsetEciCode()

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

func (*CardVerificationResultsThreeDSecure) UnsetThreeDSecureFlow

func (o *CardVerificationResultsThreeDSecure) UnsetThreeDSecureFlow()

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

func (*CardVerificationResultsThreeDSecure) UnsetThreeDSecureResult

func (o *CardVerificationResultsThreeDSecure) UnsetThreeDSecureResult()

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

func (*CardVerificationResultsThreeDSecure) UnsetThreeDSecureResultReason

func (o *CardVerificationResultsThreeDSecure) UnsetThreeDSecureResultReason()

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

func (*CardVerificationResultsThreeDSecure) UnsetThreeDSecureVersion

func (o *CardVerificationResultsThreeDSecure) UnsetThreeDSecureVersion()

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

type CreateCapture

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

CreateCapture struct for CreateCapture

func NewCreateCapture

func NewCreateCapture(captureAmount float64) *CreateCapture

NewCreateCapture instantiates a new CreateCapture 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 NewCreateCaptureWithDefaults

func NewCreateCaptureWithDefaults() *CreateCapture

NewCreateCaptureWithDefaults instantiates a new CreateCapture 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 (*CreateCapture) GetCaptureAmount

func (o *CreateCapture) GetCaptureAmount() float64

GetCaptureAmount returns the CaptureAmount field value

func (*CreateCapture) GetCaptureAmountOk

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

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

func (*CreateCapture) GetReferenceId

func (o *CreateCapture) GetReferenceId() string

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

func (*CreateCapture) GetReferenceIdOk

func (o *CreateCapture) 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 (*CreateCapture) HasReferenceId

func (o *CreateCapture) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (CreateCapture) MarshalJSON

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

func (*CreateCapture) SetCaptureAmount

func (o *CreateCapture) SetCaptureAmount(v float64)

SetCaptureAmount sets field value

func (*CreateCapture) SetReferenceId

func (o *CreateCapture) SetReferenceId(v string)

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

func (*CreateCapture) SetReferenceIdNil

func (o *CreateCapture) SetReferenceIdNil()

SetReferenceIdNil sets the value for ReferenceId to be an explicit nil

func (CreateCapture) ToMap

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

func (*CreateCapture) UnsetReferenceId

func (o *CreateCapture) UnsetReferenceId()

UnsetReferenceId ensures that no value is present for ReferenceId, 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"
)

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

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

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 General

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

General struct for General

func NewGeneral

func NewGeneral() *General

NewGeneral instantiates a new General 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 NewGeneralWithDefaults

func NewGeneralWithDefaults() *General

NewGeneralWithDefaults instantiates a new General 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 (*General) GetErrorCode

func (o *General) GetErrorCode() string

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

func (*General) GetErrorCodeOk

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

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

func (*General) GetMessage

func (o *General) GetMessage() string

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

func (*General) GetMessageOk

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

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

func (*General) HasErrorCode

func (o *General) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*General) HasMessage

func (o *General) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (General) MarshalJSON

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

func (*General) SetErrorCode

func (o *General) SetErrorCode(v string)

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

func (*General) SetMessage

func (o *General) SetMessage(v string)

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

func (General) ToMap

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

type MappedNullable

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

type MutableCard

type MutableCard struct {
	Currency                PaymentRequestCurrency          `json:"currency"`
	ChannelProperties       CardChannelProperties           `json:"channel_properties"`
	CardInformation         CardInformation                 `json:"card_information"`
	CardVerificationResults NullableCardVerificationResults `json:"card_verification_results,omitempty"`
	Token                   map[string]interface{}          `json:"token,omitempty"`
}

MutableCard struct for MutableCard

func NewMutableCard

func NewMutableCard(currency PaymentRequestCurrency, channelProperties CardChannelProperties, cardInformation CardInformation) *MutableCard

NewMutableCard instantiates a new MutableCard 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 NewMutableCardWithDefaults

func NewMutableCardWithDefaults() *MutableCard

NewMutableCardWithDefaults instantiates a new MutableCard 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 (*MutableCard) GetCardInformation

func (o *MutableCard) GetCardInformation() CardInformation

GetCardInformation returns the CardInformation field value

func (*MutableCard) GetCardInformationOk

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

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

func (*MutableCard) GetCardVerificationResults

func (o *MutableCard) GetCardVerificationResults() CardVerificationResults

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

func (*MutableCard) GetCardVerificationResultsOk

func (o *MutableCard) 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 (*MutableCard) GetChannelProperties

func (o *MutableCard) GetChannelProperties() CardChannelProperties

GetChannelProperties returns the ChannelProperties field value

func (*MutableCard) GetChannelPropertiesOk

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

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

func (*MutableCard) GetCurrency

func (o *MutableCard) GetCurrency() PaymentRequestCurrency

GetCurrency returns the Currency field value

func (*MutableCard) GetCurrencyOk

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

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

func (*MutableCard) GetToken

func (o *MutableCard) GetToken() map[string]interface{}

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

func (*MutableCard) GetTokenOk

func (o *MutableCard) GetTokenOk() (map[string]interface{}, bool)

GetTokenOk returns a tuple with the Token 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 (*MutableCard) HasCardVerificationResults

func (o *MutableCard) HasCardVerificationResults() bool

HasCardVerificationResults returns a boolean if a field has been set.

func (*MutableCard) HasToken

func (o *MutableCard) HasToken() bool

HasToken returns a boolean if a field has been set.

func (MutableCard) MarshalJSON

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

func (*MutableCard) SetCardInformation

func (o *MutableCard) SetCardInformation(v CardInformation)

SetCardInformation sets field value

func (*MutableCard) SetCardVerificationResults

func (o *MutableCard) SetCardVerificationResults(v CardVerificationResults)

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

func (*MutableCard) SetCardVerificationResultsNil

func (o *MutableCard) SetCardVerificationResultsNil()

SetCardVerificationResultsNil sets the value for CardVerificationResults to be an explicit nil

func (*MutableCard) SetChannelProperties

func (o *MutableCard) SetChannelProperties(v CardChannelProperties)

SetChannelProperties sets field value

func (*MutableCard) SetCurrency

func (o *MutableCard) SetCurrency(v PaymentRequestCurrency)

SetCurrency sets field value

func (*MutableCard) SetToken

func (o *MutableCard) SetToken(v map[string]interface{})

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

func (MutableCard) ToMap

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

func (*MutableCard) UnsetCardVerificationResults

func (o *MutableCard) UnsetCardVerificationResults()

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

type MutableDirectDebit

type MutableDirectDebit struct {
	ChannelCode       DirectDebitChannelCode               `json:"channel_code"`
	ChannelProperties NullableDirectDebitChannelProperties `json:"channel_properties"`
	Type              *DirectDebitType                     `json:"type,omitempty"`
}

MutableDirectDebit struct for MutableDirectDebit

func NewMutableDirectDebit

func NewMutableDirectDebit(channelCode DirectDebitChannelCode, channelProperties NullableDirectDebitChannelProperties) *MutableDirectDebit

NewMutableDirectDebit instantiates a new MutableDirectDebit 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 NewMutableDirectDebitWithDefaults

func NewMutableDirectDebitWithDefaults() *MutableDirectDebit

NewMutableDirectDebitWithDefaults instantiates a new MutableDirectDebit 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 (*MutableDirectDebit) GetChannelCode

func (o *MutableDirectDebit) GetChannelCode() DirectDebitChannelCode

GetChannelCode returns the ChannelCode field value

func (*MutableDirectDebit) GetChannelCodeOk

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

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

func (*MutableDirectDebit) GetChannelProperties

func (o *MutableDirectDebit) GetChannelProperties() DirectDebitChannelProperties

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

func (*MutableDirectDebit) GetChannelPropertiesOk

func (o *MutableDirectDebit) 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 (*MutableDirectDebit) GetType

func (o *MutableDirectDebit) GetType() DirectDebitType

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

func (*MutableDirectDebit) GetTypeOk

func (o *MutableDirectDebit) 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 (*MutableDirectDebit) HasType

func (o *MutableDirectDebit) HasType() bool

HasType returns a boolean if a field has been set.

func (MutableDirectDebit) MarshalJSON

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

func (*MutableDirectDebit) SetChannelCode

func (o *MutableDirectDebit) SetChannelCode(v DirectDebitChannelCode)

SetChannelCode sets field value

func (*MutableDirectDebit) SetChannelProperties

func (o *MutableDirectDebit) SetChannelProperties(v DirectDebitChannelProperties)

SetChannelProperties sets field value

func (*MutableDirectDebit) SetType

func (o *MutableDirectDebit) SetType(v DirectDebitType)

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

func (MutableDirectDebit) ToMap

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

type MutableEwallet

type MutableEwallet struct {
	ChannelCode       *EwalletChannelCode       `json:"channel_code,omitempty"`
	ChannelProperties *EwalletChannelProperties `json:"channel_properties,omitempty"`
}

MutableEwallet struct for MutableEwallet

func NewMutableEwallet

func NewMutableEwallet() *MutableEwallet

NewMutableEwallet instantiates a new MutableEwallet 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 NewMutableEwalletWithDefaults

func NewMutableEwalletWithDefaults() *MutableEwallet

NewMutableEwalletWithDefaults instantiates a new MutableEwallet 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 (*MutableEwallet) GetChannelCode

func (o *MutableEwallet) GetChannelCode() EwalletChannelCode

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

func (*MutableEwallet) GetChannelCodeOk

func (o *MutableEwallet) 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 (*MutableEwallet) GetChannelProperties

func (o *MutableEwallet) GetChannelProperties() EwalletChannelProperties

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

func (*MutableEwallet) GetChannelPropertiesOk

func (o *MutableEwallet) 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 (*MutableEwallet) HasChannelCode

func (o *MutableEwallet) HasChannelCode() bool

HasChannelCode returns a boolean if a field has been set.

func (*MutableEwallet) HasChannelProperties

func (o *MutableEwallet) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (MutableEwallet) MarshalJSON

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

func (*MutableEwallet) SetChannelCode

func (o *MutableEwallet) SetChannelCode(v EwalletChannelCode)

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

func (*MutableEwallet) SetChannelProperties

func (o *MutableEwallet) SetChannelProperties(v EwalletChannelProperties)

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

func (MutableEwallet) ToMap

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

type MutableOverTheCounter

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

MutableOverTheCounter struct for MutableOverTheCounter

func NewMutableOverTheCounter

func NewMutableOverTheCounter(channelCode OverTheCounterChannelCode, channelProperties OverTheCounterChannelProperties) *MutableOverTheCounter

NewMutableOverTheCounter instantiates a new MutableOverTheCounter 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 NewMutableOverTheCounterWithDefaults

func NewMutableOverTheCounterWithDefaults() *MutableOverTheCounter

NewMutableOverTheCounterWithDefaults instantiates a new MutableOverTheCounter 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 (*MutableOverTheCounter) GetAmount

func (o *MutableOverTheCounter) GetAmount() float64

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

func (*MutableOverTheCounter) GetAmountOk

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

GetChannelCode returns the ChannelCode field value

func (*MutableOverTheCounter) GetChannelCodeOk

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

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

func (*MutableOverTheCounter) GetChannelProperties

func (o *MutableOverTheCounter) GetChannelProperties() OverTheCounterChannelProperties

GetChannelProperties returns the ChannelProperties field value

func (*MutableOverTheCounter) GetChannelPropertiesOk

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

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

func (*MutableOverTheCounter) GetCurrency

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

func (*MutableOverTheCounter) GetCurrencyOk

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

func (o *MutableOverTheCounter) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*MutableOverTheCounter) HasCurrency

func (o *MutableOverTheCounter) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (MutableOverTheCounter) MarshalJSON

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

func (*MutableOverTheCounter) SetAmount

func (o *MutableOverTheCounter) SetAmount(v float64)

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

func (*MutableOverTheCounter) SetAmountNil

func (o *MutableOverTheCounter) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*MutableOverTheCounter) SetChannelCode

func (o *MutableOverTheCounter) SetChannelCode(v OverTheCounterChannelCode)

SetChannelCode sets field value

func (*MutableOverTheCounter) SetChannelProperties

func (o *MutableOverTheCounter) SetChannelProperties(v OverTheCounterChannelProperties)

SetChannelProperties sets field value

func (*MutableOverTheCounter) SetCurrency

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

func (MutableOverTheCounter) ToMap

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

func (*MutableOverTheCounter) UnsetAmount

func (o *MutableOverTheCounter) UnsetAmount()

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

type MutableQRCode

type MutableQRCode struct {
	ChannelCode       NullableQRCodeChannelCode `json:"channel_code,omitempty"`
	ChannelProperties *QRCodeChannelProperties  `json:"channel_properties,omitempty"`
}

MutableQRCode struct for MutableQRCode

func NewMutableQRCode

func NewMutableQRCode() *MutableQRCode

NewMutableQRCode instantiates a new MutableQRCode 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 NewMutableQRCodeWithDefaults

func NewMutableQRCodeWithDefaults() *MutableQRCode

NewMutableQRCodeWithDefaults instantiates a new MutableQRCode 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 (*MutableQRCode) GetChannelCode

func (o *MutableQRCode) GetChannelCode() QRCodeChannelCode

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

func (*MutableQRCode) GetChannelCodeOk

func (o *MutableQRCode) 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 (*MutableQRCode) GetChannelProperties

func (o *MutableQRCode) GetChannelProperties() QRCodeChannelProperties

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

func (*MutableQRCode) GetChannelPropertiesOk

func (o *MutableQRCode) 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 (*MutableQRCode) HasChannelCode

func (o *MutableQRCode) HasChannelCode() bool

HasChannelCode returns a boolean if a field has been set.

func (*MutableQRCode) HasChannelProperties

func (o *MutableQRCode) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (MutableQRCode) MarshalJSON

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

func (*MutableQRCode) SetChannelCode

func (o *MutableQRCode) SetChannelCode(v QRCodeChannelCode)

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

func (*MutableQRCode) SetChannelCodeNil

func (o *MutableQRCode) SetChannelCodeNil()

SetChannelCodeNil sets the value for ChannelCode to be an explicit nil

func (*MutableQRCode) SetChannelProperties

func (o *MutableQRCode) SetChannelProperties(v QRCodeChannelProperties)

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

func (MutableQRCode) ToMap

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

func (*MutableQRCode) UnsetChannelCode

func (o *MutableQRCode) UnsetChannelCode()

UnsetChannelCode ensures that no value is present for ChannelCode, not even an explicit nil

type MutableVirtualAccount

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

MutableVirtualAccount struct for MutableVirtualAccount

func NewMutableVirtualAccount

func NewMutableVirtualAccount(channelCode VirtualAccountChannelCode, channelProperties VirtualAccountChannelProperties) *MutableVirtualAccount

NewMutableVirtualAccount instantiates a new MutableVirtualAccount 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 NewMutableVirtualAccountWithDefaults

func NewMutableVirtualAccountWithDefaults() *MutableVirtualAccount

NewMutableVirtualAccountWithDefaults instantiates a new MutableVirtualAccount 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 (*MutableVirtualAccount) GetAlternativeDisplayTypes

func (o *MutableVirtualAccount) GetAlternativeDisplayTypes() []string

GetAlternativeDisplayTypes returns the AlternativeDisplayTypes field value if set, zero value otherwise.

func (*MutableVirtualAccount) GetAlternativeDisplayTypesOk

func (o *MutableVirtualAccount) 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 (*MutableVirtualAccount) GetAmount

func (o *MutableVirtualAccount) GetAmount() float64

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

func (*MutableVirtualAccount) GetAmountOk

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

GetChannelCode returns the ChannelCode field value

func (*MutableVirtualAccount) GetChannelCodeOk

func (o *MutableVirtualAccount) GetChannelCodeOk() (*VirtualAccountChannelCode, bool)

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

func (*MutableVirtualAccount) GetChannelProperties

func (o *MutableVirtualAccount) GetChannelProperties() VirtualAccountChannelProperties

GetChannelProperties returns the ChannelProperties field value

func (*MutableVirtualAccount) GetChannelPropertiesOk

func (o *MutableVirtualAccount) GetChannelPropertiesOk() (*VirtualAccountChannelProperties, bool)

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

func (*MutableVirtualAccount) GetCurrency

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

func (*MutableVirtualAccount) GetCurrencyOk

func (o *MutableVirtualAccount) 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 (*MutableVirtualAccount) GetMaxAmount

func (o *MutableVirtualAccount) GetMaxAmount() float64

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

func (*MutableVirtualAccount) GetMaxAmountOk

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

func (o *MutableVirtualAccount) GetMinAmount() float64

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

func (*MutableVirtualAccount) GetMinAmountOk

func (o *MutableVirtualAccount) 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 (*MutableVirtualAccount) HasAlternativeDisplayTypes

func (o *MutableVirtualAccount) HasAlternativeDisplayTypes() bool

HasAlternativeDisplayTypes returns a boolean if a field has been set.

func (*MutableVirtualAccount) HasAmount

func (o *MutableVirtualAccount) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*MutableVirtualAccount) HasCurrency

func (o *MutableVirtualAccount) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*MutableVirtualAccount) HasMaxAmount

func (o *MutableVirtualAccount) HasMaxAmount() bool

HasMaxAmount returns a boolean if a field has been set.

func (*MutableVirtualAccount) HasMinAmount

func (o *MutableVirtualAccount) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (MutableVirtualAccount) MarshalJSON

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

func (*MutableVirtualAccount) SetAlternativeDisplayTypes

func (o *MutableVirtualAccount) SetAlternativeDisplayTypes(v []string)

SetAlternativeDisplayTypes gets a reference to the given []string and assigns it to the AlternativeDisplayTypes field.

func (*MutableVirtualAccount) SetAmount

func (o *MutableVirtualAccount) SetAmount(v float64)

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

func (*MutableVirtualAccount) SetAmountNil

func (o *MutableVirtualAccount) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*MutableVirtualAccount) SetChannelCode

func (o *MutableVirtualAccount) SetChannelCode(v VirtualAccountChannelCode)

SetChannelCode sets field value

func (*MutableVirtualAccount) SetChannelProperties

func (o *MutableVirtualAccount) SetChannelProperties(v VirtualAccountChannelProperties)

SetChannelProperties sets field value

func (*MutableVirtualAccount) SetCurrency

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

func (*MutableVirtualAccount) SetMaxAmount

func (o *MutableVirtualAccount) SetMaxAmount(v float64)

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

func (*MutableVirtualAccount) SetMaxAmountNil

func (o *MutableVirtualAccount) SetMaxAmountNil()

SetMaxAmountNil sets the value for MaxAmount to be an explicit nil

func (*MutableVirtualAccount) SetMinAmount

func (o *MutableVirtualAccount) SetMinAmount(v float64)

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

func (*MutableVirtualAccount) SetMinAmountNil

func (o *MutableVirtualAccount) SetMinAmountNil()

SetMinAmountNil sets the value for MinAmount to be an explicit nil

func (MutableVirtualAccount) ToMap

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

func (*MutableVirtualAccount) UnsetAmount

func (o *MutableVirtualAccount) UnsetAmount()

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

func (*MutableVirtualAccount) UnsetMaxAmount

func (o *MutableVirtualAccount) UnsetMaxAmount()

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

func (*MutableVirtualAccount) UnsetMinAmount

func (o *MutableVirtualAccount) UnsetMinAmount()

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

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 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 NullableCreateCapture

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

func NewNullableCreateCapture

func NewNullableCreateCapture(val *CreateCapture) *NullableCreateCapture

func (NullableCreateCapture) Get

func (NullableCreateCapture) IsSet

func (v NullableCreateCapture) IsSet() bool

func (NullableCreateCapture) MarshalJSON

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

func (*NullableCreateCapture) Set

func (v *NullableCreateCapture) Set(val *CreateCapture)

func (*NullableCreateCapture) UnmarshalJSON

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

func (*NullableCreateCapture) Unset

func (v *NullableCreateCapture) 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 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 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 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 NullableGeneral

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

func NewNullableGeneral

func NewNullableGeneral(val *General) *NullableGeneral

func (NullableGeneral) Get

func (v NullableGeneral) Get() *General

func (NullableGeneral) IsSet

func (v NullableGeneral) IsSet() bool

func (NullableGeneral) MarshalJSON

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

func (*NullableGeneral) Set

func (v *NullableGeneral) Set(val *General)

func (*NullableGeneral) UnmarshalJSON

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

func (*NullableGeneral) Unset

func (v *NullableGeneral) 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 NullableMutableCard

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

func NewNullableMutableCard

func NewNullableMutableCard(val *MutableCard) *NullableMutableCard

func (NullableMutableCard) Get

func (NullableMutableCard) IsSet

func (v NullableMutableCard) IsSet() bool

func (NullableMutableCard) MarshalJSON

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

func (*NullableMutableCard) Set

func (v *NullableMutableCard) Set(val *MutableCard)

func (*NullableMutableCard) UnmarshalJSON

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

func (*NullableMutableCard) Unset

func (v *NullableMutableCard) Unset()

type NullableMutableDirectDebit

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

func NewNullableMutableDirectDebit

func NewNullableMutableDirectDebit(val *MutableDirectDebit) *NullableMutableDirectDebit

func (NullableMutableDirectDebit) Get

func (NullableMutableDirectDebit) IsSet

func (v NullableMutableDirectDebit) IsSet() bool

func (NullableMutableDirectDebit) MarshalJSON

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

func (*NullableMutableDirectDebit) Set

func (*NullableMutableDirectDebit) UnmarshalJSON

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

func (*NullableMutableDirectDebit) Unset

func (v *NullableMutableDirectDebit) Unset()

type NullableMutableEwallet

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

func NewNullableMutableEwallet

func NewNullableMutableEwallet(val *MutableEwallet) *NullableMutableEwallet

func (NullableMutableEwallet) Get

func (NullableMutableEwallet) IsSet

func (v NullableMutableEwallet) IsSet() bool

func (NullableMutableEwallet) MarshalJSON

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

func (*NullableMutableEwallet) Set

func (*NullableMutableEwallet) UnmarshalJSON

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

func (*NullableMutableEwallet) Unset

func (v *NullableMutableEwallet) Unset()

type NullableMutableOverTheCounter

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

func (NullableMutableOverTheCounter) Get

func (NullableMutableOverTheCounter) IsSet

func (NullableMutableOverTheCounter) MarshalJSON

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

func (*NullableMutableOverTheCounter) Set

func (*NullableMutableOverTheCounter) UnmarshalJSON

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

func (*NullableMutableOverTheCounter) Unset

func (v *NullableMutableOverTheCounter) Unset()

type NullableMutableQRCode

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

func NewNullableMutableQRCode

func NewNullableMutableQRCode(val *MutableQRCode) *NullableMutableQRCode

func (NullableMutableQRCode) Get

func (NullableMutableQRCode) IsSet

func (v NullableMutableQRCode) IsSet() bool

func (NullableMutableQRCode) MarshalJSON

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

func (*NullableMutableQRCode) Set

func (v *NullableMutableQRCode) Set(val *MutableQRCode)

func (*NullableMutableQRCode) UnmarshalJSON

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

func (*NullableMutableQRCode) Unset

func (v *NullableMutableQRCode) Unset()

type NullableMutableVirtualAccount

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

func (NullableMutableVirtualAccount) Get

func (NullableMutableVirtualAccount) IsSet

func (NullableMutableVirtualAccount) MarshalJSON

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

func (*NullableMutableVirtualAccount) Set

func (*NullableMutableVirtualAccount) UnmarshalJSON

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

func (*NullableMutableVirtualAccount) Unset

func (v *NullableMutableVirtualAccount) 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 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 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 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 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 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 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 NullablePublicChannelPropertiesOverwrite

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

func (NullablePublicChannelPropertiesOverwrite) Get

func (NullablePublicChannelPropertiesOverwrite) IsSet

func (NullablePublicChannelPropertiesOverwrite) MarshalJSON

func (*NullablePublicChannelPropertiesOverwrite) Set

func (*NullablePublicChannelPropertiesOverwrite) UnmarshalJSON

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

func (*NullablePublicChannelPropertiesOverwrite) Unset

type NullablePublicCreatePaymentRequestSDK

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

func (NullablePublicCreatePaymentRequestSDK) Get

func (NullablePublicCreatePaymentRequestSDK) IsSet

func (NullablePublicCreatePaymentRequestSDK) MarshalJSON

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

func (*NullablePublicCreatePaymentRequestSDK) Set

func (*NullablePublicCreatePaymentRequestSDK) UnmarshalJSON

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

func (*NullablePublicCreatePaymentRequestSDK) Unset

type NullablePublicCreatePaymentRequestSDKChannelProperties

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

func (NullablePublicCreatePaymentRequestSDKChannelProperties) Get

func (NullablePublicCreatePaymentRequestSDKChannelProperties) IsSet

func (NullablePublicCreatePaymentRequestSDKChannelProperties) MarshalJSON

func (*NullablePublicCreatePaymentRequestSDKChannelProperties) Set

func (*NullablePublicCreatePaymentRequestSDKChannelProperties) UnmarshalJSON

func (*NullablePublicCreatePaymentRequestSDKChannelProperties) Unset

type NullablePublicCreatePaymentRequestSDKChannelPropertiesAllOf

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

func (NullablePublicCreatePaymentRequestSDKChannelPropertiesAllOf) Get

func (NullablePublicCreatePaymentRequestSDKChannelPropertiesAllOf) IsSet

func (NullablePublicCreatePaymentRequestSDKChannelPropertiesAllOf) MarshalJSON

func (*NullablePublicCreatePaymentRequestSDKChannelPropertiesAllOf) Set

func (*NullablePublicCreatePaymentRequestSDKChannelPropertiesAllOf) UnmarshalJSON

func (*NullablePublicCreatePaymentRequestSDKChannelPropertiesAllOf) Unset

type NullablePublicPaymentMethod

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

func NewNullablePublicPaymentMethod

func NewNullablePublicPaymentMethod(val *PublicPaymentMethod) *NullablePublicPaymentMethod

func (NullablePublicPaymentMethod) Get

func (NullablePublicPaymentMethod) IsSet

func (NullablePublicPaymentMethod) MarshalJSON

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

func (*NullablePublicPaymentMethod) Set

func (*NullablePublicPaymentMethod) UnmarshalJSON

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

func (*NullablePublicPaymentMethod) Unset

func (v *NullablePublicPaymentMethod) Unset()

type NullablePublicPaymentRequest

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

func NewNullablePublicPaymentRequest

func NewNullablePublicPaymentRequest(val *PublicPaymentRequest) *NullablePublicPaymentRequest

func (NullablePublicPaymentRequest) Get

func (NullablePublicPaymentRequest) IsSet

func (NullablePublicPaymentRequest) MarshalJSON

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

func (*NullablePublicPaymentRequest) Set

func (*NullablePublicPaymentRequest) UnmarshalJSON

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

func (*NullablePublicPaymentRequest) Unset

func (v *NullablePublicPaymentRequest) Unset()

type NullablePublicPaymentRequestAuthorize

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

func (NullablePublicPaymentRequestAuthorize) Get

func (NullablePublicPaymentRequestAuthorize) IsSet

func (NullablePublicPaymentRequestAuthorize) MarshalJSON

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

func (*NullablePublicPaymentRequestAuthorize) Set

func (*NullablePublicPaymentRequestAuthorize) UnmarshalJSON

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

func (*NullablePublicPaymentRequestAuthorize) Unset

type NullablePublicPaymentRequestListResponse

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

func (NullablePublicPaymentRequestListResponse) Get

func (NullablePublicPaymentRequestListResponse) IsSet

func (NullablePublicPaymentRequestListResponse) MarshalJSON

func (*NullablePublicPaymentRequestListResponse) Set

func (*NullablePublicPaymentRequestListResponse) UnmarshalJSON

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

func (*NullablePublicPaymentRequestListResponse) Unset

type NullablePublicVirtualAccount

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

func NewNullablePublicVirtualAccount

func NewNullablePublicVirtualAccount(val *PublicVirtualAccount) *NullablePublicVirtualAccount

func (NullablePublicVirtualAccount) Get

func (NullablePublicVirtualAccount) IsSet

func (NullablePublicVirtualAccount) MarshalJSON

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

func (*NullablePublicVirtualAccount) Set

func (*NullablePublicVirtualAccount) UnmarshalJSON

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

func (*NullablePublicVirtualAccount) Unset

func (v *NullablePublicVirtualAccount) Unset()

type NullablePublicVirtualAccountAllOf

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

func (NullablePublicVirtualAccountAllOf) Get

func (NullablePublicVirtualAccountAllOf) IsSet

func (NullablePublicVirtualAccountAllOf) MarshalJSON

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

func (*NullablePublicVirtualAccountAllOf) Set

func (*NullablePublicVirtualAccountAllOf) UnmarshalJSON

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

func (*NullablePublicVirtualAccountAllOf) 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 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 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 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"
)

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 PaymentMethod

type PaymentMethod struct {
	Type           PaymentMethodType             `json:"type"`
	Reusability    PaymentMethodReusability      `json:"reusability"`
	Description    NullableString                `json:"description,omitempty"`
	ReferenceId    *string                       `json:"reference_id,omitempty"`
	DirectDebit    NullableMutableDirectDebit    `json:"direct_debit,omitempty"`
	Ewallet        NullableMutableEwallet        `json:"ewallet,omitempty"`
	OverTheCounter NullableMutableOverTheCounter `json:"over_the_counter,omitempty"`
	VirtualAccount NullableMutableVirtualAccount `json:"virtual_account,omitempty"`
	QrCode         NullableMutableQRCode         `json:"qr_code,omitempty"`
}

PaymentMethod struct for PaymentMethod

func NewPaymentMethod

func NewPaymentMethod(type_ PaymentMethodType, reusability PaymentMethodReusability) *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) 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() MutableDirectDebit

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() (*MutableDirectDebit, 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() MutableEwallet

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() (*MutableEwallet, 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) GetOverTheCounter

func (o *PaymentMethod) GetOverTheCounter() MutableOverTheCounter

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() (*MutableOverTheCounter, 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() MutableQRCode

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() (*MutableQRCode, 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) 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) GetVirtualAccount

func (o *PaymentMethod) GetVirtualAccount() MutableVirtualAccount

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() (*MutableVirtualAccount, 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) 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) 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) 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) 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 MutableDirectDebit)

SetDirectDebit gets a reference to the given NullableMutableDirectDebit 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 MutableEwallet)

SetEwallet gets a reference to the given NullableMutableEwallet 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) SetOverTheCounter

func (o *PaymentMethod) SetOverTheCounter(v MutableOverTheCounter)

SetOverTheCounter gets a reference to the given NullableMutableOverTheCounter 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 MutableQRCode)

SetQrCode gets a reference to the given NullableMutableQRCode 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) SetType

func (o *PaymentMethod) SetType(v PaymentMethodType)

SetType sets field value

func (*PaymentMethod) SetVirtualAccount

func (o *PaymentMethod) SetVirtualAccount(v MutableVirtualAccount)

SetVirtualAccount gets a reference to the given NullableMutableVirtualAccount 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) 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 PaymentMethodReusability

type PaymentMethodReusability string

PaymentMethodReusability the model 'PaymentMethodReusability'

const (
	PAYMENTMETHODREUSABILITY_MULTIPLE_USE PaymentMethodReusability = "MULTIPLE_USE"
	PAYMENTMETHODREUSABILITY_ONE_TIME_USE PaymentMethodReusability = "ONE_TIME_USE"
)

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

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

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 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 {

	/*
		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 PublicPaymentRequest
	AuthorizePaymentRequestExecute(r ApiAuthorizePaymentRequestRequest) (*PublicPaymentRequest, *http.Response, error)

	/*
		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, error)

	/*
		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 PublicPaymentRequest
	CreatePaymentRequestExecute(r ApiCreatePaymentRequestRequest) (*PublicPaymentRequest, *http.Response, error)

	/*
		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 PublicPaymentRequestListResponse
	GetAllPaymentRequestsExecute(r ApiGetAllPaymentRequestsRequest) (*PublicPaymentRequestListResponse, *http.Response, error)

	/*
		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 PublicPaymentRequest
	GetPaymentRequestByIDExecute(r ApiGetPaymentRequestByIDRequest) (*PublicPaymentRequest, *http.Response, error)

	/*
		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, error)

	/*
		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 PublicPaymentRequest
	ResendPaymentRequestAuthExecute(r ApiResendPaymentRequestAuthRequest) (*PublicPaymentRequest, *http.Response, error)
}

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 PublicPaymentRequest

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

func (a *PaymentRequestApiService) CapturePaymentRequestExecute(r ApiCapturePaymentRequestRequest) (*Capture, *http.Response, error)

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 PublicPaymentRequest

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 PublicPaymentRequestListResponse

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 PublicPaymentRequest

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 PublicPaymentRequest

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

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              PaymentRequestCardVerificationResultsThreeDeeSecure `json:"three_d_secure"`
	CvvResult                 *string                                             `json:"cvv_result,omitempty"`
	AddressVerificationResult *string                                             `json:"address_verification_result,omitempty"`
}

PaymentRequestCardVerificationResults struct for PaymentRequestCardVerificationResults

func NewPaymentRequestCardVerificationResults

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

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.

func (*PaymentRequestCardVerificationResults) GetCvvResult

GetCvvResult returns the CvvResult field value if set, zero value otherwise.

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.

func (*PaymentRequestCardVerificationResults) GetThreeDSecure

GetThreeDSecure returns the ThreeDSecure field value

func (*PaymentRequestCardVerificationResults) GetThreeDSecureOk

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

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

func (*PaymentRequestCardVerificationResults) SetCvvResult

func (o *PaymentRequestCardVerificationResults) SetCvvResult(v string)

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

func (*PaymentRequestCardVerificationResults) SetThreeDSecure

SetThreeDSecure sets field value

func (PaymentRequestCardVerificationResults) ToMap

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

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 *string `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.

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.

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

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

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

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

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

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

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 PublicChannelPropertiesOverwrite

type PublicChannelPropertiesOverwrite 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 *string `json:"cardonfile_type,omitempty"`
}

PublicChannelPropertiesOverwrite struct for PublicChannelPropertiesOverwrite

func NewPublicChannelPropertiesOverwrite

func NewPublicChannelPropertiesOverwrite() *PublicChannelPropertiesOverwrite

NewPublicChannelPropertiesOverwrite instantiates a new PublicChannelPropertiesOverwrite 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 NewPublicChannelPropertiesOverwriteWithDefaults

func NewPublicChannelPropertiesOverwriteWithDefaults() *PublicChannelPropertiesOverwrite

NewPublicChannelPropertiesOverwriteWithDefaults instantiates a new PublicChannelPropertiesOverwrite 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 (*PublicChannelPropertiesOverwrite) GetCancelReturnUrl

func (o *PublicChannelPropertiesOverwrite) GetCancelReturnUrl() string

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

func (*PublicChannelPropertiesOverwrite) GetCancelReturnUrlOk

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

func (o *PublicChannelPropertiesOverwrite) GetCardonfileType() string

GetCardonfileType returns the CardonfileType field value if set, zero value otherwise.

func (*PublicChannelPropertiesOverwrite) GetCardonfileTypeOk

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

func (*PublicChannelPropertiesOverwrite) GetFailureReturnUrl

func (o *PublicChannelPropertiesOverwrite) GetFailureReturnUrl() string

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

func (*PublicChannelPropertiesOverwrite) GetFailureReturnUrlOk

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

func (o *PublicChannelPropertiesOverwrite) GetMerchantIdTag() string

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

func (*PublicChannelPropertiesOverwrite) GetMerchantIdTagOk

func (o *PublicChannelPropertiesOverwrite) 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 (*PublicChannelPropertiesOverwrite) GetRedeemPoints

func (o *PublicChannelPropertiesOverwrite) GetRedeemPoints() string

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

func (*PublicChannelPropertiesOverwrite) GetRedeemPointsOk

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

func (o *PublicChannelPropertiesOverwrite) GetRequireAuth() bool

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

func (*PublicChannelPropertiesOverwrite) GetRequireAuthOk

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

func (o *PublicChannelPropertiesOverwrite) GetSuccessReturnUrl() string

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

func (*PublicChannelPropertiesOverwrite) GetSuccessReturnUrlOk

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

func (o *PublicChannelPropertiesOverwrite) HasCancelReturnUrl() bool

HasCancelReturnUrl returns a boolean if a field has been set.

func (*PublicChannelPropertiesOverwrite) HasCardonfileType

func (o *PublicChannelPropertiesOverwrite) HasCardonfileType() bool

HasCardonfileType returns a boolean if a field has been set.

func (*PublicChannelPropertiesOverwrite) HasFailureReturnUrl

func (o *PublicChannelPropertiesOverwrite) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*PublicChannelPropertiesOverwrite) HasMerchantIdTag

func (o *PublicChannelPropertiesOverwrite) HasMerchantIdTag() bool

HasMerchantIdTag returns a boolean if a field has been set.

func (*PublicChannelPropertiesOverwrite) HasRedeemPoints

func (o *PublicChannelPropertiesOverwrite) HasRedeemPoints() bool

HasRedeemPoints returns a boolean if a field has been set.

func (*PublicChannelPropertiesOverwrite) HasRequireAuth

func (o *PublicChannelPropertiesOverwrite) HasRequireAuth() bool

HasRequireAuth returns a boolean if a field has been set.

func (*PublicChannelPropertiesOverwrite) HasSuccessReturnUrl

func (o *PublicChannelPropertiesOverwrite) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (PublicChannelPropertiesOverwrite) MarshalJSON

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

func (*PublicChannelPropertiesOverwrite) SetCancelReturnUrl

func (o *PublicChannelPropertiesOverwrite) SetCancelReturnUrl(v string)

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

func (*PublicChannelPropertiesOverwrite) SetCardonfileType

func (o *PublicChannelPropertiesOverwrite) SetCardonfileType(v string)

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

func (*PublicChannelPropertiesOverwrite) SetFailureReturnUrl

func (o *PublicChannelPropertiesOverwrite) SetFailureReturnUrl(v string)

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

func (*PublicChannelPropertiesOverwrite) SetMerchantIdTag

func (o *PublicChannelPropertiesOverwrite) SetMerchantIdTag(v string)

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

func (*PublicChannelPropertiesOverwrite) SetRedeemPoints

func (o *PublicChannelPropertiesOverwrite) SetRedeemPoints(v string)

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

func (*PublicChannelPropertiesOverwrite) SetRequireAuth

func (o *PublicChannelPropertiesOverwrite) SetRequireAuth(v bool)

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

func (*PublicChannelPropertiesOverwrite) SetSuccessReturnUrl

func (o *PublicChannelPropertiesOverwrite) SetSuccessReturnUrl(v string)

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

func (PublicChannelPropertiesOverwrite) ToMap

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

type PublicCreatePaymentRequestSDK

type PublicCreatePaymentRequestSDK struct {
	ReferenceId         *string                                         `json:"reference_id,omitempty"`
	Amount              *float64                                        `json:"amount,omitempty"`
	Currency            PaymentRequestCurrency                          `json:"currency"`
	PaymentMethod       *PaymentMethod                                  `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   *PublicCreatePaymentRequestSDKChannelProperties `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"`
}

PublicCreatePaymentRequestSDK struct for PublicCreatePaymentRequestSDK

func NewPublicCreatePaymentRequestSDK

func NewPublicCreatePaymentRequestSDK(currency PaymentRequestCurrency) *PublicCreatePaymentRequestSDK

NewPublicCreatePaymentRequestSDK instantiates a new PublicCreatePaymentRequestSDK 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 NewPublicCreatePaymentRequestSDKWithDefaults

func NewPublicCreatePaymentRequestSDKWithDefaults() *PublicCreatePaymentRequestSDK

NewPublicCreatePaymentRequestSDKWithDefaults instantiates a new PublicCreatePaymentRequestSDK 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 (*PublicCreatePaymentRequestSDK) GetAmount

func (o *PublicCreatePaymentRequestSDK) GetAmount() float64

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

func (*PublicCreatePaymentRequestSDK) GetAmountOk

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

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

func (*PublicCreatePaymentRequestSDK) GetCaptureMethodOk

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 (*PublicCreatePaymentRequestSDK) GetChannelProperties

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

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

GetCurrency returns the Currency field value

func (*PublicCreatePaymentRequestSDK) GetCurrencyOk

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

func (*PublicCreatePaymentRequestSDK) GetCustomer

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

func (o *PublicCreatePaymentRequestSDK) GetCustomerId() string

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

func (*PublicCreatePaymentRequestSDK) GetCustomerIdOk

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

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

func (o *PublicCreatePaymentRequestSDK) GetDescription() string

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

func (*PublicCreatePaymentRequestSDK) GetDescriptionOk

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

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

func (*PublicCreatePaymentRequestSDK) GetInitiatorOk

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 (*PublicCreatePaymentRequestSDK) GetItems

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

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

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

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

func (o *PublicCreatePaymentRequestSDK) GetPaymentMethod() PaymentMethod

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

func (*PublicCreatePaymentRequestSDK) GetPaymentMethodId

func (o *PublicCreatePaymentRequestSDK) GetPaymentMethodId() string

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

func (*PublicCreatePaymentRequestSDK) GetPaymentMethodIdOk

func (o *PublicCreatePaymentRequestSDK) 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 (*PublicCreatePaymentRequestSDK) GetPaymentMethodOk

func (o *PublicCreatePaymentRequestSDK) GetPaymentMethodOk() (*PaymentMethod, 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 (*PublicCreatePaymentRequestSDK) GetReferenceId

func (o *PublicCreatePaymentRequestSDK) GetReferenceId() string

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

func (*PublicCreatePaymentRequestSDK) GetReferenceIdOk

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

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

func (*PublicCreatePaymentRequestSDK) GetShippingInformationOk

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

func (o *PublicCreatePaymentRequestSDK) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasCaptureMethod

func (o *PublicCreatePaymentRequestSDK) HasCaptureMethod() bool

HasCaptureMethod returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasChannelProperties

func (o *PublicCreatePaymentRequestSDK) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasCustomer

func (o *PublicCreatePaymentRequestSDK) HasCustomer() bool

HasCustomer returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasCustomerId

func (o *PublicCreatePaymentRequestSDK) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasDescription

func (o *PublicCreatePaymentRequestSDK) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasInitiator

func (o *PublicCreatePaymentRequestSDK) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasItems

func (o *PublicCreatePaymentRequestSDK) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasMetadata

func (o *PublicCreatePaymentRequestSDK) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasPaymentMethod

func (o *PublicCreatePaymentRequestSDK) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasPaymentMethodId

func (o *PublicCreatePaymentRequestSDK) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasReferenceId

func (o *PublicCreatePaymentRequestSDK) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDK) HasShippingInformation

func (o *PublicCreatePaymentRequestSDK) HasShippingInformation() bool

HasShippingInformation returns a boolean if a field has been set.

func (PublicCreatePaymentRequestSDK) MarshalJSON

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

func (*PublicCreatePaymentRequestSDK) SetAmount

func (o *PublicCreatePaymentRequestSDK) SetAmount(v float64)

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

func (*PublicCreatePaymentRequestSDK) SetCaptureMethod

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

func (*PublicCreatePaymentRequestSDK) SetCaptureMethodNil

func (o *PublicCreatePaymentRequestSDK) SetCaptureMethodNil()

SetCaptureMethodNil sets the value for CaptureMethod to be an explicit nil

func (*PublicCreatePaymentRequestSDK) SetChannelProperties

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

func (*PublicCreatePaymentRequestSDK) SetCurrency

SetCurrency sets field value

func (*PublicCreatePaymentRequestSDK) SetCustomer

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

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

func (*PublicCreatePaymentRequestSDK) SetCustomerId

func (o *PublicCreatePaymentRequestSDK) SetCustomerId(v string)

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

func (*PublicCreatePaymentRequestSDK) SetCustomerIdNil

func (o *PublicCreatePaymentRequestSDK) SetCustomerIdNil()

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

func (*PublicCreatePaymentRequestSDK) SetDescription

func (o *PublicCreatePaymentRequestSDK) SetDescription(v string)

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

func (*PublicCreatePaymentRequestSDK) SetDescriptionNil

func (o *PublicCreatePaymentRequestSDK) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*PublicCreatePaymentRequestSDK) SetInitiator

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

func (*PublicCreatePaymentRequestSDK) SetInitiatorNil

func (o *PublicCreatePaymentRequestSDK) SetInitiatorNil()

SetInitiatorNil sets the value for Initiator to be an explicit nil

func (*PublicCreatePaymentRequestSDK) SetItems

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

func (*PublicCreatePaymentRequestSDK) SetMetadata

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

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

func (*PublicCreatePaymentRequestSDK) SetPaymentMethod

func (o *PublicCreatePaymentRequestSDK) SetPaymentMethod(v PaymentMethod)

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

func (*PublicCreatePaymentRequestSDK) SetPaymentMethodId

func (o *PublicCreatePaymentRequestSDK) SetPaymentMethodId(v string)

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

func (*PublicCreatePaymentRequestSDK) SetReferenceId

func (o *PublicCreatePaymentRequestSDK) SetReferenceId(v string)

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

func (*PublicCreatePaymentRequestSDK) SetShippingInformation

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

func (*PublicCreatePaymentRequestSDK) SetShippingInformationNil

func (o *PublicCreatePaymentRequestSDK) SetShippingInformationNil()

SetShippingInformationNil sets the value for ShippingInformation to be an explicit nil

func (PublicCreatePaymentRequestSDK) ToMap

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

func (*PublicCreatePaymentRequestSDK) UnsetCaptureMethod

func (o *PublicCreatePaymentRequestSDK) UnsetCaptureMethod()

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

func (*PublicCreatePaymentRequestSDK) UnsetCustomerId

func (o *PublicCreatePaymentRequestSDK) UnsetCustomerId()

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

func (*PublicCreatePaymentRequestSDK) UnsetDescription

func (o *PublicCreatePaymentRequestSDK) UnsetDescription()

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

func (*PublicCreatePaymentRequestSDK) UnsetInitiator

func (o *PublicCreatePaymentRequestSDK) UnsetInitiator()

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

func (*PublicCreatePaymentRequestSDK) UnsetShippingInformation

func (o *PublicCreatePaymentRequestSDK) UnsetShippingInformation()

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

type PublicCreatePaymentRequestSDKChannelProperties

type PublicCreatePaymentRequestSDKChannelProperties 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 *string `json:"cardonfile_type,omitempty"`
	// Three digit code written on the back of the card (usually called CVV/CVN).
	Cvv *string `json:"cvv,omitempty"`
}

PublicCreatePaymentRequestSDKChannelProperties struct for PublicCreatePaymentRequestSDKChannelProperties

func NewPublicCreatePaymentRequestSDKChannelProperties

func NewPublicCreatePaymentRequestSDKChannelProperties() *PublicCreatePaymentRequestSDKChannelProperties

NewPublicCreatePaymentRequestSDKChannelProperties instantiates a new PublicCreatePaymentRequestSDKChannelProperties 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 NewPublicCreatePaymentRequestSDKChannelPropertiesWithDefaults

func NewPublicCreatePaymentRequestSDKChannelPropertiesWithDefaults() *PublicCreatePaymentRequestSDKChannelProperties

NewPublicCreatePaymentRequestSDKChannelPropertiesWithDefaults instantiates a new PublicCreatePaymentRequestSDKChannelProperties 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 (*PublicCreatePaymentRequestSDKChannelProperties) GetCancelReturnUrl

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

func (*PublicCreatePaymentRequestSDKChannelProperties) GetCancelReturnUrlOk

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

GetCardonfileType returns the CardonfileType field value if set, zero value otherwise.

func (*PublicCreatePaymentRequestSDKChannelProperties) GetCardonfileTypeOk

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

func (*PublicCreatePaymentRequestSDKChannelProperties) GetCvv

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

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

func (o *PublicCreatePaymentRequestSDKChannelProperties) GetFailureReturnUrl() string

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

func (*PublicCreatePaymentRequestSDKChannelProperties) GetFailureReturnUrlOk

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

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

func (*PublicCreatePaymentRequestSDKChannelProperties) GetMerchantIdTagOk

func (o *PublicCreatePaymentRequestSDKChannelProperties) 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 (*PublicCreatePaymentRequestSDKChannelProperties) GetRedeemPoints

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

func (*PublicCreatePaymentRequestSDKChannelProperties) GetRedeemPointsOk

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

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

func (*PublicCreatePaymentRequestSDKChannelProperties) GetRequireAuthOk

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

func (o *PublicCreatePaymentRequestSDKChannelProperties) GetSuccessReturnUrl() string

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

func (*PublicCreatePaymentRequestSDKChannelProperties) GetSuccessReturnUrlOk

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

func (o *PublicCreatePaymentRequestSDKChannelProperties) HasCancelReturnUrl() bool

HasCancelReturnUrl returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDKChannelProperties) HasCardonfileType

HasCardonfileType returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDKChannelProperties) HasCvv

HasCvv returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDKChannelProperties) HasFailureReturnUrl

func (o *PublicCreatePaymentRequestSDKChannelProperties) HasFailureReturnUrl() bool

HasFailureReturnUrl returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDKChannelProperties) HasMerchantIdTag

HasMerchantIdTag returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDKChannelProperties) HasRedeemPoints

HasRedeemPoints returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDKChannelProperties) HasRequireAuth

HasRequireAuth returns a boolean if a field has been set.

func (*PublicCreatePaymentRequestSDKChannelProperties) HasSuccessReturnUrl

func (o *PublicCreatePaymentRequestSDKChannelProperties) HasSuccessReturnUrl() bool

HasSuccessReturnUrl returns a boolean if a field has been set.

func (PublicCreatePaymentRequestSDKChannelProperties) MarshalJSON

func (*PublicCreatePaymentRequestSDKChannelProperties) SetCancelReturnUrl

func (o *PublicCreatePaymentRequestSDKChannelProperties) SetCancelReturnUrl(v string)

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

func (*PublicCreatePaymentRequestSDKChannelProperties) SetCardonfileType

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

func (*PublicCreatePaymentRequestSDKChannelProperties) SetCvv

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

func (*PublicCreatePaymentRequestSDKChannelProperties) SetFailureReturnUrl

func (o *PublicCreatePaymentRequestSDKChannelProperties) SetFailureReturnUrl(v string)

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

func (*PublicCreatePaymentRequestSDKChannelProperties) SetMerchantIdTag

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

func (*PublicCreatePaymentRequestSDKChannelProperties) SetRedeemPoints

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

func (*PublicCreatePaymentRequestSDKChannelProperties) SetRequireAuth

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

func (*PublicCreatePaymentRequestSDKChannelProperties) SetSuccessReturnUrl

func (o *PublicCreatePaymentRequestSDKChannelProperties) SetSuccessReturnUrl(v string)

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

func (PublicCreatePaymentRequestSDKChannelProperties) ToMap

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

type PublicCreatePaymentRequestSDKChannelPropertiesAllOf

type PublicCreatePaymentRequestSDKChannelPropertiesAllOf struct {
	// Three digit code written on the back of the card (usually called CVV/CVN).
	Cvv *string `json:"cvv,omitempty"`
}

PublicCreatePaymentRequestSDKChannelPropertiesAllOf struct for PublicCreatePaymentRequestSDKChannelPropertiesAllOf

func NewPublicCreatePaymentRequestSDKChannelPropertiesAllOf

func NewPublicCreatePaymentRequestSDKChannelPropertiesAllOf() *PublicCreatePaymentRequestSDKChannelPropertiesAllOf

NewPublicCreatePaymentRequestSDKChannelPropertiesAllOf instantiates a new PublicCreatePaymentRequestSDKChannelPropertiesAllOf 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 NewPublicCreatePaymentRequestSDKChannelPropertiesAllOfWithDefaults

func NewPublicCreatePaymentRequestSDKChannelPropertiesAllOfWithDefaults() *PublicCreatePaymentRequestSDKChannelPropertiesAllOf

NewPublicCreatePaymentRequestSDKChannelPropertiesAllOfWithDefaults instantiates a new PublicCreatePaymentRequestSDKChannelPropertiesAllOf 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 (*PublicCreatePaymentRequestSDKChannelPropertiesAllOf) GetCvv

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

func (*PublicCreatePaymentRequestSDKChannelPropertiesAllOf) 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 (*PublicCreatePaymentRequestSDKChannelPropertiesAllOf) HasCvv

HasCvv returns a boolean if a field has been set.

func (PublicCreatePaymentRequestSDKChannelPropertiesAllOf) MarshalJSON

func (*PublicCreatePaymentRequestSDKChannelPropertiesAllOf) SetCvv

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

func (PublicCreatePaymentRequestSDKChannelPropertiesAllOf) ToMap

type PublicPaymentMethod

type PublicPaymentMethod 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           NullableMutableCard           `json:"card,omitempty"`
	DirectDebit    NullableMutableDirectDebit    `json:"direct_debit,omitempty"`
	Ewallet        NullableMutableEwallet        `json:"ewallet,omitempty"`
	OverTheCounter NullableMutableOverTheCounter `json:"over_the_counter,omitempty"`
	VirtualAccount NullablePublicVirtualAccount  `json:"virtual_account,omitempty"`
	QrCode         NullableMutableQRCode         `json:"qr_code,omitempty"`
	Reusability    PaymentMethodReusability      `json:"reusability"`
	Status         PaymentMethodStatus           `json:"status"`
	Metadata       map[string]interface{}        `json:"metadata,omitempty"`
}

PublicPaymentMethod struct for PublicPaymentMethod

func NewPublicPaymentMethod

func NewPublicPaymentMethod(id string, type_ PaymentMethodType, reusability PaymentMethodReusability, status PaymentMethodStatus) *PublicPaymentMethod

NewPublicPaymentMethod instantiates a new PublicPaymentMethod 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 NewPublicPaymentMethodWithDefaults

func NewPublicPaymentMethodWithDefaults() *PublicPaymentMethod

NewPublicPaymentMethodWithDefaults instantiates a new PublicPaymentMethod 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 (*PublicPaymentMethod) GetCard

func (o *PublicPaymentMethod) GetCard() MutableCard

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

func (*PublicPaymentMethod) GetCardOk

func (o *PublicPaymentMethod) GetCardOk() (*MutableCard, 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 (*PublicPaymentMethod) GetCreated

func (o *PublicPaymentMethod) GetCreated() string

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

func (*PublicPaymentMethod) GetCreatedOk

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

func (o *PublicPaymentMethod) GetDescription() string

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

func (*PublicPaymentMethod) GetDescriptionOk

func (o *PublicPaymentMethod) 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 (*PublicPaymentMethod) GetDirectDebit

func (o *PublicPaymentMethod) GetDirectDebit() MutableDirectDebit

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

func (*PublicPaymentMethod) GetDirectDebitOk

func (o *PublicPaymentMethod) GetDirectDebitOk() (*MutableDirectDebit, 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 (*PublicPaymentMethod) GetEwallet

func (o *PublicPaymentMethod) GetEwallet() MutableEwallet

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

func (*PublicPaymentMethod) GetEwalletOk

func (o *PublicPaymentMethod) GetEwalletOk() (*MutableEwallet, 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 (*PublicPaymentMethod) GetId

func (o *PublicPaymentMethod) GetId() string

GetId returns the Id field value

func (*PublicPaymentMethod) GetIdOk

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

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

func (*PublicPaymentMethod) GetMetadata

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

func (o *PublicPaymentMethod) 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 (*PublicPaymentMethod) GetOverTheCounter

func (o *PublicPaymentMethod) GetOverTheCounter() MutableOverTheCounter

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

func (*PublicPaymentMethod) GetOverTheCounterOk

func (o *PublicPaymentMethod) GetOverTheCounterOk() (*MutableOverTheCounter, 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 (*PublicPaymentMethod) GetQrCode

func (o *PublicPaymentMethod) GetQrCode() MutableQRCode

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

func (*PublicPaymentMethod) GetQrCodeOk

func (o *PublicPaymentMethod) GetQrCodeOk() (*MutableQRCode, 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 (*PublicPaymentMethod) GetReferenceId

func (o *PublicPaymentMethod) GetReferenceId() string

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

func (*PublicPaymentMethod) GetReferenceIdOk

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

func (o *PublicPaymentMethod) GetReusability() PaymentMethodReusability

GetReusability returns the Reusability field value

func (*PublicPaymentMethod) GetReusabilityOk

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

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

func (*PublicPaymentMethod) GetStatus

GetStatus returns the Status field value

func (*PublicPaymentMethod) GetStatusOk

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

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

func (*PublicPaymentMethod) GetType

GetType returns the Type field value

func (*PublicPaymentMethod) GetTypeOk

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

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

func (*PublicPaymentMethod) GetUpdated

func (o *PublicPaymentMethod) GetUpdated() string

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

func (*PublicPaymentMethod) GetUpdatedOk

func (o *PublicPaymentMethod) 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 (*PublicPaymentMethod) GetVirtualAccount

func (o *PublicPaymentMethod) GetVirtualAccount() PublicVirtualAccount

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

func (*PublicPaymentMethod) GetVirtualAccountOk

func (o *PublicPaymentMethod) GetVirtualAccountOk() (*PublicVirtualAccount, 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 (*PublicPaymentMethod) HasCard

func (o *PublicPaymentMethod) HasCard() bool

HasCard returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasCreated

func (o *PublicPaymentMethod) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasDescription

func (o *PublicPaymentMethod) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasDirectDebit

func (o *PublicPaymentMethod) HasDirectDebit() bool

HasDirectDebit returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasEwallet

func (o *PublicPaymentMethod) HasEwallet() bool

HasEwallet returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasMetadata

func (o *PublicPaymentMethod) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasOverTheCounter

func (o *PublicPaymentMethod) HasOverTheCounter() bool

HasOverTheCounter returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasQrCode

func (o *PublicPaymentMethod) HasQrCode() bool

HasQrCode returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasReferenceId

func (o *PublicPaymentMethod) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasUpdated

func (o *PublicPaymentMethod) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (*PublicPaymentMethod) HasVirtualAccount

func (o *PublicPaymentMethod) HasVirtualAccount() bool

HasVirtualAccount returns a boolean if a field has been set.

func (PublicPaymentMethod) MarshalJSON

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

func (*PublicPaymentMethod) SetCard

func (o *PublicPaymentMethod) SetCard(v MutableCard)

SetCard gets a reference to the given NullableMutableCard and assigns it to the Card field.

func (*PublicPaymentMethod) SetCardNil

func (o *PublicPaymentMethod) SetCardNil()

SetCardNil sets the value for Card to be an explicit nil

func (*PublicPaymentMethod) SetCreated

func (o *PublicPaymentMethod) SetCreated(v string)

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

func (*PublicPaymentMethod) SetDescription

func (o *PublicPaymentMethod) SetDescription(v string)

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

func (*PublicPaymentMethod) SetDescriptionNil

func (o *PublicPaymentMethod) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*PublicPaymentMethod) SetDirectDebit

func (o *PublicPaymentMethod) SetDirectDebit(v MutableDirectDebit)

SetDirectDebit gets a reference to the given NullableMutableDirectDebit and assigns it to the DirectDebit field.

func (*PublicPaymentMethod) SetDirectDebitNil

func (o *PublicPaymentMethod) SetDirectDebitNil()

SetDirectDebitNil sets the value for DirectDebit to be an explicit nil

func (*PublicPaymentMethod) SetEwallet

func (o *PublicPaymentMethod) SetEwallet(v MutableEwallet)

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

func (*PublicPaymentMethod) SetEwalletNil

func (o *PublicPaymentMethod) SetEwalletNil()

SetEwalletNil sets the value for Ewallet to be an explicit nil

func (*PublicPaymentMethod) SetId

func (o *PublicPaymentMethod) SetId(v string)

SetId sets field value

func (*PublicPaymentMethod) SetMetadata

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

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

func (*PublicPaymentMethod) SetOverTheCounter

func (o *PublicPaymentMethod) SetOverTheCounter(v MutableOverTheCounter)

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

func (*PublicPaymentMethod) SetOverTheCounterNil

func (o *PublicPaymentMethod) SetOverTheCounterNil()

SetOverTheCounterNil sets the value for OverTheCounter to be an explicit nil

func (*PublicPaymentMethod) SetQrCode

func (o *PublicPaymentMethod) SetQrCode(v MutableQRCode)

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

func (*PublicPaymentMethod) SetQrCodeNil

func (o *PublicPaymentMethod) SetQrCodeNil()

SetQrCodeNil sets the value for QrCode to be an explicit nil

func (*PublicPaymentMethod) SetReferenceId

func (o *PublicPaymentMethod) SetReferenceId(v string)

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

func (*PublicPaymentMethod) SetReusability

func (o *PublicPaymentMethod) SetReusability(v PaymentMethodReusability)

SetReusability sets field value

func (*PublicPaymentMethod) SetStatus

func (o *PublicPaymentMethod) SetStatus(v PaymentMethodStatus)

SetStatus sets field value

func (*PublicPaymentMethod) SetType

func (o *PublicPaymentMethod) SetType(v PaymentMethodType)

SetType sets field value

func (*PublicPaymentMethod) SetUpdated

func (o *PublicPaymentMethod) SetUpdated(v string)

SetUpdated gets a reference to the given string and assigns it to the Updated field.

func (*PublicPaymentMethod) SetVirtualAccount

func (o *PublicPaymentMethod) SetVirtualAccount(v PublicVirtualAccount)

SetVirtualAccount gets a reference to the given NullablePublicVirtualAccount and assigns it to the VirtualAccount field.

func (*PublicPaymentMethod) SetVirtualAccountNil

func (o *PublicPaymentMethod) SetVirtualAccountNil()

SetVirtualAccountNil sets the value for VirtualAccount to be an explicit nil

func (PublicPaymentMethod) ToMap

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

func (*PublicPaymentMethod) UnsetCard

func (o *PublicPaymentMethod) UnsetCard()

UnsetCard ensures that no value is present for Card, not even an explicit nil

func (*PublicPaymentMethod) UnsetDescription

func (o *PublicPaymentMethod) UnsetDescription()

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

func (*PublicPaymentMethod) UnsetDirectDebit

func (o *PublicPaymentMethod) UnsetDirectDebit()

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

func (*PublicPaymentMethod) UnsetEwallet

func (o *PublicPaymentMethod) UnsetEwallet()

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

func (*PublicPaymentMethod) UnsetOverTheCounter

func (o *PublicPaymentMethod) UnsetOverTheCounter()

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

func (*PublicPaymentMethod) UnsetQrCode

func (o *PublicPaymentMethod) UnsetQrCode()

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

func (*PublicPaymentMethod) UnsetVirtualAccount

func (o *PublicPaymentMethod) UnsetVirtualAccount()

UnsetVirtualAccount ensures that no value is present for VirtualAccount, not even an explicit nil

type PublicPaymentRequest

type PublicPaymentRequest 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           PublicPaymentMethod                           `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"`
}

PublicPaymentRequest struct for PublicPaymentRequest

func NewPublicPaymentRequest

func NewPublicPaymentRequest(id string, created string, updated string, referenceId string, businessId string, currency PaymentRequestCurrency, paymentMethod PublicPaymentMethod, status PaymentRequestStatus) *PublicPaymentRequest

NewPublicPaymentRequest instantiates a new PublicPaymentRequest 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 NewPublicPaymentRequestWithDefaults

func NewPublicPaymentRequestWithDefaults() *PublicPaymentRequest

NewPublicPaymentRequestWithDefaults instantiates a new PublicPaymentRequest 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 (*PublicPaymentRequest) GetActions

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

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

func (*PublicPaymentRequest) GetActionsOk

func (o *PublicPaymentRequest) 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 (*PublicPaymentRequest) GetAmount

func (o *PublicPaymentRequest) GetAmount() float64

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

func (*PublicPaymentRequest) GetAmountOk

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

func (o *PublicPaymentRequest) GetBusinessId() string

GetBusinessId returns the BusinessId field value

func (*PublicPaymentRequest) GetBusinessIdOk

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

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

func (*PublicPaymentRequest) GetCaptureMethod

func (o *PublicPaymentRequest) GetCaptureMethod() PaymentRequestCaptureMethod

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

func (*PublicPaymentRequest) GetCaptureMethodOk

func (o *PublicPaymentRequest) 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 (*PublicPaymentRequest) GetCardVerificationResults

func (o *PublicPaymentRequest) GetCardVerificationResults() PaymentRequestCardVerificationResults

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

func (*PublicPaymentRequest) GetCardVerificationResultsOk

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

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

func (*PublicPaymentRequest) GetCountryOk

func (o *PublicPaymentRequest) 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 (*PublicPaymentRequest) GetCreated

func (o *PublicPaymentRequest) GetCreated() string

GetCreated returns the Created field value

func (*PublicPaymentRequest) GetCreatedOk

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

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

func (*PublicPaymentRequest) GetCurrency

GetCurrency returns the Currency field value

func (*PublicPaymentRequest) GetCurrencyOk

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

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

func (*PublicPaymentRequest) GetCustomer

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

func (o *PublicPaymentRequest) GetCustomerId() string

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

func (*PublicPaymentRequest) GetCustomerIdOk

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

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

func (o *PublicPaymentRequest) GetDescription() string

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

func (*PublicPaymentRequest) GetDescriptionOk

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

func (o *PublicPaymentRequest) GetFailureCode() string

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

func (*PublicPaymentRequest) GetFailureCodeOk

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

func (o *PublicPaymentRequest) GetId() string

GetId returns the Id field value

func (*PublicPaymentRequest) GetIdOk

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

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

func (*PublicPaymentRequest) GetInitiator

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

func (*PublicPaymentRequest) GetInitiatorOk

func (o *PublicPaymentRequest) 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 (*PublicPaymentRequest) GetItems

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

func (*PublicPaymentRequest) GetItemsOk

func (o *PublicPaymentRequest) 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 (*PublicPaymentRequest) GetMaxAmount

func (o *PublicPaymentRequest) GetMaxAmount() float64

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

func (*PublicPaymentRequest) GetMaxAmountOk

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

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

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

func (o *PublicPaymentRequest) GetMinAmount() float64

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

func (*PublicPaymentRequest) GetMinAmountOk

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

func (o *PublicPaymentRequest) GetPaymentMethod() PublicPaymentMethod

GetPaymentMethod returns the PaymentMethod field value

func (*PublicPaymentRequest) GetPaymentMethodOk

func (o *PublicPaymentRequest) GetPaymentMethodOk() (*PublicPaymentMethod, bool)

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

func (*PublicPaymentRequest) GetReferenceId

func (o *PublicPaymentRequest) GetReferenceId() string

GetReferenceId returns the ReferenceId field value

func (*PublicPaymentRequest) GetReferenceIdOk

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

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

func (*PublicPaymentRequest) GetShippingInformation

func (o *PublicPaymentRequest) GetShippingInformation() PaymentRequestShippingInformation

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

func (*PublicPaymentRequest) GetShippingInformationOk

func (o *PublicPaymentRequest) 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 (*PublicPaymentRequest) GetStatus

GetStatus returns the Status field value

func (*PublicPaymentRequest) GetStatusOk

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

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

func (*PublicPaymentRequest) GetUpdated

func (o *PublicPaymentRequest) GetUpdated() string

GetUpdated returns the Updated field value

func (*PublicPaymentRequest) GetUpdatedOk

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

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

func (*PublicPaymentRequest) HasActions

func (o *PublicPaymentRequest) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasAmount

func (o *PublicPaymentRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasCaptureMethod

func (o *PublicPaymentRequest) HasCaptureMethod() bool

HasCaptureMethod returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasCardVerificationResults

func (o *PublicPaymentRequest) HasCardVerificationResults() bool

HasCardVerificationResults returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasCountry

func (o *PublicPaymentRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasCustomer

func (o *PublicPaymentRequest) HasCustomer() bool

HasCustomer returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasCustomerId

func (o *PublicPaymentRequest) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasDescription

func (o *PublicPaymentRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasFailureCode

func (o *PublicPaymentRequest) HasFailureCode() bool

HasFailureCode returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasInitiator

func (o *PublicPaymentRequest) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasItems

func (o *PublicPaymentRequest) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasMaxAmount

func (o *PublicPaymentRequest) HasMaxAmount() bool

HasMaxAmount returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasMetadata

func (o *PublicPaymentRequest) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasMinAmount

func (o *PublicPaymentRequest) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (*PublicPaymentRequest) HasShippingInformation

func (o *PublicPaymentRequest) HasShippingInformation() bool

HasShippingInformation returns a boolean if a field has been set.

func (PublicPaymentRequest) MarshalJSON

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

func (*PublicPaymentRequest) SetActions

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

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

func (*PublicPaymentRequest) SetAmount

func (o *PublicPaymentRequest) SetAmount(v float64)

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

func (*PublicPaymentRequest) SetBusinessId

func (o *PublicPaymentRequest) SetBusinessId(v string)

SetBusinessId sets field value

func (*PublicPaymentRequest) SetCaptureMethod

func (o *PublicPaymentRequest) SetCaptureMethod(v PaymentRequestCaptureMethod)

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

func (*PublicPaymentRequest) SetCaptureMethodNil

func (o *PublicPaymentRequest) SetCaptureMethodNil()

SetCaptureMethodNil sets the value for CaptureMethod to be an explicit nil

func (*PublicPaymentRequest) SetCardVerificationResults

func (o *PublicPaymentRequest) SetCardVerificationResults(v PaymentRequestCardVerificationResults)

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

func (*PublicPaymentRequest) SetCardVerificationResultsNil

func (o *PublicPaymentRequest) SetCardVerificationResultsNil()

SetCardVerificationResultsNil sets the value for CardVerificationResults to be an explicit nil

func (*PublicPaymentRequest) SetCountry

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

func (*PublicPaymentRequest) SetCreated

func (o *PublicPaymentRequest) SetCreated(v string)

SetCreated sets field value

func (*PublicPaymentRequest) SetCurrency

func (o *PublicPaymentRequest) SetCurrency(v PaymentRequestCurrency)

SetCurrency sets field value

func (*PublicPaymentRequest) SetCustomer

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

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

func (*PublicPaymentRequest) SetCustomerId

func (o *PublicPaymentRequest) SetCustomerId(v string)

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

func (*PublicPaymentRequest) SetCustomerIdNil

func (o *PublicPaymentRequest) SetCustomerIdNil()

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

func (*PublicPaymentRequest) SetDescription

func (o *PublicPaymentRequest) SetDescription(v string)

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

func (*PublicPaymentRequest) SetDescriptionNil

func (o *PublicPaymentRequest) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*PublicPaymentRequest) SetFailureCode

func (o *PublicPaymentRequest) SetFailureCode(v string)

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

func (*PublicPaymentRequest) SetFailureCodeNil

func (o *PublicPaymentRequest) SetFailureCodeNil()

SetFailureCodeNil sets the value for FailureCode to be an explicit nil

func (*PublicPaymentRequest) SetId

func (o *PublicPaymentRequest) SetId(v string)

SetId sets field value

func (*PublicPaymentRequest) SetInitiator

func (o *PublicPaymentRequest) SetInitiator(v PaymentRequestInitiator)

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

func (*PublicPaymentRequest) SetInitiatorNil

func (o *PublicPaymentRequest) SetInitiatorNil()

SetInitiatorNil sets the value for Initiator to be an explicit nil

func (*PublicPaymentRequest) SetItems

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

func (*PublicPaymentRequest) SetMaxAmount

func (o *PublicPaymentRequest) SetMaxAmount(v float64)

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

func (*PublicPaymentRequest) SetMaxAmountNil

func (o *PublicPaymentRequest) SetMaxAmountNil()

SetMaxAmountNil sets the value for MaxAmount to be an explicit nil

func (*PublicPaymentRequest) SetMetadata

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

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

func (*PublicPaymentRequest) SetMinAmount

func (o *PublicPaymentRequest) SetMinAmount(v float64)

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

func (*PublicPaymentRequest) SetMinAmountNil

func (o *PublicPaymentRequest) SetMinAmountNil()

SetMinAmountNil sets the value for MinAmount to be an explicit nil

func (*PublicPaymentRequest) SetPaymentMethod

func (o *PublicPaymentRequest) SetPaymentMethod(v PublicPaymentMethod)

SetPaymentMethod sets field value

func (*PublicPaymentRequest) SetReferenceId

func (o *PublicPaymentRequest) SetReferenceId(v string)

SetReferenceId sets field value

func (*PublicPaymentRequest) SetShippingInformation

func (o *PublicPaymentRequest) SetShippingInformation(v PaymentRequestShippingInformation)

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

func (*PublicPaymentRequest) SetShippingInformationNil

func (o *PublicPaymentRequest) SetShippingInformationNil()

SetShippingInformationNil sets the value for ShippingInformation to be an explicit nil

func (*PublicPaymentRequest) SetStatus

SetStatus sets field value

func (*PublicPaymentRequest) SetUpdated

func (o *PublicPaymentRequest) SetUpdated(v string)

SetUpdated sets field value

func (PublicPaymentRequest) ToMap

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

func (*PublicPaymentRequest) UnsetCaptureMethod

func (o *PublicPaymentRequest) UnsetCaptureMethod()

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

func (*PublicPaymentRequest) UnsetCardVerificationResults

func (o *PublicPaymentRequest) UnsetCardVerificationResults()

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

func (*PublicPaymentRequest) UnsetCustomerId

func (o *PublicPaymentRequest) UnsetCustomerId()

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

func (*PublicPaymentRequest) UnsetDescription

func (o *PublicPaymentRequest) UnsetDescription()

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

func (*PublicPaymentRequest) UnsetFailureCode

func (o *PublicPaymentRequest) UnsetFailureCode()

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

func (*PublicPaymentRequest) UnsetInitiator

func (o *PublicPaymentRequest) UnsetInitiator()

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

func (*PublicPaymentRequest) UnsetMaxAmount

func (o *PublicPaymentRequest) UnsetMaxAmount()

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

func (*PublicPaymentRequest) UnsetMinAmount

func (o *PublicPaymentRequest) UnsetMinAmount()

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

func (*PublicPaymentRequest) UnsetShippingInformation

func (o *PublicPaymentRequest) UnsetShippingInformation()

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

type PublicPaymentRequestAuthorize

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

PublicPaymentRequestAuthorize struct for PublicPaymentRequestAuthorize

func NewPublicPaymentRequestAuthorize

func NewPublicPaymentRequestAuthorize(authCode string) *PublicPaymentRequestAuthorize

NewPublicPaymentRequestAuthorize instantiates a new PublicPaymentRequestAuthorize 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 NewPublicPaymentRequestAuthorizeWithDefaults

func NewPublicPaymentRequestAuthorizeWithDefaults() *PublicPaymentRequestAuthorize

NewPublicPaymentRequestAuthorizeWithDefaults instantiates a new PublicPaymentRequestAuthorize 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 (*PublicPaymentRequestAuthorize) GetAuthCode

func (o *PublicPaymentRequestAuthorize) GetAuthCode() string

GetAuthCode returns the AuthCode field value

func (*PublicPaymentRequestAuthorize) GetAuthCodeOk

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

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

func (PublicPaymentRequestAuthorize) MarshalJSON

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

func (*PublicPaymentRequestAuthorize) SetAuthCode

func (o *PublicPaymentRequestAuthorize) SetAuthCode(v string)

SetAuthCode sets field value

func (PublicPaymentRequestAuthorize) ToMap

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

type PublicPaymentRequestListResponse

type PublicPaymentRequestListResponse struct {
	Data    []PublicPaymentRequest `json:"data"`
	HasMore bool                   `json:"has_more"`
}

PublicPaymentRequestListResponse struct for PublicPaymentRequestListResponse

func NewPublicPaymentRequestListResponse

func NewPublicPaymentRequestListResponse(data []PublicPaymentRequest, hasMore bool) *PublicPaymentRequestListResponse

NewPublicPaymentRequestListResponse instantiates a new PublicPaymentRequestListResponse 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 NewPublicPaymentRequestListResponseWithDefaults

func NewPublicPaymentRequestListResponseWithDefaults() *PublicPaymentRequestListResponse

NewPublicPaymentRequestListResponseWithDefaults instantiates a new PublicPaymentRequestListResponse 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 (*PublicPaymentRequestListResponse) GetData

GetData returns the Data field value

func (*PublicPaymentRequestListResponse) GetDataOk

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

func (*PublicPaymentRequestListResponse) GetHasMore

func (o *PublicPaymentRequestListResponse) GetHasMore() bool

GetHasMore returns the HasMore field value

func (*PublicPaymentRequestListResponse) GetHasMoreOk

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

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

func (PublicPaymentRequestListResponse) MarshalJSON

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

func (*PublicPaymentRequestListResponse) SetData

SetData sets field value

func (*PublicPaymentRequestListResponse) SetHasMore

func (o *PublicPaymentRequestListResponse) SetHasMore(v bool)

SetHasMore sets field value

func (PublicPaymentRequestListResponse) ToMap

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

type PublicVirtualAccount

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

PublicVirtualAccount Virtual Account Payment Method Details

func NewPublicVirtualAccount

func NewPublicVirtualAccount(channelCode VirtualAccountChannelCode, channelProperties VirtualAccountChannelProperties) *PublicVirtualAccount

NewPublicVirtualAccount instantiates a new PublicVirtualAccount 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 NewPublicVirtualAccountWithDefaults

func NewPublicVirtualAccountWithDefaults() *PublicVirtualAccount

NewPublicVirtualAccountWithDefaults instantiates a new PublicVirtualAccount 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 (*PublicVirtualAccount) GetAlternativeDisplayTypes

func (o *PublicVirtualAccount) GetAlternativeDisplayTypes() []string

GetAlternativeDisplayTypes returns the AlternativeDisplayTypes field value if set, zero value otherwise.

func (*PublicVirtualAccount) GetAlternativeDisplayTypesOk

func (o *PublicVirtualAccount) 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 (*PublicVirtualAccount) GetAlternativeDisplays

func (o *PublicVirtualAccount) GetAlternativeDisplays() []VirtualAccountAlternativeDisplay

GetAlternativeDisplays returns the AlternativeDisplays field value if set, zero value otherwise.

func (*PublicVirtualAccount) GetAlternativeDisplaysOk

func (o *PublicVirtualAccount) 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 (*PublicVirtualAccount) GetAmount

func (o *PublicVirtualAccount) GetAmount() float64

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

func (*PublicVirtualAccount) GetAmountOk

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

func (o *PublicVirtualAccount) GetChannelCode() VirtualAccountChannelCode

GetChannelCode returns the ChannelCode field value

func (*PublicVirtualAccount) GetChannelCodeOk

func (o *PublicVirtualAccount) GetChannelCodeOk() (*VirtualAccountChannelCode, bool)

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

func (*PublicVirtualAccount) GetChannelProperties

func (o *PublicVirtualAccount) GetChannelProperties() VirtualAccountChannelProperties

GetChannelProperties returns the ChannelProperties field value

func (*PublicVirtualAccount) GetChannelPropertiesOk

func (o *PublicVirtualAccount) GetChannelPropertiesOk() (*VirtualAccountChannelProperties, bool)

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

func (*PublicVirtualAccount) GetCurrency

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

func (*PublicVirtualAccount) GetCurrencyOk

func (o *PublicVirtualAccount) 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 (*PublicVirtualAccount) GetMaxAmount

func (o *PublicVirtualAccount) GetMaxAmount() float64

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

func (*PublicVirtualAccount) GetMaxAmountOk

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

func (o *PublicVirtualAccount) GetMinAmount() float64

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

func (*PublicVirtualAccount) GetMinAmountOk

func (o *PublicVirtualAccount) 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 (*PublicVirtualAccount) HasAlternativeDisplayTypes

func (o *PublicVirtualAccount) HasAlternativeDisplayTypes() bool

HasAlternativeDisplayTypes returns a boolean if a field has been set.

func (*PublicVirtualAccount) HasAlternativeDisplays

func (o *PublicVirtualAccount) HasAlternativeDisplays() bool

HasAlternativeDisplays returns a boolean if a field has been set.

func (*PublicVirtualAccount) HasAmount

func (o *PublicVirtualAccount) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*PublicVirtualAccount) HasCurrency

func (o *PublicVirtualAccount) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*PublicVirtualAccount) HasMaxAmount

func (o *PublicVirtualAccount) HasMaxAmount() bool

HasMaxAmount returns a boolean if a field has been set.

func (*PublicVirtualAccount) HasMinAmount

func (o *PublicVirtualAccount) HasMinAmount() bool

HasMinAmount returns a boolean if a field has been set.

func (PublicVirtualAccount) MarshalJSON

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

func (*PublicVirtualAccount) SetAlternativeDisplayTypes

func (o *PublicVirtualAccount) SetAlternativeDisplayTypes(v []string)

SetAlternativeDisplayTypes gets a reference to the given []string and assigns it to the AlternativeDisplayTypes field.

func (*PublicVirtualAccount) SetAlternativeDisplays

func (o *PublicVirtualAccount) SetAlternativeDisplays(v []VirtualAccountAlternativeDisplay)

SetAlternativeDisplays gets a reference to the given []VirtualAccountAlternativeDisplay and assigns it to the AlternativeDisplays field.

func (*PublicVirtualAccount) SetAmount

func (o *PublicVirtualAccount) SetAmount(v float64)

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

func (*PublicVirtualAccount) SetAmountNil

func (o *PublicVirtualAccount) SetAmountNil()

SetAmountNil sets the value for Amount to be an explicit nil

func (*PublicVirtualAccount) SetChannelCode

func (o *PublicVirtualAccount) SetChannelCode(v VirtualAccountChannelCode)

SetChannelCode sets field value

func (*PublicVirtualAccount) SetChannelProperties

func (o *PublicVirtualAccount) SetChannelProperties(v VirtualAccountChannelProperties)

SetChannelProperties sets field value

func (*PublicVirtualAccount) SetCurrency

func (o *PublicVirtualAccount) SetCurrency(v PaymentRequestCurrency)

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

func (*PublicVirtualAccount) SetMaxAmount

func (o *PublicVirtualAccount) SetMaxAmount(v float64)

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

func (*PublicVirtualAccount) SetMaxAmountNil

func (o *PublicVirtualAccount) SetMaxAmountNil()

SetMaxAmountNil sets the value for MaxAmount to be an explicit nil

func (*PublicVirtualAccount) SetMinAmount

func (o *PublicVirtualAccount) SetMinAmount(v float64)

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

func (*PublicVirtualAccount) SetMinAmountNil

func (o *PublicVirtualAccount) SetMinAmountNil()

SetMinAmountNil sets the value for MinAmount to be an explicit nil

func (PublicVirtualAccount) ToMap

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

func (*PublicVirtualAccount) UnsetAmount

func (o *PublicVirtualAccount) UnsetAmount()

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

func (*PublicVirtualAccount) UnsetMaxAmount

func (o *PublicVirtualAccount) UnsetMaxAmount()

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

func (*PublicVirtualAccount) UnsetMinAmount

func (o *PublicVirtualAccount) UnsetMinAmount()

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

type PublicVirtualAccountAllOf

type PublicVirtualAccountAllOf struct {
	AlternativeDisplays []VirtualAccountAlternativeDisplay `json:"alternative_displays,omitempty"`
}

PublicVirtualAccountAllOf struct for PublicVirtualAccountAllOf

func NewPublicVirtualAccountAllOf

func NewPublicVirtualAccountAllOf() *PublicVirtualAccountAllOf

NewPublicVirtualAccountAllOf instantiates a new PublicVirtualAccountAllOf 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 NewPublicVirtualAccountAllOfWithDefaults

func NewPublicVirtualAccountAllOfWithDefaults() *PublicVirtualAccountAllOf

NewPublicVirtualAccountAllOfWithDefaults instantiates a new PublicVirtualAccountAllOf 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 (*PublicVirtualAccountAllOf) GetAlternativeDisplays

func (o *PublicVirtualAccountAllOf) GetAlternativeDisplays() []VirtualAccountAlternativeDisplay

GetAlternativeDisplays returns the AlternativeDisplays field value if set, zero value otherwise.

func (*PublicVirtualAccountAllOf) GetAlternativeDisplaysOk

func (o *PublicVirtualAccountAllOf) 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 (*PublicVirtualAccountAllOf) HasAlternativeDisplays

func (o *PublicVirtualAccountAllOf) HasAlternativeDisplays() bool

HasAlternativeDisplays returns a boolean if a field has been set.

func (PublicVirtualAccountAllOf) MarshalJSON

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

func (*PublicVirtualAccountAllOf) SetAlternativeDisplays

func (o *PublicVirtualAccountAllOf) SetAlternativeDisplays(v []VirtualAccountAlternativeDisplay)

SetAlternativeDisplays gets a reference to the given []VirtualAccountAlternativeDisplay and assigns it to the AlternativeDisplays field.

func (PublicVirtualAccountAllOf) ToMap

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

type QRCodeChannelCode

type QRCodeChannelCode string

QRCodeChannelCode QR Code Channel Code

const (
	QRCODECHANNELCODE_DANA      QRCodeChannelCode = "DANA"
	QRCODECHANNELCODE_RCBC      QRCodeChannelCode = "RCBC"
	QRCODECHANNELCODE_LINKAJA   QRCodeChannelCode = "LINKAJA"
	QRCODECHANNELCODE_PROMPTPAY QRCodeChannelCode = "PROMPTPAY"
)

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

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)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL