Class: Stripe::AccountUpdateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountUpdateParams::Card
- Defined in:
- lib/stripe/params/account_update_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.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 |
# File 'lib/stripe/params/account_update_params.rb', line 997 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 = @default_for_currency = default_for_currency end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
969 970 971 |
# File 'lib/stripe/params/account_update_params.rb', line 969 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
971 972 973 |
# File 'lib/stripe/params/account_update_params.rb', line 971 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
973 974 975 |
# File 'lib/stripe/params/account_update_params.rb', line 973 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
975 976 977 |
# File 'lib/stripe/params/account_update_params.rb', line 975 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
977 978 979 |
# File 'lib/stripe/params/account_update_params.rb', line 977 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
979 980 981 |
# File 'lib/stripe/params/account_update_params.rb', line 979 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
981 982 983 |
# File 'lib/stripe/params/account_update_params.rb', line 981 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
983 984 985 |
# File 'lib/stripe/params/account_update_params.rb', line 983 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
995 996 997 |
# File 'lib/stripe/params/account_update_params.rb', line 995 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
985 986 987 |
# File 'lib/stripe/params/account_update_params.rb', line 985 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
987 988 989 |
# File 'lib/stripe/params/account_update_params.rb', line 987 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.
993 994 995 |
# File 'lib/stripe/params/account_update_params.rb', line 993 def end |
#name ⇒ Object
Attribute for param field name
989 990 991 |
# File 'lib/stripe/params/account_update_params.rb', line 989 def name @name end |
#number ⇒ Object
Attribute for param field number
991 992 993 |
# File 'lib/stripe/params/account_update_params.rb', line 991 def number @number end |
#object ⇒ Object
Attribute for param field object
967 968 969 |
# File 'lib/stripe/params/account_update_params.rb', line 967 def object @object end |