Class: Stripe::Issuing::Cardholder::Individual
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Issuing::Cardholder::Individual
- Defined in:
- lib/stripe/resources/issuing/cardholder.rb
Defined Under Namespace
Classes: CardIssuing, Dob, Verification
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#card_issuing ⇒ Object
readonly
Information related to the card_issuing program for this cardholder.
-
#dob ⇒ Object
readonly
The date of birth of this cardholder.
-
#first_name ⇒ Object
readonly
The first name of this cardholder.
-
#last_name ⇒ Object
readonly
The last name of this cardholder.
-
#verification ⇒ Object
readonly
Government-issued ID document for this cardholder.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from 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
#card_issuing ⇒ Object (readonly)
Information related to the card_issuing program for this cardholder.
141 142 143 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 141 def card_issuing @card_issuing end |
#dob ⇒ Object (readonly)
The date of birth of this cardholder.
143 144 145 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 143 def dob @dob end |
#first_name ⇒ Object (readonly)
The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.
145 146 147 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 145 def first_name @first_name end |
#last_name ⇒ Object (readonly)
The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.
147 148 149 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 147 def last_name @last_name end |
#verification ⇒ Object (readonly)
Government-issued ID document for this cardholder.
149 150 151 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 149 def verification @verification end |
Class Method Details
.field_remappings ⇒ Object
155 156 157 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 155 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
151 152 153 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 151 def self.inner_class_types @inner_class_types = { card_issuing: CardIssuing, dob: Dob, verification: Verification } end |