class

Stripe::SourceOwner

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

Constants

MAX_LENGTH_FOR_EMAIL = 5000
MAX_LENGTH_FOR_NAME = 5000
MAX_LENGTH_FOR_PHONE = 5000
MAX_LENGTH_FOR_VERIFIED_EMAIL = 5000
MAX_LENGTH_FOR_VERIFIED_NAME = 5000
MAX_LENGTH_FOR_VERIFIED_PHONE = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, address : Stripe::SourceOwnerAddress | Nil = nil, email : String | Nil = nil, name : String | Nil = nil, phone : String | Nil = nil, verified_address : Stripe::SourceOwnerVerifiedAddress | Nil = nil, verified_email : String | Nil = nil, verified_name : String | Nil = nil, verified_phone : 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
Source
address=(new_value : Stripe::SourceOwnerAddress | Nil)

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

Source
email

Owner's email address.

Source
email=(new_value : String | Nil)

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

Owner's full name.

Source
name=(new_value : String | Nil)

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

Source
phone

Owner's phone number (including extension).

Source
phone=(new_value : String | Nil)

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

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

Source
verified_email

Verified owner's email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

Source
verified_email=(new_value : String | Nil)

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

Source
verified_name

Verified owner's full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

Source
verified_name=(new_value : String | Nil)

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

Source
verified_phone

Verified owner's phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.

Source
verified_phone=(new_value : String | Nil)

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

Source