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.
1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 |
# File 'lib/stripe/resources/account.rb', line 1707 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
1679 1680 1681 |
# File 'lib/stripe/resources/account.rb', line 1679 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
1681 1682 1683 |
# File 'lib/stripe/resources/account.rb', line 1681 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
1683 1684 1685 |
# File 'lib/stripe/resources/account.rb', line 1683 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
1685 1686 1687 |
# File 'lib/stripe/resources/account.rb', line 1685 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
1687 1688 1689 |
# File 'lib/stripe/resources/account.rb', line 1687 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
1689 1690 1691 |
# File 'lib/stripe/resources/account.rb', line 1689 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
1691 1692 1693 |
# File 'lib/stripe/resources/account.rb', line 1691 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
1693 1694 1695 |
# File 'lib/stripe/resources/account.rb', line 1693 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
1705 1706 1707 |
# File 'lib/stripe/resources/account.rb', line 1705 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
1695 1696 1697 |
# File 'lib/stripe/resources/account.rb', line 1695 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
1697 1698 1699 |
# File 'lib/stripe/resources/account.rb', line 1697 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.
1703 1704 1705 |
# File 'lib/stripe/resources/account.rb', line 1703 def @metadata end |
#name ⇒ Object
Attribute for param field name
1699 1700 1701 |
# File 'lib/stripe/resources/account.rb', line 1699 def name @name end |
#number ⇒ Object
Attribute for param field number
1701 1702 1703 |
# File 'lib/stripe/resources/account.rb', line 1701 def number @number end |
#object ⇒ Object
Attribute for param field object
1677 1678 1679 |
# File 'lib/stripe/resources/account.rb', line 1677 def object @object end |