Class: Stripe::Order::UpdateParams::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Order::UpdateParams::BillingDetails
- Defined in:
- lib/stripe/resources/order.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
The billing address provided by the customer.
-
#email ⇒ Object
The billing email provided by the customer.
-
#name ⇒ Object
The billing name provided by the customer.
-
#phone ⇒ Object
The billing phone number provided by the customer.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails
constructor
A new instance of BillingDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails
Returns a new instance of BillingDetails.
1610 1611 1612 1613 1614 1615 |
# File 'lib/stripe/resources/order.rb', line 1610 def initialize(address: nil, email: nil, name: nil, phone: nil) @address = address @email = email @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The billing address provided by the customer.
1602 1603 1604 |
# File 'lib/stripe/resources/order.rb', line 1602 def address @address end |
#email ⇒ Object
The billing email provided by the customer.
1604 1605 1606 |
# File 'lib/stripe/resources/order.rb', line 1604 def email @email end |
#name ⇒ Object
The billing name provided by the customer.
1606 1607 1608 |
# File 'lib/stripe/resources/order.rb', line 1606 def name @name end |
#phone ⇒ Object
The billing phone number provided by the customer.
1608 1609 1610 |
# File 'lib/stripe/resources/order.rb', line 1608 def phone @phone end |