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.
2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 |
# File 'lib/stripe/services/account_service.rb', line 2936 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
2908 2909 2910 |
# File 'lib/stripe/services/account_service.rb', line 2908 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
2910 2911 2912 |
# File 'lib/stripe/services/account_service.rb', line 2910 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
2912 2913 2914 |
# File 'lib/stripe/services/account_service.rb', line 2912 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
2914 2915 2916 |
# File 'lib/stripe/services/account_service.rb', line 2914 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
2916 2917 2918 |
# File 'lib/stripe/services/account_service.rb', line 2916 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
2918 2919 2920 |
# File 'lib/stripe/services/account_service.rb', line 2918 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
2920 2921 2922 |
# File 'lib/stripe/services/account_service.rb', line 2920 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
2922 2923 2924 |
# File 'lib/stripe/services/account_service.rb', line 2922 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
2934 2935 2936 |
# File 'lib/stripe/services/account_service.rb', line 2934 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
2924 2925 2926 |
# File 'lib/stripe/services/account_service.rb', line 2924 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
2926 2927 2928 |
# File 'lib/stripe/services/account_service.rb', line 2926 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.
2932 2933 2934 |
# File 'lib/stripe/services/account_service.rb', line 2932 def @metadata end |
#name ⇒ Object
Attribute for param field name
2928 2929 2930 |
# File 'lib/stripe/services/account_service.rb', line 2928 def name @name end |
#number ⇒ Object
Attribute for param field number
2930 2931 2932 |
# File 'lib/stripe/services/account_service.rb', line 2930 def number @number end |
#object ⇒ Object
Attribute for param field object
2906 2907 2908 |
# File 'lib/stripe/services/account_service.rb', line 2906 def object @object end |