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, default_for_currency: nil, exp_month: nil, exp_year: nil, metadata: nil, name: nil, number: 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, default_for_currency: nil, exp_month: nil, exp_year: nil, metadata: nil, name: nil, number: nil) ⇒ Card
Returns a new instance of Card.
1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 |
# File 'lib/stripe/params/account_update_params.rb', line 1049 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, default_for_currency: nil, exp_month: nil, exp_year: nil, metadata: nil, name: nil, number: 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 @default_for_currency = default_for_currency @exp_month = exp_month @exp_year = exp_year @metadata = @name = name @number = number end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
1021 1022 1023 |
# File 'lib/stripe/params/account_update_params.rb', line 1021 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
1023 1024 1025 |
# File 'lib/stripe/params/account_update_params.rb', line 1023 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
1025 1026 1027 |
# File 'lib/stripe/params/account_update_params.rb', line 1025 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
1027 1028 1029 |
# File 'lib/stripe/params/account_update_params.rb', line 1027 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
1029 1030 1031 |
# File 'lib/stripe/params/account_update_params.rb', line 1029 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
1031 1032 1033 |
# File 'lib/stripe/params/account_update_params.rb', line 1031 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
1033 1034 1035 |
# File 'lib/stripe/params/account_update_params.rb', line 1033 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
1035 1036 1037 |
# File 'lib/stripe/params/account_update_params.rb', line 1035 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
1037 1038 1039 |
# File 'lib/stripe/params/account_update_params.rb', line 1037 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
1039 1040 1041 |
# File 'lib/stripe/params/account_update_params.rb', line 1039 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
1041 1042 1043 |
# File 'lib/stripe/params/account_update_params.rb', line 1041 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.
1043 1044 1045 |
# File 'lib/stripe/params/account_update_params.rb', line 1043 def @metadata end |
#name ⇒ Object
Attribute for param field name
1045 1046 1047 |
# File 'lib/stripe/params/account_update_params.rb', line 1045 def name @name end |
#number ⇒ Object
Attribute for param field number
1047 1048 1049 |
# File 'lib/stripe/params/account_update_params.rb', line 1047 def number @number end |
#object ⇒ Object
Attribute for param field object
1019 1020 1021 |
# File 'lib/stripe/params/account_update_params.rb', line 1019 def object @object end |