def address_info(self, value): if isinstance(value, list): self._address_info = list() for i in value: if isinstance(i, AddressInfo): self._address_info.append(i) else: self._address_info.append(AddressInfo.from_alipay_dict(i))
def business_address(self, value): if isinstance(value, AddressInfo): self._business_address = value else: self._business_address = AddressInfo.from_alipay_dict(value)
def address_info(self, value): if isinstance(value, AddressInfo): self._address_info = value else: self._address_info = AddressInfo.from_alipay_dict(value)