Пример #1
0
 def title_list(self, value):
     if isinstance(value, list):
         self._title_list = list()
         for i in value:
             if isinstance(i, InvoiceTitleModel):
                 self._title_list.append(i)
             else:
                 self._title_list.append(InvoiceTitleModel.from_alipay_dict(i))
 def title(self, value):
     if isinstance(value, InvoiceTitleModel):
         self._title = value
     else:
         self._title = InvoiceTitleModel.from_alipay_dict(value)