Name | Type | Required | Description | Examples |
---|---|---|---|---|
Type | PaymentMethodType | ☑️ | ||
Reusability | PaymentMethodReusability | ☑️ | ||
Description | Pointer to NullableString | |||
ReferenceId | Pointer to string | |||
Card | Pointer to NullableCardParameters | |||
DirectDebit | Pointer to NullableDirectDebitParameters | |||
Ewallet | Pointer to NullableEWalletParameters | |||
OverTheCounter | Pointer to NullableOverTheCounterParameters | |||
VirtualAccount | Pointer to NullableVirtualAccountParameters | |||
QrCode | Pointer to NullableQRCodeParameters |
func NewPaymentMethodParameters(type_ PaymentMethodType, reusability PaymentMethodReusability, ) *PaymentMethodParameters
NewPaymentMethodParameters instantiates a new PaymentMethodParameters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaymentMethodParametersWithDefaults() *PaymentMethodParameters
NewPaymentMethodParametersWithDefaults instantiates a new PaymentMethodParameters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *PaymentMethodParameters) GetType() PaymentMethodType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) 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 *PaymentMethodParameters) SetType(v PaymentMethodType)
SetType sets Type field to given value.
func (o *PaymentMethodParameters) GetReusability() PaymentMethodReusability
GetReusability returns the Reusability field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) 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 *PaymentMethodParameters) SetReusability(v PaymentMethodReusability)
SetReusability sets Reusability field to given value.
func (o *PaymentMethodParameters) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) 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 *PaymentMethodParameters) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PaymentMethodParameters) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PaymentMethodParameters) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *PaymentMethodParameters) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *PaymentMethodParameters) GetReferenceId() string
GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) 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 *PaymentMethodParameters) SetReferenceId(v string)
SetReferenceId sets ReferenceId field to given value.
func (o *PaymentMethodParameters) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (o *PaymentMethodParameters) GetCard() CardParameters
GetCard returns the Card field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) GetCardOk() (*CardParameters, 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 *PaymentMethodParameters) SetCard(v CardParameters)
SetCard sets Card field to given value.
func (o *PaymentMethodParameters) HasCard() bool
HasCard returns a boolean if a field has been set.
func (o *PaymentMethodParameters) SetCardNil(b bool)
SetCardNil sets the value for Card to be an explicit nil
func (o *PaymentMethodParameters) UnsetCard()
UnsetCard ensures that no value is present for Card, not even an explicit nil
func (o *PaymentMethodParameters) GetDirectDebit() DirectDebitParameters
GetDirectDebit returns the DirectDebit field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) GetDirectDebitOk() (*DirectDebitParameters, 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 *PaymentMethodParameters) SetDirectDebit(v DirectDebitParameters)
SetDirectDebit sets DirectDebit field to given value.
func (o *PaymentMethodParameters) HasDirectDebit() bool
HasDirectDebit returns a boolean if a field has been set.
func (o *PaymentMethodParameters) SetDirectDebitNil(b bool)
SetDirectDebitNil sets the value for DirectDebit to be an explicit nil
func (o *PaymentMethodParameters) UnsetDirectDebit()
UnsetDirectDebit ensures that no value is present for DirectDebit, not even an explicit nil
func (o *PaymentMethodParameters) GetEwallet() EWalletParameters
GetEwallet returns the Ewallet field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) GetEwalletOk() (*EWalletParameters, 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 *PaymentMethodParameters) SetEwallet(v EWalletParameters)
SetEwallet sets Ewallet field to given value.
func (o *PaymentMethodParameters) HasEwallet() bool
HasEwallet returns a boolean if a field has been set.
func (o *PaymentMethodParameters) SetEwalletNil(b bool)
SetEwalletNil sets the value for Ewallet to be an explicit nil
func (o *PaymentMethodParameters) UnsetEwallet()
UnsetEwallet ensures that no value is present for Ewallet, not even an explicit nil
func (o *PaymentMethodParameters) GetOverTheCounter() OverTheCounterParameters
GetOverTheCounter returns the OverTheCounter field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) GetOverTheCounterOk() (*OverTheCounterParameters, 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 *PaymentMethodParameters) SetOverTheCounter(v OverTheCounterParameters)
SetOverTheCounter sets OverTheCounter field to given value.
func (o *PaymentMethodParameters) HasOverTheCounter() bool
HasOverTheCounter returns a boolean if a field has been set.
func (o *PaymentMethodParameters) SetOverTheCounterNil(b bool)
SetOverTheCounterNil sets the value for OverTheCounter to be an explicit nil
func (o *PaymentMethodParameters) UnsetOverTheCounter()
UnsetOverTheCounter ensures that no value is present for OverTheCounter, not even an explicit nil
func (o *PaymentMethodParameters) GetVirtualAccount() VirtualAccountParameters
GetVirtualAccount returns the VirtualAccount field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) GetVirtualAccountOk() (*VirtualAccountParameters, 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 *PaymentMethodParameters) SetVirtualAccount(v VirtualAccountParameters)
SetVirtualAccount sets VirtualAccount field to given value.
func (o *PaymentMethodParameters) HasVirtualAccount() bool
HasVirtualAccount returns a boolean if a field has been set.
func (o *PaymentMethodParameters) SetVirtualAccountNil(b bool)
SetVirtualAccountNil sets the value for VirtualAccount to be an explicit nil
func (o *PaymentMethodParameters) UnsetVirtualAccount()
UnsetVirtualAccount ensures that no value is present for VirtualAccount, not even an explicit nil
func (o *PaymentMethodParameters) GetQrCode() QRCodeParameters
GetQrCode returns the QrCode field if non-nil, zero value otherwise.
func (o *PaymentMethodParameters) GetQrCodeOk() (*QRCodeParameters, 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 *PaymentMethodParameters) SetQrCode(v QRCodeParameters)
SetQrCode sets QrCode field to given value.
func (o *PaymentMethodParameters) HasQrCode() bool
HasQrCode returns a boolean if a field has been set.
func (o *PaymentMethodParameters) SetQrCodeNil(b bool)
SetQrCodeNil sets the value for QrCode to be an explicit nil
func (o *PaymentMethodParameters) UnsetQrCode()
UnsetQrCode ensures that no value is present for QrCode, not even an explicit nil