Class: Stripe::V2::MoneyManagement::OutboundSetupIntentService::CreateParams::PayoutMethodData::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::MoneyManagement::OutboundSetupIntentService::CreateParams::PayoutMethodData::Card
- Defined in:
- lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb
Instance Attribute Summary collapse
-
#exp_month ⇒ Object
The expiration month of the card.
-
#exp_year ⇒ Object
The expiration year of the card.
-
#number ⇒ Object
The card number.
Instance Method Summary collapse
-
#initialize(exp_month: nil, exp_year: nil, number: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from RequestParams
Constructor Details
#initialize(exp_month: nil, exp_year: nil, number: nil) ⇒ Card
Returns a new instance of Card.
52 53 54 55 56 |
# File 'lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb', line 52 def initialize(exp_month: nil, exp_year: nil, number: nil) @exp_month = exp_month @exp_year = exp_year @number = number end |
Instance Attribute Details
#exp_month ⇒ Object
The expiration month of the card.
46 47 48 |
# File 'lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb', line 46 def exp_month @exp_month end |
#exp_year ⇒ Object
The expiration year of the card.
48 49 50 |
# File 'lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb', line 48 def exp_year @exp_year end |
#number ⇒ Object
The card number.
50 51 52 |
# File 'lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb', line 50 def number @number end |