Class: Stripe::SourceUpdateParams::SourceOrder
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SourceUpdateParams::SourceOrder
- Defined in:
- lib/stripe/params/source_update_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#items ⇒ Object
List of items constituting the order.
-
#shipping ⇒ Object
Shipping address for the order.
Instance Method Summary collapse
-
#initialize(items: nil, shipping: nil) ⇒ SourceOrder
constructor
A new instance of SourceOrder.
Methods inherited from RequestParams
Constructor Details
#initialize(items: nil, shipping: nil) ⇒ SourceOrder
Returns a new instance of SourceOrder.
225 226 227 228 |
# File 'lib/stripe/params/source_update_params.rb', line 225 def initialize(items: nil, shipping: nil) @items = items @shipping = shipping end |
Instance Attribute Details
#items ⇒ Object
List of items constituting the order.
221 222 223 |
# File 'lib/stripe/params/source_update_params.rb', line 221 def items @items end |
#shipping ⇒ Object
Shipping address for the order. Required if any of the SKUs are for products that have ‘shippable` set to true.
223 224 225 |
# File 'lib/stripe/params/source_update_params.rb', line 223 def shipping @shipping end |