Virtual Account Payment Method Details
Name | Type | Required | Description | Examples |
---|---|---|---|---|
Amount | Pointer to NullableFloat64 | |||
MinAmount | Pointer to NullableFloat64 | |||
MaxAmount | Pointer to NullableFloat64 | |||
Currency | Pointer to string | |||
ChannelCode | VirtualAccountChannelCode | ☑️ | ||
ChannelProperties | VirtualAccountChannelProperties | ☑️ | ||
AlternativeDisplayTypes | Pointer to string[] | For payments in Vietnam only, alternative display requested for the virtual account | ||
AlternativeDisplays | Pointer to VirtualAccountAlternativeDisplay[] |
func NewVirtualAccount(channelCode VirtualAccountChannelCode, channelProperties VirtualAccountChannelProperties, ) *VirtualAccount
NewVirtualAccount instantiates a new VirtualAccount 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 NewVirtualAccountWithDefaults() *VirtualAccount
NewVirtualAccountWithDefaults instantiates a new VirtualAccount 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 *VirtualAccount) GetAmount() float64
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *VirtualAccount) GetAmountOk() (*float64, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VirtualAccount) SetAmount(v float64)
SetAmount sets Amount field to given value.
func (o *VirtualAccount) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *VirtualAccount) SetAmountNil(b bool)
SetAmountNil sets the value for Amount to be an explicit nil
func (o *VirtualAccount) UnsetAmount()
UnsetAmount ensures that no value is present for Amount, not even an explicit nil
func (o *VirtualAccount) GetMinAmount() float64
GetMinAmount returns the MinAmount field if non-nil, zero value otherwise.
func (o *VirtualAccount) GetMinAmountOk() (*float64, bool)
GetMinAmountOk returns a tuple with the MinAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VirtualAccount) SetMinAmount(v float64)
SetMinAmount sets MinAmount field to given value.
func (o *VirtualAccount) HasMinAmount() bool
HasMinAmount returns a boolean if a field has been set.
func (o *VirtualAccount) SetMinAmountNil(b bool)
SetMinAmountNil sets the value for MinAmount to be an explicit nil
func (o *VirtualAccount) UnsetMinAmount()
UnsetMinAmount ensures that no value is present for MinAmount, not even an explicit nil
func (o *VirtualAccount) GetMaxAmount() float64
GetMaxAmount returns the MaxAmount field if non-nil, zero value otherwise.
func (o *VirtualAccount) GetMaxAmountOk() (*float64, bool)
GetMaxAmountOk returns a tuple with the MaxAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VirtualAccount) SetMaxAmount(v float64)
SetMaxAmount sets MaxAmount field to given value.
func (o *VirtualAccount) HasMaxAmount() bool
HasMaxAmount returns a boolean if a field has been set.
func (o *VirtualAccount) SetMaxAmountNil(b bool)
SetMaxAmountNil sets the value for MaxAmount to be an explicit nil
func (o *VirtualAccount) UnsetMaxAmount()
UnsetMaxAmount ensures that no value is present for MaxAmount, not even an explicit nil
func (o *VirtualAccount) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *VirtualAccount) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VirtualAccount) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *VirtualAccount) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (o *VirtualAccount) GetChannelCode() VirtualAccountChannelCode
GetChannelCode returns the ChannelCode field if non-nil, zero value otherwise.
func (o *VirtualAccount) GetChannelCodeOk() (*VirtualAccountChannelCode, bool)
GetChannelCodeOk returns a tuple with the ChannelCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VirtualAccount) SetChannelCode(v VirtualAccountChannelCode)
SetChannelCode sets ChannelCode field to given value.
func (o *VirtualAccount) GetChannelProperties() VirtualAccountChannelProperties
GetChannelProperties returns the ChannelProperties field if non-nil, zero value otherwise.
func (o *VirtualAccount) GetChannelPropertiesOk() (*VirtualAccountChannelProperties, bool)
GetChannelPropertiesOk returns a tuple with the ChannelProperties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VirtualAccount) SetChannelProperties(v VirtualAccountChannelProperties)
SetChannelProperties sets ChannelProperties field to given value.
func (o *VirtualAccount) GetAlternativeDisplayTypes() []string
GetAlternativeDisplayTypes returns the AlternativeDisplayTypes field if non-nil, zero value otherwise.
func (o *VirtualAccount) GetAlternativeDisplayTypesOk() (*[]string, bool)
GetAlternativeDisplayTypesOk returns a tuple with the AlternativeDisplayTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VirtualAccount) SetAlternativeDisplayTypes(v []string)
SetAlternativeDisplayTypes sets AlternativeDisplayTypes field to given value.
func (o *VirtualAccount) HasAlternativeDisplayTypes() bool
HasAlternativeDisplayTypes returns a boolean if a field has been set.
func (o *VirtualAccount) GetAlternativeDisplays() []VirtualAccountAlternativeDisplay
GetAlternativeDisplays returns the AlternativeDisplays field if non-nil, zero value otherwise.
func (o *VirtualAccount) GetAlternativeDisplaysOk() (*[]VirtualAccountAlternativeDisplay, bool)
GetAlternativeDisplaysOk returns a tuple with the AlternativeDisplays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VirtualAccount) SetAlternativeDisplays(v []VirtualAccountAlternativeDisplay)
SetAlternativeDisplays sets AlternativeDisplays field to given value.
func (o *VirtualAccount) HasAlternativeDisplays() bool
HasAlternativeDisplays returns a boolean if a field has been set.