Class: Stripe::Source::UpdateParams::SourceOrder
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Source::UpdateParams::SourceOrder
- Defined in:
- lib/stripe/resources/source.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
permalink #initialize(items: nil, shipping: nil) ⇒ SourceOrder
Returns a new instance of SourceOrder.
787 788 789 790 |
# File 'lib/stripe/resources/source.rb', line 787 def initialize(items: nil, shipping: nil) @items = items @shipping = shipping end |
Instance Attribute Details
permalink #items ⇒ Object
List of items constituting the order.
783 784 785 |
# File 'lib/stripe/resources/source.rb', line 783 def items @items end |
permalink #shipping ⇒ Object
Shipping address for the order. Required if any of the SKUs are for products that have ‘shippable` set to true.
785 786 787 |
# File 'lib/stripe/resources/source.rb', line 785 def shipping @shipping end |