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 AlipayEbppJfexportBillQueryModel(object):
def __init__(self):
self._bill_no = None
self._biz_type = None
self._extend_field = None
@property
def bill_no(self):
return self._bill_no
@bill_no.setter
def bill_no(self, value):
self._bill_no = value
@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
def to_alipay_dict(self):
params = dict()
if self.bill_no:
if hasattr(self.bill_no, 'to_alipay_dict'):
params['bill_no'] = self.bill_no.to_alipay_dict()
else:
params['bill_no'] = self.bill_no
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
return params
@staticmethod
def from_alipay_dict(d):
if not d:
return None
o = AlipayEbppJfexportBillQueryModel()
if 'bill_no' in d:
o.bill_no = d['bill_no']
if 'biz_type' in d:
o.biz_type = d['biz_type']
if 'extend_field' in d:
o.extend_field = d['extend_field']
return o