class

Stripe::PortalFeatures

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

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, customer_update : Stripe::PortalCustomerUpdate | Nil = nil, invoice_history : Stripe::PortalInvoiceList | Nil = nil, payment_method_update : Stripe::PortalPaymentMethodUpdate | Nil = nil, subscription_cancel : Stripe::PortalSubscriptionCancel | Nil = nil, subscription_update : Stripe::PortalSubscriptionUpdate | 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

customer_update
Source
customer_update=(new_value : Stripe::PortalCustomerUpdate | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] customer_update 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_history
Source
invoice_history=(new_value : Stripe::PortalInvoiceList | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] invoice_history 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
payment_method_update
Source
payment_method_update=(new_value : Stripe::PortalPaymentMethodUpdate | Nil)

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

Source
subscription_cancel
Source
subscription_cancel=(new_value : Stripe::PortalSubscriptionCancel | Nil)

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

Source
subscription_update
Source
subscription_update=(new_value : Stripe::PortalSubscriptionUpdate | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] subscription_update 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