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.
1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'lib/stripe/resources/account.rb', line 1783 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
1755 1756 1757 |
# File 'lib/stripe/resources/account.rb', line 1755 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
1757 1758 1759 |
# File 'lib/stripe/resources/account.rb', line 1757 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
1759 1760 1761 |
# File 'lib/stripe/resources/account.rb', line 1759 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
1761 1762 1763 |
# File 'lib/stripe/resources/account.rb', line 1761 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
1763 1764 1765 |
# File 'lib/stripe/resources/account.rb', line 1763 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
1765 1766 1767 |
# File 'lib/stripe/resources/account.rb', line 1765 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
1767 1768 1769 |
# File 'lib/stripe/resources/account.rb', line 1767 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
1769 1770 1771 |
# File 'lib/stripe/resources/account.rb', line 1769 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
1781 1782 1783 |
# File 'lib/stripe/resources/account.rb', line 1781 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
1771 1772 1773 |
# File 'lib/stripe/resources/account.rb', line 1771 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
1773 1774 1775 |
# File 'lib/stripe/resources/account.rb', line 1773 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.
1779 1780 1781 |
# File 'lib/stripe/resources/account.rb', line 1779 def @metadata end |
#name ⇒ Object
Attribute for param field name
1775 1776 1777 |
# File 'lib/stripe/resources/account.rb', line 1775 def name @name end |
#number ⇒ Object
Attribute for param field number
1777 1778 1779 |
# File 'lib/stripe/resources/account.rb', line 1777 def number @number end |
#object ⇒ Object
Attribute for param field object
1753 1754 1755 |
# File 'lib/stripe/resources/account.rb', line 1753 def object @object end |