Name | Type | Required | Description | Examples |
---|---|---|---|---|
Id | string | ☑️ | ||
Type | PaymentMethodType | ☑️ | ||
Created | Pointer to string | |||
Updated | Pointer to string | |||
Description | Pointer to NullableString | |||
ReferenceId | Pointer to string | |||
Card | Pointer to NullableCard | |||
DirectDebit | Pointer to NullableDirectDebit | |||
Ewallet | Pointer to NullableEWallet | |||
OverTheCounter | Pointer to NullableOverTheCounter | |||
VirtualAccount | Pointer to NullableVirtualAccount | |||
QrCode | Pointer to NullableQRCode | |||
Reusability | PaymentMethodReusability | ☑️ | ||
Status | PaymentMethodStatus | ☑️ | ||
Metadata | Pointer to map[string]interface{} |
func NewPaymentMethod(id string, type_ PaymentMethodType, reusability PaymentMethodReusability, status PaymentMethodStatus, ) *PaymentMethod
NewPaymentMethod instantiates a new PaymentMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaymentMethodWithDefaults() *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) 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) GetCreated() string
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *PaymentMethod) GetCreatedOk() (*string, 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 string)
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() string
GetUpdated returns the Updated field if non-nil, zero value otherwise.
func (o *PaymentMethod) GetUpdatedOk() (*string, 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 string)
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) 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) 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) 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) 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) 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) 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) 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
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) 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) 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) 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