Class: Stripe::AccountCreateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountCreateParams::Card
- Defined in:
- lib/stripe/params/account_create_params.rb
Instance Attribute Summary collapse
-
#address_city ⇒ Object
Attribute for param field address_city.
-
#address_country ⇒ Object
Attribute for param field address_country.
-
#address_line1 ⇒ Object
Attribute for param field address_line1.
-
#address_line2 ⇒ Object
Attribute for param field address_line2.
-
#address_state ⇒ Object
Attribute for param field address_state.
-
#address_zip ⇒ Object
Attribute for param field address_zip.
-
#currency ⇒ Object
Attribute for param field currency.
-
#cvc ⇒ Object
Attribute for param field cvc.
-
#default_for_currency ⇒ Object
Attribute for param field default_for_currency.
-
#exp_month ⇒ Object
Attribute for param field exp_month.
-
#exp_year ⇒ Object
Attribute for param field exp_year.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#name ⇒ Object
Attribute for param field name.
-
#number ⇒ Object
Attribute for param field number.
-
#object ⇒ Object
Attribute for param field object.
Instance Method Summary collapse
-
#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, default_for_currency: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #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, default_for_currency: nil) ⇒ Card
Returns a new instance of Card.
1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 |
# File 'lib/stripe/params/account_create_params.rb', line 1170 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, default_for_currency: 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 @metadata = @default_for_currency = default_for_currency end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
1142 1143 1144 |
# File 'lib/stripe/params/account_create_params.rb', line 1142 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
1144 1145 1146 |
# File 'lib/stripe/params/account_create_params.rb', line 1144 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
1146 1147 1148 |
# File 'lib/stripe/params/account_create_params.rb', line 1146 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
1148 1149 1150 |
# File 'lib/stripe/params/account_create_params.rb', line 1148 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
1150 1151 1152 |
# File 'lib/stripe/params/account_create_params.rb', line 1150 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
1152 1153 1154 |
# File 'lib/stripe/params/account_create_params.rb', line 1152 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
1154 1155 1156 |
# File 'lib/stripe/params/account_create_params.rb', line 1154 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
1156 1157 1158 |
# File 'lib/stripe/params/account_create_params.rb', line 1156 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
1168 1169 1170 |
# File 'lib/stripe/params/account_create_params.rb', line 1168 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
1158 1159 1160 |
# File 'lib/stripe/params/account_create_params.rb', line 1158 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
1160 1161 1162 |
# File 'lib/stripe/params/account_create_params.rb', line 1160 def exp_year @exp_year end |
#metadata ⇒ Object
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.
1166 1167 1168 |
# File 'lib/stripe/params/account_create_params.rb', line 1166 def @metadata end |
#name ⇒ Object
Attribute for param field name
1162 1163 1164 |
# File 'lib/stripe/params/account_create_params.rb', line 1162 def name @name end |
#number ⇒ Object
Attribute for param field number
1164 1165 1166 |
# File 'lib/stripe/params/account_create_params.rb', line 1164 def number @number end |
#object ⇒ Object
Attribute for param field object
1140 1141 1142 |
# File 'lib/stripe/params/account_create_params.rb', line 1140 def object @object end |