Class: Stripe::AccountExternalAccountCreateParams::Card

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_external_account_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(object: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, currency: nil, cvc: nil, exp_month: nil, exp_year: nil, name: nil, number: nil, metadata: nil) ⇒ Card

Returns a new instance of Card.



71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'lib/stripe/params/account_external_account_create_params.rb', line 71

def initialize(
  object: nil,
  address_city: nil,
  address_country: nil,
  address_line1: nil,
  address_line2: nil,
  address_state: nil,
  address_zip: nil,
  currency: nil,
  cvc: nil,
  exp_month: nil,
  exp_year: nil,
  name: nil,
  number: nil,
  metadata: nil
)
  @object = object
  @address_city = address_city
  @address_country = address_country
  @address_line1 = address_line1
  @address_line2 = address_line2
  @address_state = address_state
  @address_zip = address_zip
  @currency = currency
  @cvc = cvc
  @exp_month = exp_month
  @exp_year = exp_year
  @name = name
  @number = number
   = 
end

Instance Attribute Details

#address_cityObject

Attribute for param field address_city



45
46
47
# File 'lib/stripe/params/account_external_account_create_params.rb', line 45

def address_city
  @address_city
end

#address_countryObject

Attribute for param field address_country



47
48
49
# File 'lib/stripe/params/account_external_account_create_params.rb', line 47

def address_country
  @address_country
end

#address_line1Object

Attribute for param field address_line1



49
50
51
# File 'lib/stripe/params/account_external_account_create_params.rb', line 49

def address_line1
  @address_line1
end

#address_line2Object

Attribute for param field address_line2



51
52
53
# File 'lib/stripe/params/account_external_account_create_params.rb', line 51

def address_line2
  @address_line2
end

#address_stateObject

Attribute for param field address_state



53
54
55
# File 'lib/stripe/params/account_external_account_create_params.rb', line 53

def address_state
  @address_state
end

#address_zipObject

Attribute for param field address_zip



55
56
57
# File 'lib/stripe/params/account_external_account_create_params.rb', line 55

def address_zip
  @address_zip
end

#currencyObject

Attribute for param field currency



57
58
59
# File 'lib/stripe/params/account_external_account_create_params.rb', line 57

def currency
  @currency
end

#cvcObject

Attribute for param field cvc



59
60
61
# File 'lib/stripe/params/account_external_account_create_params.rb', line 59

def cvc
  @cvc
end

#exp_monthObject

Attribute for param field exp_month



61
62
63
# File 'lib/stripe/params/account_external_account_create_params.rb', line 61

def exp_month
  @exp_month
end

#exp_yearObject

Attribute for param field exp_year



63
64
65
# File 'lib/stripe/params/account_external_account_create_params.rb', line 63

def exp_year
  @exp_year
end

#metadataObject

Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.



69
70
71
# File 'lib/stripe/params/account_external_account_create_params.rb', line 69

def 
  
end

#nameObject

Attribute for param field name



65
66
67
# File 'lib/stripe/params/account_external_account_create_params.rb', line 65

def name
  @name
end

#numberObject

Attribute for param field number



67
68
69
# File 'lib/stripe/params/account_external_account_create_params.rb', line 67

def number
  @number
end

#objectObject

Attribute for param field object



43
44
45
# File 'lib/stripe/params/account_external_account_create_params.rb', line 43

def object
  @object
end