class AboutYou::SDK::Model::Order
This class represents an order model
Attributes
basket[RW]
basket of the order
id[RW]
id of the order
Public Class Methods
new(id, basket)
click to toggle source
Constructor for the AboutYou::SDK::Model::InitiateOrder
class
-
Args :
-
id
-> id of the order -
basket
-> basket of the order
-
-
Returns :
-
an instance of
AboutYou::SDK::Model::Order
-
# File lib/AboutYou/Model/order.rb, line 23 def initialize(id, basket) self.id = id self.basket = basket self end