123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.response.AlipayResponse import AlipayResponse
- class AlipayUserVirtualcardSignEffectResponse(AlipayResponse):
- def __init__(self):
- super(AlipayUserVirtualcardSignEffectResponse, self).__init__()
- self._card_no = None
- self._card_type = None
- self._user_id = None
- @property
- def card_no(self):
- return self._card_no
- @card_no.setter
- def card_no(self, value):
- self._card_no = value
- @property
- def card_type(self):
- return self._card_type
- @card_type.setter
- def card_type(self, value):
- self._card_type = value
- @property
- def user_id(self):
- return self._user_id
- @user_id.setter
- def user_id(self, value):
- self._user_id = value
- def parse_response_content(self, response_content):
- response = super(AlipayUserVirtualcardSignEffectResponse, self).parse_response_content(response_content)
- if 'card_no' in response:
- self.card_no = response['card_no']
- if 'card_type' in response:
- self.card_type = response['card_type']
- if 'user_id' in response:
- self.user_id = response['user_id']
|