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.
1293 1294 1295 1296 1297 1298 |
# File 'lib/stripe/services/order_service.rb', line 1293 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.
1282 1283 1284 |
# File 'lib/stripe/services/order_service.rb', line 1282 def address @address end |
#email ⇒ Object
The billing email provided by the customer.
1285 1286 1287 |
# File 'lib/stripe/services/order_service.rb', line 1285 def email @email end |
#name ⇒ Object
The billing name provided by the customer.
1288 1289 1290 |
# File 'lib/stripe/services/order_service.rb', line 1288 def name @name end |
#phone ⇒ Object
The billing phone number provided by the customer.
1291 1292 1293 |
# File 'lib/stripe/services/order_service.rb', line 1291 def phone @phone end |