Class: Stripe::OrderService::UpdateParams::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::OrderService::UpdateParams::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.
1219 1220 1221 1222 1223 1224 |
# File 'lib/stripe/services/order_service.rb', line 1219 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.
1211 1212 1213 |
# File 'lib/stripe/services/order_service.rb', line 1211 def address @address end |
#email ⇒ Object
The billing email provided by the customer.
1213 1214 1215 |
# File 'lib/stripe/services/order_service.rb', line 1213 def email @email end |
#name ⇒ Object
The billing name provided by the customer.
1215 1216 1217 |
# File 'lib/stripe/services/order_service.rb', line 1215 def name @name end |
#phone ⇒ Object
The billing phone number provided by the customer.
1217 1218 1219 |
# File 'lib/stripe/services/order_service.rb', line 1217 def phone @phone end |