class

Stripe::CustomerUpdateParams

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

Constants

ERROR_MESSAGE_FOR_ADDRESS = "invalid value for \"address\", must be one of [auto, never]."
ERROR_MESSAGE_FOR_NAME = "invalid value for \"name\", must be one of [auto, never]."
ERROR_MESSAGE_FOR_SHIPPING = "invalid value for \"shipping\", must be one of [auto, never]."
VALID_VALUES_FOR_ADDRESS = String.static_array("auto", "never")
VALID_VALUES_FOR_NAME = String.static_array("auto", "never")
VALID_VALUES_FOR_SHIPPING = String.static_array("auto", "never")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, address : String | Nil = nil, name : String | Nil = nil, shipping : String | 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

address

Describes whether Checkout saves the billing address onto customer.address. To always collect a full billing address, use billing_address_collection. Defaults to never.

Source
address=(new_value : String | Nil)

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

Describes whether Checkout saves the name onto customer.name. Defaults to never.

Source
name=(new_value : String | Nil)

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

Source
shipping

Describes whether Checkout saves shipping information onto customer.shipping. To collect shipping information, use shipping_address_collection. Defaults to never.

Source
shipping=(new_value : String | Nil)

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