Class: Stripe::Order::UpdateParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Order::UpdateParams::ShippingDetails
- Defined in:
- lib/stripe/resources/order.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
The shipping address for the order.
-
#name ⇒ Object
The name of the recipient of the order.
-
#phone ⇒ Object
The phone number (including extension) for the recipient of the order.
Instance Method Summary collapse
-
#initialize(address: nil, name: nil, phone: nil) ⇒ ShippingDetails
constructor
A new instance of ShippingDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, name: nil, phone: nil) ⇒ ShippingDetails
Returns a new instance of ShippingDetails.
2517 2518 2519 2520 2521 |
# File 'lib/stripe/resources/order.rb', line 2517 def initialize(address: nil, name: nil, phone: nil) @address = address @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The shipping address for the order.
2511 2512 2513 |
# File 'lib/stripe/resources/order.rb', line 2511 def address @address end |
#name ⇒ Object
The name of the recipient of the order.
2513 2514 2515 |
# File 'lib/stripe/resources/order.rb', line 2513 def name @name end |
#phone ⇒ Object
The phone number (including extension) for the recipient of the order.
2515 2516 2517 |
# File 'lib/stripe/resources/order.rb', line 2515 def phone @phone end |