Class: Stripe::Account::UpdateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Account::UpdateParams::Card
- Defined in:
- lib/stripe/resources/account.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.
1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'lib/stripe/resources/account.rb', line 1988 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
1947 1948 1949 |
# File 'lib/stripe/resources/account.rb', line 1947 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
1950 1951 1952 |
# File 'lib/stripe/resources/account.rb', line 1950 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
1953 1954 1955 |
# File 'lib/stripe/resources/account.rb', line 1953 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
1956 1957 1958 |
# File 'lib/stripe/resources/account.rb', line 1956 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
1959 1960 1961 |
# File 'lib/stripe/resources/account.rb', line 1959 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
1962 1963 1964 |
# File 'lib/stripe/resources/account.rb', line 1962 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
1965 1966 1967 |
# File 'lib/stripe/resources/account.rb', line 1965 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
1968 1969 1970 |
# File 'lib/stripe/resources/account.rb', line 1968 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
1986 1987 1988 |
# File 'lib/stripe/resources/account.rb', line 1986 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
1971 1972 1973 |
# File 'lib/stripe/resources/account.rb', line 1971 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
1974 1975 1976 |
# File 'lib/stripe/resources/account.rb', line 1974 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.
1983 1984 1985 |
# File 'lib/stripe/resources/account.rb', line 1983 def @metadata end |
#name ⇒ Object
Attribute for param field name
1977 1978 1979 |
# File 'lib/stripe/resources/account.rb', line 1977 def name @name end |
#number ⇒ Object
Attribute for param field number
1980 1981 1982 |
# File 'lib/stripe/resources/account.rb', line 1980 def number @number end |
#object ⇒ Object
Attribute for param field object
1944 1945 1946 |
# File 'lib/stripe/resources/account.rb', line 1944 def object @object end |