Repository URL to install this package:
|
Version:
3.3.202-c2ee258 ▾
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
from alipay.aop.api.domain.AlipayOrderDataOpenapiResultInfo import AlipayOrderDataOpenapiResultInfo
class AlipayMerchantOrderUnlimitedQueryResponse(AlipayResponse):
def __init__(self):
super(AlipayMerchantOrderUnlimitedQueryResponse, self).__init__()
self._order_info = None
@property
def order_info(self):
return self._order_info
@order_info.setter
def order_info(self, value):
if isinstance(value, AlipayOrderDataOpenapiResultInfo):
self._order_info = value
else:
self._order_info = AlipayOrderDataOpenapiResultInfo.from_alipay_dict(value)
def parse_response_content(self, response_content):
response = super(AlipayMerchantOrderUnlimitedQueryResponse, self).parse_response_content(response_content)
if 'order_info' in response:
self.order_info = response['order_info']