Class: Stripe::OrderService::UpdateParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::OrderService::UpdateParams::ShippingDetails
- Defined in:
- lib/stripe/services/order_service.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.
2078 2079 2080 2081 2082 |
# File 'lib/stripe/services/order_service.rb', line 2078 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.
2072 2073 2074 |
# File 'lib/stripe/services/order_service.rb', line 2072 def address @address end |
#name ⇒ Object
The name of the recipient of the order.
2074 2075 2076 |
# File 'lib/stripe/services/order_service.rb', line 2074 def name @name end |
#phone ⇒ Object
The phone number (including extension) for the recipient of the order.
2076 2077 2078 |
# File 'lib/stripe/services/order_service.rb', line 2076 def phone @phone end |