Name | Type | Description | Notes |
---|---|---|---|
Product | BillingProduct | ||
Interval | BillingInterval | ||
Reason | Pointer to string | Reason that triggered the billing upgrade | [optional] |
Mode | Pointer to string | Mode to use for the upgrade (default value is `commit`): - `auto`: user is redirect to checkout if possible, other a preview of the auto-upgrade is returned. - `commit`: a checkout session is returned or an auto-upgrade is done - `preview`: a preview invoice is always returned | [optional] |
func NewRequestUpgradeOrganizationBilling(product BillingProduct, interval BillingInterval, ) *RequestUpgradeOrganizationBilling
NewRequestUpgradeOrganizationBilling instantiates a new RequestUpgradeOrganizationBilling 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 NewRequestUpgradeOrganizationBillingWithDefaults() *RequestUpgradeOrganizationBilling
NewRequestUpgradeOrganizationBillingWithDefaults instantiates a new RequestUpgradeOrganizationBilling 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 *RequestUpgradeOrganizationBilling) GetProduct() BillingProduct
GetProduct returns the Product field if non-nil, zero value otherwise.
func (o *RequestUpgradeOrganizationBilling) GetProductOk() (*BillingProduct, bool)
GetProductOk returns a tuple with the Product field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestUpgradeOrganizationBilling) SetProduct(v BillingProduct)
SetProduct sets Product field to given value.
func (o *RequestUpgradeOrganizationBilling) GetInterval() BillingInterval
GetInterval returns the Interval field if non-nil, zero value otherwise.
func (o *RequestUpgradeOrganizationBilling) GetIntervalOk() (*BillingInterval, bool)
GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestUpgradeOrganizationBilling) SetInterval(v BillingInterval)
SetInterval sets Interval field to given value.
func (o *RequestUpgradeOrganizationBilling) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
func (o *RequestUpgradeOrganizationBilling) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestUpgradeOrganizationBilling) SetReason(v string)
SetReason sets Reason field to given value.
func (o *RequestUpgradeOrganizationBilling) HasReason() bool
HasReason returns a boolean if a field has been set.
func (o *RequestUpgradeOrganizationBilling) GetMode() string
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *RequestUpgradeOrganizationBilling) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RequestUpgradeOrganizationBilling) SetMode(v string)
SetMode sets Mode field to given value.
func (o *RequestUpgradeOrganizationBilling) HasMode() bool
HasMode returns a boolean if a field has been set.