Skip to content

Commit abf75ac

Browse files
committed
add:PspCustomerInfo add extendInfo
1 parent 98e1ba6 commit abf75ac

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

com/alipay/ams/api/model/psp_customer_info.py

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ def __init__(self):
99
self.__psp_name = None
1010
self.__psp_customer_id = None
1111
self.__display_customer_id = None
12+
self.__display_customer_name = None
13+
self.__customer_2088_id = None
14+
self.__extend_info = None
1215

1316
@property
1417
def psp_name(self):
@@ -34,15 +37,42 @@ def display_customer_id(self):
3437
def display_customer_id(self, value):
3538
self.__display_customer_id = value
3639

40+
@property
41+
def display_customer_name(self):
42+
return self.__display_customer_name
43+
44+
@display_customer_name.setter
45+
def display_customer_name(self, value):
46+
self.__display_customer_name = value
47+
48+
@property
49+
def customer_2088_id(self):
50+
return self.__customer_2088_id
51+
52+
@customer_2088_id.setter
53+
def customer_2088_id(self, value):
54+
self.__customer_2088_id = value
55+
56+
@property
57+
def extend_info(self):
58+
return self.__extend_info
59+
60+
@extend_info.setter
61+
def extend_info(self, value):
62+
self.__extend_info = value
63+
3764
def parse_rsp_body(self, psp_customer_info_body):
3865
if type(psp_customer_info_body) == str:
3966
psp_customer_info_body = json.loads(psp_customer_info_body)
40-
4167
if 'pspName' in psp_customer_info_body:
4268
self.__psp_name = psp_customer_info_body['pspName']
43-
4469
if 'pspCustomerId' in psp_customer_info_body:
4570
self.__psp_customer_id = psp_customer_info_body['pspCustomerId']
46-
4771
if 'displayCustomerId' in psp_customer_info_body:
4872
self.__display_customer_id = psp_customer_info_body['displayCustomerId']
73+
if 'displayCustomerName' in psp_customer_info_body:
74+
self.__display_customer_name = psp_customer_info_body['displayCustomerName']
75+
if 'customer2088Id' in psp_customer_info_body:
76+
self.__customer_2088_id = psp_customer_info_body['customer2088Id']
77+
if 'extendInfo' in psp_customer_info_body:
78+
self.__extend_info = psp_customer_info_body['extendInfo']

0 commit comments

Comments
 (0)