def payer_identity(self, value): if isinstance(value, UserIdentity): self._payer_identity = value else: self._payer_identity = UserIdentity.from_alipay_dict(value)
def buyer(self, value): if isinstance(value, UserIdentity): self._buyer = value else: self._buyer = UserIdentity.from_alipay_dict(value)
def user_info(self, value): if isinstance(value, UserIdentity): self._user_info = value else: self._user_info = UserIdentity.from_alipay_dict(value)
def external_seller(self, value): if isinstance(value, UserIdentity): self._external_seller = value else: self._external_seller = UserIdentity.from_alipay_dict(value)