class

Stripe::CustomerParam

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

Constants

MAX_LENGTH_FOR_DEFAULT_PAYMENT_METHOD = 5000
MAX_LENGTH_FOR_FOOTER = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
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

custom_fields
Source
custom_fields=(new_value : Stripe::CustomerParamCustomFields | Nil)

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

Source
default_payment_method

ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.

Source
default_payment_method=(new_value : String | Nil)

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

list_invalid_properties

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

Source
rendering_options
Source
rendering_options=(new_value : Stripe::CustomerParamRenderingOptions | Nil)

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