Skip to content

Commit

Permalink
Merge pull request #97 from CyberSource/june-release
Browse files Browse the repository at this point in the history
June release
  • Loading branch information
gaubansa authored Jul 6, 2023
2 parents 3edaeca + 4c5ce50 commit 3fc73cf
Show file tree
Hide file tree
Showing 40 changed files with 2,177 additions and 209 deletions.
6 changes: 6 additions & 0 deletions CyberSource/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,11 @@
from .models.pts_v2_payments_post201_response_consumer_authentication_information_ivr import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr
from .models.pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication
from .models.pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication_issuer_information import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
from .models.pts_v2_payments_post201_response_embedded_actions import PtsV2PaymentsPost201ResponseEmbeddedActions
from .models.pts_v2_payments_post201_response_embedded_actions_capture import PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
from .models.pts_v2_payments_post201_response_embedded_actions_consumer_authentication import PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
from .models.pts_v2_payments_post201_response_embedded_actions_decision import PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
from .models.pts_v2_payments_post201_response_embedded_actions_watchlist_screening import PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
from .models.pts_v2_payments_post201_response_error_information import PtsV2PaymentsPost201ResponseErrorInformation
from .models.pts_v2_payments_post201_response_error_information_details import PtsV2PaymentsPost201ResponseErrorInformationDetails
from .models.pts_v2_payments_post201_response_installment_information import PtsV2PaymentsPost201ResponseInstallmentInformation
Expand Down Expand Up @@ -880,6 +885,7 @@
from .models.tss_v2_transactions_post201_response__embedded_client_reference_information import TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation
from .models.tss_v2_transactions_post201_response__embedded_client_reference_information_partner import TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
from .models.tss_v2_transactions_post201_response__embedded_consumer_authentication_information import TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation
from .models.tss_v2_transactions_post201_response__embedded_error_information import TssV2TransactionsPost201ResponseEmbeddedErrorInformation
from .models.tss_v2_transactions_post201_response__embedded__links import TssV2TransactionsPost201ResponseEmbeddedLinks
from .models.tss_v2_transactions_post201_response__embedded_merchant_information import TssV2TransactionsPost201ResponseEmbeddedMerchantInformation
from .models.tss_v2_transactions_post201_response__embedded_order_information import TssV2TransactionsPost201ResponseEmbeddedOrderInformation
Expand Down
32 changes: 14 additions & 18 deletions CyberSource/api/plans_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def activate_plan(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Plan Id (required)
:param object activate_plan_request:
:return: InlineResponse2004
If the method is called asynchronously,
returns the request thread.
Expand Down Expand Up @@ -91,13 +90,12 @@ def activate_plan_with_http_info(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Plan Id (required)
:param object activate_plan_request:
:return: InlineResponse2004
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['id', 'activate_plan_request']
all_params = ['id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -133,10 +131,10 @@ def activate_plan_with_http_info(self, id, **kwargs):
local_var_files = {}

body_params = None
if 'activate_plan_request' in params:
body_params = params['activate_plan_request']
if 'POST' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -246,7 +244,7 @@ def create_plan_with_http_info(self, create_plan_request, **kwargs):
if 'create_plan_request' in params:
body_params = params['create_plan_request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -284,7 +282,6 @@ def deactivate_plan(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Plan Id (required)
:param object deactivate_plan_request:
:return: InlineResponse2004
If the method is called asynchronously,
returns the request thread.
Expand Down Expand Up @@ -315,13 +312,12 @@ def deactivate_plan_with_http_info(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Plan Id (required)
:param object deactivate_plan_request:
:return: InlineResponse2004
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['id', 'deactivate_plan_request']
all_params = ['id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -357,10 +353,10 @@ def deactivate_plan_with_http_info(self, id, **kwargs):
local_var_files = {}

body_params = None
if 'deactivate_plan_request' in params:
body_params = params['deactivate_plan_request']
if 'POST' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -472,7 +468,7 @@ def delete_plan_with_http_info(self, id, **kwargs):
if 'DELETE' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -584,7 +580,7 @@ def get_plan_with_http_info(self, id, **kwargs):
if 'GET' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -686,7 +682,7 @@ def get_plan_code_with_http_info(self, **kwargs):
if 'GET' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -809,7 +805,7 @@ def get_plans_with_http_info(self, **kwargs):
if 'GET' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -928,7 +924,7 @@ def update_plan_with_http_info(self, id, update_plan_request, **kwargs):
if 'update_plan_request' in params:
body_params = params['update_plan_request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down
40 changes: 17 additions & 23 deletions CyberSource/api/subscriptions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def activate_subscription(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Subscription Id (required)
:param object activate_subscription_request:
:return: InlineResponse2009
If the method is called asynchronously,
returns the request thread.
Expand Down Expand Up @@ -91,13 +90,12 @@ def activate_subscription_with_http_info(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Subscription Id (required)
:param object activate_subscription_request:
:return: InlineResponse2009
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['id', 'activate_subscription_request']
all_params = ['id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -133,10 +131,10 @@ def activate_subscription_with_http_info(self, id, **kwargs):
local_var_files = {}

body_params = None
if 'activate_subscription_request' in params:
body_params = params['activate_subscription_request']
if 'POST' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -174,7 +172,6 @@ def cancel_subscription(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Subscription Id (required)
:param object cancel_subscription_request:
:return: InlineResponse202
If the method is called asynchronously,
returns the request thread.
Expand Down Expand Up @@ -205,13 +202,12 @@ def cancel_subscription_with_http_info(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Subscription Id (required)
:param object cancel_subscription_request:
:return: InlineResponse202
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['id', 'cancel_subscription_request']
all_params = ['id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -247,10 +243,10 @@ def cancel_subscription_with_http_info(self, id, **kwargs):
local_var_files = {}

body_params = None
if 'cancel_subscription_request' in params:
body_params = params['cancel_subscription_request']
if 'POST' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -360,7 +356,7 @@ def create_subscription_with_http_info(self, create_subscription_request, **kwar
if 'create_subscription_request' in params:
body_params = params['create_subscription_request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -479,7 +475,7 @@ def get_all_subscriptions_with_http_info(self, **kwargs):
if 'GET' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -591,7 +587,7 @@ def get_subscription_with_http_info(self, id, **kwargs):
if 'GET' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -693,7 +689,7 @@ def get_subscription_code_with_http_info(self, **kwargs):
if 'GET' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -731,7 +727,6 @@ def suspend_subscription(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Subscription Id (required)
:param object suspend_subscription_request:
:return: InlineResponse2021
If the method is called asynchronously,
returns the request thread.
Expand Down Expand Up @@ -762,13 +757,12 @@ def suspend_subscription_with_http_info(self, id, **kwargs):
:param callback function: The callback function
for asynchronous request. (optional)
:param str id: Subscription Id (required)
:param object suspend_subscription_request:
:return: InlineResponse2021
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['id', 'suspend_subscription_request']
all_params = ['id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -804,10 +798,10 @@ def suspend_subscription_with_http_info(self, id, **kwargs):
local_var_files = {}

body_params = None
if 'suspend_subscription_request' in params:
body_params = params['suspend_subscription_request']
if 'POST' in ('POST'):
body_params = '{}'
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down Expand Up @@ -926,7 +920,7 @@ def update_subscription_with_http_info(self, id, update_subscription, **kwargs):
if 'update_subscription' in params:
body_params = params['update_subscription']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
Expand Down
Loading

0 comments on commit 3fc73cf

Please sign in to comment.