Class: Stripe::AccountService::UpdateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountService::UpdateParams::Card
- Defined in:
- lib/stripe/services/account_service.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
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.
1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 |
# File 'lib/stripe/services/account_service.rb', line 1068 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
1040 1041 1042 |
# File 'lib/stripe/services/account_service.rb', line 1040 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
1042 1043 1044 |
# File 'lib/stripe/services/account_service.rb', line 1042 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
1044 1045 1046 |
# File 'lib/stripe/services/account_service.rb', line 1044 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
1046 1047 1048 |
# File 'lib/stripe/services/account_service.rb', line 1046 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
1048 1049 1050 |
# File 'lib/stripe/services/account_service.rb', line 1048 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
1050 1051 1052 |
# File 'lib/stripe/services/account_service.rb', line 1050 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
1052 1053 1054 |
# File 'lib/stripe/services/account_service.rb', line 1052 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
1054 1055 1056 |
# File 'lib/stripe/services/account_service.rb', line 1054 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
1066 1067 1068 |
# File 'lib/stripe/services/account_service.rb', line 1066 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
1056 1057 1058 |
# File 'lib/stripe/services/account_service.rb', line 1056 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
1058 1059 1060 |
# File 'lib/stripe/services/account_service.rb', line 1058 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.
1064 1065 1066 |
# File 'lib/stripe/services/account_service.rb', line 1064 def @metadata end |
#name ⇒ Object
Attribute for param field name
1060 1061 1062 |
# File 'lib/stripe/services/account_service.rb', line 1060 def name @name end |
#number ⇒ Object
Attribute for param field number
1062 1063 1064 |
# File 'lib/stripe/services/account_service.rb', line 1062 def number @number end |
#object ⇒ Object
Attribute for param field object
1038 1039 1040 |
# File 'lib/stripe/services/account_service.rb', line 1038 def object @object end |