text: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import simplejson as json
  
  from alipay.aop.api.constant.ParamConstants import *
  
  
  class MybankPaymentTradeNormalpayTransferModel(object):
  
      def __init__(self):
          self._amount = None
          self._biz_no = None
          self._currency_value = None
          self._ext_info = None
          self._operate_scene_type = None
          self._payee_fund_detail = None
          self._payer_fund_detail = None
          self._remark = None
          self._request_no = None
          self._request_time = None
  
      @property
      def amount(self):
          return self._amount
  
      @amount.setter
      def amount(self, value):
          self._amount = value
      @property
      def biz_no(self):
          return self._biz_no
  
      @biz_no.setter
      def biz_no(self, value):
          self._biz_no = value
      @property
      def currency_value(self):
          return self._currency_value
  
      @currency_value.setter
      def currency_value(self, value):
          self._currency_value = value
      @property
      def ext_info(self):
          return self._ext_info
  
      @ext_info.setter
      def ext_info(self, value):
          self._ext_info = value
      @property
      def operate_scene_type(self):
          return self._operate_scene_type
  
      @operate_scene_type.setter
      def operate_scene_type(self, value):
          self._operate_scene_type = value
      @property
      def payee_fund_detail(self):
          return self._payee_fund_detail
  
      @payee_fund_detail.setter
      def payee_fund_detail(self, value):
          self._payee_fund_detail = value
      @property
      def payer_fund_detail(self):
          return self._payer_fund_detail
  
      @payer_fund_detail.setter
      def payer_fund_detail(self, value):
          self._payer_fund_detail = value
      @property
      def remark(self):
          return self._remark
  
      @remark.setter
      def remark(self, value):
          self._remark = value
      @property
      def request_no(self):
          return self._request_no
  
      @request_no.setter
      def request_no(self, value):
          self._request_no = value
      @property
      def request_time(self):
          return self._request_time
  
      @request_time.setter
      def request_time(self, value):
          self._request_time = value
  
  
      def to_alipay_dict(self):
          params = dict()
          if self.amount:
              if hasattr(self.amount, 'to_alipay_dict'):
                  params['amount'] = self.amount.to_alipay_dict()
              else:
                  params['amount'] = self.amount
          if self.biz_no:
              if hasattr(self.biz_no, 'to_alipay_dict'):
                  params['biz_no'] = self.biz_no.to_alipay_dict()
              else:
                  params['biz_no'] = self.biz_no
          if self.currency_value:
              if hasattr(self.currency_value, 'to_alipay_dict'):
                  params['currency_value'] = self.currency_value.to_alipay_dict()
              else:
                  params['currency_value'] = self.currency_value
          if self.ext_info:
              if hasattr(self.ext_info, 'to_alipay_dict'):
                  params['ext_info'] = self.ext_info.to_alipay_dict()
              else:
                  params['ext_info'] = self.ext_info
          if self.operate_scene_type:
              if hasattr(self.operate_scene_type, 'to_alipay_dict'):
                  params['operate_scene_type'] = self.operate_scene_type.to_alipay_dict()
              else:
                  params['operate_scene_type'] = self.operate_scene_type
          if self.payee_fund_detail:
              if hasattr(self.payee_fund_detail, 'to_alipay_dict'):
                  params['payee_fund_detail'] = self.payee_fund_detail.to_alipay_dict()
              else:
                  params['payee_fund_detail'] = self.payee_fund_detail
          if self.payer_fund_detail:
              if hasattr(self.payer_fund_detail, 'to_alipay_dict'):
                  params['payer_fund_detail'] = self.payer_fund_detail.to_alipay_dict()
              else:
                  params['payer_fund_detail'] = self.payer_fund_detail
          if self.remark:
              if hasattr(self.remark, 'to_alipay_dict'):
                  params['remark'] = self.remark.to_alipay_dict()
              else:
                  params['remark'] = self.remark
          if self.request_no:
              if hasattr(self.request_no, 'to_alipay_dict'):
                  params['request_no'] = self.request_no.to_alipay_dict()
              else:
                  params['request_no'] = self.request_no
          if self.request_time:
              if hasattr(self.request_time, 'to_alipay_dict'):
                  params['request_time'] = self.request_time.to_alipay_dict()
              else:
                  params['request_time'] = self.request_time
          return params
  
      @staticmethod
      def from_alipay_dict(d):
          if not d:
              return None
          o = MybankPaymentTradeNormalpayTransferModel()
          if 'amount' in d:
              o.amount = d['amount']
          if 'biz_no' in d:
              o.biz_no = d['biz_no']
          if 'currency_value' in d:
              o.currency_value = d['currency_value']
          if 'ext_info' in d:
              o.ext_info = d['ext_info']
          if 'operate_scene_type' in d:
              o.operate_scene_type = d['operate_scene_type']
          if 'payee_fund_detail' in d:
              o.payee_fund_detail = d['payee_fund_detail']
          if 'payer_fund_detail' in d:
              o.payer_fund_detail = d['payer_fund_detail']
          if 'remark' in d:
              o.remark = d['remark']
          if 'request_no' in d:
              o.request_no = d['request_no']
          if 'request_time' in d:
              o.request_time = d['request_time']
          return o
  
  
  