Example #1
0
 def refund_order(self, order_id, amount, reason, comment=None):
     self.send_message(
         gmodel.refund_order_t(google_order_number=order_id,
                               amount=gmodel.price_t(
                                   value=amount, currency=self.currency),
                               reason=reason,
                               comment=comment or None))
Example #2
0
 def refund_order(self, order_id, amount, reason, comment=None):
     self.send_message(gmodel.refund_order_t(
         google_order_number = order_id,
         amount = gmodel.price_t(value = amount, currency = self.currency),
         reason = reason,
         comment = comment or None
         ))
Example #3
0
 def charge_order(self, order_id, amount):
     self.send_message(
         gmodel.charge_order_t(google_order_number=order_id,
                               amount=gmodel.price_t(
                                   value=amount, currency=self.currency)))
Example #4
0
 def charge_order(self, order_id, amount):
     self.send_message(gmodel.charge_order_t(
         google_order_number = order_id,
         amount = gmodel.price_t(value = amount, currency = self.currency)
         ))