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.
1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 |
# File 'lib/stripe/resources/account.rb', line 1537 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
1509 1510 1511 |
# File 'lib/stripe/resources/account.rb', line 1509 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
1511 1512 1513 |
# File 'lib/stripe/resources/account.rb', line 1511 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
1513 1514 1515 |
# File 'lib/stripe/resources/account.rb', line 1513 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
1515 1516 1517 |
# File 'lib/stripe/resources/account.rb', line 1515 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
1517 1518 1519 |
# File 'lib/stripe/resources/account.rb', line 1517 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
1519 1520 1521 |
# File 'lib/stripe/resources/account.rb', line 1519 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
1521 1522 1523 |
# File 'lib/stripe/resources/account.rb', line 1521 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
1523 1524 1525 |
# File 'lib/stripe/resources/account.rb', line 1523 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
1535 1536 1537 |
# File 'lib/stripe/resources/account.rb', line 1535 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
1525 1526 1527 |
# File 'lib/stripe/resources/account.rb', line 1525 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
1527 1528 1529 |
# File 'lib/stripe/resources/account.rb', line 1527 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.
1533 1534 1535 |
# File 'lib/stripe/resources/account.rb', line 1533 def @metadata end |
#name ⇒ Object
Attribute for param field name
1529 1530 1531 |
# File 'lib/stripe/resources/account.rb', line 1529 def name @name end |
#number ⇒ Object
Attribute for param field number
1531 1532 1533 |
# File 'lib/stripe/resources/account.rb', line 1531 def number @number end |
#object ⇒ Object
Attribute for param field object
1507 1508 1509 |
# File 'lib/stripe/resources/account.rb', line 1507 def object @object end |