Class: Stripe::OrderService::CreateParams::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::OrderService::CreateParams::BillingDetails
- Defined in:
- lib/stripe/services/order_service.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.
102 103 104 105 106 107 |
# File 'lib/stripe/services/order_service.rb', line 102 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.
91 92 93 |
# File 'lib/stripe/services/order_service.rb', line 91 def address @address end |
#email ⇒ Object
The billing email provided by the customer.
94 95 96 |
# File 'lib/stripe/services/order_service.rb', line 94 def email @email end |
#name ⇒ Object
The billing name provided by the customer.
97 98 99 |
# File 'lib/stripe/services/order_service.rb', line 97 def name @name end |
#phone ⇒ Object
The billing phone number provided by the customer.
100 101 102 |
# File 'lib/stripe/services/order_service.rb', line 100 def phone @phone end |