Files
sdk/docs/BillingAutoRecharge.md

6.4 KiB

BillingAutoRecharge

Properties

Name Type Description Notes
AmountCents Pointer to int64 [optional]
Currency Pointer to string [optional]
Enabled Pointer to bool [optional]
LastRechargedAt Pointer to string [optional]
PerDay Pointer to int64 PerDay is the most times the sweep reloads the balance in one UTC day. [optional]
Stored Pointer to bool [optional]
Subject Pointer to string [optional]
ThresholdCents Pointer to int64 [optional]

Methods

NewBillingAutoRecharge

func NewBillingAutoRecharge() *BillingAutoRecharge

NewBillingAutoRecharge instantiates a new BillingAutoRecharge 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

NewBillingAutoRechargeWithDefaults

func NewBillingAutoRechargeWithDefaults() *BillingAutoRecharge

NewBillingAutoRechargeWithDefaults instantiates a new BillingAutoRecharge 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 *BillingAutoRecharge) GetAmountCents() int64

GetAmountCents returns the AmountCents field if non-nil, zero value otherwise.

GetAmountCentsOk

func (o *BillingAutoRecharge) 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 *BillingAutoRecharge) SetAmountCents(v int64)

SetAmountCents sets AmountCents field to given value.

HasAmountCents

func (o *BillingAutoRecharge) HasAmountCents() bool

HasAmountCents returns a boolean if a field has been set.

GetCurrency

func (o *BillingAutoRecharge) GetCurrency() string

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

GetCurrencyOk

func (o *BillingAutoRecharge) 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 *BillingAutoRecharge) SetCurrency(v string)

SetCurrency sets Currency field to given value.

HasCurrency

func (o *BillingAutoRecharge) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

GetEnabled

func (o *BillingAutoRecharge) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *BillingAutoRecharge) 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 *BillingAutoRecharge) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *BillingAutoRecharge) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetLastRechargedAt

func (o *BillingAutoRecharge) GetLastRechargedAt() string

GetLastRechargedAt returns the LastRechargedAt field if non-nil, zero value otherwise.

GetLastRechargedAtOk

func (o *BillingAutoRecharge) GetLastRechargedAtOk() (*string, bool)

GetLastRechargedAtOk returns a tuple with the LastRechargedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLastRechargedAt

func (o *BillingAutoRecharge) SetLastRechargedAt(v string)

SetLastRechargedAt sets LastRechargedAt field to given value.

HasLastRechargedAt

func (o *BillingAutoRecharge) HasLastRechargedAt() bool

HasLastRechargedAt returns a boolean if a field has been set.

GetPerDay

func (o *BillingAutoRecharge) GetPerDay() int64

GetPerDay returns the PerDay field if non-nil, zero value otherwise.

GetPerDayOk

func (o *BillingAutoRecharge) GetPerDayOk() (*int64, bool)

GetPerDayOk returns a tuple with the PerDay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPerDay

func (o *BillingAutoRecharge) SetPerDay(v int64)

SetPerDay sets PerDay field to given value.

HasPerDay

func (o *BillingAutoRecharge) HasPerDay() bool

HasPerDay returns a boolean if a field has been set.

GetStored

func (o *BillingAutoRecharge) GetStored() bool

GetStored returns the Stored field if non-nil, zero value otherwise.

GetStoredOk

func (o *BillingAutoRecharge) GetStoredOk() (*bool, bool)

GetStoredOk returns a tuple with the Stored field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStored

func (o *BillingAutoRecharge) SetStored(v bool)

SetStored sets Stored field to given value.

HasStored

func (o *BillingAutoRecharge) HasStored() bool

HasStored returns a boolean if a field has been set.

GetSubject

func (o *BillingAutoRecharge) GetSubject() string

GetSubject returns the Subject field if non-nil, zero value otherwise.

GetSubjectOk

func (o *BillingAutoRecharge) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSubject

func (o *BillingAutoRecharge) SetSubject(v string)

SetSubject sets Subject field to given value.

HasSubject

func (o *BillingAutoRecharge) HasSubject() bool

HasSubject returns a boolean if a field has been set.

GetThresholdCents

func (o *BillingAutoRecharge) GetThresholdCents() int64

GetThresholdCents returns the ThresholdCents field if non-nil, zero value otherwise.

GetThresholdCentsOk

func (o *BillingAutoRecharge) 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 *BillingAutoRecharge) SetThresholdCents(v int64)

SetThresholdCents sets ThresholdCents field to given value.

HasThresholdCents

func (o *BillingAutoRecharge) HasThresholdCents() bool

HasThresholdCents returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]