Class: Stripe::OrderUpdateParams::ShippingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::OrderUpdateParams::ShippingDetails
- Defined in:
- lib/stripe/params/order_update_params.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.
1975 1976 1977 1978 1979 |
# File 'lib/stripe/params/order_update_params.rb', line 1975 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.
1969 1970 1971 |
# File 'lib/stripe/params/order_update_params.rb', line 1969 def address @address end |
#name ⇒ Object
The name of the recipient of the order.
1971 1972 1973 |
# File 'lib/stripe/params/order_update_params.rb', line 1971 def name @name end |
#phone ⇒ Object
The phone number (including extension) for the recipient of the order.
1973 1974 1975 |
# File 'lib/stripe/params/order_update_params.rb', line 1973 def phone @phone end |