Skip to content

Commit 9d057e3

Browse files
authored
Merge pull request #138 from CyberSource/release-jan25
spec changes
2 parents f326f9c + 016f8fe commit 9d057e3

File tree

255 files changed

+14762
-6928
lines changed

Some content is hidden

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

255 files changed

+14762
-6928
lines changed

CyberSource/__init__.py

+35-30
Large diffs are not rendered by default.

CyberSource/api/instrument_identifier_api.py

+20-4
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def get_instrument_identifier(self, instrument_identifier_id, **kwargs):
177177
for asynchronous request. (optional)
178178
:param str instrument_identifier_id: The Id of an Instrument Identifier. (required)
179179
:param str profile_id: The Id of a profile containing user specific TMS configuration.
180+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
180181
:return: PostInstrumentIdentifierRequest
181182
If the method is called asynchronously,
182183
returns the request thread.
@@ -208,12 +209,13 @@ def get_instrument_identifier_with_http_info(self, instrument_identifier_id, **k
208209
for asynchronous request. (optional)
209210
:param str instrument_identifier_id: The Id of an Instrument Identifier. (required)
210211
:param str profile_id: The Id of a profile containing user specific TMS configuration.
212+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
211213
:return: PostInstrumentIdentifierRequest
212214
If the method is called asynchronously,
213215
returns the request thread.
214216
"""
215217

216-
all_params = ['instrument_identifier_id', 'profile_id']
218+
all_params = ['instrument_identifier_id', 'profile_id', 'retrieve_bin_details']
217219
all_params.append('callback')
218220
all_params.append('_return_http_data_only')
219221
all_params.append('_preload_content')
@@ -243,6 +245,8 @@ def get_instrument_identifier_with_http_info(self, instrument_identifier_id, **k
243245
instrumentIdentifierId=instrument_identifier_id
244246

245247
query_params = []
248+
if 'retrieve_bin_details' in params:
249+
query_params.append(('retrieveBinDetails', params['retrieve_bin_details']))
246250

247251
header_params = {}
248252
if 'profile_id' in params:
@@ -294,6 +298,7 @@ def get_instrument_identifier_payment_instruments_list(self, instrument_identifi
294298
for asynchronous request. (optional)
295299
:param str instrument_identifier_id: The Id of an Instrument Identifier. (required)
296300
:param str profile_id: The Id of a profile containing user specific TMS configuration.
301+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
297302
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
298303
: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.
299304
:return: PaymentInstrumentList1
@@ -327,14 +332,15 @@ def get_instrument_identifier_payment_instruments_list_with_http_info(self, inst
327332
for asynchronous request. (optional)
328333
:param str instrument_identifier_id: The Id of an Instrument Identifier. (required)
329334
:param str profile_id: The Id of a profile containing user specific TMS configuration.
335+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
330336
:param int offset: Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
331337
: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.
332338
:return: PaymentInstrumentList1
333339
If the method is called asynchronously,
334340
returns the request thread.
335341
"""
336342

337-
all_params = ['instrument_identifier_id', 'profile_id', 'offset', 'limit']
343+
all_params = ['instrument_identifier_id', 'profile_id', 'retrieve_bin_details', 'offset', 'limit']
338344
all_params.append('callback')
339345
all_params.append('_return_http_data_only')
340346
all_params.append('_preload_content')
@@ -364,6 +370,8 @@ def get_instrument_identifier_payment_instruments_list_with_http_info(self, inst
364370
instrumentIdentifierId=instrument_identifier_id
365371

366372
query_params = []
373+
if 'retrieve_bin_details' in params:
374+
query_params.append(('retrieveBinDetails', params['retrieve_bin_details']))
367375
if 'offset' in params:
368376
query_params.append(('offset', params['offset']))
369377
if 'limit' in params:
@@ -420,6 +428,7 @@ def patch_instrument_identifier(self, instrument_identifier_id, patch_instrument
420428
:param str instrument_identifier_id: The Id of an Instrument Identifier. (required)
421429
:param PatchInstrumentIdentifierRequest patch_instrument_identifier_request: Specify the previous transaction Id to update. (required)
422430
:param str profile_id: The Id of a profile containing user specific TMS configuration.
431+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
423432
:param str if_match: Contains an ETag value from a GET request to make the request conditional.
424433
:return: PatchInstrumentIdentifierRequest
425434
If the method is called asynchronously,
@@ -453,13 +462,14 @@ def patch_instrument_identifier_with_http_info(self, instrument_identifier_id, p
453462
:param str instrument_identifier_id: The Id of an Instrument Identifier. (required)
454463
:param PatchInstrumentIdentifierRequest patch_instrument_identifier_request: Specify the previous transaction Id to update. (required)
455464
:param str profile_id: The Id of a profile containing user specific TMS configuration.
465+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
456466
:param str if_match: Contains an ETag value from a GET request to make the request conditional.
457467
:return: PatchInstrumentIdentifierRequest
458468
If the method is called asynchronously,
459469
returns the request thread.
460470
"""
461471

462-
all_params = ['instrument_identifier_id', 'patch_instrument_identifier_request', 'profile_id', 'if_match']
472+
all_params = ['instrument_identifier_id', 'patch_instrument_identifier_request', 'profile_id', 'retrieve_bin_details', 'if_match']
463473
all_params.append('callback')
464474
all_params.append('_return_http_data_only')
465475
all_params.append('_preload_content')
@@ -494,6 +504,8 @@ def patch_instrument_identifier_with_http_info(self, instrument_identifier_id, p
494504
instrumentIdentifierId=instrument_identifier_id
495505

496506
query_params = []
507+
if 'retrieve_bin_details' in params:
508+
query_params.append(('retrieveBinDetails', params['retrieve_bin_details']))
497509

498510
header_params = {}
499511
if 'profile_id' in params:
@@ -550,6 +562,7 @@ def post_instrument_identifier(self, post_instrument_identifier_request, **kwarg
550562
for asynchronous request. (optional)
551563
:param PostInstrumentIdentifierRequest post_instrument_identifier_request: Specify either a Card, Bank Account or Enrollable Card (required)
552564
:param str profile_id: The Id of a profile containing user specific TMS configuration.
565+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
553566
:return: PostInstrumentIdentifierRequest
554567
If the method is called asynchronously,
555568
returns the request thread.
@@ -581,12 +594,13 @@ def post_instrument_identifier_with_http_info(self, post_instrument_identifier_r
581594
for asynchronous request. (optional)
582595
:param PostInstrumentIdentifierRequest post_instrument_identifier_request: Specify either a Card, Bank Account or Enrollable Card (required)
583596
:param str profile_id: The Id of a profile containing user specific TMS configuration.
597+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
584598
:return: PostInstrumentIdentifierRequest
585599
If the method is called asynchronously,
586600
returns the request thread.
587601
"""
588602

589-
all_params = ['post_instrument_identifier_request', 'profile_id']
603+
all_params = ['post_instrument_identifier_request', 'profile_id', 'retrieve_bin_details']
590604
all_params.append('callback')
591605
all_params.append('_return_http_data_only')
592606
all_params.append('_preload_content')
@@ -613,6 +627,8 @@ def post_instrument_identifier_with_http_info(self, post_instrument_identifier_r
613627
path_params = {}
614628

615629
query_params = []
630+
if 'retrieve_bin_details' in params:
631+
query_params.append(('retrieveBinDetails', params['retrieve_bin_details']))
616632

617633
header_params = {}
618634
if 'profile_id' in params:

CyberSource/api/payment_instrument_api.py

+15-3
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def get_payment_instrument(self, payment_instrument_id, **kwargs):
177177
for asynchronous request. (optional)
178178
:param str payment_instrument_id: The Id of a payment instrument. (required)
179179
:param str profile_id: The Id of a profile containing user specific TMS configuration.
180+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
180181
:return: PostPaymentInstrumentRequest
181182
If the method is called asynchronously,
182183
returns the request thread.
@@ -208,12 +209,13 @@ def get_payment_instrument_with_http_info(self, payment_instrument_id, **kwargs)
208209
for asynchronous request. (optional)
209210
:param str payment_instrument_id: The Id of a payment instrument. (required)
210211
:param str profile_id: The Id of a profile containing user specific TMS configuration.
212+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
211213
:return: PostPaymentInstrumentRequest
212214
If the method is called asynchronously,
213215
returns the request thread.
214216
"""
215217

216-
all_params = ['payment_instrument_id', 'profile_id']
218+
all_params = ['payment_instrument_id', 'profile_id', 'retrieve_bin_details']
217219
all_params.append('callback')
218220
all_params.append('_return_http_data_only')
219221
all_params.append('_preload_content')
@@ -243,6 +245,8 @@ def get_payment_instrument_with_http_info(self, payment_instrument_id, **kwargs)
243245
paymentInstrumentId=payment_instrument_id
244246

245247
query_params = []
248+
if 'retrieve_bin_details' in params:
249+
query_params.append(('retrieveBinDetails', params['retrieve_bin_details']))
246250

247251
header_params = {}
248252
if 'profile_id' in params:
@@ -295,6 +299,7 @@ def patch_payment_instrument(self, payment_instrument_id, patch_payment_instrume
295299
:param str payment_instrument_id: The Id of a payment instrument. (required)
296300
:param PatchPaymentInstrumentRequest patch_payment_instrument_request: (required)
297301
:param str profile_id: The Id of a profile containing user specific TMS configuration.
302+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
298303
:param str if_match: Contains an ETag value from a GET request to make the request conditional.
299304
:return: PatchPaymentInstrumentRequest
300305
If the method is called asynchronously,
@@ -328,13 +333,14 @@ def patch_payment_instrument_with_http_info(self, payment_instrument_id, patch_p
328333
:param str payment_instrument_id: The Id of a payment instrument. (required)
329334
:param PatchPaymentInstrumentRequest patch_payment_instrument_request: (required)
330335
:param str profile_id: The Id of a profile containing user specific TMS configuration.
336+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
331337
:param str if_match: Contains an ETag value from a GET request to make the request conditional.
332338
:return: PatchPaymentInstrumentRequest
333339
If the method is called asynchronously,
334340
returns the request thread.
335341
"""
336342

337-
all_params = ['payment_instrument_id', 'patch_payment_instrument_request', 'profile_id', 'if_match']
343+
all_params = ['payment_instrument_id', 'patch_payment_instrument_request', 'profile_id', 'retrieve_bin_details', 'if_match']
338344
all_params.append('callback')
339345
all_params.append('_return_http_data_only')
340346
all_params.append('_preload_content')
@@ -369,6 +375,8 @@ def patch_payment_instrument_with_http_info(self, payment_instrument_id, patch_p
369375
paymentInstrumentId=payment_instrument_id
370376

371377
query_params = []
378+
if 'retrieve_bin_details' in params:
379+
query_params.append(('retrieveBinDetails', params['retrieve_bin_details']))
372380

373381
header_params = {}
374382
if 'profile_id' in params:
@@ -425,6 +433,7 @@ def post_payment_instrument(self, post_payment_instrument_request, **kwargs):
425433
for asynchronous request. (optional)
426434
:param PostPaymentInstrumentRequest post_payment_instrument_request: (required)
427435
:param str profile_id: The Id of a profile containing user specific TMS configuration.
436+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
428437
:return: PostPaymentInstrumentRequest
429438
If the method is called asynchronously,
430439
returns the request thread.
@@ -456,12 +465,13 @@ def post_payment_instrument_with_http_info(self, post_payment_instrument_request
456465
for asynchronous request. (optional)
457466
:param PostPaymentInstrumentRequest post_payment_instrument_request: (required)
458467
:param str profile_id: The Id of a profile containing user specific TMS configuration.
468+
:param bool retrieve_bin_details: Retrieve the Bin Details of PAN or network token
459469
:return: PostPaymentInstrumentRequest
460470
If the method is called asynchronously,
461471
returns the request thread.
462472
"""
463473

464-
all_params = ['post_payment_instrument_request', 'profile_id']
474+
all_params = ['post_payment_instrument_request', 'profile_id', 'retrieve_bin_details']
465475
all_params.append('callback')
466476
all_params.append('_return_http_data_only')
467477
all_params.append('_preload_content')
@@ -488,6 +498,8 @@ def post_payment_instrument_with_http_info(self, post_payment_instrument_request
488498
path_params = {}
489499

490500
query_params = []
501+
if 'retrieve_bin_details' in params:
502+
query_params.append(('retrieveBinDetails', params['retrieve_bin_details']))
491503

492504
header_params = {}
493505
if 'profile_id' in params:

0 commit comments

Comments
 (0)