Class: Stripe::Issuing::CardholderService::UpdateParams::Individual
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::CardholderService::UpdateParams::Individual
- Defined in:
- lib/stripe/services/issuing/cardholder_service.rb
Defined Under Namespace
Classes: CardIssuing, Dob, Verification
Instance Attribute Summary collapse
-
#card_issuing ⇒ Object
Information related to the card_issuing program for this cardholder.
-
#dob ⇒ Object
The date of birth of this cardholder.
-
#first_name ⇒ Object
The first name of this cardholder.
-
#last_name ⇒ Object
The last name of this cardholder.
-
#verification ⇒ Object
Government-issued ID document for this cardholder.
Instance Method Summary collapse
-
#initialize(card_issuing: nil, dob: nil, first_name: nil, last_name: nil, verification: nil) ⇒ Individual
constructor
A new instance of Individual.
Methods inherited from RequestParams
Constructor Details
#initialize(card_issuing: nil, dob: nil, first_name: nil, last_name: nil, verification: nil) ⇒ Individual
Returns a new instance of Individual.
426 427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 426 def initialize( card_issuing: nil, dob: nil, first_name: nil, last_name: nil, verification: nil ) @card_issuing = card_issuing @dob = dob @first_name = first_name @last_name = last_name @verification = verification end |
Instance Attribute Details
#card_issuing ⇒ Object
Information related to the card_issuing program for this cardholder.
416 417 418 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 416 def card_issuing @card_issuing end |
#dob ⇒ Object
The date of birth of this cardholder. Cardholders must be older than 13 years old.
418 419 420 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 418 def dob @dob end |
#first_name ⇒ Object
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.
420 421 422 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 420 def first_name @first_name end |
#last_name ⇒ Object
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.
422 423 424 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 422 def last_name @last_name end |
#verification ⇒ Object
Government-issued ID document for this cardholder.
424 425 426 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 424 def verification @verification end |