Skip to content

Latest commit

 

History

History
164 lines (92 loc) · 4.41 KB

QRCode.md

File metadata and controls

164 lines (92 loc) · 4.41 KB

QRCode

QR Code Payment Method Details

Properties

Name Type Required Description Examples
Amount Pointer to NullableFloat64
Currency Pointer to string
ChannelCode Pointer to NullableQRCodeChannelCode
ChannelProperties Pointer to NullableQRCodeChannelProperties

Methods

NewQRCode

func NewQRCode() *QRCode

NewQRCode instantiates a new QRCode 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

NewQRCodeWithDefaults

func NewQRCodeWithDefaults() *QRCode

NewQRCodeWithDefaults instantiates a new QRCode 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

GetAmount

func (o *QRCode) GetAmount() float64

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

func (o *QRCode) 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.

SetAmount

func (o *QRCode) SetAmount(v float64)

SetAmount sets Amount field to given value.

HasAmount

func (o *QRCode) HasAmount() bool

HasAmount returns a boolean if a field has been set.

SetAmountNil

func (o *QRCode) SetAmountNil(b bool)

SetAmountNil sets the value for Amount to be an explicit nil

UnsetAmount

func (o *QRCode) UnsetAmount()

UnsetAmount ensures that no value is present for Amount, not even an explicit nil

GetCurrency

func (o *QRCode) GetCurrency() string

GetCurrency returns the Currency field if non-nil, zero value otherwise.

GetCurrencyOk

func (o *QRCode) 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.

SetCurrency

func (o *QRCode) SetCurrency(v string)

SetCurrency sets Currency field to given value.

HasCurrency

func (o *QRCode) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

GetChannelCode

func (o *QRCode) GetChannelCode() QRCodeChannelCode

GetChannelCode returns the ChannelCode field if non-nil, zero value otherwise.

GetChannelCodeOk

func (o *QRCode) GetChannelCodeOk() (*QRCodeChannelCode, 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.

SetChannelCode

func (o *QRCode) SetChannelCode(v QRCodeChannelCode)

SetChannelCode sets ChannelCode field to given value.

HasChannelCode

func (o *QRCode) HasChannelCode() bool

HasChannelCode returns a boolean if a field has been set.

SetChannelCodeNil

func (o *QRCode) SetChannelCodeNil(b bool)

SetChannelCodeNil sets the value for ChannelCode to be an explicit nil

UnsetChannelCode

func (o *QRCode) UnsetChannelCode()

UnsetChannelCode ensures that no value is present for ChannelCode, not even an explicit nil

GetChannelProperties

func (o *QRCode) GetChannelProperties() QRCodeChannelProperties

GetChannelProperties returns the ChannelProperties field if non-nil, zero value otherwise.

GetChannelPropertiesOk

func (o *QRCode) GetChannelPropertiesOk() (*QRCodeChannelProperties, 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.

SetChannelProperties

func (o *QRCode) SetChannelProperties(v QRCodeChannelProperties)

SetChannelProperties sets ChannelProperties field to given value.

HasChannelProperties

func (o *QRCode) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

SetChannelPropertiesNil

func (o *QRCode) SetChannelPropertiesNil(b bool)

SetChannelPropertiesNil sets the value for ChannelProperties to be an explicit nil

UnsetChannelProperties

func (o *QRCode) UnsetChannelProperties()

UnsetChannelProperties ensures that no value is present for ChannelProperties, not even an explicit nil

[Back to README]