Skip to content

Commit 55c3bbc

Browse files
Merge pull request #112 from CyberSource/release-march24
March Release 24
2 parents 5dcaea6 + 2297b5d commit 55c3bbc

File tree

454 files changed

+33963
-837
lines changed

Some content is hidden

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

454 files changed

+33963
-837
lines changed

CyberSource/__init__.py

+97-3
Large diffs are not rendered by default.

CyberSource/api/billing_agreements_api.py

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

4848
def billing_agreements_de_registration(self, modify_billing_agreement, id, **kwargs):
4949
"""
50-
Standing Instruction Cancellation or Modification
51-
Standing Instruction with or without Token
50+
Modify a Billing Agreement
51+
#### Standing Instruction: Standing Instruction with or without Token. #### Revoke Mandate: When you revoke a mandate, any pending direct debits linked to that mandate are canceled. No notifications are sent. When you revoke a mandate with no pending direct debits, the Bacs scheme or customer's bank notify you of any subsequent direct debit events. When you revoke a mandate, you cannot send a direct debit request using the mandate ID. Customer payments cannot be made against a revoked mandate. You can revoke a mandate when the customer: - Requests that you revoke the mandate. - Closes their account with you. Possible revoke mandate status values - - Revoked—the revoke mandate request was successfully processed. - Failed—the revoke mandate request was not accepted. #### Update Mandate: In most cases, the account details of an existing mandate cannot be updated in the Bacs schema, except by creating a new mandate. However, some very limited customer information, like name and address, can be updated to the mandate without needing to revoke it first #### Mandate Status: After the customer signs the mandate, request that the mandate status service verify the mandate status. Possible mandate status values: - Active—the mandate is successfully created. A direct debit can be sent for this mandate ID. - Pending—a pending mandate means the mandate is not yet signed. - Failed—the customer did not authenticate. - Expired—the deadline to create the mandate passed. - Revoked—the mandate is cancelled. #### Paypal Billing Agreement: A billing agreement is set up between PayPal and your customer. When you collect the details of a customer's billing agreement, you are able to bill that customer without requiring an authorization for each payment. You can bill the customer at the same time you process their PayPal Express checkout order, which simplifies your business processes.
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.
@@ -61,7 +61,7 @@ def billing_agreements_de_registration(self, modify_billing_agreement, id, **kwa
6161
for asynchronous request. (optional)
6262
:param ModifyBillingAgreement modify_billing_agreement: (required)
6363
:param str id: ID for de-registration or cancellation of Billing Agreement (required)
64-
:return: PtsV2CreditsPost201Response1
64+
:return: PtsV2ModifyBillingAgreementPost201Response
6565
If the method is called asynchronously,
6666
returns the request thread.
6767
"""
@@ -78,8 +78,8 @@ def billing_agreements_de_registration(self, modify_billing_agreement, id, **kwa
7878

7979
def billing_agreements_de_registration_with_http_info(self, modify_billing_agreement, id, **kwargs):
8080
"""
81-
Standing Instruction Cancellation or Modification
82-
Standing Instruction with or without Token
81+
Modify a Billing Agreement
82+
#### Standing Instruction: Standing Instruction with or without Token. #### Revoke Mandate: When you revoke a mandate, any pending direct debits linked to that mandate are canceled. No notifications are sent. When you revoke a mandate with no pending direct debits, the Bacs scheme or customer's bank notify you of any subsequent direct debit events. When you revoke a mandate, you cannot send a direct debit request using the mandate ID. Customer payments cannot be made against a revoked mandate. You can revoke a mandate when the customer: - Requests that you revoke the mandate. - Closes their account with you. Possible revoke mandate status values - - Revoked—the revoke mandate request was successfully processed. - Failed—the revoke mandate request was not accepted. #### Update Mandate: In most cases, the account details of an existing mandate cannot be updated in the Bacs schema, except by creating a new mandate. However, some very limited customer information, like name and address, can be updated to the mandate without needing to revoke it first #### Mandate Status: After the customer signs the mandate, request that the mandate status service verify the mandate status. Possible mandate status values: - Active—the mandate is successfully created. A direct debit can be sent for this mandate ID. - Pending—a pending mandate means the mandate is not yet signed. - Failed—the customer did not authenticate. - Expired—the deadline to create the mandate passed. - Revoked—the mandate is cancelled. #### Paypal Billing Agreement: A billing agreement is set up between PayPal and your customer. When you collect the details of a customer's billing agreement, you are able to bill that customer without requiring an authorization for each payment. You can bill the customer at the same time you process their PayPal Express checkout order, which simplifies your business processes.
8383
This method makes a synchronous HTTP request by default. To make an
8484
asynchronous HTTP request, please define a `callback` function
8585
to be invoked when receiving the response.
@@ -92,7 +92,7 @@ def billing_agreements_de_registration_with_http_info(self, modify_billing_agree
9292
for asynchronous request. (optional)
9393
:param ModifyBillingAgreement modify_billing_agreement: (required)
9494
:param str id: ID for de-registration or cancellation of Billing Agreement (required)
95-
:return: PtsV2CreditsPost201Response1
95+
:return: PtsV2ModifyBillingAgreementPost201Response
9696
If the method is called asynchronously,
9797
returns the request thread.
9898
"""
@@ -160,7 +160,7 @@ def billing_agreements_de_registration_with_http_info(self, modify_billing_agree
160160
body=body_params,
161161
post_params=form_params,
162162
files=local_var_files,
163-
response_type='PtsV2CreditsPost201Response1',
163+
response_type='PtsV2ModifyBillingAgreementPost201Response',
164164
auth_settings=auth_settings,
165165
callback=params.get('callback'),
166166
_return_http_data_only=params.get('_return_http_data_only'),
@@ -293,8 +293,8 @@ def billing_agreements_intimation_with_http_info(self, intimate_billing_agreemen
293293

294294
def billing_agreements_registration(self, create_billing_agreement, **kwargs):
295295
"""
296-
Standing Instruction completion registration
297-
Standing Instruction with or without Token. Transaction amount in case First payment is coming along with registration. Only 2 decimal places allowed
296+
Create a Billing Agreement
297+
#### Standing Instruction: Standing Instruction with or without Token. Transaction amount in case First payment is coming along with registration. Only 2 decimal places allowed #### Create Mandate: You can create a mandate through the direct debit mandate flow. Possible create mandate status values: - Pending—the create mandate request was successfully processed. - Failed—the create mandate request was not accepted. #### Import Mandate: In the Bacs scheme, a mandate is created with a status of active. Direct debit collections can be made against it immediately. You can import a mandate to the CyberSource database when: - You have existing customers with signed, active mandates - You manage mandates outside of CyberSource. When you import an existing mandate to the CyberSource database, provide a unique value for the mandate ID or the request results in an error. If an import mandate request is not accepted, the import mandate status value is failed.
298298
This method makes a synchronous HTTP request by default. To make an
299299
asynchronous HTTP request, please define a `callback` function
300300
to be invoked when receiving the response.
@@ -306,7 +306,7 @@ def billing_agreements_registration(self, create_billing_agreement, **kwargs):
306306
:param callback function: The callback function
307307
for asynchronous request. (optional)
308308
:param CreateBillingAgreement create_billing_agreement: (required)
309-
:return: PtsV2CreditsPost201Response1
309+
:return: PtsV2CreateBillingAgreementPost201Response
310310
If the method is called asynchronously,
311311
returns the request thread.
312312
"""
@@ -323,8 +323,8 @@ def billing_agreements_registration(self, create_billing_agreement, **kwargs):
323323

324324
def billing_agreements_registration_with_http_info(self, create_billing_agreement, **kwargs):
325325
"""
326-
Standing Instruction completion registration
327-
Standing Instruction with or without Token. Transaction amount in case First payment is coming along with registration. Only 2 decimal places allowed
326+
Create a Billing Agreement
327+
#### Standing Instruction: Standing Instruction with or without Token. Transaction amount in case First payment is coming along with registration. Only 2 decimal places allowed #### Create Mandate: You can create a mandate through the direct debit mandate flow. Possible create mandate status values: - Pending—the create mandate request was successfully processed. - Failed—the create mandate request was not accepted. #### Import Mandate: In the Bacs scheme, a mandate is created with a status of active. Direct debit collections can be made against it immediately. You can import a mandate to the CyberSource database when: - You have existing customers with signed, active mandates - You manage mandates outside of CyberSource. When you import an existing mandate to the CyberSource database, provide a unique value for the mandate ID or the request results in an error. If an import mandate request is not accepted, the import mandate status value is failed.
328328
This method makes a synchronous HTTP request by default. To make an
329329
asynchronous HTTP request, please define a `callback` function
330330
to be invoked when receiving the response.
@@ -336,7 +336,7 @@ def billing_agreements_registration_with_http_info(self, create_billing_agreemen
336336
:param callback function: The callback function
337337
for asynchronous request. (optional)
338338
:param CreateBillingAgreement create_billing_agreement: (required)
339-
:return: PtsV2CreditsPost201Response1
339+
:return: PtsV2CreateBillingAgreementPost201Response
340340
If the method is called asynchronously,
341341
returns the request thread.
342342
"""
@@ -396,7 +396,7 @@ def billing_agreements_registration_with_http_info(self, create_billing_agreemen
396396
body=body_params,
397397
post_params=form_params,
398398
files=local_var_files,
399-
response_type='PtsV2CreditsPost201Response1',
399+
response_type='PtsV2CreateBillingAgreementPost201Response',
400400
auth_settings=auth_settings,
401401
callback=params.get('callback'),
402402
_return_http_data_only=params.get('_return_http_data_only'),

0 commit comments

Comments
 (0)