Skip to content

Commit 3d5fdd6

Browse files
authored
Merge pull request #89 from CyberSource/september-2022
September 2022 Changes
2 parents 8c7a17c + b7ec83f commit 3d5fdd6

File tree

51 files changed

+1625
-89
lines changed

Some content is hidden

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

51 files changed

+1625
-89
lines changed

CyberSource/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
from .models.inline_response_400_2 import InlineResponse4002
5050
from .models.inline_response_400_details import InlineResponse400Details
5151
from .models.inline_response_400_errors import InlineResponse400Errors
52+
from .models.inline_response_502 import InlineResponse502
5253
from .models.inline_response_default import InlineResponseDefault
5354
from .models.inline_response_default__links import InlineResponseDefaultLinks
5455
from .models.inline_response_default__links_next import InlineResponseDefaultLinksNext
@@ -413,6 +414,7 @@
413414
from .models.ptsv2payouts_recipient_information import Ptsv2payoutsRecipientInformation
414415
from .models.ptsv2payouts_sender_information import Ptsv2payoutsSenderInformation
415416
from .models.ptsv2payouts_sender_information_account import Ptsv2payoutsSenderInformationAccount
417+
from .models.ptsv2voids_processing_information import Ptsv2voidsProcessingInformation
416418
from .models.refund_capture_request import RefundCaptureRequest
417419
from .models.refund_payment_request import RefundPaymentRequest
418420
from .models.reporting_v3_chargeback_details_get200_response import ReportingV3ChargebackDetailsGet200Response
@@ -659,6 +661,7 @@
659661
from .models.tss_v2_transactions_get200_response_payment_information_bank_mandate import TssV2TransactionsGet200ResponsePaymentInformationBankMandate
660662
from .models.tss_v2_transactions_get200_response_payment_information_card import TssV2TransactionsGet200ResponsePaymentInformationCard
661663
from .models.tss_v2_transactions_get200_response_payment_information_customer import TssV2TransactionsGet200ResponsePaymentInformationCustomer
664+
from .models.tss_v2_transactions_get200_response_payment_information_fluid_data import TssV2TransactionsGet200ResponsePaymentInformationFluidData
662665
from .models.tss_v2_transactions_get200_response_payment_information_instrument_identifier import TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
663666
from .models.tss_v2_transactions_get200_response_payment_information_invoice import TssV2TransactionsGet200ResponsePaymentInformationInvoice
664667
from .models.tss_v2_transactions_get200_response_payment_information_payment_type import TssV2TransactionsGet200ResponsePaymentInformationPaymentType
@@ -684,6 +687,7 @@
684687
from .models.tss_v2_transactions_post201_response__embedded_application_information_applications import TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications
685688
from .models.tss_v2_transactions_post201_response__embedded_buyer_information import TssV2TransactionsPost201ResponseEmbeddedBuyerInformation
686689
from .models.tss_v2_transactions_post201_response__embedded_client_reference_information import TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation
690+
from .models.tss_v2_transactions_post201_response__embedded_client_reference_information_partner import TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
687691
from .models.tss_v2_transactions_post201_response__embedded_consumer_authentication_information import TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation
688692
from .models.tss_v2_transactions_post201_response__embedded__links import TssV2TransactionsPost201ResponseEmbeddedLinks
689693
from .models.tss_v2_transactions_post201_response__embedded_merchant_information import TssV2TransactionsPost201ResponseEmbeddedMerchantInformation

CyberSource/apis/asymmetric_key_management_api.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def __init__(self, merchant_config, api_client=None):
4747

4848
def create_p12_keys(self, create_p12_keys_request, **kwargs):
4949
"""
50-
Create one or more PKCS#12 keys
51-
'Create one or more PKCS#12 keys'
50+
Create one or more PKCS12 keys
51+
'Create one or more PKCS12 keys'
5252
This method makes a synchronous HTTP request by default. To make an
5353
asynchronous HTTP request, please define a `callback` function
5454
to be invoked when receiving the response.
@@ -77,8 +77,8 @@ def create_p12_keys(self, create_p12_keys_request, **kwargs):
7777

7878
def create_p12_keys_with_http_info(self, create_p12_keys_request, **kwargs):
7979
"""
80-
Create one or more PKCS#12 keys
81-
'Create one or more PKCS#12 keys'
80+
Create one or more PKCS12 keys
81+
'Create one or more PKCS12 keys'
8282
This method makes a synchronous HTTP request by default. To make an
8383
asynchronous HTTP request, please define a `callback` function
8484
to be invoked when receiving the response.
@@ -159,8 +159,8 @@ def create_p12_keys_with_http_info(self, create_p12_keys_request, **kwargs):
159159

160160
def delete_bulk_p12_keys(self, delete_bulk_p12_keys_request, **kwargs):
161161
"""
162-
Delete one or more PKCS#12 keys
163-
'Delete one or more PKCS#12 keys'
162+
Delete one or more PKCS12 keys
163+
'Delete one or more PKCS12 keys'
164164
This method makes a synchronous HTTP request by default. To make an
165165
asynchronous HTTP request, please define a `callback` function
166166
to be invoked when receiving the response.
@@ -189,8 +189,8 @@ def delete_bulk_p12_keys(self, delete_bulk_p12_keys_request, **kwargs):
189189

190190
def delete_bulk_p12_keys_with_http_info(self, delete_bulk_p12_keys_request, **kwargs):
191191
"""
192-
Delete one or more PKCS#12 keys
193-
'Delete one or more PKCS#12 keys'
192+
Delete one or more PKCS12 keys
193+
'Delete one or more PKCS12 keys'
194194
This method makes a synchronous HTTP request by default. To make an
195195
asynchronous HTTP request, please define a `callback` function
196196
to be invoked when receiving the response.
@@ -271,7 +271,7 @@ def delete_bulk_p12_keys_with_http_info(self, delete_bulk_p12_keys_request, **kw
271271

272272
def get_p12_key_details(self, key_id, **kwargs):
273273
"""
274-
Retrieves PKCS#12 key details
274+
Retrieves PKCS12 key details
275275
Retrieves keys details by providing the key id.
276276
This method makes a synchronous HTTP request by default. To make an
277277
asynchronous HTTP request, please define a `callback` function
@@ -301,7 +301,7 @@ def get_p12_key_details(self, key_id, **kwargs):
301301

302302
def get_p12_key_details_with_http_info(self, key_id, **kwargs):
303303
"""
304-
Retrieves PKCS#12 key details
304+
Retrieves PKCS12 key details
305305
Retrieves keys details by providing the key id.
306306
This method makes a synchronous HTTP request by default. To make an
307307
asynchronous HTTP request, please define a `callback` function

CyberSource/models/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
from .inline_response_400_2 import InlineResponse4002
5050
from .inline_response_400_details import InlineResponse400Details
5151
from .inline_response_400_errors import InlineResponse400Errors
52+
from .inline_response_502 import InlineResponse502
5253
from .inline_response_default import InlineResponseDefault
5354
from .inline_response_default__links import InlineResponseDefaultLinks
5455
from .inline_response_default__links_next import InlineResponseDefaultLinksNext
@@ -413,6 +414,7 @@
413414
from .ptsv2payouts_recipient_information import Ptsv2payoutsRecipientInformation
414415
from .ptsv2payouts_sender_information import Ptsv2payoutsSenderInformation
415416
from .ptsv2payouts_sender_information_account import Ptsv2payoutsSenderInformationAccount
417+
from .ptsv2voids_processing_information import Ptsv2voidsProcessingInformation
416418
from .refund_capture_request import RefundCaptureRequest
417419
from .refund_payment_request import RefundPaymentRequest
418420
from .reporting_v3_chargeback_details_get200_response import ReportingV3ChargebackDetailsGet200Response
@@ -659,6 +661,7 @@
659661
from .tss_v2_transactions_get200_response_payment_information_bank_mandate import TssV2TransactionsGet200ResponsePaymentInformationBankMandate
660662
from .tss_v2_transactions_get200_response_payment_information_card import TssV2TransactionsGet200ResponsePaymentInformationCard
661663
from .tss_v2_transactions_get200_response_payment_information_customer import TssV2TransactionsGet200ResponsePaymentInformationCustomer
664+
from .tss_v2_transactions_get200_response_payment_information_fluid_data import TssV2TransactionsGet200ResponsePaymentInformationFluidData
662665
from .tss_v2_transactions_get200_response_payment_information_instrument_identifier import TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
663666
from .tss_v2_transactions_get200_response_payment_information_invoice import TssV2TransactionsGet200ResponsePaymentInformationInvoice
664667
from .tss_v2_transactions_get200_response_payment_information_payment_type import TssV2TransactionsGet200ResponsePaymentInformationPaymentType
@@ -684,6 +687,7 @@
684687
from .tss_v2_transactions_post201_response__embedded_application_information_applications import TssV2TransactionsPost201ResponseEmbeddedApplicationInformationApplications
685688
from .tss_v2_transactions_post201_response__embedded_buyer_information import TssV2TransactionsPost201ResponseEmbeddedBuyerInformation
686689
from .tss_v2_transactions_post201_response__embedded_client_reference_information import TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation
690+
from .tss_v2_transactions_post201_response__embedded_client_reference_information_partner import TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
687691
from .tss_v2_transactions_post201_response__embedded_consumer_authentication_information import TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation
688692
from .tss_v2_transactions_post201_response__embedded__links import TssV2TransactionsPost201ResponseEmbeddedLinks
689693
from .tss_v2_transactions_post201_response__embedded_merchant_information import TssV2TransactionsPost201ResponseEmbeddedMerchantInformation

CyberSource/models/inline_response_400_2.py

+33-5
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,19 @@ class InlineResponse4002(object):
3434
'submit_time_utc': 'str',
3535
'status': 'str',
3636
'reason': 'str',
37-
'message': 'str'
37+
'message': 'str',
38+
'status_code': 'str'
3839
}
3940

4041
attribute_map = {
4142
'submit_time_utc': 'submitTimeUtc',
4243
'status': 'status',
4344
'reason': 'reason',
44-
'message': 'message'
45+
'message': 'message',
46+
'status_code': 'statusCode'
4547
}
4648

47-
def __init__(self, submit_time_utc=None, status=None, reason=None, message=None):
49+
def __init__(self, submit_time_utc=None, status=None, reason=None, message=None, status_code=None):
4850
"""
4951
InlineResponse4002 - a model defined in Swagger
5052
"""
@@ -53,6 +55,7 @@ def __init__(self, submit_time_utc=None, status=None, reason=None, message=None)
5355
self._status = None
5456
self._reason = None
5557
self._message = None
58+
self._status_code = None
5659

5760
if submit_time_utc is not None:
5861
self.submit_time_utc = submit_time_utc
@@ -62,6 +65,8 @@ def __init__(self, submit_time_utc=None, status=None, reason=None, message=None)
6265
self.reason = reason
6366
if message is not None:
6467
self.message = message
68+
if status_code is not None:
69+
self.status_code = status_code
6570

6671
@property
6772
def submit_time_utc(self):
@@ -113,7 +118,7 @@ def status(self, status):
113118
def reason(self):
114119
"""
115120
Gets the reason of this InlineResponse4002.
116-
The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA
121+
The reason of the status. Possible values: - MISSING_FIELD
117122
118123
:return: The reason of this InlineResponse4002.
119124
:rtype: str
@@ -124,7 +129,7 @@ def reason(self):
124129
def reason(self, reason):
125130
"""
126131
Sets the reason of this InlineResponse4002.
127-
The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA
132+
The reason of the status. Possible values: - MISSING_FIELD
128133
129134
:param reason: The reason of this InlineResponse4002.
130135
:type: str
@@ -155,6 +160,29 @@ def message(self, message):
155160

156161
self._message = message
157162

163+
@property
164+
def status_code(self):
165+
"""
166+
Gets the status_code of this InlineResponse4002.
167+
HTTP status code of the submitted request. Possible values: - 500
168+
169+
:return: The status_code of this InlineResponse4002.
170+
:rtype: str
171+
"""
172+
return self._status_code
173+
174+
@status_code.setter
175+
def status_code(self, status_code):
176+
"""
177+
Sets the status_code of this InlineResponse4002.
178+
HTTP status code of the submitted request. Possible values: - 500
179+
180+
:param status_code: The status_code of this InlineResponse4002.
181+
:type: str
182+
"""
183+
184+
self._status_code = status_code
185+
158186
def to_dict(self):
159187
"""
160188
Returns the model properties as a dict

0 commit comments

Comments
 (0)