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.
1641 1642 1643 1644 1645 1646 |
# File 'lib/stripe/resources/order.rb', line 1641 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.
1633 1634 1635 |
# File 'lib/stripe/resources/order.rb', line 1633 def address @address end |
#email ⇒ Object
The billing email provided by the customer.
1635 1636 1637 |
# File 'lib/stripe/resources/order.rb', line 1635 def email @email end |
#name ⇒ Object
The billing name provided by the customer.
1637 1638 1639 |
# File 'lib/stripe/resources/order.rb', line 1637 def name @name end |
#phone ⇒ Object
The billing phone number provided by the customer.
1639 1640 1641 |
# File 'lib/stripe/resources/order.rb', line 1639 def phone @phone end |