Class: Stripe::V2::MoneyManagement::OutboundSetupIntentService::CreateParams::PayoutMethodData::Card

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(exp_month: nil, exp_year: nil, number: nil) ⇒ Card

Returns a new instance of Card.



51
52
53
54
55
# File 'lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb', line 51

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_monthObject

The expiration month of the card.



45
46
47
# File 'lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb', line 45

def exp_month
  @exp_month
end

#exp_yearObject

The expiration year of the card.



47
48
49
# File 'lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb', line 47

def exp_year
  @exp_year
end

#numberObject

The card number.



49
50
51
# File 'lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb', line 49

def number
  @number
end