4.9 KiB
BillingTopupIn
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AmountCents | Pointer to int64 | AmountCents is how much to charge, in cents of Currency. Required. | [optional] |
| Currency | Pointer to string | Currency is the ISO-4217 code to charge in. Empty takes the deployment's own default. | [optional] |
| PaymentMethodId | Pointer to string | MethodID names a card the subject already saved, for the saved-card endpoint. | [optional] |
| Provider | Pointer to string | Provider names the explicit payment processor ("square" or "paypal") when SourceID is a provider-specific order/token (e.g. a PayPal v2 Order ID). | [optional] |
| SourceId | Pointer to string | SourceID is a single-use card token from the payment form, for the token endpoint. It is vaulted as part of the charge, so a caller never holds card numbers and this service never sees one. | [optional] |
Methods
NewBillingTopupIn
func NewBillingTopupIn() *BillingTopupIn
NewBillingTopupIn instantiates a new BillingTopupIn 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
NewBillingTopupInWithDefaults
func NewBillingTopupInWithDefaults() *BillingTopupIn
NewBillingTopupInWithDefaults instantiates a new BillingTopupIn 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 *BillingTopupIn) GetAmountCents() int64
GetAmountCents returns the AmountCents field if non-nil, zero value otherwise.
GetAmountCentsOk
func (o *BillingTopupIn) 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 *BillingTopupIn) SetAmountCents(v int64)
SetAmountCents sets AmountCents field to given value.
HasAmountCents
func (o *BillingTopupIn) HasAmountCents() bool
HasAmountCents returns a boolean if a field has been set.
GetCurrency
func (o *BillingTopupIn) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
GetCurrencyOk
func (o *BillingTopupIn) 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 *BillingTopupIn) SetCurrency(v string)
SetCurrency sets Currency field to given value.
HasCurrency
func (o *BillingTopupIn) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
GetPaymentMethodId
func (o *BillingTopupIn) GetPaymentMethodId() string
GetPaymentMethodId returns the PaymentMethodId field if non-nil, zero value otherwise.
GetPaymentMethodIdOk
func (o *BillingTopupIn) GetPaymentMethodIdOk() (*string, bool)
GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPaymentMethodId
func (o *BillingTopupIn) SetPaymentMethodId(v string)
SetPaymentMethodId sets PaymentMethodId field to given value.
HasPaymentMethodId
func (o *BillingTopupIn) HasPaymentMethodId() bool
HasPaymentMethodId returns a boolean if a field has been set.
GetProvider
func (o *BillingTopupIn) GetProvider() string
GetProvider returns the Provider field if non-nil, zero value otherwise.
GetProviderOk
func (o *BillingTopupIn) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProvider
func (o *BillingTopupIn) SetProvider(v string)
SetProvider sets Provider field to given value.
HasProvider
func (o *BillingTopupIn) HasProvider() bool
HasProvider returns a boolean if a field has been set.
GetSourceId
func (o *BillingTopupIn) GetSourceId() string
GetSourceId returns the SourceId field if non-nil, zero value otherwise.
GetSourceIdOk
func (o *BillingTopupIn) GetSourceIdOk() (*string, bool)
GetSourceIdOk returns a tuple with the SourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSourceId
func (o *BillingTopupIn) SetSourceId(v string)
SetSourceId sets SourceId field to given value.
HasSourceId
func (o *BillingTopupIn) HasSourceId() bool
HasSourceId returns a boolean if a field has been set.