123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.response.AlipayResponse import AlipayResponse
- class KoubeiCateringOrderPayApplyResponse(AlipayResponse):
- def __init__(self):
- super(KoubeiCateringOrderPayApplyResponse, self).__init__()
- self._out_pay_no = None
- self._pay_no = None
- self._trade_no = None
- @property
- def out_pay_no(self):
- return self._out_pay_no
- @out_pay_no.setter
- def out_pay_no(self, value):
- self._out_pay_no = value
- @property
- def pay_no(self):
- return self._pay_no
- @pay_no.setter
- def pay_no(self, value):
- self._pay_no = value
- @property
- def trade_no(self):
- return self._trade_no
- @trade_no.setter
- def trade_no(self, value):
- self._trade_no = value
- def parse_response_content(self, response_content):
- response = super(KoubeiCateringOrderPayApplyResponse, self).parse_response_content(response_content)
- if 'out_pay_no' in response:
- self.out_pay_no = response['out_pay_no']
- if 'pay_no' in response:
- self.pay_no = response['pay_no']
- if 'trade_no' in response:
- self.trade_no = response['trade_no']
|