Class: Stripe::V2::MoneyManagement::OutboundSetupIntentCreateParams::PayoutMethodData::Card

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Card.



54
55
56
57
58
59
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 54

def initialize(currency: nil, exp_month: nil, exp_year: nil, number: nil)
  @currency = currency
  @exp_month = exp_month
  @exp_year = exp_year
  @number = number
end

Instance Attribute Details

#currencyObject

The currency of the card.



46
47
48
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 46

def currency
  @currency
end

#exp_monthObject

The expiration month of the card.



48
49
50
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 48

def exp_month
  @exp_month
end

#exp_yearObject

The expiration year of the card.



50
51
52
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 50

def exp_year
  @exp_year
end

#numberObject

The card number.



52
53
54
# File 'lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb', line 52

def number
  @number
end