Repository URL to install this package:
|
Version:
3.3.202-c2ee258 ▾
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
class AlipayEbppJfexportMerchantbillQueryModel(object):
def __init__(self):
self._biz_type = None
self._extend_field = None
self._merchant_order_no = None
@property
def biz_type(self):
return self._biz_type
@biz_type.setter
def biz_type(self, value):
self._biz_type = value
@property
def extend_field(self):
return self._extend_field
@extend_field.setter
def extend_field(self, value):
self._extend_field = value
@property
def merchant_order_no(self):
return self._merchant_order_no
@merchant_order_no.setter
def merchant_order_no(self, value):
self._merchant_order_no = value
def to_alipay_dict(self):
params = dict()
if self.biz_type:
if hasattr(self.biz_type, 'to_alipay_dict'):
params['biz_type'] = self.biz_type.to_alipay_dict()
else:
params['biz_type'] = self.biz_type
if self.extend_field:
if hasattr(self.extend_field, 'to_alipay_dict'):
params['extend_field'] = self.extend_field.to_alipay_dict()
else:
params['extend_field'] = self.extend_field
if self.merchant_order_no:
if hasattr(self.merchant_order_no, 'to_alipay_dict'):
params['merchant_order_no'] = self.merchant_order_no.to_alipay_dict()
else:
params['merchant_order_no'] = self.merchant_order_no
return params
@staticmethod
def from_alipay_dict(d):
if not d:
return None
o = AlipayEbppJfexportMerchantbillQueryModel()
if 'biz_type' in d:
o.biz_type = d['biz_type']
if 'extend_field' in d:
o.extend_field = d['extend_field']
if 'merchant_order_no' in d:
o.merchant_order_no = d['merchant_order_no']
return o