class

Stripe::SubscriptionDataUpdateParams

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, description : Stripe::PostSubscriptionsSubscriptionExposedIdRequestDescription | Nil = nil, effective_date : Stripe::SubscriptionDataCreateParamsEffectiveDate | Nil = nil, invoice_settings : Stripe::SubscriptionDataInvoiceSettingsParams | Nil = nil, metadata : Hash(String, String) | Nil = nil, trial_period_days : Stripe::SubscriptionDataCreateParamsTrialPeriodDays | Nil = nil, trial_settings : Stripe::SubscriptionDataUpdateParamsTrialSettings | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

description
Source

Custom attribute writer method checking allowed values (enum). @param [Object] description Object to be assigned

Source
effective_date
Source
effective_date=(new_value : Stripe::SubscriptionDataCreateParamsEffectiveDate | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] effective_date Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

invoice_settings
Source
invoice_settings=(new_value : Stripe::SubscriptionDataInvoiceSettingsParams | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] invoice_settings Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
metadata
Source
metadata=(new_value : Hash(String, String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] metadata Object to be assigned

Source
trial_period_days
Source
trial_period_days=(new_value : Stripe::SubscriptionDataCreateParamsTrialPeriodDays | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] trial_period_days Object to be assigned

Source
trial_settings
Source
trial_settings=(new_value : Stripe::SubscriptionDataUpdateParamsTrialSettings | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] trial_settings Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source