Class: Stripe::AccountService::CreateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountService::CreateParams::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.
3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/stripe/services/account_service.rb', line 3040 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
3012 3013 3014 |
# File 'lib/stripe/services/account_service.rb', line 3012 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
3014 3015 3016 |
# File 'lib/stripe/services/account_service.rb', line 3014 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
3016 3017 3018 |
# File 'lib/stripe/services/account_service.rb', line 3016 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
3018 3019 3020 |
# File 'lib/stripe/services/account_service.rb', line 3018 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
3020 3021 3022 |
# File 'lib/stripe/services/account_service.rb', line 3020 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
3022 3023 3024 |
# File 'lib/stripe/services/account_service.rb', line 3022 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
3024 3025 3026 |
# File 'lib/stripe/services/account_service.rb', line 3024 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
3026 3027 3028 |
# File 'lib/stripe/services/account_service.rb', line 3026 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
3038 3039 3040 |
# File 'lib/stripe/services/account_service.rb', line 3038 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
3028 3029 3030 |
# File 'lib/stripe/services/account_service.rb', line 3028 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
3030 3031 3032 |
# File 'lib/stripe/services/account_service.rb', line 3030 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.
3036 3037 3038 |
# File 'lib/stripe/services/account_service.rb', line 3036 def @metadata end |
#name ⇒ Object
Attribute for param field name
3032 3033 3034 |
# File 'lib/stripe/services/account_service.rb', line 3032 def name @name end |
#number ⇒ Object
Attribute for param field number
3034 3035 3036 |
# File 'lib/stripe/services/account_service.rb', line 3034 def number @number end |
#object ⇒ Object
Attribute for param field object
3010 3011 3012 |
# File 'lib/stripe/services/account_service.rb', line 3010 def object @object end |