Ejemplo n.º 1
0
 def insureds(self, value):
     if isinstance(value, list):
         self._insureds = list()
         for i in value:
             if isinstance(i, InsPerson):
                 self._insureds.append(i)
             else:
                 self._insureds.append(InsPerson.from_alipay_dict(i))
Ejemplo n.º 2
0
 def stake_holders(self, value):
     if isinstance(value, list):
         self._stake_holders = list()
         for i in value:
             if isinstance(i, InsPerson):
                 self._stake_holders.append(i)
             else:
                 self._stake_holders.append(InsPerson.from_alipay_dict(i))
 def insured(self, value):
     if isinstance(value, InsPerson):
         self._insured = value
     else:
         self._insured = InsPerson.from_alipay_dict(value)
 def applicant(self, value):
     if isinstance(value, InsPerson):
         self._applicant = value
     else:
         self._applicant = InsPerson.from_alipay_dict(value)
Ejemplo n.º 5
0
 def car_owner(self, value):
     if isinstance(value, InsPerson):
         self._car_owner = value
     else:
         self._car_owner = InsPerson.from_alipay_dict(value)
 def stake_holders(self, value):
     if isinstance(value, InsPerson):
         self._stake_holders = value
     else:
         self._stake_holders = InsPerson.from_alipay_dict(value)
Ejemplo n.º 7
0
 def beneficiary(self, value):
     if isinstance(value, InsPerson):
         self._beneficiary = value
     else:
         self._beneficiary = InsPerson.from_alipay_dict(value)
Ejemplo n.º 8
0
 def reporter(self, value):
     if isinstance(value, InsPerson):
         self._reporter = value
     else:
         self._reporter = InsPerson.from_alipay_dict(value)