Name | Type | Description | Notes |
---|---|---|---|
Amount | Pointer to int32 | The amount in cents that will be charged on the interval specified. | [optional] |
Currency | Pointer to string | ISO 4217 for currencies, for the Mexican peso it is MXN/USD | [optional] |
ExpiryCount | Pointer to int32 | Number of repetitions of the frequency NUMBER OF CHARGES TO BE MADE, considering the interval and frequency, this evolves over time, but is subject to the expiration count. | [optional] |
Name | Pointer to string | The name of the plan. | [optional] |
func NewPlanUpdateRequest() *PlanUpdateRequest
NewPlanUpdateRequest instantiates a new PlanUpdateRequest 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
func NewPlanUpdateRequestWithDefaults() *PlanUpdateRequest
NewPlanUpdateRequestWithDefaults instantiates a new PlanUpdateRequest 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
func (o *PlanUpdateRequest) GetAmount() int32
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *PlanUpdateRequest) GetAmountOk() (*int32, 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.
func (o *PlanUpdateRequest) SetAmount(v int32)
SetAmount sets Amount field to given value.
func (o *PlanUpdateRequest) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *PlanUpdateRequest) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *PlanUpdateRequest) 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.
func (o *PlanUpdateRequest) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *PlanUpdateRequest) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (o *PlanUpdateRequest) GetExpiryCount() int32
GetExpiryCount returns the ExpiryCount field if non-nil, zero value otherwise.
func (o *PlanUpdateRequest) GetExpiryCountOk() (*int32, bool)
GetExpiryCountOk returns a tuple with the ExpiryCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlanUpdateRequest) SetExpiryCount(v int32)
SetExpiryCount sets ExpiryCount field to given value.
func (o *PlanUpdateRequest) HasExpiryCount() bool
HasExpiryCount returns a boolean if a field has been set.
func (o *PlanUpdateRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PlanUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlanUpdateRequest) SetName(v string)
SetName sets Name field to given value.
func (o *PlanUpdateRequest) HasName() bool
HasName returns a boolean if a field has been set.