def createOrder(self, params=None): """ If Cart is valid, create an Order from it """ params = params or {} data = self.request("%s%s/" % (self.resource_uri, "createOrder"), method="post", post_args=params) return Order.findOrCreate(data)
def createOrder(self, params=None): """ If Cart is valid, create an Order from it """ params = params or {} data = self.request("%s%s/" % (self.resource_uri, 'createOrder'), method="post", post_args=params) return Order.findOrCreate(self._handler, data)
def createOrder(self, params = {}): data = self.request("%s%s/" % (self.resource_uri, 'createOrder'), method = "post", post_args = params) return Order.findOrCreate(data)