Class: Stripe::Order::CreateParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Order::CreateParams::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.
1701 1702 1703 1704 1705 |
# File 'lib/stripe/resources/order.rb', line 1701 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.
1693 1694 1695 |
# File 'lib/stripe/resources/order.rb', line 1693 def address @address end |
#name ⇒ Object
The name of the recipient of the order.
1696 1697 1698 |
# File 'lib/stripe/resources/order.rb', line 1696 def name @name end |
#phone ⇒ Object
The phone number (including extension) for the recipient of the order.
1699 1700 1701 |
# File 'lib/stripe/resources/order.rb', line 1699 def phone @phone end |