def biz_cards(self, value):
     if isinstance(value, list):
         self._biz_cards = list()
         for i in value:
             if isinstance(i, SettleCardInfo):
                 self._biz_cards.append(i)
             else:
                 self._biz_cards.append(SettleCardInfo.from_alipay_dict(i))
Example #2
0
 def biz_cards(self, value):
     if isinstance(value, SettleCardInfo):
         self._biz_cards = value
     else:
         self._biz_cards = SettleCardInfo.from_alipay_dict(value)