Skip to content

Commit e17119f

Browse files
authored
Merge pull request #68 from snavinch/master
+ April 2021 SDK Release
2 parents 6f1db44 + d2c4639 commit e17119f

File tree

87 files changed

+710
-518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+710
-518
lines changed

CyberSource/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@
107107
from .models.patch_instrument_identifier_request import PatchInstrumentIdentifierRequest
108108
from .models.patch_payment_instrument_request import PatchPaymentInstrumentRequest
109109
from .models.payer_auth_setup_request import PayerAuthSetupRequest
110-
from .models.payment_instrument_list_for_customer import PaymentInstrumentListForCustomer
111-
from .models.payment_instrument_list_for_customer__embedded import PaymentInstrumentListForCustomerEmbedded
112-
from .models.payment_instrument_list_for_customer__links import PaymentInstrumentListForCustomerLinks
113-
from .models.payment_instrument_list_for_customer__links_first import PaymentInstrumentListForCustomerLinksFirst
114-
from .models.payment_instrument_list_for_customer__links_last import PaymentInstrumentListForCustomerLinksLast
115-
from .models.payment_instrument_list_for_customer__links_next import PaymentInstrumentListForCustomerLinksNext
116-
from .models.payment_instrument_list_for_customer__links_prev import PaymentInstrumentListForCustomerLinksPrev
117-
from .models.payment_instrument_list_for_customer__links_self import PaymentInstrumentListForCustomerLinksSelf
110+
from .models.payment_instrument_list import PaymentInstrumentList
111+
from .models.payment_instrument_list__embedded import PaymentInstrumentListEmbedded
112+
from .models.payment_instrument_list__links import PaymentInstrumentListLinks
113+
from .models.payment_instrument_list__links_first import PaymentInstrumentListLinksFirst
114+
from .models.payment_instrument_list__links_last import PaymentInstrumentListLinksLast
115+
from .models.payment_instrument_list__links_next import PaymentInstrumentListLinksNext
116+
from .models.payment_instrument_list__links_prev import PaymentInstrumentListLinksPrev
117+
from .models.payment_instrument_list__links_self import PaymentInstrumentListLinksSelf
118118
from .models.post_customer_payment_instrument_request import PostCustomerPaymentInstrumentRequest
119119
from .models.post_customer_request import PostCustomerRequest
120120
from .models.post_customer_shipping_address_request import PostCustomerShippingAddressRequest

CyberSource/apis/customer_payment_instrument_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def get_customer_payment_instruments_list(self, customer_token_id, **kwargs):
313313
:param str profile_id: The id of a profile containing user specific TMS configuration.
314314
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
315315
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
316-
:return: PaymentInstrumentListForCustomer
316+
:return: PaymentInstrumentList
317317
If the method is called asynchronously,
318318
returns the request thread.
319319
"""
@@ -341,7 +341,7 @@ def get_customer_payment_instruments_list_with_http_info(self, customer_token_id
341341
:param str profile_id: The id of a profile containing user specific TMS configuration.
342342
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
343343
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
344-
:return: PaymentInstrumentListForCustomer
344+
:return: PaymentInstrumentList
345345
If the method is called asynchronously,
346346
returns the request thread.
347347
"""
@@ -418,7 +418,7 @@ def get_customer_payment_instruments_list_with_http_info(self, customer_token_id
418418
body=body_params,
419419
post_params=form_params,
420420
files=local_var_files,
421-
response_type='PaymentInstrumentListForCustomer',
421+
response_type='PaymentInstrumentList',
422422
auth_settings=auth_settings,
423423
callback=params.get('callback'),
424424
_return_http_data_only=params.get('_return_http_data_only'),

CyberSource/apis/instrument_identifier_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def get_instrument_identifier_payment_instruments_list(self, instrument_identifi
291291
:param str profile_id: The id of a profile containing user specific TMS configuration.
292292
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
293293
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
294-
:return: PaymentInstrumentListForCustomer
294+
:return: PaymentInstrumentList
295295
If the method is called asynchronously,
296296
returns the request thread.
297297
"""
@@ -319,7 +319,7 @@ def get_instrument_identifier_payment_instruments_list_with_http_info(self, inst
319319
:param str profile_id: The id of a profile containing user specific TMS configuration.
320320
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
321321
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
322-
:return: PaymentInstrumentListForCustomer
322+
:return: PaymentInstrumentList
323323
If the method is called asynchronously,
324324
returns the request thread.
325325
"""
@@ -396,7 +396,7 @@ def get_instrument_identifier_payment_instruments_list_with_http_info(self, inst
396396
body=body_params,
397397
post_params=form_params,
398398
files=local_var_files,
399-
response_type='PaymentInstrumentListForCustomer',
399+
response_type='PaymentInstrumentList',
400400
auth_settings=auth_settings,
401401
callback=params.get('callback'),
402402
_return_http_data_only=params.get('_return_http_data_only'),

CyberSource/models/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@
107107
from .patch_instrument_identifier_request import PatchInstrumentIdentifierRequest
108108
from .patch_payment_instrument_request import PatchPaymentInstrumentRequest
109109
from .payer_auth_setup_request import PayerAuthSetupRequest
110-
from .payment_instrument_list_for_customer import PaymentInstrumentListForCustomer
111-
from .payment_instrument_list_for_customer__embedded import PaymentInstrumentListForCustomerEmbedded
112-
from .payment_instrument_list_for_customer__links import PaymentInstrumentListForCustomerLinks
113-
from .payment_instrument_list_for_customer__links_first import PaymentInstrumentListForCustomerLinksFirst
114-
from .payment_instrument_list_for_customer__links_last import PaymentInstrumentListForCustomerLinksLast
115-
from .payment_instrument_list_for_customer__links_next import PaymentInstrumentListForCustomerLinksNext
116-
from .payment_instrument_list_for_customer__links_prev import PaymentInstrumentListForCustomerLinksPrev
117-
from .payment_instrument_list_for_customer__links_self import PaymentInstrumentListForCustomerLinksSelf
110+
from .payment_instrument_list import PaymentInstrumentList
111+
from .payment_instrument_list__embedded import PaymentInstrumentListEmbedded
112+
from .payment_instrument_list__links import PaymentInstrumentListLinks
113+
from .payment_instrument_list__links_first import PaymentInstrumentListLinksFirst
114+
from .payment_instrument_list__links_last import PaymentInstrumentListLinksLast
115+
from .payment_instrument_list__links_next import PaymentInstrumentListLinksNext
116+
from .payment_instrument_list__links_prev import PaymentInstrumentListLinksPrev
117+
from .payment_instrument_list__links_self import PaymentInstrumentListLinksSelf
118118
from .post_customer_payment_instrument_request import PostCustomerPaymentInstrumentRequest
119119
from .post_customer_request import PostCustomerRequest
120120
from .post_customer_shipping_address_request import PostCustomerShippingAddressRequest

CyberSource/models/payment_instrument_list_for_customer.py renamed to CyberSource/models/payment_instrument_list.py

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import re
1717

1818

19-
class PaymentInstrumentListForCustomer(object):
19+
class PaymentInstrumentList(object):
2020
"""
2121
NOTE: This class is auto generated by the swagger code generator program.
2222
Do not edit the class manually.
@@ -31,12 +31,12 @@ class PaymentInstrumentListForCustomer(object):
3131
and the value is json key in definition.
3232
"""
3333
swagger_types = {
34-
'links': 'PaymentInstrumentListForCustomerLinks',
34+
'links': 'PaymentInstrumentListLinks',
3535
'offset': 'int',
3636
'limit': 'int',
3737
'count': 'int',
3838
'total': 'int',
39-
'embedded': 'PaymentInstrumentListForCustomerEmbedded'
39+
'embedded': 'PaymentInstrumentListEmbedded'
4040
}
4141

4242
attribute_map = {
@@ -50,7 +50,7 @@ class PaymentInstrumentListForCustomer(object):
5050

5151
def __init__(self, links=None, offset=None, limit=None, count=None, total=None, embedded=None):
5252
"""
53-
PaymentInstrumentListForCustomer - a model defined in Swagger
53+
PaymentInstrumentList - a model defined in Swagger
5454
"""
5555

5656
self._links = None
@@ -76,42 +76,42 @@ def __init__(self, links=None, offset=None, limit=None, count=None, total=None,
7676
@property
7777
def links(self):
7878
"""
79-
Gets the links of this PaymentInstrumentListForCustomer.
79+
Gets the links of this PaymentInstrumentList.
8080
81-
:return: The links of this PaymentInstrumentListForCustomer.
82-
:rtype: PaymentInstrumentListForCustomerLinks
81+
:return: The links of this PaymentInstrumentList.
82+
:rtype: PaymentInstrumentListLinks
8383
"""
8484
return self._links
8585

8686
@links.setter
8787
def links(self, links):
8888
"""
89-
Sets the links of this PaymentInstrumentListForCustomer.
89+
Sets the links of this PaymentInstrumentList.
9090
91-
:param links: The links of this PaymentInstrumentListForCustomer.
92-
:type: PaymentInstrumentListForCustomerLinks
91+
:param links: The links of this PaymentInstrumentList.
92+
:type: PaymentInstrumentListLinks
9393
"""
9494

9595
self._links = links
9696

9797
@property
9898
def offset(self):
9999
"""
100-
Gets the offset of this PaymentInstrumentListForCustomer.
100+
Gets the offset of this PaymentInstrumentList.
101101
The offset parameter supplied in the request.
102102
103-
:return: The offset of this PaymentInstrumentListForCustomer.
103+
:return: The offset of this PaymentInstrumentList.
104104
:rtype: int
105105
"""
106106
return self._offset
107107

108108
@offset.setter
109109
def offset(self, offset):
110110
"""
111-
Sets the offset of this PaymentInstrumentListForCustomer.
111+
Sets the offset of this PaymentInstrumentList.
112112
The offset parameter supplied in the request.
113113
114-
:param offset: The offset of this PaymentInstrumentListForCustomer.
114+
:param offset: The offset of this PaymentInstrumentList.
115115
:type: int
116116
"""
117117

@@ -120,21 +120,21 @@ def offset(self, offset):
120120
@property
121121
def limit(self):
122122
"""
123-
Gets the limit of this PaymentInstrumentListForCustomer.
123+
Gets the limit of this PaymentInstrumentList.
124124
The limit parameter supplied in the request.
125125
126-
:return: The limit of this PaymentInstrumentListForCustomer.
126+
:return: The limit of this PaymentInstrumentList.
127127
:rtype: int
128128
"""
129129
return self._limit
130130

131131
@limit.setter
132132
def limit(self, limit):
133133
"""
134-
Sets the limit of this PaymentInstrumentListForCustomer.
134+
Sets the limit of this PaymentInstrumentList.
135135
The limit parameter supplied in the request.
136136
137-
:param limit: The limit of this PaymentInstrumentListForCustomer.
137+
:param limit: The limit of this PaymentInstrumentList.
138138
:type: int
139139
"""
140140

@@ -143,21 +143,21 @@ def limit(self, limit):
143143
@property
144144
def count(self):
145145
"""
146-
Gets the count of this PaymentInstrumentListForCustomer.
146+
Gets the count of this PaymentInstrumentList.
147147
The number of Payment Instruments returned in the array.
148148
149-
:return: The count of this PaymentInstrumentListForCustomer.
149+
:return: The count of this PaymentInstrumentList.
150150
:rtype: int
151151
"""
152152
return self._count
153153

154154
@count.setter
155155
def count(self, count):
156156
"""
157-
Sets the count of this PaymentInstrumentListForCustomer.
157+
Sets the count of this PaymentInstrumentList.
158158
The number of Payment Instruments returned in the array.
159159
160-
:param count: The count of this PaymentInstrumentListForCustomer.
160+
:param count: The count of this PaymentInstrumentList.
161161
:type: int
162162
"""
163163

@@ -166,21 +166,21 @@ def count(self, count):
166166
@property
167167
def total(self):
168168
"""
169-
Gets the total of this PaymentInstrumentListForCustomer.
169+
Gets the total of this PaymentInstrumentList.
170170
The total number of Payment Instruments associated with the Customer or Instrument Identifier.
171171
172-
:return: The total of this PaymentInstrumentListForCustomer.
172+
:return: The total of this PaymentInstrumentList.
173173
:rtype: int
174174
"""
175175
return self._total
176176

177177
@total.setter
178178
def total(self, total):
179179
"""
180-
Sets the total of this PaymentInstrumentListForCustomer.
180+
Sets the total of this PaymentInstrumentList.
181181
The total number of Payment Instruments associated with the Customer or Instrument Identifier.
182182
183-
:param total: The total of this PaymentInstrumentListForCustomer.
183+
:param total: The total of this PaymentInstrumentList.
184184
:type: int
185185
"""
186186

@@ -189,20 +189,20 @@ def total(self, total):
189189
@property
190190
def embedded(self):
191191
"""
192-
Gets the embedded of this PaymentInstrumentListForCustomer.
192+
Gets the embedded of this PaymentInstrumentList.
193193
194-
:return: The embedded of this PaymentInstrumentListForCustomer.
195-
:rtype: PaymentInstrumentListForCustomerEmbedded
194+
:return: The embedded of this PaymentInstrumentList.
195+
:rtype: PaymentInstrumentListEmbedded
196196
"""
197197
return self._embedded
198198

199199
@embedded.setter
200200
def embedded(self, embedded):
201201
"""
202-
Sets the embedded of this PaymentInstrumentListForCustomer.
202+
Sets the embedded of this PaymentInstrumentList.
203203
204-
:param embedded: The embedded of this PaymentInstrumentListForCustomer.
205-
:type: PaymentInstrumentListForCustomerEmbedded
204+
:param embedded: The embedded of this PaymentInstrumentList.
205+
:type: PaymentInstrumentListEmbedded
206206
"""
207207

208208
self._embedded = embedded
@@ -249,7 +249,7 @@ def __eq__(self, other):
249249
"""
250250
Returns true if both objects are equal
251251
"""
252-
if not isinstance(other, PaymentInstrumentListForCustomer):
252+
if not isinstance(other, PaymentInstrumentList):
253253
return False
254254

255255
return self.__dict__ == other.__dict__

CyberSource/models/payment_instrument_list_for_customer__embedded.py renamed to CyberSource/models/payment_instrument_list__embedded.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import re
1717

1818

19-
class PaymentInstrumentListForCustomerEmbedded(object):
19+
class PaymentInstrumentListEmbedded(object):
2020
"""
2121
NOTE: This class is auto generated by the swagger code generator program.
2222
Do not edit the class manually.
@@ -40,7 +40,7 @@ class PaymentInstrumentListForCustomerEmbedded(object):
4040

4141
def __init__(self, payment_instruments=None):
4242
"""
43-
PaymentInstrumentListForCustomerEmbedded - a model defined in Swagger
43+
PaymentInstrumentListEmbedded - a model defined in Swagger
4444
"""
4545

4646
self._payment_instruments = None
@@ -51,19 +51,19 @@ def __init__(self, payment_instruments=None):
5151
@property
5252
def payment_instruments(self):
5353
"""
54-
Gets the payment_instruments of this PaymentInstrumentListForCustomerEmbedded.
54+
Gets the payment_instruments of this PaymentInstrumentListEmbedded.
5555
56-
:return: The payment_instruments of this PaymentInstrumentListForCustomerEmbedded.
56+
:return: The payment_instruments of this PaymentInstrumentListEmbedded.
5757
:rtype: list[Tmsv2customersEmbeddedDefaultPaymentInstrument]
5858
"""
5959
return self._payment_instruments
6060

6161
@payment_instruments.setter
6262
def payment_instruments(self, payment_instruments):
6363
"""
64-
Sets the payment_instruments of this PaymentInstrumentListForCustomerEmbedded.
64+
Sets the payment_instruments of this PaymentInstrumentListEmbedded.
6565
66-
:param payment_instruments: The payment_instruments of this PaymentInstrumentListForCustomerEmbedded.
66+
:param payment_instruments: The payment_instruments of this PaymentInstrumentListEmbedded.
6767
:type: list[Tmsv2customersEmbeddedDefaultPaymentInstrument]
6868
"""
6969

@@ -111,7 +111,7 @@ def __eq__(self, other):
111111
"""
112112
Returns true if both objects are equal
113113
"""
114-
if not isinstance(other, PaymentInstrumentListForCustomerEmbedded):
114+
if not isinstance(other, PaymentInstrumentListEmbedded):
115115
return False
116116

117117
return self.__dict__ == other.__dict__

0 commit comments

Comments
 (0)