3.8 KiB
BillingAutoRechargeEdit
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AmountCents | Pointer to int64 | [optional] | |
| Currency | Pointer to string | [optional] | |
| Enabled | Pointer to bool | [optional] | |
| ThresholdCents | Pointer to int64 | [optional] |
Methods
NewBillingAutoRechargeEdit
func NewBillingAutoRechargeEdit() *BillingAutoRechargeEdit
NewBillingAutoRechargeEdit instantiates a new BillingAutoRechargeEdit 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
NewBillingAutoRechargeEditWithDefaults
func NewBillingAutoRechargeEditWithDefaults() *BillingAutoRechargeEdit
NewBillingAutoRechargeEditWithDefaults instantiates a new BillingAutoRechargeEdit 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 *BillingAutoRechargeEdit) GetAmountCents() int64
GetAmountCents returns the AmountCents field if non-nil, zero value otherwise.
GetAmountCentsOk
func (o *BillingAutoRechargeEdit) 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 *BillingAutoRechargeEdit) SetAmountCents(v int64)
SetAmountCents sets AmountCents field to given value.
HasAmountCents
func (o *BillingAutoRechargeEdit) HasAmountCents() bool
HasAmountCents returns a boolean if a field has been set.
GetCurrency
func (o *BillingAutoRechargeEdit) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
GetCurrencyOk
func (o *BillingAutoRechargeEdit) 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 *BillingAutoRechargeEdit) SetCurrency(v string)
SetCurrency sets Currency field to given value.
HasCurrency
func (o *BillingAutoRechargeEdit) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
GetEnabled
func (o *BillingAutoRechargeEdit) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
GetEnabledOk
func (o *BillingAutoRechargeEdit) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEnabled
func (o *BillingAutoRechargeEdit) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
HasEnabled
func (o *BillingAutoRechargeEdit) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
GetThresholdCents
func (o *BillingAutoRechargeEdit) GetThresholdCents() int64
GetThresholdCents returns the ThresholdCents field if non-nil, zero value otherwise.
GetThresholdCentsOk
func (o *BillingAutoRechargeEdit) GetThresholdCentsOk() (*int64, bool)
GetThresholdCentsOk returns a tuple with the ThresholdCents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetThresholdCents
func (o *BillingAutoRechargeEdit) SetThresholdCents(v int64)
SetThresholdCents sets ThresholdCents field to given value.
HasThresholdCents
func (o *BillingAutoRechargeEdit) HasThresholdCents() bool
HasThresholdCents returns a boolean if a field has been set.