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 |
func NewPaymentMethod(id string, ) *PaymentMethod
NewPaymentMethod instantiates a new PaymentMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaymentMethodWithDefaults() *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 (o *PaymentMethod) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetId(v string)
SetId sets Id field to given value.
func (o *PaymentMethod) GetBusinessId() string
GetBusinessId returns the BusinessId field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetBusinessId(v string)
SetBusinessId sets BusinessId field to given value.
func (o *PaymentMethod) HasBusinessId() bool
HasBusinessId returns a boolean if a field has been set.
func (o *PaymentMethod) GetType() PaymentMethodType
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetType(v PaymentMethodType)
SetType sets Type field to given value.
func (o *PaymentMethod) HasType() bool
HasType returns a boolean if a field has been set.
func (o *PaymentMethod) GetCountry() PaymentMethodCountry
GetCountry returns the Country field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetCountry(v PaymentMethodCountry)
SetCountry sets Country field to given value.
func (o *PaymentMethod) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (o *PaymentMethod) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *PaymentMethod) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (o *PaymentMethod) SetCustomerIdNil(b bool)
SetCustomerIdNil sets the value for CustomerId to be an explicit nil
func (o *PaymentMethod) UnsetCustomerId()
UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil
func (o *PaymentMethod) GetCustomer() map[string]interface{}
GetCustomer returns the Customer field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetCustomer(v map[string]interface{})
SetCustomer sets Customer field to given value.
func (o *PaymentMethod) HasCustomer() bool
HasCustomer returns a boolean if a field has been set.
func (o *PaymentMethod) SetCustomerNil(b bool)
SetCustomerNil sets the value for Customer to be an explicit nil
func (o *PaymentMethod) UnsetCustomer()
UnsetCustomer ensures that no value is present for Customer, not even an explicit nil
func (o *PaymentMethod) GetReferenceId() string
GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetReferenceId(v string)
SetReferenceId sets ReferenceId field to given value.
func (o *PaymentMethod) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (o *PaymentMethod) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PaymentMethod) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PaymentMethod) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *PaymentMethod) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *PaymentMethod) GetStatus() PaymentMethodStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetStatus(v PaymentMethodStatus)
SetStatus sets Status field to given value.
func (o *PaymentMethod) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *PaymentMethod) GetReusability() PaymentMethodReusability
GetReusability returns the Reusability field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetReusability(v PaymentMethodReusability)
SetReusability sets Reusability field to given value.
func (o *PaymentMethod) HasReusability() bool
HasReusability returns a boolean if a field has been set.
func (o *PaymentMethod) GetActions() []PaymentMethodAction
GetActions returns the Actions field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetActions(v []PaymentMethodAction)
SetActions sets Actions field to given value.
func (o *PaymentMethod) HasActions() bool
HasActions returns a boolean if a field has been set.
func (o *PaymentMethod) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *PaymentMethod) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *PaymentMethod) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *PaymentMethod) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (o *PaymentMethod) GetBillingInformation() BillingInformation
GetBillingInformation returns the BillingInformation field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetBillingInformation(v BillingInformation)
SetBillingInformation sets BillingInformation field to given value.
func (o *PaymentMethod) HasBillingInformation() bool
HasBillingInformation returns a boolean if a field has been set.
func (o *PaymentMethod) SetBillingInformationNil(b bool)
SetBillingInformationNil sets the value for BillingInformation to be an explicit nil
func (o *PaymentMethod) UnsetBillingInformation()
UnsetBillingInformation ensures that no value is present for BillingInformation, not even an explicit nil
func (o *PaymentMethod) GetFailureCode() string
GetFailureCode returns the FailureCode field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetFailureCode(v string)
SetFailureCode sets FailureCode field to given value.
func (o *PaymentMethod) HasFailureCode() bool
HasFailureCode returns a boolean if a field has been set.
func (o *PaymentMethod) SetFailureCodeNil(b bool)
SetFailureCodeNil sets the value for FailureCode to be an explicit nil
func (o *PaymentMethod) UnsetFailureCode()
UnsetFailureCode ensures that no value is present for FailureCode, not even an explicit nil
func (o *PaymentMethod) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *PaymentMethod) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *PaymentMethod) GetUpdated() time.Time
GetUpdated returns the Updated field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetUpdated(v time.Time)
SetUpdated sets Updated field to given value.
func (o *PaymentMethod) HasUpdated() bool
HasUpdated returns a boolean if a field has been set.
func (o *PaymentMethod) GetEwallet() EWallet
GetEwallet returns the Ewallet field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetEwallet(v EWallet)
SetEwallet sets Ewallet field to given value.
func (o *PaymentMethod) HasEwallet() bool
HasEwallet returns a boolean if a field has been set.
func (o *PaymentMethod) SetEwalletNil(b bool)
SetEwalletNil sets the value for Ewallet to be an explicit nil
func (o *PaymentMethod) UnsetEwallet()
UnsetEwallet ensures that no value is present for Ewallet, not even an explicit nil
func (o *PaymentMethod) GetDirectDebit() DirectDebit
GetDirectDebit returns the DirectDebit field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetDirectDebit(v DirectDebit)
SetDirectDebit sets DirectDebit field to given value.
func (o *PaymentMethod) HasDirectDebit() bool
HasDirectDebit returns a boolean if a field has been set.
func (o *PaymentMethod) SetDirectDebitNil(b bool)
SetDirectDebitNil sets the value for DirectDebit to be an explicit nil
func (o *PaymentMethod) UnsetDirectDebit()
UnsetDirectDebit ensures that no value is present for DirectDebit, not even an explicit nil
func (o *PaymentMethod) GetOverTheCounter() OverTheCounter
GetOverTheCounter returns the OverTheCounter field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetOverTheCounter(v OverTheCounter)
SetOverTheCounter sets OverTheCounter field to given value.
func (o *PaymentMethod) HasOverTheCounter() bool
HasOverTheCounter returns a boolean if a field has been set.
func (o *PaymentMethod) SetOverTheCounterNil(b bool)
SetOverTheCounterNil sets the value for OverTheCounter to be an explicit nil
func (o *PaymentMethod) UnsetOverTheCounter()
UnsetOverTheCounter ensures that no value is present for OverTheCounter, not even an explicit nil
func (o *PaymentMethod) GetCard() Card
GetCard returns the Card field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetCard(v Card)
SetCard sets Card field to given value.
func (o *PaymentMethod) HasCard() bool
HasCard returns a boolean if a field has been set.
func (o *PaymentMethod) SetCardNil(b bool)
SetCardNil sets the value for Card to be an explicit nil
func (o *PaymentMethod) UnsetCard()
UnsetCard ensures that no value is present for Card, not even an explicit nil
func (o *PaymentMethod) GetQrCode() QRCode
GetQrCode returns the QrCode field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetQrCode(v QRCode)
SetQrCode sets QrCode field to given value.
func (o *PaymentMethod) HasQrCode() bool
HasQrCode returns a boolean if a field has been set.
func (o *PaymentMethod) SetQrCodeNil(b bool)
SetQrCodeNil sets the value for QrCode to be an explicit nil
func (o *PaymentMethod) UnsetQrCode()
UnsetQrCode ensures that no value is present for QrCode, not even an explicit nil
func (o *PaymentMethod) GetVirtualAccount() VirtualAccount
GetVirtualAccount returns the VirtualAccount field if non-nil, zero value otherwise.
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.
func (o *PaymentMethod) SetVirtualAccount(v VirtualAccount)
SetVirtualAccount sets VirtualAccount field to given value.
func (o *PaymentMethod) HasVirtualAccount() bool
HasVirtualAccount returns a boolean if a field has been set.
func (o *PaymentMethod) SetVirtualAccountNil(b bool)
SetVirtualAccountNil sets the value for VirtualAccount to be an explicit nil
func (o *PaymentMethod) UnsetVirtualAccount()
UnsetVirtualAccount ensures that no value is present for VirtualAccount, not even an explicit nil