Class: Stripe::Source::Owner
- Inherits:
-
Stripe::StripeObject
- Object
- Stripe::StripeObject
- Stripe::Source::Owner
- Defined in:
- lib/stripe/resources/source.rb
Defined Under Namespace
Classes: Address, VerifiedAddress
Constant Summary
Constants inherited from Stripe::StripeObject
Stripe::StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Owner’s address.
-
#email ⇒ Object
readonly
Owner’s email address.
-
#name ⇒ Object
readonly
Owner’s full name.
-
#phone ⇒ Object
readonly
Owner’s phone number (including extension).
-
#verified_address ⇒ Object
readonly
Verified owner’s address.
-
#verified_email ⇒ Object
readonly
Verified owner’s email address.
-
#verified_name ⇒ Object
readonly
Verified owner’s full name.
-
#verified_phone ⇒ Object
readonly
Verified owner’s phone number (including extension).
Attributes inherited from Stripe::StripeObject
Class Method Summary collapse
Methods inherited from Stripe::StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#address ⇒ Object (readonly)
Owner’s address.
482 483 484 |
# File 'lib/stripe/resources/source.rb', line 482 def address @address end |
#email ⇒ Object (readonly)
Owner’s email address.
484 485 486 |
# File 'lib/stripe/resources/source.rb', line 484 def email @email end |
#name ⇒ Object (readonly)
Owner’s full name.
486 487 488 |
# File 'lib/stripe/resources/source.rb', line 486 def name @name end |
#phone ⇒ Object (readonly)
Owner’s phone number (including extension).
488 489 490 |
# File 'lib/stripe/resources/source.rb', line 488 def phone @phone end |
#verified_address ⇒ Object (readonly)
Verified owner’s 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.
490 491 492 |
# File 'lib/stripe/resources/source.rb', line 490 def verified_address @verified_address end |
#verified_email ⇒ Object (readonly)
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.
492 493 494 |
# File 'lib/stripe/resources/source.rb', line 492 def verified_email @verified_email end |
#verified_name ⇒ Object (readonly)
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.
494 495 496 |
# File 'lib/stripe/resources/source.rb', line 494 def verified_name @verified_name end |
#verified_phone ⇒ Object (readonly)
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.
496 497 498 |
# File 'lib/stripe/resources/source.rb', line 496 def verified_phone @verified_phone end |
Class Method Details
.field_remappings ⇒ Object
502 503 504 |
# File 'lib/stripe/resources/source.rb', line 502 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
498 499 500 |
# File 'lib/stripe/resources/source.rb', line 498 def self.inner_class_types @inner_class_types = { address: Address, verified_address: VerifiedAddress } end |