3.2 KiB
BillingCryptoAsset
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AmountCents | Pointer to int64 | AmountCents is what the payer intends to send, for the record. Optional — the credit is what actually arrives, never what was announced. | [optional] |
| Chain | Pointer to string | Chain is the network to receive on, one of GET /v1/billing/crypto/options chains. Empty takes the rail's default. | [optional] |
| Token | Pointer to string | Token is the asset on that chain, one of the options' tokens. Empty takes the rail's default. | [optional] |
Methods
NewBillingCryptoAsset
func NewBillingCryptoAsset() *BillingCryptoAsset
NewBillingCryptoAsset instantiates a new BillingCryptoAsset 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
NewBillingCryptoAssetWithDefaults
func NewBillingCryptoAssetWithDefaults() *BillingCryptoAsset
NewBillingCryptoAssetWithDefaults instantiates a new BillingCryptoAsset 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
GetAmountCents
func (o *BillingCryptoAsset) GetAmountCents() int64
GetAmountCents returns the AmountCents field if non-nil, zero value otherwise.
GetAmountCentsOk
func (o *BillingCryptoAsset) GetAmountCentsOk() (*int64, bool)
GetAmountCentsOk returns a tuple with the AmountCents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAmountCents
func (o *BillingCryptoAsset) SetAmountCents(v int64)
SetAmountCents sets AmountCents field to given value.
HasAmountCents
func (o *BillingCryptoAsset) HasAmountCents() bool
HasAmountCents returns a boolean if a field has been set.
GetChain
func (o *BillingCryptoAsset) GetChain() string
GetChain returns the Chain field if non-nil, zero value otherwise.
GetChainOk
func (o *BillingCryptoAsset) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetChain
func (o *BillingCryptoAsset) SetChain(v string)
SetChain sets Chain field to given value.
HasChain
func (o *BillingCryptoAsset) HasChain() bool
HasChain returns a boolean if a field has been set.
GetToken
func (o *BillingCryptoAsset) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
GetTokenOk
func (o *BillingCryptoAsset) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetToken
func (o *BillingCryptoAsset) SetToken(v string)
SetToken sets Token field to given value.
HasToken
func (o *BillingCryptoAsset) HasToken() bool
HasToken returns a boolean if a field has been set.