Skip to content

Latest commit

 

History

History
717 lines (394 loc) · 19.3 KB

PaymentMethod.md

File metadata and controls

717 lines (394 loc) · 19.3 KB

PaymentMethod

Properties

Name Type Required Description Examples
Id string ☑️
BusinessId Pointer to string
Type Pointer to PaymentMethodType
Country Pointer to PaymentMethodCountry
CustomerId Pointer to NullableString
Customer Pointer to map[string]interface{}
ReferenceId Pointer to string
Description Pointer to NullableString
Status Pointer to PaymentMethodStatus
Reusability Pointer to PaymentMethodReusability
Actions Pointer to PaymentMethodAction[]
Metadata Pointer to map[string]interface{}
BillingInformation Pointer to NullableBillingInformation
FailureCode Pointer to NullableString
Created Pointer to time.Time
Updated Pointer to time.Time
Ewallet Pointer to NullableEWallet
DirectDebit Pointer to NullableDirectDebit
OverTheCounter Pointer to NullableOverTheCounter
Card Pointer to NullableCard
QrCode Pointer to NullableQRCode
VirtualAccount Pointer to NullableVirtualAccount

Methods

NewPaymentMethod

func NewPaymentMethod(id string, ) *PaymentMethod

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

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

GetId

func (o *PaymentMethod) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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

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

SetId

func (o *PaymentMethod) SetId(v string)

SetId sets Id field to given value.

GetBusinessId

func (o *PaymentMethod) GetBusinessId() string

GetBusinessId returns the BusinessId field if non-nil, zero value otherwise.

GetBusinessIdOk

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

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

SetBusinessId

func (o *PaymentMethod) SetBusinessId(v string)

SetBusinessId sets BusinessId field to given value.

HasBusinessId

func (o *PaymentMethod) HasBusinessId() bool

HasBusinessId returns a boolean if a field has been set.

GetType

func (o *PaymentMethod) GetType() PaymentMethodType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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

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

SetType

func (o *PaymentMethod) SetType(v PaymentMethodType)

SetType sets Type field to given value.

HasType

func (o *PaymentMethod) HasType() bool

HasType returns a boolean if a field has been set.

GetCountry

func (o *PaymentMethod) GetCountry() PaymentMethodCountry

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

func (o *PaymentMethod) GetCountryOk() (*PaymentMethodCountry, bool)

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

SetCountry

func (o *PaymentMethod) SetCountry(v PaymentMethodCountry)

SetCountry sets Country field to given value.

HasCountry

func (o *PaymentMethod) HasCountry() bool

HasCountry returns a boolean if a field has been set.

GetCustomerId

func (o *PaymentMethod) GetCustomerId() string

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

GetCustomerIdOk

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

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

SetCustomerId

func (o *PaymentMethod) SetCustomerId(v string)

SetCustomerId sets CustomerId field to given value.

HasCustomerId

func (o *PaymentMethod) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

SetCustomerIdNil

func (o *PaymentMethod) SetCustomerIdNil(b bool)

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

UnsetCustomerId

func (o *PaymentMethod) UnsetCustomerId()

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

GetCustomer

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

GetCustomer returns the Customer field if non-nil, zero value otherwise.

GetCustomerOk

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

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

SetCustomer

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

SetCustomer sets Customer field to given value.

HasCustomer

func (o *PaymentMethod) HasCustomer() bool

HasCustomer returns a boolean if a field has been set.

SetCustomerNil

func (o *PaymentMethod) SetCustomerNil(b bool)

SetCustomerNil sets the value for Customer to be an explicit nil

UnsetCustomer

func (o *PaymentMethod) UnsetCustomer()

UnsetCustomer ensures that no value is present for Customer, not even an explicit nil

GetReferenceId

func (o *PaymentMethod) GetReferenceId() string

GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.

GetReferenceIdOk

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

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

SetReferenceId

func (o *PaymentMethod) SetReferenceId(v string)

SetReferenceId sets ReferenceId field to given value.

HasReferenceId

func (o *PaymentMethod) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

GetDescription

func (o *PaymentMethod) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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

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

SetDescription

func (o *PaymentMethod) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *PaymentMethod) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *PaymentMethod) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *PaymentMethod) UnsetDescription()

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

GetStatus

func (o *PaymentMethod) GetStatus() PaymentMethodStatus

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

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

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

SetStatus

func (o *PaymentMethod) SetStatus(v PaymentMethodStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *PaymentMethod) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetReusability

func (o *PaymentMethod) GetReusability() PaymentMethodReusability

GetReusability returns the Reusability field if non-nil, zero value otherwise.

GetReusabilityOk

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

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

SetReusability

func (o *PaymentMethod) SetReusability(v PaymentMethodReusability)

SetReusability sets Reusability field to given value.

HasReusability

func (o *PaymentMethod) HasReusability() bool

HasReusability returns a boolean if a field has been set.

GetActions

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

GetActions returns the Actions field if non-nil, zero value otherwise.

GetActionsOk

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

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

SetActions

func (o *PaymentMethod) SetActions(v []PaymentMethodAction)

SetActions sets Actions field to given value.

HasActions

func (o *PaymentMethod) HasActions() bool

HasActions returns a boolean if a field has been set.

GetMetadata

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

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

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

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

SetMetadata

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

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *PaymentMethod) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

SetMetadataNil

func (o *PaymentMethod) SetMetadataNil(b bool)

SetMetadataNil sets the value for Metadata to be an explicit nil

UnsetMetadata

func (o *PaymentMethod) UnsetMetadata()

UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil

GetBillingInformation

func (o *PaymentMethod) GetBillingInformation() BillingInformation

GetBillingInformation returns the BillingInformation field if non-nil, zero value otherwise.

GetBillingInformationOk

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

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

SetBillingInformation

func (o *PaymentMethod) SetBillingInformation(v BillingInformation)

SetBillingInformation sets BillingInformation field to given value.

HasBillingInformation

func (o *PaymentMethod) HasBillingInformation() bool

HasBillingInformation returns a boolean if a field has been set.

SetBillingInformationNil

func (o *PaymentMethod) SetBillingInformationNil(b bool)

SetBillingInformationNil sets the value for BillingInformation to be an explicit nil

UnsetBillingInformation

func (o *PaymentMethod) UnsetBillingInformation()

UnsetBillingInformation ensures that no value is present for BillingInformation, not even an explicit nil

GetFailureCode

func (o *PaymentMethod) GetFailureCode() string

GetFailureCode returns the FailureCode field if non-nil, zero value otherwise.

GetFailureCodeOk

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

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

SetFailureCode

func (o *PaymentMethod) SetFailureCode(v string)

SetFailureCode sets FailureCode field to given value.

HasFailureCode

func (o *PaymentMethod) HasFailureCode() bool

HasFailureCode returns a boolean if a field has been set.

SetFailureCodeNil

func (o *PaymentMethod) SetFailureCodeNil(b bool)

SetFailureCodeNil sets the value for FailureCode to be an explicit nil

UnsetFailureCode

func (o *PaymentMethod) UnsetFailureCode()

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

GetCreated

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

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

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

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

SetCreated

func (o *PaymentMethod) SetCreated(v time.Time)

SetCreated sets Created field to given value.

HasCreated

func (o *PaymentMethod) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetUpdated

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

GetUpdated returns the Updated field if non-nil, zero value otherwise.

GetUpdatedOk

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

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

SetUpdated

func (o *PaymentMethod) SetUpdated(v time.Time)

SetUpdated sets Updated field to given value.

HasUpdated

func (o *PaymentMethod) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

GetEwallet

func (o *PaymentMethod) GetEwallet() EWallet

GetEwallet returns the Ewallet field if non-nil, zero value otherwise.

GetEwalletOk

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

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

SetEwallet

func (o *PaymentMethod) SetEwallet(v EWallet)

SetEwallet sets Ewallet field to given value.

HasEwallet

func (o *PaymentMethod) HasEwallet() bool

HasEwallet returns a boolean if a field has been set.

SetEwalletNil

func (o *PaymentMethod) SetEwalletNil(b bool)

SetEwalletNil sets the value for Ewallet to be an explicit nil

UnsetEwallet

func (o *PaymentMethod) UnsetEwallet()

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

GetDirectDebit

func (o *PaymentMethod) GetDirectDebit() DirectDebit

GetDirectDebit returns the DirectDebit field if non-nil, zero value otherwise.

GetDirectDebitOk

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

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

SetDirectDebit

func (o *PaymentMethod) SetDirectDebit(v DirectDebit)

SetDirectDebit sets DirectDebit field to given value.

HasDirectDebit

func (o *PaymentMethod) HasDirectDebit() bool

HasDirectDebit returns a boolean if a field has been set.

SetDirectDebitNil

func (o *PaymentMethod) SetDirectDebitNil(b bool)

SetDirectDebitNil sets the value for DirectDebit to be an explicit nil

UnsetDirectDebit

func (o *PaymentMethod) UnsetDirectDebit()

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

GetOverTheCounter

func (o *PaymentMethod) GetOverTheCounter() OverTheCounter

GetOverTheCounter returns the OverTheCounter field if non-nil, zero value otherwise.

GetOverTheCounterOk

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

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

SetOverTheCounter

func (o *PaymentMethod) SetOverTheCounter(v OverTheCounter)

SetOverTheCounter sets OverTheCounter field to given value.

HasOverTheCounter

func (o *PaymentMethod) HasOverTheCounter() bool

HasOverTheCounter returns a boolean if a field has been set.

SetOverTheCounterNil

func (o *PaymentMethod) SetOverTheCounterNil(b bool)

SetOverTheCounterNil sets the value for OverTheCounter to be an explicit nil

UnsetOverTheCounter

func (o *PaymentMethod) UnsetOverTheCounter()

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

GetCard

func (o *PaymentMethod) GetCard() Card

GetCard returns the Card field if non-nil, zero value otherwise.

GetCardOk

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

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

SetCard

func (o *PaymentMethod) SetCard(v Card)

SetCard sets Card field to given value.

HasCard

func (o *PaymentMethod) HasCard() bool

HasCard returns a boolean if a field has been set.

SetCardNil

func (o *PaymentMethod) SetCardNil(b bool)

SetCardNil sets the value for Card to be an explicit nil

UnsetCard

func (o *PaymentMethod) UnsetCard()

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

GetQrCode

func (o *PaymentMethod) GetQrCode() QRCode

GetQrCode returns the QrCode field if non-nil, zero value otherwise.

GetQrCodeOk

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

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

SetQrCode

func (o *PaymentMethod) SetQrCode(v QRCode)

SetQrCode sets QrCode field to given value.

HasQrCode

func (o *PaymentMethod) HasQrCode() bool

HasQrCode returns a boolean if a field has been set.

SetQrCodeNil

func (o *PaymentMethod) SetQrCodeNil(b bool)

SetQrCodeNil sets the value for QrCode to be an explicit nil

UnsetQrCode

func (o *PaymentMethod) UnsetQrCode()

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

GetVirtualAccount

func (o *PaymentMethod) GetVirtualAccount() VirtualAccount

GetVirtualAccount returns the VirtualAccount field if non-nil, zero value otherwise.

GetVirtualAccountOk

func (o *PaymentMethod) GetVirtualAccountOk() (*VirtualAccount, bool)

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

SetVirtualAccount

func (o *PaymentMethod) SetVirtualAccount(v VirtualAccount)

SetVirtualAccount sets VirtualAccount field to given value.

HasVirtualAccount

func (o *PaymentMethod) HasVirtualAccount() bool

HasVirtualAccount returns a boolean if a field has been set.

SetVirtualAccountNil

func (o *PaymentMethod) SetVirtualAccountNil(b bool)

SetVirtualAccountNil sets the value for VirtualAccount to be an explicit nil

UnsetVirtualAccount

func (o *PaymentMethod) UnsetVirtualAccount()

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

[Back to README]