Skip to content

Commit be62daa

Browse files
committed
june spec changes
1 parent c42d3c2 commit be62daa

26 files changed

Lines changed: 1446 additions & 37 deletions

CyberSource/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,11 @@
268268
from .models.pts_v2_payments_post201_response_consumer_authentication_information_ivr import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr
269269
from .models.pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication
270270
from .models.pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication_issuer_information import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
271+
from .models.pts_v2_payments_post201_response_embedded_actions import PtsV2PaymentsPost201ResponseEmbeddedActions
272+
from .models.pts_v2_payments_post201_response_embedded_actions_capture import PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
273+
from .models.pts_v2_payments_post201_response_embedded_actions_consumer_authentication import PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
274+
from .models.pts_v2_payments_post201_response_embedded_actions_decision import PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
275+
from .models.pts_v2_payments_post201_response_embedded_actions_watchlist_screening import PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
271276
from .models.pts_v2_payments_post201_response_error_information import PtsV2PaymentsPost201ResponseErrorInformation
272277
from .models.pts_v2_payments_post201_response_error_information_details import PtsV2PaymentsPost201ResponseErrorInformationDetails
273278
from .models.pts_v2_payments_post201_response_installment_information import PtsV2PaymentsPost201ResponseInstallmentInformation

CyberSource/api/plans_api.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def activate_plan_with_http_info(self, id, **kwargs):
134134
if 'POST' in ('POST'):
135135
body_params = '{}'
136136
# HTTP header `Accept`
137-
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
137+
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])
138138

139139
# HTTP header `Content-Type`
140140
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
@@ -244,7 +244,7 @@ def create_plan_with_http_info(self, create_plan_request, **kwargs):
244244
if 'create_plan_request' in params:
245245
body_params = params['create_plan_request']
246246
# HTTP header `Accept`
247-
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
247+
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])
248248

249249
# HTTP header `Content-Type`
250250
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
@@ -356,7 +356,7 @@ def deactivate_plan_with_http_info(self, id, **kwargs):
356356
if 'POST' in ('POST'):
357357
body_params = '{}'
358358
# HTTP header `Accept`
359-
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
359+
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])
360360

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

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

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

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

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

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

CyberSource/api/subscriptions_api.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def activate_subscription_with_http_info(self, id, **kwargs):
134134
if 'POST' in ('POST'):
135135
body_params = '{}'
136136
# HTTP header `Accept`
137-
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
137+
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])
138138

139139
# HTTP header `Content-Type`
140140
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
@@ -246,7 +246,7 @@ def cancel_subscription_with_http_info(self, id, **kwargs):
246246
if 'POST' in ('POST'):
247247
body_params = '{}'
248248
# HTTP header `Accept`
249-
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
249+
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])
250250

251251
# HTTP header `Content-Type`
252252
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
@@ -356,7 +356,7 @@ def create_subscription_with_http_info(self, create_subscription_request, **kwar
356356
if 'create_subscription_request' in params:
357357
body_params = params['create_subscription_request']
358358
# HTTP header `Accept`
359-
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
359+
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])
360360

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

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

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

694694
# HTTP header `Content-Type`
695695
header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json;charset=utf-8'])
@@ -801,7 +801,7 @@ def suspend_subscription_with_http_info(self, id, **kwargs):
801801
if 'POST' in ('POST'):
802802
body_params = '{}'
803803
# HTTP header `Accept`
804-
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
804+
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])
805805

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

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

CyberSource/models/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,11 @@
268268
from .pts_v2_payments_post201_response_consumer_authentication_information_ivr import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr
269269
from .pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication
270270
from .pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication_issuer_information import PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
271+
from .pts_v2_payments_post201_response_embedded_actions import PtsV2PaymentsPost201ResponseEmbeddedActions
272+
from .pts_v2_payments_post201_response_embedded_actions_capture import PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
273+
from .pts_v2_payments_post201_response_embedded_actions_consumer_authentication import PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
274+
from .pts_v2_payments_post201_response_embedded_actions_decision import PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
275+
from .pts_v2_payments_post201_response_embedded_actions_watchlist_screening import PtsV2PaymentsPost201ResponseEmbeddedActionsWATCHLISTSCREENING
271276
from .pts_v2_payments_post201_response_error_information import PtsV2PaymentsPost201ResponseErrorInformation
272277
from .pts_v2_payments_post201_response_error_information_details import PtsV2PaymentsPost201ResponseErrorInformationDetails
273278
from .pts_v2_payments_post201_response_installment_information import PtsV2PaymentsPost201ResponseInstallmentInformation

CyberSource/models/pts_v2_payments_post201_response.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class PtsV2PaymentsPost201Response(object):
5151
'buyer_information': 'PtsV2PaymentsPost201ResponseBuyerInformation',
5252
'risk_information': 'PtsV2PaymentsPost201ResponseRiskInformation',
5353
'consumer_authentication_information': 'PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation',
54+
'embedded_actions': 'PtsV2PaymentsPost201ResponseEmbeddedActions',
5455
'watchlist_screening_information': 'PtsV2PaymentsPost201ResponseWatchlistScreeningInformation'
5556
}
5657

@@ -75,10 +76,11 @@ class PtsV2PaymentsPost201Response(object):
7576
'buyer_information': 'buyerInformation',
7677
'risk_information': 'riskInformation',
7778
'consumer_authentication_information': 'consumerAuthenticationInformation',
79+
'embedded_actions': 'embeddedActions',
7880
'watchlist_screening_information': 'watchlistScreeningInformation'
7981
}
8082

81-
def __init__(self, links=None, id=None, submit_time_utc=None, status=None, reconciliation_id=None, error_information=None, client_reference_information=None, processing_information=None, processor_information=None, issuer_information=None, payment_account_information=None, payment_information=None, payment_insights_information=None, order_information=None, point_of_sale_information=None, installment_information=None, token_information=None, buyer_information=None, risk_information=None, consumer_authentication_information=None, watchlist_screening_information=None):
83+
def __init__(self, links=None, id=None, submit_time_utc=None, status=None, reconciliation_id=None, error_information=None, client_reference_information=None, processing_information=None, processor_information=None, issuer_information=None, payment_account_information=None, payment_information=None, payment_insights_information=None, order_information=None, point_of_sale_information=None, installment_information=None, token_information=None, buyer_information=None, risk_information=None, consumer_authentication_information=None, embedded_actions=None, watchlist_screening_information=None):
8284
"""
8385
PtsV2PaymentsPost201Response - a model defined in Swagger
8486
"""
@@ -103,6 +105,7 @@ def __init__(self, links=None, id=None, submit_time_utc=None, status=None, recon
103105
self._buyer_information = None
104106
self._risk_information = None
105107
self._consumer_authentication_information = None
108+
self._embedded_actions = None
106109
self._watchlist_screening_information = None
107110

108111
if links is not None:
@@ -145,6 +148,8 @@ def __init__(self, links=None, id=None, submit_time_utc=None, status=None, recon
145148
self.risk_information = risk_information
146149
if consumer_authentication_information is not None:
147150
self.consumer_authentication_information = consumer_authentication_information
151+
if embedded_actions is not None:
152+
self.embedded_actions = embedded_actions
148153
if watchlist_screening_information is not None:
149154
self.watchlist_screening_information = watchlist_screening_information
150155

@@ -576,6 +581,27 @@ def consumer_authentication_information(self, consumer_authentication_informatio
576581

577582
self._consumer_authentication_information = consumer_authentication_information
578583

584+
@property
585+
def embedded_actions(self):
586+
"""
587+
Gets the embedded_actions of this PtsV2PaymentsPost201Response.
588+
589+
:return: The embedded_actions of this PtsV2PaymentsPost201Response.
590+
:rtype: PtsV2PaymentsPost201ResponseEmbeddedActions
591+
"""
592+
return self._embedded_actions
593+
594+
@embedded_actions.setter
595+
def embedded_actions(self, embedded_actions):
596+
"""
597+
Sets the embedded_actions of this PtsV2PaymentsPost201Response.
598+
599+
:param embedded_actions: The embedded_actions of this PtsV2PaymentsPost201Response.
600+
:type: PtsV2PaymentsPost201ResponseEmbeddedActions
601+
"""
602+
603+
self._embedded_actions = embedded_actions
604+
579605
@property
580606
def watchlist_screening_information(self):
581607
"""

0 commit comments

Comments
 (0)