diff --git a/CyberSource/__init__.py b/CyberSource/__init__.py index ed899d0d..dc7e0bd8 100644 --- a/CyberSource/__init__.py +++ b/CyberSource/__init__.py @@ -167,6 +167,7 @@ from .models.get_all_plans_response_plan_information_billing_period import GetAllPlansResponsePlanInformationBillingPeriod from .models.get_all_plans_response_plans import GetAllPlansResponsePlans from .models.get_all_subscriptions_response import GetAllSubscriptionsResponse +from .models.get_all_subscriptions_response_client_reference_information import GetAllSubscriptionsResponseClientReferenceInformation from .models.get_all_subscriptions_response_links import GetAllSubscriptionsResponseLinks from .models.get_all_subscriptions_response_order_information import GetAllSubscriptionsResponseOrderInformation from .models.get_all_subscriptions_response_order_information_bill_to import GetAllSubscriptionsResponseOrderInformationBillTo @@ -193,45 +194,49 @@ from .models.inline_response200 import InlineResponse200 from .models.inline_response2001 import InlineResponse2001 from .models.inline_response20010 import InlineResponse20010 -from .models.inline_response20010_embedded import InlineResponse20010Embedded -from .models.inline_response20010_embedded_batches import InlineResponse20010EmbeddedBatches -from .models.inline_response20010_embedded_links import InlineResponse20010EmbeddedLinks -from .models.inline_response20010_embedded_links_reports import InlineResponse20010EmbeddedLinksReports -from .models.inline_response20010_embedded_totals import InlineResponse20010EmbeddedTotals -from .models.inline_response20010_links import InlineResponse20010Links +from .models.inline_response20010_devices import InlineResponse20010Devices +from .models.inline_response20010_payment_processor_to_terminal_map import InlineResponse20010PaymentProcessorToTerminalMap from .models.inline_response20011 import InlineResponse20011 -from .models.inline_response20011_billing import InlineResponse20011Billing +from .models.inline_response20011_embedded import InlineResponse20011Embedded +from .models.inline_response20011_embedded_batches import InlineResponse20011EmbeddedBatches +from .models.inline_response20011_embedded_links import InlineResponse20011EmbeddedLinks +from .models.inline_response20011_embedded_links_reports import InlineResponse20011EmbeddedLinksReports +from .models.inline_response20011_embedded_totals import InlineResponse20011EmbeddedTotals from .models.inline_response20011_links import InlineResponse20011Links -from .models.inline_response20011_links_report import InlineResponse20011LinksReport from .models.inline_response20012 import InlineResponse20012 -from .models.inline_response20012_records import InlineResponse20012Records -from .models.inline_response20012_response_record import InlineResponse20012ResponseRecord -from .models.inline_response20012_response_record_additional_updates import InlineResponse20012ResponseRecordAdditionalUpdates -from .models.inline_response20012_source_record import InlineResponse20012SourceRecord +from .models.inline_response20012_billing import InlineResponse20012Billing +from .models.inline_response20012_links import InlineResponse20012Links +from .models.inline_response20012_links_report import InlineResponse20012LinksReport from .models.inline_response20013 import InlineResponse20013 +from .models.inline_response20013_records import InlineResponse20013Records +from .models.inline_response20013_response_record import InlineResponse20013ResponseRecord +from .models.inline_response20013_response_record_additional_updates import InlineResponse20013ResponseRecordAdditionalUpdates +from .models.inline_response20013_source_record import InlineResponse20013SourceRecord from .models.inline_response20014 import InlineResponse20014 -from .models.inline_response20014_client_reference_information import InlineResponse20014ClientReferenceInformation -from .models.inline_response2001_embedded import InlineResponse2001Embedded -from .models.inline_response2001_embedded_capture import InlineResponse2001EmbeddedCapture -from .models.inline_response2001_embedded_capture_links import InlineResponse2001EmbeddedCaptureLinks -from .models.inline_response2001_embedded_capture_links_self import InlineResponse2001EmbeddedCaptureLinksSelf -from .models.inline_response2001_embedded_reversal import InlineResponse2001EmbeddedReversal -from .models.inline_response2001_embedded_reversal_links import InlineResponse2001EmbeddedReversalLinks -from .models.inline_response2001_embedded_reversal_links_self import InlineResponse2001EmbeddedReversalLinksSelf +from .models.inline_response20015 import InlineResponse20015 +from .models.inline_response20015_client_reference_information import InlineResponse20015ClientReferenceInformation +from .models.inline_response2001_content import InlineResponse2001Content from .models.inline_response2002 import InlineResponse2002 +from .models.inline_response2002_embedded import InlineResponse2002Embedded +from .models.inline_response2002_embedded_capture import InlineResponse2002EmbeddedCapture +from .models.inline_response2002_embedded_capture_links import InlineResponse2002EmbeddedCaptureLinks +from .models.inline_response2002_embedded_capture_links_self import InlineResponse2002EmbeddedCaptureLinksSelf +from .models.inline_response2002_embedded_reversal import InlineResponse2002EmbeddedReversal +from .models.inline_response2002_embedded_reversal_links import InlineResponse2002EmbeddedReversalLinks +from .models.inline_response2002_embedded_reversal_links_self import InlineResponse2002EmbeddedReversalLinksSelf from .models.inline_response2003 import InlineResponse2003 -from .models.inline_response2003_integration_information import InlineResponse2003IntegrationInformation -from .models.inline_response2003_integration_information_tenant_configurations import InlineResponse2003IntegrationInformationTenantConfigurations from .models.inline_response2004 import InlineResponse2004 +from .models.inline_response2004_integration_information import InlineResponse2004IntegrationInformation +from .models.inline_response2004_integration_information_tenant_configurations import InlineResponse2004IntegrationInformationTenantConfigurations from .models.inline_response2005 import InlineResponse2005 from .models.inline_response2006 import InlineResponse2006 from .models.inline_response2007 import InlineResponse2007 -from .models.inline_response2007_devices import InlineResponse2007Devices from .models.inline_response2008 import InlineResponse2008 +from .models.inline_response2008_devices import InlineResponse2008Devices from .models.inline_response2009 import InlineResponse2009 -from .models.inline_response2009_devices import InlineResponse2009Devices -from .models.inline_response2009_payment_processor_to_terminal_map import InlineResponse2009PaymentProcessorToTerminalMap -from .models.inline_response200_content import InlineResponse200Content +from .models.inline_response200_details import InlineResponse200Details +from .models.inline_response200_errors import InlineResponse200Errors +from .models.inline_response200_responses import InlineResponse200Responses from .models.inline_response201 import InlineResponse201 from .models.inline_response2011 import InlineResponse2011 from .models.inline_response2012 import InlineResponse2012 @@ -523,9 +528,11 @@ from .models.post_device_search_request_v3 import PostDeviceSearchRequestV3 from .models.post_instrument_identifier_enrollment_request import PostInstrumentIdentifierEnrollmentRequest from .models.post_instrument_identifier_request import PostInstrumentIdentifierRequest +from .models.post_issuer_life_cycle_simulation_request import PostIssuerLifeCycleSimulationRequest from .models.post_payment_credentials_request import PostPaymentCredentialsRequest from .models.post_payment_instrument_request import PostPaymentInstrumentRequest from .models.post_registration_body import PostRegistrationBody +from .models.post_tokenize_request import PostTokenizeRequest from .models.predefined_subscription_request_bean import PredefinedSubscriptionRequestBean from .models.pts_v1_transaction_batches_get200_response import PtsV1TransactionBatchesGet200Response from .models.pts_v1_transaction_batches_get200_response_links import PtsV1TransactionBatchesGet200ResponseLinks @@ -1080,7 +1087,6 @@ from .models.push_funds404_response import PushFunds404Response from .models.push_funds502_response import PushFunds502Response from .models.push_funds_request import PushFundsRequest -from .models.rbsv1plans_client_reference_information import Rbsv1plansClientReferenceInformation from .models.rbsv1plans_order_information import Rbsv1plansOrderInformation from .models.rbsv1plans_order_information_amount_details import Rbsv1plansOrderInformationAmountDetails from .models.rbsv1plans_plan_information import Rbsv1plansPlanInformation @@ -1088,8 +1094,6 @@ from .models.rbsv1plansid_plan_information import Rbsv1plansidPlanInformation from .models.rbsv1plansid_processing_information import Rbsv1plansidProcessingInformation from .models.rbsv1plansid_processing_information_subscription_billing_options import Rbsv1plansidProcessingInformationSubscriptionBillingOptions -from .models.rbsv1subscriptions_client_reference_information import Rbsv1subscriptionsClientReferenceInformation -from .models.rbsv1subscriptions_client_reference_information_partner import Rbsv1subscriptionsClientReferenceInformationPartner from .models.rbsv1subscriptions_payment_information import Rbsv1subscriptionsPaymentInformation from .models.rbsv1subscriptions_payment_information_customer import Rbsv1subscriptionsPaymentInformationCustomer from .models.rbsv1subscriptions_plan_information import Rbsv1subscriptionsPlanInformation @@ -1330,6 +1334,8 @@ from .models.tms_embedded_instrument_identifier_point_of_sale_information import TmsEmbeddedInstrumentIdentifierPointOfSaleInformation from .models.tms_embedded_instrument_identifier_point_of_sale_information_emv_tags import TmsEmbeddedInstrumentIdentifierPointOfSaleInformationEmvTags from .models.tms_embedded_instrument_identifier_processing_information import TmsEmbeddedInstrumentIdentifierProcessingInformation +from .models.tms_merchant_information import TmsMerchantInformation +from .models.tms_merchant_information_merchant_descriptor import TmsMerchantInformationMerchantDescriptor from .models.tms_network_token_services import TmsNetworkTokenServices from .models.tms_network_token_services_american_express_token_service import TmsNetworkTokenServicesAmericanExpressTokenService from .models.tms_network_token_services_mastercard_digital_enablement_service import TmsNetworkTokenServicesMastercardDigitalEnablementService @@ -1350,39 +1356,44 @@ from .models.tmsv2_tokenized_card_metadata import Tmsv2TokenizedCardMetadata from .models.tmsv2_tokenized_card_metadata_issuer import Tmsv2TokenizedCardMetadataIssuer from .models.tmsv2_tokenized_card_passcode import Tmsv2TokenizedCardPasscode -from .models.tmsv2customers_buyer_information import Tmsv2customersBuyerInformation -from .models.tmsv2customers_client_reference_information import Tmsv2customersClientReferenceInformation -from .models.tmsv2customers_default_payment_instrument import Tmsv2customersDefaultPaymentInstrument -from .models.tmsv2customers_default_shipping_address import Tmsv2customersDefaultShippingAddress -from .models.tmsv2customers_embedded import Tmsv2customersEmbedded -from .models.tmsv2customers_embedded_default_payment_instrument import Tmsv2customersEmbeddedDefaultPaymentInstrument -from .models.tmsv2customers_embedded_default_payment_instrument_bank_account import Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount -from .models.tmsv2customers_embedded_default_payment_instrument_bill_to import Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo -from .models.tmsv2customers_embedded_default_payment_instrument_buyer_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation -from .models.tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy -from .models.tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification -from .models.tmsv2customers_embedded_default_payment_instrument_card import Tmsv2customersEmbeddedDefaultPaymentInstrumentCard -from .models.tmsv2customers_embedded_default_payment_instrument_card_tokenized_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation -from .models.tmsv2customers_embedded_default_payment_instrument_embedded import Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded -from .models.tmsv2customers_embedded_default_payment_instrument_instrument_identifier import Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier -from .models.tmsv2customers_embedded_default_payment_instrument_links import Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks -from .models.tmsv2customers_embedded_default_payment_instrument_links_self import Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf -from .models.tmsv2customers_embedded_default_payment_instrument_merchant_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation -from .models.tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor import Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor -from .models.tmsv2customers_embedded_default_payment_instrument_metadata import Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata -from .models.tmsv2customers_embedded_default_shipping_address import Tmsv2customersEmbeddedDefaultShippingAddress -from .models.tmsv2customers_embedded_default_shipping_address_links import Tmsv2customersEmbeddedDefaultShippingAddressLinks -from .models.tmsv2customers_embedded_default_shipping_address_links_customer import Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer -from .models.tmsv2customers_embedded_default_shipping_address_links_self import Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf -from .models.tmsv2customers_embedded_default_shipping_address_metadata import Tmsv2customersEmbeddedDefaultShippingAddressMetadata -from .models.tmsv2customers_embedded_default_shipping_address_ship_to import Tmsv2customersEmbeddedDefaultShippingAddressShipTo -from .models.tmsv2customers_links import Tmsv2customersLinks -from .models.tmsv2customers_links_payment_instruments import Tmsv2customersLinksPaymentInstruments -from .models.tmsv2customers_links_self import Tmsv2customersLinksSelf -from .models.tmsv2customers_links_shipping_address import Tmsv2customersLinksShippingAddress -from .models.tmsv2customers_merchant_defined_information import Tmsv2customersMerchantDefinedInformation -from .models.tmsv2customers_metadata import Tmsv2customersMetadata -from .models.tmsv2customers_object_information import Tmsv2customersObjectInformation +from .models.tmsv2tokenize_processing_information import Tmsv2tokenizeProcessingInformation +from .models.tmsv2tokenize_token_information import Tmsv2tokenizeTokenInformation +from .models.tmsv2tokenize_token_information_customer import Tmsv2tokenizeTokenInformationCustomer +from .models.tmsv2tokenize_token_information_customer_buyer_information import Tmsv2tokenizeTokenInformationCustomerBuyerInformation +from .models.tmsv2tokenize_token_information_customer_client_reference_information import Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation +from .models.tmsv2tokenize_token_information_customer_default_payment_instrument import Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument +from .models.tmsv2tokenize_token_information_customer_default_shipping_address import Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress +from .models.tmsv2tokenize_token_information_customer_embedded import Tmsv2tokenizeTokenInformationCustomerEmbedded +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf +from .models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata +from .models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress +from .models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks +from .models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer +from .models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf +from .models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata +from .models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo +from .models.tmsv2tokenize_token_information_customer_links import Tmsv2tokenizeTokenInformationCustomerLinks +from .models.tmsv2tokenize_token_information_customer_links_payment_instruments import Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments +from .models.tmsv2tokenize_token_information_customer_links_self import Tmsv2tokenizeTokenInformationCustomerLinksSelf +from .models.tmsv2tokenize_token_information_customer_links_shipping_address import Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress +from .models.tmsv2tokenize_token_information_customer_merchant_defined_information import Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation +from .models.tmsv2tokenize_token_information_customer_metadata import Tmsv2tokenizeTokenInformationCustomerMetadata +from .models.tmsv2tokenize_token_information_customer_object_information import Tmsv2tokenizeTokenInformationCustomerObjectInformation +from .models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard +from .models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata +from .models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt +from .models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset from .models.tmsv2tokenstoken_idpaymentcredentials_authenticated_identities import Tmsv2tokenstokenIdpaymentcredentialsAuthenticatedIdentities from .models.tmsv2tokenstoken_idpaymentcredentials_device_information import Tmsv2tokenstokenIdpaymentcredentialsDeviceInformation from .models.tmsv2tokenstoken_idpaymentcredentials_merchant_information import Tmsv2tokenstokenIdpaymentcredentialsMerchantInformation @@ -1527,18 +1538,23 @@ from .models.upv1capturecontexts_data_client_reference_information import Upv1capturecontextsDataClientReferenceInformation from .models.upv1capturecontexts_data_client_reference_information_partner import Upv1capturecontextsDataClientReferenceInformationPartner from .models.upv1capturecontexts_data_consumer_authentication_information import Upv1capturecontextsDataConsumerAuthenticationInformation +from .models.upv1capturecontexts_data_device_information import Upv1capturecontextsDataDeviceInformation from .models.upv1capturecontexts_data_merchant_defined_information import Upv1capturecontextsDataMerchantDefinedInformation from .models.upv1capturecontexts_data_merchant_information import Upv1capturecontextsDataMerchantInformation from .models.upv1capturecontexts_data_merchant_information_merchant_descriptor import Upv1capturecontextsDataMerchantInformationMerchantDescriptor from .models.upv1capturecontexts_data_order_information import Upv1capturecontextsDataOrderInformation from .models.upv1capturecontexts_data_order_information_amount_details import Upv1capturecontextsDataOrderInformationAmountDetails from .models.upv1capturecontexts_data_order_information_amount_details_surcharge import Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge +from .models.upv1capturecontexts_data_order_information_amount_details_tax_details import Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails from .models.upv1capturecontexts_data_order_information_bill_to import Upv1capturecontextsDataOrderInformationBillTo from .models.upv1capturecontexts_data_order_information_bill_to_company import Upv1capturecontextsDataOrderInformationBillToCompany +from .models.upv1capturecontexts_data_order_information_invoice_details import Upv1capturecontextsDataOrderInformationInvoiceDetails from .models.upv1capturecontexts_data_order_information_line_items import Upv1capturecontextsDataOrderInformationLineItems from .models.upv1capturecontexts_data_order_information_line_items_passenger import Upv1capturecontextsDataOrderInformationLineItemsPassenger from .models.upv1capturecontexts_data_order_information_line_items_tax_details import Upv1capturecontextsDataOrderInformationLineItemsTaxDetails from .models.upv1capturecontexts_data_order_information_ship_to import Upv1capturecontextsDataOrderInformationShipTo +from .models.upv1capturecontexts_data_payment_information import Upv1capturecontextsDataPaymentInformation +from .models.upv1capturecontexts_data_payment_information_card import Upv1capturecontextsDataPaymentInformationCard from .models.upv1capturecontexts_data_processing_information import Upv1capturecontextsDataProcessingInformation from .models.upv1capturecontexts_data_processing_information_authorization_options import Upv1capturecontextsDataProcessingInformationAuthorizationOptions from .models.upv1capturecontexts_data_processing_information_authorization_options_initiator import Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator @@ -1653,6 +1669,7 @@ from .api.subscriptions_api import SubscriptionsApi from .api.subscriptions_follow_ons_api import SubscriptionsFollowOnsApi from .api.token_api import TokenApi +from .api.tokenize_api import TokenizeApi from .api.tokenized_card_api import TokenizedCardApi from .api.transaction_batches_api import TransactionBatchesApi from .api.transaction_details_api import TransactionDetailsApi diff --git a/CyberSource/api/__init__.py b/CyberSource/api/__init__.py index 84c2641f..3f08241b 100644 --- a/CyberSource/api/__init__.py +++ b/CyberSource/api/__init__.py @@ -49,6 +49,7 @@ from .subscriptions_api import SubscriptionsApi from .subscriptions_follow_ons_api import SubscriptionsFollowOnsApi from .token_api import TokenApi +from .tokenize_api import TokenizeApi from .tokenized_card_api import TokenizedCardApi from .transaction_batches_api import TransactionBatchesApi from .transaction_details_api import TransactionDetailsApi diff --git a/CyberSource/api/bank_account_validation_api.py b/CyberSource/api/bank_account_validation_api.py index 29722070..09cc5b8d 100644 --- a/CyberSource/api/bank_account_validation_api.py +++ b/CyberSource/api/bank_account_validation_api.py @@ -60,7 +60,7 @@ def bank_account_validation_request(self, account_validations_request, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param AccountValidationsRequest account_validations_request: (required) - :return: InlineResponse20013 + :return: InlineResponse20014 If the method is called asynchronously, returns the request thread. @@ -92,7 +92,7 @@ def bank_account_validation_request_with_http_info(self, account_validations_req :param callback function: The callback function for asynchronous request. (optional) :param AccountValidationsRequest account_validations_request: (required) - :return: InlineResponse20013 + :return: InlineResponse20014 If the method is called asynchronously, returns the request thread. """ @@ -157,7 +157,7 @@ def bank_account_validation_request_with_http_info(self, account_validations_req body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse20013', + response_type='InlineResponse20014', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/batches_api.py b/CyberSource/api/batches_api.py index f90457c9..bf0df378 100644 --- a/CyberSource/api/batches_api.py +++ b/CyberSource/api/batches_api.py @@ -60,7 +60,7 @@ def get_batch_report(self, batch_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str batch_id: Unique identification number assigned to the submitted request. (required) - :return: InlineResponse20012 + :return: InlineResponse20013 If the method is called asynchronously, returns the request thread. """ @@ -89,7 +89,7 @@ def get_batch_report_with_http_info(self, batch_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str batch_id: Unique identification number assigned to the submitted request. (required) - :return: InlineResponse20012 + :return: InlineResponse20013 If the method is called asynchronously, returns the request thread. """ @@ -158,7 +158,7 @@ def get_batch_report_with_http_info(self, batch_id, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse20012', + response_type='InlineResponse20013', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -181,7 +181,7 @@ def get_batch_status(self, batch_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str batch_id: Unique identification number assigned to the submitted request. (required) - :return: InlineResponse20011 + :return: InlineResponse20012 If the method is called asynchronously, returns the request thread. """ @@ -210,7 +210,7 @@ def get_batch_status_with_http_info(self, batch_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str batch_id: Unique identification number assigned to the submitted request. (required) - :return: InlineResponse20011 + :return: InlineResponse20012 If the method is called asynchronously, returns the request thread. """ @@ -279,7 +279,7 @@ def get_batch_status_with_http_info(self, batch_id, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse20011', + response_type='InlineResponse20012', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -305,7 +305,7 @@ def get_batches_list(self, **kwargs): :param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. :param str from_date: ISO-8601 format: yyyyMMddTHHmmssZ :param str to_date: ISO-8601 format: yyyyMMddTHHmmssZ - :return: InlineResponse20010 + :return: InlineResponse20011 If the method is called asynchronously, returns the request thread. """ @@ -337,7 +337,7 @@ def get_batches_list_with_http_info(self, **kwargs): :param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset. :param str from_date: ISO-8601 format: yyyyMMddTHHmmssZ :param str to_date: ISO-8601 format: yyyyMMddTHHmmssZ - :return: InlineResponse20010 + :return: InlineResponse20011 If the method is called asynchronously, returns the request thread. """ @@ -407,7 +407,7 @@ def get_batches_list_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse20010', + response_type='InlineResponse20011', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/create_new_webhooks_api.py b/CyberSource/api/create_new_webhooks_api.py index 2cb4f78c..a4248177 100644 --- a/CyberSource/api/create_new_webhooks_api.py +++ b/CyberSource/api/create_new_webhooks_api.py @@ -60,7 +60,7 @@ def find_products_to_subscribe(self, organization_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str organization_id: The Organization Identifier. (required) - :return: list[InlineResponse2004] + :return: list[InlineResponse2005] If the method is called asynchronously, returns the request thread. """ @@ -89,7 +89,7 @@ def find_products_to_subscribe_with_http_info(self, organization_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str organization_id: The Organization Identifier. (required) - :return: list[InlineResponse2004] + :return: list[InlineResponse2005] If the method is called asynchronously, returns the request thread. """ @@ -158,7 +158,7 @@ def find_products_to_subscribe_with_http_info(self, organization_id, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='list[InlineResponse2004]', + response_type='list[InlineResponse2005]', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/customer_api.py b/CyberSource/api/customer_api.py index 25682ad0..349a846c 100644 --- a/CyberSource/api/customer_api.py +++ b/CyberSource/api/customer_api.py @@ -407,7 +407,7 @@ def patch_customer_with_http_info(self, customer_id, patch_customer_request, **k body_params = sdkTracker.insert_developer_id_tracker(body_params, 'patch_customer_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "patch_customer,patch_customer_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) @@ -528,7 +528,7 @@ def post_customer_with_http_info(self, post_customer_request, **kwargs): body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_customer_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_customer,post_customer_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) diff --git a/CyberSource/api/customer_payment_instrument_api.py b/CyberSource/api/customer_payment_instrument_api.py index abc4fe85..f839c818 100644 --- a/CyberSource/api/customer_payment_instrument_api.py +++ b/CyberSource/api/customer_payment_instrument_api.py @@ -567,7 +567,7 @@ def patch_customers_payment_instrument_with_http_info(self, customer_id, payment body_params = sdkTracker.insert_developer_id_tracker(body_params, 'patch_customer_payment_instrument_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "patch_customers_payment_instrument,patch_customers_payment_instrument_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) @@ -697,7 +697,7 @@ def post_customer_payment_instrument_with_http_info(self, customer_id, post_cust body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_customer_payment_instrument_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_customer_payment_instrument,post_customer_payment_instrument_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) diff --git a/CyberSource/api/customer_shipping_address_api.py b/CyberSource/api/customer_shipping_address_api.py index af3c9b1d..1e73eb47 100644 --- a/CyberSource/api/customer_shipping_address_api.py +++ b/CyberSource/api/customer_shipping_address_api.py @@ -567,7 +567,7 @@ def patch_customers_shipping_address_with_http_info(self, customer_id, shipping_ body_params = sdkTracker.insert_developer_id_tracker(body_params, 'patch_customer_shipping_address_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "patch_customers_shipping_address,patch_customers_shipping_address_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) @@ -697,7 +697,7 @@ def post_customer_shipping_address_with_http_info(self, customer_id, post_custom body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_customer_shipping_address_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_customer_shipping_address,post_customer_shipping_address_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) diff --git a/CyberSource/api/decision_manager_api.py b/CyberSource/api/decision_manager_api.py index a57b4f6a..763219cf 100644 --- a/CyberSource/api/decision_manager_api.py +++ b/CyberSource/api/decision_manager_api.py @@ -61,7 +61,7 @@ def action_decision_manager_case(self, id, case_management_actions_request, **kw for asynchronous request. (optional) :param str id: An unique identification number generated by Cybersource to identify the submitted request. (required) :param CaseManagementActionsRequest case_management_actions_request: (required) - :return: InlineResponse2001 + :return: InlineResponse2002 If the method is called asynchronously, returns the request thread. """ @@ -91,7 +91,7 @@ def action_decision_manager_case_with_http_info(self, id, case_management_action for asynchronous request. (optional) :param str id: An unique identification number generated by Cybersource to identify the submitted request. (required) :param CaseManagementActionsRequest case_management_actions_request: (required) - :return: InlineResponse2001 + :return: InlineResponse2002 If the method is called asynchronously, returns the request thread. """ @@ -163,7 +163,7 @@ def action_decision_manager_case_with_http_info(self, id, case_management_action body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2001', + response_type='InlineResponse2002', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/device_de_association_api.py b/CyberSource/api/device_de_association_api.py index e232666c..f7ad566d 100644 --- a/CyberSource/api/device_de_association_api.py +++ b/CyberSource/api/device_de_association_api.py @@ -177,7 +177,7 @@ def post_de_associate_v3_terminal(self, device_de_associate_v3_request, **kwargs :param callback function: The callback function for asynchronous request. (optional) :param list[DeviceDeAssociateV3Request] device_de_associate_v3_request: deviceId that has to be de-associated to the destination organizationId. (required) - :return: list[InlineResponse2008] + :return: list[InlineResponse2009] If the method is called asynchronously, returns the request thread. """ @@ -206,7 +206,7 @@ def post_de_associate_v3_terminal_with_http_info(self, device_de_associate_v3_re :param callback function: The callback function for asynchronous request. (optional) :param list[DeviceDeAssociateV3Request] device_de_associate_v3_request: deviceId that has to be de-associated to the destination organizationId. (required) - :return: list[InlineResponse2008] + :return: list[InlineResponse2009] If the method is called asynchronously, returns the request thread. """ @@ -271,7 +271,7 @@ def post_de_associate_v3_terminal_with_http_info(self, device_de_associate_v3_re body=body_params, post_params=form_params, files=local_var_files, - response_type='list[InlineResponse2008]', + response_type='list[InlineResponse2009]', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/device_search_api.py b/CyberSource/api/device_search_api.py index af88e17c..44b60f53 100644 --- a/CyberSource/api/device_search_api.py +++ b/CyberSource/api/device_search_api.py @@ -60,7 +60,7 @@ def post_search_query(self, post_device_search_request, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param PostDeviceSearchRequest post_device_search_request: (required) - :return: InlineResponse2007 + :return: InlineResponse2008 If the method is called asynchronously, returns the request thread. """ @@ -89,7 +89,7 @@ def post_search_query_with_http_info(self, post_device_search_request, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param PostDeviceSearchRequest post_device_search_request: (required) - :return: InlineResponse2007 + :return: InlineResponse2008 If the method is called asynchronously, returns the request thread. """ @@ -154,7 +154,7 @@ def post_search_query_with_http_info(self, post_device_search_request, **kwargs) body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2007', + response_type='InlineResponse2008', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -177,7 +177,7 @@ def post_search_query_v3(self, post_device_search_request_v3, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param PostDeviceSearchRequestV3 post_device_search_request_v3: (required) - :return: InlineResponse2009 + :return: InlineResponse20010 If the method is called asynchronously, returns the request thread. """ @@ -206,7 +206,7 @@ def post_search_query_v3_with_http_info(self, post_device_search_request_v3, **k :param callback function: The callback function for asynchronous request. (optional) :param PostDeviceSearchRequestV3 post_device_search_request_v3: (required) - :return: InlineResponse2009 + :return: InlineResponse20010 If the method is called asynchronously, returns the request thread. """ @@ -271,7 +271,7 @@ def post_search_query_v3_with_http_info(self, post_device_search_request_v3, **k body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2009', + response_type='InlineResponse20010', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/instrument_identifier_api.py b/CyberSource/api/instrument_identifier_api.py index 6edcf064..a8c94d7f 100644 --- a/CyberSource/api/instrument_identifier_api.py +++ b/CyberSource/api/instrument_identifier_api.py @@ -552,7 +552,7 @@ def patch_instrument_identifier_with_http_info(self, instrument_identifier_id, p body_params = sdkTracker.insert_developer_id_tracker(body_params, 'patch_instrument_identifier_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "patch_instrument_identifier,patch_instrument_identifier_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) @@ -677,7 +677,7 @@ def post_instrument_identifier_with_http_info(self, post_instrument_identifier_r body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_instrument_identifier_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_instrument_identifier,post_instrument_identifier_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) @@ -807,7 +807,7 @@ def post_instrument_identifier_enrollment_with_http_info(self, instrument_identi body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_instrument_identifier_enrollment_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_instrument_identifier_enrollment,post_instrument_identifier_enrollment_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) diff --git a/CyberSource/api/manage_webhooks_api.py b/CyberSource/api/manage_webhooks_api.py index 95a2182a..c9f11816 100644 --- a/CyberSource/api/manage_webhooks_api.py +++ b/CyberSource/api/manage_webhooks_api.py @@ -304,7 +304,7 @@ def get_webhook_subscriptions_by_org(self, organization_id, **kwargs): :param str organization_id: The Organization Identifier. (required) :param str product_id: The Product Identifier. :param str event_type: The Event Type. - :return: list[InlineResponse2005] + :return: list[InlineResponse2006] If the method is called asynchronously, returns the request thread. """ @@ -335,7 +335,7 @@ def get_webhook_subscriptions_by_org_with_http_info(self, organization_id, **kwa :param str organization_id: The Organization Identifier. (required) :param str product_id: The Product Identifier. :param str event_type: The Event Type. - :return: list[InlineResponse2005] + :return: list[InlineResponse2006] If the method is called asynchronously, returns the request thread. """ @@ -407,7 +407,7 @@ def get_webhook_subscriptions_by_org_with_http_info(self, organization_id, **kwa body=body_params, post_params=form_params, files=local_var_files, - response_type='list[InlineResponse2005]', + response_type='list[InlineResponse2006]', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -552,7 +552,7 @@ def notification_subscriptions_v2_webhooks_webhook_id_patch(self, webhook_id, ** for asynchronous request. (optional) :param str webhook_id: The Webhook Identifier. (required) :param UpdateWebhook update_webhook: The webhook payload or changes to apply. - :return: InlineResponse2006 + :return: InlineResponse2007 If the method is called asynchronously, returns the request thread. """ @@ -582,7 +582,7 @@ def notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info(self, for asynchronous request. (optional) :param str webhook_id: The Webhook Identifier. (required) :param UpdateWebhook update_webhook: The webhook payload or changes to apply. - :return: InlineResponse2006 + :return: InlineResponse2007 If the method is called asynchronously, returns the request thread. """ @@ -650,7 +650,7 @@ def notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info(self, body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2006', + response_type='InlineResponse2007', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/merchant_boarding_api.py b/CyberSource/api/merchant_boarding_api.py index bf37dc9c..bb1e0c6b 100644 --- a/CyberSource/api/merchant_boarding_api.py +++ b/CyberSource/api/merchant_boarding_api.py @@ -60,7 +60,7 @@ def get_registration(self, registration_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str registration_id: Identifies the boarding registration to be updated (required) - :return: InlineResponse2003 + :return: InlineResponse2004 If the method is called asynchronously, returns the request thread. """ @@ -89,7 +89,7 @@ def get_registration_with_http_info(self, registration_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str registration_id: Identifies the boarding registration to be updated (required) - :return: InlineResponse2003 + :return: InlineResponse2004 If the method is called asynchronously, returns the request thread. """ @@ -158,7 +158,7 @@ def get_registration_with_http_info(self, registration_id, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2003', + response_type='InlineResponse2004', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/merchant_defined_fields_api.py b/CyberSource/api/merchant_defined_fields_api.py index 9412cfdf..a0788eb3 100644 --- a/CyberSource/api/merchant_defined_fields_api.py +++ b/CyberSource/api/merchant_defined_fields_api.py @@ -60,7 +60,7 @@ def create_merchant_defined_field_definition(self, reference_type, merchant_defi for asynchronous request. (optional) :param str reference_type: The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) :param MerchantDefinedFieldDefinitionRequest merchant_defined_field_definition_request: (required) - :return: list[InlineResponse2002] + :return: list[InlineResponse2003] If the method is called asynchronously, returns the request thread. """ @@ -89,7 +89,7 @@ def create_merchant_defined_field_definition_with_http_info(self, reference_type for asynchronous request. (optional) :param str reference_type: The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) :param MerchantDefinedFieldDefinitionRequest merchant_defined_field_definition_request: (required) - :return: list[InlineResponse2002] + :return: list[InlineResponse2003] If the method is called asynchronously, returns the request thread. """ @@ -161,7 +161,7 @@ def create_merchant_defined_field_definition_with_http_info(self, reference_type body=body_params, post_params=form_params, files=local_var_files, - response_type='list[InlineResponse2002]', + response_type='list[InlineResponse2003]', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -311,7 +311,7 @@ def get_merchant_defined_fields_definitions(self, reference_type, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str reference_type: The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) - :return: list[InlineResponse2002] + :return: list[InlineResponse2003] If the method is called asynchronously, returns the request thread. """ @@ -339,7 +339,7 @@ def get_merchant_defined_fields_definitions_with_http_info(self, reference_type, :param callback function: The callback function for asynchronous request. (optional) :param str reference_type: The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required) - :return: list[InlineResponse2002] + :return: list[InlineResponse2003] If the method is called asynchronously, returns the request thread. """ @@ -408,7 +408,7 @@ def get_merchant_defined_fields_definitions_with_http_info(self, reference_type, body=body_params, post_params=form_params, files=local_var_files, - response_type='list[InlineResponse2002]', + response_type='list[InlineResponse2003]', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -432,7 +432,7 @@ def put_merchant_defined_fields_definitions(self, reference_type, id, merchant_d :param str reference_type: (required) :param int id: (required) :param MerchantDefinedFieldCore merchant_defined_field_core: (required) - :return: list[InlineResponse2002] + :return: list[InlineResponse2003] If the method is called asynchronously, returns the request thread. """ @@ -462,7 +462,7 @@ def put_merchant_defined_fields_definitions_with_http_info(self, reference_type, :param str reference_type: (required) :param int id: (required) :param MerchantDefinedFieldCore merchant_defined_field_core: (required) - :return: list[InlineResponse2002] + :return: list[InlineResponse2003] If the method is called asynchronously, returns the request thread. """ @@ -541,7 +541,7 @@ def put_merchant_defined_fields_definitions_with_http_info(self, reference_type, body=body_params, post_params=form_params, files=local_var_files, - response_type='list[InlineResponse2002]', + response_type='list[InlineResponse2003]', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/offers_api.py b/CyberSource/api/offers_api.py index 7bf3ef1d..3440b437 100644 --- a/CyberSource/api/offers_api.py +++ b/CyberSource/api/offers_api.py @@ -222,7 +222,7 @@ def get_offer(self, content_type, x_requestid, v_c_merchant_id, v_c_correlation_ :param str v_c_correlation_id: (required) :param str v_c_organization_id: (required) :param str id: Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required) - :return: InlineResponse20014 + :return: InlineResponse20015 If the method is called asynchronously, returns the request thread. """ @@ -256,7 +256,7 @@ def get_offer_with_http_info(self, content_type, x_requestid, v_c_merchant_id, v :param str v_c_correlation_id: (required) :param str v_c_organization_id: (required) :param str id: Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required) - :return: InlineResponse20014 + :return: InlineResponse20015 If the method is called asynchronously, returns the request thread. """ @@ -355,7 +355,7 @@ def get_offer_with_http_info(self, content_type, x_requestid, v_c_merchant_id, v body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse20014', + response_type='InlineResponse20015', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/CyberSource/api/payment_instrument_api.py b/CyberSource/api/payment_instrument_api.py index 26356d9e..97a11a1a 100644 --- a/CyberSource/api/payment_instrument_api.py +++ b/CyberSource/api/payment_instrument_api.py @@ -415,7 +415,7 @@ def patch_payment_instrument_with_http_info(self, payment_instrument_id, patch_p body_params = sdkTracker.insert_developer_id_tracker(body_params, 'patch_payment_instrument_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "patch_payment_instrument,patch_payment_instrument_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) @@ -540,7 +540,7 @@ def post_payment_instrument_with_http_info(self, post_payment_instrument_request body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_payment_instrument_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_payment_instrument,post_payment_instrument_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) diff --git a/CyberSource/api/subscriptions_api.py b/CyberSource/api/subscriptions_api.py index 9e386347..8d417215 100644 --- a/CyberSource/api/subscriptions_api.py +++ b/CyberSource/api/subscriptions_api.py @@ -47,8 +47,8 @@ def __init__(self, merchant_config, api_client=None): def activate_subscription(self, id, **kwargs): """ - Activate a Subscription - Activate a `SUSPENDED` Subscription + Reactivating a Suspended Subscription + # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -60,7 +60,7 @@ def activate_subscription(self, id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str id: Subscription Id (required) - :param bool process_skipped_payments: Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. + :param bool process_missed_payments: Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. :return: ActivateSubscriptionResponse If the method is called asynchronously, returns the request thread. @@ -77,8 +77,8 @@ def activate_subscription(self, id, **kwargs): def activate_subscription_with_http_info(self, id, **kwargs): """ - Activate a Subscription - Activate a `SUSPENDED` Subscription + Reactivating a Suspended Subscription + # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -90,13 +90,13 @@ 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 bool process_skipped_payments: Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. + :param bool process_missed_payments: Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. :return: ActivateSubscriptionResponse If the method is called asynchronously, returns the request thread. """ - all_params = ['id', 'process_skipped_payments'] + all_params = ['id', 'process_missed_payments'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -125,8 +125,8 @@ def activate_subscription_with_http_info(self, id, **kwargs): id=id query_params = [] - if 'process_skipped_payments' in params: - query_params.append(('processSkippedPayments', params['process_skipped_payments'])) + if 'process_missed_payments' in params: + query_params.append(('processMissedPayments', params['process_missed_payments'])) header_params = {} @@ -771,7 +771,7 @@ def get_subscription_code_with_http_info(self, **kwargs): def suspend_subscription(self, id, **kwargs): """ Suspend a Subscription - Suspend a Subscription + Suspend a Subscription This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -800,7 +800,7 @@ def suspend_subscription(self, id, **kwargs): def suspend_subscription_with_http_info(self, id, **kwargs): """ Suspend a Subscription - Suspend a Subscription + Suspend a Subscription This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. diff --git a/CyberSource/api/token_api.py b/CyberSource/api/token_api.py index e504edfa..568f2d2f 100644 --- a/CyberSource/api/token_api.py +++ b/CyberSource/api/token_api.py @@ -62,7 +62,7 @@ def get_card_art_asset(self, instrument_identifier_id, token_provider, asset_typ :param str instrument_identifier_id: The Id of an Instrument Identifier. (required) :param str token_provider: The token provider. (required) :param str asset_type: The type of asset. (required) - :return: InlineResponse200 + :return: InlineResponse2001 If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_card_art_asset_with_http_info(self, instrument_identifier_id, token_prov :param str instrument_identifier_id: The Id of an Instrument Identifier. (required) :param str token_provider: The token provider. (required) :param str asset_type: The type of asset. (required) - :return: InlineResponse200 + :return: InlineResponse2001 If the method is called asynchronously, returns the request thread. """ @@ -176,7 +176,7 @@ def get_card_art_asset_with_http_info(self, instrument_identifier_id, token_prov body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse200', + response_type='InlineResponse2001', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -292,7 +292,7 @@ def post_token_payment_credentials_with_http_info(self, token_id, post_payment_c body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_payment_credentials_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_token_payment_credentials,post_token_payment_credentials_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) diff --git a/CyberSource/api/tokenize_api.py b/CyberSource/api/tokenize_api.py new file mode 100644 index 00000000..104ff1e7 --- /dev/null +++ b/CyberSource/api/tokenize_api.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..configuration import Configuration +from ..api_client import ApiClient +import CyberSource.logging.log_factory as LogFactory +from CyberSource.utilities.MultipartHelpers import MultipartHelpers +from authenticationsdk.util.MLEUtility import MLEUtility +from authenticationsdk.util.GlobalLabelParameters import GlobalLabelParameters +from authenticationsdk.util.Utility import process_body + +from ..utilities.tracking.sdk_tracker import SdkTracker +class TokenizeApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, merchant_config, api_client=None): + if api_client: + self.api_client = api_client + else: + self.api_client = ApiClient() + self.api_client.set_configuration(merchant_config) + self.logger = LogFactory.setup_logger(self.__class__.__name__, self.api_client.mconfig.log_config) + + + + def tokenize(self, post_tokenize_request, **kwargs): + """ + Tokenize + | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|      |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.
In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.tokenize(post_tokenize_request, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param PostTokenizeRequest post_tokenize_request: (required) + :param str profile_id: The Id of a profile containing user specific TMS configuration. + :return: InlineResponse200 + If the method is called asynchronously, + returns the request thread. + """ + + self.logger.info("CALL TO METHOD `tokenize` STARTED") + + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.tokenize_with_http_info(post_tokenize_request, **kwargs) + else: + (data) = self.tokenize_with_http_info(post_tokenize_request, **kwargs) + return data + + def tokenize_with_http_info(self, post_tokenize_request, **kwargs): + """ + Tokenize + | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|      |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.
In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.tokenize_with_http_info(post_tokenize_request, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param PostTokenizeRequest post_tokenize_request: (required) + :param str profile_id: The Id of a profile containing user specific TMS configuration. + :return: InlineResponse200 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['post_tokenize_request', 'profile_id'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method tokenize" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'post_tokenize_request' is set + if ('post_tokenize_request' not in params) or (params['post_tokenize_request'] is None): + self.logger.error("InvalidArgumentException : Missing the required parameter `post_tokenize_request` when calling `tokenize`") + raise ValueError("Missing the required parameter `post_tokenize_request` when calling `tokenize`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'profile_id' in params: + header_params['profile-id'] = params['profile_id'] + + form_params = [] + local_var_files = {} + + # HTTP header `Accept` + 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']) + + body_params = None + if 'post_tokenize_request' in params: + body_params = params['post_tokenize_request'] + + sdkTracker = SdkTracker() + body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_tokenize_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) + body_params = process_body(body_params) + + inbound_mle_status = "mandatory" + if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "tokenize,tokenize_with_http_info"): + body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api(f'/tms/v2/tokenize', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse200', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/CyberSource/api/tokenized_card_api.py b/CyberSource/api/tokenized_card_api.py index 01d806c5..d4113c4a 100644 --- a/CyberSource/api/tokenized_card_api.py +++ b/CyberSource/api/tokenized_card_api.py @@ -295,6 +295,140 @@ def get_tokenized_card_with_http_info(self, tokenized_card_id, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def post_issuer_life_cycle_simulation(self, profile_id, tokenized_card_id, post_issuer_life_cycle_simulation_request, **kwargs): + """ + Simulate Issuer Life Cycle Management Events + **Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.post_issuer_life_cycle_simulation(profile_id, tokenized_card_id, post_issuer_life_cycle_simulation_request, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str profile_id: The Id of a profile containing user specific TMS configuration. (required) + :param str tokenized_card_id: The Id of a tokenized card. (required) + :param PostIssuerLifeCycleSimulationRequest post_issuer_life_cycle_simulation_request: (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + self.logger.info("CALL TO METHOD `post_issuer_life_cycle_simulation` STARTED") + + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.post_issuer_life_cycle_simulation_with_http_info(profile_id, tokenized_card_id, post_issuer_life_cycle_simulation_request, **kwargs) + else: + (data) = self.post_issuer_life_cycle_simulation_with_http_info(profile_id, tokenized_card_id, post_issuer_life_cycle_simulation_request, **kwargs) + return data + + def post_issuer_life_cycle_simulation_with_http_info(self, profile_id, tokenized_card_id, post_issuer_life_cycle_simulation_request, **kwargs): + """ + Simulate Issuer Life Cycle Management Events + **Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.post_issuer_life_cycle_simulation_with_http_info(profile_id, tokenized_card_id, post_issuer_life_cycle_simulation_request, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str profile_id: The Id of a profile containing user specific TMS configuration. (required) + :param str tokenized_card_id: The Id of a tokenized card. (required) + :param PostIssuerLifeCycleSimulationRequest post_issuer_life_cycle_simulation_request: (required) + :return: None + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['profile_id', 'tokenized_card_id', 'post_issuer_life_cycle_simulation_request'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method post_issuer_life_cycle_simulation" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'profile_id' is set + if ('profile_id' not in params) or (params['profile_id'] is None): + self.logger.error("InvalidArgumentException : Missing the required parameter `profile_id` when calling `post_issuer_life_cycle_simulation`") + raise ValueError("Missing the required parameter `profile_id` when calling `post_issuer_life_cycle_simulation`") + # verify the required parameter 'tokenized_card_id' is set + if ('tokenized_card_id' not in params) or (params['tokenized_card_id'] is None): + self.logger.error("InvalidArgumentException : Missing the required parameter `tokenized_card_id` when calling `post_issuer_life_cycle_simulation`") + raise ValueError("Missing the required parameter `tokenized_card_id` when calling `post_issuer_life_cycle_simulation`") + # verify the required parameter 'post_issuer_life_cycle_simulation_request' is set + if ('post_issuer_life_cycle_simulation_request' not in params) or (params['post_issuer_life_cycle_simulation_request'] is None): + self.logger.error("InvalidArgumentException : Missing the required parameter `post_issuer_life_cycle_simulation_request` when calling `post_issuer_life_cycle_simulation`") + raise ValueError("Missing the required parameter `post_issuer_life_cycle_simulation_request` when calling `post_issuer_life_cycle_simulation`") + + + collection_formats = {} + + path_params = {} + if 'tokenized_card_id' in params: + path_params['tokenizedCardId'] = params['tokenized_card_id'] + tokenizedCardId=tokenized_card_id + + query_params = [] + + header_params = {} + if 'profile_id' in params: + header_params['profile-id'] = params['profile_id'] + + form_params = [] + local_var_files = {} + + # HTTP header `Accept` + 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']) + + body_params = None + if 'post_issuer_life_cycle_simulation_request' in params: + body_params = params['post_issuer_life_cycle_simulation_request'] + + sdkTracker = SdkTracker() + body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_issuer_life_cycle_simulation_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) + body_params = process_body(body_params) + + inbound_mle_status = "false" + if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_issuer_life_cycle_simulation,post_issuer_life_cycle_simulation_with_http_info"): + body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) + + # Authentication setting + auth_settings = [] + + return self.api_client.call_api(f'/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def post_tokenized_card(self, tokenizedcard_request, **kwargs): """ Create a Tokenized Card @@ -394,7 +528,7 @@ def post_tokenized_card_with_http_info(self, tokenizedcard_request, **kwargs): body_params = sdkTracker.insert_developer_id_tracker(body_params, 'tokenizedcard_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId) body_params = process_body(body_params) - inbound_mle_status = "false" + inbound_mle_status = "optional" if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_tokenized_card,post_tokenized_card_with_http_info"): body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params) diff --git a/CyberSource/models/__init__.py b/CyberSource/models/__init__.py index 606c1885..d2dbabcc 100644 --- a/CyberSource/models/__init__.py +++ b/CyberSource/models/__init__.py @@ -167,6 +167,7 @@ from .get_all_plans_response_plan_information_billing_period import GetAllPlansResponsePlanInformationBillingPeriod from .get_all_plans_response_plans import GetAllPlansResponsePlans from .get_all_subscriptions_response import GetAllSubscriptionsResponse +from .get_all_subscriptions_response_client_reference_information import GetAllSubscriptionsResponseClientReferenceInformation from .get_all_subscriptions_response_links import GetAllSubscriptionsResponseLinks from .get_all_subscriptions_response_order_information import GetAllSubscriptionsResponseOrderInformation from .get_all_subscriptions_response_order_information_bill_to import GetAllSubscriptionsResponseOrderInformationBillTo @@ -193,45 +194,49 @@ from .inline_response200 import InlineResponse200 from .inline_response2001 import InlineResponse2001 from .inline_response20010 import InlineResponse20010 -from .inline_response20010_embedded import InlineResponse20010Embedded -from .inline_response20010_embedded_batches import InlineResponse20010EmbeddedBatches -from .inline_response20010_embedded_links import InlineResponse20010EmbeddedLinks -from .inline_response20010_embedded_links_reports import InlineResponse20010EmbeddedLinksReports -from .inline_response20010_embedded_totals import InlineResponse20010EmbeddedTotals -from .inline_response20010_links import InlineResponse20010Links +from .inline_response20010_devices import InlineResponse20010Devices +from .inline_response20010_payment_processor_to_terminal_map import InlineResponse20010PaymentProcessorToTerminalMap from .inline_response20011 import InlineResponse20011 -from .inline_response20011_billing import InlineResponse20011Billing +from .inline_response20011_embedded import InlineResponse20011Embedded +from .inline_response20011_embedded_batches import InlineResponse20011EmbeddedBatches +from .inline_response20011_embedded_links import InlineResponse20011EmbeddedLinks +from .inline_response20011_embedded_links_reports import InlineResponse20011EmbeddedLinksReports +from .inline_response20011_embedded_totals import InlineResponse20011EmbeddedTotals from .inline_response20011_links import InlineResponse20011Links -from .inline_response20011_links_report import InlineResponse20011LinksReport from .inline_response20012 import InlineResponse20012 -from .inline_response20012_records import InlineResponse20012Records -from .inline_response20012_response_record import InlineResponse20012ResponseRecord -from .inline_response20012_response_record_additional_updates import InlineResponse20012ResponseRecordAdditionalUpdates -from .inline_response20012_source_record import InlineResponse20012SourceRecord +from .inline_response20012_billing import InlineResponse20012Billing +from .inline_response20012_links import InlineResponse20012Links +from .inline_response20012_links_report import InlineResponse20012LinksReport from .inline_response20013 import InlineResponse20013 +from .inline_response20013_records import InlineResponse20013Records +from .inline_response20013_response_record import InlineResponse20013ResponseRecord +from .inline_response20013_response_record_additional_updates import InlineResponse20013ResponseRecordAdditionalUpdates +from .inline_response20013_source_record import InlineResponse20013SourceRecord from .inline_response20014 import InlineResponse20014 -from .inline_response20014_client_reference_information import InlineResponse20014ClientReferenceInformation -from .inline_response2001_embedded import InlineResponse2001Embedded -from .inline_response2001_embedded_capture import InlineResponse2001EmbeddedCapture -from .inline_response2001_embedded_capture_links import InlineResponse2001EmbeddedCaptureLinks -from .inline_response2001_embedded_capture_links_self import InlineResponse2001EmbeddedCaptureLinksSelf -from .inline_response2001_embedded_reversal import InlineResponse2001EmbeddedReversal -from .inline_response2001_embedded_reversal_links import InlineResponse2001EmbeddedReversalLinks -from .inline_response2001_embedded_reversal_links_self import InlineResponse2001EmbeddedReversalLinksSelf +from .inline_response20015 import InlineResponse20015 +from .inline_response20015_client_reference_information import InlineResponse20015ClientReferenceInformation +from .inline_response2001_content import InlineResponse2001Content from .inline_response2002 import InlineResponse2002 +from .inline_response2002_embedded import InlineResponse2002Embedded +from .inline_response2002_embedded_capture import InlineResponse2002EmbeddedCapture +from .inline_response2002_embedded_capture_links import InlineResponse2002EmbeddedCaptureLinks +from .inline_response2002_embedded_capture_links_self import InlineResponse2002EmbeddedCaptureLinksSelf +from .inline_response2002_embedded_reversal import InlineResponse2002EmbeddedReversal +from .inline_response2002_embedded_reversal_links import InlineResponse2002EmbeddedReversalLinks +from .inline_response2002_embedded_reversal_links_self import InlineResponse2002EmbeddedReversalLinksSelf from .inline_response2003 import InlineResponse2003 -from .inline_response2003_integration_information import InlineResponse2003IntegrationInformation -from .inline_response2003_integration_information_tenant_configurations import InlineResponse2003IntegrationInformationTenantConfigurations from .inline_response2004 import InlineResponse2004 +from .inline_response2004_integration_information import InlineResponse2004IntegrationInformation +from .inline_response2004_integration_information_tenant_configurations import InlineResponse2004IntegrationInformationTenantConfigurations from .inline_response2005 import InlineResponse2005 from .inline_response2006 import InlineResponse2006 from .inline_response2007 import InlineResponse2007 -from .inline_response2007_devices import InlineResponse2007Devices from .inline_response2008 import InlineResponse2008 +from .inline_response2008_devices import InlineResponse2008Devices from .inline_response2009 import InlineResponse2009 -from .inline_response2009_devices import InlineResponse2009Devices -from .inline_response2009_payment_processor_to_terminal_map import InlineResponse2009PaymentProcessorToTerminalMap -from .inline_response200_content import InlineResponse200Content +from .inline_response200_details import InlineResponse200Details +from .inline_response200_errors import InlineResponse200Errors +from .inline_response200_responses import InlineResponse200Responses from .inline_response201 import InlineResponse201 from .inline_response2011 import InlineResponse2011 from .inline_response2012 import InlineResponse2012 @@ -523,9 +528,11 @@ from .post_device_search_request_v3 import PostDeviceSearchRequestV3 from .post_instrument_identifier_enrollment_request import PostInstrumentIdentifierEnrollmentRequest from .post_instrument_identifier_request import PostInstrumentIdentifierRequest +from .post_issuer_life_cycle_simulation_request import PostIssuerLifeCycleSimulationRequest from .post_payment_credentials_request import PostPaymentCredentialsRequest from .post_payment_instrument_request import PostPaymentInstrumentRequest from .post_registration_body import PostRegistrationBody +from .post_tokenize_request import PostTokenizeRequest from .predefined_subscription_request_bean import PredefinedSubscriptionRequestBean from .pts_v1_transaction_batches_get200_response import PtsV1TransactionBatchesGet200Response from .pts_v1_transaction_batches_get200_response_links import PtsV1TransactionBatchesGet200ResponseLinks @@ -1080,7 +1087,6 @@ from .push_funds404_response import PushFunds404Response from .push_funds502_response import PushFunds502Response from .push_funds_request import PushFundsRequest -from .rbsv1plans_client_reference_information import Rbsv1plansClientReferenceInformation from .rbsv1plans_order_information import Rbsv1plansOrderInformation from .rbsv1plans_order_information_amount_details import Rbsv1plansOrderInformationAmountDetails from .rbsv1plans_plan_information import Rbsv1plansPlanInformation @@ -1088,8 +1094,6 @@ from .rbsv1plansid_plan_information import Rbsv1plansidPlanInformation from .rbsv1plansid_processing_information import Rbsv1plansidProcessingInformation from .rbsv1plansid_processing_information_subscription_billing_options import Rbsv1plansidProcessingInformationSubscriptionBillingOptions -from .rbsv1subscriptions_client_reference_information import Rbsv1subscriptionsClientReferenceInformation -from .rbsv1subscriptions_client_reference_information_partner import Rbsv1subscriptionsClientReferenceInformationPartner from .rbsv1subscriptions_payment_information import Rbsv1subscriptionsPaymentInformation from .rbsv1subscriptions_payment_information_customer import Rbsv1subscriptionsPaymentInformationCustomer from .rbsv1subscriptions_plan_information import Rbsv1subscriptionsPlanInformation @@ -1330,6 +1334,8 @@ from .tms_embedded_instrument_identifier_point_of_sale_information import TmsEmbeddedInstrumentIdentifierPointOfSaleInformation from .tms_embedded_instrument_identifier_point_of_sale_information_emv_tags import TmsEmbeddedInstrumentIdentifierPointOfSaleInformationEmvTags from .tms_embedded_instrument_identifier_processing_information import TmsEmbeddedInstrumentIdentifierProcessingInformation +from .tms_merchant_information import TmsMerchantInformation +from .tms_merchant_information_merchant_descriptor import TmsMerchantInformationMerchantDescriptor from .tms_network_token_services import TmsNetworkTokenServices from .tms_network_token_services_american_express_token_service import TmsNetworkTokenServicesAmericanExpressTokenService from .tms_network_token_services_mastercard_digital_enablement_service import TmsNetworkTokenServicesMastercardDigitalEnablementService @@ -1350,39 +1356,44 @@ from .tmsv2_tokenized_card_metadata import Tmsv2TokenizedCardMetadata from .tmsv2_tokenized_card_metadata_issuer import Tmsv2TokenizedCardMetadataIssuer from .tmsv2_tokenized_card_passcode import Tmsv2TokenizedCardPasscode -from .tmsv2customers_buyer_information import Tmsv2customersBuyerInformation -from .tmsv2customers_client_reference_information import Tmsv2customersClientReferenceInformation -from .tmsv2customers_default_payment_instrument import Tmsv2customersDefaultPaymentInstrument -from .tmsv2customers_default_shipping_address import Tmsv2customersDefaultShippingAddress -from .tmsv2customers_embedded import Tmsv2customersEmbedded -from .tmsv2customers_embedded_default_payment_instrument import Tmsv2customersEmbeddedDefaultPaymentInstrument -from .tmsv2customers_embedded_default_payment_instrument_bank_account import Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount -from .tmsv2customers_embedded_default_payment_instrument_bill_to import Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo -from .tmsv2customers_embedded_default_payment_instrument_buyer_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation -from .tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy -from .tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification -from .tmsv2customers_embedded_default_payment_instrument_card import Tmsv2customersEmbeddedDefaultPaymentInstrumentCard -from .tmsv2customers_embedded_default_payment_instrument_card_tokenized_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation -from .tmsv2customers_embedded_default_payment_instrument_embedded import Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded -from .tmsv2customers_embedded_default_payment_instrument_instrument_identifier import Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier -from .tmsv2customers_embedded_default_payment_instrument_links import Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks -from .tmsv2customers_embedded_default_payment_instrument_links_self import Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf -from .tmsv2customers_embedded_default_payment_instrument_merchant_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation -from .tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor import Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor -from .tmsv2customers_embedded_default_payment_instrument_metadata import Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata -from .tmsv2customers_embedded_default_shipping_address import Tmsv2customersEmbeddedDefaultShippingAddress -from .tmsv2customers_embedded_default_shipping_address_links import Tmsv2customersEmbeddedDefaultShippingAddressLinks -from .tmsv2customers_embedded_default_shipping_address_links_customer import Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer -from .tmsv2customers_embedded_default_shipping_address_links_self import Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf -from .tmsv2customers_embedded_default_shipping_address_metadata import Tmsv2customersEmbeddedDefaultShippingAddressMetadata -from .tmsv2customers_embedded_default_shipping_address_ship_to import Tmsv2customersEmbeddedDefaultShippingAddressShipTo -from .tmsv2customers_links import Tmsv2customersLinks -from .tmsv2customers_links_payment_instruments import Tmsv2customersLinksPaymentInstruments -from .tmsv2customers_links_self import Tmsv2customersLinksSelf -from .tmsv2customers_links_shipping_address import Tmsv2customersLinksShippingAddress -from .tmsv2customers_merchant_defined_information import Tmsv2customersMerchantDefinedInformation -from .tmsv2customers_metadata import Tmsv2customersMetadata -from .tmsv2customers_object_information import Tmsv2customersObjectInformation +from .tmsv2tokenize_processing_information import Tmsv2tokenizeProcessingInformation +from .tmsv2tokenize_token_information import Tmsv2tokenizeTokenInformation +from .tmsv2tokenize_token_information_customer import Tmsv2tokenizeTokenInformationCustomer +from .tmsv2tokenize_token_information_customer_buyer_information import Tmsv2tokenizeTokenInformationCustomerBuyerInformation +from .tmsv2tokenize_token_information_customer_client_reference_information import Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation +from .tmsv2tokenize_token_information_customer_default_payment_instrument import Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument +from .tmsv2tokenize_token_information_customer_default_shipping_address import Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress +from .tmsv2tokenize_token_information_customer_embedded import Tmsv2tokenizeTokenInformationCustomerEmbedded +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf +from .tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata +from .tmsv2tokenize_token_information_customer_embedded_default_shipping_address import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress +from .tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks +from .tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer +from .tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf +from .tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata +from .tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo +from .tmsv2tokenize_token_information_customer_links import Tmsv2tokenizeTokenInformationCustomerLinks +from .tmsv2tokenize_token_information_customer_links_payment_instruments import Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments +from .tmsv2tokenize_token_information_customer_links_self import Tmsv2tokenizeTokenInformationCustomerLinksSelf +from .tmsv2tokenize_token_information_customer_links_shipping_address import Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress +from .tmsv2tokenize_token_information_customer_merchant_defined_information import Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation +from .tmsv2tokenize_token_information_customer_metadata import Tmsv2tokenizeTokenInformationCustomerMetadata +from .tmsv2tokenize_token_information_customer_object_information import Tmsv2tokenizeTokenInformationCustomerObjectInformation +from .tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard +from .tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata +from .tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt +from .tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset from .tmsv2tokenstoken_idpaymentcredentials_authenticated_identities import Tmsv2tokenstokenIdpaymentcredentialsAuthenticatedIdentities from .tmsv2tokenstoken_idpaymentcredentials_device_information import Tmsv2tokenstokenIdpaymentcredentialsDeviceInformation from .tmsv2tokenstoken_idpaymentcredentials_merchant_information import Tmsv2tokenstokenIdpaymentcredentialsMerchantInformation @@ -1527,18 +1538,23 @@ from .upv1capturecontexts_data_client_reference_information import Upv1capturecontextsDataClientReferenceInformation from .upv1capturecontexts_data_client_reference_information_partner import Upv1capturecontextsDataClientReferenceInformationPartner from .upv1capturecontexts_data_consumer_authentication_information import Upv1capturecontextsDataConsumerAuthenticationInformation +from .upv1capturecontexts_data_device_information import Upv1capturecontextsDataDeviceInformation from .upv1capturecontexts_data_merchant_defined_information import Upv1capturecontextsDataMerchantDefinedInformation from .upv1capturecontexts_data_merchant_information import Upv1capturecontextsDataMerchantInformation from .upv1capturecontexts_data_merchant_information_merchant_descriptor import Upv1capturecontextsDataMerchantInformationMerchantDescriptor from .upv1capturecontexts_data_order_information import Upv1capturecontextsDataOrderInformation from .upv1capturecontexts_data_order_information_amount_details import Upv1capturecontextsDataOrderInformationAmountDetails from .upv1capturecontexts_data_order_information_amount_details_surcharge import Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge +from .upv1capturecontexts_data_order_information_amount_details_tax_details import Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails from .upv1capturecontexts_data_order_information_bill_to import Upv1capturecontextsDataOrderInformationBillTo from .upv1capturecontexts_data_order_information_bill_to_company import Upv1capturecontextsDataOrderInformationBillToCompany +from .upv1capturecontexts_data_order_information_invoice_details import Upv1capturecontextsDataOrderInformationInvoiceDetails from .upv1capturecontexts_data_order_information_line_items import Upv1capturecontextsDataOrderInformationLineItems from .upv1capturecontexts_data_order_information_line_items_passenger import Upv1capturecontextsDataOrderInformationLineItemsPassenger from .upv1capturecontexts_data_order_information_line_items_tax_details import Upv1capturecontextsDataOrderInformationLineItemsTaxDetails from .upv1capturecontexts_data_order_information_ship_to import Upv1capturecontextsDataOrderInformationShipTo +from .upv1capturecontexts_data_payment_information import Upv1capturecontextsDataPaymentInformation +from .upv1capturecontexts_data_payment_information_card import Upv1capturecontextsDataPaymentInformationCard from .upv1capturecontexts_data_processing_information import Upv1capturecontextsDataProcessingInformation from .upv1capturecontexts_data_processing_information_authorization_options import Upv1capturecontextsDataProcessingInformationAuthorizationOptions from .upv1capturecontexts_data_processing_information_authorization_options_initiator import Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator diff --git a/CyberSource/models/create_plan_request.py b/CyberSource/models/create_plan_request.py index da592f2e..f62a6cb5 100644 --- a/CyberSource/models/create_plan_request.py +++ b/CyberSource/models/create_plan_request.py @@ -30,54 +30,28 @@ class CreatePlanRequest(object): and the value is json key in definition. """ swagger_types = { - 'client_reference_information': 'Rbsv1plansClientReferenceInformation', 'plan_information': 'Rbsv1plansPlanInformation', 'order_information': 'Rbsv1plansOrderInformation' } attribute_map = { - 'client_reference_information': 'clientReferenceInformation', 'plan_information': 'planInformation', 'order_information': 'orderInformation' } - def __init__(self, client_reference_information=None, plan_information=None, order_information=None): + def __init__(self, plan_information=None, order_information=None): """ CreatePlanRequest - a model defined in Swagger """ - self._client_reference_information = None self._plan_information = None self._order_information = None - if client_reference_information is not None: - self.client_reference_information = client_reference_information if plan_information is not None: self.plan_information = plan_information if order_information is not None: self.order_information = order_information - @property - def client_reference_information(self): - """ - Gets the client_reference_information of this CreatePlanRequest. - - :return: The client_reference_information of this CreatePlanRequest. - :rtype: Rbsv1plansClientReferenceInformation - """ - return self._client_reference_information - - @client_reference_information.setter - def client_reference_information(self, client_reference_information): - """ - Sets the client_reference_information of this CreatePlanRequest. - - :param client_reference_information: The client_reference_information of this CreatePlanRequest. - :type: Rbsv1plansClientReferenceInformation - """ - - self._client_reference_information = client_reference_information - @property def plan_information(self): """ diff --git a/CyberSource/models/create_subscription_request.py b/CyberSource/models/create_subscription_request.py index be7dd369..f409f94e 100644 --- a/CyberSource/models/create_subscription_request.py +++ b/CyberSource/models/create_subscription_request.py @@ -30,7 +30,7 @@ class CreateSubscriptionRequest(object): and the value is json key in definition. """ swagger_types = { - 'client_reference_information': 'Rbsv1subscriptionsClientReferenceInformation', + 'client_reference_information': 'GetAllSubscriptionsResponseClientReferenceInformation', 'processing_information': 'Rbsv1subscriptionsProcessingInformation', 'plan_information': 'Rbsv1subscriptionsPlanInformation', 'subscription_information': 'Rbsv1subscriptionsSubscriptionInformation', @@ -78,7 +78,7 @@ def client_reference_information(self): Gets the client_reference_information of this CreateSubscriptionRequest. :return: The client_reference_information of this CreateSubscriptionRequest. - :rtype: Rbsv1subscriptionsClientReferenceInformation + :rtype: GetAllSubscriptionsResponseClientReferenceInformation """ return self._client_reference_information @@ -88,7 +88,7 @@ def client_reference_information(self, client_reference_information): Sets the client_reference_information of this CreateSubscriptionRequest. :param client_reference_information: The client_reference_information of this CreateSubscriptionRequest. - :type: Rbsv1subscriptionsClientReferenceInformation + :type: GetAllSubscriptionsResponseClientReferenceInformation """ self._client_reference_information = client_reference_information diff --git a/CyberSource/models/create_subscription_request1.py b/CyberSource/models/create_subscription_request1.py index 4ede83a3..7ed01fd7 100644 --- a/CyberSource/models/create_subscription_request1.py +++ b/CyberSource/models/create_subscription_request1.py @@ -30,7 +30,7 @@ class CreateSubscriptionRequest1(object): and the value is json key in definition. """ swagger_types = { - 'client_reference_information': 'Rbsv1subscriptionsClientReferenceInformation', + 'client_reference_information': 'GetAllSubscriptionsResponseClientReferenceInformation', 'processing_information': 'Rbsv1subscriptionsProcessingInformation', 'plan_information': 'Rbsv1subscriptionsPlanInformation', 'subscription_information': 'Rbsv1subscriptionsSubscriptionInformation', @@ -73,7 +73,7 @@ def client_reference_information(self): Gets the client_reference_information of this CreateSubscriptionRequest1. :return: The client_reference_information of this CreateSubscriptionRequest1. - :rtype: Rbsv1subscriptionsClientReferenceInformation + :rtype: GetAllSubscriptionsResponseClientReferenceInformation """ return self._client_reference_information @@ -83,7 +83,7 @@ def client_reference_information(self, client_reference_information): Sets the client_reference_information of this CreateSubscriptionRequest1. :param client_reference_information: The client_reference_information of this CreateSubscriptionRequest1. - :type: Rbsv1subscriptionsClientReferenceInformation + :type: GetAllSubscriptionsResponseClientReferenceInformation """ self._client_reference_information = client_reference_information diff --git a/CyberSource/models/create_subscription_response.py b/CyberSource/models/create_subscription_response.py index e183de5d..973e4e97 100644 --- a/CyberSource/models/create_subscription_response.py +++ b/CyberSource/models/create_subscription_response.py @@ -34,7 +34,8 @@ class CreateSubscriptionResponse(object): 'id': 'str', 'submit_time_utc': 'str', 'status': 'str', - 'subscription_information': 'CreateSubscriptionResponseSubscriptionInformation' + 'subscription_information': 'CreateSubscriptionResponseSubscriptionInformation', + 'client_reference_information': 'GetAllSubscriptionsResponseClientReferenceInformation' } attribute_map = { @@ -42,10 +43,11 @@ class CreateSubscriptionResponse(object): 'id': 'id', 'submit_time_utc': 'submitTimeUtc', 'status': 'status', - 'subscription_information': 'subscriptionInformation' + 'subscription_information': 'subscriptionInformation', + 'client_reference_information': 'clientReferenceInformation' } - def __init__(self, links=None, id=None, submit_time_utc=None, status=None, subscription_information=None): + def __init__(self, links=None, id=None, submit_time_utc=None, status=None, subscription_information=None, client_reference_information=None): """ CreateSubscriptionResponse - a model defined in Swagger """ @@ -55,6 +57,7 @@ def __init__(self, links=None, id=None, submit_time_utc=None, status=None, subsc self._submit_time_utc = None self._status = None self._subscription_information = None + self._client_reference_information = None if links is not None: self.links = links @@ -66,6 +69,8 @@ def __init__(self, links=None, id=None, submit_time_utc=None, status=None, subsc self.status = status if subscription_information is not None: self.subscription_information = subscription_information + if client_reference_information is not None: + self.client_reference_information = client_reference_information @property def links(self): @@ -178,6 +183,27 @@ def subscription_information(self, subscription_information): self._subscription_information = subscription_information + @property + def client_reference_information(self): + """ + Gets the client_reference_information of this CreateSubscriptionResponse. + + :return: The client_reference_information of this CreateSubscriptionResponse. + :rtype: GetAllSubscriptionsResponseClientReferenceInformation + """ + return self._client_reference_information + + @client_reference_information.setter + def client_reference_information(self, client_reference_information): + """ + Sets the client_reference_information of this CreateSubscriptionResponse. + + :param client_reference_information: The client_reference_information of this CreateSubscriptionResponse. + :type: GetAllSubscriptionsResponseClientReferenceInformation + """ + + self._client_reference_information = client_reference_information + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/generate_unified_checkout_capture_context_request.py b/CyberSource/models/generate_unified_checkout_capture_context_request.py index 1f831086..d2a764f2 100644 --- a/CyberSource/models/generate_unified_checkout_capture_context_request.py +++ b/CyberSource/models/generate_unified_checkout_capture_context_request.py @@ -36,6 +36,7 @@ class GenerateUnifiedCheckoutCaptureContextRequest(object): 'allowed_payment_types': 'list[str]', 'country': 'str', 'locale': 'str', + 'button_type': 'str', 'capture_mandate': 'Upv1capturecontextsCaptureMandate', 'complete_mandate': 'Upv1capturecontextsCompleteMandate', 'transient_token_response_options': 'Microformv2sessionsTransientTokenResponseOptions', @@ -50,6 +51,7 @@ class GenerateUnifiedCheckoutCaptureContextRequest(object): 'allowed_payment_types': 'allowedPaymentTypes', 'country': 'country', 'locale': 'locale', + 'button_type': 'buttonType', 'capture_mandate': 'captureMandate', 'complete_mandate': 'completeMandate', 'transient_token_response_options': 'transientTokenResponseOptions', @@ -57,7 +59,7 @@ class GenerateUnifiedCheckoutCaptureContextRequest(object): 'order_information': 'orderInformation' } - def __init__(self, client_version=None, target_origins=None, allowed_card_networks=None, allowed_payment_types=None, country=None, locale=None, capture_mandate=None, complete_mandate=None, transient_token_response_options=None, data=None, order_information=None): + def __init__(self, client_version=None, target_origins=None, allowed_card_networks=None, allowed_payment_types=None, country=None, locale=None, button_type=None, capture_mandate=None, complete_mandate=None, transient_token_response_options=None, data=None, order_information=None): """ GenerateUnifiedCheckoutCaptureContextRequest - a model defined in Swagger """ @@ -68,6 +70,7 @@ def __init__(self, client_version=None, target_origins=None, allowed_card_networ self._allowed_payment_types = None self._country = None self._locale = None + self._button_type = None self._capture_mandate = None self._complete_mandate = None self._transient_token_response_options = None @@ -86,6 +89,8 @@ def __init__(self, client_version=None, target_origins=None, allowed_card_networ self.country = country if locale is not None: self.locale = locale + if button_type is not None: + self.button_type = button_type if capture_mandate is not None: self.capture_mandate = capture_mandate if complete_mandate is not None: @@ -170,7 +175,7 @@ def allowed_card_networks(self, allowed_card_networks): def allowed_payment_types(self): """ Gets the allowed_payment_types of this GenerateUnifiedCheckoutCaptureContextRequest. - The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE

Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY

Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY

**Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

**Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

**Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa

If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. + The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE

Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY

Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)

Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)

Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY

**Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

**Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

**Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa

If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. :return: The allowed_payment_types of this GenerateUnifiedCheckoutCaptureContextRequest. :rtype: list[str] @@ -181,7 +186,7 @@ def allowed_payment_types(self): def allowed_payment_types(self, allowed_payment_types): """ Sets the allowed_payment_types of this GenerateUnifiedCheckoutCaptureContextRequest. - The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE

Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY

Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY

**Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

**Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

**Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa

If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. + The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE

Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY

Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)

Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)

Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY

**Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

**Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

**Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa

If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. :param allowed_payment_types: The allowed_payment_types of this GenerateUnifiedCheckoutCaptureContextRequest. :type: list[str] @@ -235,6 +240,29 @@ def locale(self, locale): self._locale = locale + @property + def button_type(self): + """ + Gets the button_type of this GenerateUnifiedCheckoutCaptureContextRequest. + Changes the label on the payment button within Unified Checkout .

Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD

This is an optional field, + + :return: The button_type of this GenerateUnifiedCheckoutCaptureContextRequest. + :rtype: str + """ + return self._button_type + + @button_type.setter + def button_type(self, button_type): + """ + Sets the button_type of this GenerateUnifiedCheckoutCaptureContextRequest. + Changes the label on the payment button within Unified Checkout .

Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD

This is an optional field, + + :param button_type: The button_type of this GenerateUnifiedCheckoutCaptureContextRequest. + :type: str + """ + + self._button_type = button_type + @property def capture_mandate(self): """ diff --git a/CyberSource/models/get_all_subscriptions_response_client_reference_information.py b/CyberSource/models/get_all_subscriptions_response_client_reference_information.py new file mode 100644 index 00000000..1d4d6f68 --- /dev/null +++ b/CyberSource/models/get_all_subscriptions_response_client_reference_information.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class GetAllSubscriptionsResponseClientReferenceInformation(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'code': 'str' + } + + attribute_map = { + 'code': 'code' + } + + def __init__(self, code=None): + """ + GetAllSubscriptionsResponseClientReferenceInformation - a model defined in Swagger + """ + + self._code = None + + if code is not None: + self.code = code + + @property + def code(self): + """ + Gets the code of this GetAllSubscriptionsResponseClientReferenceInformation. + Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. + + :return: The code of this GetAllSubscriptionsResponseClientReferenceInformation. + :rtype: str + """ + return self._code + + @code.setter + def code(self, code): + """ + Sets the code of this GetAllSubscriptionsResponseClientReferenceInformation. + Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. + + :param code: The code of this GetAllSubscriptionsResponseClientReferenceInformation. + :type: str + """ + + self._code = code + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, GetAllSubscriptionsResponseClientReferenceInformation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/get_all_subscriptions_response_subscriptions.py b/CyberSource/models/get_all_subscriptions_response_subscriptions.py index 7a26c8b9..aeabfc50 100644 --- a/CyberSource/models/get_all_subscriptions_response_subscriptions.py +++ b/CyberSource/models/get_all_subscriptions_response_subscriptions.py @@ -34,6 +34,7 @@ class GetAllSubscriptionsResponseSubscriptions(object): 'id': 'str', 'plan_information': 'GetAllSubscriptionsResponsePlanInformation', 'subscription_information': 'GetAllSubscriptionsResponseSubscriptionInformation', + 'client_reference_information': 'GetAllSubscriptionsResponseClientReferenceInformation', 'payment_information': 'GetAllSubscriptionsResponsePaymentInformation', 'order_information': 'GetAllSubscriptionsResponseOrderInformation' } @@ -43,11 +44,12 @@ class GetAllSubscriptionsResponseSubscriptions(object): 'id': 'id', 'plan_information': 'planInformation', 'subscription_information': 'subscriptionInformation', + 'client_reference_information': 'clientReferenceInformation', 'payment_information': 'paymentInformation', 'order_information': 'orderInformation' } - def __init__(self, links=None, id=None, plan_information=None, subscription_information=None, payment_information=None, order_information=None): + def __init__(self, links=None, id=None, plan_information=None, subscription_information=None, client_reference_information=None, payment_information=None, order_information=None): """ GetAllSubscriptionsResponseSubscriptions - a model defined in Swagger """ @@ -56,6 +58,7 @@ def __init__(self, links=None, id=None, plan_information=None, subscription_info self._id = None self._plan_information = None self._subscription_information = None + self._client_reference_information = None self._payment_information = None self._order_information = None @@ -67,6 +70,8 @@ def __init__(self, links=None, id=None, plan_information=None, subscription_info self.plan_information = plan_information if subscription_information is not None: self.subscription_information = subscription_information + if client_reference_information is not None: + self.client_reference_information = client_reference_information if payment_information is not None: self.payment_information = payment_information if order_information is not None: @@ -158,6 +163,27 @@ def subscription_information(self, subscription_information): self._subscription_information = subscription_information + @property + def client_reference_information(self): + """ + Gets the client_reference_information of this GetAllSubscriptionsResponseSubscriptions. + + :return: The client_reference_information of this GetAllSubscriptionsResponseSubscriptions. + :rtype: GetAllSubscriptionsResponseClientReferenceInformation + """ + return self._client_reference_information + + @client_reference_information.setter + def client_reference_information(self, client_reference_information): + """ + Sets the client_reference_information of this GetAllSubscriptionsResponseSubscriptions. + + :param client_reference_information: The client_reference_information of this GetAllSubscriptionsResponseSubscriptions. + :type: GetAllSubscriptionsResponseClientReferenceInformation + """ + + self._client_reference_information = client_reference_information + @property def payment_information(self): """ diff --git a/CyberSource/models/get_subscription_response.py b/CyberSource/models/get_subscription_response.py index f685e5a1..803c0c49 100644 --- a/CyberSource/models/get_subscription_response.py +++ b/CyberSource/models/get_subscription_response.py @@ -37,6 +37,7 @@ class GetSubscriptionResponse(object): 'subscription_information': 'GetAllSubscriptionsResponseSubscriptionInformation', 'payment_information': 'GetAllSubscriptionsResponsePaymentInformation', 'order_information': 'GetAllSubscriptionsResponseOrderInformation', + 'client_reference_information': 'GetAllSubscriptionsResponseClientReferenceInformation', 'reactivation_information': 'GetSubscriptionResponseReactivationInformation' } @@ -48,10 +49,11 @@ class GetSubscriptionResponse(object): 'subscription_information': 'subscriptionInformation', 'payment_information': 'paymentInformation', 'order_information': 'orderInformation', + 'client_reference_information': 'clientReferenceInformation', 'reactivation_information': 'reactivationInformation' } - def __init__(self, links=None, id=None, submit_time_utc=None, plan_information=None, subscription_information=None, payment_information=None, order_information=None, reactivation_information=None): + def __init__(self, links=None, id=None, submit_time_utc=None, plan_information=None, subscription_information=None, payment_information=None, order_information=None, client_reference_information=None, reactivation_information=None): """ GetSubscriptionResponse - a model defined in Swagger """ @@ -63,6 +65,7 @@ def __init__(self, links=None, id=None, submit_time_utc=None, plan_information=N self._subscription_information = None self._payment_information = None self._order_information = None + self._client_reference_information = None self._reactivation_information = None if links is not None: @@ -79,6 +82,8 @@ def __init__(self, links=None, id=None, submit_time_utc=None, plan_information=N self.payment_information = payment_information if order_information is not None: self.order_information = order_information + if client_reference_information is not None: + self.client_reference_information = client_reference_information if reactivation_information is not None: self.reactivation_information = reactivation_information @@ -233,6 +238,27 @@ def order_information(self, order_information): self._order_information = order_information + @property + def client_reference_information(self): + """ + Gets the client_reference_information of this GetSubscriptionResponse. + + :return: The client_reference_information of this GetSubscriptionResponse. + :rtype: GetAllSubscriptionsResponseClientReferenceInformation + """ + return self._client_reference_information + + @client_reference_information.setter + def client_reference_information(self, client_reference_information): + """ + Sets the client_reference_information of this GetSubscriptionResponse. + + :param client_reference_information: The client_reference_information of this GetSubscriptionResponse. + :type: GetAllSubscriptionsResponseClientReferenceInformation + """ + + self._client_reference_information = client_reference_information + @property def reactivation_information(self): """ diff --git a/CyberSource/models/get_subscription_response1_payment_instrument.py b/CyberSource/models/get_subscription_response1_payment_instrument.py index f6fcb0a0..6657b05d 100644 --- a/CyberSource/models/get_subscription_response1_payment_instrument.py +++ b/CyberSource/models/get_subscription_response1_payment_instrument.py @@ -33,7 +33,7 @@ class GetSubscriptionResponse1PaymentInstrument(object): 'id': 'str', 'bank_account': 'GetSubscriptionResponse1PaymentInstrumentBankAccount', 'card': 'GetSubscriptionResponse1PaymentInstrumentCard', - 'bill_to': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo', + 'bill_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo', 'buyer_information': 'GetSubscriptionResponse1PaymentInstrumentBuyerInformation' } @@ -138,7 +138,7 @@ def bill_to(self): Gets the bill_to of this GetSubscriptionResponse1PaymentInstrument. :return: The bill_to of this GetSubscriptionResponse1PaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ return self._bill_to @@ -148,7 +148,7 @@ def bill_to(self, bill_to): Sets the bill_to of this GetSubscriptionResponse1PaymentInstrument. :param bill_to: The bill_to of this GetSubscriptionResponse1PaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ self._bill_to = bill_to diff --git a/CyberSource/models/get_subscription_response1_payment_instrument_buyer_information.py b/CyberSource/models/get_subscription_response1_payment_instrument_buyer_information.py index 12bb69f7..e743ac67 100644 --- a/CyberSource/models/get_subscription_response1_payment_instrument_buyer_information.py +++ b/CyberSource/models/get_subscription_response1_payment_instrument_buyer_information.py @@ -33,7 +33,7 @@ class GetSubscriptionResponse1PaymentInstrumentBuyerInformation(object): 'company_tax_id': 'str', 'currency': 'str', 'date_of_birth': 'date', - 'personal_identification': 'list[Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification]' + 'personal_identification': 'list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification]' } attribute_map = { @@ -137,7 +137,7 @@ def personal_identification(self): Gets the personal_identification of this GetSubscriptionResponse1PaymentInstrumentBuyerInformation. :return: The personal_identification of this GetSubscriptionResponse1PaymentInstrumentBuyerInformation. - :rtype: list[Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification] + :rtype: list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification] """ return self._personal_identification @@ -147,7 +147,7 @@ def personal_identification(self, personal_identification): Sets the personal_identification of this GetSubscriptionResponse1PaymentInstrumentBuyerInformation. :param personal_identification: The personal_identification of this GetSubscriptionResponse1PaymentInstrumentBuyerInformation. - :type: list[Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification] + :type: list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification] """ self._personal_identification = personal_identification diff --git a/CyberSource/models/get_subscription_response1_shipping_address.py b/CyberSource/models/get_subscription_response1_shipping_address.py index 6bf5b4c8..a968a137 100644 --- a/CyberSource/models/get_subscription_response1_shipping_address.py +++ b/CyberSource/models/get_subscription_response1_shipping_address.py @@ -31,7 +31,7 @@ class GetSubscriptionResponse1ShippingAddress(object): """ swagger_types = { 'id': 'str', - 'ship_to': 'Tmsv2customersEmbeddedDefaultShippingAddressShipTo' + 'ship_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo' } attribute_map = { @@ -81,7 +81,7 @@ def ship_to(self): Gets the ship_to of this GetSubscriptionResponse1ShippingAddress. :return: The ship_to of this GetSubscriptionResponse1ShippingAddress. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressShipTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo """ return self._ship_to @@ -91,7 +91,7 @@ def ship_to(self, ship_to): Sets the ship_to of this GetSubscriptionResponse1ShippingAddress. :param ship_to: The ship_to of this GetSubscriptionResponse1ShippingAddress. - :type: Tmsv2customersEmbeddedDefaultShippingAddressShipTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo """ self._ship_to = ship_to diff --git a/CyberSource/models/get_subscription_response_reactivation_information.py b/CyberSource/models/get_subscription_response_reactivation_information.py index 653136db..afbe2e02 100644 --- a/CyberSource/models/get_subscription_response_reactivation_information.py +++ b/CyberSource/models/get_subscription_response_reactivation_information.py @@ -30,73 +30,73 @@ class GetSubscriptionResponseReactivationInformation(object): and the value is json key in definition. """ swagger_types = { - 'skipped_payments_count': 'str', - 'skipped_payments_total_amount': 'str' + 'missed_payments_count': 'str', + 'missed_payments_total_amount': 'str' } attribute_map = { - 'skipped_payments_count': 'skippedPaymentsCount', - 'skipped_payments_total_amount': 'skippedPaymentsTotalAmount' + 'missed_payments_count': 'missedPaymentsCount', + 'missed_payments_total_amount': 'missedPaymentsTotalAmount' } - def __init__(self, skipped_payments_count=None, skipped_payments_total_amount=None): + def __init__(self, missed_payments_count=None, missed_payments_total_amount=None): """ GetSubscriptionResponseReactivationInformation - a model defined in Swagger """ - self._skipped_payments_count = None - self._skipped_payments_total_amount = None + self._missed_payments_count = None + self._missed_payments_total_amount = None - if skipped_payments_count is not None: - self.skipped_payments_count = skipped_payments_count - if skipped_payments_total_amount is not None: - self.skipped_payments_total_amount = skipped_payments_total_amount + if missed_payments_count is not None: + self.missed_payments_count = missed_payments_count + if missed_payments_total_amount is not None: + self.missed_payments_total_amount = missed_payments_total_amount @property - def skipped_payments_count(self): + def missed_payments_count(self): """ - Gets the skipped_payments_count of this GetSubscriptionResponseReactivationInformation. + Gets the missed_payments_count of this GetSubscriptionResponseReactivationInformation. Number of payments that should have occurred while the subscription was in a suspended status. - :return: The skipped_payments_count of this GetSubscriptionResponseReactivationInformation. + :return: The missed_payments_count of this GetSubscriptionResponseReactivationInformation. :rtype: str """ - return self._skipped_payments_count + return self._missed_payments_count - @skipped_payments_count.setter - def skipped_payments_count(self, skipped_payments_count): + @missed_payments_count.setter + def missed_payments_count(self, missed_payments_count): """ - Sets the skipped_payments_count of this GetSubscriptionResponseReactivationInformation. + Sets the missed_payments_count of this GetSubscriptionResponseReactivationInformation. Number of payments that should have occurred while the subscription was in a suspended status. - :param skipped_payments_count: The skipped_payments_count of this GetSubscriptionResponseReactivationInformation. + :param missed_payments_count: The missed_payments_count of this GetSubscriptionResponseReactivationInformation. :type: str """ - self._skipped_payments_count = skipped_payments_count + self._missed_payments_count = missed_payments_count @property - def skipped_payments_total_amount(self): + def missed_payments_total_amount(self): """ - Gets the skipped_payments_total_amount of this GetSubscriptionResponseReactivationInformation. - Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. + Gets the missed_payments_total_amount of this GetSubscriptionResponseReactivationInformation. + Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. - :return: The skipped_payments_total_amount of this GetSubscriptionResponseReactivationInformation. + :return: The missed_payments_total_amount of this GetSubscriptionResponseReactivationInformation. :rtype: str """ - return self._skipped_payments_total_amount + return self._missed_payments_total_amount - @skipped_payments_total_amount.setter - def skipped_payments_total_amount(self, skipped_payments_total_amount): + @missed_payments_total_amount.setter + def missed_payments_total_amount(self, missed_payments_total_amount): """ - Sets the skipped_payments_total_amount of this GetSubscriptionResponseReactivationInformation. - Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. + Sets the missed_payments_total_amount of this GetSubscriptionResponseReactivationInformation. + Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. - :param skipped_payments_total_amount: The skipped_payments_total_amount of this GetSubscriptionResponseReactivationInformation. + :param missed_payments_total_amount: The missed_payments_total_amount of this GetSubscriptionResponseReactivationInformation. :type: str """ - self._skipped_payments_total_amount = skipped_payments_total_amount + self._missed_payments_total_amount = missed_payments_total_amount def to_dict(self): """ diff --git a/CyberSource/models/inline_response200.py b/CyberSource/models/inline_response200.py index 6f120e0b..c532d3ae 100644 --- a/CyberSource/models/inline_response200.py +++ b/CyberSource/models/inline_response200.py @@ -30,129 +30,43 @@ class InlineResponse200(object): and the value is json key in definition. """ swagger_types = { - 'id': 'str', - 'type': 'str', - 'provider': 'str', - 'content': 'list[InlineResponse200Content]' + 'responses': 'list[InlineResponse200Responses]' } attribute_map = { - 'id': 'id', - 'type': 'type', - 'provider': 'provider', - 'content': 'content' + 'responses': 'responses' } - def __init__(self, id=None, type=None, provider=None, content=None): + def __init__(self, responses=None): """ InlineResponse200 - a model defined in Swagger """ - self._id = None - self._type = None - self._provider = None - self._content = None + self._responses = None - if id is not None: - self.id = id - if type is not None: - self.type = type - if provider is not None: - self.provider = provider - if content is not None: - self.content = content + if responses is not None: + self.responses = responses @property - def id(self): + def responses(self): """ - Gets the id of this InlineResponse200. - Unique identifier for the Card Art Asset. + Gets the responses of this InlineResponse200. - :return: The id of this InlineResponse200. - :rtype: str + :return: The responses of this InlineResponse200. + :rtype: list[InlineResponse200Responses] """ - return self._id + return self._responses - @id.setter - def id(self, id): + @responses.setter + def responses(self, responses): """ - Sets the id of this InlineResponse200. - Unique identifier for the Card Art Asset. + Sets the responses of this InlineResponse200. - :param id: The id of this InlineResponse200. - :type: str + :param responses: The responses of this InlineResponse200. + :type: list[InlineResponse200Responses] """ - self._id = id - - @property - def type(self): - """ - Gets the type of this InlineResponse200. - The type of Card Art Asset. - - :return: The type of this InlineResponse200. - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """ - Sets the type of this InlineResponse200. - The type of Card Art Asset. - - :param type: The type of this InlineResponse200. - :type: str - """ - - self._type = type - - @property - def provider(self): - """ - Gets the provider of this InlineResponse200. - The provider of the Card Art Asset. - - :return: The provider of this InlineResponse200. - :rtype: str - """ - return self._provider - - @provider.setter - def provider(self, provider): - """ - Sets the provider of this InlineResponse200. - The provider of the Card Art Asset. - - :param provider: The provider of this InlineResponse200. - :type: str - """ - - self._provider = provider - - @property - def content(self): - """ - Gets the content of this InlineResponse200. - Array of content objects representing the Card Art Asset. - - :return: The content of this InlineResponse200. - :rtype: list[InlineResponse200Content] - """ - return self._content - - @content.setter - def content(self, content): - """ - Sets the content of this InlineResponse200. - Array of content objects representing the Card Art Asset. - - :param content: The content of this InlineResponse200. - :type: list[InlineResponse200Content] - """ - - self._content = content + self._responses = responses def to_dict(self): """ diff --git a/CyberSource/models/inline_response2001.py b/CyberSource/models/inline_response2001.py index 99cc82de..b9f091ea 100644 --- a/CyberSource/models/inline_response2001.py +++ b/CyberSource/models/inline_response2001.py @@ -31,42 +31,42 @@ class InlineResponse2001(object): """ swagger_types = { 'id': 'str', - 'submit_time_utc': 'str', - 'status': 'str', - 'embedded': 'InlineResponse2001Embedded' + 'type': 'str', + 'provider': 'str', + 'content': 'list[InlineResponse2001Content]' } attribute_map = { 'id': 'id', - 'submit_time_utc': 'submitTimeUtc', - 'status': 'status', - 'embedded': '_embedded' + 'type': 'type', + 'provider': 'provider', + 'content': 'content' } - def __init__(self, id=None, submit_time_utc=None, status=None, embedded=None): + def __init__(self, id=None, type=None, provider=None, content=None): """ InlineResponse2001 - a model defined in Swagger """ self._id = None - self._submit_time_utc = None - self._status = None - self._embedded = None + self._type = None + self._provider = None + self._content = None if id is not None: self.id = id - if submit_time_utc is not None: - self.submit_time_utc = submit_time_utc - if status is not None: - self.status = status - if embedded is not None: - self.embedded = embedded + if type is not None: + self.type = type + if provider is not None: + self.provider = provider + if content is not None: + self.content = content @property def id(self): """ Gets the id of this InlineResponse2001. - UUID uniquely generated for this comments. + Unique identifier for the Card Art Asset. :return: The id of this InlineResponse2001. :rtype: str @@ -77,7 +77,7 @@ def id(self): def id(self, id): """ Sets the id of this InlineResponse2001. - UUID uniquely generated for this comments. + Unique identifier for the Card Art Asset. :param id: The id of this InlineResponse2001. :type: str @@ -86,71 +86,73 @@ def id(self, id): self._id = id @property - def submit_time_utc(self): + def type(self): """ - Gets the submit_time_utc of this InlineResponse2001. - Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. + Gets the type of this InlineResponse2001. + The type of Card Art Asset. - :return: The submit_time_utc of this InlineResponse2001. + :return: The type of this InlineResponse2001. :rtype: str """ - return self._submit_time_utc + return self._type - @submit_time_utc.setter - def submit_time_utc(self, submit_time_utc): + @type.setter + def type(self, type): """ - Sets the submit_time_utc of this InlineResponse2001. - Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. + Sets the type of this InlineResponse2001. + The type of Card Art Asset. - :param submit_time_utc: The submit_time_utc of this InlineResponse2001. + :param type: The type of this InlineResponse2001. :type: str """ - self._submit_time_utc = submit_time_utc + self._type = type @property - def status(self): + def provider(self): """ - Gets the status of this InlineResponse2001. - The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` + Gets the provider of this InlineResponse2001. + The provider of the Card Art Asset. - :return: The status of this InlineResponse2001. + :return: The provider of this InlineResponse2001. :rtype: str """ - return self._status + return self._provider - @status.setter - def status(self, status): + @provider.setter + def provider(self, provider): """ - Sets the status of this InlineResponse2001. - The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` + Sets the provider of this InlineResponse2001. + The provider of the Card Art Asset. - :param status: The status of this InlineResponse2001. + :param provider: The provider of this InlineResponse2001. :type: str """ - self._status = status + self._provider = provider @property - def embedded(self): + def content(self): """ - Gets the embedded of this InlineResponse2001. + Gets the content of this InlineResponse2001. + Array of content objects representing the Card Art Asset. - :return: The embedded of this InlineResponse2001. - :rtype: InlineResponse2001Embedded + :return: The content of this InlineResponse2001. + :rtype: list[InlineResponse2001Content] """ - return self._embedded + return self._content - @embedded.setter - def embedded(self, embedded): + @content.setter + def content(self, content): """ - Sets the embedded of this InlineResponse2001. + Sets the content of this InlineResponse2001. + Array of content objects representing the Card Art Asset. - :param embedded: The embedded of this InlineResponse2001. - :type: InlineResponse2001Embedded + :param content: The content of this InlineResponse2001. + :type: list[InlineResponse2001Content] """ - self._embedded = embedded + self._content = content def to_dict(self): """ diff --git a/CyberSource/models/inline_response20010.py b/CyberSource/models/inline_response20010.py index b95bf64a..b33f38eb 100644 --- a/CyberSource/models/inline_response20010.py +++ b/CyberSource/models/inline_response20010.py @@ -30,99 +30,76 @@ class InlineResponse20010(object): and the value is json key in definition. """ swagger_types = { - 'links': 'list[InlineResponse20010Links]', - 'object': 'str', + 'total_count': 'int', 'offset': 'int', 'limit': 'int', + 'sort': 'str', 'count': 'int', - 'total': 'int', - 'embedded': 'InlineResponse20010Embedded' + 'devices': 'list[InlineResponse20010Devices]' } attribute_map = { - 'links': '_links', - 'object': 'object', + 'total_count': 'totalCount', 'offset': 'offset', 'limit': 'limit', + 'sort': 'sort', 'count': 'count', - 'total': 'total', - 'embedded': '_embedded' + 'devices': 'devices' } - def __init__(self, links=None, object=None, offset=None, limit=None, count=None, total=None, embedded=None): + def __init__(self, total_count=None, offset=None, limit=None, sort=None, count=None, devices=None): """ InlineResponse20010 - a model defined in Swagger """ - self._links = None - self._object = None + self._total_count = None self._offset = None self._limit = None + self._sort = None self._count = None - self._total = None - self._embedded = None + self._devices = None - if links is not None: - self.links = links - if object is not None: - self.object = object + if total_count is not None: + self.total_count = total_count if offset is not None: self.offset = offset if limit is not None: self.limit = limit + if sort is not None: + self.sort = sort if count is not None: self.count = count - if total is not None: - self.total = total - if embedded is not None: - self.embedded = embedded + if devices is not None: + self.devices = devices @property - def links(self): + def total_count(self): """ - Gets the links of this InlineResponse20010. + Gets the total_count of this InlineResponse20010. + Total number of results. - :return: The links of this InlineResponse20010. - :rtype: list[InlineResponse20010Links] - """ - return self._links - - @links.setter - def links(self, links): - """ - Sets the links of this InlineResponse20010. - - :param links: The links of this InlineResponse20010. - :type: list[InlineResponse20010Links] - """ - - self._links = links - - @property - def object(self): - """ - Gets the object of this InlineResponse20010. - - :return: The object of this InlineResponse20010. - :rtype: str + :return: The total_count of this InlineResponse20010. + :rtype: int """ - return self._object + return self._total_count - @object.setter - def object(self, object): + @total_count.setter + def total_count(self, total_count): """ - Sets the object of this InlineResponse20010. + Sets the total_count of this InlineResponse20010. + Total number of results. - :param object: The object of this InlineResponse20010. - :type: str + :param total_count: The total_count of this InlineResponse20010. + :type: int """ - self._object = object + self._total_count = total_count @property def offset(self): """ Gets the offset of this InlineResponse20010. + Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. :return: The offset of this InlineResponse20010. :rtype: int @@ -133,6 +110,7 @@ def offset(self): def offset(self, offset): """ Sets the offset of this InlineResponse20010. + Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. :param offset: The offset of this InlineResponse20010. :type: int @@ -144,6 +122,7 @@ def offset(self, offset): def limit(self): """ Gets the limit of this InlineResponse20010. + Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. :return: The limit of this InlineResponse20010. :rtype: int @@ -154,6 +133,7 @@ def limit(self): def limit(self, limit): """ Sets the limit of this InlineResponse20010. + Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. :param limit: The limit of this InlineResponse20010. :type: int @@ -162,67 +142,73 @@ def limit(self, limit): self._limit = limit @property - def count(self): + def sort(self): """ - Gets the count of this InlineResponse20010. + Gets the sort of this InlineResponse20010. + A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` - :return: The count of this InlineResponse20010. - :rtype: int + :return: The sort of this InlineResponse20010. + :rtype: str """ - return self._count + return self._sort - @count.setter - def count(self, count): + @sort.setter + def sort(self, sort): """ - Sets the count of this InlineResponse20010. + Sets the sort of this InlineResponse20010. + A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` - :param count: The count of this InlineResponse20010. - :type: int + :param sort: The sort of this InlineResponse20010. + :type: str """ - self._count = count + self._sort = sort @property - def total(self): + def count(self): """ - Gets the total of this InlineResponse20010. + Gets the count of this InlineResponse20010. + Results for this page, this could be below the limit. - :return: The total of this InlineResponse20010. + :return: The count of this InlineResponse20010. :rtype: int """ - return self._total + return self._count - @total.setter - def total(self, total): + @count.setter + def count(self, count): """ - Sets the total of this InlineResponse20010. + Sets the count of this InlineResponse20010. + Results for this page, this could be below the limit. - :param total: The total of this InlineResponse20010. + :param count: The count of this InlineResponse20010. :type: int """ - self._total = total + self._count = count @property - def embedded(self): + def devices(self): """ - Gets the embedded of this InlineResponse20010. + Gets the devices of this InlineResponse20010. + A collection of devices - :return: The embedded of this InlineResponse20010. - :rtype: InlineResponse20010Embedded + :return: The devices of this InlineResponse20010. + :rtype: list[InlineResponse20010Devices] """ - return self._embedded + return self._devices - @embedded.setter - def embedded(self, embedded): + @devices.setter + def devices(self, devices): """ - Sets the embedded of this InlineResponse20010. + Sets the devices of this InlineResponse20010. + A collection of devices - :param embedded: The embedded of this InlineResponse20010. - :type: InlineResponse20010Embedded + :param devices: The devices of this InlineResponse20010. + :type: list[InlineResponse20010Devices] """ - self._embedded = embedded + self._devices = devices def to_dict(self): """ diff --git a/CyberSource/models/inline_response2009_devices.py b/CyberSource/models/inline_response20010_devices.py similarity index 79% rename from CyberSource/models/inline_response2009_devices.py rename to CyberSource/models/inline_response20010_devices.py index e7a4be09..ebf38f34 100644 --- a/CyberSource/models/inline_response2009_devices.py +++ b/CyberSource/models/inline_response20010_devices.py @@ -15,7 +15,7 @@ import re -class InlineResponse2009Devices(object): +class InlineResponse20010Devices(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +41,7 @@ class InlineResponse2009Devices(object): 'account_id': 'str', 'terminal_creation_date': 'datetime', 'terminal_updation_date': 'datetime', - 'payment_processor_to_terminal_map': 'InlineResponse2009PaymentProcessorToTerminalMap' + 'payment_processor_to_terminal_map': 'InlineResponse20010PaymentProcessorToTerminalMap' } attribute_map = { @@ -61,7 +61,7 @@ class InlineResponse2009Devices(object): def __init__(self, reader_id=None, serial_number=None, model=None, make=None, hardware_revision=None, status=None, status_change_reason=None, merchant_id=None, account_id=None, terminal_creation_date=None, terminal_updation_date=None, payment_processor_to_terminal_map=None): """ - InlineResponse2009Devices - a model defined in Swagger + InlineResponse20010Devices - a model defined in Swagger """ self._reader_id = None @@ -105,9 +105,9 @@ def __init__(self, reader_id=None, serial_number=None, model=None, make=None, ha @property def reader_id(self): """ - Gets the reader_id of this InlineResponse2009Devices. + Gets the reader_id of this InlineResponse20010Devices. - :return: The reader_id of this InlineResponse2009Devices. + :return: The reader_id of this InlineResponse20010Devices. :rtype: str """ return self._reader_id @@ -115,9 +115,9 @@ def reader_id(self): @reader_id.setter def reader_id(self, reader_id): """ - Sets the reader_id of this InlineResponse2009Devices. + Sets the reader_id of this InlineResponse20010Devices. - :param reader_id: The reader_id of this InlineResponse2009Devices. + :param reader_id: The reader_id of this InlineResponse20010Devices. :type: str """ @@ -126,9 +126,9 @@ def reader_id(self, reader_id): @property def serial_number(self): """ - Gets the serial_number of this InlineResponse2009Devices. + Gets the serial_number of this InlineResponse20010Devices. - :return: The serial_number of this InlineResponse2009Devices. + :return: The serial_number of this InlineResponse20010Devices. :rtype: str """ return self._serial_number @@ -136,9 +136,9 @@ def serial_number(self): @serial_number.setter def serial_number(self, serial_number): """ - Sets the serial_number of this InlineResponse2009Devices. + Sets the serial_number of this InlineResponse20010Devices. - :param serial_number: The serial_number of this InlineResponse2009Devices. + :param serial_number: The serial_number of this InlineResponse20010Devices. :type: str """ @@ -147,9 +147,9 @@ def serial_number(self, serial_number): @property def model(self): """ - Gets the model of this InlineResponse2009Devices. + Gets the model of this InlineResponse20010Devices. - :return: The model of this InlineResponse2009Devices. + :return: The model of this InlineResponse20010Devices. :rtype: str """ return self._model @@ -157,9 +157,9 @@ def model(self): @model.setter def model(self, model): """ - Sets the model of this InlineResponse2009Devices. + Sets the model of this InlineResponse20010Devices. - :param model: The model of this InlineResponse2009Devices. + :param model: The model of this InlineResponse20010Devices. :type: str """ @@ -168,9 +168,9 @@ def model(self, model): @property def make(self): """ - Gets the make of this InlineResponse2009Devices. + Gets the make of this InlineResponse20010Devices. - :return: The make of this InlineResponse2009Devices. + :return: The make of this InlineResponse20010Devices. :rtype: str """ return self._make @@ -178,9 +178,9 @@ def make(self): @make.setter def make(self, make): """ - Sets the make of this InlineResponse2009Devices. + Sets the make of this InlineResponse20010Devices. - :param make: The make of this InlineResponse2009Devices. + :param make: The make of this InlineResponse20010Devices. :type: str """ @@ -189,9 +189,9 @@ def make(self, make): @property def hardware_revision(self): """ - Gets the hardware_revision of this InlineResponse2009Devices. + Gets the hardware_revision of this InlineResponse20010Devices. - :return: The hardware_revision of this InlineResponse2009Devices. + :return: The hardware_revision of this InlineResponse20010Devices. :rtype: str """ return self._hardware_revision @@ -199,9 +199,9 @@ def hardware_revision(self): @hardware_revision.setter def hardware_revision(self, hardware_revision): """ - Sets the hardware_revision of this InlineResponse2009Devices. + Sets the hardware_revision of this InlineResponse20010Devices. - :param hardware_revision: The hardware_revision of this InlineResponse2009Devices. + :param hardware_revision: The hardware_revision of this InlineResponse20010Devices. :type: str """ @@ -210,10 +210,10 @@ def hardware_revision(self, hardware_revision): @property def status(self): """ - Gets the status of this InlineResponse2009Devices. + Gets the status of this InlineResponse20010Devices. Status of the device. Possible Values: - 'ACTIVE' - 'INACTIVE' - :return: The status of this InlineResponse2009Devices. + :return: The status of this InlineResponse20010Devices. :rtype: str """ return self._status @@ -221,10 +221,10 @@ def status(self): @status.setter def status(self, status): """ - Sets the status of this InlineResponse2009Devices. + Sets the status of this InlineResponse20010Devices. Status of the device. Possible Values: - 'ACTIVE' - 'INACTIVE' - :param status: The status of this InlineResponse2009Devices. + :param status: The status of this InlineResponse20010Devices. :type: str """ @@ -233,10 +233,10 @@ def status(self, status): @property def status_change_reason(self): """ - Gets the status_change_reason of this InlineResponse2009Devices. + Gets the status_change_reason of this InlineResponse20010Devices. Reason for change in status. - :return: The status_change_reason of this InlineResponse2009Devices. + :return: The status_change_reason of this InlineResponse20010Devices. :rtype: str """ return self._status_change_reason @@ -244,10 +244,10 @@ def status_change_reason(self): @status_change_reason.setter def status_change_reason(self, status_change_reason): """ - Sets the status_change_reason of this InlineResponse2009Devices. + Sets the status_change_reason of this InlineResponse20010Devices. Reason for change in status. - :param status_change_reason: The status_change_reason of this InlineResponse2009Devices. + :param status_change_reason: The status_change_reason of this InlineResponse20010Devices. :type: str """ @@ -256,10 +256,10 @@ def status_change_reason(self, status_change_reason): @property def merchant_id(self): """ - Gets the merchant_id of this InlineResponse2009Devices. + Gets the merchant_id of this InlineResponse20010Devices. ID of the merchant to whom this device is assigned. - :return: The merchant_id of this InlineResponse2009Devices. + :return: The merchant_id of this InlineResponse20010Devices. :rtype: str """ return self._merchant_id @@ -267,10 +267,10 @@ def merchant_id(self): @merchant_id.setter def merchant_id(self, merchant_id): """ - Sets the merchant_id of this InlineResponse2009Devices. + Sets the merchant_id of this InlineResponse20010Devices. ID of the merchant to whom this device is assigned. - :param merchant_id: The merchant_id of this InlineResponse2009Devices. + :param merchant_id: The merchant_id of this InlineResponse20010Devices. :type: str """ @@ -279,10 +279,10 @@ def merchant_id(self, merchant_id): @property def account_id(self): """ - Gets the account_id of this InlineResponse2009Devices. + Gets the account_id of this InlineResponse20010Devices. ID of the account to whom the device assigned. - :return: The account_id of this InlineResponse2009Devices. + :return: The account_id of this InlineResponse20010Devices. :rtype: str """ return self._account_id @@ -290,10 +290,10 @@ def account_id(self): @account_id.setter def account_id(self, account_id): """ - Sets the account_id of this InlineResponse2009Devices. + Sets the account_id of this InlineResponse20010Devices. ID of the account to whom the device assigned. - :param account_id: The account_id of this InlineResponse2009Devices. + :param account_id: The account_id of this InlineResponse20010Devices. :type: str """ @@ -302,10 +302,10 @@ def account_id(self, account_id): @property def terminal_creation_date(self): """ - Gets the terminal_creation_date of this InlineResponse2009Devices. + Gets the terminal_creation_date of this InlineResponse20010Devices. Timestamp in which the device was created. - :return: The terminal_creation_date of this InlineResponse2009Devices. + :return: The terminal_creation_date of this InlineResponse20010Devices. :rtype: datetime """ return self._terminal_creation_date @@ -313,10 +313,10 @@ def terminal_creation_date(self): @terminal_creation_date.setter def terminal_creation_date(self, terminal_creation_date): """ - Sets the terminal_creation_date of this InlineResponse2009Devices. + Sets the terminal_creation_date of this InlineResponse20010Devices. Timestamp in which the device was created. - :param terminal_creation_date: The terminal_creation_date of this InlineResponse2009Devices. + :param terminal_creation_date: The terminal_creation_date of this InlineResponse20010Devices. :type: datetime """ @@ -325,10 +325,10 @@ def terminal_creation_date(self, terminal_creation_date): @property def terminal_updation_date(self): """ - Gets the terminal_updation_date of this InlineResponse2009Devices. + Gets the terminal_updation_date of this InlineResponse20010Devices. Timestamp in which the device was updated/modified. - :return: The terminal_updation_date of this InlineResponse2009Devices. + :return: The terminal_updation_date of this InlineResponse20010Devices. :rtype: datetime """ return self._terminal_updation_date @@ -336,10 +336,10 @@ def terminal_updation_date(self): @terminal_updation_date.setter def terminal_updation_date(self, terminal_updation_date): """ - Sets the terminal_updation_date of this InlineResponse2009Devices. + Sets the terminal_updation_date of this InlineResponse20010Devices. Timestamp in which the device was updated/modified. - :param terminal_updation_date: The terminal_updation_date of this InlineResponse2009Devices. + :param terminal_updation_date: The terminal_updation_date of this InlineResponse20010Devices. :type: datetime """ @@ -348,20 +348,20 @@ def terminal_updation_date(self, terminal_updation_date): @property def payment_processor_to_terminal_map(self): """ - Gets the payment_processor_to_terminal_map of this InlineResponse2009Devices. + Gets the payment_processor_to_terminal_map of this InlineResponse20010Devices. - :return: The payment_processor_to_terminal_map of this InlineResponse2009Devices. - :rtype: InlineResponse2009PaymentProcessorToTerminalMap + :return: The payment_processor_to_terminal_map of this InlineResponse20010Devices. + :rtype: InlineResponse20010PaymentProcessorToTerminalMap """ return self._payment_processor_to_terminal_map @payment_processor_to_terminal_map.setter def payment_processor_to_terminal_map(self, payment_processor_to_terminal_map): """ - Sets the payment_processor_to_terminal_map of this InlineResponse2009Devices. + Sets the payment_processor_to_terminal_map of this InlineResponse20010Devices. - :param payment_processor_to_terminal_map: The payment_processor_to_terminal_map of this InlineResponse2009Devices. - :type: InlineResponse2009PaymentProcessorToTerminalMap + :param payment_processor_to_terminal_map: The payment_processor_to_terminal_map of this InlineResponse20010Devices. + :type: InlineResponse20010PaymentProcessorToTerminalMap """ self._payment_processor_to_terminal_map = payment_processor_to_terminal_map @@ -408,7 +408,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2009Devices): + if not isinstance(other, InlineResponse20010Devices): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2009_payment_processor_to_terminal_map.py b/CyberSource/models/inline_response20010_payment_processor_to_terminal_map.py similarity index 79% rename from CyberSource/models/inline_response2009_payment_processor_to_terminal_map.py rename to CyberSource/models/inline_response20010_payment_processor_to_terminal_map.py index bfcbb677..4eb2eb0e 100644 --- a/CyberSource/models/inline_response2009_payment_processor_to_terminal_map.py +++ b/CyberSource/models/inline_response20010_payment_processor_to_terminal_map.py @@ -15,7 +15,7 @@ import re -class InlineResponse2009PaymentProcessorToTerminalMap(object): +class InlineResponse20010PaymentProcessorToTerminalMap(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +41,7 @@ class InlineResponse2009PaymentProcessorToTerminalMap(object): def __init__(self, processor=None, terminal_id=None): """ - InlineResponse2009PaymentProcessorToTerminalMap - a model defined in Swagger + InlineResponse20010PaymentProcessorToTerminalMap - a model defined in Swagger """ self._processor = None @@ -55,9 +55,9 @@ def __init__(self, processor=None, terminal_id=None): @property def processor(self): """ - Gets the processor of this InlineResponse2009PaymentProcessorToTerminalMap. + Gets the processor of this InlineResponse20010PaymentProcessorToTerminalMap. - :return: The processor of this InlineResponse2009PaymentProcessorToTerminalMap. + :return: The processor of this InlineResponse20010PaymentProcessorToTerminalMap. :rtype: str """ return self._processor @@ -65,9 +65,9 @@ def processor(self): @processor.setter def processor(self, processor): """ - Sets the processor of this InlineResponse2009PaymentProcessorToTerminalMap. + Sets the processor of this InlineResponse20010PaymentProcessorToTerminalMap. - :param processor: The processor of this InlineResponse2009PaymentProcessorToTerminalMap. + :param processor: The processor of this InlineResponse20010PaymentProcessorToTerminalMap. :type: str """ @@ -76,9 +76,9 @@ def processor(self, processor): @property def terminal_id(self): """ - Gets the terminal_id of this InlineResponse2009PaymentProcessorToTerminalMap. + Gets the terminal_id of this InlineResponse20010PaymentProcessorToTerminalMap. - :return: The terminal_id of this InlineResponse2009PaymentProcessorToTerminalMap. + :return: The terminal_id of this InlineResponse20010PaymentProcessorToTerminalMap. :rtype: str """ return self._terminal_id @@ -86,9 +86,9 @@ def terminal_id(self): @terminal_id.setter def terminal_id(self, terminal_id): """ - Sets the terminal_id of this InlineResponse2009PaymentProcessorToTerminalMap. + Sets the terminal_id of this InlineResponse20010PaymentProcessorToTerminalMap. - :param terminal_id: The terminal_id of this InlineResponse2009PaymentProcessorToTerminalMap. + :param terminal_id: The terminal_id of this InlineResponse20010PaymentProcessorToTerminalMap. :type: str """ @@ -136,7 +136,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2009PaymentProcessorToTerminalMap): + if not isinstance(other, InlineResponse20010PaymentProcessorToTerminalMap): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20011.py b/CyberSource/models/inline_response20011.py index c153b414..afc0cfda 100644 --- a/CyberSource/models/inline_response20011.py +++ b/CyberSource/models/inline_response20011.py @@ -30,67 +30,52 @@ class InlineResponse20011(object): and the value is json key in definition. """ swagger_types = { - 'links': 'InlineResponse20011Links', - 'batch_id': 'str', - 'batch_created_date': 'str', - 'batch_source': 'str', - 'merchant_reference': 'str', - 'batch_ca_endpoints': 'str', - 'status': 'str', - 'totals': 'InlineResponse20010EmbeddedTotals', - 'billing': 'InlineResponse20011Billing', - 'description': 'str' + 'links': 'list[InlineResponse20011Links]', + 'object': 'str', + 'offset': 'int', + 'limit': 'int', + 'count': 'int', + 'total': 'int', + 'embedded': 'InlineResponse20011Embedded' } attribute_map = { 'links': '_links', - 'batch_id': 'batchId', - 'batch_created_date': 'batchCreatedDate', - 'batch_source': 'batchSource', - 'merchant_reference': 'merchantReference', - 'batch_ca_endpoints': 'batchCaEndpoints', - 'status': 'status', - 'totals': 'totals', - 'billing': 'billing', - 'description': 'description' + 'object': 'object', + 'offset': 'offset', + 'limit': 'limit', + 'count': 'count', + 'total': 'total', + 'embedded': '_embedded' } - def __init__(self, links=None, batch_id=None, batch_created_date=None, batch_source=None, merchant_reference=None, batch_ca_endpoints=None, status=None, totals=None, billing=None, description=None): + def __init__(self, links=None, object=None, offset=None, limit=None, count=None, total=None, embedded=None): """ InlineResponse20011 - a model defined in Swagger """ self._links = None - self._batch_id = None - self._batch_created_date = None - self._batch_source = None - self._merchant_reference = None - self._batch_ca_endpoints = None - self._status = None - self._totals = None - self._billing = None - self._description = None + self._object = None + self._offset = None + self._limit = None + self._count = None + self._total = None + self._embedded = None if links is not None: self.links = links - if batch_id is not None: - self.batch_id = batch_id - if batch_created_date is not None: - self.batch_created_date = batch_created_date - if batch_source is not None: - self.batch_source = batch_source - if merchant_reference is not None: - self.merchant_reference = merchant_reference - if batch_ca_endpoints is not None: - self.batch_ca_endpoints = batch_ca_endpoints - if status is not None: - self.status = status - if totals is not None: - self.totals = totals - if billing is not None: - self.billing = billing - if description is not None: - self.description = description + if object is not None: + self.object = object + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + if count is not None: + self.count = count + if total is not None: + self.total = total + if embedded is not None: + self.embedded = embedded @property def links(self): @@ -98,7 +83,7 @@ def links(self): Gets the links of this InlineResponse20011. :return: The links of this InlineResponse20011. - :rtype: InlineResponse20011Links + :rtype: list[InlineResponse20011Links] """ return self._links @@ -108,209 +93,136 @@ def links(self, links): Sets the links of this InlineResponse20011. :param links: The links of this InlineResponse20011. - :type: InlineResponse20011Links + :type: list[InlineResponse20011Links] """ self._links = links @property - def batch_id(self): + def object(self): """ - Gets the batch_id of this InlineResponse20011. - Unique identification number assigned to the submitted request. + Gets the object of this InlineResponse20011. - :return: The batch_id of this InlineResponse20011. + :return: The object of this InlineResponse20011. :rtype: str """ - return self._batch_id + return self._object - @batch_id.setter - def batch_id(self, batch_id): + @object.setter + def object(self, object): """ - Sets the batch_id of this InlineResponse20011. - Unique identification number assigned to the submitted request. + Sets the object of this InlineResponse20011. - :param batch_id: The batch_id of this InlineResponse20011. + :param object: The object of this InlineResponse20011. :type: str """ - self._batch_id = batch_id + self._object = object @property - def batch_created_date(self): + def offset(self): """ - Gets the batch_created_date of this InlineResponse20011. - ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + Gets the offset of this InlineResponse20011. - :return: The batch_created_date of this InlineResponse20011. - :rtype: str - """ - return self._batch_created_date - - @batch_created_date.setter - def batch_created_date(self, batch_created_date): - """ - Sets the batch_created_date of this InlineResponse20011. - ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - - :param batch_created_date: The batch_created_date of this InlineResponse20011. - :type: str - """ - - self._batch_created_date = batch_created_date - - @property - def batch_source(self): - """ - Gets the batch_source of this InlineResponse20011. - Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - - :return: The batch_source of this InlineResponse20011. - :rtype: str - """ - return self._batch_source - - @batch_source.setter - def batch_source(self, batch_source): - """ - Sets the batch_source of this InlineResponse20011. - Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - - :param batch_source: The batch_source of this InlineResponse20011. - :type: str - """ - - self._batch_source = batch_source - - @property - def merchant_reference(self): - """ - Gets the merchant_reference of this InlineResponse20011. - Reference used by merchant to identify batch. - - :return: The merchant_reference of this InlineResponse20011. - :rtype: str + :return: The offset of this InlineResponse20011. + :rtype: int """ - return self._merchant_reference + return self._offset - @merchant_reference.setter - def merchant_reference(self, merchant_reference): + @offset.setter + def offset(self, offset): """ - Sets the merchant_reference of this InlineResponse20011. - Reference used by merchant to identify batch. + Sets the offset of this InlineResponse20011. - :param merchant_reference: The merchant_reference of this InlineResponse20011. - :type: str + :param offset: The offset of this InlineResponse20011. + :type: int """ - self._merchant_reference = merchant_reference + self._offset = offset @property - def batch_ca_endpoints(self): + def limit(self): """ - Gets the batch_ca_endpoints of this InlineResponse20011. + Gets the limit of this InlineResponse20011. - :return: The batch_ca_endpoints of this InlineResponse20011. - :rtype: str + :return: The limit of this InlineResponse20011. + :rtype: int """ - return self._batch_ca_endpoints + return self._limit - @batch_ca_endpoints.setter - def batch_ca_endpoints(self, batch_ca_endpoints): + @limit.setter + def limit(self, limit): """ - Sets the batch_ca_endpoints of this InlineResponse20011. + Sets the limit of this InlineResponse20011. - :param batch_ca_endpoints: The batch_ca_endpoints of this InlineResponse20011. - :type: str + :param limit: The limit of this InlineResponse20011. + :type: int """ - self._batch_ca_endpoints = batch_ca_endpoints + self._limit = limit @property - def status(self): + def count(self): """ - Gets the status of this InlineResponse20011. - Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED + Gets the count of this InlineResponse20011. - :return: The status of this InlineResponse20011. - :rtype: str + :return: The count of this InlineResponse20011. + :rtype: int """ - return self._status + return self._count - @status.setter - def status(self, status): + @count.setter + def count(self, count): """ - Sets the status of this InlineResponse20011. - Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED + Sets the count of this InlineResponse20011. - :param status: The status of this InlineResponse20011. - :type: str + :param count: The count of this InlineResponse20011. + :type: int """ - self._status = status + self._count = count @property - def totals(self): + def total(self): """ - Gets the totals of this InlineResponse20011. + Gets the total of this InlineResponse20011. - :return: The totals of this InlineResponse20011. - :rtype: InlineResponse20010EmbeddedTotals + :return: The total of this InlineResponse20011. + :rtype: int """ - return self._totals + return self._total - @totals.setter - def totals(self, totals): + @total.setter + def total(self, total): """ - Sets the totals of this InlineResponse20011. + Sets the total of this InlineResponse20011. - :param totals: The totals of this InlineResponse20011. - :type: InlineResponse20010EmbeddedTotals + :param total: The total of this InlineResponse20011. + :type: int """ - self._totals = totals + self._total = total @property - def billing(self): - """ - Gets the billing of this InlineResponse20011. - - :return: The billing of this InlineResponse20011. - :rtype: InlineResponse20011Billing + def embedded(self): """ - return self._billing + Gets the embedded of this InlineResponse20011. - @billing.setter - def billing(self, billing): + :return: The embedded of this InlineResponse20011. + :rtype: InlineResponse20011Embedded """ - Sets the billing of this InlineResponse20011. + return self._embedded - :param billing: The billing of this InlineResponse20011. - :type: InlineResponse20011Billing + @embedded.setter + def embedded(self, embedded): """ + Sets the embedded of this InlineResponse20011. - self._billing = billing - - @property - def description(self): - """ - Gets the description of this InlineResponse20011. - - :return: The description of this InlineResponse20011. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """ - Sets the description of this InlineResponse20011. - - :param description: The description of this InlineResponse20011. - :type: str + :param embedded: The embedded of this InlineResponse20011. + :type: InlineResponse20011Embedded """ - self._description = description + self._embedded = embedded def to_dict(self): """ diff --git a/CyberSource/models/inline_response20010_embedded.py b/CyberSource/models/inline_response20011_embedded.py similarity index 81% rename from CyberSource/models/inline_response20010_embedded.py rename to CyberSource/models/inline_response20011_embedded.py index 5495d20b..491a12b0 100644 --- a/CyberSource/models/inline_response20010_embedded.py +++ b/CyberSource/models/inline_response20011_embedded.py @@ -15,7 +15,7 @@ import re -class InlineResponse20010Embedded(object): +class InlineResponse20011Embedded(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,7 +30,7 @@ class InlineResponse20010Embedded(object): and the value is json key in definition. """ swagger_types = { - 'batches': 'list[InlineResponse20010EmbeddedBatches]' + 'batches': 'list[InlineResponse20011EmbeddedBatches]' } attribute_map = { @@ -39,7 +39,7 @@ class InlineResponse20010Embedded(object): def __init__(self, batches=None): """ - InlineResponse20010Embedded - a model defined in Swagger + InlineResponse20011Embedded - a model defined in Swagger """ self._batches = None @@ -50,20 +50,20 @@ def __init__(self, batches=None): @property def batches(self): """ - Gets the batches of this InlineResponse20010Embedded. + Gets the batches of this InlineResponse20011Embedded. - :return: The batches of this InlineResponse20010Embedded. - :rtype: list[InlineResponse20010EmbeddedBatches] + :return: The batches of this InlineResponse20011Embedded. + :rtype: list[InlineResponse20011EmbeddedBatches] """ return self._batches @batches.setter def batches(self, batches): """ - Sets the batches of this InlineResponse20010Embedded. + Sets the batches of this InlineResponse20011Embedded. - :param batches: The batches of this InlineResponse20010Embedded. - :type: list[InlineResponse20010EmbeddedBatches] + :param batches: The batches of this InlineResponse20011Embedded. + :type: list[InlineResponse20011EmbeddedBatches] """ self._batches = batches @@ -110,7 +110,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20010Embedded): + if not isinstance(other, InlineResponse20011Embedded): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20010_embedded_batches.py b/CyberSource/models/inline_response20011_embedded_batches.py similarity index 77% rename from CyberSource/models/inline_response20010_embedded_batches.py rename to CyberSource/models/inline_response20011_embedded_batches.py index ef67cc64..0abe2d8c 100644 --- a/CyberSource/models/inline_response20010_embedded_batches.py +++ b/CyberSource/models/inline_response20011_embedded_batches.py @@ -15,7 +15,7 @@ import re -class InlineResponse20010EmbeddedBatches(object): +class InlineResponse20011EmbeddedBatches(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,7 +30,7 @@ class InlineResponse20010EmbeddedBatches(object): and the value is json key in definition. """ swagger_types = { - 'links': 'InlineResponse20010EmbeddedLinks', + 'links': 'InlineResponse20011EmbeddedLinks', 'batch_id': 'str', 'batch_created_date': 'str', 'batch_modified_date': 'str', @@ -39,7 +39,7 @@ class InlineResponse20010EmbeddedBatches(object): 'merchant_reference': 'str', 'batch_ca_endpoints': 'list[str]', 'status': 'str', - 'totals': 'InlineResponse20010EmbeddedTotals' + 'totals': 'InlineResponse20011EmbeddedTotals' } attribute_map = { @@ -57,7 +57,7 @@ class InlineResponse20010EmbeddedBatches(object): def __init__(self, links=None, batch_id=None, batch_created_date=None, batch_modified_date=None, batch_source=None, token_source=None, merchant_reference=None, batch_ca_endpoints=None, status=None, totals=None): """ - InlineResponse20010EmbeddedBatches - a model defined in Swagger + InlineResponse20011EmbeddedBatches - a model defined in Swagger """ self._links = None @@ -95,20 +95,20 @@ def __init__(self, links=None, batch_id=None, batch_created_date=None, batch_mod @property def links(self): """ - Gets the links of this InlineResponse20010EmbeddedBatches. + Gets the links of this InlineResponse20011EmbeddedBatches. - :return: The links of this InlineResponse20010EmbeddedBatches. - :rtype: InlineResponse20010EmbeddedLinks + :return: The links of this InlineResponse20011EmbeddedBatches. + :rtype: InlineResponse20011EmbeddedLinks """ return self._links @links.setter def links(self, links): """ - Sets the links of this InlineResponse20010EmbeddedBatches. + Sets the links of this InlineResponse20011EmbeddedBatches. - :param links: The links of this InlineResponse20010EmbeddedBatches. - :type: InlineResponse20010EmbeddedLinks + :param links: The links of this InlineResponse20011EmbeddedBatches. + :type: InlineResponse20011EmbeddedLinks """ self._links = links @@ -116,10 +116,10 @@ def links(self, links): @property def batch_id(self): """ - Gets the batch_id of this InlineResponse20010EmbeddedBatches. + Gets the batch_id of this InlineResponse20011EmbeddedBatches. Unique identification number assigned to the submitted request. - :return: The batch_id of this InlineResponse20010EmbeddedBatches. + :return: The batch_id of this InlineResponse20011EmbeddedBatches. :rtype: str """ return self._batch_id @@ -127,10 +127,10 @@ def batch_id(self): @batch_id.setter def batch_id(self, batch_id): """ - Sets the batch_id of this InlineResponse20010EmbeddedBatches. + Sets the batch_id of this InlineResponse20011EmbeddedBatches. Unique identification number assigned to the submitted request. - :param batch_id: The batch_id of this InlineResponse20010EmbeddedBatches. + :param batch_id: The batch_id of this InlineResponse20011EmbeddedBatches. :type: str """ @@ -139,10 +139,10 @@ def batch_id(self, batch_id): @property def batch_created_date(self): """ - Gets the batch_created_date of this InlineResponse20010EmbeddedBatches. + Gets the batch_created_date of this InlineResponse20011EmbeddedBatches. ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - :return: The batch_created_date of this InlineResponse20010EmbeddedBatches. + :return: The batch_created_date of this InlineResponse20011EmbeddedBatches. :rtype: str """ return self._batch_created_date @@ -150,10 +150,10 @@ def batch_created_date(self): @batch_created_date.setter def batch_created_date(self, batch_created_date): """ - Sets the batch_created_date of this InlineResponse20010EmbeddedBatches. + Sets the batch_created_date of this InlineResponse20011EmbeddedBatches. ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - :param batch_created_date: The batch_created_date of this InlineResponse20010EmbeddedBatches. + :param batch_created_date: The batch_created_date of this InlineResponse20011EmbeddedBatches. :type: str """ @@ -162,10 +162,10 @@ def batch_created_date(self, batch_created_date): @property def batch_modified_date(self): """ - Gets the batch_modified_date of this InlineResponse20010EmbeddedBatches. + Gets the batch_modified_date of this InlineResponse20011EmbeddedBatches. ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - :return: The batch_modified_date of this InlineResponse20010EmbeddedBatches. + :return: The batch_modified_date of this InlineResponse20011EmbeddedBatches. :rtype: str """ return self._batch_modified_date @@ -173,10 +173,10 @@ def batch_modified_date(self): @batch_modified_date.setter def batch_modified_date(self, batch_modified_date): """ - Sets the batch_modified_date of this InlineResponse20010EmbeddedBatches. + Sets the batch_modified_date of this InlineResponse20011EmbeddedBatches. ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - :param batch_modified_date: The batch_modified_date of this InlineResponse20010EmbeddedBatches. + :param batch_modified_date: The batch_modified_date of this InlineResponse20011EmbeddedBatches. :type: str """ @@ -185,10 +185,10 @@ def batch_modified_date(self, batch_modified_date): @property def batch_source(self): """ - Gets the batch_source of this InlineResponse20010EmbeddedBatches. + Gets the batch_source of this InlineResponse20011EmbeddedBatches. Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_REGISTRY_API_SYNC * AMEX_MAINTENANCE - :return: The batch_source of this InlineResponse20010EmbeddedBatches. + :return: The batch_source of this InlineResponse20011EmbeddedBatches. :rtype: str """ return self._batch_source @@ -196,10 +196,10 @@ def batch_source(self): @batch_source.setter def batch_source(self, batch_source): """ - Sets the batch_source of this InlineResponse20010EmbeddedBatches. + Sets the batch_source of this InlineResponse20011EmbeddedBatches. Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_REGISTRY_API_SYNC * AMEX_MAINTENANCE - :param batch_source: The batch_source of this InlineResponse20010EmbeddedBatches. + :param batch_source: The batch_source of this InlineResponse20011EmbeddedBatches. :type: str """ @@ -208,10 +208,10 @@ def batch_source(self, batch_source): @property def token_source(self): """ - Gets the token_source of this InlineResponse20010EmbeddedBatches. + Gets the token_source of this InlineResponse20011EmbeddedBatches. Valid Values: * SECURE_STORAGE * TMS * CYBERSOURCE - :return: The token_source of this InlineResponse20010EmbeddedBatches. + :return: The token_source of this InlineResponse20011EmbeddedBatches. :rtype: str """ return self._token_source @@ -219,10 +219,10 @@ def token_source(self): @token_source.setter def token_source(self, token_source): """ - Sets the token_source of this InlineResponse20010EmbeddedBatches. + Sets the token_source of this InlineResponse20011EmbeddedBatches. Valid Values: * SECURE_STORAGE * TMS * CYBERSOURCE - :param token_source: The token_source of this InlineResponse20010EmbeddedBatches. + :param token_source: The token_source of this InlineResponse20011EmbeddedBatches. :type: str """ @@ -231,10 +231,10 @@ def token_source(self, token_source): @property def merchant_reference(self): """ - Gets the merchant_reference of this InlineResponse20010EmbeddedBatches. + Gets the merchant_reference of this InlineResponse20011EmbeddedBatches. Reference used by merchant to identify batch. - :return: The merchant_reference of this InlineResponse20010EmbeddedBatches. + :return: The merchant_reference of this InlineResponse20011EmbeddedBatches. :rtype: str """ return self._merchant_reference @@ -242,10 +242,10 @@ def merchant_reference(self): @merchant_reference.setter def merchant_reference(self, merchant_reference): """ - Sets the merchant_reference of this InlineResponse20010EmbeddedBatches. + Sets the merchant_reference of this InlineResponse20011EmbeddedBatches. Reference used by merchant to identify batch. - :param merchant_reference: The merchant_reference of this InlineResponse20010EmbeddedBatches. + :param merchant_reference: The merchant_reference of this InlineResponse20011EmbeddedBatches. :type: str """ @@ -254,10 +254,10 @@ def merchant_reference(self, merchant_reference): @property def batch_ca_endpoints(self): """ - Gets the batch_ca_endpoints of this InlineResponse20010EmbeddedBatches. + Gets the batch_ca_endpoints of this InlineResponse20011EmbeddedBatches. Valid Values: * VISA * MASTERCARD * AMEX - :return: The batch_ca_endpoints of this InlineResponse20010EmbeddedBatches. + :return: The batch_ca_endpoints of this InlineResponse20011EmbeddedBatches. :rtype: list[str] """ return self._batch_ca_endpoints @@ -265,10 +265,10 @@ def batch_ca_endpoints(self): @batch_ca_endpoints.setter def batch_ca_endpoints(self, batch_ca_endpoints): """ - Sets the batch_ca_endpoints of this InlineResponse20010EmbeddedBatches. + Sets the batch_ca_endpoints of this InlineResponse20011EmbeddedBatches. Valid Values: * VISA * MASTERCARD * AMEX - :param batch_ca_endpoints: The batch_ca_endpoints of this InlineResponse20010EmbeddedBatches. + :param batch_ca_endpoints: The batch_ca_endpoints of this InlineResponse20011EmbeddedBatches. :type: list[str] """ @@ -277,10 +277,10 @@ def batch_ca_endpoints(self, batch_ca_endpoints): @property def status(self): """ - Gets the status of this InlineResponse20010EmbeddedBatches. + Gets the status of this InlineResponse20011EmbeddedBatches. Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE - :return: The status of this InlineResponse20010EmbeddedBatches. + :return: The status of this InlineResponse20011EmbeddedBatches. :rtype: str """ return self._status @@ -288,10 +288,10 @@ def status(self): @status.setter def status(self, status): """ - Sets the status of this InlineResponse20010EmbeddedBatches. + Sets the status of this InlineResponse20011EmbeddedBatches. Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE - :param status: The status of this InlineResponse20010EmbeddedBatches. + :param status: The status of this InlineResponse20011EmbeddedBatches. :type: str """ @@ -300,20 +300,20 @@ def status(self, status): @property def totals(self): """ - Gets the totals of this InlineResponse20010EmbeddedBatches. + Gets the totals of this InlineResponse20011EmbeddedBatches. - :return: The totals of this InlineResponse20010EmbeddedBatches. - :rtype: InlineResponse20010EmbeddedTotals + :return: The totals of this InlineResponse20011EmbeddedBatches. + :rtype: InlineResponse20011EmbeddedTotals """ return self._totals @totals.setter def totals(self, totals): """ - Sets the totals of this InlineResponse20010EmbeddedBatches. + Sets the totals of this InlineResponse20011EmbeddedBatches. - :param totals: The totals of this InlineResponse20010EmbeddedBatches. - :type: InlineResponse20010EmbeddedTotals + :param totals: The totals of this InlineResponse20011EmbeddedBatches. + :type: InlineResponse20011EmbeddedTotals """ self._totals = totals @@ -360,7 +360,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20010EmbeddedBatches): + if not isinstance(other, InlineResponse20011EmbeddedBatches): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20010_embedded_links.py b/CyberSource/models/inline_response20011_embedded_links.py similarity index 81% rename from CyberSource/models/inline_response20010_embedded_links.py rename to CyberSource/models/inline_response20011_embedded_links.py index 26102439..947d7f4f 100644 --- a/CyberSource/models/inline_response20010_embedded_links.py +++ b/CyberSource/models/inline_response20011_embedded_links.py @@ -15,7 +15,7 @@ import re -class InlineResponse20010EmbeddedLinks(object): +class InlineResponse20011EmbeddedLinks(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,7 +30,7 @@ class InlineResponse20010EmbeddedLinks(object): and the value is json key in definition. """ swagger_types = { - 'reports': 'list[InlineResponse20010EmbeddedLinksReports]' + 'reports': 'list[InlineResponse20011EmbeddedLinksReports]' } attribute_map = { @@ -39,7 +39,7 @@ class InlineResponse20010EmbeddedLinks(object): def __init__(self, reports=None): """ - InlineResponse20010EmbeddedLinks - a model defined in Swagger + InlineResponse20011EmbeddedLinks - a model defined in Swagger """ self._reports = None @@ -50,20 +50,20 @@ def __init__(self, reports=None): @property def reports(self): """ - Gets the reports of this InlineResponse20010EmbeddedLinks. + Gets the reports of this InlineResponse20011EmbeddedLinks. - :return: The reports of this InlineResponse20010EmbeddedLinks. - :rtype: list[InlineResponse20010EmbeddedLinksReports] + :return: The reports of this InlineResponse20011EmbeddedLinks. + :rtype: list[InlineResponse20011EmbeddedLinksReports] """ return self._reports @reports.setter def reports(self, reports): """ - Sets the reports of this InlineResponse20010EmbeddedLinks. + Sets the reports of this InlineResponse20011EmbeddedLinks. - :param reports: The reports of this InlineResponse20010EmbeddedLinks. - :type: list[InlineResponse20010EmbeddedLinksReports] + :param reports: The reports of this InlineResponse20011EmbeddedLinks. + :type: list[InlineResponse20011EmbeddedLinksReports] """ self._reports = reports @@ -110,7 +110,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20010EmbeddedLinks): + if not isinstance(other, InlineResponse20011EmbeddedLinks): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20010_embedded_links_reports.py b/CyberSource/models/inline_response20011_embedded_links_reports.py similarity index 86% rename from CyberSource/models/inline_response20010_embedded_links_reports.py rename to CyberSource/models/inline_response20011_embedded_links_reports.py index 91bbfabf..2d6cf488 100644 --- a/CyberSource/models/inline_response20010_embedded_links_reports.py +++ b/CyberSource/models/inline_response20011_embedded_links_reports.py @@ -15,7 +15,7 @@ import re -class InlineResponse20010EmbeddedLinksReports(object): +class InlineResponse20011EmbeddedLinksReports(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class InlineResponse20010EmbeddedLinksReports(object): def __init__(self, href=None): """ - InlineResponse20010EmbeddedLinksReports - a model defined in Swagger + InlineResponse20011EmbeddedLinksReports - a model defined in Swagger """ self._href = None @@ -50,9 +50,9 @@ def __init__(self, href=None): @property def href(self): """ - Gets the href of this InlineResponse20010EmbeddedLinksReports. + Gets the href of this InlineResponse20011EmbeddedLinksReports. - :return: The href of this InlineResponse20010EmbeddedLinksReports. + :return: The href of this InlineResponse20011EmbeddedLinksReports. :rtype: str """ return self._href @@ -60,9 +60,9 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this InlineResponse20010EmbeddedLinksReports. + Sets the href of this InlineResponse20011EmbeddedLinksReports. - :param href: The href of this InlineResponse20010EmbeddedLinksReports. + :param href: The href of this InlineResponse20011EmbeddedLinksReports. :type: str """ @@ -110,7 +110,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20010EmbeddedLinksReports): + if not isinstance(other, InlineResponse20011EmbeddedLinksReports): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20010_embedded_totals.py b/CyberSource/models/inline_response20011_embedded_totals.py similarity index 84% rename from CyberSource/models/inline_response20010_embedded_totals.py rename to CyberSource/models/inline_response20011_embedded_totals.py index b4729f80..75de1d00 100644 --- a/CyberSource/models/inline_response20010_embedded_totals.py +++ b/CyberSource/models/inline_response20011_embedded_totals.py @@ -15,7 +15,7 @@ import re -class InlineResponse20010EmbeddedTotals(object): +class InlineResponse20011EmbeddedTotals(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +47,7 @@ class InlineResponse20010EmbeddedTotals(object): def __init__(self, accepted_records=None, rejected_records=None, updated_records=None, ca_responses=None, ca_responses_omitted=None): """ - InlineResponse20010EmbeddedTotals - a model defined in Swagger + InlineResponse20011EmbeddedTotals - a model defined in Swagger """ self._accepted_records = None @@ -70,9 +70,9 @@ def __init__(self, accepted_records=None, rejected_records=None, updated_records @property def accepted_records(self): """ - Gets the accepted_records of this InlineResponse20010EmbeddedTotals. + Gets the accepted_records of this InlineResponse20011EmbeddedTotals. - :return: The accepted_records of this InlineResponse20010EmbeddedTotals. + :return: The accepted_records of this InlineResponse20011EmbeddedTotals. :rtype: int """ return self._accepted_records @@ -80,9 +80,9 @@ def accepted_records(self): @accepted_records.setter def accepted_records(self, accepted_records): """ - Sets the accepted_records of this InlineResponse20010EmbeddedTotals. + Sets the accepted_records of this InlineResponse20011EmbeddedTotals. - :param accepted_records: The accepted_records of this InlineResponse20010EmbeddedTotals. + :param accepted_records: The accepted_records of this InlineResponse20011EmbeddedTotals. :type: int """ @@ -91,9 +91,9 @@ def accepted_records(self, accepted_records): @property def rejected_records(self): """ - Gets the rejected_records of this InlineResponse20010EmbeddedTotals. + Gets the rejected_records of this InlineResponse20011EmbeddedTotals. - :return: The rejected_records of this InlineResponse20010EmbeddedTotals. + :return: The rejected_records of this InlineResponse20011EmbeddedTotals. :rtype: int """ return self._rejected_records @@ -101,9 +101,9 @@ def rejected_records(self): @rejected_records.setter def rejected_records(self, rejected_records): """ - Sets the rejected_records of this InlineResponse20010EmbeddedTotals. + Sets the rejected_records of this InlineResponse20011EmbeddedTotals. - :param rejected_records: The rejected_records of this InlineResponse20010EmbeddedTotals. + :param rejected_records: The rejected_records of this InlineResponse20011EmbeddedTotals. :type: int """ @@ -112,9 +112,9 @@ def rejected_records(self, rejected_records): @property def updated_records(self): """ - Gets the updated_records of this InlineResponse20010EmbeddedTotals. + Gets the updated_records of this InlineResponse20011EmbeddedTotals. - :return: The updated_records of this InlineResponse20010EmbeddedTotals. + :return: The updated_records of this InlineResponse20011EmbeddedTotals. :rtype: int """ return self._updated_records @@ -122,9 +122,9 @@ def updated_records(self): @updated_records.setter def updated_records(self, updated_records): """ - Sets the updated_records of this InlineResponse20010EmbeddedTotals. + Sets the updated_records of this InlineResponse20011EmbeddedTotals. - :param updated_records: The updated_records of this InlineResponse20010EmbeddedTotals. + :param updated_records: The updated_records of this InlineResponse20011EmbeddedTotals. :type: int """ @@ -133,9 +133,9 @@ def updated_records(self, updated_records): @property def ca_responses(self): """ - Gets the ca_responses of this InlineResponse20010EmbeddedTotals. + Gets the ca_responses of this InlineResponse20011EmbeddedTotals. - :return: The ca_responses of this InlineResponse20010EmbeddedTotals. + :return: The ca_responses of this InlineResponse20011EmbeddedTotals. :rtype: int """ return self._ca_responses @@ -143,9 +143,9 @@ def ca_responses(self): @ca_responses.setter def ca_responses(self, ca_responses): """ - Sets the ca_responses of this InlineResponse20010EmbeddedTotals. + Sets the ca_responses of this InlineResponse20011EmbeddedTotals. - :param ca_responses: The ca_responses of this InlineResponse20010EmbeddedTotals. + :param ca_responses: The ca_responses of this InlineResponse20011EmbeddedTotals. :type: int """ @@ -154,9 +154,9 @@ def ca_responses(self, ca_responses): @property def ca_responses_omitted(self): """ - Gets the ca_responses_omitted of this InlineResponse20010EmbeddedTotals. + Gets the ca_responses_omitted of this InlineResponse20011EmbeddedTotals. - :return: The ca_responses_omitted of this InlineResponse20010EmbeddedTotals. + :return: The ca_responses_omitted of this InlineResponse20011EmbeddedTotals. :rtype: int """ return self._ca_responses_omitted @@ -164,9 +164,9 @@ def ca_responses_omitted(self): @ca_responses_omitted.setter def ca_responses_omitted(self, ca_responses_omitted): """ - Sets the ca_responses_omitted of this InlineResponse20010EmbeddedTotals. + Sets the ca_responses_omitted of this InlineResponse20011EmbeddedTotals. - :param ca_responses_omitted: The ca_responses_omitted of this InlineResponse20010EmbeddedTotals. + :param ca_responses_omitted: The ca_responses_omitted of this InlineResponse20011EmbeddedTotals. :type: int """ @@ -214,7 +214,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20010EmbeddedTotals): + if not isinstance(other, InlineResponse20011EmbeddedTotals): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20011_links.py b/CyberSource/models/inline_response20011_links.py index d4594c3b..0adac0ac 100644 --- a/CyberSource/models/inline_response20011_links.py +++ b/CyberSource/models/inline_response20011_links.py @@ -30,69 +30,71 @@ class InlineResponse20011Links(object): and the value is json key in definition. """ swagger_types = { - '_self': 'InlineResponse202LinksStatus', - 'report': 'list[InlineResponse20011LinksReport]' + 'rel': 'str', + 'href': 'str' } attribute_map = { - '_self': 'self', - 'report': 'report' + 'rel': 'rel', + 'href': 'href' } - def __init__(self, _self=None, report=None): + def __init__(self, rel=None, href=None): """ InlineResponse20011Links - a model defined in Swagger """ - self.__self = None - self._report = None + self._rel = None + self._href = None - if _self is not None: - self._self = _self - if report is not None: - self.report = report + if rel is not None: + self.rel = rel + if href is not None: + self.href = href @property - def _self(self): + def rel(self): """ - Gets the _self of this InlineResponse20011Links. + Gets the rel of this InlineResponse20011Links. + Valid Values: * self * first * last * prev * next - :return: The _self of this InlineResponse20011Links. - :rtype: InlineResponse202LinksStatus + :return: The rel of this InlineResponse20011Links. + :rtype: str """ - return self.__self + return self._rel - @_self.setter - def _self(self, _self): + @rel.setter + def rel(self, rel): """ - Sets the _self of this InlineResponse20011Links. + Sets the rel of this InlineResponse20011Links. + Valid Values: * self * first * last * prev * next - :param _self: The _self of this InlineResponse20011Links. - :type: InlineResponse202LinksStatus + :param rel: The rel of this InlineResponse20011Links. + :type: str """ - self.__self = _self + self._rel = rel @property - def report(self): + def href(self): """ - Gets the report of this InlineResponse20011Links. + Gets the href of this InlineResponse20011Links. - :return: The report of this InlineResponse20011Links. - :rtype: list[InlineResponse20011LinksReport] + :return: The href of this InlineResponse20011Links. + :rtype: str """ - return self._report + return self._href - @report.setter - def report(self, report): + @href.setter + def href(self, href): """ - Sets the report of this InlineResponse20011Links. + Sets the href of this InlineResponse20011Links. - :param report: The report of this InlineResponse20011Links. - :type: list[InlineResponse20011LinksReport] + :param href: The href of this InlineResponse20011Links. + :type: str """ - self._report = report + self._href = href def to_dict(self): """ diff --git a/CyberSource/models/inline_response20012.py b/CyberSource/models/inline_response20012.py index a9bb12c4..d0eba143 100644 --- a/CyberSource/models/inline_response20012.py +++ b/CyberSource/models/inline_response20012.py @@ -30,134 +30,134 @@ class InlineResponse20012(object): and the value is json key in definition. """ swagger_types = { - 'version': 'str', - 'report_created_date': 'str', + 'links': 'InlineResponse20012Links', 'batch_id': 'str', - 'batch_source': 'str', - 'batch_ca_endpoints': 'str', 'batch_created_date': 'str', + 'batch_source': 'str', 'merchant_reference': 'str', - 'totals': 'InlineResponse20010EmbeddedTotals', - 'billing': 'InlineResponse20011Billing', - 'records': 'list[InlineResponse20012Records]' + 'batch_ca_endpoints': 'str', + 'status': 'str', + 'totals': 'InlineResponse20011EmbeddedTotals', + 'billing': 'InlineResponse20012Billing', + 'description': 'str' } attribute_map = { - 'version': 'version', - 'report_created_date': 'reportCreatedDate', + 'links': '_links', 'batch_id': 'batchId', - 'batch_source': 'batchSource', - 'batch_ca_endpoints': 'batchCaEndpoints', 'batch_created_date': 'batchCreatedDate', + 'batch_source': 'batchSource', 'merchant_reference': 'merchantReference', + 'batch_ca_endpoints': 'batchCaEndpoints', + 'status': 'status', 'totals': 'totals', 'billing': 'billing', - 'records': 'records' + 'description': 'description' } - def __init__(self, version=None, report_created_date=None, batch_id=None, batch_source=None, batch_ca_endpoints=None, batch_created_date=None, merchant_reference=None, totals=None, billing=None, records=None): + def __init__(self, links=None, batch_id=None, batch_created_date=None, batch_source=None, merchant_reference=None, batch_ca_endpoints=None, status=None, totals=None, billing=None, description=None): """ InlineResponse20012 - a model defined in Swagger """ - self._version = None - self._report_created_date = None + self._links = None self._batch_id = None - self._batch_source = None - self._batch_ca_endpoints = None self._batch_created_date = None + self._batch_source = None self._merchant_reference = None + self._batch_ca_endpoints = None + self._status = None self._totals = None self._billing = None - self._records = None + self._description = None - if version is not None: - self.version = version - if report_created_date is not None: - self.report_created_date = report_created_date + if links is not None: + self.links = links if batch_id is not None: self.batch_id = batch_id - if batch_source is not None: - self.batch_source = batch_source - if batch_ca_endpoints is not None: - self.batch_ca_endpoints = batch_ca_endpoints if batch_created_date is not None: self.batch_created_date = batch_created_date + if batch_source is not None: + self.batch_source = batch_source if merchant_reference is not None: self.merchant_reference = merchant_reference + if batch_ca_endpoints is not None: + self.batch_ca_endpoints = batch_ca_endpoints + if status is not None: + self.status = status if totals is not None: self.totals = totals if billing is not None: self.billing = billing - if records is not None: - self.records = records + if description is not None: + self.description = description @property - def version(self): + def links(self): """ - Gets the version of this InlineResponse20012. + Gets the links of this InlineResponse20012. - :return: The version of this InlineResponse20012. - :rtype: str + :return: The links of this InlineResponse20012. + :rtype: InlineResponse20012Links """ - return self._version + return self._links - @version.setter - def version(self, version): + @links.setter + def links(self, links): """ - Sets the version of this InlineResponse20012. + Sets the links of this InlineResponse20012. - :param version: The version of this InlineResponse20012. - :type: str + :param links: The links of this InlineResponse20012. + :type: InlineResponse20012Links """ - self._version = version + self._links = links @property - def report_created_date(self): + def batch_id(self): """ - Gets the report_created_date of this InlineResponse20012. - ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + Gets the batch_id of this InlineResponse20012. + Unique identification number assigned to the submitted request. - :return: The report_created_date of this InlineResponse20012. + :return: The batch_id of this InlineResponse20012. :rtype: str """ - return self._report_created_date + return self._batch_id - @report_created_date.setter - def report_created_date(self, report_created_date): + @batch_id.setter + def batch_id(self, batch_id): """ - Sets the report_created_date of this InlineResponse20012. - ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + Sets the batch_id of this InlineResponse20012. + Unique identification number assigned to the submitted request. - :param report_created_date: The report_created_date of this InlineResponse20012. + :param batch_id: The batch_id of this InlineResponse20012. :type: str """ - self._report_created_date = report_created_date + self._batch_id = batch_id @property - def batch_id(self): + def batch_created_date(self): """ - Gets the batch_id of this InlineResponse20012. - Unique identification number assigned to the submitted request. + Gets the batch_created_date of this InlineResponse20012. + ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - :return: The batch_id of this InlineResponse20012. + :return: The batch_created_date of this InlineResponse20012. :rtype: str """ - return self._batch_id + return self._batch_created_date - @batch_id.setter - def batch_id(self, batch_id): + @batch_created_date.setter + def batch_created_date(self, batch_created_date): """ - Sets the batch_id of this InlineResponse20012. - Unique identification number assigned to the submitted request. + Sets the batch_created_date of this InlineResponse20012. + ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - :param batch_id: The batch_id of this InlineResponse20012. + :param batch_created_date: The batch_created_date of this InlineResponse20012. :type: str """ - self._batch_id = batch_id + self._batch_created_date = batch_created_date @property def batch_source(self): @@ -183,71 +183,71 @@ def batch_source(self, batch_source): self._batch_source = batch_source @property - def batch_ca_endpoints(self): + def merchant_reference(self): """ - Gets the batch_ca_endpoints of this InlineResponse20012. + Gets the merchant_reference of this InlineResponse20012. + Reference used by merchant to identify batch. - :return: The batch_ca_endpoints of this InlineResponse20012. + :return: The merchant_reference of this InlineResponse20012. :rtype: str """ - return self._batch_ca_endpoints + return self._merchant_reference - @batch_ca_endpoints.setter - def batch_ca_endpoints(self, batch_ca_endpoints): + @merchant_reference.setter + def merchant_reference(self, merchant_reference): """ - Sets the batch_ca_endpoints of this InlineResponse20012. + Sets the merchant_reference of this InlineResponse20012. + Reference used by merchant to identify batch. - :param batch_ca_endpoints: The batch_ca_endpoints of this InlineResponse20012. + :param merchant_reference: The merchant_reference of this InlineResponse20012. :type: str """ - self._batch_ca_endpoints = batch_ca_endpoints + self._merchant_reference = merchant_reference @property - def batch_created_date(self): + def batch_ca_endpoints(self): """ - Gets the batch_created_date of this InlineResponse20012. - ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + Gets the batch_ca_endpoints of this InlineResponse20012. - :return: The batch_created_date of this InlineResponse20012. + :return: The batch_ca_endpoints of this InlineResponse20012. :rtype: str """ - return self._batch_created_date + return self._batch_ca_endpoints - @batch_created_date.setter - def batch_created_date(self, batch_created_date): + @batch_ca_endpoints.setter + def batch_ca_endpoints(self, batch_ca_endpoints): """ - Sets the batch_created_date of this InlineResponse20012. - ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + Sets the batch_ca_endpoints of this InlineResponse20012. - :param batch_created_date: The batch_created_date of this InlineResponse20012. + :param batch_ca_endpoints: The batch_ca_endpoints of this InlineResponse20012. :type: str """ - self._batch_created_date = batch_created_date + self._batch_ca_endpoints = batch_ca_endpoints @property - def merchant_reference(self): + def status(self): """ - Gets the merchant_reference of this InlineResponse20012. - Reference used by merchant to identify batch. + Gets the status of this InlineResponse20012. + Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED - :return: The merchant_reference of this InlineResponse20012. + :return: The status of this InlineResponse20012. :rtype: str """ - return self._merchant_reference + return self._status - @merchant_reference.setter - def merchant_reference(self, merchant_reference): + @status.setter + def status(self, status): """ - Sets the merchant_reference of this InlineResponse20012. - Reference used by merchant to identify batch. + Sets the status of this InlineResponse20012. + Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED - :param merchant_reference: The merchant_reference of this InlineResponse20012. + :param status: The status of this InlineResponse20012. :type: str """ - self._merchant_reference = merchant_reference + self._status = status @property def totals(self): @@ -255,7 +255,7 @@ def totals(self): Gets the totals of this InlineResponse20012. :return: The totals of this InlineResponse20012. - :rtype: InlineResponse20010EmbeddedTotals + :rtype: InlineResponse20011EmbeddedTotals """ return self._totals @@ -265,7 +265,7 @@ def totals(self, totals): Sets the totals of this InlineResponse20012. :param totals: The totals of this InlineResponse20012. - :type: InlineResponse20010EmbeddedTotals + :type: InlineResponse20011EmbeddedTotals """ self._totals = totals @@ -276,7 +276,7 @@ def billing(self): Gets the billing of this InlineResponse20012. :return: The billing of this InlineResponse20012. - :rtype: InlineResponse20011Billing + :rtype: InlineResponse20012Billing """ return self._billing @@ -286,31 +286,31 @@ def billing(self, billing): Sets the billing of this InlineResponse20012. :param billing: The billing of this InlineResponse20012. - :type: InlineResponse20011Billing + :type: InlineResponse20012Billing """ self._billing = billing @property - def records(self): + def description(self): """ - Gets the records of this InlineResponse20012. + Gets the description of this InlineResponse20012. - :return: The records of this InlineResponse20012. - :rtype: list[InlineResponse20012Records] + :return: The description of this InlineResponse20012. + :rtype: str """ - return self._records + return self._description - @records.setter - def records(self, records): + @description.setter + def description(self, description): """ - Sets the records of this InlineResponse20012. + Sets the description of this InlineResponse20012. - :param records: The records of this InlineResponse20012. - :type: list[InlineResponse20012Records] + :param description: The description of this InlineResponse20012. + :type: str """ - self._records = records + self._description = description def to_dict(self): """ diff --git a/CyberSource/models/inline_response20011_billing.py b/CyberSource/models/inline_response20012_billing.py similarity index 76% rename from CyberSource/models/inline_response20011_billing.py rename to CyberSource/models/inline_response20012_billing.py index 3d742493..d0f43a7e 100644 --- a/CyberSource/models/inline_response20011_billing.py +++ b/CyberSource/models/inline_response20012_billing.py @@ -15,7 +15,7 @@ import re -class InlineResponse20011Billing(object): +class InlineResponse20012Billing(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -45,7 +45,7 @@ class InlineResponse20011Billing(object): def __init__(self, nan=None, ned=None, acl=None, cch=None): """ - InlineResponse20011Billing - a model defined in Swagger + InlineResponse20012Billing - a model defined in Swagger """ self._nan = None @@ -65,9 +65,9 @@ def __init__(self, nan=None, ned=None, acl=None, cch=None): @property def nan(self): """ - Gets the nan of this InlineResponse20011Billing. + Gets the nan of this InlineResponse20012Billing. - :return: The nan of this InlineResponse20011Billing. + :return: The nan of this InlineResponse20012Billing. :rtype: int """ return self._nan @@ -75,9 +75,9 @@ def nan(self): @nan.setter def nan(self, nan): """ - Sets the nan of this InlineResponse20011Billing. + Sets the nan of this InlineResponse20012Billing. - :param nan: The nan of this InlineResponse20011Billing. + :param nan: The nan of this InlineResponse20012Billing. :type: int """ @@ -86,9 +86,9 @@ def nan(self, nan): @property def ned(self): """ - Gets the ned of this InlineResponse20011Billing. + Gets the ned of this InlineResponse20012Billing. - :return: The ned of this InlineResponse20011Billing. + :return: The ned of this InlineResponse20012Billing. :rtype: int """ return self._ned @@ -96,9 +96,9 @@ def ned(self): @ned.setter def ned(self, ned): """ - Sets the ned of this InlineResponse20011Billing. + Sets the ned of this InlineResponse20012Billing. - :param ned: The ned of this InlineResponse20011Billing. + :param ned: The ned of this InlineResponse20012Billing. :type: int """ @@ -107,9 +107,9 @@ def ned(self, ned): @property def acl(self): """ - Gets the acl of this InlineResponse20011Billing. + Gets the acl of this InlineResponse20012Billing. - :return: The acl of this InlineResponse20011Billing. + :return: The acl of this InlineResponse20012Billing. :rtype: int """ return self._acl @@ -117,9 +117,9 @@ def acl(self): @acl.setter def acl(self, acl): """ - Sets the acl of this InlineResponse20011Billing. + Sets the acl of this InlineResponse20012Billing. - :param acl: The acl of this InlineResponse20011Billing. + :param acl: The acl of this InlineResponse20012Billing. :type: int """ @@ -128,9 +128,9 @@ def acl(self, acl): @property def cch(self): """ - Gets the cch of this InlineResponse20011Billing. + Gets the cch of this InlineResponse20012Billing. - :return: The cch of this InlineResponse20011Billing. + :return: The cch of this InlineResponse20012Billing. :rtype: int """ return self._cch @@ -138,9 +138,9 @@ def cch(self): @cch.setter def cch(self, cch): """ - Sets the cch of this InlineResponse20011Billing. + Sets the cch of this InlineResponse20012Billing. - :param cch: The cch of this InlineResponse20011Billing. + :param cch: The cch of this InlineResponse20012Billing. :type: int """ @@ -188,7 +188,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20011Billing): + if not isinstance(other, InlineResponse20012Billing): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20012_links.py b/CyberSource/models/inline_response20012_links.py new file mode 100644 index 00000000..a677b453 --- /dev/null +++ b/CyberSource/models/inline_response20012_links.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class InlineResponse20012Links(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + '_self': 'InlineResponse202LinksStatus', + 'report': 'list[InlineResponse20012LinksReport]' + } + + attribute_map = { + '_self': 'self', + 'report': 'report' + } + + def __init__(self, _self=None, report=None): + """ + InlineResponse20012Links - a model defined in Swagger + """ + + self.__self = None + self._report = None + + if _self is not None: + self._self = _self + if report is not None: + self.report = report + + @property + def _self(self): + """ + Gets the _self of this InlineResponse20012Links. + + :return: The _self of this InlineResponse20012Links. + :rtype: InlineResponse202LinksStatus + """ + return self.__self + + @_self.setter + def _self(self, _self): + """ + Sets the _self of this InlineResponse20012Links. + + :param _self: The _self of this InlineResponse20012Links. + :type: InlineResponse202LinksStatus + """ + + self.__self = _self + + @property + def report(self): + """ + Gets the report of this InlineResponse20012Links. + + :return: The report of this InlineResponse20012Links. + :rtype: list[InlineResponse20012LinksReport] + """ + return self._report + + @report.setter + def report(self, report): + """ + Sets the report of this InlineResponse20012Links. + + :param report: The report of this InlineResponse20012Links. + :type: list[InlineResponse20012LinksReport] + """ + + self._report = report + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, InlineResponse20012Links): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/inline_response20011_links_report.py b/CyberSource/models/inline_response20012_links_report.py similarity index 86% rename from CyberSource/models/inline_response20011_links_report.py rename to CyberSource/models/inline_response20012_links_report.py index df00b919..39f3688f 100644 --- a/CyberSource/models/inline_response20011_links_report.py +++ b/CyberSource/models/inline_response20012_links_report.py @@ -15,7 +15,7 @@ import re -class InlineResponse20011LinksReport(object): +class InlineResponse20012LinksReport(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class InlineResponse20011LinksReport(object): def __init__(self, href=None): """ - InlineResponse20011LinksReport - a model defined in Swagger + InlineResponse20012LinksReport - a model defined in Swagger """ self._href = None @@ -50,9 +50,9 @@ def __init__(self, href=None): @property def href(self): """ - Gets the href of this InlineResponse20011LinksReport. + Gets the href of this InlineResponse20012LinksReport. - :return: The href of this InlineResponse20011LinksReport. + :return: The href of this InlineResponse20012LinksReport. :rtype: str """ return self._href @@ -60,9 +60,9 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this InlineResponse20011LinksReport. + Sets the href of this InlineResponse20012LinksReport. - :param href: The href of this InlineResponse20011LinksReport. + :param href: The href of this InlineResponse20012LinksReport. :type: str """ @@ -110,7 +110,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20011LinksReport): + if not isinstance(other, InlineResponse20012LinksReport): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20013.py b/CyberSource/models/inline_response20013.py index 11dcbf43..447b4c21 100644 --- a/CyberSource/models/inline_response20013.py +++ b/CyberSource/models/inline_response20013.py @@ -30,125 +30,287 @@ class InlineResponse20013(object): and the value is json key in definition. """ swagger_types = { - 'client_reference_information': 'Bavsv1accountvalidationsClientReferenceInformation', - 'request_id': 'str', - 'submit_time_utc': 'str', - 'bank_account_validation': 'TssV2TransactionsGet200ResponseBankAccountValidation' + 'version': 'str', + 'report_created_date': 'str', + 'batch_id': 'str', + 'batch_source': 'str', + 'batch_ca_endpoints': 'str', + 'batch_created_date': 'str', + 'merchant_reference': 'str', + 'totals': 'InlineResponse20011EmbeddedTotals', + 'billing': 'InlineResponse20012Billing', + 'records': 'list[InlineResponse20013Records]' } attribute_map = { - 'client_reference_information': 'clientReferenceInformation', - 'request_id': 'requestId', - 'submit_time_utc': 'submitTimeUtc', - 'bank_account_validation': 'bankAccountValidation' + 'version': 'version', + 'report_created_date': 'reportCreatedDate', + 'batch_id': 'batchId', + 'batch_source': 'batchSource', + 'batch_ca_endpoints': 'batchCaEndpoints', + 'batch_created_date': 'batchCreatedDate', + 'merchant_reference': 'merchantReference', + 'totals': 'totals', + 'billing': 'billing', + 'records': 'records' } - def __init__(self, client_reference_information=None, request_id=None, submit_time_utc=None, bank_account_validation=None): + def __init__(self, version=None, report_created_date=None, batch_id=None, batch_source=None, batch_ca_endpoints=None, batch_created_date=None, merchant_reference=None, totals=None, billing=None, records=None): """ InlineResponse20013 - a model defined in Swagger """ - self._client_reference_information = None - self._request_id = None - self._submit_time_utc = None - self._bank_account_validation = None + self._version = None + self._report_created_date = None + self._batch_id = None + self._batch_source = None + self._batch_ca_endpoints = None + self._batch_created_date = None + self._merchant_reference = None + self._totals = None + self._billing = None + self._records = None + + if version is not None: + self.version = version + if report_created_date is not None: + self.report_created_date = report_created_date + if batch_id is not None: + self.batch_id = batch_id + if batch_source is not None: + self.batch_source = batch_source + if batch_ca_endpoints is not None: + self.batch_ca_endpoints = batch_ca_endpoints + if batch_created_date is not None: + self.batch_created_date = batch_created_date + if merchant_reference is not None: + self.merchant_reference = merchant_reference + if totals is not None: + self.totals = totals + if billing is not None: + self.billing = billing + if records is not None: + self.records = records - if client_reference_information is not None: - self.client_reference_information = client_reference_information - if request_id is not None: - self.request_id = request_id - if submit_time_utc is not None: - self.submit_time_utc = submit_time_utc - if bank_account_validation is not None: - self.bank_account_validation = bank_account_validation + @property + def version(self): + """ + Gets the version of this InlineResponse20013. + + :return: The version of this InlineResponse20013. + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """ + Sets the version of this InlineResponse20013. + + :param version: The version of this InlineResponse20013. + :type: str + """ + + self._version = version @property - def client_reference_information(self): + def report_created_date(self): """ - Gets the client_reference_information of this InlineResponse20013. + Gets the report_created_date of this InlineResponse20013. + ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - :return: The client_reference_information of this InlineResponse20013. - :rtype: Bavsv1accountvalidationsClientReferenceInformation + :return: The report_created_date of this InlineResponse20013. + :rtype: str """ - return self._client_reference_information + return self._report_created_date - @client_reference_information.setter - def client_reference_information(self, client_reference_information): + @report_created_date.setter + def report_created_date(self, report_created_date): """ - Sets the client_reference_information of this InlineResponse20013. + Sets the report_created_date of this InlineResponse20013. + ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - :param client_reference_information: The client_reference_information of this InlineResponse20013. - :type: Bavsv1accountvalidationsClientReferenceInformation + :param report_created_date: The report_created_date of this InlineResponse20013. + :type: str """ - self._client_reference_information = client_reference_information + self._report_created_date = report_created_date @property - def request_id(self): + def batch_id(self): """ - Gets the request_id of this InlineResponse20013. - Request Id sent as part of the request. + Gets the batch_id of this InlineResponse20013. + Unique identification number assigned to the submitted request. - :return: The request_id of this InlineResponse20013. + :return: The batch_id of this InlineResponse20013. :rtype: str """ - return self._request_id + return self._batch_id - @request_id.setter - def request_id(self, request_id): + @batch_id.setter + def batch_id(self, batch_id): """ - Sets the request_id of this InlineResponse20013. - Request Id sent as part of the request. + Sets the batch_id of this InlineResponse20013. + Unique identification number assigned to the submitted request. - :param request_id: The request_id of this InlineResponse20013. + :param batch_id: The batch_id of this InlineResponse20013. :type: str """ - self._request_id = request_id + self._batch_id = batch_id @property - def submit_time_utc(self): + def batch_source(self): """ - Gets the submit_time_utc of this InlineResponse20013. - Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) + Gets the batch_source of this InlineResponse20013. + Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - :return: The submit_time_utc of this InlineResponse20013. + :return: The batch_source of this InlineResponse20013. :rtype: str """ - return self._submit_time_utc + return self._batch_source - @submit_time_utc.setter - def submit_time_utc(self, submit_time_utc): + @batch_source.setter + def batch_source(self, batch_source): """ - Sets the submit_time_utc of this InlineResponse20013. - Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) + Sets the batch_source of this InlineResponse20013. + Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - :param submit_time_utc: The submit_time_utc of this InlineResponse20013. + :param batch_source: The batch_source of this InlineResponse20013. :type: str """ - self._submit_time_utc = submit_time_utc + self._batch_source = batch_source + + @property + def batch_ca_endpoints(self): + """ + Gets the batch_ca_endpoints of this InlineResponse20013. + + :return: The batch_ca_endpoints of this InlineResponse20013. + :rtype: str + """ + return self._batch_ca_endpoints + + @batch_ca_endpoints.setter + def batch_ca_endpoints(self, batch_ca_endpoints): + """ + Sets the batch_ca_endpoints of this InlineResponse20013. + + :param batch_ca_endpoints: The batch_ca_endpoints of this InlineResponse20013. + :type: str + """ + + self._batch_ca_endpoints = batch_ca_endpoints + + @property + def batch_created_date(self): + """ + Gets the batch_created_date of this InlineResponse20013. + ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + + :return: The batch_created_date of this InlineResponse20013. + :rtype: str + """ + return self._batch_created_date + + @batch_created_date.setter + def batch_created_date(self, batch_created_date): + """ + Sets the batch_created_date of this InlineResponse20013. + ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + + :param batch_created_date: The batch_created_date of this InlineResponse20013. + :type: str + """ + + self._batch_created_date = batch_created_date + + @property + def merchant_reference(self): + """ + Gets the merchant_reference of this InlineResponse20013. + Reference used by merchant to identify batch. + + :return: The merchant_reference of this InlineResponse20013. + :rtype: str + """ + return self._merchant_reference + + @merchant_reference.setter + def merchant_reference(self, merchant_reference): + """ + Sets the merchant_reference of this InlineResponse20013. + Reference used by merchant to identify batch. + + :param merchant_reference: The merchant_reference of this InlineResponse20013. + :type: str + """ + + self._merchant_reference = merchant_reference + + @property + def totals(self): + """ + Gets the totals of this InlineResponse20013. + + :return: The totals of this InlineResponse20013. + :rtype: InlineResponse20011EmbeddedTotals + """ + return self._totals + + @totals.setter + def totals(self, totals): + """ + Sets the totals of this InlineResponse20013. + + :param totals: The totals of this InlineResponse20013. + :type: InlineResponse20011EmbeddedTotals + """ + + self._totals = totals + + @property + def billing(self): + """ + Gets the billing of this InlineResponse20013. + + :return: The billing of this InlineResponse20013. + :rtype: InlineResponse20012Billing + """ + return self._billing + + @billing.setter + def billing(self, billing): + """ + Sets the billing of this InlineResponse20013. + + :param billing: The billing of this InlineResponse20013. + :type: InlineResponse20012Billing + """ + + self._billing = billing @property - def bank_account_validation(self): + def records(self): """ - Gets the bank_account_validation of this InlineResponse20013. + Gets the records of this InlineResponse20013. - :return: The bank_account_validation of this InlineResponse20013. - :rtype: TssV2TransactionsGet200ResponseBankAccountValidation + :return: The records of this InlineResponse20013. + :rtype: list[InlineResponse20013Records] """ - return self._bank_account_validation + return self._records - @bank_account_validation.setter - def bank_account_validation(self, bank_account_validation): + @records.setter + def records(self, records): """ - Sets the bank_account_validation of this InlineResponse20013. + Sets the records of this InlineResponse20013. - :param bank_account_validation: The bank_account_validation of this InlineResponse20013. - :type: TssV2TransactionsGet200ResponseBankAccountValidation + :param records: The records of this InlineResponse20013. + :type: list[InlineResponse20013Records] """ - self._bank_account_validation = bank_account_validation + self._records = records def to_dict(self): """ diff --git a/CyberSource/models/inline_response20012_records.py b/CyberSource/models/inline_response20013_records.py similarity index 76% rename from CyberSource/models/inline_response20012_records.py rename to CyberSource/models/inline_response20013_records.py index e4ba7c38..d01dc1e5 100644 --- a/CyberSource/models/inline_response20012_records.py +++ b/CyberSource/models/inline_response20013_records.py @@ -15,7 +15,7 @@ import re -class InlineResponse20012Records(object): +class InlineResponse20013Records(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,8 +31,8 @@ class InlineResponse20012Records(object): """ swagger_types = { 'id': 'str', - 'source_record': 'InlineResponse20012SourceRecord', - 'response_record': 'InlineResponse20012ResponseRecord' + 'source_record': 'InlineResponse20013SourceRecord', + 'response_record': 'InlineResponse20013ResponseRecord' } attribute_map = { @@ -43,7 +43,7 @@ class InlineResponse20012Records(object): def __init__(self, id=None, source_record=None, response_record=None): """ - InlineResponse20012Records - a model defined in Swagger + InlineResponse20013Records - a model defined in Swagger """ self._id = None @@ -60,9 +60,9 @@ def __init__(self, id=None, source_record=None, response_record=None): @property def id(self): """ - Gets the id of this InlineResponse20012Records. + Gets the id of this InlineResponse20013Records. - :return: The id of this InlineResponse20012Records. + :return: The id of this InlineResponse20013Records. :rtype: str """ return self._id @@ -70,9 +70,9 @@ def id(self): @id.setter def id(self, id): """ - Sets the id of this InlineResponse20012Records. + Sets the id of this InlineResponse20013Records. - :param id: The id of this InlineResponse20012Records. + :param id: The id of this InlineResponse20013Records. :type: str """ @@ -81,20 +81,20 @@ def id(self, id): @property def source_record(self): """ - Gets the source_record of this InlineResponse20012Records. + Gets the source_record of this InlineResponse20013Records. - :return: The source_record of this InlineResponse20012Records. - :rtype: InlineResponse20012SourceRecord + :return: The source_record of this InlineResponse20013Records. + :rtype: InlineResponse20013SourceRecord """ return self._source_record @source_record.setter def source_record(self, source_record): """ - Sets the source_record of this InlineResponse20012Records. + Sets the source_record of this InlineResponse20013Records. - :param source_record: The source_record of this InlineResponse20012Records. - :type: InlineResponse20012SourceRecord + :param source_record: The source_record of this InlineResponse20013Records. + :type: InlineResponse20013SourceRecord """ self._source_record = source_record @@ -102,20 +102,20 @@ def source_record(self, source_record): @property def response_record(self): """ - Gets the response_record of this InlineResponse20012Records. + Gets the response_record of this InlineResponse20013Records. - :return: The response_record of this InlineResponse20012Records. - :rtype: InlineResponse20012ResponseRecord + :return: The response_record of this InlineResponse20013Records. + :rtype: InlineResponse20013ResponseRecord """ return self._response_record @response_record.setter def response_record(self, response_record): """ - Sets the response_record of this InlineResponse20012Records. + Sets the response_record of this InlineResponse20013Records. - :param response_record: The response_record of this InlineResponse20012Records. - :type: InlineResponse20012ResponseRecord + :param response_record: The response_record of this InlineResponse20013Records. + :type: InlineResponse20013ResponseRecord """ self._response_record = response_record @@ -162,7 +162,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20012Records): + if not isinstance(other, InlineResponse20013Records): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20012_response_record.py b/CyberSource/models/inline_response20013_response_record.py similarity index 79% rename from CyberSource/models/inline_response20012_response_record.py rename to CyberSource/models/inline_response20013_response_record.py index 4bf8844c..0532767a 100644 --- a/CyberSource/models/inline_response20012_response_record.py +++ b/CyberSource/models/inline_response20013_response_record.py @@ -15,7 +15,7 @@ import re -class InlineResponse20012ResponseRecord(object): +class InlineResponse20013ResponseRecord(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class InlineResponse20012ResponseRecord(object): 'card_expiry_month': 'str', 'card_expiry_year': 'str', 'card_type': 'str', - 'additional_updates': 'list[InlineResponse20012ResponseRecordAdditionalUpdates]' + 'additional_updates': 'list[InlineResponse20013ResponseRecordAdditionalUpdates]' } attribute_map = { @@ -57,7 +57,7 @@ class InlineResponse20012ResponseRecord(object): def __init__(self, response=None, reason=None, token=None, instrument_identifier_id=None, instrument_identifier_created=None, card_number=None, card_expiry_month=None, card_expiry_year=None, card_type=None, additional_updates=None): """ - InlineResponse20012ResponseRecord - a model defined in Swagger + InlineResponse20013ResponseRecord - a model defined in Swagger """ self._response = None @@ -95,10 +95,10 @@ def __init__(self, response=None, reason=None, token=None, instrument_identifier @property def response(self): """ - Gets the response of this InlineResponse20012ResponseRecord. + Gets the response of this InlineResponse20013ResponseRecord. Valid Values: * NAN * NED * ACL * CCH * CUR * NUP * UNA * ERR * DEC - :return: The response of this InlineResponse20012ResponseRecord. + :return: The response of this InlineResponse20013ResponseRecord. :rtype: str """ return self._response @@ -106,10 +106,10 @@ def response(self): @response.setter def response(self, response): """ - Sets the response of this InlineResponse20012ResponseRecord. + Sets the response of this InlineResponse20013ResponseRecord. Valid Values: * NAN * NED * ACL * CCH * CUR * NUP * UNA * ERR * DEC - :param response: The response of this InlineResponse20012ResponseRecord. + :param response: The response of this InlineResponse20013ResponseRecord. :type: str """ @@ -118,9 +118,9 @@ def response(self, response): @property def reason(self): """ - Gets the reason of this InlineResponse20012ResponseRecord. + Gets the reason of this InlineResponse20013ResponseRecord. - :return: The reason of this InlineResponse20012ResponseRecord. + :return: The reason of this InlineResponse20013ResponseRecord. :rtype: str """ return self._reason @@ -128,9 +128,9 @@ def reason(self): @reason.setter def reason(self, reason): """ - Sets the reason of this InlineResponse20012ResponseRecord. + Sets the reason of this InlineResponse20013ResponseRecord. - :param reason: The reason of this InlineResponse20012ResponseRecord. + :param reason: The reason of this InlineResponse20013ResponseRecord. :type: str """ @@ -139,9 +139,9 @@ def reason(self, reason): @property def token(self): """ - Gets the token of this InlineResponse20012ResponseRecord. + Gets the token of this InlineResponse20013ResponseRecord. - :return: The token of this InlineResponse20012ResponseRecord. + :return: The token of this InlineResponse20013ResponseRecord. :rtype: str """ return self._token @@ -149,9 +149,9 @@ def token(self): @token.setter def token(self, token): """ - Sets the token of this InlineResponse20012ResponseRecord. + Sets the token of this InlineResponse20013ResponseRecord. - :param token: The token of this InlineResponse20012ResponseRecord. + :param token: The token of this InlineResponse20013ResponseRecord. :type: str """ @@ -160,9 +160,9 @@ def token(self, token): @property def instrument_identifier_id(self): """ - Gets the instrument_identifier_id of this InlineResponse20012ResponseRecord. + Gets the instrument_identifier_id of this InlineResponse20013ResponseRecord. - :return: The instrument_identifier_id of this InlineResponse20012ResponseRecord. + :return: The instrument_identifier_id of this InlineResponse20013ResponseRecord. :rtype: str """ return self._instrument_identifier_id @@ -170,9 +170,9 @@ def instrument_identifier_id(self): @instrument_identifier_id.setter def instrument_identifier_id(self, instrument_identifier_id): """ - Sets the instrument_identifier_id of this InlineResponse20012ResponseRecord. + Sets the instrument_identifier_id of this InlineResponse20013ResponseRecord. - :param instrument_identifier_id: The instrument_identifier_id of this InlineResponse20012ResponseRecord. + :param instrument_identifier_id: The instrument_identifier_id of this InlineResponse20013ResponseRecord. :type: str """ @@ -181,10 +181,10 @@ def instrument_identifier_id(self, instrument_identifier_id): @property def instrument_identifier_created(self): """ - Gets the instrument_identifier_created of this InlineResponse20012ResponseRecord. + Gets the instrument_identifier_created of this InlineResponse20013ResponseRecord. Valid Values: * true * false - :return: The instrument_identifier_created of this InlineResponse20012ResponseRecord. + :return: The instrument_identifier_created of this InlineResponse20013ResponseRecord. :rtype: str """ return self._instrument_identifier_created @@ -192,10 +192,10 @@ def instrument_identifier_created(self): @instrument_identifier_created.setter def instrument_identifier_created(self, instrument_identifier_created): """ - Sets the instrument_identifier_created of this InlineResponse20012ResponseRecord. + Sets the instrument_identifier_created of this InlineResponse20013ResponseRecord. Valid Values: * true * false - :param instrument_identifier_created: The instrument_identifier_created of this InlineResponse20012ResponseRecord. + :param instrument_identifier_created: The instrument_identifier_created of this InlineResponse20013ResponseRecord. :type: str """ @@ -204,9 +204,9 @@ def instrument_identifier_created(self, instrument_identifier_created): @property def card_number(self): """ - Gets the card_number of this InlineResponse20012ResponseRecord. + Gets the card_number of this InlineResponse20013ResponseRecord. - :return: The card_number of this InlineResponse20012ResponseRecord. + :return: The card_number of this InlineResponse20013ResponseRecord. :rtype: str """ return self._card_number @@ -214,9 +214,9 @@ def card_number(self): @card_number.setter def card_number(self, card_number): """ - Sets the card_number of this InlineResponse20012ResponseRecord. + Sets the card_number of this InlineResponse20013ResponseRecord. - :param card_number: The card_number of this InlineResponse20012ResponseRecord. + :param card_number: The card_number of this InlineResponse20013ResponseRecord. :type: str """ @@ -225,9 +225,9 @@ def card_number(self, card_number): @property def card_expiry_month(self): """ - Gets the card_expiry_month of this InlineResponse20012ResponseRecord. + Gets the card_expiry_month of this InlineResponse20013ResponseRecord. - :return: The card_expiry_month of this InlineResponse20012ResponseRecord. + :return: The card_expiry_month of this InlineResponse20013ResponseRecord. :rtype: str """ return self._card_expiry_month @@ -235,9 +235,9 @@ def card_expiry_month(self): @card_expiry_month.setter def card_expiry_month(self, card_expiry_month): """ - Sets the card_expiry_month of this InlineResponse20012ResponseRecord. + Sets the card_expiry_month of this InlineResponse20013ResponseRecord. - :param card_expiry_month: The card_expiry_month of this InlineResponse20012ResponseRecord. + :param card_expiry_month: The card_expiry_month of this InlineResponse20013ResponseRecord. :type: str """ @@ -246,9 +246,9 @@ def card_expiry_month(self, card_expiry_month): @property def card_expiry_year(self): """ - Gets the card_expiry_year of this InlineResponse20012ResponseRecord. + Gets the card_expiry_year of this InlineResponse20013ResponseRecord. - :return: The card_expiry_year of this InlineResponse20012ResponseRecord. + :return: The card_expiry_year of this InlineResponse20013ResponseRecord. :rtype: str """ return self._card_expiry_year @@ -256,9 +256,9 @@ def card_expiry_year(self): @card_expiry_year.setter def card_expiry_year(self, card_expiry_year): """ - Sets the card_expiry_year of this InlineResponse20012ResponseRecord. + Sets the card_expiry_year of this InlineResponse20013ResponseRecord. - :param card_expiry_year: The card_expiry_year of this InlineResponse20012ResponseRecord. + :param card_expiry_year: The card_expiry_year of this InlineResponse20013ResponseRecord. :type: str """ @@ -267,9 +267,9 @@ def card_expiry_year(self, card_expiry_year): @property def card_type(self): """ - Gets the card_type of this InlineResponse20012ResponseRecord. + Gets the card_type of this InlineResponse20013ResponseRecord. - :return: The card_type of this InlineResponse20012ResponseRecord. + :return: The card_type of this InlineResponse20013ResponseRecord. :rtype: str """ return self._card_type @@ -277,9 +277,9 @@ def card_type(self): @card_type.setter def card_type(self, card_type): """ - Sets the card_type of this InlineResponse20012ResponseRecord. + Sets the card_type of this InlineResponse20013ResponseRecord. - :param card_type: The card_type of this InlineResponse20012ResponseRecord. + :param card_type: The card_type of this InlineResponse20013ResponseRecord. :type: str """ @@ -288,20 +288,20 @@ def card_type(self, card_type): @property def additional_updates(self): """ - Gets the additional_updates of this InlineResponse20012ResponseRecord. + Gets the additional_updates of this InlineResponse20013ResponseRecord. - :return: The additional_updates of this InlineResponse20012ResponseRecord. - :rtype: list[InlineResponse20012ResponseRecordAdditionalUpdates] + :return: The additional_updates of this InlineResponse20013ResponseRecord. + :rtype: list[InlineResponse20013ResponseRecordAdditionalUpdates] """ return self._additional_updates @additional_updates.setter def additional_updates(self, additional_updates): """ - Sets the additional_updates of this InlineResponse20012ResponseRecord. + Sets the additional_updates of this InlineResponse20013ResponseRecord. - :param additional_updates: The additional_updates of this InlineResponse20012ResponseRecord. - :type: list[InlineResponse20012ResponseRecordAdditionalUpdates] + :param additional_updates: The additional_updates of this InlineResponse20013ResponseRecord. + :type: list[InlineResponse20013ResponseRecordAdditionalUpdates] """ self._additional_updates = additional_updates @@ -348,7 +348,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20012ResponseRecord): + if not isinstance(other, InlineResponse20013ResponseRecord): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20012_response_record_additional_updates.py b/CyberSource/models/inline_response20013_response_record_additional_updates.py similarity index 79% rename from CyberSource/models/inline_response20012_response_record_additional_updates.py rename to CyberSource/models/inline_response20013_response_record_additional_updates.py index 434c8ac6..10bb79cc 100644 --- a/CyberSource/models/inline_response20012_response_record_additional_updates.py +++ b/CyberSource/models/inline_response20013_response_record_additional_updates.py @@ -15,7 +15,7 @@ import re -class InlineResponse20012ResponseRecordAdditionalUpdates(object): +class InlineResponse20013ResponseRecordAdditionalUpdates(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +47,7 @@ class InlineResponse20012ResponseRecordAdditionalUpdates(object): def __init__(self, customer_id=None, payment_instrument_id=None, creator=None, state=None, message=None): """ - InlineResponse20012ResponseRecordAdditionalUpdates - a model defined in Swagger + InlineResponse20013ResponseRecordAdditionalUpdates - a model defined in Swagger """ self._customer_id = None @@ -70,9 +70,9 @@ def __init__(self, customer_id=None, payment_instrument_id=None, creator=None, s @property def customer_id(self): """ - Gets the customer_id of this InlineResponse20012ResponseRecordAdditionalUpdates. + Gets the customer_id of this InlineResponse20013ResponseRecordAdditionalUpdates. - :return: The customer_id of this InlineResponse20012ResponseRecordAdditionalUpdates. + :return: The customer_id of this InlineResponse20013ResponseRecordAdditionalUpdates. :rtype: str """ return self._customer_id @@ -80,9 +80,9 @@ def customer_id(self): @customer_id.setter def customer_id(self, customer_id): """ - Sets the customer_id of this InlineResponse20012ResponseRecordAdditionalUpdates. + Sets the customer_id of this InlineResponse20013ResponseRecordAdditionalUpdates. - :param customer_id: The customer_id of this InlineResponse20012ResponseRecordAdditionalUpdates. + :param customer_id: The customer_id of this InlineResponse20013ResponseRecordAdditionalUpdates. :type: str """ @@ -91,9 +91,9 @@ def customer_id(self, customer_id): @property def payment_instrument_id(self): """ - Gets the payment_instrument_id of this InlineResponse20012ResponseRecordAdditionalUpdates. + Gets the payment_instrument_id of this InlineResponse20013ResponseRecordAdditionalUpdates. - :return: The payment_instrument_id of this InlineResponse20012ResponseRecordAdditionalUpdates. + :return: The payment_instrument_id of this InlineResponse20013ResponseRecordAdditionalUpdates. :rtype: str """ return self._payment_instrument_id @@ -101,9 +101,9 @@ def payment_instrument_id(self): @payment_instrument_id.setter def payment_instrument_id(self, payment_instrument_id): """ - Sets the payment_instrument_id of this InlineResponse20012ResponseRecordAdditionalUpdates. + Sets the payment_instrument_id of this InlineResponse20013ResponseRecordAdditionalUpdates. - :param payment_instrument_id: The payment_instrument_id of this InlineResponse20012ResponseRecordAdditionalUpdates. + :param payment_instrument_id: The payment_instrument_id of this InlineResponse20013ResponseRecordAdditionalUpdates. :type: str """ @@ -112,9 +112,9 @@ def payment_instrument_id(self, payment_instrument_id): @property def creator(self): """ - Gets the creator of this InlineResponse20012ResponseRecordAdditionalUpdates. + Gets the creator of this InlineResponse20013ResponseRecordAdditionalUpdates. - :return: The creator of this InlineResponse20012ResponseRecordAdditionalUpdates. + :return: The creator of this InlineResponse20013ResponseRecordAdditionalUpdates. :rtype: str """ return self._creator @@ -122,9 +122,9 @@ def creator(self): @creator.setter def creator(self, creator): """ - Sets the creator of this InlineResponse20012ResponseRecordAdditionalUpdates. + Sets the creator of this InlineResponse20013ResponseRecordAdditionalUpdates. - :param creator: The creator of this InlineResponse20012ResponseRecordAdditionalUpdates. + :param creator: The creator of this InlineResponse20013ResponseRecordAdditionalUpdates. :type: str """ @@ -133,10 +133,10 @@ def creator(self, creator): @property def state(self): """ - Gets the state of this InlineResponse20012ResponseRecordAdditionalUpdates. + Gets the state of this InlineResponse20013ResponseRecordAdditionalUpdates. Valid Values: * ACTIVE * CLOSED - :return: The state of this InlineResponse20012ResponseRecordAdditionalUpdates. + :return: The state of this InlineResponse20013ResponseRecordAdditionalUpdates. :rtype: str """ return self._state @@ -144,10 +144,10 @@ def state(self): @state.setter def state(self, state): """ - Sets the state of this InlineResponse20012ResponseRecordAdditionalUpdates. + Sets the state of this InlineResponse20013ResponseRecordAdditionalUpdates. Valid Values: * ACTIVE * CLOSED - :param state: The state of this InlineResponse20012ResponseRecordAdditionalUpdates. + :param state: The state of this InlineResponse20013ResponseRecordAdditionalUpdates. :type: str """ @@ -156,9 +156,9 @@ def state(self, state): @property def message(self): """ - Gets the message of this InlineResponse20012ResponseRecordAdditionalUpdates. + Gets the message of this InlineResponse20013ResponseRecordAdditionalUpdates. - :return: The message of this InlineResponse20012ResponseRecordAdditionalUpdates. + :return: The message of this InlineResponse20013ResponseRecordAdditionalUpdates. :rtype: str """ return self._message @@ -166,9 +166,9 @@ def message(self): @message.setter def message(self, message): """ - Sets the message of this InlineResponse20012ResponseRecordAdditionalUpdates. + Sets the message of this InlineResponse20013ResponseRecordAdditionalUpdates. - :param message: The message of this InlineResponse20012ResponseRecordAdditionalUpdates. + :param message: The message of this InlineResponse20013ResponseRecordAdditionalUpdates. :type: str """ @@ -216,7 +216,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20012ResponseRecordAdditionalUpdates): + if not isinstance(other, InlineResponse20013ResponseRecordAdditionalUpdates): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20012_source_record.py b/CyberSource/models/inline_response20013_source_record.py similarity index 82% rename from CyberSource/models/inline_response20012_source_record.py rename to CyberSource/models/inline_response20013_source_record.py index db28d510..f0fc6f1e 100644 --- a/CyberSource/models/inline_response20012_source_record.py +++ b/CyberSource/models/inline_response20013_source_record.py @@ -15,7 +15,7 @@ import re -class InlineResponse20012SourceRecord(object): +class InlineResponse20013SourceRecord(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -53,7 +53,7 @@ class InlineResponse20012SourceRecord(object): def __init__(self, token=None, customer_id=None, payment_instrument_id=None, instrument_identifier_id=None, card_number=None, card_expiry_month=None, card_expiry_year=None, card_type=None): """ - InlineResponse20012SourceRecord - a model defined in Swagger + InlineResponse20013SourceRecord - a model defined in Swagger """ self._token = None @@ -85,9 +85,9 @@ def __init__(self, token=None, customer_id=None, payment_instrument_id=None, ins @property def token(self): """ - Gets the token of this InlineResponse20012SourceRecord. + Gets the token of this InlineResponse20013SourceRecord. - :return: The token of this InlineResponse20012SourceRecord. + :return: The token of this InlineResponse20013SourceRecord. :rtype: str """ return self._token @@ -95,9 +95,9 @@ def token(self): @token.setter def token(self, token): """ - Sets the token of this InlineResponse20012SourceRecord. + Sets the token of this InlineResponse20013SourceRecord. - :param token: The token of this InlineResponse20012SourceRecord. + :param token: The token of this InlineResponse20013SourceRecord. :type: str """ @@ -106,9 +106,9 @@ def token(self, token): @property def customer_id(self): """ - Gets the customer_id of this InlineResponse20012SourceRecord. + Gets the customer_id of this InlineResponse20013SourceRecord. - :return: The customer_id of this InlineResponse20012SourceRecord. + :return: The customer_id of this InlineResponse20013SourceRecord. :rtype: str """ return self._customer_id @@ -116,9 +116,9 @@ def customer_id(self): @customer_id.setter def customer_id(self, customer_id): """ - Sets the customer_id of this InlineResponse20012SourceRecord. + Sets the customer_id of this InlineResponse20013SourceRecord. - :param customer_id: The customer_id of this InlineResponse20012SourceRecord. + :param customer_id: The customer_id of this InlineResponse20013SourceRecord. :type: str """ @@ -127,9 +127,9 @@ def customer_id(self, customer_id): @property def payment_instrument_id(self): """ - Gets the payment_instrument_id of this InlineResponse20012SourceRecord. + Gets the payment_instrument_id of this InlineResponse20013SourceRecord. - :return: The payment_instrument_id of this InlineResponse20012SourceRecord. + :return: The payment_instrument_id of this InlineResponse20013SourceRecord. :rtype: str """ return self._payment_instrument_id @@ -137,9 +137,9 @@ def payment_instrument_id(self): @payment_instrument_id.setter def payment_instrument_id(self, payment_instrument_id): """ - Sets the payment_instrument_id of this InlineResponse20012SourceRecord. + Sets the payment_instrument_id of this InlineResponse20013SourceRecord. - :param payment_instrument_id: The payment_instrument_id of this InlineResponse20012SourceRecord. + :param payment_instrument_id: The payment_instrument_id of this InlineResponse20013SourceRecord. :type: str """ @@ -148,9 +148,9 @@ def payment_instrument_id(self, payment_instrument_id): @property def instrument_identifier_id(self): """ - Gets the instrument_identifier_id of this InlineResponse20012SourceRecord. + Gets the instrument_identifier_id of this InlineResponse20013SourceRecord. - :return: The instrument_identifier_id of this InlineResponse20012SourceRecord. + :return: The instrument_identifier_id of this InlineResponse20013SourceRecord. :rtype: str """ return self._instrument_identifier_id @@ -158,9 +158,9 @@ def instrument_identifier_id(self): @instrument_identifier_id.setter def instrument_identifier_id(self, instrument_identifier_id): """ - Sets the instrument_identifier_id of this InlineResponse20012SourceRecord. + Sets the instrument_identifier_id of this InlineResponse20013SourceRecord. - :param instrument_identifier_id: The instrument_identifier_id of this InlineResponse20012SourceRecord. + :param instrument_identifier_id: The instrument_identifier_id of this InlineResponse20013SourceRecord. :type: str """ @@ -169,9 +169,9 @@ def instrument_identifier_id(self, instrument_identifier_id): @property def card_number(self): """ - Gets the card_number of this InlineResponse20012SourceRecord. + Gets the card_number of this InlineResponse20013SourceRecord. - :return: The card_number of this InlineResponse20012SourceRecord. + :return: The card_number of this InlineResponse20013SourceRecord. :rtype: str """ return self._card_number @@ -179,9 +179,9 @@ def card_number(self): @card_number.setter def card_number(self, card_number): """ - Sets the card_number of this InlineResponse20012SourceRecord. + Sets the card_number of this InlineResponse20013SourceRecord. - :param card_number: The card_number of this InlineResponse20012SourceRecord. + :param card_number: The card_number of this InlineResponse20013SourceRecord. :type: str """ @@ -190,9 +190,9 @@ def card_number(self, card_number): @property def card_expiry_month(self): """ - Gets the card_expiry_month of this InlineResponse20012SourceRecord. + Gets the card_expiry_month of this InlineResponse20013SourceRecord. - :return: The card_expiry_month of this InlineResponse20012SourceRecord. + :return: The card_expiry_month of this InlineResponse20013SourceRecord. :rtype: str """ return self._card_expiry_month @@ -200,9 +200,9 @@ def card_expiry_month(self): @card_expiry_month.setter def card_expiry_month(self, card_expiry_month): """ - Sets the card_expiry_month of this InlineResponse20012SourceRecord. + Sets the card_expiry_month of this InlineResponse20013SourceRecord. - :param card_expiry_month: The card_expiry_month of this InlineResponse20012SourceRecord. + :param card_expiry_month: The card_expiry_month of this InlineResponse20013SourceRecord. :type: str """ @@ -211,9 +211,9 @@ def card_expiry_month(self, card_expiry_month): @property def card_expiry_year(self): """ - Gets the card_expiry_year of this InlineResponse20012SourceRecord. + Gets the card_expiry_year of this InlineResponse20013SourceRecord. - :return: The card_expiry_year of this InlineResponse20012SourceRecord. + :return: The card_expiry_year of this InlineResponse20013SourceRecord. :rtype: str """ return self._card_expiry_year @@ -221,9 +221,9 @@ def card_expiry_year(self): @card_expiry_year.setter def card_expiry_year(self, card_expiry_year): """ - Sets the card_expiry_year of this InlineResponse20012SourceRecord. + Sets the card_expiry_year of this InlineResponse20013SourceRecord. - :param card_expiry_year: The card_expiry_year of this InlineResponse20012SourceRecord. + :param card_expiry_year: The card_expiry_year of this InlineResponse20013SourceRecord. :type: str """ @@ -232,9 +232,9 @@ def card_expiry_year(self, card_expiry_year): @property def card_type(self): """ - Gets the card_type of this InlineResponse20012SourceRecord. + Gets the card_type of this InlineResponse20013SourceRecord. - :return: The card_type of this InlineResponse20012SourceRecord. + :return: The card_type of this InlineResponse20013SourceRecord. :rtype: str """ return self._card_type @@ -242,9 +242,9 @@ def card_type(self): @card_type.setter def card_type(self, card_type): """ - Sets the card_type of this InlineResponse20012SourceRecord. + Sets the card_type of this InlineResponse20013SourceRecord. - :param card_type: The card_type of this InlineResponse20012SourceRecord. + :param card_type: The card_type of this InlineResponse20013SourceRecord. :type: str """ @@ -292,7 +292,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20012SourceRecord): + if not isinstance(other, InlineResponse20013SourceRecord): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response20014.py b/CyberSource/models/inline_response20014.py index 75703aa6..df9273ba 100644 --- a/CyberSource/models/inline_response20014.py +++ b/CyberSource/models/inline_response20014.py @@ -30,44 +30,37 @@ class InlineResponse20014(object): and the value is json key in definition. """ swagger_types = { - 'client_reference_information': 'InlineResponse20014ClientReferenceInformation', - 'id': 'str', + 'client_reference_information': 'Bavsv1accountvalidationsClientReferenceInformation', + 'request_id': 'str', 'submit_time_utc': 'str', - 'status': 'str', - 'error_information': 'InlineResponse2018ErrorInformation', - 'order_information': 'InlineResponse2018OrderInformation' + 'bank_account_validation': 'TssV2TransactionsGet200ResponseBankAccountValidation' } attribute_map = { 'client_reference_information': 'clientReferenceInformation', - 'id': 'id', + 'request_id': 'requestId', 'submit_time_utc': 'submitTimeUtc', - 'status': 'status', - 'error_information': 'errorInformation', - 'order_information': 'orderInformation' + 'bank_account_validation': 'bankAccountValidation' } - def __init__(self, client_reference_information=None, id=None, submit_time_utc=None, status=None, error_information=None, order_information=None): + def __init__(self, client_reference_information=None, request_id=None, submit_time_utc=None, bank_account_validation=None): """ InlineResponse20014 - a model defined in Swagger """ self._client_reference_information = None - self._id = None + self._request_id = None self._submit_time_utc = None - self._status = None - self._error_information = None - self._order_information = None + self._bank_account_validation = None if client_reference_information is not None: self.client_reference_information = client_reference_information - self.id = id - self.submit_time_utc = submit_time_utc - self.status = status - if error_information is not None: - self.error_information = error_information - if order_information is not None: - self.order_information = order_information + if request_id is not None: + self.request_id = request_id + if submit_time_utc is not None: + self.submit_time_utc = submit_time_utc + if bank_account_validation is not None: + self.bank_account_validation = bank_account_validation @property def client_reference_information(self): @@ -75,7 +68,7 @@ def client_reference_information(self): Gets the client_reference_information of this InlineResponse20014. :return: The client_reference_information of this InlineResponse20014. - :rtype: InlineResponse20014ClientReferenceInformation + :rtype: Bavsv1accountvalidationsClientReferenceInformation """ return self._client_reference_information @@ -85,39 +78,39 @@ def client_reference_information(self, client_reference_information): Sets the client_reference_information of this InlineResponse20014. :param client_reference_information: The client_reference_information of this InlineResponse20014. - :type: InlineResponse20014ClientReferenceInformation + :type: Bavsv1accountvalidationsClientReferenceInformation """ self._client_reference_information = client_reference_information @property - def id(self): + def request_id(self): """ - Gets the id of this InlineResponse20014. - Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid + Gets the request_id of this InlineResponse20014. + Request Id sent as part of the request. - :return: The id of this InlineResponse20014. + :return: The request_id of this InlineResponse20014. :rtype: str """ - return self._id + return self._request_id - @id.setter - def id(self, id): + @request_id.setter + def request_id(self, request_id): """ - Sets the id of this InlineResponse20014. - Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid + Sets the request_id of this InlineResponse20014. + Request Id sent as part of the request. - :param id: The id of this InlineResponse20014. + :param request_id: The request_id of this InlineResponse20014. :type: str """ - self._id = id + self._request_id = request_id @property def submit_time_utc(self): """ Gets the submit_time_utc of this InlineResponse20014. - Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) :return: The submit_time_utc of this InlineResponse20014. :rtype: str @@ -128,7 +121,7 @@ def submit_time_utc(self): def submit_time_utc(self, submit_time_utc): """ Sets the submit_time_utc of this InlineResponse20014. - Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) :param submit_time_utc: The submit_time_utc of this InlineResponse20014. :type: str @@ -137,69 +130,25 @@ def submit_time_utc(self, submit_time_utc): self._submit_time_utc = submit_time_utc @property - def status(self): + def bank_account_validation(self): """ - Gets the status of this InlineResponse20014. - Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` + Gets the bank_account_validation of this InlineResponse20014. - :return: The status of this InlineResponse20014. - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """ - Sets the status of this InlineResponse20014. - Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` - - :param status: The status of this InlineResponse20014. - :type: str - """ - - self._status = status - - @property - def error_information(self): - """ - Gets the error_information of this InlineResponse20014. - - :return: The error_information of this InlineResponse20014. - :rtype: InlineResponse2018ErrorInformation - """ - return self._error_information - - @error_information.setter - def error_information(self, error_information): - """ - Sets the error_information of this InlineResponse20014. - - :param error_information: The error_information of this InlineResponse20014. - :type: InlineResponse2018ErrorInformation - """ - - self._error_information = error_information - - @property - def order_information(self): - """ - Gets the order_information of this InlineResponse20014. - - :return: The order_information of this InlineResponse20014. - :rtype: InlineResponse2018OrderInformation + :return: The bank_account_validation of this InlineResponse20014. + :rtype: TssV2TransactionsGet200ResponseBankAccountValidation """ - return self._order_information + return self._bank_account_validation - @order_information.setter - def order_information(self, order_information): + @bank_account_validation.setter + def bank_account_validation(self, bank_account_validation): """ - Sets the order_information of this InlineResponse20014. + Sets the bank_account_validation of this InlineResponse20014. - :param order_information: The order_information of this InlineResponse20014. - :type: InlineResponse2018OrderInformation + :param bank_account_validation: The bank_account_validation of this InlineResponse20014. + :type: TssV2TransactionsGet200ResponseBankAccountValidation """ - self._order_information = order_information + self._bank_account_validation = bank_account_validation def to_dict(self): """ diff --git a/CyberSource/models/inline_response20015.py b/CyberSource/models/inline_response20015.py new file mode 100644 index 00000000..cd83755d --- /dev/null +++ b/CyberSource/models/inline_response20015.py @@ -0,0 +1,255 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class InlineResponse20015(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'client_reference_information': 'InlineResponse20015ClientReferenceInformation', + 'id': 'str', + 'submit_time_utc': 'str', + 'status': 'str', + 'error_information': 'InlineResponse2018ErrorInformation', + 'order_information': 'InlineResponse2018OrderInformation' + } + + attribute_map = { + 'client_reference_information': 'clientReferenceInformation', + 'id': 'id', + 'submit_time_utc': 'submitTimeUtc', + 'status': 'status', + 'error_information': 'errorInformation', + 'order_information': 'orderInformation' + } + + def __init__(self, client_reference_information=None, id=None, submit_time_utc=None, status=None, error_information=None, order_information=None): + """ + InlineResponse20015 - a model defined in Swagger + """ + + self._client_reference_information = None + self._id = None + self._submit_time_utc = None + self._status = None + self._error_information = None + self._order_information = None + + if client_reference_information is not None: + self.client_reference_information = client_reference_information + self.id = id + self.submit_time_utc = submit_time_utc + self.status = status + if error_information is not None: + self.error_information = error_information + if order_information is not None: + self.order_information = order_information + + @property + def client_reference_information(self): + """ + Gets the client_reference_information of this InlineResponse20015. + + :return: The client_reference_information of this InlineResponse20015. + :rtype: InlineResponse20015ClientReferenceInformation + """ + return self._client_reference_information + + @client_reference_information.setter + def client_reference_information(self, client_reference_information): + """ + Sets the client_reference_information of this InlineResponse20015. + + :param client_reference_information: The client_reference_information of this InlineResponse20015. + :type: InlineResponse20015ClientReferenceInformation + """ + + self._client_reference_information = client_reference_information + + @property + def id(self): + """ + Gets the id of this InlineResponse20015. + Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid + + :return: The id of this InlineResponse20015. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """ + Sets the id of this InlineResponse20015. + Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid + + :param id: The id of this InlineResponse20015. + :type: str + """ + + self._id = id + + @property + def submit_time_utc(self): + """ + Gets the submit_time_utc of this InlineResponse20015. + Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + + :return: The submit_time_utc of this InlineResponse20015. + :rtype: str + """ + return self._submit_time_utc + + @submit_time_utc.setter + def submit_time_utc(self, submit_time_utc): + """ + Sets the submit_time_utc of this InlineResponse20015. + Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + + :param submit_time_utc: The submit_time_utc of this InlineResponse20015. + :type: str + """ + + self._submit_time_utc = submit_time_utc + + @property + def status(self): + """ + Gets the status of this InlineResponse20015. + Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` + + :return: The status of this InlineResponse20015. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """ + Sets the status of this InlineResponse20015. + Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` + + :param status: The status of this InlineResponse20015. + :type: str + """ + + self._status = status + + @property + def error_information(self): + """ + Gets the error_information of this InlineResponse20015. + + :return: The error_information of this InlineResponse20015. + :rtype: InlineResponse2018ErrorInformation + """ + return self._error_information + + @error_information.setter + def error_information(self, error_information): + """ + Sets the error_information of this InlineResponse20015. + + :param error_information: The error_information of this InlineResponse20015. + :type: InlineResponse2018ErrorInformation + """ + + self._error_information = error_information + + @property + def order_information(self): + """ + Gets the order_information of this InlineResponse20015. + + :return: The order_information of this InlineResponse20015. + :rtype: InlineResponse2018OrderInformation + """ + return self._order_information + + @order_information.setter + def order_information(self, order_information): + """ + Sets the order_information of this InlineResponse20015. + + :param order_information: The order_information of this InlineResponse20015. + :type: InlineResponse2018OrderInformation + """ + + self._order_information = order_information + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, InlineResponse20015): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/inline_response20014_client_reference_information.py b/CyberSource/models/inline_response20015_client_reference_information.py similarity index 83% rename from CyberSource/models/inline_response20014_client_reference_information.py rename to CyberSource/models/inline_response20015_client_reference_information.py index 65d8b857..12fa1326 100644 --- a/CyberSource/models/inline_response20014_client_reference_information.py +++ b/CyberSource/models/inline_response20015_client_reference_information.py @@ -15,7 +15,7 @@ import re -class InlineResponse20014ClientReferenceInformation(object): +class InlineResponse20015ClientReferenceInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +47,7 @@ class InlineResponse20014ClientReferenceInformation(object): def __init__(self, code=None, application_name=None, application_version=None, application_user=None, partner=None): """ - InlineResponse20014ClientReferenceInformation - a model defined in Swagger + InlineResponse20015ClientReferenceInformation - a model defined in Swagger """ self._code = None @@ -70,10 +70,10 @@ def __init__(self, code=None, application_name=None, application_version=None, a @property def code(self): """ - Gets the code of this InlineResponse20014ClientReferenceInformation. + Gets the code of this InlineResponse20015ClientReferenceInformation. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. - :return: The code of this InlineResponse20014ClientReferenceInformation. + :return: The code of this InlineResponse20015ClientReferenceInformation. :rtype: str """ return self._code @@ -81,10 +81,10 @@ def code(self): @code.setter def code(self, code): """ - Sets the code of this InlineResponse20014ClientReferenceInformation. + Sets the code of this InlineResponse20015ClientReferenceInformation. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. - :param code: The code of this InlineResponse20014ClientReferenceInformation. + :param code: The code of this InlineResponse20015ClientReferenceInformation. :type: str """ @@ -93,10 +93,10 @@ def code(self, code): @property def application_name(self): """ - Gets the application_name of this InlineResponse20014ClientReferenceInformation. + Gets the application_name of this InlineResponse20015ClientReferenceInformation. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - :return: The application_name of this InlineResponse20014ClientReferenceInformation. + :return: The application_name of this InlineResponse20015ClientReferenceInformation. :rtype: str """ return self._application_name @@ -104,10 +104,10 @@ def application_name(self): @application_name.setter def application_name(self, application_name): """ - Sets the application_name of this InlineResponse20014ClientReferenceInformation. + Sets the application_name of this InlineResponse20015ClientReferenceInformation. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - :param application_name: The application_name of this InlineResponse20014ClientReferenceInformation. + :param application_name: The application_name of this InlineResponse20015ClientReferenceInformation. :type: str """ @@ -116,10 +116,10 @@ def application_name(self, application_name): @property def application_version(self): """ - Gets the application_version of this InlineResponse20014ClientReferenceInformation. + Gets the application_version of this InlineResponse20015ClientReferenceInformation. Version of the CyberSource application or integration used for a transaction. - :return: The application_version of this InlineResponse20014ClientReferenceInformation. + :return: The application_version of this InlineResponse20015ClientReferenceInformation. :rtype: str """ return self._application_version @@ -127,10 +127,10 @@ def application_version(self): @application_version.setter def application_version(self, application_version): """ - Sets the application_version of this InlineResponse20014ClientReferenceInformation. + Sets the application_version of this InlineResponse20015ClientReferenceInformation. Version of the CyberSource application or integration used for a transaction. - :param application_version: The application_version of this InlineResponse20014ClientReferenceInformation. + :param application_version: The application_version of this InlineResponse20015ClientReferenceInformation. :type: str """ @@ -139,10 +139,10 @@ def application_version(self, application_version): @property def application_user(self): """ - Gets the application_user of this InlineResponse20014ClientReferenceInformation. + Gets the application_user of this InlineResponse20015ClientReferenceInformation. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - :return: The application_user of this InlineResponse20014ClientReferenceInformation. + :return: The application_user of this InlineResponse20015ClientReferenceInformation. :rtype: str """ return self._application_user @@ -150,10 +150,10 @@ def application_user(self): @application_user.setter def application_user(self, application_user): """ - Sets the application_user of this InlineResponse20014ClientReferenceInformation. + Sets the application_user of this InlineResponse20015ClientReferenceInformation. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - :param application_user: The application_user of this InlineResponse20014ClientReferenceInformation. + :param application_user: The application_user of this InlineResponse20015ClientReferenceInformation. :type: str """ @@ -162,9 +162,9 @@ def application_user(self, application_user): @property def partner(self): """ - Gets the partner of this InlineResponse20014ClientReferenceInformation. + Gets the partner of this InlineResponse20015ClientReferenceInformation. - :return: The partner of this InlineResponse20014ClientReferenceInformation. + :return: The partner of this InlineResponse20015ClientReferenceInformation. :rtype: Riskv1decisionsClientReferenceInformationPartner """ return self._partner @@ -172,9 +172,9 @@ def partner(self): @partner.setter def partner(self, partner): """ - Sets the partner of this InlineResponse20014ClientReferenceInformation. + Sets the partner of this InlineResponse20015ClientReferenceInformation. - :param partner: The partner of this InlineResponse20014ClientReferenceInformation. + :param partner: The partner of this InlineResponse20015ClientReferenceInformation. :type: Riskv1decisionsClientReferenceInformationPartner """ @@ -222,7 +222,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20014ClientReferenceInformation): + if not isinstance(other, InlineResponse20015ClientReferenceInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response200_content.py b/CyberSource/models/inline_response2001_content.py similarity index 78% rename from CyberSource/models/inline_response200_content.py rename to CyberSource/models/inline_response2001_content.py index 57a88523..003cb3a7 100644 --- a/CyberSource/models/inline_response200_content.py +++ b/CyberSource/models/inline_response2001_content.py @@ -15,7 +15,7 @@ import re -class InlineResponse200Content(object): +class InlineResponse2001Content(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -45,7 +45,7 @@ class InlineResponse200Content(object): def __init__(self, type=None, data=None, width=None, height=None): """ - InlineResponse200Content - a model defined in Swagger + InlineResponse2001Content - a model defined in Swagger """ self._type = None @@ -65,10 +65,10 @@ def __init__(self, type=None, data=None, width=None, height=None): @property def type(self): """ - Gets the type of this InlineResponse200Content. + Gets the type of this InlineResponse2001Content. The MIME type of the Asset. - :return: The type of this InlineResponse200Content. + :return: The type of this InlineResponse2001Content. :rtype: str """ return self._type @@ -76,10 +76,10 @@ def type(self): @type.setter def type(self, type): """ - Sets the type of this InlineResponse200Content. + Sets the type of this InlineResponse2001Content. The MIME type of the Asset. - :param type: The type of this InlineResponse200Content. + :param type: The type of this InlineResponse2001Content. :type: str """ @@ -88,10 +88,10 @@ def type(self, type): @property def data(self): """ - Gets the data of this InlineResponse200Content. + Gets the data of this InlineResponse2001Content. The base64-encoded data of the Asset. - :return: The data of this InlineResponse200Content. + :return: The data of this InlineResponse2001Content. :rtype: str """ return self._data @@ -99,10 +99,10 @@ def data(self): @data.setter def data(self, data): """ - Sets the data of this InlineResponse200Content. + Sets the data of this InlineResponse2001Content. The base64-encoded data of the Asset. - :param data: The data of this InlineResponse200Content. + :param data: The data of this InlineResponse2001Content. :type: str """ @@ -111,10 +111,10 @@ def data(self, data): @property def width(self): """ - Gets the width of this InlineResponse200Content. + Gets the width of this InlineResponse2001Content. The width of the Asset in pixels. - :return: The width of this InlineResponse200Content. + :return: The width of this InlineResponse2001Content. :rtype: int """ return self._width @@ -122,10 +122,10 @@ def width(self): @width.setter def width(self, width): """ - Sets the width of this InlineResponse200Content. + Sets the width of this InlineResponse2001Content. The width of the Asset in pixels. - :param width: The width of this InlineResponse200Content. + :param width: The width of this InlineResponse2001Content. :type: int """ @@ -134,10 +134,10 @@ def width(self, width): @property def height(self): """ - Gets the height of this InlineResponse200Content. + Gets the height of this InlineResponse2001Content. The height of the Asset in pixels. - :return: The height of this InlineResponse200Content. + :return: The height of this InlineResponse2001Content. :rtype: int """ return self._height @@ -145,10 +145,10 @@ def height(self): @height.setter def height(self, height): """ - Sets the height of this InlineResponse200Content. + Sets the height of this InlineResponse2001Content. The height of the Asset in pixels. - :param height: The height of this InlineResponse200Content. + :param height: The height of this InlineResponse2001Content. :type: int """ @@ -196,7 +196,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse200Content): + if not isinstance(other, InlineResponse2001Content): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2002.py b/CyberSource/models/inline_response2002.py index 5adc0e16..41f4b115 100644 --- a/CyberSource/models/inline_response2002.py +++ b/CyberSource/models/inline_response2002.py @@ -30,85 +30,46 @@ class InlineResponse2002(object): and the value is json key in definition. """ swagger_types = { - 'id': 'int', - 'field_type': 'str', - 'label': 'str', - 'customer_visible': 'bool', - 'text_min_length': 'int', - 'text_max_length': 'int', - 'possible_values': 'str', - 'text_default_value': 'str', - 'merchant_id': 'str', - 'reference_type': 'str', - 'read_only': 'bool', - 'merchant_defined_data_index': 'int' + 'id': 'str', + 'submit_time_utc': 'str', + 'status': 'str', + 'embedded': 'InlineResponse2002Embedded' } attribute_map = { 'id': 'id', - 'field_type': 'fieldType', - 'label': 'label', - 'customer_visible': 'customerVisible', - 'text_min_length': 'textMinLength', - 'text_max_length': 'textMaxLength', - 'possible_values': 'possibleValues', - 'text_default_value': 'textDefaultValue', - 'merchant_id': 'merchantId', - 'reference_type': 'referenceType', - 'read_only': 'readOnly', - 'merchant_defined_data_index': 'merchantDefinedDataIndex' + 'submit_time_utc': 'submitTimeUtc', + 'status': 'status', + 'embedded': '_embedded' } - def __init__(self, id=None, field_type=None, label=None, customer_visible=None, text_min_length=None, text_max_length=None, possible_values=None, text_default_value=None, merchant_id=None, reference_type=None, read_only=None, merchant_defined_data_index=None): + def __init__(self, id=None, submit_time_utc=None, status=None, embedded=None): """ InlineResponse2002 - a model defined in Swagger """ self._id = None - self._field_type = None - self._label = None - self._customer_visible = None - self._text_min_length = None - self._text_max_length = None - self._possible_values = None - self._text_default_value = None - self._merchant_id = None - self._reference_type = None - self._read_only = None - self._merchant_defined_data_index = None + self._submit_time_utc = None + self._status = None + self._embedded = None if id is not None: self.id = id - if field_type is not None: - self.field_type = field_type - if label is not None: - self.label = label - if customer_visible is not None: - self.customer_visible = customer_visible - if text_min_length is not None: - self.text_min_length = text_min_length - if text_max_length is not None: - self.text_max_length = text_max_length - if possible_values is not None: - self.possible_values = possible_values - if text_default_value is not None: - self.text_default_value = text_default_value - if merchant_id is not None: - self.merchant_id = merchant_id - if reference_type is not None: - self.reference_type = reference_type - if read_only is not None: - self.read_only = read_only - if merchant_defined_data_index is not None: - self.merchant_defined_data_index = merchant_defined_data_index + if submit_time_utc is not None: + self.submit_time_utc = submit_time_utc + if status is not None: + self.status = status + if embedded is not None: + self.embedded = embedded @property def id(self): """ Gets the id of this InlineResponse2002. + UUID uniquely generated for this comments. :return: The id of this InlineResponse2002. - :rtype: int + :rtype: str """ return self._id @@ -116,243 +77,80 @@ def id(self): def id(self, id): """ Sets the id of this InlineResponse2002. + UUID uniquely generated for this comments. :param id: The id of this InlineResponse2002. - :type: int - """ - - self._id = id - - @property - def field_type(self): - """ - Gets the field_type of this InlineResponse2002. - - :return: The field_type of this InlineResponse2002. - :rtype: str - """ - return self._field_type - - @field_type.setter - def field_type(self, field_type): - """ - Sets the field_type of this InlineResponse2002. - - :param field_type: The field_type of this InlineResponse2002. - :type: str - """ - - self._field_type = field_type - - @property - def label(self): - """ - Gets the label of this InlineResponse2002. - - :return: The label of this InlineResponse2002. - :rtype: str - """ - return self._label - - @label.setter - def label(self, label): - """ - Sets the label of this InlineResponse2002. - - :param label: The label of this InlineResponse2002. - :type: str - """ - - self._label = label - - @property - def customer_visible(self): - """ - Gets the customer_visible of this InlineResponse2002. - - :return: The customer_visible of this InlineResponse2002. - :rtype: bool - """ - return self._customer_visible - - @customer_visible.setter - def customer_visible(self, customer_visible): - """ - Sets the customer_visible of this InlineResponse2002. - - :param customer_visible: The customer_visible of this InlineResponse2002. - :type: bool - """ - - self._customer_visible = customer_visible - - @property - def text_min_length(self): - """ - Gets the text_min_length of this InlineResponse2002. - - :return: The text_min_length of this InlineResponse2002. - :rtype: int - """ - return self._text_min_length - - @text_min_length.setter - def text_min_length(self, text_min_length): - """ - Sets the text_min_length of this InlineResponse2002. - - :param text_min_length: The text_min_length of this InlineResponse2002. - :type: int - """ - - self._text_min_length = text_min_length - - @property - def text_max_length(self): - """ - Gets the text_max_length of this InlineResponse2002. - - :return: The text_max_length of this InlineResponse2002. - :rtype: int - """ - return self._text_max_length - - @text_max_length.setter - def text_max_length(self, text_max_length): - """ - Sets the text_max_length of this InlineResponse2002. - - :param text_max_length: The text_max_length of this InlineResponse2002. - :type: int - """ - - self._text_max_length = text_max_length - - @property - def possible_values(self): - """ - Gets the possible_values of this InlineResponse2002. - - :return: The possible_values of this InlineResponse2002. - :rtype: str - """ - return self._possible_values - - @possible_values.setter - def possible_values(self, possible_values): - """ - Sets the possible_values of this InlineResponse2002. - - :param possible_values: The possible_values of this InlineResponse2002. :type: str """ - self._possible_values = possible_values - - @property - def text_default_value(self): - """ - Gets the text_default_value of this InlineResponse2002. - - :return: The text_default_value of this InlineResponse2002. - :rtype: str - """ - return self._text_default_value - - @text_default_value.setter - def text_default_value(self, text_default_value): - """ - Sets the text_default_value of this InlineResponse2002. - - :param text_default_value: The text_default_value of this InlineResponse2002. - :type: str - """ - - self._text_default_value = text_default_value + self._id = id @property - def merchant_id(self): + def submit_time_utc(self): """ - Gets the merchant_id of this InlineResponse2002. + Gets the submit_time_utc of this InlineResponse2002. + Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. - :return: The merchant_id of this InlineResponse2002. + :return: The submit_time_utc of this InlineResponse2002. :rtype: str """ - return self._merchant_id + return self._submit_time_utc - @merchant_id.setter - def merchant_id(self, merchant_id): + @submit_time_utc.setter + def submit_time_utc(self, submit_time_utc): """ - Sets the merchant_id of this InlineResponse2002. + Sets the submit_time_utc of this InlineResponse2002. + Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. - :param merchant_id: The merchant_id of this InlineResponse2002. + :param submit_time_utc: The submit_time_utc of this InlineResponse2002. :type: str """ - self._merchant_id = merchant_id + self._submit_time_utc = submit_time_utc @property - def reference_type(self): + def status(self): """ - Gets the reference_type of this InlineResponse2002. + Gets the status of this InlineResponse2002. + The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` - :return: The reference_type of this InlineResponse2002. + :return: The status of this InlineResponse2002. :rtype: str """ - return self._reference_type + return self._status - @reference_type.setter - def reference_type(self, reference_type): + @status.setter + def status(self, status): """ - Sets the reference_type of this InlineResponse2002. + Sets the status of this InlineResponse2002. + The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` - :param reference_type: The reference_type of this InlineResponse2002. + :param status: The status of this InlineResponse2002. :type: str """ - self._reference_type = reference_type - - @property - def read_only(self): - """ - Gets the read_only of this InlineResponse2002. - - :return: The read_only of this InlineResponse2002. - :rtype: bool - """ - return self._read_only - - @read_only.setter - def read_only(self, read_only): - """ - Sets the read_only of this InlineResponse2002. - - :param read_only: The read_only of this InlineResponse2002. - :type: bool - """ - - self._read_only = read_only + self._status = status @property - def merchant_defined_data_index(self): + def embedded(self): """ - Gets the merchant_defined_data_index of this InlineResponse2002. + Gets the embedded of this InlineResponse2002. - :return: The merchant_defined_data_index of this InlineResponse2002. - :rtype: int + :return: The embedded of this InlineResponse2002. + :rtype: InlineResponse2002Embedded """ - return self._merchant_defined_data_index + return self._embedded - @merchant_defined_data_index.setter - def merchant_defined_data_index(self, merchant_defined_data_index): + @embedded.setter + def embedded(self, embedded): """ - Sets the merchant_defined_data_index of this InlineResponse2002. + Sets the embedded of this InlineResponse2002. - :param merchant_defined_data_index: The merchant_defined_data_index of this InlineResponse2002. - :type: int + :param embedded: The embedded of this InlineResponse2002. + :type: InlineResponse2002Embedded """ - self._merchant_defined_data_index = merchant_defined_data_index + self._embedded = embedded def to_dict(self): """ diff --git a/CyberSource/models/inline_response2001_embedded.py b/CyberSource/models/inline_response2002_embedded.py similarity index 75% rename from CyberSource/models/inline_response2001_embedded.py rename to CyberSource/models/inline_response2002_embedded.py index be74e58a..545258ff 100644 --- a/CyberSource/models/inline_response2001_embedded.py +++ b/CyberSource/models/inline_response2002_embedded.py @@ -15,7 +15,7 @@ import re -class InlineResponse2001Embedded(object): +class InlineResponse2002Embedded(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class InlineResponse2001Embedded(object): and the value is json key in definition. """ swagger_types = { - 'capture': 'InlineResponse2001EmbeddedCapture', - 'reversal': 'InlineResponse2001EmbeddedReversal' + 'capture': 'InlineResponse2002EmbeddedCapture', + 'reversal': 'InlineResponse2002EmbeddedReversal' } attribute_map = { @@ -41,7 +41,7 @@ class InlineResponse2001Embedded(object): def __init__(self, capture=None, reversal=None): """ - InlineResponse2001Embedded - a model defined in Swagger + InlineResponse2002Embedded - a model defined in Swagger """ self._capture = None @@ -55,20 +55,20 @@ def __init__(self, capture=None, reversal=None): @property def capture(self): """ - Gets the capture of this InlineResponse2001Embedded. + Gets the capture of this InlineResponse2002Embedded. - :return: The capture of this InlineResponse2001Embedded. - :rtype: InlineResponse2001EmbeddedCapture + :return: The capture of this InlineResponse2002Embedded. + :rtype: InlineResponse2002EmbeddedCapture """ return self._capture @capture.setter def capture(self, capture): """ - Sets the capture of this InlineResponse2001Embedded. + Sets the capture of this InlineResponse2002Embedded. - :param capture: The capture of this InlineResponse2001Embedded. - :type: InlineResponse2001EmbeddedCapture + :param capture: The capture of this InlineResponse2002Embedded. + :type: InlineResponse2002EmbeddedCapture """ self._capture = capture @@ -76,20 +76,20 @@ def capture(self, capture): @property def reversal(self): """ - Gets the reversal of this InlineResponse2001Embedded. + Gets the reversal of this InlineResponse2002Embedded. - :return: The reversal of this InlineResponse2001Embedded. - :rtype: InlineResponse2001EmbeddedReversal + :return: The reversal of this InlineResponse2002Embedded. + :rtype: InlineResponse2002EmbeddedReversal """ return self._reversal @reversal.setter def reversal(self, reversal): """ - Sets the reversal of this InlineResponse2001Embedded. + Sets the reversal of this InlineResponse2002Embedded. - :param reversal: The reversal of this InlineResponse2001Embedded. - :type: InlineResponse2001EmbeddedReversal + :param reversal: The reversal of this InlineResponse2002Embedded. + :type: InlineResponse2002EmbeddedReversal """ self._reversal = reversal @@ -136,7 +136,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2001Embedded): + if not isinstance(other, InlineResponse2002Embedded): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2001_embedded_capture.py b/CyberSource/models/inline_response2002_embedded_capture.py similarity index 78% rename from CyberSource/models/inline_response2001_embedded_capture.py rename to CyberSource/models/inline_response2002_embedded_capture.py index 91f8d078..99b8b402 100644 --- a/CyberSource/models/inline_response2001_embedded_capture.py +++ b/CyberSource/models/inline_response2002_embedded_capture.py @@ -15,7 +15,7 @@ import re -class InlineResponse2001EmbeddedCapture(object): +class InlineResponse2002EmbeddedCapture(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,7 +31,7 @@ class InlineResponse2001EmbeddedCapture(object): """ swagger_types = { 'status': 'str', - 'links': 'InlineResponse2001EmbeddedCaptureLinks' + 'links': 'InlineResponse2002EmbeddedCaptureLinks' } attribute_map = { @@ -41,7 +41,7 @@ class InlineResponse2001EmbeddedCapture(object): def __init__(self, status=None, links=None): """ - InlineResponse2001EmbeddedCapture - a model defined in Swagger + InlineResponse2002EmbeddedCapture - a model defined in Swagger """ self._status = None @@ -55,10 +55,10 @@ def __init__(self, status=None, links=None): @property def status(self): """ - Gets the status of this InlineResponse2001EmbeddedCapture. + Gets the status of this InlineResponse2002EmbeddedCapture. The status of the capture if the capture is called. - :return: The status of this InlineResponse2001EmbeddedCapture. + :return: The status of this InlineResponse2002EmbeddedCapture. :rtype: str """ return self._status @@ -66,10 +66,10 @@ def status(self): @status.setter def status(self, status): """ - Sets the status of this InlineResponse2001EmbeddedCapture. + Sets the status of this InlineResponse2002EmbeddedCapture. The status of the capture if the capture is called. - :param status: The status of this InlineResponse2001EmbeddedCapture. + :param status: The status of this InlineResponse2002EmbeddedCapture. :type: str """ @@ -78,20 +78,20 @@ def status(self, status): @property def links(self): """ - Gets the links of this InlineResponse2001EmbeddedCapture. + Gets the links of this InlineResponse2002EmbeddedCapture. - :return: The links of this InlineResponse2001EmbeddedCapture. - :rtype: InlineResponse2001EmbeddedCaptureLinks + :return: The links of this InlineResponse2002EmbeddedCapture. + :rtype: InlineResponse2002EmbeddedCaptureLinks """ return self._links @links.setter def links(self, links): """ - Sets the links of this InlineResponse2001EmbeddedCapture. + Sets the links of this InlineResponse2002EmbeddedCapture. - :param links: The links of this InlineResponse2001EmbeddedCapture. - :type: InlineResponse2001EmbeddedCaptureLinks + :param links: The links of this InlineResponse2002EmbeddedCapture. + :type: InlineResponse2002EmbeddedCaptureLinks """ self._links = links @@ -138,7 +138,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2001EmbeddedCapture): + if not isinstance(other, InlineResponse2002EmbeddedCapture): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2001_embedded_capture_links.py b/CyberSource/models/inline_response2002_embedded_capture_links.py similarity index 81% rename from CyberSource/models/inline_response2001_embedded_capture_links.py rename to CyberSource/models/inline_response2002_embedded_capture_links.py index 7b67ae26..0df22fd1 100644 --- a/CyberSource/models/inline_response2001_embedded_capture_links.py +++ b/CyberSource/models/inline_response2002_embedded_capture_links.py @@ -15,7 +15,7 @@ import re -class InlineResponse2001EmbeddedCaptureLinks(object): +class InlineResponse2002EmbeddedCaptureLinks(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,7 +30,7 @@ class InlineResponse2001EmbeddedCaptureLinks(object): and the value is json key in definition. """ swagger_types = { - '_self': 'InlineResponse2001EmbeddedCaptureLinksSelf' + '_self': 'InlineResponse2002EmbeddedCaptureLinksSelf' } attribute_map = { @@ -39,7 +39,7 @@ class InlineResponse2001EmbeddedCaptureLinks(object): def __init__(self, _self=None): """ - InlineResponse2001EmbeddedCaptureLinks - a model defined in Swagger + InlineResponse2002EmbeddedCaptureLinks - a model defined in Swagger """ self.__self = None @@ -50,20 +50,20 @@ def __init__(self, _self=None): @property def _self(self): """ - Gets the _self of this InlineResponse2001EmbeddedCaptureLinks. + Gets the _self of this InlineResponse2002EmbeddedCaptureLinks. - :return: The _self of this InlineResponse2001EmbeddedCaptureLinks. - :rtype: InlineResponse2001EmbeddedCaptureLinksSelf + :return: The _self of this InlineResponse2002EmbeddedCaptureLinks. + :rtype: InlineResponse2002EmbeddedCaptureLinksSelf """ return self.__self @_self.setter def _self(self, _self): """ - Sets the _self of this InlineResponse2001EmbeddedCaptureLinks. + Sets the _self of this InlineResponse2002EmbeddedCaptureLinks. - :param _self: The _self of this InlineResponse2001EmbeddedCaptureLinks. - :type: InlineResponse2001EmbeddedCaptureLinksSelf + :param _self: The _self of this InlineResponse2002EmbeddedCaptureLinks. + :type: InlineResponse2002EmbeddedCaptureLinksSelf """ self.__self = _self @@ -110,7 +110,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2001EmbeddedCaptureLinks): + if not isinstance(other, InlineResponse2002EmbeddedCaptureLinks): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2001_embedded_capture_links_self.py b/CyberSource/models/inline_response2002_embedded_capture_links_self.py similarity index 83% rename from CyberSource/models/inline_response2001_embedded_capture_links_self.py rename to CyberSource/models/inline_response2002_embedded_capture_links_self.py index 75f4dcc1..3e840478 100644 --- a/CyberSource/models/inline_response2001_embedded_capture_links_self.py +++ b/CyberSource/models/inline_response2002_embedded_capture_links_self.py @@ -15,7 +15,7 @@ import re -class InlineResponse2001EmbeddedCaptureLinksSelf(object): +class InlineResponse2002EmbeddedCaptureLinksSelf(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +41,7 @@ class InlineResponse2001EmbeddedCaptureLinksSelf(object): def __init__(self, href=None, method=None): """ - InlineResponse2001EmbeddedCaptureLinksSelf - a model defined in Swagger + InlineResponse2002EmbeddedCaptureLinksSelf - a model defined in Swagger """ self._href = None @@ -55,10 +55,10 @@ def __init__(self, href=None, method=None): @property def href(self): """ - Gets the href of this InlineResponse2001EmbeddedCaptureLinksSelf. + Gets the href of this InlineResponse2002EmbeddedCaptureLinksSelf. This is the endpoint of the resource that was created by the successful request. - :return: The href of this InlineResponse2001EmbeddedCaptureLinksSelf. + :return: The href of this InlineResponse2002EmbeddedCaptureLinksSelf. :rtype: str """ return self._href @@ -66,10 +66,10 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this InlineResponse2001EmbeddedCaptureLinksSelf. + Sets the href of this InlineResponse2002EmbeddedCaptureLinksSelf. This is the endpoint of the resource that was created by the successful request. - :param href: The href of this InlineResponse2001EmbeddedCaptureLinksSelf. + :param href: The href of this InlineResponse2002EmbeddedCaptureLinksSelf. :type: str """ @@ -78,10 +78,10 @@ def href(self, href): @property def method(self): """ - Gets the method of this InlineResponse2001EmbeddedCaptureLinksSelf. + Gets the method of this InlineResponse2002EmbeddedCaptureLinksSelf. This refers to the HTTP method that you can send to the self endpoint to retrieve details of the resource. - :return: The method of this InlineResponse2001EmbeddedCaptureLinksSelf. + :return: The method of this InlineResponse2002EmbeddedCaptureLinksSelf. :rtype: str """ return self._method @@ -89,10 +89,10 @@ def method(self): @method.setter def method(self, method): """ - Sets the method of this InlineResponse2001EmbeddedCaptureLinksSelf. + Sets the method of this InlineResponse2002EmbeddedCaptureLinksSelf. This refers to the HTTP method that you can send to the self endpoint to retrieve details of the resource. - :param method: The method of this InlineResponse2001EmbeddedCaptureLinksSelf. + :param method: The method of this InlineResponse2002EmbeddedCaptureLinksSelf. :type: str """ @@ -140,7 +140,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2001EmbeddedCaptureLinksSelf): + if not isinstance(other, InlineResponse2002EmbeddedCaptureLinksSelf): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2001_embedded_reversal.py b/CyberSource/models/inline_response2002_embedded_reversal.py similarity index 78% rename from CyberSource/models/inline_response2001_embedded_reversal.py rename to CyberSource/models/inline_response2002_embedded_reversal.py index 34384be4..5fed02fb 100644 --- a/CyberSource/models/inline_response2001_embedded_reversal.py +++ b/CyberSource/models/inline_response2002_embedded_reversal.py @@ -15,7 +15,7 @@ import re -class InlineResponse2001EmbeddedReversal(object): +class InlineResponse2002EmbeddedReversal(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,7 +31,7 @@ class InlineResponse2001EmbeddedReversal(object): """ swagger_types = { 'status': 'str', - 'links': 'InlineResponse2001EmbeddedReversalLinks' + 'links': 'InlineResponse2002EmbeddedReversalLinks' } attribute_map = { @@ -41,7 +41,7 @@ class InlineResponse2001EmbeddedReversal(object): def __init__(self, status=None, links=None): """ - InlineResponse2001EmbeddedReversal - a model defined in Swagger + InlineResponse2002EmbeddedReversal - a model defined in Swagger """ self._status = None @@ -55,10 +55,10 @@ def __init__(self, status=None, links=None): @property def status(self): """ - Gets the status of this InlineResponse2001EmbeddedReversal. + Gets the status of this InlineResponse2002EmbeddedReversal. The status of the reversal if the auth reversal is called. - :return: The status of this InlineResponse2001EmbeddedReversal. + :return: The status of this InlineResponse2002EmbeddedReversal. :rtype: str """ return self._status @@ -66,10 +66,10 @@ def status(self): @status.setter def status(self, status): """ - Sets the status of this InlineResponse2001EmbeddedReversal. + Sets the status of this InlineResponse2002EmbeddedReversal. The status of the reversal if the auth reversal is called. - :param status: The status of this InlineResponse2001EmbeddedReversal. + :param status: The status of this InlineResponse2002EmbeddedReversal. :type: str """ @@ -78,20 +78,20 @@ def status(self, status): @property def links(self): """ - Gets the links of this InlineResponse2001EmbeddedReversal. + Gets the links of this InlineResponse2002EmbeddedReversal. - :return: The links of this InlineResponse2001EmbeddedReversal. - :rtype: InlineResponse2001EmbeddedReversalLinks + :return: The links of this InlineResponse2002EmbeddedReversal. + :rtype: InlineResponse2002EmbeddedReversalLinks """ return self._links @links.setter def links(self, links): """ - Sets the links of this InlineResponse2001EmbeddedReversal. + Sets the links of this InlineResponse2002EmbeddedReversal. - :param links: The links of this InlineResponse2001EmbeddedReversal. - :type: InlineResponse2001EmbeddedReversalLinks + :param links: The links of this InlineResponse2002EmbeddedReversal. + :type: InlineResponse2002EmbeddedReversalLinks """ self._links = links @@ -138,7 +138,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2001EmbeddedReversal): + if not isinstance(other, InlineResponse2002EmbeddedReversal): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2001_embedded_reversal_links.py b/CyberSource/models/inline_response2002_embedded_reversal_links.py similarity index 81% rename from CyberSource/models/inline_response2001_embedded_reversal_links.py rename to CyberSource/models/inline_response2002_embedded_reversal_links.py index 5e9790ad..a7f8afef 100644 --- a/CyberSource/models/inline_response2001_embedded_reversal_links.py +++ b/CyberSource/models/inline_response2002_embedded_reversal_links.py @@ -15,7 +15,7 @@ import re -class InlineResponse2001EmbeddedReversalLinks(object): +class InlineResponse2002EmbeddedReversalLinks(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,7 +30,7 @@ class InlineResponse2001EmbeddedReversalLinks(object): and the value is json key in definition. """ swagger_types = { - '_self': 'InlineResponse2001EmbeddedReversalLinksSelf' + '_self': 'InlineResponse2002EmbeddedReversalLinksSelf' } attribute_map = { @@ -39,7 +39,7 @@ class InlineResponse2001EmbeddedReversalLinks(object): def __init__(self, _self=None): """ - InlineResponse2001EmbeddedReversalLinks - a model defined in Swagger + InlineResponse2002EmbeddedReversalLinks - a model defined in Swagger """ self.__self = None @@ -50,20 +50,20 @@ def __init__(self, _self=None): @property def _self(self): """ - Gets the _self of this InlineResponse2001EmbeddedReversalLinks. + Gets the _self of this InlineResponse2002EmbeddedReversalLinks. - :return: The _self of this InlineResponse2001EmbeddedReversalLinks. - :rtype: InlineResponse2001EmbeddedReversalLinksSelf + :return: The _self of this InlineResponse2002EmbeddedReversalLinks. + :rtype: InlineResponse2002EmbeddedReversalLinksSelf """ return self.__self @_self.setter def _self(self, _self): """ - Sets the _self of this InlineResponse2001EmbeddedReversalLinks. + Sets the _self of this InlineResponse2002EmbeddedReversalLinks. - :param _self: The _self of this InlineResponse2001EmbeddedReversalLinks. - :type: InlineResponse2001EmbeddedReversalLinksSelf + :param _self: The _self of this InlineResponse2002EmbeddedReversalLinks. + :type: InlineResponse2002EmbeddedReversalLinksSelf """ self.__self = _self @@ -110,7 +110,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2001EmbeddedReversalLinks): + if not isinstance(other, InlineResponse2002EmbeddedReversalLinks): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2001_embedded_reversal_links_self.py b/CyberSource/models/inline_response2002_embedded_reversal_links_self.py similarity index 83% rename from CyberSource/models/inline_response2001_embedded_reversal_links_self.py rename to CyberSource/models/inline_response2002_embedded_reversal_links_self.py index 86bda355..b05eb505 100644 --- a/CyberSource/models/inline_response2001_embedded_reversal_links_self.py +++ b/CyberSource/models/inline_response2002_embedded_reversal_links_self.py @@ -15,7 +15,7 @@ import re -class InlineResponse2001EmbeddedReversalLinksSelf(object): +class InlineResponse2002EmbeddedReversalLinksSelf(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +41,7 @@ class InlineResponse2001EmbeddedReversalLinksSelf(object): def __init__(self, href=None, method=None): """ - InlineResponse2001EmbeddedReversalLinksSelf - a model defined in Swagger + InlineResponse2002EmbeddedReversalLinksSelf - a model defined in Swagger """ self._href = None @@ -55,10 +55,10 @@ def __init__(self, href=None, method=None): @property def href(self): """ - Gets the href of this InlineResponse2001EmbeddedReversalLinksSelf. + Gets the href of this InlineResponse2002EmbeddedReversalLinksSelf. This is the endpoint of the resource that was created by the successful request. - :return: The href of this InlineResponse2001EmbeddedReversalLinksSelf. + :return: The href of this InlineResponse2002EmbeddedReversalLinksSelf. :rtype: str """ return self._href @@ -66,10 +66,10 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this InlineResponse2001EmbeddedReversalLinksSelf. + Sets the href of this InlineResponse2002EmbeddedReversalLinksSelf. This is the endpoint of the resource that was created by the successful request. - :param href: The href of this InlineResponse2001EmbeddedReversalLinksSelf. + :param href: The href of this InlineResponse2002EmbeddedReversalLinksSelf. :type: str """ @@ -78,10 +78,10 @@ def href(self, href): @property def method(self): """ - Gets the method of this InlineResponse2001EmbeddedReversalLinksSelf. + Gets the method of this InlineResponse2002EmbeddedReversalLinksSelf. This refers to the HTTP method that you can send to the self endpoint to retrieve details of the resource. - :return: The method of this InlineResponse2001EmbeddedReversalLinksSelf. + :return: The method of this InlineResponse2002EmbeddedReversalLinksSelf. :rtype: str """ return self._method @@ -89,10 +89,10 @@ def method(self): @method.setter def method(self, method): """ - Sets the method of this InlineResponse2001EmbeddedReversalLinksSelf. + Sets the method of this InlineResponse2002EmbeddedReversalLinksSelf. This refers to the HTTP method that you can send to the self endpoint to retrieve details of the resource. - :param method: The method of this InlineResponse2001EmbeddedReversalLinksSelf. + :param method: The method of this InlineResponse2002EmbeddedReversalLinksSelf. :type: str """ @@ -140,7 +140,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2001EmbeddedReversalLinksSelf): + if not isinstance(other, InlineResponse2002EmbeddedReversalLinksSelf): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2003.py b/CyberSource/models/inline_response2003.py index d56d2b91..507fbdc8 100644 --- a/CyberSource/models/inline_response2003.py +++ b/CyberSource/models/inline_response2003.py @@ -30,199 +30,329 @@ class InlineResponse2003(object): and the value is json key in definition. """ swagger_types = { - 'registration_information': 'Boardingv1registrationsRegistrationInformation', - 'integration_information': 'InlineResponse2003IntegrationInformation', - 'organization_information': 'Boardingv1registrationsOrganizationInformation', - 'product_information': 'Boardingv1registrationsProductInformation', - 'product_information_setups': 'list[InlineResponse2013ProductInformationSetups]', - 'document_information': 'Boardingv1registrationsDocumentInformation', - 'details': 'dict(str, list[object])' + 'id': 'int', + 'field_type': 'str', + 'label': 'str', + 'customer_visible': 'bool', + 'text_min_length': 'int', + 'text_max_length': 'int', + 'possible_values': 'str', + 'text_default_value': 'str', + 'merchant_id': 'str', + 'reference_type': 'str', + 'read_only': 'bool', + 'merchant_defined_data_index': 'int' } attribute_map = { - 'registration_information': 'registrationInformation', - 'integration_information': 'integrationInformation', - 'organization_information': 'organizationInformation', - 'product_information': 'productInformation', - 'product_information_setups': 'productInformationSetups', - 'document_information': 'documentInformation', - 'details': 'details' + 'id': 'id', + 'field_type': 'fieldType', + 'label': 'label', + 'customer_visible': 'customerVisible', + 'text_min_length': 'textMinLength', + 'text_max_length': 'textMaxLength', + 'possible_values': 'possibleValues', + 'text_default_value': 'textDefaultValue', + 'merchant_id': 'merchantId', + 'reference_type': 'referenceType', + 'read_only': 'readOnly', + 'merchant_defined_data_index': 'merchantDefinedDataIndex' } - def __init__(self, registration_information=None, integration_information=None, organization_information=None, product_information=None, product_information_setups=None, document_information=None, details=None): + def __init__(self, id=None, field_type=None, label=None, customer_visible=None, text_min_length=None, text_max_length=None, possible_values=None, text_default_value=None, merchant_id=None, reference_type=None, read_only=None, merchant_defined_data_index=None): """ InlineResponse2003 - a model defined in Swagger """ - self._registration_information = None - self._integration_information = None - self._organization_information = None - self._product_information = None - self._product_information_setups = None - self._document_information = None - self._details = None - - if registration_information is not None: - self.registration_information = registration_information - if integration_information is not None: - self.integration_information = integration_information - if organization_information is not None: - self.organization_information = organization_information - if product_information is not None: - self.product_information = product_information - if product_information_setups is not None: - self.product_information_setups = product_information_setups - if document_information is not None: - self.document_information = document_information - if details is not None: - self.details = details + self._id = None + self._field_type = None + self._label = None + self._customer_visible = None + self._text_min_length = None + self._text_max_length = None + self._possible_values = None + self._text_default_value = None + self._merchant_id = None + self._reference_type = None + self._read_only = None + self._merchant_defined_data_index = None + + if id is not None: + self.id = id + if field_type is not None: + self.field_type = field_type + if label is not None: + self.label = label + if customer_visible is not None: + self.customer_visible = customer_visible + if text_min_length is not None: + self.text_min_length = text_min_length + if text_max_length is not None: + self.text_max_length = text_max_length + if possible_values is not None: + self.possible_values = possible_values + if text_default_value is not None: + self.text_default_value = text_default_value + if merchant_id is not None: + self.merchant_id = merchant_id + if reference_type is not None: + self.reference_type = reference_type + if read_only is not None: + self.read_only = read_only + if merchant_defined_data_index is not None: + self.merchant_defined_data_index = merchant_defined_data_index @property - def registration_information(self): + def id(self): """ - Gets the registration_information of this InlineResponse2003. + Gets the id of this InlineResponse2003. - :return: The registration_information of this InlineResponse2003. - :rtype: Boardingv1registrationsRegistrationInformation + :return: The id of this InlineResponse2003. + :rtype: int """ - return self._registration_information + return self._id - @registration_information.setter - def registration_information(self, registration_information): + @id.setter + def id(self, id): """ - Sets the registration_information of this InlineResponse2003. + Sets the id of this InlineResponse2003. - :param registration_information: The registration_information of this InlineResponse2003. - :type: Boardingv1registrationsRegistrationInformation + :param id: The id of this InlineResponse2003. + :type: int """ - self._registration_information = registration_information + self._id = id @property - def integration_information(self): + def field_type(self): """ - Gets the integration_information of this InlineResponse2003. + Gets the field_type of this InlineResponse2003. - :return: The integration_information of this InlineResponse2003. - :rtype: InlineResponse2003IntegrationInformation + :return: The field_type of this InlineResponse2003. + :rtype: str """ - return self._integration_information + return self._field_type - @integration_information.setter - def integration_information(self, integration_information): + @field_type.setter + def field_type(self, field_type): """ - Sets the integration_information of this InlineResponse2003. + Sets the field_type of this InlineResponse2003. - :param integration_information: The integration_information of this InlineResponse2003. - :type: InlineResponse2003IntegrationInformation + :param field_type: The field_type of this InlineResponse2003. + :type: str """ - self._integration_information = integration_information + self._field_type = field_type @property - def organization_information(self): + def label(self): """ - Gets the organization_information of this InlineResponse2003. + Gets the label of this InlineResponse2003. - :return: The organization_information of this InlineResponse2003. - :rtype: Boardingv1registrationsOrganizationInformation + :return: The label of this InlineResponse2003. + :rtype: str """ - return self._organization_information + return self._label - @organization_information.setter - def organization_information(self, organization_information): + @label.setter + def label(self, label): """ - Sets the organization_information of this InlineResponse2003. + Sets the label of this InlineResponse2003. - :param organization_information: The organization_information of this InlineResponse2003. - :type: Boardingv1registrationsOrganizationInformation + :param label: The label of this InlineResponse2003. + :type: str """ - self._organization_information = organization_information + self._label = label @property - def product_information(self): + def customer_visible(self): """ - Gets the product_information of this InlineResponse2003. + Gets the customer_visible of this InlineResponse2003. - :return: The product_information of this InlineResponse2003. - :rtype: Boardingv1registrationsProductInformation + :return: The customer_visible of this InlineResponse2003. + :rtype: bool """ - return self._product_information + return self._customer_visible - @product_information.setter - def product_information(self, product_information): + @customer_visible.setter + def customer_visible(self, customer_visible): """ - Sets the product_information of this InlineResponse2003. + Sets the customer_visible of this InlineResponse2003. - :param product_information: The product_information of this InlineResponse2003. - :type: Boardingv1registrationsProductInformation + :param customer_visible: The customer_visible of this InlineResponse2003. + :type: bool """ - self._product_information = product_information + self._customer_visible = customer_visible @property - def product_information_setups(self): + def text_min_length(self): """ - Gets the product_information_setups of this InlineResponse2003. + Gets the text_min_length of this InlineResponse2003. - :return: The product_information_setups of this InlineResponse2003. - :rtype: list[InlineResponse2013ProductInformationSetups] + :return: The text_min_length of this InlineResponse2003. + :rtype: int """ - return self._product_information_setups + return self._text_min_length - @product_information_setups.setter - def product_information_setups(self, product_information_setups): + @text_min_length.setter + def text_min_length(self, text_min_length): """ - Sets the product_information_setups of this InlineResponse2003. + Sets the text_min_length of this InlineResponse2003. - :param product_information_setups: The product_information_setups of this InlineResponse2003. - :type: list[InlineResponse2013ProductInformationSetups] + :param text_min_length: The text_min_length of this InlineResponse2003. + :type: int """ - self._product_information_setups = product_information_setups + self._text_min_length = text_min_length @property - def document_information(self): + def text_max_length(self): """ - Gets the document_information of this InlineResponse2003. + Gets the text_max_length of this InlineResponse2003. - :return: The document_information of this InlineResponse2003. - :rtype: Boardingv1registrationsDocumentInformation + :return: The text_max_length of this InlineResponse2003. + :rtype: int """ - return self._document_information + return self._text_max_length - @document_information.setter - def document_information(self, document_information): + @text_max_length.setter + def text_max_length(self, text_max_length): """ - Sets the document_information of this InlineResponse2003. + Sets the text_max_length of this InlineResponse2003. - :param document_information: The document_information of this InlineResponse2003. - :type: Boardingv1registrationsDocumentInformation + :param text_max_length: The text_max_length of this InlineResponse2003. + :type: int """ - self._document_information = document_information + self._text_max_length = text_max_length @property - def details(self): + def possible_values(self): """ - Gets the details of this InlineResponse2003. + Gets the possible_values of this InlineResponse2003. - :return: The details of this InlineResponse2003. - :rtype: dict(str, list[object]) + :return: The possible_values of this InlineResponse2003. + :rtype: str """ - return self._details + return self._possible_values - @details.setter - def details(self, details): + @possible_values.setter + def possible_values(self, possible_values): """ - Sets the details of this InlineResponse2003. + Sets the possible_values of this InlineResponse2003. - :param details: The details of this InlineResponse2003. - :type: dict(str, list[object]) + :param possible_values: The possible_values of this InlineResponse2003. + :type: str """ - self._details = details + self._possible_values = possible_values + + @property + def text_default_value(self): + """ + Gets the text_default_value of this InlineResponse2003. + + :return: The text_default_value of this InlineResponse2003. + :rtype: str + """ + return self._text_default_value + + @text_default_value.setter + def text_default_value(self, text_default_value): + """ + Sets the text_default_value of this InlineResponse2003. + + :param text_default_value: The text_default_value of this InlineResponse2003. + :type: str + """ + + self._text_default_value = text_default_value + + @property + def merchant_id(self): + """ + Gets the merchant_id of this InlineResponse2003. + + :return: The merchant_id of this InlineResponse2003. + :rtype: str + """ + return self._merchant_id + + @merchant_id.setter + def merchant_id(self, merchant_id): + """ + Sets the merchant_id of this InlineResponse2003. + + :param merchant_id: The merchant_id of this InlineResponse2003. + :type: str + """ + + self._merchant_id = merchant_id + + @property + def reference_type(self): + """ + Gets the reference_type of this InlineResponse2003. + + :return: The reference_type of this InlineResponse2003. + :rtype: str + """ + return self._reference_type + + @reference_type.setter + def reference_type(self, reference_type): + """ + Sets the reference_type of this InlineResponse2003. + + :param reference_type: The reference_type of this InlineResponse2003. + :type: str + """ + + self._reference_type = reference_type + + @property + def read_only(self): + """ + Gets the read_only of this InlineResponse2003. + + :return: The read_only of this InlineResponse2003. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this InlineResponse2003. + + :param read_only: The read_only of this InlineResponse2003. + :type: bool + """ + + self._read_only = read_only + + @property + def merchant_defined_data_index(self): + """ + Gets the merchant_defined_data_index of this InlineResponse2003. + + :return: The merchant_defined_data_index of this InlineResponse2003. + :rtype: int + """ + return self._merchant_defined_data_index + + @merchant_defined_data_index.setter + def merchant_defined_data_index(self, merchant_defined_data_index): + """ + Sets the merchant_defined_data_index of this InlineResponse2003. + + :param merchant_defined_data_index: The merchant_defined_data_index of this InlineResponse2003. + :type: int + """ + + self._merchant_defined_data_index = merchant_defined_data_index def to_dict(self): """ diff --git a/CyberSource/models/inline_response2004.py b/CyberSource/models/inline_response2004.py index fef4b93e..d4f9e992 100644 --- a/CyberSource/models/inline_response2004.py +++ b/CyberSource/models/inline_response2004.py @@ -30,99 +30,199 @@ class InlineResponse2004(object): and the value is json key in definition. """ swagger_types = { - 'product_id': 'str', - 'product_name': 'str', - 'event_types': 'list[Notificationsubscriptionsv2productsorganizationIdEventTypes]' + 'registration_information': 'Boardingv1registrationsRegistrationInformation', + 'integration_information': 'InlineResponse2004IntegrationInformation', + 'organization_information': 'Boardingv1registrationsOrganizationInformation', + 'product_information': 'Boardingv1registrationsProductInformation', + 'product_information_setups': 'list[InlineResponse2013ProductInformationSetups]', + 'document_information': 'Boardingv1registrationsDocumentInformation', + 'details': 'dict(str, list[object])' } attribute_map = { - 'product_id': 'productId', - 'product_name': 'productName', - 'event_types': 'eventTypes' + 'registration_information': 'registrationInformation', + 'integration_information': 'integrationInformation', + 'organization_information': 'organizationInformation', + 'product_information': 'productInformation', + 'product_information_setups': 'productInformationSetups', + 'document_information': 'documentInformation', + 'details': 'details' } - def __init__(self, product_id=None, product_name=None, event_types=None): + def __init__(self, registration_information=None, integration_information=None, organization_information=None, product_information=None, product_information_setups=None, document_information=None, details=None): """ InlineResponse2004 - a model defined in Swagger """ - self._product_id = None - self._product_name = None - self._event_types = None + self._registration_information = None + self._integration_information = None + self._organization_information = None + self._product_information = None + self._product_information_setups = None + self._document_information = None + self._details = None + + if registration_information is not None: + self.registration_information = registration_information + if integration_information is not None: + self.integration_information = integration_information + if organization_information is not None: + self.organization_information = organization_information + if product_information is not None: + self.product_information = product_information + if product_information_setups is not None: + self.product_information_setups = product_information_setups + if document_information is not None: + self.document_information = document_information + if details is not None: + self.details = details - if product_id is not None: - self.product_id = product_id - if product_name is not None: - self.product_name = product_name - if event_types is not None: - self.event_types = event_types + @property + def registration_information(self): + """ + Gets the registration_information of this InlineResponse2004. + + :return: The registration_information of this InlineResponse2004. + :rtype: Boardingv1registrationsRegistrationInformation + """ + return self._registration_information + + @registration_information.setter + def registration_information(self, registration_information): + """ + Sets the registration_information of this InlineResponse2004. + + :param registration_information: The registration_information of this InlineResponse2004. + :type: Boardingv1registrationsRegistrationInformation + """ + + self._registration_information = registration_information + + @property + def integration_information(self): + """ + Gets the integration_information of this InlineResponse2004. + + :return: The integration_information of this InlineResponse2004. + :rtype: InlineResponse2004IntegrationInformation + """ + return self._integration_information + + @integration_information.setter + def integration_information(self, integration_information): + """ + Sets the integration_information of this InlineResponse2004. + + :param integration_information: The integration_information of this InlineResponse2004. + :type: InlineResponse2004IntegrationInformation + """ + + self._integration_information = integration_information + + @property + def organization_information(self): + """ + Gets the organization_information of this InlineResponse2004. + + :return: The organization_information of this InlineResponse2004. + :rtype: Boardingv1registrationsOrganizationInformation + """ + return self._organization_information + + @organization_information.setter + def organization_information(self, organization_information): + """ + Sets the organization_information of this InlineResponse2004. + + :param organization_information: The organization_information of this InlineResponse2004. + :type: Boardingv1registrationsOrganizationInformation + """ + + self._organization_information = organization_information + + @property + def product_information(self): + """ + Gets the product_information of this InlineResponse2004. + + :return: The product_information of this InlineResponse2004. + :rtype: Boardingv1registrationsProductInformation + """ + return self._product_information + + @product_information.setter + def product_information(self, product_information): + """ + Sets the product_information of this InlineResponse2004. + + :param product_information: The product_information of this InlineResponse2004. + :type: Boardingv1registrationsProductInformation + """ + + self._product_information = product_information @property - def product_id(self): + def product_information_setups(self): """ - Gets the product_id of this InlineResponse2004. - Product ID. + Gets the product_information_setups of this InlineResponse2004. - :return: The product_id of this InlineResponse2004. - :rtype: str + :return: The product_information_setups of this InlineResponse2004. + :rtype: list[InlineResponse2013ProductInformationSetups] """ - return self._product_id + return self._product_information_setups - @product_id.setter - def product_id(self, product_id): + @product_information_setups.setter + def product_information_setups(self, product_information_setups): """ - Sets the product_id of this InlineResponse2004. - Product ID. + Sets the product_information_setups of this InlineResponse2004. - :param product_id: The product_id of this InlineResponse2004. - :type: str + :param product_information_setups: The product_information_setups of this InlineResponse2004. + :type: list[InlineResponse2013ProductInformationSetups] """ - self._product_id = product_id + self._product_information_setups = product_information_setups @property - def product_name(self): + def document_information(self): """ - Gets the product_name of this InlineResponse2004. - Product Name. + Gets the document_information of this InlineResponse2004. - :return: The product_name of this InlineResponse2004. - :rtype: str + :return: The document_information of this InlineResponse2004. + :rtype: Boardingv1registrationsDocumentInformation """ - return self._product_name + return self._document_information - @product_name.setter - def product_name(self, product_name): + @document_information.setter + def document_information(self, document_information): """ - Sets the product_name of this InlineResponse2004. - Product Name. + Sets the document_information of this InlineResponse2004. - :param product_name: The product_name of this InlineResponse2004. - :type: str + :param document_information: The document_information of this InlineResponse2004. + :type: Boardingv1registrationsDocumentInformation """ - self._product_name = product_name + self._document_information = document_information @property - def event_types(self): + def details(self): """ - Gets the event_types of this InlineResponse2004. + Gets the details of this InlineResponse2004. - :return: The event_types of this InlineResponse2004. - :rtype: list[Notificationsubscriptionsv2productsorganizationIdEventTypes] + :return: The details of this InlineResponse2004. + :rtype: dict(str, list[object]) """ - return self._event_types + return self._details - @event_types.setter - def event_types(self, event_types): + @details.setter + def details(self, details): """ - Sets the event_types of this InlineResponse2004. + Sets the details of this InlineResponse2004. - :param event_types: The event_types of this InlineResponse2004. - :type: list[Notificationsubscriptionsv2productsorganizationIdEventTypes] + :param details: The details of this InlineResponse2004. + :type: dict(str, list[object]) """ - self._event_types = event_types + self._details = details def to_dict(self): """ diff --git a/CyberSource/models/inline_response2003_integration_information.py b/CyberSource/models/inline_response2004_integration_information.py similarity index 84% rename from CyberSource/models/inline_response2003_integration_information.py rename to CyberSource/models/inline_response2004_integration_information.py index 3bfa81e3..c6b0b377 100644 --- a/CyberSource/models/inline_response2003_integration_information.py +++ b/CyberSource/models/inline_response2004_integration_information.py @@ -15,7 +15,7 @@ import re -class InlineResponse2003IntegrationInformation(object): +class InlineResponse2004IntegrationInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,7 +31,7 @@ class InlineResponse2003IntegrationInformation(object): """ swagger_types = { 'oauth2': 'list[Boardingv1registrationsIntegrationInformationOauth2]', - 'tenant_configurations': 'list[InlineResponse2003IntegrationInformationTenantConfigurations]' + 'tenant_configurations': 'list[InlineResponse2004IntegrationInformationTenantConfigurations]' } attribute_map = { @@ -41,7 +41,7 @@ class InlineResponse2003IntegrationInformation(object): def __init__(self, oauth2=None, tenant_configurations=None): """ - InlineResponse2003IntegrationInformation - a model defined in Swagger + InlineResponse2004IntegrationInformation - a model defined in Swagger """ self._oauth2 = None @@ -55,9 +55,9 @@ def __init__(self, oauth2=None, tenant_configurations=None): @property def oauth2(self): """ - Gets the oauth2 of this InlineResponse2003IntegrationInformation. + Gets the oauth2 of this InlineResponse2004IntegrationInformation. - :return: The oauth2 of this InlineResponse2003IntegrationInformation. + :return: The oauth2 of this InlineResponse2004IntegrationInformation. :rtype: list[Boardingv1registrationsIntegrationInformationOauth2] """ return self._oauth2 @@ -65,9 +65,9 @@ def oauth2(self): @oauth2.setter def oauth2(self, oauth2): """ - Sets the oauth2 of this InlineResponse2003IntegrationInformation. + Sets the oauth2 of this InlineResponse2004IntegrationInformation. - :param oauth2: The oauth2 of this InlineResponse2003IntegrationInformation. + :param oauth2: The oauth2 of this InlineResponse2004IntegrationInformation. :type: list[Boardingv1registrationsIntegrationInformationOauth2] """ @@ -76,22 +76,22 @@ def oauth2(self, oauth2): @property def tenant_configurations(self): """ - Gets the tenant_configurations of this InlineResponse2003IntegrationInformation. + Gets the tenant_configurations of this InlineResponse2004IntegrationInformation. tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. - :return: The tenant_configurations of this InlineResponse2003IntegrationInformation. - :rtype: list[InlineResponse2003IntegrationInformationTenantConfigurations] + :return: The tenant_configurations of this InlineResponse2004IntegrationInformation. + :rtype: list[InlineResponse2004IntegrationInformationTenantConfigurations] """ return self._tenant_configurations @tenant_configurations.setter def tenant_configurations(self, tenant_configurations): """ - Sets the tenant_configurations of this InlineResponse2003IntegrationInformation. + Sets the tenant_configurations of this InlineResponse2004IntegrationInformation. tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. - :param tenant_configurations: The tenant_configurations of this InlineResponse2003IntegrationInformation. - :type: list[InlineResponse2003IntegrationInformationTenantConfigurations] + :param tenant_configurations: The tenant_configurations of this InlineResponse2004IntegrationInformation. + :type: list[InlineResponse2004IntegrationInformationTenantConfigurations] """ self._tenant_configurations = tenant_configurations @@ -138,7 +138,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2003IntegrationInformation): + if not isinstance(other, InlineResponse2004IntegrationInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2003_integration_information_tenant_configurations.py b/CyberSource/models/inline_response2004_integration_information_tenant_configurations.py similarity index 83% rename from CyberSource/models/inline_response2003_integration_information_tenant_configurations.py rename to CyberSource/models/inline_response2004_integration_information_tenant_configurations.py index 291a40e9..9271e906 100644 --- a/CyberSource/models/inline_response2003_integration_information_tenant_configurations.py +++ b/CyberSource/models/inline_response2004_integration_information_tenant_configurations.py @@ -15,7 +15,7 @@ import re -class InlineResponse2003IntegrationInformationTenantConfigurations(object): +class InlineResponse2004IntegrationInformationTenantConfigurations(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -47,7 +47,7 @@ class InlineResponse2003IntegrationInformationTenantConfigurations(object): def __init__(self, solution_id=None, tenant_configuration_id=None, status=None, submit_time_utc=None, tenant_information=None): """ - InlineResponse2003IntegrationInformationTenantConfigurations - a model defined in Swagger + InlineResponse2004IntegrationInformationTenantConfigurations - a model defined in Swagger """ self._solution_id = None @@ -70,10 +70,10 @@ def __init__(self, solution_id=None, tenant_configuration_id=None, status=None, @property def solution_id(self): """ - Gets the solution_id of this InlineResponse2003IntegrationInformationTenantConfigurations. + Gets the solution_id of this InlineResponse2004IntegrationInformationTenantConfigurations. The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. - :return: The solution_id of this InlineResponse2003IntegrationInformationTenantConfigurations. + :return: The solution_id of this InlineResponse2004IntegrationInformationTenantConfigurations. :rtype: str """ return self._solution_id @@ -81,10 +81,10 @@ def solution_id(self): @solution_id.setter def solution_id(self, solution_id): """ - Sets the solution_id of this InlineResponse2003IntegrationInformationTenantConfigurations. + Sets the solution_id of this InlineResponse2004IntegrationInformationTenantConfigurations. The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. - :param solution_id: The solution_id of this InlineResponse2003IntegrationInformationTenantConfigurations. + :param solution_id: The solution_id of this InlineResponse2004IntegrationInformationTenantConfigurations. :type: str """ @@ -93,10 +93,10 @@ def solution_id(self, solution_id): @property def tenant_configuration_id(self): """ - Gets the tenant_configuration_id of this InlineResponse2003IntegrationInformationTenantConfigurations. + Gets the tenant_configuration_id of this InlineResponse2004IntegrationInformationTenantConfigurations. The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. - :return: The tenant_configuration_id of this InlineResponse2003IntegrationInformationTenantConfigurations. + :return: The tenant_configuration_id of this InlineResponse2004IntegrationInformationTenantConfigurations. :rtype: str """ return self._tenant_configuration_id @@ -104,10 +104,10 @@ def tenant_configuration_id(self): @tenant_configuration_id.setter def tenant_configuration_id(self, tenant_configuration_id): """ - Sets the tenant_configuration_id of this InlineResponse2003IntegrationInformationTenantConfigurations. + Sets the tenant_configuration_id of this InlineResponse2004IntegrationInformationTenantConfigurations. The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. - :param tenant_configuration_id: The tenant_configuration_id of this InlineResponse2003IntegrationInformationTenantConfigurations. + :param tenant_configuration_id: The tenant_configuration_id of this InlineResponse2004IntegrationInformationTenantConfigurations. :type: str """ @@ -116,10 +116,10 @@ def tenant_configuration_id(self, tenant_configuration_id): @property def status(self): """ - Gets the status of this InlineResponse2003IntegrationInformationTenantConfigurations. + Gets the status of this InlineResponse2004IntegrationInformationTenantConfigurations. Possible values: - LIVE - INACTIVE - TEST - :return: The status of this InlineResponse2003IntegrationInformationTenantConfigurations. + :return: The status of this InlineResponse2004IntegrationInformationTenantConfigurations. :rtype: str """ return self._status @@ -127,10 +127,10 @@ def status(self): @status.setter def status(self, status): """ - Sets the status of this InlineResponse2003IntegrationInformationTenantConfigurations. + Sets the status of this InlineResponse2004IntegrationInformationTenantConfigurations. Possible values: - LIVE - INACTIVE - TEST - :param status: The status of this InlineResponse2003IntegrationInformationTenantConfigurations. + :param status: The status of this InlineResponse2004IntegrationInformationTenantConfigurations. :type: str """ @@ -139,10 +139,10 @@ def status(self, status): @property def submit_time_utc(self): """ - Gets the submit_time_utc of this InlineResponse2003IntegrationInformationTenantConfigurations. + Gets the submit_time_utc of this InlineResponse2004IntegrationInformationTenantConfigurations. Time of request in UTC. - :return: The submit_time_utc of this InlineResponse2003IntegrationInformationTenantConfigurations. + :return: The submit_time_utc of this InlineResponse2004IntegrationInformationTenantConfigurations. :rtype: datetime """ return self._submit_time_utc @@ -150,10 +150,10 @@ def submit_time_utc(self): @submit_time_utc.setter def submit_time_utc(self, submit_time_utc): """ - Sets the submit_time_utc of this InlineResponse2003IntegrationInformationTenantConfigurations. + Sets the submit_time_utc of this InlineResponse2004IntegrationInformationTenantConfigurations. Time of request in UTC. - :param submit_time_utc: The submit_time_utc of this InlineResponse2003IntegrationInformationTenantConfigurations. + :param submit_time_utc: The submit_time_utc of this InlineResponse2004IntegrationInformationTenantConfigurations. :type: datetime """ @@ -162,9 +162,9 @@ def submit_time_utc(self, submit_time_utc): @property def tenant_information(self): """ - Gets the tenant_information of this InlineResponse2003IntegrationInformationTenantConfigurations. + Gets the tenant_information of this InlineResponse2004IntegrationInformationTenantConfigurations. - :return: The tenant_information of this InlineResponse2003IntegrationInformationTenantConfigurations. + :return: The tenant_information of this InlineResponse2004IntegrationInformationTenantConfigurations. :rtype: Boardingv1registrationsIntegrationInformationTenantInformation """ return self._tenant_information @@ -172,9 +172,9 @@ def tenant_information(self): @tenant_information.setter def tenant_information(self, tenant_information): """ - Sets the tenant_information of this InlineResponse2003IntegrationInformationTenantConfigurations. + Sets the tenant_information of this InlineResponse2004IntegrationInformationTenantConfigurations. - :param tenant_information: The tenant_information of this InlineResponse2003IntegrationInformationTenantConfigurations. + :param tenant_information: The tenant_information of this InlineResponse2004IntegrationInformationTenantConfigurations. :type: Boardingv1registrationsIntegrationInformationTenantInformation """ @@ -222,7 +222,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2003IntegrationInformationTenantConfigurations): + if not isinstance(other, InlineResponse2004IntegrationInformationTenantConfigurations): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2005.py b/CyberSource/models/inline_response2005.py index 2cca10fe..1c3cb194 100644 --- a/CyberSource/models/inline_response2005.py +++ b/CyberSource/models/inline_response2005.py @@ -30,347 +30,99 @@ class InlineResponse2005(object): and the value is json key in definition. """ swagger_types = { - 'webhook_id': 'str', - 'organization_id': 'str', - 'products': 'list[Notificationsubscriptionsv2webhooksProducts]', - 'webhook_url': 'str', - 'health_check_url': 'str', - 'status': 'str', - 'name': 'str', - 'description': 'str', - 'retry_policy': 'Notificationsubscriptionsv2webhooksRetryPolicy', - 'security_policy': 'Notificationsubscriptionsv2webhooksSecurityPolicy', - 'created_on': 'str', - 'notification_scope': 'str' + 'product_id': 'str', + 'product_name': 'str', + 'event_types': 'list[Notificationsubscriptionsv2productsorganizationIdEventTypes]' } attribute_map = { - 'webhook_id': 'webhookId', - 'organization_id': 'organizationId', - 'products': 'products', - 'webhook_url': 'webhookUrl', - 'health_check_url': 'healthCheckUrl', - 'status': 'status', - 'name': 'name', - 'description': 'description', - 'retry_policy': 'retryPolicy', - 'security_policy': 'securityPolicy', - 'created_on': 'createdOn', - 'notification_scope': 'notificationScope' + 'product_id': 'productId', + 'product_name': 'productName', + 'event_types': 'eventTypes' } - def __init__(self, webhook_id=None, organization_id=None, products=None, webhook_url=None, health_check_url=None, status='INACTIVE', name=None, description=None, retry_policy=None, security_policy=None, created_on=None, notification_scope='DESCENDANTS'): + def __init__(self, product_id=None, product_name=None, event_types=None): """ InlineResponse2005 - a model defined in Swagger """ - self._webhook_id = None - self._organization_id = None - self._products = None - self._webhook_url = None - self._health_check_url = None - self._status = None - self._name = None - self._description = None - self._retry_policy = None - self._security_policy = None - self._created_on = None - self._notification_scope = None - - if webhook_id is not None: - self.webhook_id = webhook_id - if organization_id is not None: - self.organization_id = organization_id - if products is not None: - self.products = products - if webhook_url is not None: - self.webhook_url = webhook_url - if health_check_url is not None: - self.health_check_url = health_check_url - if status is not None: - self.status = status - if name is not None: - self.name = name - if description is not None: - self.description = description - if retry_policy is not None: - self.retry_policy = retry_policy - if security_policy is not None: - self.security_policy = security_policy - if created_on is not None: - self.created_on = created_on - if notification_scope is not None: - self.notification_scope = notification_scope + self._product_id = None + self._product_name = None + self._event_types = None - @property - def webhook_id(self): - """ - Gets the webhook_id of this InlineResponse2005. - Webhook Id. This is generated by the server. - - :return: The webhook_id of this InlineResponse2005. - :rtype: str - """ - return self._webhook_id - - @webhook_id.setter - def webhook_id(self, webhook_id): - """ - Sets the webhook_id of this InlineResponse2005. - Webhook Id. This is generated by the server. - - :param webhook_id: The webhook_id of this InlineResponse2005. - :type: str - """ - - self._webhook_id = webhook_id - - @property - def organization_id(self): - """ - Gets the organization_id of this InlineResponse2005. - Organization ID. - - :return: The organization_id of this InlineResponse2005. - :rtype: str - """ - return self._organization_id - - @organization_id.setter - def organization_id(self, organization_id): - """ - Sets the organization_id of this InlineResponse2005. - Organization ID. - - :param organization_id: The organization_id of this InlineResponse2005. - :type: str - """ - - self._organization_id = organization_id - - @property - def products(self): - """ - Gets the products of this InlineResponse2005. - - :return: The products of this InlineResponse2005. - :rtype: list[Notificationsubscriptionsv2webhooksProducts] - """ - return self._products - - @products.setter - def products(self, products): - """ - Sets the products of this InlineResponse2005. - - :param products: The products of this InlineResponse2005. - :type: list[Notificationsubscriptionsv2webhooksProducts] - """ - - self._products = products - - @property - def webhook_url(self): - """ - Gets the webhook_url of this InlineResponse2005. - The client's endpoint (URL) to receive webhooks. - - :return: The webhook_url of this InlineResponse2005. - :rtype: str - """ - return self._webhook_url - - @webhook_url.setter - def webhook_url(self, webhook_url): - """ - Sets the webhook_url of this InlineResponse2005. - The client's endpoint (URL) to receive webhooks. - - :param webhook_url: The webhook_url of this InlineResponse2005. - :type: str - """ - - self._webhook_url = webhook_url + if product_id is not None: + self.product_id = product_id + if product_name is not None: + self.product_name = product_name + if event_types is not None: + self.event_types = event_types @property - def health_check_url(self): + def product_id(self): """ - Gets the health_check_url of this InlineResponse2005. - The client's health check endpoint (URL). + Gets the product_id of this InlineResponse2005. + Product ID. - :return: The health_check_url of this InlineResponse2005. + :return: The product_id of this InlineResponse2005. :rtype: str """ - return self._health_check_url + return self._product_id - @health_check_url.setter - def health_check_url(self, health_check_url): + @product_id.setter + def product_id(self, product_id): """ - Sets the health_check_url of this InlineResponse2005. - The client's health check endpoint (URL). + Sets the product_id of this InlineResponse2005. + Product ID. - :param health_check_url: The health_check_url of this InlineResponse2005. + :param product_id: The product_id of this InlineResponse2005. :type: str """ - self._health_check_url = health_check_url + self._product_id = product_id @property - def status(self): + def product_name(self): """ - Gets the status of this InlineResponse2005. - Webhook status. + Gets the product_name of this InlineResponse2005. + Product Name. - :return: The status of this InlineResponse2005. + :return: The product_name of this InlineResponse2005. :rtype: str """ - return self._status + return self._product_name - @status.setter - def status(self, status): + @product_name.setter + def product_name(self, product_name): """ - Sets the status of this InlineResponse2005. - Webhook status. + Sets the product_name of this InlineResponse2005. + Product Name. - :param status: The status of this InlineResponse2005. + :param product_name: The product_name of this InlineResponse2005. :type: str """ - self._status = status + self._product_name = product_name @property - def name(self): + def event_types(self): """ - Gets the name of this InlineResponse2005. - Client friendly webhook name. + Gets the event_types of this InlineResponse2005. - :return: The name of this InlineResponse2005. - :rtype: str + :return: The event_types of this InlineResponse2005. + :rtype: list[Notificationsubscriptionsv2productsorganizationIdEventTypes] """ - return self._name + return self._event_types - @name.setter - def name(self, name): + @event_types.setter + def event_types(self, event_types): """ - Sets the name of this InlineResponse2005. - Client friendly webhook name. + Sets the event_types of this InlineResponse2005. - :param name: The name of this InlineResponse2005. - :type: str - """ - - self._name = name - - @property - def description(self): - """ - Gets the description of this InlineResponse2005. - Client friendly webhook description. - - :return: The description of this InlineResponse2005. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """ - Sets the description of this InlineResponse2005. - Client friendly webhook description. - - :param description: The description of this InlineResponse2005. - :type: str - """ - - self._description = description - - @property - def retry_policy(self): - """ - Gets the retry_policy of this InlineResponse2005. - - :return: The retry_policy of this InlineResponse2005. - :rtype: Notificationsubscriptionsv2webhooksRetryPolicy - """ - return self._retry_policy - - @retry_policy.setter - def retry_policy(self, retry_policy): - """ - Sets the retry_policy of this InlineResponse2005. - - :param retry_policy: The retry_policy of this InlineResponse2005. - :type: Notificationsubscriptionsv2webhooksRetryPolicy - """ - - self._retry_policy = retry_policy - - @property - def security_policy(self): - """ - Gets the security_policy of this InlineResponse2005. - - :return: The security_policy of this InlineResponse2005. - :rtype: Notificationsubscriptionsv2webhooksSecurityPolicy - """ - return self._security_policy - - @security_policy.setter - def security_policy(self, security_policy): - """ - Sets the security_policy of this InlineResponse2005. - - :param security_policy: The security_policy of this InlineResponse2005. - :type: Notificationsubscriptionsv2webhooksSecurityPolicy - """ - - self._security_policy = security_policy - - @property - def created_on(self): - """ - Gets the created_on of this InlineResponse2005. - Date on which webhook was created/registered. - - :return: The created_on of this InlineResponse2005. - :rtype: str - """ - return self._created_on - - @created_on.setter - def created_on(self, created_on): - """ - Sets the created_on of this InlineResponse2005. - Date on which webhook was created/registered. - - :param created_on: The created_on of this InlineResponse2005. - :type: str - """ - - self._created_on = created_on - - @property - def notification_scope(self): - """ - Gets the notification_scope of this InlineResponse2005. - The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS - - :return: The notification_scope of this InlineResponse2005. - :rtype: str - """ - return self._notification_scope - - @notification_scope.setter - def notification_scope(self, notification_scope): - """ - Sets the notification_scope of this InlineResponse2005. - The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS - - :param notification_scope: The notification_scope of this InlineResponse2005. - :type: str + :param event_types: The event_types of this InlineResponse2005. + :type: list[Notificationsubscriptionsv2productsorganizationIdEventTypes] """ - self._notification_scope = notification_scope + self._event_types = event_types def to_dict(self): """ diff --git a/CyberSource/models/inline_response2006.py b/CyberSource/models/inline_response2006.py index 12e4ccbf..edd6bb7a 100644 --- a/CyberSource/models/inline_response2006.py +++ b/CyberSource/models/inline_response2006.py @@ -41,7 +41,6 @@ class InlineResponse2006(object): 'retry_policy': 'Notificationsubscriptionsv2webhooksRetryPolicy', 'security_policy': 'Notificationsubscriptionsv2webhooksSecurityPolicy', 'created_on': 'str', - 'updated_on': 'str', 'notification_scope': 'str' } @@ -57,11 +56,10 @@ class InlineResponse2006(object): 'retry_policy': 'retryPolicy', 'security_policy': 'securityPolicy', 'created_on': 'createdOn', - 'updated_on': 'updatedOn', 'notification_scope': 'notificationScope' } - def __init__(self, webhook_id=None, organization_id=None, products=None, webhook_url=None, health_check_url=None, status='INACTIVE', name=None, description=None, retry_policy=None, security_policy=None, created_on=None, updated_on=None, notification_scope='DESCENDANTS'): + def __init__(self, webhook_id=None, organization_id=None, products=None, webhook_url=None, health_check_url=None, status='INACTIVE', name=None, description=None, retry_policy=None, security_policy=None, created_on=None, notification_scope='DESCENDANTS'): """ InlineResponse2006 - a model defined in Swagger """ @@ -77,7 +75,6 @@ def __init__(self, webhook_id=None, organization_id=None, products=None, webhook self._retry_policy = None self._security_policy = None self._created_on = None - self._updated_on = None self._notification_scope = None if webhook_id is not None: @@ -102,8 +99,6 @@ def __init__(self, webhook_id=None, organization_id=None, products=None, webhook self.security_policy = security_policy if created_on is not None: self.created_on = created_on - if updated_on is not None: - self.updated_on = updated_on if notification_scope is not None: self.notification_scope = notification_scope @@ -354,29 +349,6 @@ def created_on(self, created_on): self._created_on = created_on - @property - def updated_on(self): - """ - Gets the updated_on of this InlineResponse2006. - Date on which webhook was most recently updated. - - :return: The updated_on of this InlineResponse2006. - :rtype: str - """ - return self._updated_on - - @updated_on.setter - def updated_on(self, updated_on): - """ - Sets the updated_on of this InlineResponse2006. - Date on which webhook was most recently updated. - - :param updated_on: The updated_on of this InlineResponse2006. - :type: str - """ - - self._updated_on = updated_on - @property def notification_scope(self): """ diff --git a/CyberSource/models/inline_response2007.py b/CyberSource/models/inline_response2007.py index 836ba629..8954facd 100644 --- a/CyberSource/models/inline_response2007.py +++ b/CyberSource/models/inline_response2007.py @@ -30,185 +30,375 @@ class InlineResponse2007(object): and the value is json key in definition. """ swagger_types = { - 'total_count': 'int', - 'offset': 'int', - 'limit': 'int', - 'sort': 'str', - 'count': 'int', - 'devices': 'list[InlineResponse2007Devices]' + 'webhook_id': 'str', + 'organization_id': 'str', + 'products': 'list[Notificationsubscriptionsv2webhooksProducts]', + 'webhook_url': 'str', + 'health_check_url': 'str', + 'status': 'str', + 'name': 'str', + 'description': 'str', + 'retry_policy': 'Notificationsubscriptionsv2webhooksRetryPolicy', + 'security_policy': 'Notificationsubscriptionsv2webhooksSecurityPolicy', + 'created_on': 'str', + 'updated_on': 'str', + 'notification_scope': 'str' } attribute_map = { - 'total_count': 'totalCount', - 'offset': 'offset', - 'limit': 'limit', - 'sort': 'sort', - 'count': 'count', - 'devices': 'devices' + 'webhook_id': 'webhookId', + 'organization_id': 'organizationId', + 'products': 'products', + 'webhook_url': 'webhookUrl', + 'health_check_url': 'healthCheckUrl', + 'status': 'status', + 'name': 'name', + 'description': 'description', + 'retry_policy': 'retryPolicy', + 'security_policy': 'securityPolicy', + 'created_on': 'createdOn', + 'updated_on': 'updatedOn', + 'notification_scope': 'notificationScope' } - def __init__(self, total_count=None, offset=None, limit=None, sort=None, count=None, devices=None): + def __init__(self, webhook_id=None, organization_id=None, products=None, webhook_url=None, health_check_url=None, status='INACTIVE', name=None, description=None, retry_policy=None, security_policy=None, created_on=None, updated_on=None, notification_scope='DESCENDANTS'): """ InlineResponse2007 - a model defined in Swagger """ - self._total_count = None - self._offset = None - self._limit = None - self._sort = None - self._count = None - self._devices = None - - if total_count is not None: - self.total_count = total_count - if offset is not None: - self.offset = offset - if limit is not None: - self.limit = limit - if sort is not None: - self.sort = sort - if count is not None: - self.count = count - if devices is not None: - self.devices = devices + self._webhook_id = None + self._organization_id = None + self._products = None + self._webhook_url = None + self._health_check_url = None + self._status = None + self._name = None + self._description = None + self._retry_policy = None + self._security_policy = None + self._created_on = None + self._updated_on = None + self._notification_scope = None + + if webhook_id is not None: + self.webhook_id = webhook_id + if organization_id is not None: + self.organization_id = organization_id + if products is not None: + self.products = products + if webhook_url is not None: + self.webhook_url = webhook_url + if health_check_url is not None: + self.health_check_url = health_check_url + if status is not None: + self.status = status + if name is not None: + self.name = name + if description is not None: + self.description = description + if retry_policy is not None: + self.retry_policy = retry_policy + if security_policy is not None: + self.security_policy = security_policy + if created_on is not None: + self.created_on = created_on + if updated_on is not None: + self.updated_on = updated_on + if notification_scope is not None: + self.notification_scope = notification_scope @property - def total_count(self): + def webhook_id(self): """ - Gets the total_count of this InlineResponse2007. - Total number of results. + Gets the webhook_id of this InlineResponse2007. + Webhook Id. This is generated by the server. - :return: The total_count of this InlineResponse2007. - :rtype: int + :return: The webhook_id of this InlineResponse2007. + :rtype: str + """ + return self._webhook_id + + @webhook_id.setter + def webhook_id(self, webhook_id): + """ + Sets the webhook_id of this InlineResponse2007. + Webhook Id. This is generated by the server. + + :param webhook_id: The webhook_id of this InlineResponse2007. + :type: str + """ + + self._webhook_id = webhook_id + + @property + def organization_id(self): + """ + Gets the organization_id of this InlineResponse2007. + Organization ID. + + :return: The organization_id of this InlineResponse2007. + :rtype: str + """ + return self._organization_id + + @organization_id.setter + def organization_id(self, organization_id): + """ + Sets the organization_id of this InlineResponse2007. + Organization ID. + + :param organization_id: The organization_id of this InlineResponse2007. + :type: str + """ + + self._organization_id = organization_id + + @property + def products(self): + """ + Gets the products of this InlineResponse2007. + + :return: The products of this InlineResponse2007. + :rtype: list[Notificationsubscriptionsv2webhooksProducts] + """ + return self._products + + @products.setter + def products(self, products): + """ + Sets the products of this InlineResponse2007. + + :param products: The products of this InlineResponse2007. + :type: list[Notificationsubscriptionsv2webhooksProducts] + """ + + self._products = products + + @property + def webhook_url(self): + """ + Gets the webhook_url of this InlineResponse2007. + The client's endpoint (URL) to receive webhooks. + + :return: The webhook_url of this InlineResponse2007. + :rtype: str + """ + return self._webhook_url + + @webhook_url.setter + def webhook_url(self, webhook_url): + """ + Sets the webhook_url of this InlineResponse2007. + The client's endpoint (URL) to receive webhooks. + + :param webhook_url: The webhook_url of this InlineResponse2007. + :type: str + """ + + self._webhook_url = webhook_url + + @property + def health_check_url(self): """ - return self._total_count + Gets the health_check_url of this InlineResponse2007. + The client's health check endpoint (URL). - @total_count.setter - def total_count(self, total_count): + :return: The health_check_url of this InlineResponse2007. + :rtype: str + """ + return self._health_check_url + + @health_check_url.setter + def health_check_url(self, health_check_url): + """ + Sets the health_check_url of this InlineResponse2007. + The client's health check endpoint (URL). + + :param health_check_url: The health_check_url of this InlineResponse2007. + :type: str + """ + + self._health_check_url = health_check_url + + @property + def status(self): + """ + Gets the status of this InlineResponse2007. + Webhook status. + + :return: The status of this InlineResponse2007. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """ + Sets the status of this InlineResponse2007. + Webhook status. + + :param status: The status of this InlineResponse2007. + :type: str + """ + + self._status = status + + @property + def name(self): """ - Sets the total_count of this InlineResponse2007. - Total number of results. + Gets the name of this InlineResponse2007. + Client friendly webhook name. - :param total_count: The total_count of this InlineResponse2007. - :type: int + :return: The name of this InlineResponse2007. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this InlineResponse2007. + Client friendly webhook name. + + :param name: The name of this InlineResponse2007. + :type: str + """ + + self._name = name + + @property + def description(self): + """ + Gets the description of this InlineResponse2007. + Client friendly webhook description. + + :return: The description of this InlineResponse2007. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): """ + Sets the description of this InlineResponse2007. + Client friendly webhook description. - self._total_count = total_count + :param description: The description of this InlineResponse2007. + :type: str + """ + + self._description = description @property - def offset(self): + def retry_policy(self): """ - Gets the offset of this InlineResponse2007. - Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + Gets the retry_policy of this InlineResponse2007. - :return: The offset of this InlineResponse2007. - :rtype: int + :return: The retry_policy of this InlineResponse2007. + :rtype: Notificationsubscriptionsv2webhooksRetryPolicy """ - return self._offset + return self._retry_policy - @offset.setter - def offset(self, offset): + @retry_policy.setter + def retry_policy(self, retry_policy): """ - Sets the offset of this InlineResponse2007. - Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + Sets the retry_policy of this InlineResponse2007. - :param offset: The offset of this InlineResponse2007. - :type: int + :param retry_policy: The retry_policy of this InlineResponse2007. + :type: Notificationsubscriptionsv2webhooksRetryPolicy """ - self._offset = offset + self._retry_policy = retry_policy @property - def limit(self): + def security_policy(self): """ - Gets the limit of this InlineResponse2007. - Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + Gets the security_policy of this InlineResponse2007. - :return: The limit of this InlineResponse2007. - :rtype: int + :return: The security_policy of this InlineResponse2007. + :rtype: Notificationsubscriptionsv2webhooksSecurityPolicy """ - return self._limit + return self._security_policy - @limit.setter - def limit(self, limit): + @security_policy.setter + def security_policy(self, security_policy): """ - Sets the limit of this InlineResponse2007. - Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + Sets the security_policy of this InlineResponse2007. - :param limit: The limit of this InlineResponse2007. - :type: int + :param security_policy: The security_policy of this InlineResponse2007. + :type: Notificationsubscriptionsv2webhooksSecurityPolicy """ - self._limit = limit + self._security_policy = security_policy @property - def sort(self): + def created_on(self): """ - Gets the sort of this InlineResponse2007. - A comma separated list of the following form: `submitTimeUtc:desc` + Gets the created_on of this InlineResponse2007. + Date on which webhook was created/registered. - :return: The sort of this InlineResponse2007. + :return: The created_on of this InlineResponse2007. :rtype: str """ - return self._sort + return self._created_on - @sort.setter - def sort(self, sort): + @created_on.setter + def created_on(self, created_on): """ - Sets the sort of this InlineResponse2007. - A comma separated list of the following form: `submitTimeUtc:desc` + Sets the created_on of this InlineResponse2007. + Date on which webhook was created/registered. - :param sort: The sort of this InlineResponse2007. + :param created_on: The created_on of this InlineResponse2007. :type: str """ - self._sort = sort + self._created_on = created_on @property - def count(self): + def updated_on(self): """ - Gets the count of this InlineResponse2007. - Results for this page, this could be below the limit. + Gets the updated_on of this InlineResponse2007. + Date on which webhook was most recently updated. - :return: The count of this InlineResponse2007. - :rtype: int + :return: The updated_on of this InlineResponse2007. + :rtype: str """ - return self._count + return self._updated_on - @count.setter - def count(self, count): + @updated_on.setter + def updated_on(self, updated_on): """ - Sets the count of this InlineResponse2007. - Results for this page, this could be below the limit. + Sets the updated_on of this InlineResponse2007. + Date on which webhook was most recently updated. - :param count: The count of this InlineResponse2007. - :type: int + :param updated_on: The updated_on of this InlineResponse2007. + :type: str """ - self._count = count + self._updated_on = updated_on @property - def devices(self): + def notification_scope(self): """ - Gets the devices of this InlineResponse2007. - A collection of devices + Gets the notification_scope of this InlineResponse2007. + The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS - :return: The devices of this InlineResponse2007. - :rtype: list[InlineResponse2007Devices] + :return: The notification_scope of this InlineResponse2007. + :rtype: str """ - return self._devices + return self._notification_scope - @devices.setter - def devices(self, devices): + @notification_scope.setter + def notification_scope(self, notification_scope): """ - Sets the devices of this InlineResponse2007. - A collection of devices + Sets the notification_scope of this InlineResponse2007. + The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS - :param devices: The devices of this InlineResponse2007. - :type: list[InlineResponse2007Devices] + :param notification_scope: The notification_scope of this InlineResponse2007. + :type: str """ - self._devices = devices + self._notification_scope = notification_scope def to_dict(self): """ diff --git a/CyberSource/models/inline_response2008.py b/CyberSource/models/inline_response2008.py index e5dce643..4e8767d2 100644 --- a/CyberSource/models/inline_response2008.py +++ b/CyberSource/models/inline_response2008.py @@ -30,58 +30,171 @@ class InlineResponse2008(object): and the value is json key in definition. """ swagger_types = { - 'status': 'str', - 'devices': 'list[Dmsv3devicesdeassociateDevices]' + 'total_count': 'int', + 'offset': 'int', + 'limit': 'int', + 'sort': 'str', + 'count': 'int', + 'devices': 'list[InlineResponse2008Devices]' } attribute_map = { - 'status': 'status', + 'total_count': 'totalCount', + 'offset': 'offset', + 'limit': 'limit', + 'sort': 'sort', + 'count': 'count', 'devices': 'devices' } - def __init__(self, status=None, devices=None): + def __init__(self, total_count=None, offset=None, limit=None, sort=None, count=None, devices=None): """ InlineResponse2008 - a model defined in Swagger """ - self._status = None + self._total_count = None + self._offset = None + self._limit = None + self._sort = None + self._count = None self._devices = None - if status is not None: - self.status = status + if total_count is not None: + self.total_count = total_count + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + if sort is not None: + self.sort = sort + if count is not None: + self.count = count if devices is not None: self.devices = devices @property - def status(self): + def total_count(self): """ - Gets the status of this InlineResponse2008. - Possible values: - OK + Gets the total_count of this InlineResponse2008. + Total number of results. - :return: The status of this InlineResponse2008. + :return: The total_count of this InlineResponse2008. + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """ + Sets the total_count of this InlineResponse2008. + Total number of results. + + :param total_count: The total_count of this InlineResponse2008. + :type: int + """ + + self._total_count = total_count + + @property + def offset(self): + """ + Gets the offset of this InlineResponse2008. + Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + + :return: The offset of this InlineResponse2008. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """ + Sets the offset of this InlineResponse2008. + Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + + :param offset: The offset of this InlineResponse2008. + :type: int + """ + + self._offset = offset + + @property + def limit(self): + """ + Gets the limit of this InlineResponse2008. + Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + + :return: The limit of this InlineResponse2008. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """ + Sets the limit of this InlineResponse2008. + Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + + :param limit: The limit of this InlineResponse2008. + :type: int + """ + + self._limit = limit + + @property + def sort(self): + """ + Gets the sort of this InlineResponse2008. + A comma separated list of the following form: `submitTimeUtc:desc` + + :return: The sort of this InlineResponse2008. :rtype: str """ - return self._status + return self._sort - @status.setter - def status(self, status): + @sort.setter + def sort(self, sort): """ - Sets the status of this InlineResponse2008. - Possible values: - OK + Sets the sort of this InlineResponse2008. + A comma separated list of the following form: `submitTimeUtc:desc` - :param status: The status of this InlineResponse2008. + :param sort: The sort of this InlineResponse2008. :type: str """ - self._status = status + self._sort = sort + + @property + def count(self): + """ + Gets the count of this InlineResponse2008. + Results for this page, this could be below the limit. + + :return: The count of this InlineResponse2008. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """ + Sets the count of this InlineResponse2008. + Results for this page, this could be below the limit. + + :param count: The count of this InlineResponse2008. + :type: int + """ + + self._count = count @property def devices(self): """ Gets the devices of this InlineResponse2008. + A collection of devices :return: The devices of this InlineResponse2008. - :rtype: list[Dmsv3devicesdeassociateDevices] + :rtype: list[InlineResponse2008Devices] """ return self._devices @@ -89,9 +202,10 @@ def devices(self): def devices(self, devices): """ Sets the devices of this InlineResponse2008. + A collection of devices :param devices: The devices of this InlineResponse2008. - :type: list[Dmsv3devicesdeassociateDevices] + :type: list[InlineResponse2008Devices] """ self._devices = devices diff --git a/CyberSource/models/inline_response2007_devices.py b/CyberSource/models/inline_response2008_devices.py similarity index 78% rename from CyberSource/models/inline_response2007_devices.py rename to CyberSource/models/inline_response2008_devices.py index edee5ca4..191edec6 100644 --- a/CyberSource/models/inline_response2007_devices.py +++ b/CyberSource/models/inline_response2008_devices.py @@ -15,7 +15,7 @@ import re -class InlineResponse2007Devices(object): +class InlineResponse2008Devices(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -55,7 +55,7 @@ class InlineResponse2007Devices(object): def __init__(self, reader_id=None, terminal_serial_number=None, terminal_id=None, model=None, make=None, hardware_revision=None, status=None, creation_date=None, pin=None): """ - InlineResponse2007Devices - a model defined in Swagger + InlineResponse2008Devices - a model defined in Swagger """ self._reader_id = None @@ -90,9 +90,9 @@ def __init__(self, reader_id=None, terminal_serial_number=None, terminal_id=None @property def reader_id(self): """ - Gets the reader_id of this InlineResponse2007Devices. + Gets the reader_id of this InlineResponse2008Devices. - :return: The reader_id of this InlineResponse2007Devices. + :return: The reader_id of this InlineResponse2008Devices. :rtype: str """ return self._reader_id @@ -100,9 +100,9 @@ def reader_id(self): @reader_id.setter def reader_id(self, reader_id): """ - Sets the reader_id of this InlineResponse2007Devices. + Sets the reader_id of this InlineResponse2008Devices. - :param reader_id: The reader_id of this InlineResponse2007Devices. + :param reader_id: The reader_id of this InlineResponse2008Devices. :type: str """ @@ -111,9 +111,9 @@ def reader_id(self, reader_id): @property def terminal_serial_number(self): """ - Gets the terminal_serial_number of this InlineResponse2007Devices. + Gets the terminal_serial_number of this InlineResponse2008Devices. - :return: The terminal_serial_number of this InlineResponse2007Devices. + :return: The terminal_serial_number of this InlineResponse2008Devices. :rtype: str """ return self._terminal_serial_number @@ -121,9 +121,9 @@ def terminal_serial_number(self): @terminal_serial_number.setter def terminal_serial_number(self, terminal_serial_number): """ - Sets the terminal_serial_number of this InlineResponse2007Devices. + Sets the terminal_serial_number of this InlineResponse2008Devices. - :param terminal_serial_number: The terminal_serial_number of this InlineResponse2007Devices. + :param terminal_serial_number: The terminal_serial_number of this InlineResponse2008Devices. :type: str """ @@ -132,9 +132,9 @@ def terminal_serial_number(self, terminal_serial_number): @property def terminal_id(self): """ - Gets the terminal_id of this InlineResponse2007Devices. + Gets the terminal_id of this InlineResponse2008Devices. - :return: The terminal_id of this InlineResponse2007Devices. + :return: The terminal_id of this InlineResponse2008Devices. :rtype: str """ return self._terminal_id @@ -142,9 +142,9 @@ def terminal_id(self): @terminal_id.setter def terminal_id(self, terminal_id): """ - Sets the terminal_id of this InlineResponse2007Devices. + Sets the terminal_id of this InlineResponse2008Devices. - :param terminal_id: The terminal_id of this InlineResponse2007Devices. + :param terminal_id: The terminal_id of this InlineResponse2008Devices. :type: str """ @@ -153,9 +153,9 @@ def terminal_id(self, terminal_id): @property def model(self): """ - Gets the model of this InlineResponse2007Devices. + Gets the model of this InlineResponse2008Devices. - :return: The model of this InlineResponse2007Devices. + :return: The model of this InlineResponse2008Devices. :rtype: str """ return self._model @@ -163,9 +163,9 @@ def model(self): @model.setter def model(self, model): """ - Sets the model of this InlineResponse2007Devices. + Sets the model of this InlineResponse2008Devices. - :param model: The model of this InlineResponse2007Devices. + :param model: The model of this InlineResponse2008Devices. :type: str """ @@ -174,9 +174,9 @@ def model(self, model): @property def make(self): """ - Gets the make of this InlineResponse2007Devices. + Gets the make of this InlineResponse2008Devices. - :return: The make of this InlineResponse2007Devices. + :return: The make of this InlineResponse2008Devices. :rtype: str """ return self._make @@ -184,9 +184,9 @@ def make(self): @make.setter def make(self, make): """ - Sets the make of this InlineResponse2007Devices. + Sets the make of this InlineResponse2008Devices. - :param make: The make of this InlineResponse2007Devices. + :param make: The make of this InlineResponse2008Devices. :type: str """ @@ -195,9 +195,9 @@ def make(self, make): @property def hardware_revision(self): """ - Gets the hardware_revision of this InlineResponse2007Devices. + Gets the hardware_revision of this InlineResponse2008Devices. - :return: The hardware_revision of this InlineResponse2007Devices. + :return: The hardware_revision of this InlineResponse2008Devices. :rtype: str """ return self._hardware_revision @@ -205,9 +205,9 @@ def hardware_revision(self): @hardware_revision.setter def hardware_revision(self, hardware_revision): """ - Sets the hardware_revision of this InlineResponse2007Devices. + Sets the hardware_revision of this InlineResponse2008Devices. - :param hardware_revision: The hardware_revision of this InlineResponse2007Devices. + :param hardware_revision: The hardware_revision of this InlineResponse2008Devices. :type: str """ @@ -216,10 +216,10 @@ def hardware_revision(self, hardware_revision): @property def status(self): """ - Gets the status of this InlineResponse2007Devices. + Gets the status of this InlineResponse2008Devices. Status of the device. Possible Values: - 'ACTIVE' - 'INACTIVE' - :return: The status of this InlineResponse2007Devices. + :return: The status of this InlineResponse2008Devices. :rtype: str """ return self._status @@ -227,10 +227,10 @@ def status(self): @status.setter def status(self, status): """ - Sets the status of this InlineResponse2007Devices. + Sets the status of this InlineResponse2008Devices. Status of the device. Possible Values: - 'ACTIVE' - 'INACTIVE' - :param status: The status of this InlineResponse2007Devices. + :param status: The status of this InlineResponse2008Devices. :type: str """ @@ -239,9 +239,9 @@ def status(self, status): @property def creation_date(self): """ - Gets the creation_date of this InlineResponse2007Devices. + Gets the creation_date of this InlineResponse2008Devices. - :return: The creation_date of this InlineResponse2007Devices. + :return: The creation_date of this InlineResponse2008Devices. :rtype: str """ return self._creation_date @@ -249,9 +249,9 @@ def creation_date(self): @creation_date.setter def creation_date(self, creation_date): """ - Sets the creation_date of this InlineResponse2007Devices. + Sets the creation_date of this InlineResponse2008Devices. - :param creation_date: The creation_date of this InlineResponse2007Devices. + :param creation_date: The creation_date of this InlineResponse2008Devices. :type: str """ @@ -260,9 +260,9 @@ def creation_date(self, creation_date): @property def pin(self): """ - Gets the pin of this InlineResponse2007Devices. + Gets the pin of this InlineResponse2008Devices. - :return: The pin of this InlineResponse2007Devices. + :return: The pin of this InlineResponse2008Devices. :rtype: str """ return self._pin @@ -270,9 +270,9 @@ def pin(self): @pin.setter def pin(self, pin): """ - Sets the pin of this InlineResponse2007Devices. + Sets the pin of this InlineResponse2008Devices. - :param pin: The pin of this InlineResponse2007Devices. + :param pin: The pin of this InlineResponse2008Devices. :type: str """ @@ -320,7 +320,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse2007Devices): + if not isinstance(other, InlineResponse2008Devices): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response2009.py b/CyberSource/models/inline_response2009.py index 212b2ef6..42d4c224 100644 --- a/CyberSource/models/inline_response2009.py +++ b/CyberSource/models/inline_response2009.py @@ -30,171 +30,58 @@ class InlineResponse2009(object): and the value is json key in definition. """ swagger_types = { - 'total_count': 'int', - 'offset': 'int', - 'limit': 'int', - 'sort': 'str', - 'count': 'int', - 'devices': 'list[InlineResponse2009Devices]' + 'status': 'str', + 'devices': 'list[Dmsv3devicesdeassociateDevices]' } attribute_map = { - 'total_count': 'totalCount', - 'offset': 'offset', - 'limit': 'limit', - 'sort': 'sort', - 'count': 'count', + 'status': 'status', 'devices': 'devices' } - def __init__(self, total_count=None, offset=None, limit=None, sort=None, count=None, devices=None): + def __init__(self, status=None, devices=None): """ InlineResponse2009 - a model defined in Swagger """ - self._total_count = None - self._offset = None - self._limit = None - self._sort = None - self._count = None + self._status = None self._devices = None - if total_count is not None: - self.total_count = total_count - if offset is not None: - self.offset = offset - if limit is not None: - self.limit = limit - if sort is not None: - self.sort = sort - if count is not None: - self.count = count + if status is not None: + self.status = status if devices is not None: self.devices = devices @property - def total_count(self): + def status(self): """ - Gets the total_count of this InlineResponse2009. - Total number of results. + Gets the status of this InlineResponse2009. + Possible values: - OK - :return: The total_count of this InlineResponse2009. - :rtype: int - """ - return self._total_count - - @total_count.setter - def total_count(self, total_count): - """ - Sets the total_count of this InlineResponse2009. - Total number of results. - - :param total_count: The total_count of this InlineResponse2009. - :type: int - """ - - self._total_count = total_count - - @property - def offset(self): - """ - Gets the offset of this InlineResponse2009. - Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. - - :return: The offset of this InlineResponse2009. - :rtype: int - """ - return self._offset - - @offset.setter - def offset(self, offset): - """ - Sets the offset of this InlineResponse2009. - Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. - - :param offset: The offset of this InlineResponse2009. - :type: int - """ - - self._offset = offset - - @property - def limit(self): - """ - Gets the limit of this InlineResponse2009. - Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - - :return: The limit of this InlineResponse2009. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """ - Sets the limit of this InlineResponse2009. - Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - - :param limit: The limit of this InlineResponse2009. - :type: int - """ - - self._limit = limit - - @property - def sort(self): - """ - Gets the sort of this InlineResponse2009. - A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` - - :return: The sort of this InlineResponse2009. + :return: The status of this InlineResponse2009. :rtype: str """ - return self._sort + return self._status - @sort.setter - def sort(self, sort): + @status.setter + def status(self, status): """ - Sets the sort of this InlineResponse2009. - A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` + Sets the status of this InlineResponse2009. + Possible values: - OK - :param sort: The sort of this InlineResponse2009. + :param status: The status of this InlineResponse2009. :type: str """ - self._sort = sort - - @property - def count(self): - """ - Gets the count of this InlineResponse2009. - Results for this page, this could be below the limit. - - :return: The count of this InlineResponse2009. - :rtype: int - """ - return self._count - - @count.setter - def count(self, count): - """ - Sets the count of this InlineResponse2009. - Results for this page, this could be below the limit. - - :param count: The count of this InlineResponse2009. - :type: int - """ - - self._count = count + self._status = status @property def devices(self): """ Gets the devices of this InlineResponse2009. - A collection of devices :return: The devices of this InlineResponse2009. - :rtype: list[InlineResponse2009Devices] + :rtype: list[Dmsv3devicesdeassociateDevices] """ return self._devices @@ -202,10 +89,9 @@ def devices(self): def devices(self, devices): """ Sets the devices of this InlineResponse2009. - A collection of devices :param devices: The devices of this InlineResponse2009. - :type: list[InlineResponse2009Devices] + :type: list[Dmsv3devicesdeassociateDevices] """ self._devices = devices diff --git a/CyberSource/models/inline_response20010_links.py b/CyberSource/models/inline_response200_details.py similarity index 62% rename from CyberSource/models/inline_response20010_links.py rename to CyberSource/models/inline_response200_details.py index 5c08c1e4..b00d6a7d 100644 --- a/CyberSource/models/inline_response20010_links.py +++ b/CyberSource/models/inline_response200_details.py @@ -15,7 +15,7 @@ import re -class InlineResponse20010Links(object): +class InlineResponse200Details(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,71 +30,73 @@ class InlineResponse20010Links(object): and the value is json key in definition. """ swagger_types = { - 'rel': 'str', - 'href': 'str' + 'name': 'str', + 'location': 'str' } attribute_map = { - 'rel': 'rel', - 'href': 'href' + 'name': 'name', + 'location': 'location' } - def __init__(self, rel=None, href=None): + def __init__(self, name=None, location=None): """ - InlineResponse20010Links - a model defined in Swagger + InlineResponse200Details - a model defined in Swagger """ - self._rel = None - self._href = None + self._name = None + self._location = None - if rel is not None: - self.rel = rel - if href is not None: - self.href = href + if name is not None: + self.name = name + if location is not None: + self.location = location @property - def rel(self): + def name(self): """ - Gets the rel of this InlineResponse20010Links. - Valid Values: * self * first * last * prev * next + Gets the name of this InlineResponse200Details. + The name of the field that caused the error. - :return: The rel of this InlineResponse20010Links. + :return: The name of this InlineResponse200Details. :rtype: str """ - return self._rel + return self._name - @rel.setter - def rel(self, rel): + @name.setter + def name(self, name): """ - Sets the rel of this InlineResponse20010Links. - Valid Values: * self * first * last * prev * next + Sets the name of this InlineResponse200Details. + The name of the field that caused the error. - :param rel: The rel of this InlineResponse20010Links. + :param name: The name of this InlineResponse200Details. :type: str """ - self._rel = rel + self._name = name @property - def href(self): + def location(self): """ - Gets the href of this InlineResponse20010Links. + Gets the location of this InlineResponse200Details. + The location of the field that caused the error. - :return: The href of this InlineResponse20010Links. + :return: The location of this InlineResponse200Details. :rtype: str """ - return self._href + return self._location - @href.setter - def href(self, href): + @location.setter + def location(self, location): """ - Sets the href of this InlineResponse20010Links. + Sets the location of this InlineResponse200Details. + The location of the field that caused the error. - :param href: The href of this InlineResponse20010Links. + :param location: The location of this InlineResponse200Details. :type: str """ - self._href = href + self._location = location def to_dict(self): """ @@ -138,7 +140,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, InlineResponse20010Links): + if not isinstance(other, InlineResponse200Details): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/inline_response200_errors.py b/CyberSource/models/inline_response200_errors.py new file mode 100644 index 00000000..cc263884 --- /dev/null +++ b/CyberSource/models/inline_response200_errors.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class InlineResponse200Errors(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'type': 'str', + 'message': 'str', + 'details': 'list[InlineResponse200Details]' + } + + attribute_map = { + 'type': 'type', + 'message': 'message', + 'details': 'details' + } + + def __init__(self, type=None, message=None, details=None): + """ + InlineResponse200Errors - a model defined in Swagger + """ + + self._type = None + self._message = None + self._details = None + + if type is not None: + self.type = type + if message is not None: + self.message = message + if details is not None: + self.details = details + + @property + def type(self): + """ + Gets the type of this InlineResponse200Errors. + The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. + + :return: The type of this InlineResponse200Errors. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """ + Sets the type of this InlineResponse200Errors. + The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. + + :param type: The type of this InlineResponse200Errors. + :type: str + """ + + self._type = type + + @property + def message(self): + """ + Gets the message of this InlineResponse200Errors. + The detailed message related to the type. + + :return: The message of this InlineResponse200Errors. + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """ + Sets the message of this InlineResponse200Errors. + The detailed message related to the type. + + :param message: The message of this InlineResponse200Errors. + :type: str + """ + + self._message = message + + @property + def details(self): + """ + Gets the details of this InlineResponse200Errors. + + :return: The details of this InlineResponse200Errors. + :rtype: list[InlineResponse200Details] + """ + return self._details + + @details.setter + def details(self, details): + """ + Sets the details of this InlineResponse200Errors. + + :param details: The details of this InlineResponse200Errors. + :type: list[InlineResponse200Details] + """ + + self._details = details + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, InlineResponse200Errors): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/inline_response200_responses.py b/CyberSource/models/inline_response200_responses.py new file mode 100644 index 00000000..9ea10f44 --- /dev/null +++ b/CyberSource/models/inline_response200_responses.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class InlineResponse200Responses(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'resource': 'str', + 'http_status': 'int', + 'id': 'str', + 'errors': 'list[InlineResponse200Errors]' + } + + attribute_map = { + 'resource': 'resource', + 'http_status': 'httpStatus', + 'id': 'id', + 'errors': 'errors' + } + + def __init__(self, resource=None, http_status=None, id=None, errors=None): + """ + InlineResponse200Responses - a model defined in Swagger + """ + + self._resource = None + self._http_status = None + self._id = None + self._errors = None + + if resource is not None: + self.resource = resource + if http_status is not None: + self.http_status = http_status + if id is not None: + self.id = id + if errors is not None: + self.errors = errors + + @property + def resource(self): + """ + Gets the resource of this InlineResponse200Responses. + TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + + :return: The resource of this InlineResponse200Responses. + :rtype: str + """ + return self._resource + + @resource.setter + def resource(self, resource): + """ + Sets the resource of this InlineResponse200Responses. + TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + + :param resource: The resource of this InlineResponse200Responses. + :type: str + """ + + self._resource = resource + + @property + def http_status(self): + """ + Gets the http_status of this InlineResponse200Responses. + Http status associated with the response. + + :return: The http_status of this InlineResponse200Responses. + :rtype: int + """ + return self._http_status + + @http_status.setter + def http_status(self, http_status): + """ + Sets the http_status of this InlineResponse200Responses. + Http status associated with the response. + + :param http_status: The http_status of this InlineResponse200Responses. + :type: int + """ + + self._http_status = http_status + + @property + def id(self): + """ + Gets the id of this InlineResponse200Responses. + TMS token id associated with the response. + + :return: The id of this InlineResponse200Responses. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """ + Sets the id of this InlineResponse200Responses. + TMS token id associated with the response. + + :param id: The id of this InlineResponse200Responses. + :type: str + """ + + self._id = id + + @property + def errors(self): + """ + Gets the errors of this InlineResponse200Responses. + + :return: The errors of this InlineResponse200Responses. + :rtype: list[InlineResponse200Errors] + """ + return self._errors + + @errors.setter + def errors(self, errors): + """ + Sets the errors of this InlineResponse200Responses. + + :param errors: The errors of this InlineResponse200Responses. + :type: list[InlineResponse200Errors] + """ + + self._errors = errors + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, InlineResponse200Responses): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/inline_response2013_setups_payments.py b/CyberSource/models/inline_response2013_setups_payments.py index c7ae684b..b1024ecc 100644 --- a/CyberSource/models/inline_response2013_setups_payments.py +++ b/CyberSource/models/inline_response2013_setups_payments.py @@ -48,7 +48,8 @@ class InlineResponse2013SetupsPayments(object): 'pay_by_link': 'InlineResponse2013SetupsPaymentsDigitalPayments', 'unified_checkout': 'InlineResponse2013SetupsPaymentsDigitalPayments', 'receivables_manager': 'InlineResponse2013SetupsPaymentsDigitalPayments', - 'service_fee': 'InlineResponse2013SetupsPaymentsCardProcessing' + 'service_fee': 'InlineResponse2013SetupsPaymentsCardProcessing', + 'batch_upload': 'InlineResponse2013SetupsPaymentsDigitalPayments' } attribute_map = { @@ -70,10 +71,11 @@ class InlineResponse2013SetupsPayments(object): 'pay_by_link': 'payByLink', 'unified_checkout': 'unifiedCheckout', 'receivables_manager': 'receivablesManager', - 'service_fee': 'serviceFee' + 'service_fee': 'serviceFee', + 'batch_upload': 'batchUpload' } - def __init__(self, card_processing=None, alternative_payment_methods=None, card_present_connect=None, e_check=None, payer_authentication=None, digital_payments=None, secure_acceptance=None, virtual_terminal=None, currency_conversion=None, tax=None, customer_invoicing=None, recurring_billing=None, cybs_ready_terminal=None, payment_orchestration=None, payouts=None, pay_by_link=None, unified_checkout=None, receivables_manager=None, service_fee=None): + def __init__(self, card_processing=None, alternative_payment_methods=None, card_present_connect=None, e_check=None, payer_authentication=None, digital_payments=None, secure_acceptance=None, virtual_terminal=None, currency_conversion=None, tax=None, customer_invoicing=None, recurring_billing=None, cybs_ready_terminal=None, payment_orchestration=None, payouts=None, pay_by_link=None, unified_checkout=None, receivables_manager=None, service_fee=None, batch_upload=None): """ InlineResponse2013SetupsPayments - a model defined in Swagger """ @@ -97,6 +99,7 @@ def __init__(self, card_processing=None, alternative_payment_methods=None, card_ self._unified_checkout = None self._receivables_manager = None self._service_fee = None + self._batch_upload = None if card_processing is not None: self.card_processing = card_processing @@ -136,6 +139,8 @@ def __init__(self, card_processing=None, alternative_payment_methods=None, card_ self.receivables_manager = receivables_manager if service_fee is not None: self.service_fee = service_fee + if batch_upload is not None: + self.batch_upload = batch_upload @property def card_processing(self): @@ -536,6 +541,27 @@ def service_fee(self, service_fee): self._service_fee = service_fee + @property + def batch_upload(self): + """ + Gets the batch_upload of this InlineResponse2013SetupsPayments. + + :return: The batch_upload of this InlineResponse2013SetupsPayments. + :rtype: InlineResponse2013SetupsPaymentsDigitalPayments + """ + return self._batch_upload + + @batch_upload.setter + def batch_upload(self, batch_upload): + """ + Sets the batch_upload of this InlineResponse2013SetupsPayments. + + :param batch_upload: The batch_upload of this InlineResponse2013SetupsPayments. + :type: InlineResponse2013SetupsPaymentsDigitalPayments + """ + + self._batch_upload = batch_upload + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/patch_customer_payment_instrument_request.py b/CyberSource/models/patch_customer_payment_instrument_request.py index 39d9e0d9..0b94c660 100644 --- a/CyberSource/models/patch_customer_payment_instrument_request.py +++ b/CyberSource/models/patch_customer_payment_instrument_request.py @@ -30,21 +30,21 @@ class PatchCustomerPaymentInstrumentRequest(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks', 'id': 'str', 'object': 'str', 'default': 'bool', 'state': 'str', 'type': 'str', - 'bank_account': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount', - 'card': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard', - 'buyer_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation', - 'bill_to': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo', + 'bank_account': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount', + 'card': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation', + 'bill_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo', 'processing_information': 'TmsPaymentInstrumentProcessingInfo', - 'merchant_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation', - 'instrument_identifier': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', - 'metadata': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata', - 'embedded': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded' + 'merchant_information': 'TmsMerchantInformation', + 'instrument_identifier': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata', + 'embedded': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded' } attribute_map = { @@ -123,7 +123,7 @@ def links(self): Gets the links of this PatchCustomerPaymentInstrumentRequest. :return: The links of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ return self._links @@ -133,7 +133,7 @@ def links(self, links): Sets the links of this PatchCustomerPaymentInstrumentRequest. :param links: The links of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ self._links = links @@ -259,7 +259,7 @@ def bank_account(self): Gets the bank_account of this PatchCustomerPaymentInstrumentRequest. :return: The bank_account of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ return self._bank_account @@ -269,7 +269,7 @@ def bank_account(self, bank_account): Sets the bank_account of this PatchCustomerPaymentInstrumentRequest. :param bank_account: The bank_account of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ self._bank_account = bank_account @@ -280,7 +280,7 @@ def card(self): Gets the card of this PatchCustomerPaymentInstrumentRequest. :return: The card of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ return self._card @@ -290,7 +290,7 @@ def card(self, card): Sets the card of this PatchCustomerPaymentInstrumentRequest. :param card: The card of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ self._card = card @@ -301,7 +301,7 @@ def buyer_information(self): Gets the buyer_information of this PatchCustomerPaymentInstrumentRequest. :return: The buyer_information of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ return self._buyer_information @@ -311,7 +311,7 @@ def buyer_information(self, buyer_information): Sets the buyer_information of this PatchCustomerPaymentInstrumentRequest. :param buyer_information: The buyer_information of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ self._buyer_information = buyer_information @@ -322,7 +322,7 @@ def bill_to(self): Gets the bill_to of this PatchCustomerPaymentInstrumentRequest. :return: The bill_to of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ return self._bill_to @@ -332,7 +332,7 @@ def bill_to(self, bill_to): Sets the bill_to of this PatchCustomerPaymentInstrumentRequest. :param bill_to: The bill_to of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ self._bill_to = bill_to @@ -364,7 +364,7 @@ def merchant_information(self): Gets the merchant_information of this PatchCustomerPaymentInstrumentRequest. :return: The merchant_information of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :rtype: TmsMerchantInformation """ return self._merchant_information @@ -374,7 +374,7 @@ def merchant_information(self, merchant_information): Sets the merchant_information of this PatchCustomerPaymentInstrumentRequest. :param merchant_information: The merchant_information of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :type: TmsMerchantInformation """ self._merchant_information = merchant_information @@ -385,7 +385,7 @@ def instrument_identifier(self): Gets the instrument_identifier of this PatchCustomerPaymentInstrumentRequest. :return: The instrument_identifier of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ return self._instrument_identifier @@ -395,7 +395,7 @@ def instrument_identifier(self, instrument_identifier): Sets the instrument_identifier of this PatchCustomerPaymentInstrumentRequest. :param instrument_identifier: The instrument_identifier of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ self._instrument_identifier = instrument_identifier @@ -406,7 +406,7 @@ def metadata(self): Gets the metadata of this PatchCustomerPaymentInstrumentRequest. :return: The metadata of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ return self._metadata @@ -416,7 +416,7 @@ def metadata(self, metadata): Sets the metadata of this PatchCustomerPaymentInstrumentRequest. :param metadata: The metadata of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ self._metadata = metadata @@ -427,7 +427,7 @@ def embedded(self): Gets the embedded of this PatchCustomerPaymentInstrumentRequest. :return: The embedded of this PatchCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ return self._embedded @@ -437,7 +437,7 @@ def embedded(self, embedded): Sets the embedded of this PatchCustomerPaymentInstrumentRequest. :param embedded: The embedded of this PatchCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ self._embedded = embedded diff --git a/CyberSource/models/patch_customer_request.py b/CyberSource/models/patch_customer_request.py index 379c8480..17a33bb2 100644 --- a/CyberSource/models/patch_customer_request.py +++ b/CyberSource/models/patch_customer_request.py @@ -30,16 +30,16 @@ class PatchCustomerRequest(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerLinks', 'id': 'str', - 'object_information': 'Tmsv2customersObjectInformation', - 'buyer_information': 'Tmsv2customersBuyerInformation', - 'client_reference_information': 'Tmsv2customersClientReferenceInformation', - 'merchant_defined_information': 'list[Tmsv2customersMerchantDefinedInformation]', - 'default_payment_instrument': 'Tmsv2customersDefaultPaymentInstrument', - 'default_shipping_address': 'Tmsv2customersDefaultShippingAddress', - 'metadata': 'Tmsv2customersMetadata', - 'embedded': 'Tmsv2customersEmbedded' + 'object_information': 'Tmsv2tokenizeTokenInformationCustomerObjectInformation', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerBuyerInformation', + 'client_reference_information': 'Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation', + 'merchant_defined_information': 'list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation]', + 'default_payment_instrument': 'Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument', + 'default_shipping_address': 'Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerMetadata', + 'embedded': 'Tmsv2tokenizeTokenInformationCustomerEmbedded' } attribute_map = { @@ -98,7 +98,7 @@ def links(self): Gets the links of this PatchCustomerRequest. :return: The links of this PatchCustomerRequest. - :rtype: Tmsv2customersLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerLinks """ return self._links @@ -108,7 +108,7 @@ def links(self, links): Sets the links of this PatchCustomerRequest. :param links: The links of this PatchCustomerRequest. - :type: Tmsv2customersLinks + :type: Tmsv2tokenizeTokenInformationCustomerLinks """ self._links = links @@ -142,7 +142,7 @@ def object_information(self): Gets the object_information of this PatchCustomerRequest. :return: The object_information of this PatchCustomerRequest. - :rtype: Tmsv2customersObjectInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerObjectInformation """ return self._object_information @@ -152,7 +152,7 @@ def object_information(self, object_information): Sets the object_information of this PatchCustomerRequest. :param object_information: The object_information of this PatchCustomerRequest. - :type: Tmsv2customersObjectInformation + :type: Tmsv2tokenizeTokenInformationCustomerObjectInformation """ self._object_information = object_information @@ -163,7 +163,7 @@ def buyer_information(self): Gets the buyer_information of this PatchCustomerRequest. :return: The buyer_information of this PatchCustomerRequest. - :rtype: Tmsv2customersBuyerInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerBuyerInformation """ return self._buyer_information @@ -173,7 +173,7 @@ def buyer_information(self, buyer_information): Sets the buyer_information of this PatchCustomerRequest. :param buyer_information: The buyer_information of this PatchCustomerRequest. - :type: Tmsv2customersBuyerInformation + :type: Tmsv2tokenizeTokenInformationCustomerBuyerInformation """ self._buyer_information = buyer_information @@ -184,7 +184,7 @@ def client_reference_information(self): Gets the client_reference_information of this PatchCustomerRequest. :return: The client_reference_information of this PatchCustomerRequest. - :rtype: Tmsv2customersClientReferenceInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation """ return self._client_reference_information @@ -194,7 +194,7 @@ def client_reference_information(self, client_reference_information): Sets the client_reference_information of this PatchCustomerRequest. :param client_reference_information: The client_reference_information of this PatchCustomerRequest. - :type: Tmsv2customersClientReferenceInformation + :type: Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation """ self._client_reference_information = client_reference_information @@ -206,7 +206,7 @@ def merchant_defined_information(self): Object containing the custom data that the merchant defines. :return: The merchant_defined_information of this PatchCustomerRequest. - :rtype: list[Tmsv2customersMerchantDefinedInformation] + :rtype: list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation] """ return self._merchant_defined_information @@ -217,7 +217,7 @@ def merchant_defined_information(self, merchant_defined_information): Object containing the custom data that the merchant defines. :param merchant_defined_information: The merchant_defined_information of this PatchCustomerRequest. - :type: list[Tmsv2customersMerchantDefinedInformation] + :type: list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation] """ self._merchant_defined_information = merchant_defined_information @@ -228,7 +228,7 @@ def default_payment_instrument(self): Gets the default_payment_instrument of this PatchCustomerRequest. :return: The default_payment_instrument of this PatchCustomerRequest. - :rtype: Tmsv2customersDefaultPaymentInstrument + :rtype: Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument """ return self._default_payment_instrument @@ -238,7 +238,7 @@ def default_payment_instrument(self, default_payment_instrument): Sets the default_payment_instrument of this PatchCustomerRequest. :param default_payment_instrument: The default_payment_instrument of this PatchCustomerRequest. - :type: Tmsv2customersDefaultPaymentInstrument + :type: Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument """ self._default_payment_instrument = default_payment_instrument @@ -249,7 +249,7 @@ def default_shipping_address(self): Gets the default_shipping_address of this PatchCustomerRequest. :return: The default_shipping_address of this PatchCustomerRequest. - :rtype: Tmsv2customersDefaultShippingAddress + :rtype: Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress """ return self._default_shipping_address @@ -259,7 +259,7 @@ def default_shipping_address(self, default_shipping_address): Sets the default_shipping_address of this PatchCustomerRequest. :param default_shipping_address: The default_shipping_address of this PatchCustomerRequest. - :type: Tmsv2customersDefaultShippingAddress + :type: Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress """ self._default_shipping_address = default_shipping_address @@ -270,7 +270,7 @@ def metadata(self): Gets the metadata of this PatchCustomerRequest. :return: The metadata of this PatchCustomerRequest. - :rtype: Tmsv2customersMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerMetadata """ return self._metadata @@ -280,7 +280,7 @@ def metadata(self, metadata): Sets the metadata of this PatchCustomerRequest. :param metadata: The metadata of this PatchCustomerRequest. - :type: Tmsv2customersMetadata + :type: Tmsv2tokenizeTokenInformationCustomerMetadata """ self._metadata = metadata @@ -291,7 +291,7 @@ def embedded(self): Gets the embedded of this PatchCustomerRequest. :return: The embedded of this PatchCustomerRequest. - :rtype: Tmsv2customersEmbedded + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbedded """ return self._embedded @@ -301,7 +301,7 @@ def embedded(self, embedded): Sets the embedded of this PatchCustomerRequest. :param embedded: The embedded of this PatchCustomerRequest. - :type: Tmsv2customersEmbedded + :type: Tmsv2tokenizeTokenInformationCustomerEmbedded """ self._embedded = embedded diff --git a/CyberSource/models/patch_customer_shipping_address_request.py b/CyberSource/models/patch_customer_shipping_address_request.py index bbdf6bc4..d598e542 100644 --- a/CyberSource/models/patch_customer_shipping_address_request.py +++ b/CyberSource/models/patch_customer_shipping_address_request.py @@ -30,11 +30,11 @@ class PatchCustomerShippingAddressRequest(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultShippingAddressLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks', 'id': 'str', 'default': 'bool', - 'ship_to': 'Tmsv2customersEmbeddedDefaultShippingAddressShipTo', - 'metadata': 'Tmsv2customersEmbeddedDefaultShippingAddressMetadata' + 'ship_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata' } attribute_map = { @@ -73,7 +73,7 @@ def links(self): Gets the links of this PatchCustomerShippingAddressRequest. :return: The links of this PatchCustomerShippingAddressRequest. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks """ return self._links @@ -83,7 +83,7 @@ def links(self, links): Sets the links of this PatchCustomerShippingAddressRequest. :param links: The links of this PatchCustomerShippingAddressRequest. - :type: Tmsv2customersEmbeddedDefaultShippingAddressLinks + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks """ self._links = links @@ -140,7 +140,7 @@ def ship_to(self): Gets the ship_to of this PatchCustomerShippingAddressRequest. :return: The ship_to of this PatchCustomerShippingAddressRequest. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressShipTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo """ return self._ship_to @@ -150,7 +150,7 @@ def ship_to(self, ship_to): Sets the ship_to of this PatchCustomerShippingAddressRequest. :param ship_to: The ship_to of this PatchCustomerShippingAddressRequest. - :type: Tmsv2customersEmbeddedDefaultShippingAddressShipTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo """ self._ship_to = ship_to @@ -161,7 +161,7 @@ def metadata(self): Gets the metadata of this PatchCustomerShippingAddressRequest. :return: The metadata of this PatchCustomerShippingAddressRequest. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata """ return self._metadata @@ -171,7 +171,7 @@ def metadata(self, metadata): Sets the metadata of this PatchCustomerShippingAddressRequest. :param metadata: The metadata of this PatchCustomerShippingAddressRequest. - :type: Tmsv2customersEmbeddedDefaultShippingAddressMetadata + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata """ self._metadata = metadata diff --git a/CyberSource/models/patch_payment_instrument_request.py b/CyberSource/models/patch_payment_instrument_request.py index 2883cd8d..322cbed7 100644 --- a/CyberSource/models/patch_payment_instrument_request.py +++ b/CyberSource/models/patch_payment_instrument_request.py @@ -30,21 +30,21 @@ class PatchPaymentInstrumentRequest(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks', 'id': 'str', 'object': 'str', 'default': 'bool', 'state': 'str', 'type': 'str', - 'bank_account': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount', - 'card': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard', - 'buyer_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation', - 'bill_to': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo', + 'bank_account': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount', + 'card': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation', + 'bill_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo', 'processing_information': 'TmsPaymentInstrumentProcessingInfo', - 'merchant_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation', - 'instrument_identifier': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', - 'metadata': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata', - 'embedded': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded' + 'merchant_information': 'TmsMerchantInformation', + 'instrument_identifier': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata', + 'embedded': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded' } attribute_map = { @@ -123,7 +123,7 @@ def links(self): Gets the links of this PatchPaymentInstrumentRequest. :return: The links of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ return self._links @@ -133,7 +133,7 @@ def links(self, links): Sets the links of this PatchPaymentInstrumentRequest. :param links: The links of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ self._links = links @@ -259,7 +259,7 @@ def bank_account(self): Gets the bank_account of this PatchPaymentInstrumentRequest. :return: The bank_account of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ return self._bank_account @@ -269,7 +269,7 @@ def bank_account(self, bank_account): Sets the bank_account of this PatchPaymentInstrumentRequest. :param bank_account: The bank_account of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ self._bank_account = bank_account @@ -280,7 +280,7 @@ def card(self): Gets the card of this PatchPaymentInstrumentRequest. :return: The card of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ return self._card @@ -290,7 +290,7 @@ def card(self, card): Sets the card of this PatchPaymentInstrumentRequest. :param card: The card of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ self._card = card @@ -301,7 +301,7 @@ def buyer_information(self): Gets the buyer_information of this PatchPaymentInstrumentRequest. :return: The buyer_information of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ return self._buyer_information @@ -311,7 +311,7 @@ def buyer_information(self, buyer_information): Sets the buyer_information of this PatchPaymentInstrumentRequest. :param buyer_information: The buyer_information of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ self._buyer_information = buyer_information @@ -322,7 +322,7 @@ def bill_to(self): Gets the bill_to of this PatchPaymentInstrumentRequest. :return: The bill_to of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ return self._bill_to @@ -332,7 +332,7 @@ def bill_to(self, bill_to): Sets the bill_to of this PatchPaymentInstrumentRequest. :param bill_to: The bill_to of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ self._bill_to = bill_to @@ -364,7 +364,7 @@ def merchant_information(self): Gets the merchant_information of this PatchPaymentInstrumentRequest. :return: The merchant_information of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :rtype: TmsMerchantInformation """ return self._merchant_information @@ -374,7 +374,7 @@ def merchant_information(self, merchant_information): Sets the merchant_information of this PatchPaymentInstrumentRequest. :param merchant_information: The merchant_information of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :type: TmsMerchantInformation """ self._merchant_information = merchant_information @@ -385,7 +385,7 @@ def instrument_identifier(self): Gets the instrument_identifier of this PatchPaymentInstrumentRequest. :return: The instrument_identifier of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ return self._instrument_identifier @@ -395,7 +395,7 @@ def instrument_identifier(self, instrument_identifier): Sets the instrument_identifier of this PatchPaymentInstrumentRequest. :param instrument_identifier: The instrument_identifier of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ self._instrument_identifier = instrument_identifier @@ -406,7 +406,7 @@ def metadata(self): Gets the metadata of this PatchPaymentInstrumentRequest. :return: The metadata of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ return self._metadata @@ -416,7 +416,7 @@ def metadata(self, metadata): Sets the metadata of this PatchPaymentInstrumentRequest. :param metadata: The metadata of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ self._metadata = metadata @@ -427,7 +427,7 @@ def embedded(self): Gets the embedded of this PatchPaymentInstrumentRequest. :return: The embedded of this PatchPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ return self._embedded @@ -437,7 +437,7 @@ def embedded(self, embedded): Sets the embedded of this PatchPaymentInstrumentRequest. :param embedded: The embedded of this PatchPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ self._embedded = embedded diff --git a/CyberSource/models/payment_instrument_list1_embedded_payment_instruments.py b/CyberSource/models/payment_instrument_list1_embedded_payment_instruments.py index 3ab81f95..291b335a 100644 --- a/CyberSource/models/payment_instrument_list1_embedded_payment_instruments.py +++ b/CyberSource/models/payment_instrument_list1_embedded_payment_instruments.py @@ -30,20 +30,20 @@ class PaymentInstrumentList1EmbeddedPaymentInstruments(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks', 'id': 'str', 'object': 'str', 'default': 'bool', 'state': 'str', 'type': 'str', - 'bank_account': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount', - 'card': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard', - 'buyer_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation', - 'bill_to': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo', + 'bank_account': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount', + 'card': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation', + 'bill_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo', 'processing_information': 'TmsPaymentInstrumentProcessingInfo', - 'merchant_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation', - 'instrument_identifier': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', - 'metadata': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata', + 'merchant_information': 'TmsMerchantInformation', + 'instrument_identifier': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata', 'embedded': 'PaymentInstrumentList1EmbeddedEmbedded' } @@ -123,7 +123,7 @@ def links(self): Gets the links of this PaymentInstrumentList1EmbeddedPaymentInstruments. :return: The links of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ return self._links @@ -133,7 +133,7 @@ def links(self, links): Sets the links of this PaymentInstrumentList1EmbeddedPaymentInstruments. :param links: The links of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ self._links = links @@ -259,7 +259,7 @@ def bank_account(self): Gets the bank_account of this PaymentInstrumentList1EmbeddedPaymentInstruments. :return: The bank_account of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ return self._bank_account @@ -269,7 +269,7 @@ def bank_account(self, bank_account): Sets the bank_account of this PaymentInstrumentList1EmbeddedPaymentInstruments. :param bank_account: The bank_account of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ self._bank_account = bank_account @@ -280,7 +280,7 @@ def card(self): Gets the card of this PaymentInstrumentList1EmbeddedPaymentInstruments. :return: The card of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ return self._card @@ -290,7 +290,7 @@ def card(self, card): Sets the card of this PaymentInstrumentList1EmbeddedPaymentInstruments. :param card: The card of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ self._card = card @@ -301,7 +301,7 @@ def buyer_information(self): Gets the buyer_information of this PaymentInstrumentList1EmbeddedPaymentInstruments. :return: The buyer_information of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ return self._buyer_information @@ -311,7 +311,7 @@ def buyer_information(self, buyer_information): Sets the buyer_information of this PaymentInstrumentList1EmbeddedPaymentInstruments. :param buyer_information: The buyer_information of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ self._buyer_information = buyer_information @@ -322,7 +322,7 @@ def bill_to(self): Gets the bill_to of this PaymentInstrumentList1EmbeddedPaymentInstruments. :return: The bill_to of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ return self._bill_to @@ -332,7 +332,7 @@ def bill_to(self, bill_to): Sets the bill_to of this PaymentInstrumentList1EmbeddedPaymentInstruments. :param bill_to: The bill_to of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ self._bill_to = bill_to @@ -364,7 +364,7 @@ def merchant_information(self): Gets the merchant_information of this PaymentInstrumentList1EmbeddedPaymentInstruments. :return: The merchant_information of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :rtype: TmsMerchantInformation """ return self._merchant_information @@ -374,7 +374,7 @@ def merchant_information(self, merchant_information): Sets the merchant_information of this PaymentInstrumentList1EmbeddedPaymentInstruments. :param merchant_information: The merchant_information of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :type: TmsMerchantInformation """ self._merchant_information = merchant_information @@ -385,7 +385,7 @@ def instrument_identifier(self): Gets the instrument_identifier of this PaymentInstrumentList1EmbeddedPaymentInstruments. :return: The instrument_identifier of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ return self._instrument_identifier @@ -395,7 +395,7 @@ def instrument_identifier(self, instrument_identifier): Sets the instrument_identifier of this PaymentInstrumentList1EmbeddedPaymentInstruments. :param instrument_identifier: The instrument_identifier of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ self._instrument_identifier = instrument_identifier @@ -406,7 +406,7 @@ def metadata(self): Gets the metadata of this PaymentInstrumentList1EmbeddedPaymentInstruments. :return: The metadata of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ return self._metadata @@ -416,7 +416,7 @@ def metadata(self, metadata): Sets the metadata of this PaymentInstrumentList1EmbeddedPaymentInstruments. :param metadata: The metadata of this PaymentInstrumentList1EmbeddedPaymentInstruments. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ self._metadata = metadata diff --git a/CyberSource/models/payment_instrument_list_embedded.py b/CyberSource/models/payment_instrument_list_embedded.py index bfcbffa1..364ff38c 100644 --- a/CyberSource/models/payment_instrument_list_embedded.py +++ b/CyberSource/models/payment_instrument_list_embedded.py @@ -30,7 +30,7 @@ class PaymentInstrumentListEmbedded(object): and the value is json key in definition. """ swagger_types = { - 'payment_instruments': 'list[Tmsv2customersEmbeddedDefaultPaymentInstrument]' + 'payment_instruments': 'list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument]' } attribute_map = { @@ -53,7 +53,7 @@ def payment_instruments(self): Gets the payment_instruments of this PaymentInstrumentListEmbedded. :return: The payment_instruments of this PaymentInstrumentListEmbedded. - :rtype: list[Tmsv2customersEmbeddedDefaultPaymentInstrument] + :rtype: list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument] """ return self._payment_instruments @@ -63,7 +63,7 @@ def payment_instruments(self, payment_instruments): Sets the payment_instruments of this PaymentInstrumentListEmbedded. :param payment_instruments: The payment_instruments of this PaymentInstrumentListEmbedded. - :type: list[Tmsv2customersEmbeddedDefaultPaymentInstrument] + :type: list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument] """ self._payment_instruments = payment_instruments diff --git a/CyberSource/models/payments_products.py b/CyberSource/models/payments_products.py index d597d688..7325a79d 100644 --- a/CyberSource/models/payments_products.py +++ b/CyberSource/models/payments_products.py @@ -49,7 +49,8 @@ class PaymentsProducts(object): 'pay_by_link': 'PaymentsProductsTax', 'unified_checkout': 'PaymentsProductsUnifiedCheckout', 'receivables_manager': 'PaymentsProductsTax', - 'service_fee': 'PaymentsProductsServiceFee' + 'service_fee': 'PaymentsProductsServiceFee', + 'batch_upload': 'PaymentsProductsTax' } attribute_map = { @@ -72,10 +73,11 @@ class PaymentsProducts(object): 'pay_by_link': 'payByLink', 'unified_checkout': 'unifiedCheckout', 'receivables_manager': 'receivablesManager', - 'service_fee': 'serviceFee' + 'service_fee': 'serviceFee', + 'batch_upload': 'batchUpload' } - def __init__(self, card_processing=None, alternative_payment_methods=None, card_present_connect=None, cybs_ready_terminal=None, e_check=None, payer_authentication=None, digital_payments=None, secure_acceptance=None, virtual_terminal=None, currency_conversion=None, tax=None, customer_invoicing=None, recurring_billing=None, payment_orchestration=None, payouts=None, differential_fee=None, pay_by_link=None, unified_checkout=None, receivables_manager=None, service_fee=None): + def __init__(self, card_processing=None, alternative_payment_methods=None, card_present_connect=None, cybs_ready_terminal=None, e_check=None, payer_authentication=None, digital_payments=None, secure_acceptance=None, virtual_terminal=None, currency_conversion=None, tax=None, customer_invoicing=None, recurring_billing=None, payment_orchestration=None, payouts=None, differential_fee=None, pay_by_link=None, unified_checkout=None, receivables_manager=None, service_fee=None, batch_upload=None): """ PaymentsProducts - a model defined in Swagger """ @@ -100,6 +102,7 @@ def __init__(self, card_processing=None, alternative_payment_methods=None, card_ self._unified_checkout = None self._receivables_manager = None self._service_fee = None + self._batch_upload = None if card_processing is not None: self.card_processing = card_processing @@ -141,6 +144,8 @@ def __init__(self, card_processing=None, alternative_payment_methods=None, card_ self.receivables_manager = receivables_manager if service_fee is not None: self.service_fee = service_fee + if batch_upload is not None: + self.batch_upload = batch_upload @property def card_processing(self): @@ -562,6 +567,27 @@ def service_fee(self, service_fee): self._service_fee = service_fee + @property + def batch_upload(self): + """ + Gets the batch_upload of this PaymentsProducts. + + :return: The batch_upload of this PaymentsProducts. + :rtype: PaymentsProductsTax + """ + return self._batch_upload + + @batch_upload.setter + def batch_upload(self, batch_upload): + """ + Sets the batch_upload of this PaymentsProducts. + + :param batch_upload: The batch_upload of this PaymentsProducts. + :type: PaymentsProductsTax + """ + + self._batch_upload = batch_upload + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/post_customer_payment_instrument_request.py b/CyberSource/models/post_customer_payment_instrument_request.py index d4e2f90b..9e5f5f9e 100644 --- a/CyberSource/models/post_customer_payment_instrument_request.py +++ b/CyberSource/models/post_customer_payment_instrument_request.py @@ -30,21 +30,21 @@ class PostCustomerPaymentInstrumentRequest(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks', 'id': 'str', 'object': 'str', 'default': 'bool', 'state': 'str', 'type': 'str', - 'bank_account': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount', - 'card': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard', - 'buyer_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation', - 'bill_to': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo', + 'bank_account': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount', + 'card': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation', + 'bill_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo', 'processing_information': 'TmsPaymentInstrumentProcessingInfo', - 'merchant_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation', - 'instrument_identifier': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', - 'metadata': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata', - 'embedded': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded' + 'merchant_information': 'TmsMerchantInformation', + 'instrument_identifier': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata', + 'embedded': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded' } attribute_map = { @@ -123,7 +123,7 @@ def links(self): Gets the links of this PostCustomerPaymentInstrumentRequest. :return: The links of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ return self._links @@ -133,7 +133,7 @@ def links(self, links): Sets the links of this PostCustomerPaymentInstrumentRequest. :param links: The links of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ self._links = links @@ -259,7 +259,7 @@ def bank_account(self): Gets the bank_account of this PostCustomerPaymentInstrumentRequest. :return: The bank_account of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ return self._bank_account @@ -269,7 +269,7 @@ def bank_account(self, bank_account): Sets the bank_account of this PostCustomerPaymentInstrumentRequest. :param bank_account: The bank_account of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ self._bank_account = bank_account @@ -280,7 +280,7 @@ def card(self): Gets the card of this PostCustomerPaymentInstrumentRequest. :return: The card of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ return self._card @@ -290,7 +290,7 @@ def card(self, card): Sets the card of this PostCustomerPaymentInstrumentRequest. :param card: The card of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ self._card = card @@ -301,7 +301,7 @@ def buyer_information(self): Gets the buyer_information of this PostCustomerPaymentInstrumentRequest. :return: The buyer_information of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ return self._buyer_information @@ -311,7 +311,7 @@ def buyer_information(self, buyer_information): Sets the buyer_information of this PostCustomerPaymentInstrumentRequest. :param buyer_information: The buyer_information of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ self._buyer_information = buyer_information @@ -322,7 +322,7 @@ def bill_to(self): Gets the bill_to of this PostCustomerPaymentInstrumentRequest. :return: The bill_to of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ return self._bill_to @@ -332,7 +332,7 @@ def bill_to(self, bill_to): Sets the bill_to of this PostCustomerPaymentInstrumentRequest. :param bill_to: The bill_to of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ self._bill_to = bill_to @@ -364,7 +364,7 @@ def merchant_information(self): Gets the merchant_information of this PostCustomerPaymentInstrumentRequest. :return: The merchant_information of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :rtype: TmsMerchantInformation """ return self._merchant_information @@ -374,7 +374,7 @@ def merchant_information(self, merchant_information): Sets the merchant_information of this PostCustomerPaymentInstrumentRequest. :param merchant_information: The merchant_information of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :type: TmsMerchantInformation """ self._merchant_information = merchant_information @@ -385,7 +385,7 @@ def instrument_identifier(self): Gets the instrument_identifier of this PostCustomerPaymentInstrumentRequest. :return: The instrument_identifier of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ return self._instrument_identifier @@ -395,7 +395,7 @@ def instrument_identifier(self, instrument_identifier): Sets the instrument_identifier of this PostCustomerPaymentInstrumentRequest. :param instrument_identifier: The instrument_identifier of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ self._instrument_identifier = instrument_identifier @@ -406,7 +406,7 @@ def metadata(self): Gets the metadata of this PostCustomerPaymentInstrumentRequest. :return: The metadata of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ return self._metadata @@ -416,7 +416,7 @@ def metadata(self, metadata): Sets the metadata of this PostCustomerPaymentInstrumentRequest. :param metadata: The metadata of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ self._metadata = metadata @@ -427,7 +427,7 @@ def embedded(self): Gets the embedded of this PostCustomerPaymentInstrumentRequest. :return: The embedded of this PostCustomerPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ return self._embedded @@ -437,7 +437,7 @@ def embedded(self, embedded): Sets the embedded of this PostCustomerPaymentInstrumentRequest. :param embedded: The embedded of this PostCustomerPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ self._embedded = embedded diff --git a/CyberSource/models/post_customer_request.py b/CyberSource/models/post_customer_request.py index b0d4febf..e51f0658 100644 --- a/CyberSource/models/post_customer_request.py +++ b/CyberSource/models/post_customer_request.py @@ -30,16 +30,16 @@ class PostCustomerRequest(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerLinks', 'id': 'str', - 'object_information': 'Tmsv2customersObjectInformation', - 'buyer_information': 'Tmsv2customersBuyerInformation', - 'client_reference_information': 'Tmsv2customersClientReferenceInformation', - 'merchant_defined_information': 'list[Tmsv2customersMerchantDefinedInformation]', - 'default_payment_instrument': 'Tmsv2customersDefaultPaymentInstrument', - 'default_shipping_address': 'Tmsv2customersDefaultShippingAddress', - 'metadata': 'Tmsv2customersMetadata', - 'embedded': 'Tmsv2customersEmbedded' + 'object_information': 'Tmsv2tokenizeTokenInformationCustomerObjectInformation', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerBuyerInformation', + 'client_reference_information': 'Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation', + 'merchant_defined_information': 'list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation]', + 'default_payment_instrument': 'Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument', + 'default_shipping_address': 'Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerMetadata', + 'embedded': 'Tmsv2tokenizeTokenInformationCustomerEmbedded' } attribute_map = { @@ -98,7 +98,7 @@ def links(self): Gets the links of this PostCustomerRequest. :return: The links of this PostCustomerRequest. - :rtype: Tmsv2customersLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerLinks """ return self._links @@ -108,7 +108,7 @@ def links(self, links): Sets the links of this PostCustomerRequest. :param links: The links of this PostCustomerRequest. - :type: Tmsv2customersLinks + :type: Tmsv2tokenizeTokenInformationCustomerLinks """ self._links = links @@ -142,7 +142,7 @@ def object_information(self): Gets the object_information of this PostCustomerRequest. :return: The object_information of this PostCustomerRequest. - :rtype: Tmsv2customersObjectInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerObjectInformation """ return self._object_information @@ -152,7 +152,7 @@ def object_information(self, object_information): Sets the object_information of this PostCustomerRequest. :param object_information: The object_information of this PostCustomerRequest. - :type: Tmsv2customersObjectInformation + :type: Tmsv2tokenizeTokenInformationCustomerObjectInformation """ self._object_information = object_information @@ -163,7 +163,7 @@ def buyer_information(self): Gets the buyer_information of this PostCustomerRequest. :return: The buyer_information of this PostCustomerRequest. - :rtype: Tmsv2customersBuyerInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerBuyerInformation """ return self._buyer_information @@ -173,7 +173,7 @@ def buyer_information(self, buyer_information): Sets the buyer_information of this PostCustomerRequest. :param buyer_information: The buyer_information of this PostCustomerRequest. - :type: Tmsv2customersBuyerInformation + :type: Tmsv2tokenizeTokenInformationCustomerBuyerInformation """ self._buyer_information = buyer_information @@ -184,7 +184,7 @@ def client_reference_information(self): Gets the client_reference_information of this PostCustomerRequest. :return: The client_reference_information of this PostCustomerRequest. - :rtype: Tmsv2customersClientReferenceInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation """ return self._client_reference_information @@ -194,7 +194,7 @@ def client_reference_information(self, client_reference_information): Sets the client_reference_information of this PostCustomerRequest. :param client_reference_information: The client_reference_information of this PostCustomerRequest. - :type: Tmsv2customersClientReferenceInformation + :type: Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation """ self._client_reference_information = client_reference_information @@ -206,7 +206,7 @@ def merchant_defined_information(self): Object containing the custom data that the merchant defines. :return: The merchant_defined_information of this PostCustomerRequest. - :rtype: list[Tmsv2customersMerchantDefinedInformation] + :rtype: list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation] """ return self._merchant_defined_information @@ -217,7 +217,7 @@ def merchant_defined_information(self, merchant_defined_information): Object containing the custom data that the merchant defines. :param merchant_defined_information: The merchant_defined_information of this PostCustomerRequest. - :type: list[Tmsv2customersMerchantDefinedInformation] + :type: list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation] """ self._merchant_defined_information = merchant_defined_information @@ -228,7 +228,7 @@ def default_payment_instrument(self): Gets the default_payment_instrument of this PostCustomerRequest. :return: The default_payment_instrument of this PostCustomerRequest. - :rtype: Tmsv2customersDefaultPaymentInstrument + :rtype: Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument """ return self._default_payment_instrument @@ -238,7 +238,7 @@ def default_payment_instrument(self, default_payment_instrument): Sets the default_payment_instrument of this PostCustomerRequest. :param default_payment_instrument: The default_payment_instrument of this PostCustomerRequest. - :type: Tmsv2customersDefaultPaymentInstrument + :type: Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument """ self._default_payment_instrument = default_payment_instrument @@ -249,7 +249,7 @@ def default_shipping_address(self): Gets the default_shipping_address of this PostCustomerRequest. :return: The default_shipping_address of this PostCustomerRequest. - :rtype: Tmsv2customersDefaultShippingAddress + :rtype: Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress """ return self._default_shipping_address @@ -259,7 +259,7 @@ def default_shipping_address(self, default_shipping_address): Sets the default_shipping_address of this PostCustomerRequest. :param default_shipping_address: The default_shipping_address of this PostCustomerRequest. - :type: Tmsv2customersDefaultShippingAddress + :type: Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress """ self._default_shipping_address = default_shipping_address @@ -270,7 +270,7 @@ def metadata(self): Gets the metadata of this PostCustomerRequest. :return: The metadata of this PostCustomerRequest. - :rtype: Tmsv2customersMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerMetadata """ return self._metadata @@ -280,7 +280,7 @@ def metadata(self, metadata): Sets the metadata of this PostCustomerRequest. :param metadata: The metadata of this PostCustomerRequest. - :type: Tmsv2customersMetadata + :type: Tmsv2tokenizeTokenInformationCustomerMetadata """ self._metadata = metadata @@ -291,7 +291,7 @@ def embedded(self): Gets the embedded of this PostCustomerRequest. :return: The embedded of this PostCustomerRequest. - :rtype: Tmsv2customersEmbedded + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbedded """ return self._embedded @@ -301,7 +301,7 @@ def embedded(self, embedded): Sets the embedded of this PostCustomerRequest. :param embedded: The embedded of this PostCustomerRequest. - :type: Tmsv2customersEmbedded + :type: Tmsv2tokenizeTokenInformationCustomerEmbedded """ self._embedded = embedded diff --git a/CyberSource/models/post_customer_shipping_address_request.py b/CyberSource/models/post_customer_shipping_address_request.py index bbea4b4c..ab8906d8 100644 --- a/CyberSource/models/post_customer_shipping_address_request.py +++ b/CyberSource/models/post_customer_shipping_address_request.py @@ -30,11 +30,11 @@ class PostCustomerShippingAddressRequest(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultShippingAddressLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks', 'id': 'str', 'default': 'bool', - 'ship_to': 'Tmsv2customersEmbeddedDefaultShippingAddressShipTo', - 'metadata': 'Tmsv2customersEmbeddedDefaultShippingAddressMetadata' + 'ship_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata' } attribute_map = { @@ -73,7 +73,7 @@ def links(self): Gets the links of this PostCustomerShippingAddressRequest. :return: The links of this PostCustomerShippingAddressRequest. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks """ return self._links @@ -83,7 +83,7 @@ def links(self, links): Sets the links of this PostCustomerShippingAddressRequest. :param links: The links of this PostCustomerShippingAddressRequest. - :type: Tmsv2customersEmbeddedDefaultShippingAddressLinks + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks """ self._links = links @@ -140,7 +140,7 @@ def ship_to(self): Gets the ship_to of this PostCustomerShippingAddressRequest. :return: The ship_to of this PostCustomerShippingAddressRequest. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressShipTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo """ return self._ship_to @@ -150,7 +150,7 @@ def ship_to(self, ship_to): Sets the ship_to of this PostCustomerShippingAddressRequest. :param ship_to: The ship_to of this PostCustomerShippingAddressRequest. - :type: Tmsv2customersEmbeddedDefaultShippingAddressShipTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo """ self._ship_to = ship_to @@ -161,7 +161,7 @@ def metadata(self): Gets the metadata of this PostCustomerShippingAddressRequest. :return: The metadata of this PostCustomerShippingAddressRequest. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata """ return self._metadata @@ -171,7 +171,7 @@ def metadata(self, metadata): Sets the metadata of this PostCustomerShippingAddressRequest. :param metadata: The metadata of this PostCustomerShippingAddressRequest. - :type: Tmsv2customersEmbeddedDefaultShippingAddressMetadata + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata """ self._metadata = metadata diff --git a/CyberSource/models/post_issuer_life_cycle_simulation_request.py b/CyberSource/models/post_issuer_life_cycle_simulation_request.py new file mode 100644 index 00000000..1d4e4787 --- /dev/null +++ b/CyberSource/models/post_issuer_life_cycle_simulation_request.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class PostIssuerLifeCycleSimulationRequest(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'state': 'str', + 'card': 'Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard', + 'metadata': 'Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata' + } + + attribute_map = { + 'state': 'state', + 'card': 'card', + 'metadata': 'metadata' + } + + def __init__(self, state=None, card=None, metadata=None): + """ + PostIssuerLifeCycleSimulationRequest - a model defined in Swagger + """ + + self._state = None + self._card = None + self._metadata = None + + if state is not None: + self.state = state + if card is not None: + self.card = card + if metadata is not None: + self.metadata = metadata + + @property + def state(self): + """ + Gets the state of this PostIssuerLifeCycleSimulationRequest. + The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED + + :return: The state of this PostIssuerLifeCycleSimulationRequest. + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """ + Sets the state of this PostIssuerLifeCycleSimulationRequest. + The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED + + :param state: The state of this PostIssuerLifeCycleSimulationRequest. + :type: str + """ + + self._state = state + + @property + def card(self): + """ + Gets the card of this PostIssuerLifeCycleSimulationRequest. + + :return: The card of this PostIssuerLifeCycleSimulationRequest. + :rtype: Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + """ + return self._card + + @card.setter + def card(self, card): + """ + Sets the card of this PostIssuerLifeCycleSimulationRequest. + + :param card: The card of this PostIssuerLifeCycleSimulationRequest. + :type: Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + """ + + self._card = card + + @property + def metadata(self): + """ + Gets the metadata of this PostIssuerLifeCycleSimulationRequest. + + :return: The metadata of this PostIssuerLifeCycleSimulationRequest. + :rtype: Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this PostIssuerLifeCycleSimulationRequest. + + :param metadata: The metadata of this PostIssuerLifeCycleSimulationRequest. + :type: Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + """ + + self._metadata = metadata + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, PostIssuerLifeCycleSimulationRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/post_payment_instrument_request.py b/CyberSource/models/post_payment_instrument_request.py index b34436b9..836cffad 100644 --- a/CyberSource/models/post_payment_instrument_request.py +++ b/CyberSource/models/post_payment_instrument_request.py @@ -30,21 +30,21 @@ class PostPaymentInstrumentRequest(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks', 'id': 'str', 'object': 'str', 'default': 'bool', 'state': 'str', 'type': 'str', - 'bank_account': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount', - 'card': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard', - 'buyer_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation', - 'bill_to': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo', + 'bank_account': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount', + 'card': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation', + 'bill_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo', 'processing_information': 'TmsPaymentInstrumentProcessingInfo', - 'merchant_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation', - 'instrument_identifier': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', - 'metadata': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata', - 'embedded': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded' + 'merchant_information': 'TmsMerchantInformation', + 'instrument_identifier': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata', + 'embedded': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded' } attribute_map = { @@ -123,7 +123,7 @@ def links(self): Gets the links of this PostPaymentInstrumentRequest. :return: The links of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ return self._links @@ -133,7 +133,7 @@ def links(self, links): Sets the links of this PostPaymentInstrumentRequest. :param links: The links of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ self._links = links @@ -259,7 +259,7 @@ def bank_account(self): Gets the bank_account of this PostPaymentInstrumentRequest. :return: The bank_account of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ return self._bank_account @@ -269,7 +269,7 @@ def bank_account(self, bank_account): Sets the bank_account of this PostPaymentInstrumentRequest. :param bank_account: The bank_account of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ self._bank_account = bank_account @@ -280,7 +280,7 @@ def card(self): Gets the card of this PostPaymentInstrumentRequest. :return: The card of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ return self._card @@ -290,7 +290,7 @@ def card(self, card): Sets the card of this PostPaymentInstrumentRequest. :param card: The card of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ self._card = card @@ -301,7 +301,7 @@ def buyer_information(self): Gets the buyer_information of this PostPaymentInstrumentRequest. :return: The buyer_information of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ return self._buyer_information @@ -311,7 +311,7 @@ def buyer_information(self, buyer_information): Sets the buyer_information of this PostPaymentInstrumentRequest. :param buyer_information: The buyer_information of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ self._buyer_information = buyer_information @@ -322,7 +322,7 @@ def bill_to(self): Gets the bill_to of this PostPaymentInstrumentRequest. :return: The bill_to of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ return self._bill_to @@ -332,7 +332,7 @@ def bill_to(self, bill_to): Sets the bill_to of this PostPaymentInstrumentRequest. :param bill_to: The bill_to of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ self._bill_to = bill_to @@ -364,7 +364,7 @@ def merchant_information(self): Gets the merchant_information of this PostPaymentInstrumentRequest. :return: The merchant_information of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :rtype: TmsMerchantInformation """ return self._merchant_information @@ -374,7 +374,7 @@ def merchant_information(self, merchant_information): Sets the merchant_information of this PostPaymentInstrumentRequest. :param merchant_information: The merchant_information of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :type: TmsMerchantInformation """ self._merchant_information = merchant_information @@ -385,7 +385,7 @@ def instrument_identifier(self): Gets the instrument_identifier of this PostPaymentInstrumentRequest. :return: The instrument_identifier of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ return self._instrument_identifier @@ -395,7 +395,7 @@ def instrument_identifier(self, instrument_identifier): Sets the instrument_identifier of this PostPaymentInstrumentRequest. :param instrument_identifier: The instrument_identifier of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ self._instrument_identifier = instrument_identifier @@ -406,7 +406,7 @@ def metadata(self): Gets the metadata of this PostPaymentInstrumentRequest. :return: The metadata of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ return self._metadata @@ -416,7 +416,7 @@ def metadata(self, metadata): Sets the metadata of this PostPaymentInstrumentRequest. :param metadata: The metadata of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ self._metadata = metadata @@ -427,7 +427,7 @@ def embedded(self): Gets the embedded of this PostPaymentInstrumentRequest. :return: The embedded of this PostPaymentInstrumentRequest. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ return self._embedded @@ -437,7 +437,7 @@ def embedded(self, embedded): Sets the embedded of this PostPaymentInstrumentRequest. :param embedded: The embedded of this PostPaymentInstrumentRequest. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ self._embedded = embedded diff --git a/CyberSource/models/post_tokenize_request.py b/CyberSource/models/post_tokenize_request.py new file mode 100644 index 00000000..fd6752ea --- /dev/null +++ b/CyberSource/models/post_tokenize_request.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class PostTokenizeRequest(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'processing_information': 'Tmsv2tokenizeProcessingInformation', + 'token_information': 'Tmsv2tokenizeTokenInformation' + } + + attribute_map = { + 'processing_information': 'processingInformation', + 'token_information': 'tokenInformation' + } + + def __init__(self, processing_information=None, token_information=None): + """ + PostTokenizeRequest - a model defined in Swagger + """ + + self._processing_information = None + self._token_information = None + + if processing_information is not None: + self.processing_information = processing_information + if token_information is not None: + self.token_information = token_information + + @property + def processing_information(self): + """ + Gets the processing_information of this PostTokenizeRequest. + + :return: The processing_information of this PostTokenizeRequest. + :rtype: Tmsv2tokenizeProcessingInformation + """ + return self._processing_information + + @processing_information.setter + def processing_information(self, processing_information): + """ + Sets the processing_information of this PostTokenizeRequest. + + :param processing_information: The processing_information of this PostTokenizeRequest. + :type: Tmsv2tokenizeProcessingInformation + """ + + self._processing_information = processing_information + + @property + def token_information(self): + """ + Gets the token_information of this PostTokenizeRequest. + + :return: The token_information of this PostTokenizeRequest. + :rtype: Tmsv2tokenizeTokenInformation + """ + return self._token_information + + @token_information.setter + def token_information(self, token_information): + """ + Sets the token_information of this PostTokenizeRequest. + + :param token_information: The token_information of this PostTokenizeRequest. + :type: Tmsv2tokenizeTokenInformation + """ + + self._token_information = token_information + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, PostTokenizeRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/ptsv2payments_aggregator_information.py b/CyberSource/models/ptsv2payments_aggregator_information.py index b982b281..eb178ae4 100644 --- a/CyberSource/models/ptsv2payments_aggregator_information.py +++ b/CyberSource/models/ptsv2payments_aggregator_information.py @@ -37,7 +37,8 @@ class Ptsv2paymentsAggregatorInformation(object): 'city': 'str', 'state': 'str', 'postal_code': 'str', - 'country': 'str' + 'country': 'str', + 'service_providername': 'str' } attribute_map = { @@ -48,10 +49,11 @@ class Ptsv2paymentsAggregatorInformation(object): 'city': 'city', 'state': 'state', 'postal_code': 'postalCode', - 'country': 'country' + 'country': 'country', + 'service_providername': 'serviceProvidername' } - def __init__(self, aggregator_id=None, name=None, sub_merchant=None, street_address=None, city=None, state=None, postal_code=None, country=None): + def __init__(self, aggregator_id=None, name=None, sub_merchant=None, street_address=None, city=None, state=None, postal_code=None, country=None, service_providername=None): """ Ptsv2paymentsAggregatorInformation - a model defined in Swagger """ @@ -64,6 +66,7 @@ def __init__(self, aggregator_id=None, name=None, sub_merchant=None, street_addr self._state = None self._postal_code = None self._country = None + self._service_providername = None if aggregator_id is not None: self.aggregator_id = aggregator_id @@ -81,6 +84,8 @@ def __init__(self, aggregator_id=None, name=None, sub_merchant=None, street_addr self.postal_code = postal_code if country is not None: self.country = country + if service_providername is not None: + self.service_providername = service_providername @property def aggregator_id(self): @@ -264,6 +269,29 @@ def country(self, country): self._country = country + @property + def service_providername(self): + """ + Gets the service_providername of this Ptsv2paymentsAggregatorInformation. + Contains transfer service provider name. + + :return: The service_providername of this Ptsv2paymentsAggregatorInformation. + :rtype: str + """ + return self._service_providername + + @service_providername.setter + def service_providername(self, service_providername): + """ + Sets the service_providername of this Ptsv2paymentsAggregatorInformation. + Contains transfer service provider name. + + :param service_providername: The service_providername of this Ptsv2paymentsAggregatorInformation. + :type: str + """ + + self._service_providername = service_providername + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/rbsv1plans_client_reference_information.py b/CyberSource/models/rbsv1plans_client_reference_information.py deleted file mode 100644 index 9d18c84f..00000000 --- a/CyberSource/models/rbsv1plans_client_reference_information.py +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from pprint import pformat -from six import iteritems -import re - - -class Rbsv1plansClientReferenceInformation(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'comments': 'str', - 'partner': 'Riskv1decisionsClientReferenceInformationPartner', - 'application_name': 'str', - 'application_version': 'str', - 'application_user': 'str' - } - - attribute_map = { - 'comments': 'comments', - 'partner': 'partner', - 'application_name': 'applicationName', - 'application_version': 'applicationVersion', - 'application_user': 'applicationUser' - } - - def __init__(self, comments=None, partner=None, application_name=None, application_version=None, application_user=None): - """ - Rbsv1plansClientReferenceInformation - a model defined in Swagger - """ - - self._comments = None - self._partner = None - self._application_name = None - self._application_version = None - self._application_user = None - - if comments is not None: - self.comments = comments - if partner is not None: - self.partner = partner - if application_name is not None: - self.application_name = application_name - if application_version is not None: - self.application_version = application_version - if application_user is not None: - self.application_user = application_user - - @property - def comments(self): - """ - Gets the comments of this Rbsv1plansClientReferenceInformation. - Brief description of the order or any comment you wish to add to the order. - - :return: The comments of this Rbsv1plansClientReferenceInformation. - :rtype: str - """ - return self._comments - - @comments.setter - def comments(self, comments): - """ - Sets the comments of this Rbsv1plansClientReferenceInformation. - Brief description of the order or any comment you wish to add to the order. - - :param comments: The comments of this Rbsv1plansClientReferenceInformation. - :type: str - """ - - self._comments = comments - - @property - def partner(self): - """ - Gets the partner of this Rbsv1plansClientReferenceInformation. - - :return: The partner of this Rbsv1plansClientReferenceInformation. - :rtype: Riskv1decisionsClientReferenceInformationPartner - """ - return self._partner - - @partner.setter - def partner(self, partner): - """ - Sets the partner of this Rbsv1plansClientReferenceInformation. - - :param partner: The partner of this Rbsv1plansClientReferenceInformation. - :type: Riskv1decisionsClientReferenceInformationPartner - """ - - self._partner = partner - - @property - def application_name(self): - """ - Gets the application_name of this Rbsv1plansClientReferenceInformation. - The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - - :return: The application_name of this Rbsv1plansClientReferenceInformation. - :rtype: str - """ - return self._application_name - - @application_name.setter - def application_name(self, application_name): - """ - Sets the application_name of this Rbsv1plansClientReferenceInformation. - The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - - :param application_name: The application_name of this Rbsv1plansClientReferenceInformation. - :type: str - """ - - self._application_name = application_name - - @property - def application_version(self): - """ - Gets the application_version of this Rbsv1plansClientReferenceInformation. - Version of the CyberSource application or integration used for a transaction. - - :return: The application_version of this Rbsv1plansClientReferenceInformation. - :rtype: str - """ - return self._application_version - - @application_version.setter - def application_version(self, application_version): - """ - Sets the application_version of this Rbsv1plansClientReferenceInformation. - Version of the CyberSource application or integration used for a transaction. - - :param application_version: The application_version of this Rbsv1plansClientReferenceInformation. - :type: str - """ - - self._application_version = application_version - - @property - def application_user(self): - """ - Gets the application_user of this Rbsv1plansClientReferenceInformation. - The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - - :return: The application_user of this Rbsv1plansClientReferenceInformation. - :rtype: str - """ - return self._application_user - - @application_user.setter - def application_user(self, application_user): - """ - Sets the application_user of this Rbsv1plansClientReferenceInformation. - The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - - :param application_user: The application_user of this Rbsv1plansClientReferenceInformation. - :type: str - """ - - self._application_user = application_user - - def to_dict(self): - """ - Returns the model properties as a dict - """ - result = {} - - for attr, _ in iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """ - Returns the string representation of the model - """ - return pformat(self.to_dict()) - - def __repr__(self): - """ - For `print` and `pprint` - """ - return self.to_str() - - def __eq__(self, other): - """ - Returns true if both objects are equal - """ - if not isinstance(other, Rbsv1plansClientReferenceInformation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/CyberSource/models/rbsv1subscriptions_client_reference_information.py b/CyberSource/models/rbsv1subscriptions_client_reference_information.py deleted file mode 100644 index 7e0aa1e6..00000000 --- a/CyberSource/models/rbsv1subscriptions_client_reference_information.py +++ /dev/null @@ -1,262 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from pprint import pformat -from six import iteritems -import re - - -class Rbsv1subscriptionsClientReferenceInformation(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'comments': 'str', - 'partner': 'Rbsv1subscriptionsClientReferenceInformationPartner', - 'application_name': 'str', - 'application_version': 'str', - 'application_user': 'str' - } - - attribute_map = { - 'code': 'code', - 'comments': 'comments', - 'partner': 'partner', - 'application_name': 'applicationName', - 'application_version': 'applicationVersion', - 'application_user': 'applicationUser' - } - - def __init__(self, code=None, comments=None, partner=None, application_name=None, application_version=None, application_user=None): - """ - Rbsv1subscriptionsClientReferenceInformation - a model defined in Swagger - """ - - self._code = None - self._comments = None - self._partner = None - self._application_name = None - self._application_version = None - self._application_user = None - - if code is not None: - self.code = code - if comments is not None: - self.comments = comments - if partner is not None: - self.partner = partner - if application_name is not None: - self.application_name = application_name - if application_version is not None: - self.application_version = application_version - if application_user is not None: - self.application_user = application_user - - @property - def code(self): - """ - Gets the code of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. - - :return: The code of this Rbsv1subscriptionsClientReferenceInformation. - :rtype: str - """ - return self._code - - @code.setter - def code(self, code): - """ - Sets the code of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. - - :param code: The code of this Rbsv1subscriptionsClientReferenceInformation. - :type: str - """ - - self._code = code - - @property - def comments(self): - """ - Gets the comments of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. - - :return: The comments of this Rbsv1subscriptionsClientReferenceInformation. - :rtype: str - """ - return self._comments - - @comments.setter - def comments(self, comments): - """ - Sets the comments of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. - - :param comments: The comments of this Rbsv1subscriptionsClientReferenceInformation. - :type: str - """ - - self._comments = comments - - @property - def partner(self): - """ - Gets the partner of this Rbsv1subscriptionsClientReferenceInformation. - - :return: The partner of this Rbsv1subscriptionsClientReferenceInformation. - :rtype: Rbsv1subscriptionsClientReferenceInformationPartner - """ - return self._partner - - @partner.setter - def partner(self, partner): - """ - Sets the partner of this Rbsv1subscriptionsClientReferenceInformation. - - :param partner: The partner of this Rbsv1subscriptionsClientReferenceInformation. - :type: Rbsv1subscriptionsClientReferenceInformationPartner - """ - - self._partner = partner - - @property - def application_name(self): - """ - Gets the application_name of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - - :return: The application_name of this Rbsv1subscriptionsClientReferenceInformation. - :rtype: str - """ - return self._application_name - - @application_name.setter - def application_name(self, application_name): - """ - Sets the application_name of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - - :param application_name: The application_name of this Rbsv1subscriptionsClientReferenceInformation. - :type: str - """ - - self._application_name = application_name - - @property - def application_version(self): - """ - Gets the application_version of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. - - :return: The application_version of this Rbsv1subscriptionsClientReferenceInformation. - :rtype: str - """ - return self._application_version - - @application_version.setter - def application_version(self, application_version): - """ - Sets the application_version of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. - - :param application_version: The application_version of this Rbsv1subscriptionsClientReferenceInformation. - :type: str - """ - - self._application_version = application_version - - @property - def application_user(self): - """ - Gets the application_user of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - - :return: The application_user of this Rbsv1subscriptionsClientReferenceInformation. - :rtype: str - """ - return self._application_user - - @application_user.setter - def application_user(self, application_user): - """ - Sets the application_user of this Rbsv1subscriptionsClientReferenceInformation. - > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - - :param application_user: The application_user of this Rbsv1subscriptionsClientReferenceInformation. - :type: str - """ - - self._application_user = application_user - - def to_dict(self): - """ - Returns the model properties as a dict - """ - result = {} - - for attr, _ in iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """ - Returns the string representation of the model - """ - return pformat(self.to_dict()) - - def __repr__(self): - """ - For `print` and `pprint` - """ - return self.to_str() - - def __eq__(self, other): - """ - Returns true if both objects are equal - """ - if not isinstance(other, Rbsv1subscriptionsClientReferenceInformation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/CyberSource/models/rbsv1subscriptions_client_reference_information_partner.py b/CyberSource/models/rbsv1subscriptions_client_reference_information_partner.py deleted file mode 100644 index 23cb4e00..00000000 --- a/CyberSource/models/rbsv1subscriptions_client_reference_information_partner.py +++ /dev/null @@ -1,152 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from pprint import pformat -from six import iteritems -import re - - -class Rbsv1subscriptionsClientReferenceInformationPartner(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'developer_id': 'str', - 'solution_id': 'str' - } - - attribute_map = { - 'developer_id': 'developerId', - 'solution_id': 'solutionId' - } - - def __init__(self, developer_id=None, solution_id=None): - """ - Rbsv1subscriptionsClientReferenceInformationPartner - a model defined in Swagger - """ - - self._developer_id = None - self._solution_id = None - - if developer_id is not None: - self.developer_id = developer_id - if solution_id is not None: - self.solution_id = solution_id - - @property - def developer_id(self): - """ - Gets the developer_id of this Rbsv1subscriptionsClientReferenceInformationPartner. - > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. - - :return: The developer_id of this Rbsv1subscriptionsClientReferenceInformationPartner. - :rtype: str - """ - return self._developer_id - - @developer_id.setter - def developer_id(self, developer_id): - """ - Sets the developer_id of this Rbsv1subscriptionsClientReferenceInformationPartner. - > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. - - :param developer_id: The developer_id of this Rbsv1subscriptionsClientReferenceInformationPartner. - :type: str - """ - - self._developer_id = developer_id - - @property - def solution_id(self): - """ - Gets the solution_id of this Rbsv1subscriptionsClientReferenceInformationPartner. - > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. - - :return: The solution_id of this Rbsv1subscriptionsClientReferenceInformationPartner. - :rtype: str - """ - return self._solution_id - - @solution_id.setter - def solution_id(self, solution_id): - """ - Sets the solution_id of this Rbsv1subscriptionsClientReferenceInformationPartner. - > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. - - :param solution_id: The solution_id of this Rbsv1subscriptionsClientReferenceInformationPartner. - :type: str - """ - - self._solution_id = solution_id - - def to_dict(self): - """ - Returns the model properties as a dict - """ - result = {} - - for attr, _ in iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """ - Returns the string representation of the model - """ - return pformat(self.to_dict()) - - def __repr__(self): - """ - For `print` and `pprint` - """ - return self.to_str() - - def __eq__(self, other): - """ - Returns true if both objects are equal - """ - if not isinstance(other, Rbsv1subscriptionsClientReferenceInformationPartner): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/CyberSource/models/shipping_address_list_for_customer_embedded.py b/CyberSource/models/shipping_address_list_for_customer_embedded.py index 2da5aa2a..4b83e4c7 100644 --- a/CyberSource/models/shipping_address_list_for_customer_embedded.py +++ b/CyberSource/models/shipping_address_list_for_customer_embedded.py @@ -30,7 +30,7 @@ class ShippingAddressListForCustomerEmbedded(object): and the value is json key in definition. """ swagger_types = { - 'shipping_addresses': 'list[Tmsv2customersEmbeddedDefaultShippingAddress]' + 'shipping_addresses': 'list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress]' } attribute_map = { @@ -53,7 +53,7 @@ def shipping_addresses(self): Gets the shipping_addresses of this ShippingAddressListForCustomerEmbedded. :return: The shipping_addresses of this ShippingAddressListForCustomerEmbedded. - :rtype: list[Tmsv2customersEmbeddedDefaultShippingAddress] + :rtype: list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress] """ return self._shipping_addresses @@ -63,7 +63,7 @@ def shipping_addresses(self, shipping_addresses): Sets the shipping_addresses of this ShippingAddressListForCustomerEmbedded. :param shipping_addresses: The shipping_addresses of this ShippingAddressListForCustomerEmbedded. - :type: list[Tmsv2customersEmbeddedDefaultShippingAddress] + :type: list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress] """ self._shipping_addresses = shipping_addresses diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_merchant_information.py b/CyberSource/models/tms_merchant_information.py similarity index 73% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_merchant_information.py rename to CyberSource/models/tms_merchant_information.py index cccf7d1c..f524f283 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_merchant_information.py +++ b/CyberSource/models/tms_merchant_information.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation(object): +class TmsMerchantInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,7 +30,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation(object): and the value is json key in definition. """ swagger_types = { - 'merchant_descriptor': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor' + 'merchant_descriptor': 'TmsMerchantInformationMerchantDescriptor' } attribute_map = { @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation(object): def __init__(self, merchant_descriptor=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - a model defined in Swagger + TmsMerchantInformation - a model defined in Swagger """ self._merchant_descriptor = None @@ -50,20 +50,20 @@ def __init__(self, merchant_descriptor=None): @property def merchant_descriptor(self): """ - Gets the merchant_descriptor of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation. + Gets the merchant_descriptor of this TmsMerchantInformation. - :return: The merchant_descriptor of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor + :return: The merchant_descriptor of this TmsMerchantInformation. + :rtype: TmsMerchantInformationMerchantDescriptor """ return self._merchant_descriptor @merchant_descriptor.setter def merchant_descriptor(self, merchant_descriptor): """ - Sets the merchant_descriptor of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation. + Sets the merchant_descriptor of this TmsMerchantInformation. - :param merchant_descriptor: The merchant_descriptor of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor + :param merchant_descriptor: The merchant_descriptor of this TmsMerchantInformation. + :type: TmsMerchantInformationMerchantDescriptor """ self._merchant_descriptor = merchant_descriptor @@ -110,7 +110,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation): + if not isinstance(other, TmsMerchantInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor.py b/CyberSource/models/tms_merchant_information_merchant_descriptor.py similarity index 80% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor.py rename to CyberSource/models/tms_merchant_information_merchant_descriptor.py index 2ff41e90..eda94f18 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor.py +++ b/CyberSource/models/tms_merchant_information_merchant_descriptor.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor(object): +class TmsMerchantInformationMerchantDescriptor(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantD def __init__(self, alternate_name=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor - a model defined in Swagger + TmsMerchantInformationMerchantDescriptor - a model defined in Swagger """ self._alternate_name = None @@ -50,10 +50,10 @@ def __init__(self, alternate_name=None): @property def alternate_name(self): """ - Gets the alternate_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor. + Gets the alternate_name of this TmsMerchantInformationMerchantDescriptor. Alternate contact information for your business,such as an email address or URL. This value might be displayed on the cardholder's statement. When you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used. Important This value must consist of English characters - :return: The alternate_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor. + :return: The alternate_name of this TmsMerchantInformationMerchantDescriptor. :rtype: str """ return self._alternate_name @@ -61,10 +61,10 @@ def alternate_name(self): @alternate_name.setter def alternate_name(self, alternate_name): """ - Sets the alternate_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor. + Sets the alternate_name of this TmsMerchantInformationMerchantDescriptor. Alternate contact information for your business,such as an email address or URL. This value might be displayed on the cardholder's statement. When you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used. Important This value must consist of English characters - :param alternate_name: The alternate_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor. + :param alternate_name: The alternate_name of this TmsMerchantInformationMerchantDescriptor. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor): + if not isinstance(other, TmsMerchantInformationMerchantDescriptor): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2tokenize_processing_information.py b/CyberSource/models/tmsv2tokenize_processing_information.py new file mode 100644 index 00000000..ee05e8e1 --- /dev/null +++ b/CyberSource/models/tmsv2tokenize_processing_information.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Tmsv2tokenizeProcessingInformation(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'action_list': 'list[str]', + 'action_token_types': 'list[str]' + } + + attribute_map = { + 'action_list': 'actionList', + 'action_token_types': 'actionTokenTypes' + } + + def __init__(self, action_list=None, action_token_types=None): + """ + Tmsv2tokenizeProcessingInformation - a model defined in Swagger + """ + + self._action_list = None + self._action_token_types = None + + if action_list is not None: + self.action_list = action_list + if action_token_types is not None: + self.action_token_types = action_token_types + + @property + def action_list(self): + """ + Gets the action_list of this Tmsv2tokenizeProcessingInformation. + Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. + + :return: The action_list of this Tmsv2tokenizeProcessingInformation. + :rtype: list[str] + """ + return self._action_list + + @action_list.setter + def action_list(self, action_list): + """ + Sets the action_list of this Tmsv2tokenizeProcessingInformation. + Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. + + :param action_list: The action_list of this Tmsv2tokenizeProcessingInformation. + :type: list[str] + """ + + self._action_list = action_list + + @property + def action_token_types(self): + """ + Gets the action_token_types of this Tmsv2tokenizeProcessingInformation. + TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + + :return: The action_token_types of this Tmsv2tokenizeProcessingInformation. + :rtype: list[str] + """ + return self._action_token_types + + @action_token_types.setter + def action_token_types(self, action_token_types): + """ + Sets the action_token_types of this Tmsv2tokenizeProcessingInformation. + TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + + :param action_token_types: The action_token_types of this Tmsv2tokenizeProcessingInformation. + :type: list[str] + """ + + self._action_token_types = action_token_types + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Tmsv2tokenizeProcessingInformation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/tmsv2tokenize_token_information.py b/CyberSource/models/tmsv2tokenize_token_information.py new file mode 100644 index 00000000..00a80667 --- /dev/null +++ b/CyberSource/models/tmsv2tokenize_token_information.py @@ -0,0 +1,256 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Tmsv2tokenizeTokenInformation(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'jti': 'str', + 'transient_token_jwt': 'str', + 'customer': 'Tmsv2tokenizeTokenInformationCustomer', + 'shipping_address': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress', + 'payment_instrument': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument', + 'instrument_identifier': 'TmsEmbeddedInstrumentIdentifier' + } + + attribute_map = { + 'jti': 'jti', + 'transient_token_jwt': 'transientTokenJwt', + 'customer': 'customer', + 'shipping_address': 'shippingAddress', + 'payment_instrument': 'paymentInstrument', + 'instrument_identifier': 'instrumentIdentifier' + } + + def __init__(self, jti=None, transient_token_jwt=None, customer=None, shipping_address=None, payment_instrument=None, instrument_identifier=None): + """ + Tmsv2tokenizeTokenInformation - a model defined in Swagger + """ + + self._jti = None + self._transient_token_jwt = None + self._customer = None + self._shipping_address = None + self._payment_instrument = None + self._instrument_identifier = None + + if jti is not None: + self.jti = jti + if transient_token_jwt is not None: + self.transient_token_jwt = transient_token_jwt + if customer is not None: + self.customer = customer + if shipping_address is not None: + self.shipping_address = shipping_address + if payment_instrument is not None: + self.payment_instrument = payment_instrument + if instrument_identifier is not None: + self.instrument_identifier = instrument_identifier + + @property + def jti(self): + """ + Gets the jti of this Tmsv2tokenizeTokenInformation. + TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). + + :return: The jti of this Tmsv2tokenizeTokenInformation. + :rtype: str + """ + return self._jti + + @jti.setter + def jti(self, jti): + """ + Sets the jti of this Tmsv2tokenizeTokenInformation. + TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). + + :param jti: The jti of this Tmsv2tokenizeTokenInformation. + :type: str + """ + + self._jti = jti + + @property + def transient_token_jwt(self): + """ + Gets the transient_token_jwt of this Tmsv2tokenizeTokenInformation. + Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. + + :return: The transient_token_jwt of this Tmsv2tokenizeTokenInformation. + :rtype: str + """ + return self._transient_token_jwt + + @transient_token_jwt.setter + def transient_token_jwt(self, transient_token_jwt): + """ + Sets the transient_token_jwt of this Tmsv2tokenizeTokenInformation. + Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. + + :param transient_token_jwt: The transient_token_jwt of this Tmsv2tokenizeTokenInformation. + :type: str + """ + + self._transient_token_jwt = transient_token_jwt + + @property + def customer(self): + """ + Gets the customer of this Tmsv2tokenizeTokenInformation. + + :return: The customer of this Tmsv2tokenizeTokenInformation. + :rtype: Tmsv2tokenizeTokenInformationCustomer + """ + return self._customer + + @customer.setter + def customer(self, customer): + """ + Sets the customer of this Tmsv2tokenizeTokenInformation. + + :param customer: The customer of this Tmsv2tokenizeTokenInformation. + :type: Tmsv2tokenizeTokenInformationCustomer + """ + + self._customer = customer + + @property + def shipping_address(self): + """ + Gets the shipping_address of this Tmsv2tokenizeTokenInformation. + + :return: The shipping_address of this Tmsv2tokenizeTokenInformation. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + """ + return self._shipping_address + + @shipping_address.setter + def shipping_address(self, shipping_address): + """ + Sets the shipping_address of this Tmsv2tokenizeTokenInformation. + + :param shipping_address: The shipping_address of this Tmsv2tokenizeTokenInformation. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + """ + + self._shipping_address = shipping_address + + @property + def payment_instrument(self): + """ + Gets the payment_instrument of this Tmsv2tokenizeTokenInformation. + + :return: The payment_instrument of this Tmsv2tokenizeTokenInformation. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + """ + return self._payment_instrument + + @payment_instrument.setter + def payment_instrument(self, payment_instrument): + """ + Sets the payment_instrument of this Tmsv2tokenizeTokenInformation. + + :param payment_instrument: The payment_instrument of this Tmsv2tokenizeTokenInformation. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + """ + + self._payment_instrument = payment_instrument + + @property + def instrument_identifier(self): + """ + Gets the instrument_identifier of this Tmsv2tokenizeTokenInformation. + + :return: The instrument_identifier of this Tmsv2tokenizeTokenInformation. + :rtype: TmsEmbeddedInstrumentIdentifier + """ + return self._instrument_identifier + + @instrument_identifier.setter + def instrument_identifier(self, instrument_identifier): + """ + Sets the instrument_identifier of this Tmsv2tokenizeTokenInformation. + + :param instrument_identifier: The instrument_identifier of this Tmsv2tokenizeTokenInformation. + :type: TmsEmbeddedInstrumentIdentifier + """ + + self._instrument_identifier = instrument_identifier + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Tmsv2tokenizeTokenInformation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/tmsv2tokenize_token_information_customer.py b/CyberSource/models/tmsv2tokenize_token_information_customer.py new file mode 100644 index 00000000..1cb8f430 --- /dev/null +++ b/CyberSource/models/tmsv2tokenize_token_information_customer.py @@ -0,0 +1,360 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Tmsv2tokenizeTokenInformationCustomer(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'links': 'Tmsv2tokenizeTokenInformationCustomerLinks', + 'id': 'str', + 'object_information': 'Tmsv2tokenizeTokenInformationCustomerObjectInformation', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerBuyerInformation', + 'client_reference_information': 'Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation', + 'merchant_defined_information': 'list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation]', + 'default_payment_instrument': 'Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument', + 'default_shipping_address': 'Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerMetadata', + 'embedded': 'Tmsv2tokenizeTokenInformationCustomerEmbedded' + } + + attribute_map = { + 'links': '_links', + 'id': 'id', + 'object_information': 'objectInformation', + 'buyer_information': 'buyerInformation', + 'client_reference_information': 'clientReferenceInformation', + 'merchant_defined_information': 'merchantDefinedInformation', + 'default_payment_instrument': 'defaultPaymentInstrument', + 'default_shipping_address': 'defaultShippingAddress', + 'metadata': 'metadata', + 'embedded': '_embedded' + } + + def __init__(self, links=None, id=None, object_information=None, buyer_information=None, client_reference_information=None, merchant_defined_information=None, default_payment_instrument=None, default_shipping_address=None, metadata=None, embedded=None): + """ + Tmsv2tokenizeTokenInformationCustomer - a model defined in Swagger + """ + + self._links = None + self._id = None + self._object_information = None + self._buyer_information = None + self._client_reference_information = None + self._merchant_defined_information = None + self._default_payment_instrument = None + self._default_shipping_address = None + self._metadata = None + self._embedded = None + + if links is not None: + self.links = links + if id is not None: + self.id = id + if object_information is not None: + self.object_information = object_information + if buyer_information is not None: + self.buyer_information = buyer_information + if client_reference_information is not None: + self.client_reference_information = client_reference_information + if merchant_defined_information is not None: + self.merchant_defined_information = merchant_defined_information + if default_payment_instrument is not None: + self.default_payment_instrument = default_payment_instrument + if default_shipping_address is not None: + self.default_shipping_address = default_shipping_address + if metadata is not None: + self.metadata = metadata + if embedded is not None: + self.embedded = embedded + + @property + def links(self): + """ + Gets the links of this Tmsv2tokenizeTokenInformationCustomer. + + :return: The links of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: Tmsv2tokenizeTokenInformationCustomerLinks + """ + return self._links + + @links.setter + def links(self, links): + """ + Sets the links of this Tmsv2tokenizeTokenInformationCustomer. + + :param links: The links of this Tmsv2tokenizeTokenInformationCustomer. + :type: Tmsv2tokenizeTokenInformationCustomerLinks + """ + + self._links = links + + @property + def id(self): + """ + Gets the id of this Tmsv2tokenizeTokenInformationCustomer. + The Id of the Customer Token. + + :return: The id of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """ + Sets the id of this Tmsv2tokenizeTokenInformationCustomer. + The Id of the Customer Token. + + :param id: The id of this Tmsv2tokenizeTokenInformationCustomer. + :type: str + """ + + self._id = id + + @property + def object_information(self): + """ + Gets the object_information of this Tmsv2tokenizeTokenInformationCustomer. + + :return: The object_information of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: Tmsv2tokenizeTokenInformationCustomerObjectInformation + """ + return self._object_information + + @object_information.setter + def object_information(self, object_information): + """ + Sets the object_information of this Tmsv2tokenizeTokenInformationCustomer. + + :param object_information: The object_information of this Tmsv2tokenizeTokenInformationCustomer. + :type: Tmsv2tokenizeTokenInformationCustomerObjectInformation + """ + + self._object_information = object_information + + @property + def buyer_information(self): + """ + Gets the buyer_information of this Tmsv2tokenizeTokenInformationCustomer. + + :return: The buyer_information of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: Tmsv2tokenizeTokenInformationCustomerBuyerInformation + """ + return self._buyer_information + + @buyer_information.setter + def buyer_information(self, buyer_information): + """ + Sets the buyer_information of this Tmsv2tokenizeTokenInformationCustomer. + + :param buyer_information: The buyer_information of this Tmsv2tokenizeTokenInformationCustomer. + :type: Tmsv2tokenizeTokenInformationCustomerBuyerInformation + """ + + self._buyer_information = buyer_information + + @property + def client_reference_information(self): + """ + Gets the client_reference_information of this Tmsv2tokenizeTokenInformationCustomer. + + :return: The client_reference_information of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + """ + return self._client_reference_information + + @client_reference_information.setter + def client_reference_information(self, client_reference_information): + """ + Sets the client_reference_information of this Tmsv2tokenizeTokenInformationCustomer. + + :param client_reference_information: The client_reference_information of this Tmsv2tokenizeTokenInformationCustomer. + :type: Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + """ + + self._client_reference_information = client_reference_information + + @property + def merchant_defined_information(self): + """ + Gets the merchant_defined_information of this Tmsv2tokenizeTokenInformationCustomer. + Object containing the custom data that the merchant defines. + + :return: The merchant_defined_information of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation] + """ + return self._merchant_defined_information + + @merchant_defined_information.setter + def merchant_defined_information(self, merchant_defined_information): + """ + Sets the merchant_defined_information of this Tmsv2tokenizeTokenInformationCustomer. + Object containing the custom data that the merchant defines. + + :param merchant_defined_information: The merchant_defined_information of this Tmsv2tokenizeTokenInformationCustomer. + :type: list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation] + """ + + self._merchant_defined_information = merchant_defined_information + + @property + def default_payment_instrument(self): + """ + Gets the default_payment_instrument of this Tmsv2tokenizeTokenInformationCustomer. + + :return: The default_payment_instrument of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument + """ + return self._default_payment_instrument + + @default_payment_instrument.setter + def default_payment_instrument(self, default_payment_instrument): + """ + Sets the default_payment_instrument of this Tmsv2tokenizeTokenInformationCustomer. + + :param default_payment_instrument: The default_payment_instrument of this Tmsv2tokenizeTokenInformationCustomer. + :type: Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument + """ + + self._default_payment_instrument = default_payment_instrument + + @property + def default_shipping_address(self): + """ + Gets the default_shipping_address of this Tmsv2tokenizeTokenInformationCustomer. + + :return: The default_shipping_address of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress + """ + return self._default_shipping_address + + @default_shipping_address.setter + def default_shipping_address(self, default_shipping_address): + """ + Sets the default_shipping_address of this Tmsv2tokenizeTokenInformationCustomer. + + :param default_shipping_address: The default_shipping_address of this Tmsv2tokenizeTokenInformationCustomer. + :type: Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress + """ + + self._default_shipping_address = default_shipping_address + + @property + def metadata(self): + """ + Gets the metadata of this Tmsv2tokenizeTokenInformationCustomer. + + :return: The metadata of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: Tmsv2tokenizeTokenInformationCustomerMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this Tmsv2tokenizeTokenInformationCustomer. + + :param metadata: The metadata of this Tmsv2tokenizeTokenInformationCustomer. + :type: Tmsv2tokenizeTokenInformationCustomerMetadata + """ + + self._metadata = metadata + + @property + def embedded(self): + """ + Gets the embedded of this Tmsv2tokenizeTokenInformationCustomer. + + :return: The embedded of this Tmsv2tokenizeTokenInformationCustomer. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbedded + """ + return self._embedded + + @embedded.setter + def embedded(self, embedded): + """ + Sets the embedded of this Tmsv2tokenizeTokenInformationCustomer. + + :param embedded: The embedded of this Tmsv2tokenizeTokenInformationCustomer. + :type: Tmsv2tokenizeTokenInformationCustomerEmbedded + """ + + self._embedded = embedded + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomer): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/tmsv2customers_buyer_information.py b/CyberSource/models/tmsv2tokenize_token_information_customer_buyer_information.py similarity index 78% rename from CyberSource/models/tmsv2customers_buyer_information.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_buyer_information.py index 5b137ea1..50b9d4f2 100644 --- a/CyberSource/models/tmsv2customers_buyer_information.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_buyer_information.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersBuyerInformation(object): +class Tmsv2tokenizeTokenInformationCustomerBuyerInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +41,7 @@ class Tmsv2customersBuyerInformation(object): def __init__(self, merchant_customer_id=None, email=None): """ - Tmsv2customersBuyerInformation - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerBuyerInformation - a model defined in Swagger """ self._merchant_customer_id = None @@ -55,10 +55,10 @@ def __init__(self, merchant_customer_id=None, email=None): @property def merchant_customer_id(self): """ - Gets the merchant_customer_id of this Tmsv2customersBuyerInformation. + Gets the merchant_customer_id of this Tmsv2tokenizeTokenInformationCustomerBuyerInformation. Your identifier for the customer. - :return: The merchant_customer_id of this Tmsv2customersBuyerInformation. + :return: The merchant_customer_id of this Tmsv2tokenizeTokenInformationCustomerBuyerInformation. :rtype: str """ return self._merchant_customer_id @@ -66,10 +66,10 @@ def merchant_customer_id(self): @merchant_customer_id.setter def merchant_customer_id(self, merchant_customer_id): """ - Sets the merchant_customer_id of this Tmsv2customersBuyerInformation. + Sets the merchant_customer_id of this Tmsv2tokenizeTokenInformationCustomerBuyerInformation. Your identifier for the customer. - :param merchant_customer_id: The merchant_customer_id of this Tmsv2customersBuyerInformation. + :param merchant_customer_id: The merchant_customer_id of this Tmsv2tokenizeTokenInformationCustomerBuyerInformation. :type: str """ @@ -78,10 +78,10 @@ def merchant_customer_id(self, merchant_customer_id): @property def email(self): """ - Gets the email of this Tmsv2customersBuyerInformation. + Gets the email of this Tmsv2tokenizeTokenInformationCustomerBuyerInformation. Customer's primary email address, including the full domain name. - :return: The email of this Tmsv2customersBuyerInformation. + :return: The email of this Tmsv2tokenizeTokenInformationCustomerBuyerInformation. :rtype: str """ return self._email @@ -89,10 +89,10 @@ def email(self): @email.setter def email(self, email): """ - Sets the email of this Tmsv2customersBuyerInformation. + Sets the email of this Tmsv2tokenizeTokenInformationCustomerBuyerInformation. Customer's primary email address, including the full domain name. - :param email: The email of this Tmsv2customersBuyerInformation. + :param email: The email of this Tmsv2tokenizeTokenInformationCustomerBuyerInformation. :type: str """ @@ -140,7 +140,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersBuyerInformation): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerBuyerInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_client_reference_information.py b/CyberSource/models/tmsv2tokenize_token_information_customer_client_reference_information.py similarity index 80% rename from CyberSource/models/tmsv2customers_client_reference_information.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_client_reference_information.py index a49c7e94..d22829b0 100644 --- a/CyberSource/models/tmsv2customers_client_reference_information.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_client_reference_information.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersClientReferenceInformation(object): +class Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersClientReferenceInformation(object): def __init__(self, code=None): """ - Tmsv2customersClientReferenceInformation - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation - a model defined in Swagger """ self._code = None @@ -50,10 +50,10 @@ def __init__(self, code=None): @property def code(self): """ - Gets the code of this Tmsv2customersClientReferenceInformation. + Gets the code of this Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation. Client-generated order reference or tracking number. - :return: The code of this Tmsv2customersClientReferenceInformation. + :return: The code of this Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation. :rtype: str """ return self._code @@ -61,10 +61,10 @@ def code(self): @code.setter def code(self, code): """ - Sets the code of this Tmsv2customersClientReferenceInformation. + Sets the code of this Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation. Client-generated order reference or tracking number. - :param code: The code of this Tmsv2customersClientReferenceInformation. + :param code: The code of this Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersClientReferenceInformation): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_default_payment_instrument.py b/CyberSource/models/tmsv2tokenize_token_information_customer_default_payment_instrument.py similarity index 80% rename from CyberSource/models/tmsv2customers_default_payment_instrument.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_default_payment_instrument.py index 456a12b1..84ecb8d2 100644 --- a/CyberSource/models/tmsv2customers_default_payment_instrument.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_default_payment_instrument.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersDefaultPaymentInstrument(object): +class Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersDefaultPaymentInstrument(object): def __init__(self, id=None): """ - Tmsv2customersDefaultPaymentInstrument - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument - a model defined in Swagger """ self._id = None @@ -50,10 +50,10 @@ def __init__(self, id=None): @property def id(self): """ - Gets the id of this Tmsv2customersDefaultPaymentInstrument. + Gets the id of this Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument. The Id of the Customers default Payment Instrument - :return: The id of this Tmsv2customersDefaultPaymentInstrument. + :return: The id of this Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument. :rtype: str """ return self._id @@ -61,10 +61,10 @@ def id(self): @id.setter def id(self, id): """ - Sets the id of this Tmsv2customersDefaultPaymentInstrument. + Sets the id of this Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument. The Id of the Customers default Payment Instrument - :param id: The id of this Tmsv2customersDefaultPaymentInstrument. + :param id: The id of this Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersDefaultPaymentInstrument): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_default_shipping_address.py b/CyberSource/models/tmsv2tokenize_token_information_customer_default_shipping_address.py similarity index 81% rename from CyberSource/models/tmsv2customers_default_shipping_address.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_default_shipping_address.py index 4bb2ce4e..56d0f754 100644 --- a/CyberSource/models/tmsv2customers_default_shipping_address.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_default_shipping_address.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersDefaultShippingAddress(object): +class Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersDefaultShippingAddress(object): def __init__(self, id=None): """ - Tmsv2customersDefaultShippingAddress - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress - a model defined in Swagger """ self._id = None @@ -50,10 +50,10 @@ def __init__(self, id=None): @property def id(self): """ - Gets the id of this Tmsv2customersDefaultShippingAddress. + Gets the id of this Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress. The Id of the Customers default Shipping Address - :return: The id of this Tmsv2customersDefaultShippingAddress. + :return: The id of this Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress. :rtype: str """ return self._id @@ -61,10 +61,10 @@ def id(self): @id.setter def id(self, id): """ - Sets the id of this Tmsv2customersDefaultShippingAddress. + Sets the id of this Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress. The Id of the Customers default Shipping Address - :param id: The id of this Tmsv2customersDefaultShippingAddress. + :param id: The id of this Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersDefaultShippingAddress): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded.py similarity index 70% rename from CyberSource/models/tmsv2customers_embedded.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded.py index bd7b267d..44053a7e 100644 --- a/CyberSource/models/tmsv2customers_embedded.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbedded(object): +class Tmsv2tokenizeTokenInformationCustomerEmbedded(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class Tmsv2customersEmbedded(object): and the value is json key in definition. """ swagger_types = { - 'default_payment_instrument': 'Tmsv2customersEmbeddedDefaultPaymentInstrument', - 'default_shipping_address': 'Tmsv2customersEmbeddedDefaultShippingAddress' + 'default_payment_instrument': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument', + 'default_shipping_address': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress' } attribute_map = { @@ -41,7 +41,7 @@ class Tmsv2customersEmbedded(object): def __init__(self, default_payment_instrument=None, default_shipping_address=None): """ - Tmsv2customersEmbedded - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbedded - a model defined in Swagger """ self._default_payment_instrument = None @@ -55,20 +55,20 @@ def __init__(self, default_payment_instrument=None, default_shipping_address=Non @property def default_payment_instrument(self): """ - Gets the default_payment_instrument of this Tmsv2customersEmbedded. + Gets the default_payment_instrument of this Tmsv2tokenizeTokenInformationCustomerEmbedded. - :return: The default_payment_instrument of this Tmsv2customersEmbedded. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrument + :return: The default_payment_instrument of this Tmsv2tokenizeTokenInformationCustomerEmbedded. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument """ return self._default_payment_instrument @default_payment_instrument.setter def default_payment_instrument(self, default_payment_instrument): """ - Sets the default_payment_instrument of this Tmsv2customersEmbedded. + Sets the default_payment_instrument of this Tmsv2tokenizeTokenInformationCustomerEmbedded. - :param default_payment_instrument: The default_payment_instrument of this Tmsv2customersEmbedded. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrument + :param default_payment_instrument: The default_payment_instrument of this Tmsv2tokenizeTokenInformationCustomerEmbedded. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument """ self._default_payment_instrument = default_payment_instrument @@ -76,20 +76,20 @@ def default_payment_instrument(self, default_payment_instrument): @property def default_shipping_address(self): """ - Gets the default_shipping_address of this Tmsv2customersEmbedded. + Gets the default_shipping_address of this Tmsv2tokenizeTokenInformationCustomerEmbedded. - :return: The default_shipping_address of this Tmsv2customersEmbedded. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddress + :return: The default_shipping_address of this Tmsv2tokenizeTokenInformationCustomerEmbedded. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress """ return self._default_shipping_address @default_shipping_address.setter def default_shipping_address(self, default_shipping_address): """ - Sets the default_shipping_address of this Tmsv2customersEmbedded. + Sets the default_shipping_address of this Tmsv2tokenizeTokenInformationCustomerEmbedded. - :param default_shipping_address: The default_shipping_address of this Tmsv2customersEmbedded. - :type: Tmsv2customersEmbeddedDefaultShippingAddress + :param default_shipping_address: The default_shipping_address of this Tmsv2tokenizeTokenInformationCustomerEmbedded. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress """ self._default_shipping_address = default_shipping_address @@ -136,7 +136,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbedded): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbedded): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument.py similarity index 51% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument.py index 90e970db..e0913682 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrument(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,21 +30,21 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrument(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks', 'id': 'str', 'object': 'str', 'default': 'bool', 'state': 'str', 'type': 'str', - 'bank_account': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount', - 'card': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard', - 'buyer_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation', - 'bill_to': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo', + 'bank_account': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount', + 'card': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard', + 'buyer_information': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation', + 'bill_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo', 'processing_information': 'TmsPaymentInstrumentProcessingInfo', - 'merchant_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation', - 'instrument_identifier': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', - 'metadata': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata', - 'embedded': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded' + 'merchant_information': 'TmsMerchantInformation', + 'instrument_identifier': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata', + 'embedded': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded' } attribute_map = { @@ -67,7 +67,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrument(object): def __init__(self, links=None, id=None, object=None, default=None, state=None, type=None, bank_account=None, card=None, buyer_information=None, bill_to=None, processing_information=None, merchant_information=None, instrument_identifier=None, metadata=None, embedded=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrument - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument - a model defined in Swagger """ self._links = None @@ -120,20 +120,20 @@ def __init__(self, links=None, id=None, object=None, default=None, state=None, t @property def links(self): """ - Gets the links of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the links of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The links of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :return: The links of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ return self._links @links.setter def links(self, links): """ - Sets the links of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the links of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param links: The links of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + :param links: The links of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks """ self._links = links @@ -141,10 +141,10 @@ def links(self, links): @property def id(self): """ - Gets the id of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. The Id of the Payment Instrument Token. - :return: The id of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :return: The id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :rtype: str """ return self._id @@ -152,10 +152,10 @@ def id(self): @id.setter def id(self, id): """ - Sets the id of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. The Id of the Payment Instrument Token. - :param id: The id of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :param id: The id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :type: str """ @@ -164,10 +164,10 @@ def id(self, id): @property def object(self): """ - Gets the object of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the object of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. The type. Possible Values: - paymentInstrument - :return: The object of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :return: The object of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :rtype: str """ return self._object @@ -175,10 +175,10 @@ def object(self): @object.setter def object(self, object): """ - Sets the object of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the object of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. The type. Possible Values: - paymentInstrument - :param object: The object of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :param object: The object of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :type: str """ @@ -187,10 +187,10 @@ def object(self, object): @property def default(self): """ - Gets the default of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the default of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. - :return: The default of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :return: The default of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :rtype: bool """ return self._default @@ -198,10 +198,10 @@ def default(self): @default.setter def default(self, default): """ - Sets the default of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the default of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. - :param default: The default of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :param default: The default of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :type: bool """ @@ -210,10 +210,10 @@ def default(self, default): @property def state(self): """ - Gets the state of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the state of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. - :return: The state of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :return: The state of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :rtype: str """ return self._state @@ -221,10 +221,10 @@ def state(self): @state.setter def state(self, state): """ - Sets the state of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the state of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. - :param state: The state of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :param state: The state of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :type: str """ @@ -233,10 +233,10 @@ def state(self, state): @property def type(self): """ - Gets the type of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. The type of Payment Instrument. Possible Values: - cardHash - :return: The type of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :return: The type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :rtype: str """ return self._type @@ -244,10 +244,10 @@ def type(self): @type.setter def type(self, type): """ - Sets the type of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. The type of Payment Instrument. Possible Values: - cardHash - :param type: The type of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :param type: The type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :type: str """ @@ -256,20 +256,20 @@ def type(self, type): @property def bank_account(self): """ - Gets the bank_account of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the bank_account of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The bank_account of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :return: The bank_account of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ return self._bank_account @bank_account.setter def bank_account(self, bank_account): """ - Sets the bank_account of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the bank_account of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param bank_account: The bank_account of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + :param bank_account: The bank_account of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount """ self._bank_account = bank_account @@ -277,20 +277,20 @@ def bank_account(self, bank_account): @property def card(self): """ - Gets the card of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the card of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The card of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :return: The card of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ return self._card @card.setter def card(self, card): """ - Sets the card of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the card of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param card: The card of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + :param card: The card of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard """ self._card = card @@ -298,20 +298,20 @@ def card(self, card): @property def buyer_information(self): """ - Gets the buyer_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the buyer_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The buyer_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :return: The buyer_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ return self._buyer_information @buyer_information.setter def buyer_information(self, buyer_information): """ - Sets the buyer_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the buyer_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param buyer_information: The buyer_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + :param buyer_information: The buyer_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation """ self._buyer_information = buyer_information @@ -319,20 +319,20 @@ def buyer_information(self, buyer_information): @property def bill_to(self): """ - Gets the bill_to of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the bill_to of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The bill_to of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :return: The bill_to of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ return self._bill_to @bill_to.setter def bill_to(self, bill_to): """ - Sets the bill_to of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the bill_to of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param bill_to: The bill_to of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + :param bill_to: The bill_to of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo """ self._bill_to = bill_to @@ -340,9 +340,9 @@ def bill_to(self, bill_to): @property def processing_information(self): """ - Gets the processing_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the processing_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The processing_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :return: The processing_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :rtype: TmsPaymentInstrumentProcessingInfo """ return self._processing_information @@ -350,9 +350,9 @@ def processing_information(self): @processing_information.setter def processing_information(self, processing_information): """ - Sets the processing_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the processing_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param processing_information: The processing_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + :param processing_information: The processing_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. :type: TmsPaymentInstrumentProcessingInfo """ @@ -361,20 +361,20 @@ def processing_information(self, processing_information): @property def merchant_information(self): """ - Gets the merchant_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the merchant_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The merchant_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :return: The merchant_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: TmsMerchantInformation """ return self._merchant_information @merchant_information.setter def merchant_information(self, merchant_information): """ - Sets the merchant_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the merchant_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param merchant_information: The merchant_information of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + :param merchant_information: The merchant_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: TmsMerchantInformation """ self._merchant_information = merchant_information @@ -382,20 +382,20 @@ def merchant_information(self, merchant_information): @property def instrument_identifier(self): """ - Gets the instrument_identifier of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the instrument_identifier of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The instrument_identifier of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :return: The instrument_identifier of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ return self._instrument_identifier @instrument_identifier.setter def instrument_identifier(self, instrument_identifier): """ - Sets the instrument_identifier of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the instrument_identifier of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param instrument_identifier: The instrument_identifier of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + :param instrument_identifier: The instrument_identifier of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier """ self._instrument_identifier = instrument_identifier @@ -403,20 +403,20 @@ def instrument_identifier(self, instrument_identifier): @property def metadata(self): """ - Gets the metadata of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the metadata of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The metadata of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :return: The metadata of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ return self._metadata @metadata.setter def metadata(self, metadata): """ - Sets the metadata of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the metadata of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param metadata: The metadata of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + :param metadata: The metadata of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata """ self._metadata = metadata @@ -424,20 +424,20 @@ def metadata(self, metadata): @property def embedded(self): """ - Gets the embedded of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Gets the embedded of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :return: The embedded of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :return: The embedded of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ return self._embedded @embedded.setter def embedded(self, embedded): """ - Sets the embedded of this Tmsv2customersEmbeddedDefaultPaymentInstrument. + Sets the embedded of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. - :param embedded: The embedded of this Tmsv2customersEmbeddedDefaultPaymentInstrument. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + :param embedded: The embedded of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded """ self._embedded = embedded @@ -484,7 +484,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrument): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_bank_account.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account.py similarity index 79% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_bank_account.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account.py index 76520c19..38dcbb60 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_bank_account.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount(object): def __init__(self, type=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount - a model defined in Swagger """ self._type = None @@ -50,10 +50,10 @@ def __init__(self, type=None): @property def type(self): """ - Gets the type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount. + Gets the type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount. Account type. Possible Values: - checking : C - general ledger : G This value is supported only on Wells Fargo ACH - savings : S (U.S. dollars only) - corporate checking : X (U.S. dollars only) - :return: The type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount. + :return: The type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount. :rtype: str """ return self._type @@ -61,10 +61,10 @@ def type(self): @type.setter def type(self, type): """ - Sets the type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount. + Sets the type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount. Account type. Possible Values: - checking : C - general ledger : G This value is supported only on Wells Fargo ACH - savings : S (U.S. dollars only) - corporate checking : X (U.S. dollars only) - :param type: The type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount. + :param type: The type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_bill_to.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to.py similarity index 63% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_bill_to.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to.py index a60213af..6175bfc0 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_bill_to.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -59,7 +59,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo(object): def __init__(self, first_name=None, last_name=None, company=None, address1=None, address2=None, locality=None, administrative_area=None, postal_code=None, country=None, email=None, phone_number=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo - a model defined in Swagger """ self._first_name = None @@ -100,10 +100,10 @@ def __init__(self, first_name=None, last_name=None, company=None, address1=None, @property def first_name(self): """ - Gets the first_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the first_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Customer's first name. This name must be the same as the name on the card. - :return: The first_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The first_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._first_name @@ -111,10 +111,10 @@ def first_name(self): @first_name.setter def first_name(self, first_name): """ - Sets the first_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the first_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Customer's first name. This name must be the same as the name on the card. - :param first_name: The first_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param first_name: The first_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -123,10 +123,10 @@ def first_name(self, first_name): @property def last_name(self): """ - Gets the last_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the last_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Customer's last name. This name must be the same as the name on the card. - :return: The last_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The last_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._last_name @@ -134,10 +134,10 @@ def last_name(self): @last_name.setter def last_name(self, last_name): """ - Sets the last_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the last_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Customer's last name. This name must be the same as the name on the card. - :param last_name: The last_name of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param last_name: The last_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -146,10 +146,10 @@ def last_name(self, last_name): @property def company(self): """ - Gets the company of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the company of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Name of the customer's company. - :return: The company of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The company of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._company @@ -157,10 +157,10 @@ def company(self): @company.setter def company(self, company): """ - Sets the company of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the company of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Name of the customer's company. - :param company: The company of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param company: The company of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -169,10 +169,10 @@ def company(self, company): @property def address1(self): """ - Gets the address1 of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the address1 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Payment card billing street address as it appears on the credit card issuer's records. - :return: The address1 of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The address1 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._address1 @@ -180,10 +180,10 @@ def address1(self): @address1.setter def address1(self, address1): """ - Sets the address1 of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the address1 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Payment card billing street address as it appears on the credit card issuer's records. - :param address1: The address1 of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param address1: The address1 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -192,10 +192,10 @@ def address1(self, address1): @property def address2(self): """ - Gets the address2 of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the address2 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Additional address information. - :return: The address2 of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The address2 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._address2 @@ -203,10 +203,10 @@ def address2(self): @address2.setter def address2(self, address2): """ - Sets the address2 of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the address2 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Additional address information. - :param address2: The address2 of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param address2: The address2 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -215,10 +215,10 @@ def address2(self, address2): @property def locality(self): """ - Gets the locality of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the locality of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Payment card billing city. - :return: The locality of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The locality of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._locality @@ -226,10 +226,10 @@ def locality(self): @locality.setter def locality(self, locality): """ - Sets the locality of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the locality of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Payment card billing city. - :param locality: The locality of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param locality: The locality of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -238,10 +238,10 @@ def locality(self, locality): @property def administrative_area(self): """ - Gets the administrative_area of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. State or province of the billing address. Use the State, Province, and Territory Codes for the United States and Canada. - :return: The administrative_area of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._administrative_area @@ -249,10 +249,10 @@ def administrative_area(self): @administrative_area.setter def administrative_area(self, administrative_area): """ - Sets the administrative_area of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. State or province of the billing address. Use the State, Province, and Territory Codes for the United States and Canada. - :param administrative_area: The administrative_area of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param administrative_area: The administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -261,10 +261,10 @@ def administrative_area(self, administrative_area): @property def postal_code(self): """ - Gets the postal_code of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the postal_code of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] **Example** `12345-6789` When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] **Example** `A1B 2C3` - :return: The postal_code of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The postal_code of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._postal_code @@ -272,10 +272,10 @@ def postal_code(self): @postal_code.setter def postal_code(self, postal_code): """ - Sets the postal_code of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the postal_code of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] **Example** `12345-6789` When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] **Example** `A1B 2C3` - :param postal_code: The postal_code of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param postal_code: The postal_code of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -284,10 +284,10 @@ def postal_code(self, postal_code): @property def country(self): """ - Gets the country of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the country of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Payment card billing country. Use the two-character ISO Standard Country Codes. - :return: The country of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The country of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._country @@ -295,10 +295,10 @@ def country(self): @country.setter def country(self, country): """ - Sets the country of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the country of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Payment card billing country. Use the two-character ISO Standard Country Codes. - :param country: The country of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param country: The country of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -307,10 +307,10 @@ def country(self, country): @property def email(self): """ - Gets the email of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the email of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Customer's email address, including the full domain name. - :return: The email of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The email of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._email @@ -318,10 +318,10 @@ def email(self): @email.setter def email(self, email): """ - Sets the email of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the email of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Customer's email address, including the full domain name. - :param email: The email of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param email: The email of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -330,10 +330,10 @@ def email(self, email): @property def phone_number(self): """ - Gets the phone_number of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Gets the phone_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Customer's phone number. - :return: The phone_number of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :return: The phone_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :rtype: str """ return self._phone_number @@ -341,10 +341,10 @@ def phone_number(self): @phone_number.setter def phone_number(self, phone_number): """ - Sets the phone_number of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + Sets the phone_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. Customer's phone number. - :param phone_number: The phone_number of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo. + :param phone_number: The phone_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo. :type: str """ @@ -392,7 +392,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information.py similarity index 69% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information.py index 2a523000..9d1b44b2 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -33,7 +33,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation(object): 'company_tax_id': 'str', 'currency': 'str', 'date_of_birth': 'date', - 'personal_identification': 'list[Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification]' + 'personal_identification': 'list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification]' } attribute_map = { @@ -45,7 +45,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation(object): def __init__(self, company_tax_id=None, currency=None, date_of_birth=None, personal_identification=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation - a model defined in Swagger """ self._company_tax_id = None @@ -65,10 +65,10 @@ def __init__(self, company_tax_id=None, currency=None, date_of_birth=None, perso @property def company_tax_id(self): """ - Gets the company_tax_id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + Gets the company_tax_id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. Company's tax identifier. This is only used for eCheck service. - :return: The company_tax_id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + :return: The company_tax_id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. :rtype: str """ return self._company_tax_id @@ -76,10 +76,10 @@ def company_tax_id(self): @company_tax_id.setter def company_tax_id(self, company_tax_id): """ - Sets the company_tax_id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + Sets the company_tax_id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. Company's tax identifier. This is only used for eCheck service. - :param company_tax_id: The company_tax_id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + :param company_tax_id: The company_tax_id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. :type: str """ @@ -88,10 +88,10 @@ def company_tax_id(self, company_tax_id): @property def currency(self): """ - Gets the currency of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + Gets the currency of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - :return: The currency of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + :return: The currency of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. :rtype: str """ return self._currency @@ -99,10 +99,10 @@ def currency(self): @currency.setter def currency(self, currency): """ - Sets the currency of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + Sets the currency of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - :param currency: The currency of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + :param currency: The currency of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. :type: str """ @@ -111,10 +111,10 @@ def currency(self, currency): @property def date_of_birth(self): """ - Gets the date_of_birth of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + Gets the date_of_birth of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. Date of birth of the customer. Format: YYYY-MM-DD - :return: The date_of_birth of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + :return: The date_of_birth of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. :rtype: date """ return self._date_of_birth @@ -122,10 +122,10 @@ def date_of_birth(self): @date_of_birth.setter def date_of_birth(self, date_of_birth): """ - Sets the date_of_birth of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + Sets the date_of_birth of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. Date of birth of the customer. Format: YYYY-MM-DD - :param date_of_birth: The date_of_birth of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + :param date_of_birth: The date_of_birth of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. :type: date """ @@ -134,20 +134,20 @@ def date_of_birth(self, date_of_birth): @property def personal_identification(self): """ - Gets the personal_identification of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + Gets the personal_identification of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. - :return: The personal_identification of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. - :rtype: list[Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification] + :return: The personal_identification of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. + :rtype: list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification] """ return self._personal_identification @personal_identification.setter def personal_identification(self, personal_identification): """ - Sets the personal_identification of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. + Sets the personal_identification of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. - :param personal_identification: The personal_identification of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation. - :type: list[Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification] + :param personal_identification: The personal_identification of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation. + :type: list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification] """ self._personal_identification = personal_identification @@ -194,7 +194,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by.py similarity index 78% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by.py index 989c6770..7bf471a4 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(obj def __init__(self, administrative_area=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy - a model defined in Swagger """ self._administrative_area = None @@ -50,10 +50,10 @@ def __init__(self, administrative_area=None): @property def administrative_area(self): """ - Gets the administrative_area of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy. + Gets the administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy. The State or province where the customer's driver's license was issued. Use the two-character State, Province, and Territory Codes for the United States and Canada. - :return: The administrative_area of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy. + :return: The administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy. :rtype: str """ return self._administrative_area @@ -61,10 +61,10 @@ def administrative_area(self): @administrative_area.setter def administrative_area(self, administrative_area): """ - Sets the administrative_area of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy. + Sets the administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy. The State or province where the customer's driver's license was issued. Use the two-character State, Province, and Territory Codes for the United States and Canada. - :param administrative_area: The administrative_area of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy. + :param administrative_area: The administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification.py similarity index 59% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification.py index 397ed0ec..56cfecb1 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -32,7 +32,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIden swagger_types = { 'id': 'str', 'type': 'str', - 'issued_by': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy' + 'issued_by': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy' } attribute_map = { @@ -43,7 +43,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIden def __init__(self, id=None, type=None, issued_by=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification - a model defined in Swagger """ self._id = None @@ -60,10 +60,10 @@ def __init__(self, id=None, type=None, issued_by=None): @property def id(self): """ - Gets the id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + Gets the id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. The value of the identification type. - :return: The id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + :return: The id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. :rtype: str """ return self._id @@ -71,10 +71,10 @@ def id(self): @id.setter def id(self, id): """ - Sets the id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + Sets the id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. The value of the identification type. - :param id: The id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + :param id: The id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. :type: str """ @@ -83,10 +83,10 @@ def id(self, id): @property def type(self): """ - Gets the type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + Gets the type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. The type of the identification. Possible Values: - driver license - :return: The type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + :return: The type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. :rtype: str """ return self._type @@ -94,10 +94,10 @@ def type(self): @type.setter def type(self, type): """ - Sets the type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + Sets the type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. The type of the identification. Possible Values: - driver license - :param type: The type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + :param type: The type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. :type: str """ @@ -106,20 +106,20 @@ def type(self, type): @property def issued_by(self): """ - Gets the issued_by of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + Gets the issued_by of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. - :return: The issued_by of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + :return: The issued_by of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy """ return self._issued_by @issued_by.setter def issued_by(self, issued_by): """ - Sets the issued_by of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + Sets the issued_by of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. - :param issued_by: The issued_by of this Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + :param issued_by: The issued_by of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy """ self._issued_by = issued_by @@ -166,7 +166,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_card.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card.py similarity index 73% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_card.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card.py index 43de6235..021e6abb 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_card.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -38,7 +38,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard(object): 'start_year': 'str', 'use_as': 'str', 'hash': 'str', - 'tokenized_information': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation' + 'tokenized_information': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation' } attribute_map = { @@ -55,7 +55,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard(object): def __init__(self, expiration_month=None, expiration_year=None, type=None, issue_number=None, start_month=None, start_year=None, use_as=None, hash=None, tokenized_information=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentCard - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard - a model defined in Swagger """ self._expiration_month = None @@ -90,10 +90,10 @@ def __init__(self, expiration_month=None, expiration_year=None, type=None, issue @property def expiration_month(self): """ - Gets the expiration_month of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the expiration_month of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Two-digit month in which the payment card expires. Format: `MM`. Possible Values: `01` through `12`. - :return: The expiration_month of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :return: The expiration_month of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :rtype: str """ return self._expiration_month @@ -101,10 +101,10 @@ def expiration_month(self): @expiration_month.setter def expiration_month(self, expiration_month): """ - Sets the expiration_month of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the expiration_month of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Two-digit month in which the payment card expires. Format: `MM`. Possible Values: `01` through `12`. - :param expiration_month: The expiration_month of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :param expiration_month: The expiration_month of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :type: str """ @@ -113,10 +113,10 @@ def expiration_month(self, expiration_month): @property def expiration_year(self): """ - Gets the expiration_year of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the expiration_year of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Four-digit year in which the credit card expires. Format: `YYYY`. - :return: The expiration_year of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :return: The expiration_year of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :rtype: str """ return self._expiration_year @@ -124,10 +124,10 @@ def expiration_year(self): @expiration_year.setter def expiration_year(self, expiration_year): """ - Sets the expiration_year of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the expiration_year of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Four-digit year in which the credit card expires. Format: `YYYY`. - :param expiration_year: The expiration_year of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :param expiration_year: The expiration_year of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :type: str """ @@ -136,10 +136,10 @@ def expiration_year(self, expiration_year): @property def type(self): """ - Gets the type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Value that indicates the card type. Possible Values v2 : v1: * 001 : visa * 002 : mastercard - Eurocard—European regional brand of Mastercard * 003 : american express * 004 : discover * 005 : diners club * 006 : carte blanche * 007 : jcb * 008 : optima * 011 : twinpay credit * 012 : twinpay debit * 013 : walmart * 014 : enRoute * 015 : lowes consumer * 016 : home depot consumer * 017 : mbna * 018 : dicks sportswear * 019 : casual corner * 020 : sears * 021 : jal * 023 : disney * 024 : maestro uk domestic * 025 : sams club consumer * 026 : sams club business * 028 : bill me later * 029 : bebe * 030 : restoration hardware * 031 : delta online — use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types. * 032 : solo * 033 : visa electron * 034 : dankort * 035 : laser * 036 : carte bleue — formerly Cartes Bancaires * 037 : carta si * 038 : pinless debit * 039 : encoded account * 040 : uatp * 041 : household * 042 : maestro international * 043 : ge money uk * 044 : korean cards * 045 : style * 046 : jcrew * 047 : payease china processing ewallet * 048 : payease china processing bank transfer * 049 : meijer private label * 050 : hipercard — supported only by the Comercio Latino processor. * 051 : aura — supported only by the Comercio Latino processor. * 052 : redecard * 054 : elo — supported only by the Comercio Latino processor. * 055 : capital one private label * 056 : synchrony private label * 057 : costco private label * 060 : mada * 062 : china union pay * 063 : falabella private label - :return: The type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :return: The type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :rtype: str """ return self._type @@ -147,10 +147,10 @@ def type(self): @type.setter def type(self, type): """ - Sets the type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Value that indicates the card type. Possible Values v2 : v1: * 001 : visa * 002 : mastercard - Eurocard—European regional brand of Mastercard * 003 : american express * 004 : discover * 005 : diners club * 006 : carte blanche * 007 : jcb * 008 : optima * 011 : twinpay credit * 012 : twinpay debit * 013 : walmart * 014 : enRoute * 015 : lowes consumer * 016 : home depot consumer * 017 : mbna * 018 : dicks sportswear * 019 : casual corner * 020 : sears * 021 : jal * 023 : disney * 024 : maestro uk domestic * 025 : sams club consumer * 026 : sams club business * 028 : bill me later * 029 : bebe * 030 : restoration hardware * 031 : delta online — use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types. * 032 : solo * 033 : visa electron * 034 : dankort * 035 : laser * 036 : carte bleue — formerly Cartes Bancaires * 037 : carta si * 038 : pinless debit * 039 : encoded account * 040 : uatp * 041 : household * 042 : maestro international * 043 : ge money uk * 044 : korean cards * 045 : style * 046 : jcrew * 047 : payease china processing ewallet * 048 : payease china processing bank transfer * 049 : meijer private label * 050 : hipercard — supported only by the Comercio Latino processor. * 051 : aura — supported only by the Comercio Latino processor. * 052 : redecard * 054 : elo — supported only by the Comercio Latino processor. * 055 : capital one private label * 056 : synchrony private label * 057 : costco private label * 060 : mada * 062 : china union pay * 063 : falabella private label - :param type: The type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :param type: The type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :type: str """ @@ -159,10 +159,10 @@ def type(self, type): @property def issue_number(self): """ - Gets the issue_number of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the issue_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. **Note** The issue number is not required for Maestro (UK Domestic) transactions. - :return: The issue_number of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :return: The issue_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :rtype: str """ return self._issue_number @@ -170,10 +170,10 @@ def issue_number(self): @issue_number.setter def issue_number(self, issue_number): """ - Sets the issue_number of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the issue_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. **Note** The issue number is not required for Maestro (UK Domestic) transactions. - :param issue_number: The issue_number of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :param issue_number: The issue_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :type: str """ @@ -182,10 +182,10 @@ def issue_number(self, issue_number): @property def start_month(self): """ - Gets the start_month of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the start_month of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`. Possible Values: 01 through 12. **Note** The start date is not required for Maestro (UK Domestic) transactions. - :return: The start_month of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :return: The start_month of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :rtype: str """ return self._start_month @@ -193,10 +193,10 @@ def start_month(self): @start_month.setter def start_month(self, start_month): """ - Sets the start_month of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the start_month of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`. Possible Values: 01 through 12. **Note** The start date is not required for Maestro (UK Domestic) transactions. - :param start_month: The start_month of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :param start_month: The start_month of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :type: str """ @@ -205,10 +205,10 @@ def start_month(self, start_month): @property def start_year(self): """ - Gets the start_year of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the start_year of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`. **Note** The start date is not required for Maestro (UK Domestic) transactions. - :return: The start_year of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :return: The start_year of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :rtype: str """ return self._start_year @@ -216,10 +216,10 @@ def start_year(self): @start_year.setter def start_year(self, start_year): """ - Sets the start_year of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the start_year of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`. **Note** The start date is not required for Maestro (UK Domestic) transactions. - :param start_year: The start_year of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :param start_year: The start_year of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :type: str """ @@ -228,10 +228,10 @@ def start_year(self, start_year): @property def use_as(self): """ - Gets the use_as of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the use_as of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. 'Payment Instrument was created / updated as part of a pinless debit transaction.' - :return: The use_as of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :return: The use_as of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :rtype: str """ return self._use_as @@ -239,10 +239,10 @@ def use_as(self): @use_as.setter def use_as(self, use_as): """ - Sets the use_as of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the use_as of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. 'Payment Instrument was created / updated as part of a pinless debit transaction.' - :param use_as: The use_as of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :param use_as: The use_as of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :type: str """ @@ -251,10 +251,10 @@ def use_as(self, use_as): @property def hash(self): """ - Gets the hash of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the hash of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Hash value representing the card. - :return: The hash of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :return: The hash of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :rtype: str """ return self._hash @@ -262,10 +262,10 @@ def hash(self): @hash.setter def hash(self, hash): """ - Sets the hash of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the hash of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. Hash value representing the card. - :param hash: The hash of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + :param hash: The hash of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. :type: str """ @@ -274,20 +274,20 @@ def hash(self, hash): @property def tokenized_information(self): """ - Gets the tokenized_information of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Gets the tokenized_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. - :return: The tokenized_information of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + :return: The tokenized_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation """ return self._tokenized_information @tokenized_information.setter def tokenized_information(self, tokenized_information): """ - Sets the tokenized_information of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. + Sets the tokenized_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. - :param tokenized_information: The tokenized_information of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCard. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + :param tokenized_information: The tokenized_information of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation """ self._tokenized_information = tokenized_information @@ -334,7 +334,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentCard): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_card_tokenized_information.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information.py similarity index 76% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_card_tokenized_information.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information.py index 2f3371d0..75586739 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_card_tokenized_information.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +41,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(obj def __init__(self, requestor_id=None, transaction_type=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation - a model defined in Swagger """ self._requestor_id = None @@ -55,10 +55,10 @@ def __init__(self, requestor_id=None, transaction_type=None): @property def requestor_id(self): """ - Gets the requestor_id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. + Gets the requestor_id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. Value that identifies your business and indicates that the cardholder's account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider's database. **Note** This field is supported only through **VisaNet** and **FDC Nashville Global**. - :return: The requestor_id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. + :return: The requestor_id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. :rtype: str """ return self._requestor_id @@ -66,10 +66,10 @@ def requestor_id(self): @requestor_id.setter def requestor_id(self, requestor_id): """ - Sets the requestor_id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. + Sets the requestor_id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. Value that identifies your business and indicates that the cardholder's account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider's database. **Note** This field is supported only through **VisaNet** and **FDC Nashville Global**. - :param requestor_id: The requestor_id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. + :param requestor_id: The requestor_id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. :type: str """ @@ -78,10 +78,10 @@ def requestor_id(self, requestor_id): @property def transaction_type(self): """ - Gets the transaction_type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. + Gets the transaction_type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Set the value for this field to 1. An application on the customer's mobile device provided the token data. - :return: The transaction_type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. + :return: The transaction_type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. :rtype: str """ return self._transaction_type @@ -89,10 +89,10 @@ def transaction_type(self): @transaction_type.setter def transaction_type(self, transaction_type): """ - Sets the transaction_type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. + Sets the transaction_type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Set the value for this field to 1. An application on the customer's mobile device provided the token data. - :param transaction_type: The transaction_type of this Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. + :param transaction_type: The transaction_type of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation. :type: str """ @@ -140,7 +140,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_embedded.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded.py similarity index 79% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_embedded.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded.py index 129be54e..df024dc4 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_embedded.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded(object): def __init__(self, instrument_identifier=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded - a model defined in Swagger """ self._instrument_identifier = None @@ -50,9 +50,9 @@ def __init__(self, instrument_identifier=None): @property def instrument_identifier(self): """ - Gets the instrument_identifier of this Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded. + Gets the instrument_identifier of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded. - :return: The instrument_identifier of this Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded. + :return: The instrument_identifier of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded. :rtype: TmsEmbeddedInstrumentIdentifier """ return self._instrument_identifier @@ -60,9 +60,9 @@ def instrument_identifier(self): @instrument_identifier.setter def instrument_identifier(self, instrument_identifier): """ - Sets the instrument_identifier of this Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded. + Sets the instrument_identifier of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded. - :param instrument_identifier: The instrument_identifier of this Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded. + :param instrument_identifier: The instrument_identifier of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded. :type: TmsEmbeddedInstrumentIdentifier """ @@ -110,7 +110,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_instrument_identifier.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier.py similarity index 76% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_instrument_identifier.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier.py index 133246e3..7a7ff49f 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_instrument_identifier.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(object) def __init__(self, id=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier - a model defined in Swagger """ self._id = None @@ -50,10 +50,10 @@ def __init__(self, id=None): @property def id(self): """ - Gets the id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier. + Gets the id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier. The Id of the Instrument Identifier linked to the Payment Instrument. - :return: The id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier. + :return: The id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier. :rtype: str """ return self._id @@ -61,10 +61,10 @@ def id(self): @id.setter def id(self, id): """ - Sets the id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier. + Sets the id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier. The Id of the Instrument Identifier linked to the Payment Instrument. - :param id: The id of this Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier. + :param id: The id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_links.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links.py similarity index 63% rename from CyberSource/models/tmsv2customers_embedded_default_shipping_address_links.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links.py index 36c4a626..39aa2310 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_links.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultShippingAddressLinks(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class Tmsv2customersEmbeddedDefaultShippingAddressLinks(object): and the value is json key in definition. """ swagger_types = { - '_self': 'Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf', - 'customer': 'Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer' + '_self': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf', + 'customer': 'Tmsv2tokenizeTokenInformationCustomerLinksSelf' } attribute_map = { @@ -41,7 +41,7 @@ class Tmsv2customersEmbeddedDefaultShippingAddressLinks(object): def __init__(self, _self=None, customer=None): """ - Tmsv2customersEmbeddedDefaultShippingAddressLinks - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks - a model defined in Swagger """ self.__self = None @@ -55,20 +55,20 @@ def __init__(self, _self=None, customer=None): @property def _self(self): """ - Gets the _self of this Tmsv2customersEmbeddedDefaultShippingAddressLinks. + Gets the _self of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks. - :return: The _self of this Tmsv2customersEmbeddedDefaultShippingAddressLinks. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf + :return: The _self of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf """ return self.__self @_self.setter def _self(self, _self): """ - Sets the _self of this Tmsv2customersEmbeddedDefaultShippingAddressLinks. + Sets the _self of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks. - :param _self: The _self of this Tmsv2customersEmbeddedDefaultShippingAddressLinks. - :type: Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf + :param _self: The _self of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf """ self.__self = _self @@ -76,20 +76,20 @@ def _self(self, _self): @property def customer(self): """ - Gets the customer of this Tmsv2customersEmbeddedDefaultShippingAddressLinks. + Gets the customer of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks. - :return: The customer of this Tmsv2customersEmbeddedDefaultShippingAddressLinks. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer + :return: The customer of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks. + :rtype: Tmsv2tokenizeTokenInformationCustomerLinksSelf """ return self._customer @customer.setter def customer(self, customer): """ - Sets the customer of this Tmsv2customersEmbeddedDefaultShippingAddressLinks. + Sets the customer of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks. - :param customer: The customer of this Tmsv2customersEmbeddedDefaultShippingAddressLinks. - :type: Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer + :param customer: The customer of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks. + :type: Tmsv2tokenizeTokenInformationCustomerLinksSelf """ self._customer = customer @@ -136,7 +136,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultShippingAddressLinks): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_links_self.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self.py similarity index 77% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_links_self.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self.py index 35636835..c049d7e6 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_links_self.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf(object): def __init__(self, href=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf - a model defined in Swagger """ self._href = None @@ -50,10 +50,10 @@ def __init__(self, href=None): @property def href(self): """ - Gets the href of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf. + Gets the href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf. Link to the Payment Instrument. - :return: The href of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf. + :return: The href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf. :rtype: str """ return self._href @@ -61,10 +61,10 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf. + Sets the href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf. Link to the Payment Instrument. - :param href: The href of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf. + :param href: The href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_metadata.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata.py similarity index 77% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_metadata.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata.py index 2b9c1ef1..f2acb60e 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_metadata.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata(object): def __init__(self, creator=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata - a model defined in Swagger """ self._creator = None @@ -50,10 +50,10 @@ def __init__(self, creator=None): @property def creator(self): """ - Gets the creator of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata. + Gets the creator of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata. The creator of the Payment Instrument. - :return: The creator of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata. + :return: The creator of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata. :rtype: str """ return self._creator @@ -61,10 +61,10 @@ def creator(self): @creator.setter def creator(self, creator): """ - Sets the creator of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata. + Sets the creator of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata. The creator of the Payment Instrument. - :param creator: The creator of this Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata. + :param creator: The creator of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_shipping_address.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address.py similarity index 58% rename from CyberSource/models/tmsv2customers_embedded_default_shipping_address.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address.py index 3ac53ee7..2b40bb1a 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_shipping_address.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultShippingAddress(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,11 +30,11 @@ class Tmsv2customersEmbeddedDefaultShippingAddress(object): and the value is json key in definition. """ swagger_types = { - 'links': 'Tmsv2customersEmbeddedDefaultShippingAddressLinks', + 'links': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks', 'id': 'str', 'default': 'bool', - 'ship_to': 'Tmsv2customersEmbeddedDefaultShippingAddressShipTo', - 'metadata': 'Tmsv2customersEmbeddedDefaultShippingAddressMetadata' + 'ship_to': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo', + 'metadata': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata' } attribute_map = { @@ -47,7 +47,7 @@ class Tmsv2customersEmbeddedDefaultShippingAddress(object): def __init__(self, links=None, id=None, default=None, ship_to=None, metadata=None): """ - Tmsv2customersEmbeddedDefaultShippingAddress - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress - a model defined in Swagger """ self._links = None @@ -70,20 +70,20 @@ def __init__(self, links=None, id=None, default=None, ship_to=None, metadata=Non @property def links(self): """ - Gets the links of this Tmsv2customersEmbeddedDefaultShippingAddress. + Gets the links of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. - :return: The links of this Tmsv2customersEmbeddedDefaultShippingAddress. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressLinks + :return: The links of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks """ return self._links @links.setter def links(self, links): """ - Sets the links of this Tmsv2customersEmbeddedDefaultShippingAddress. + Sets the links of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. - :param links: The links of this Tmsv2customersEmbeddedDefaultShippingAddress. - :type: Tmsv2customersEmbeddedDefaultShippingAddressLinks + :param links: The links of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks """ self._links = links @@ -91,10 +91,10 @@ def links(self, links): @property def id(self): """ - Gets the id of this Tmsv2customersEmbeddedDefaultShippingAddress. + Gets the id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. The Id of the Shipping Address Token. - :return: The id of this Tmsv2customersEmbeddedDefaultShippingAddress. + :return: The id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. :rtype: str """ return self._id @@ -102,10 +102,10 @@ def id(self): @id.setter def id(self, id): """ - Sets the id of this Tmsv2customersEmbeddedDefaultShippingAddress. + Sets the id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. The Id of the Shipping Address Token. - :param id: The id of this Tmsv2customersEmbeddedDefaultShippingAddress. + :param id: The id of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. :type: str """ @@ -114,10 +114,10 @@ def id(self, id): @property def default(self): """ - Gets the default of this Tmsv2customersEmbeddedDefaultShippingAddress. + Gets the default of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. - :return: The default of this Tmsv2customersEmbeddedDefaultShippingAddress. + :return: The default of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. :rtype: bool """ return self._default @@ -125,10 +125,10 @@ def default(self): @default.setter def default(self, default): """ - Sets the default of this Tmsv2customersEmbeddedDefaultShippingAddress. + Sets the default of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. - :param default: The default of this Tmsv2customersEmbeddedDefaultShippingAddress. + :param default: The default of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. :type: bool """ @@ -137,20 +137,20 @@ def default(self, default): @property def ship_to(self): """ - Gets the ship_to of this Tmsv2customersEmbeddedDefaultShippingAddress. + Gets the ship_to of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. - :return: The ship_to of this Tmsv2customersEmbeddedDefaultShippingAddress. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressShipTo + :return: The ship_to of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo """ return self._ship_to @ship_to.setter def ship_to(self, ship_to): """ - Sets the ship_to of this Tmsv2customersEmbeddedDefaultShippingAddress. + Sets the ship_to of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. - :param ship_to: The ship_to of this Tmsv2customersEmbeddedDefaultShippingAddress. - :type: Tmsv2customersEmbeddedDefaultShippingAddressShipTo + :param ship_to: The ship_to of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo """ self._ship_to = ship_to @@ -158,20 +158,20 @@ def ship_to(self, ship_to): @property def metadata(self): """ - Gets the metadata of this Tmsv2customersEmbeddedDefaultShippingAddress. + Gets the metadata of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. - :return: The metadata of this Tmsv2customersEmbeddedDefaultShippingAddress. - :rtype: Tmsv2customersEmbeddedDefaultShippingAddressMetadata + :return: The metadata of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata """ return self._metadata @metadata.setter def metadata(self, metadata): """ - Sets the metadata of this Tmsv2customersEmbeddedDefaultShippingAddress. + Sets the metadata of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. - :param metadata: The metadata of this Tmsv2customersEmbeddedDefaultShippingAddress. - :type: Tmsv2customersEmbeddedDefaultShippingAddressMetadata + :param metadata: The metadata of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata """ self._metadata = metadata @@ -218,7 +218,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultShippingAddress): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_links.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links.py similarity index 62% rename from CyberSource/models/tmsv2customers_embedded_default_payment_instrument_links.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links.py index f0088a83..af202ca4 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_payment_instrument_links.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,8 +30,8 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks(object): and the value is json key in definition. """ swagger_types = { - '_self': 'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf', - 'customer': 'Tmsv2customersLinksSelf' + '_self': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf', + 'customer': 'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer' } attribute_map = { @@ -41,7 +41,7 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks(object): def __init__(self, _self=None, customer=None): """ - Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks - a model defined in Swagger """ self.__self = None @@ -55,20 +55,20 @@ def __init__(self, _self=None, customer=None): @property def _self(self): """ - Gets the _self of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks. + Gets the _self of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks. - :return: The _self of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks. - :rtype: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf + :return: The _self of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf """ return self.__self @_self.setter def _self(self, _self): """ - Sets the _self of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks. + Sets the _self of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks. - :param _self: The _self of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks. - :type: Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf + :param _self: The _self of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf """ self.__self = _self @@ -76,20 +76,20 @@ def _self(self, _self): @property def customer(self): """ - Gets the customer of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks. + Gets the customer of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks. - :return: The customer of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks. - :rtype: Tmsv2customersLinksSelf + :return: The customer of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks. + :rtype: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer """ return self._customer @customer.setter def customer(self, customer): """ - Sets the customer of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks. + Sets the customer of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks. - :param customer: The customer of this Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks. - :type: Tmsv2customersLinksSelf + :param customer: The customer of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks. + :type: Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer """ self._customer = customer @@ -136,7 +136,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_links_customer.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer.py similarity index 77% rename from CyberSource/models/tmsv2customers_embedded_default_shipping_address_links_customer.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer.py index 1db449ba..c0a38220 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_links_customer.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer(object): def __init__(self, href=None): """ - Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer - a model defined in Swagger """ self._href = None @@ -50,10 +50,10 @@ def __init__(self, href=None): @property def href(self): """ - Gets the href of this Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer. + Gets the href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer. Link to the Customer - :return: The href of this Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer. + :return: The href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer. :rtype: str """ return self._href @@ -61,10 +61,10 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer. + Sets the href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer. Link to the Customer - :param href: The href of this Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer. + :param href: The href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_links_self.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self.py similarity index 78% rename from CyberSource/models/tmsv2customers_embedded_default_shipping_address_links_self.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self.py index 9ee0fee6..3d16864b 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_links_self.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf(object): def __init__(self, href=None): """ - Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf - a model defined in Swagger """ self._href = None @@ -50,10 +50,10 @@ def __init__(self, href=None): @property def href(self): """ - Gets the href of this Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf. + Gets the href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf. Link to the Customers Shipping Address - :return: The href of this Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf. + :return: The href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf. :rtype: str """ return self._href @@ -61,10 +61,10 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf. + Sets the href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf. Link to the Customers Shipping Address - :param href: The href of this Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf. + :param href: The href of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_metadata.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata.py similarity index 78% rename from CyberSource/models/tmsv2customers_embedded_default_shipping_address_metadata.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata.py index 467628e0..35f4e23a 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_metadata.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultShippingAddressMetadata(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersEmbeddedDefaultShippingAddressMetadata(object): def __init__(self, creator=None): """ - Tmsv2customersEmbeddedDefaultShippingAddressMetadata - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata - a model defined in Swagger """ self._creator = None @@ -50,10 +50,10 @@ def __init__(self, creator=None): @property def creator(self): """ - Gets the creator of this Tmsv2customersEmbeddedDefaultShippingAddressMetadata. + Gets the creator of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata. The creator of the Shipping Address. - :return: The creator of this Tmsv2customersEmbeddedDefaultShippingAddressMetadata. + :return: The creator of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata. :rtype: str """ return self._creator @@ -61,10 +61,10 @@ def creator(self): @creator.setter def creator(self, creator): """ - Sets the creator of this Tmsv2customersEmbeddedDefaultShippingAddressMetadata. + Sets the creator of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata. The creator of the Shipping Address. - :param creator: The creator of this Tmsv2customersEmbeddedDefaultShippingAddressMetadata. + :param creator: The creator of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultShippingAddressMetadata): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_ship_to.py b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to.py similarity index 64% rename from CyberSource/models/tmsv2customers_embedded_default_shipping_address_ship_to.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to.py index c451dfa8..e4de1087 100644 --- a/CyberSource/models/tmsv2customers_embedded_default_shipping_address_ship_to.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersEmbeddedDefaultShippingAddressShipTo(object): +class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -59,7 +59,7 @@ class Tmsv2customersEmbeddedDefaultShippingAddressShipTo(object): def __init__(self, first_name=None, last_name=None, company=None, address1=None, address2=None, locality=None, administrative_area=None, postal_code=None, country=None, email=None, phone_number=None): """ - Tmsv2customersEmbeddedDefaultShippingAddressShipTo - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo - a model defined in Swagger """ self._first_name = None @@ -100,10 +100,10 @@ def __init__(self, first_name=None, last_name=None, company=None, address1=None, @property def first_name(self): """ - Gets the first_name of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the first_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. First name of the recipient. - :return: The first_name of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The first_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._first_name @@ -111,10 +111,10 @@ def first_name(self): @first_name.setter def first_name(self, first_name): """ - Sets the first_name of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the first_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. First name of the recipient. - :param first_name: The first_name of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param first_name: The first_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -123,10 +123,10 @@ def first_name(self, first_name): @property def last_name(self): """ - Gets the last_name of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the last_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Last name of the recipient. - :return: The last_name of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The last_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._last_name @@ -134,10 +134,10 @@ def last_name(self): @last_name.setter def last_name(self, last_name): """ - Sets the last_name of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the last_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Last name of the recipient. - :param last_name: The last_name of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param last_name: The last_name of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -146,10 +146,10 @@ def last_name(self, last_name): @property def company(self): """ - Gets the company of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the company of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Company associated with the shipping address. - :return: The company of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The company of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._company @@ -157,10 +157,10 @@ def company(self): @company.setter def company(self, company): """ - Sets the company of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the company of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Company associated with the shipping address. - :param company: The company of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param company: The company of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -169,10 +169,10 @@ def company(self, company): @property def address1(self): """ - Gets the address1 of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the address1 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. First line of the shipping address. - :return: The address1 of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The address1 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._address1 @@ -180,10 +180,10 @@ def address1(self): @address1.setter def address1(self, address1): """ - Sets the address1 of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the address1 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. First line of the shipping address. - :param address1: The address1 of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param address1: The address1 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -192,10 +192,10 @@ def address1(self, address1): @property def address2(self): """ - Gets the address2 of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the address2 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Second line of the shipping address. - :return: The address2 of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The address2 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._address2 @@ -203,10 +203,10 @@ def address2(self): @address2.setter def address2(self, address2): """ - Sets the address2 of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the address2 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Second line of the shipping address. - :param address2: The address2 of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param address2: The address2 of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -215,10 +215,10 @@ def address2(self, address2): @property def locality(self): """ - Gets the locality of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the locality of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. City of the shipping address. - :return: The locality of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The locality of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._locality @@ -226,10 +226,10 @@ def locality(self): @locality.setter def locality(self, locality): """ - Sets the locality of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the locality of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. City of the shipping address. - :param locality: The locality of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param locality: The locality of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -238,10 +238,10 @@ def locality(self, locality): @property def administrative_area(self): """ - Gets the administrative_area of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. State or province of the shipping address. Use 2 character the State, Province, and Territory Codes for the United States and Canada. - :return: The administrative_area of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._administrative_area @@ -249,10 +249,10 @@ def administrative_area(self): @administrative_area.setter def administrative_area(self, administrative_area): """ - Sets the administrative_area of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. State or province of the shipping address. Use 2 character the State, Province, and Territory Codes for the United States and Canada. - :param administrative_area: The administrative_area of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param administrative_area: The administrative_area of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -261,10 +261,10 @@ def administrative_area(self, administrative_area): @property def postal_code(self): """ - Gets the postal_code of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the postal_code of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 **American Express Direct**\\ Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the remaining value is longer than nine characters, truncates the value starting from the right side. - :return: The postal_code of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The postal_code of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._postal_code @@ -272,10 +272,10 @@ def postal_code(self): @postal_code.setter def postal_code(self, postal_code): """ - Sets the postal_code of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the postal_code of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 **American Express Direct**\\ Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the remaining value is longer than nine characters, truncates the value starting from the right side. - :param postal_code: The postal_code of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param postal_code: The postal_code of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -284,10 +284,10 @@ def postal_code(self, postal_code): @property def country(self): """ - Gets the country of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the country of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Country of the shipping address. Use the two-character ISO Standard Country Codes. - :return: The country of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The country of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._country @@ -295,10 +295,10 @@ def country(self): @country.setter def country(self, country): """ - Sets the country of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the country of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Country of the shipping address. Use the two-character ISO Standard Country Codes. - :param country: The country of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param country: The country of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -307,10 +307,10 @@ def country(self, country): @property def email(self): """ - Gets the email of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the email of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Email associated with the shipping address. - :return: The email of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The email of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._email @@ -318,10 +318,10 @@ def email(self): @email.setter def email(self, email): """ - Sets the email of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the email of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Email associated with the shipping address. - :param email: The email of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param email: The email of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -330,10 +330,10 @@ def email(self, email): @property def phone_number(self): """ - Gets the phone_number of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Gets the phone_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Phone number associated with the shipping address. - :return: The phone_number of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :return: The phone_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :rtype: str """ return self._phone_number @@ -341,10 +341,10 @@ def phone_number(self): @phone_number.setter def phone_number(self, phone_number): """ - Sets the phone_number of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + Sets the phone_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. Phone number associated with the shipping address. - :param phone_number: The phone_number of this Tmsv2customersEmbeddedDefaultShippingAddressShipTo. + :param phone_number: The phone_number of this Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo. :type: str """ @@ -392,7 +392,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersEmbeddedDefaultShippingAddressShipTo): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_links.py b/CyberSource/models/tmsv2tokenize_token_information_customer_links.py similarity index 66% rename from CyberSource/models/tmsv2customers_links.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_links.py index b5ffa26e..1bdda910 100644 --- a/CyberSource/models/tmsv2customers_links.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_links.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersLinks(object): +class Tmsv2tokenizeTokenInformationCustomerLinks(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -30,9 +30,9 @@ class Tmsv2customersLinks(object): and the value is json key in definition. """ swagger_types = { - '_self': 'Tmsv2customersLinksSelf', - 'payment_instruments': 'Tmsv2customersLinksPaymentInstruments', - 'shipping_address': 'Tmsv2customersLinksShippingAddress' + '_self': 'Tmsv2tokenizeTokenInformationCustomerLinksSelf', + 'payment_instruments': 'Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments', + 'shipping_address': 'Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress' } attribute_map = { @@ -43,7 +43,7 @@ class Tmsv2customersLinks(object): def __init__(self, _self=None, payment_instruments=None, shipping_address=None): """ - Tmsv2customersLinks - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerLinks - a model defined in Swagger """ self.__self = None @@ -60,20 +60,20 @@ def __init__(self, _self=None, payment_instruments=None, shipping_address=None): @property def _self(self): """ - Gets the _self of this Tmsv2customersLinks. + Gets the _self of this Tmsv2tokenizeTokenInformationCustomerLinks. - :return: The _self of this Tmsv2customersLinks. - :rtype: Tmsv2customersLinksSelf + :return: The _self of this Tmsv2tokenizeTokenInformationCustomerLinks. + :rtype: Tmsv2tokenizeTokenInformationCustomerLinksSelf """ return self.__self @_self.setter def _self(self, _self): """ - Sets the _self of this Tmsv2customersLinks. + Sets the _self of this Tmsv2tokenizeTokenInformationCustomerLinks. - :param _self: The _self of this Tmsv2customersLinks. - :type: Tmsv2customersLinksSelf + :param _self: The _self of this Tmsv2tokenizeTokenInformationCustomerLinks. + :type: Tmsv2tokenizeTokenInformationCustomerLinksSelf """ self.__self = _self @@ -81,20 +81,20 @@ def _self(self, _self): @property def payment_instruments(self): """ - Gets the payment_instruments of this Tmsv2customersLinks. + Gets the payment_instruments of this Tmsv2tokenizeTokenInformationCustomerLinks. - :return: The payment_instruments of this Tmsv2customersLinks. - :rtype: Tmsv2customersLinksPaymentInstruments + :return: The payment_instruments of this Tmsv2tokenizeTokenInformationCustomerLinks. + :rtype: Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments """ return self._payment_instruments @payment_instruments.setter def payment_instruments(self, payment_instruments): """ - Sets the payment_instruments of this Tmsv2customersLinks. + Sets the payment_instruments of this Tmsv2tokenizeTokenInformationCustomerLinks. - :param payment_instruments: The payment_instruments of this Tmsv2customersLinks. - :type: Tmsv2customersLinksPaymentInstruments + :param payment_instruments: The payment_instruments of this Tmsv2tokenizeTokenInformationCustomerLinks. + :type: Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments """ self._payment_instruments = payment_instruments @@ -102,20 +102,20 @@ def payment_instruments(self, payment_instruments): @property def shipping_address(self): """ - Gets the shipping_address of this Tmsv2customersLinks. + Gets the shipping_address of this Tmsv2tokenizeTokenInformationCustomerLinks. - :return: The shipping_address of this Tmsv2customersLinks. - :rtype: Tmsv2customersLinksShippingAddress + :return: The shipping_address of this Tmsv2tokenizeTokenInformationCustomerLinks. + :rtype: Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress """ return self._shipping_address @shipping_address.setter def shipping_address(self, shipping_address): """ - Sets the shipping_address of this Tmsv2customersLinks. + Sets the shipping_address of this Tmsv2tokenizeTokenInformationCustomerLinks. - :param shipping_address: The shipping_address of this Tmsv2customersLinks. - :type: Tmsv2customersLinksShippingAddress + :param shipping_address: The shipping_address of this Tmsv2tokenizeTokenInformationCustomerLinks. + :type: Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress """ self._shipping_address = shipping_address @@ -162,7 +162,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersLinks): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerLinks): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_links_payment_instruments.py b/CyberSource/models/tmsv2tokenize_token_information_customer_links_payment_instruments.py similarity index 80% rename from CyberSource/models/tmsv2customers_links_payment_instruments.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_links_payment_instruments.py index 9d1a92e8..9ff565d8 100644 --- a/CyberSource/models/tmsv2customers_links_payment_instruments.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_links_payment_instruments.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersLinksPaymentInstruments(object): +class Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersLinksPaymentInstruments(object): def __init__(self, href=None): """ - Tmsv2customersLinksPaymentInstruments - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments - a model defined in Swagger """ self._href = None @@ -50,10 +50,10 @@ def __init__(self, href=None): @property def href(self): """ - Gets the href of this Tmsv2customersLinksPaymentInstruments. + Gets the href of this Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments. Link to the Customers Payment Instruments. - :return: The href of this Tmsv2customersLinksPaymentInstruments. + :return: The href of this Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments. :rtype: str """ return self._href @@ -61,10 +61,10 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this Tmsv2customersLinksPaymentInstruments. + Sets the href of this Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments. Link to the Customers Payment Instruments. - :param href: The href of this Tmsv2customersLinksPaymentInstruments. + :param href: The href of this Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersLinksPaymentInstruments): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_links_self.py b/CyberSource/models/tmsv2tokenize_token_information_customer_links_self.py similarity index 83% rename from CyberSource/models/tmsv2customers_links_self.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_links_self.py index 9725ee99..292145ba 100644 --- a/CyberSource/models/tmsv2customers_links_self.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_links_self.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersLinksSelf(object): +class Tmsv2tokenizeTokenInformationCustomerLinksSelf(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersLinksSelf(object): def __init__(self, href=None): """ - Tmsv2customersLinksSelf - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerLinksSelf - a model defined in Swagger """ self._href = None @@ -50,10 +50,10 @@ def __init__(self, href=None): @property def href(self): """ - Gets the href of this Tmsv2customersLinksSelf. + Gets the href of this Tmsv2tokenizeTokenInformationCustomerLinksSelf. Link to the Customer. - :return: The href of this Tmsv2customersLinksSelf. + :return: The href of this Tmsv2tokenizeTokenInformationCustomerLinksSelf. :rtype: str """ return self._href @@ -61,10 +61,10 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this Tmsv2customersLinksSelf. + Sets the href of this Tmsv2tokenizeTokenInformationCustomerLinksSelf. Link to the Customer. - :param href: The href of this Tmsv2customersLinksSelf. + :param href: The href of this Tmsv2tokenizeTokenInformationCustomerLinksSelf. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersLinksSelf): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerLinksSelf): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_links_shipping_address.py b/CyberSource/models/tmsv2tokenize_token_information_customer_links_shipping_address.py similarity index 81% rename from CyberSource/models/tmsv2customers_links_shipping_address.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_links_shipping_address.py index 0737e181..07a010dc 100644 --- a/CyberSource/models/tmsv2customers_links_shipping_address.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_links_shipping_address.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersLinksShippingAddress(object): +class Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersLinksShippingAddress(object): def __init__(self, href=None): """ - Tmsv2customersLinksShippingAddress - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress - a model defined in Swagger """ self._href = None @@ -50,10 +50,10 @@ def __init__(self, href=None): @property def href(self): """ - Gets the href of this Tmsv2customersLinksShippingAddress. + Gets the href of this Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress. Link to the Customers Shipping Addresses. - :return: The href of this Tmsv2customersLinksShippingAddress. + :return: The href of this Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress. :rtype: str """ return self._href @@ -61,10 +61,10 @@ def href(self): @href.setter def href(self, href): """ - Sets the href of this Tmsv2customersLinksShippingAddress. + Sets the href of this Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress. Link to the Customers Shipping Addresses. - :param href: The href of this Tmsv2customersLinksShippingAddress. + :param href: The href of this Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersLinksShippingAddress): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_merchant_defined_information.py b/CyberSource/models/tmsv2tokenize_token_information_customer_merchant_defined_information.py similarity index 84% rename from CyberSource/models/tmsv2customers_merchant_defined_information.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_merchant_defined_information.py index f6b10624..43d86dec 100644 --- a/CyberSource/models/tmsv2customers_merchant_defined_information.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_merchant_defined_information.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersMerchantDefinedInformation(object): +class Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +41,7 @@ class Tmsv2customersMerchantDefinedInformation(object): def __init__(self, name=None, value=None): """ - Tmsv2customersMerchantDefinedInformation - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation - a model defined in Swagger """ self._name = None @@ -55,10 +55,10 @@ def __init__(self, name=None, value=None): @property def name(self): """ - Gets the name of this Tmsv2customersMerchantDefinedInformation. + Gets the name of this Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation. The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4 For example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2 Possible Values: - data1 - data2 - data3 - data4 - sensitive1 - sensitive2 - sensitive3 - sensitive4 - :return: The name of this Tmsv2customersMerchantDefinedInformation. + :return: The name of this Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation. :rtype: str """ return self._name @@ -66,10 +66,10 @@ def name(self): @name.setter def name(self, name): """ - Sets the name of this Tmsv2customersMerchantDefinedInformation. + Sets the name of this Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation. The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4 For example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2 Possible Values: - data1 - data2 - data3 - data4 - sensitive1 - sensitive2 - sensitive3 - sensitive4 - :param name: The name of this Tmsv2customersMerchantDefinedInformation. + :param name: The name of this Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation. :type: str """ @@ -78,10 +78,10 @@ def name(self, name): @property def value(self): """ - Gets the value of this Tmsv2customersMerchantDefinedInformation. + Gets the value of this Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation. The value you assign for your merchant-defined data field. **Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not limited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV, CVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension. - :return: The value of this Tmsv2customersMerchantDefinedInformation. + :return: The value of this Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation. :rtype: str """ return self._value @@ -89,10 +89,10 @@ def value(self): @value.setter def value(self, value): """ - Sets the value of this Tmsv2customersMerchantDefinedInformation. + Sets the value of this Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation. The value you assign for your merchant-defined data field. **Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not limited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV, CVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension. - :param value: The value of this Tmsv2customersMerchantDefinedInformation. + :param value: The value of this Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation. :type: str """ @@ -140,7 +140,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersMerchantDefinedInformation): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_metadata.py b/CyberSource/models/tmsv2tokenize_token_information_customer_metadata.py similarity index 83% rename from CyberSource/models/tmsv2customers_metadata.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_metadata.py index 643047b1..296111a0 100644 --- a/CyberSource/models/tmsv2customers_metadata.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_metadata.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersMetadata(object): +class Tmsv2tokenizeTokenInformationCustomerMetadata(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -39,7 +39,7 @@ class Tmsv2customersMetadata(object): def __init__(self, creator=None): """ - Tmsv2customersMetadata - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerMetadata - a model defined in Swagger """ self._creator = None @@ -50,10 +50,10 @@ def __init__(self, creator=None): @property def creator(self): """ - Gets the creator of this Tmsv2customersMetadata. + Gets the creator of this Tmsv2tokenizeTokenInformationCustomerMetadata. The creator of the Customer. - :return: The creator of this Tmsv2customersMetadata. + :return: The creator of this Tmsv2tokenizeTokenInformationCustomerMetadata. :rtype: str """ return self._creator @@ -61,10 +61,10 @@ def creator(self): @creator.setter def creator(self, creator): """ - Sets the creator of this Tmsv2customersMetadata. + Sets the creator of this Tmsv2tokenizeTokenInformationCustomerMetadata. The creator of the Customer. - :param creator: The creator of this Tmsv2customersMetadata. + :param creator: The creator of this Tmsv2tokenizeTokenInformationCustomerMetadata. :type: str """ @@ -112,7 +112,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersMetadata): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerMetadata): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2customers_object_information.py b/CyberSource/models/tmsv2tokenize_token_information_customer_object_information.py similarity index 76% rename from CyberSource/models/tmsv2customers_object_information.py rename to CyberSource/models/tmsv2tokenize_token_information_customer_object_information.py index ad079db0..c11d99ec 100644 --- a/CyberSource/models/tmsv2customers_object_information.py +++ b/CyberSource/models/tmsv2tokenize_token_information_customer_object_information.py @@ -15,7 +15,7 @@ import re -class Tmsv2customersObjectInformation(object): +class Tmsv2tokenizeTokenInformationCustomerObjectInformation(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -41,7 +41,7 @@ class Tmsv2customersObjectInformation(object): def __init__(self, title=None, comment=None): """ - Tmsv2customersObjectInformation - a model defined in Swagger + Tmsv2tokenizeTokenInformationCustomerObjectInformation - a model defined in Swagger """ self._title = None @@ -55,10 +55,10 @@ def __init__(self, title=None, comment=None): @property def title(self): """ - Gets the title of this Tmsv2customersObjectInformation. + Gets the title of this Tmsv2tokenizeTokenInformationCustomerObjectInformation. Name or title of the customer. - :return: The title of this Tmsv2customersObjectInformation. + :return: The title of this Tmsv2tokenizeTokenInformationCustomerObjectInformation. :rtype: str """ return self._title @@ -66,10 +66,10 @@ def title(self): @title.setter def title(self, title): """ - Sets the title of this Tmsv2customersObjectInformation. + Sets the title of this Tmsv2tokenizeTokenInformationCustomerObjectInformation. Name or title of the customer. - :param title: The title of this Tmsv2customersObjectInformation. + :param title: The title of this Tmsv2tokenizeTokenInformationCustomerObjectInformation. :type: str """ @@ -78,10 +78,10 @@ def title(self, title): @property def comment(self): """ - Gets the comment of this Tmsv2customersObjectInformation. + Gets the comment of this Tmsv2tokenizeTokenInformationCustomerObjectInformation. Comments that you can make about the customer. - :return: The comment of this Tmsv2customersObjectInformation. + :return: The comment of this Tmsv2tokenizeTokenInformationCustomerObjectInformation. :rtype: str """ return self._comment @@ -89,10 +89,10 @@ def comment(self): @comment.setter def comment(self, comment): """ - Sets the comment of this Tmsv2customersObjectInformation. + Sets the comment of this Tmsv2tokenizeTokenInformationCustomerObjectInformation. Comments that you can make about the customer. - :param comment: The comment of this Tmsv2customersObjectInformation. + :param comment: The comment of this Tmsv2tokenizeTokenInformationCustomerObjectInformation. :type: str """ @@ -140,7 +140,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, Tmsv2customersObjectInformation): + if not isinstance(other, Tmsv2tokenizeTokenInformationCustomerObjectInformation): return False return self.__dict__ == other.__dict__ diff --git a/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.py b/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.py new file mode 100644 index 00000000..57f48864 --- /dev/null +++ b/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'last4': 'str', + 'expiration_month': 'str', + 'expiration_year': 'str' + } + + attribute_map = { + 'last4': 'last4', + 'expiration_month': 'expirationMonth', + 'expiration_year': 'expirationYear' + } + + def __init__(self, last4=None, expiration_month=None, expiration_year=None): + """ + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard - a model defined in Swagger + """ + + self._last4 = None + self._expiration_month = None + self._expiration_year = None + + if last4 is not None: + self.last4 = last4 + if expiration_month is not None: + self.expiration_month = expiration_month + if expiration_year is not None: + self.expiration_year = expiration_year + + @property + def last4(self): + """ + Gets the last4 of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + The new last 4 digits of the card number associated to the Tokenized Card. + + :return: The last4 of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + :rtype: str + """ + return self._last4 + + @last4.setter + def last4(self, last4): + """ + Sets the last4 of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + The new last 4 digits of the card number associated to the Tokenized Card. + + :param last4: The last4 of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + :type: str + """ + + self._last4 = last4 + + @property + def expiration_month(self): + """ + Gets the expiration_month of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. + + :return: The expiration_month of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + :rtype: str + """ + return self._expiration_month + + @expiration_month.setter + def expiration_month(self, expiration_month): + """ + Sets the expiration_month of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. + + :param expiration_month: The expiration_month of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + :type: str + """ + + self._expiration_month = expiration_month + + @property + def expiration_year(self): + """ + Gets the expiration_year of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. + + :return: The expiration_year of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + :rtype: str + """ + return self._expiration_year + + @expiration_year.setter + def expiration_year(self, expiration_year): + """ + Sets the expiration_year of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. + + :param expiration_year: The expiration_year of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard. + :type: str + """ + + self._expiration_year = expiration_year + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.py b/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.py new file mode 100644 index 00000000..02c297a2 --- /dev/null +++ b/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'card_art': 'Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt' + } + + attribute_map = { + 'card_art': 'cardArt' + } + + def __init__(self, card_art=None): + """ + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata - a model defined in Swagger + """ + + self._card_art = None + + if card_art is not None: + self.card_art = card_art + + @property + def card_art(self): + """ + Gets the card_art of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata. + + :return: The card_art of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata. + :rtype: Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + """ + return self._card_art + + @card_art.setter + def card_art(self, card_art): + """ + Sets the card_art of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata. + + :param card_art: The card_art of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata. + :type: Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + """ + + self._card_art = card_art + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.py b/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.py new file mode 100644 index 00000000..bae10f51 --- /dev/null +++ b/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'combined_asset': 'Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset' + } + + attribute_map = { + 'combined_asset': 'combinedAsset' + } + + def __init__(self, combined_asset=None): + """ + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt - a model defined in Swagger + """ + + self._combined_asset = None + + if combined_asset is not None: + self.combined_asset = combined_asset + + @property + def combined_asset(self): + """ + Gets the combined_asset of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt. + + :return: The combined_asset of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt. + :rtype: Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + """ + return self._combined_asset + + @combined_asset.setter + def combined_asset(self, combined_asset): + """ + Sets the combined_asset of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt. + + :param combined_asset: The combined_asset of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt. + :type: Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + """ + + self._combined_asset = combined_asset + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset.py b/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset.py new file mode 100644 index 00000000..9d052599 --- /dev/null +++ b/CyberSource/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'update': 'str' + } + + attribute_map = { + 'update': 'update' + } + + def __init__(self, update=None): + """ + Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset - a model defined in Swagger + """ + + self._update = None + + if update is not None: + self.update = update + + @property + def update(self): + """ + Gets the update of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset. + Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. + + :return: The update of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset. + :rtype: str + """ + return self._update + + @update.setter + def update(self, update): + """ + Sets the update of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset. + Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. + + :param update: The update of this Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset. + :type: str + """ + + self._update = update + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/update_subscription.py b/CyberSource/models/update_subscription.py index 7a60c263..7c7c0f04 100644 --- a/CyberSource/models/update_subscription.py +++ b/CyberSource/models/update_subscription.py @@ -30,7 +30,7 @@ class UpdateSubscription(object): and the value is json key in definition. """ swagger_types = { - 'client_reference_information': 'Rbsv1subscriptionsClientReferenceInformation', + 'client_reference_information': 'GetAllSubscriptionsResponseClientReferenceInformation', 'processing_information': 'Rbsv1subscriptionsProcessingInformation', 'plan_information': 'Rbsv1subscriptionsidPlanInformation', 'subscription_information': 'Rbsv1subscriptionsidSubscriptionInformation', @@ -73,7 +73,7 @@ def client_reference_information(self): Gets the client_reference_information of this UpdateSubscription. :return: The client_reference_information of this UpdateSubscription. - :rtype: Rbsv1subscriptionsClientReferenceInformation + :rtype: GetAllSubscriptionsResponseClientReferenceInformation """ return self._client_reference_information @@ -83,7 +83,7 @@ def client_reference_information(self, client_reference_information): Sets the client_reference_information of this UpdateSubscription. :param client_reference_information: The client_reference_information of this UpdateSubscription. - :type: Rbsv1subscriptionsClientReferenceInformation + :type: GetAllSubscriptionsResponseClientReferenceInformation """ self._client_reference_information = client_reference_information diff --git a/CyberSource/models/upv1capturecontexts_data.py b/CyberSource/models/upv1capturecontexts_data.py index 913bea14..2e139282 100644 --- a/CyberSource/models/upv1capturecontexts_data.py +++ b/CyberSource/models/upv1capturecontexts_data.py @@ -37,7 +37,9 @@ class Upv1capturecontextsData(object): 'merchant_information': 'Upv1capturecontextsDataMerchantInformation', 'processing_information': 'Upv1capturecontextsDataProcessingInformation', 'recipient_information': 'Upv1capturecontextsDataRecipientInformation', - 'merchant_defined_information': 'Upv1capturecontextsDataMerchantDefinedInformation' + 'merchant_defined_information': 'Upv1capturecontextsDataMerchantDefinedInformation', + 'device_information': 'Upv1capturecontextsDataDeviceInformation', + 'payment_information': 'Upv1capturecontextsDataPaymentInformation' } attribute_map = { @@ -48,10 +50,12 @@ class Upv1capturecontextsData(object): 'merchant_information': 'merchantInformation', 'processing_information': 'processingInformation', 'recipient_information': 'recipientInformation', - 'merchant_defined_information': 'merchantDefinedInformation' + 'merchant_defined_information': 'merchantDefinedInformation', + 'device_information': 'deviceInformation', + 'payment_information': 'paymentInformation' } - def __init__(self, order_information=None, buyer_information=None, client_reference_information=None, consumer_authentication_information=None, merchant_information=None, processing_information=None, recipient_information=None, merchant_defined_information=None): + def __init__(self, order_information=None, buyer_information=None, client_reference_information=None, consumer_authentication_information=None, merchant_information=None, processing_information=None, recipient_information=None, merchant_defined_information=None, device_information=None, payment_information=None): """ Upv1capturecontextsData - a model defined in Swagger """ @@ -64,6 +68,8 @@ def __init__(self, order_information=None, buyer_information=None, client_refere self._processing_information = None self._recipient_information = None self._merchant_defined_information = None + self._device_information = None + self._payment_information = None if order_information is not None: self.order_information = order_information @@ -81,6 +87,10 @@ def __init__(self, order_information=None, buyer_information=None, client_refere self.recipient_information = recipient_information if merchant_defined_information is not None: self.merchant_defined_information = merchant_defined_information + if device_information is not None: + self.device_information = device_information + if payment_information is not None: + self.payment_information = payment_information @property def order_information(self): @@ -250,6 +260,48 @@ def merchant_defined_information(self, merchant_defined_information): self._merchant_defined_information = merchant_defined_information + @property + def device_information(self): + """ + Gets the device_information of this Upv1capturecontextsData. + + :return: The device_information of this Upv1capturecontextsData. + :rtype: Upv1capturecontextsDataDeviceInformation + """ + return self._device_information + + @device_information.setter + def device_information(self, device_information): + """ + Sets the device_information of this Upv1capturecontextsData. + + :param device_information: The device_information of this Upv1capturecontextsData. + :type: Upv1capturecontextsDataDeviceInformation + """ + + self._device_information = device_information + + @property + def payment_information(self): + """ + Gets the payment_information of this Upv1capturecontextsData. + + :return: The payment_information of this Upv1capturecontextsData. + :rtype: Upv1capturecontextsDataPaymentInformation + """ + return self._payment_information + + @payment_information.setter + def payment_information(self, payment_information): + """ + Sets the payment_information of this Upv1capturecontextsData. + + :param payment_information: The payment_information of this Upv1capturecontextsData. + :type: Upv1capturecontextsDataPaymentInformation + """ + + self._payment_information = payment_information + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/upv1capturecontexts_data_buyer_information.py b/CyberSource/models/upv1capturecontexts_data_buyer_information.py index eeab4e27..8061ebf3 100644 --- a/CyberSource/models/upv1capturecontexts_data_buyer_information.py +++ b/CyberSource/models/upv1capturecontexts_data_buyer_information.py @@ -32,16 +32,20 @@ class Upv1capturecontextsDataBuyerInformation(object): swagger_types = { 'personal_identification': 'Upv1capturecontextsDataBuyerInformationPersonalIdentification', 'merchant_customer_id': 'str', - 'company_tax_id': 'str' + 'company_tax_id': 'str', + 'date_of_birth': 'str', + 'language': 'str' } attribute_map = { 'personal_identification': 'personalIdentification', 'merchant_customer_id': 'merchantCustomerId', - 'company_tax_id': 'companyTaxId' + 'company_tax_id': 'companyTaxId', + 'date_of_birth': 'dateOfBirth', + 'language': 'language' } - def __init__(self, personal_identification=None, merchant_customer_id=None, company_tax_id=None): + def __init__(self, personal_identification=None, merchant_customer_id=None, company_tax_id=None, date_of_birth=None, language=None): """ Upv1capturecontextsDataBuyerInformation - a model defined in Swagger """ @@ -49,6 +53,8 @@ def __init__(self, personal_identification=None, merchant_customer_id=None, comp self._personal_identification = None self._merchant_customer_id = None self._company_tax_id = None + self._date_of_birth = None + self._language = None if personal_identification is not None: self.personal_identification = personal_identification @@ -56,6 +62,10 @@ def __init__(self, personal_identification=None, merchant_customer_id=None, comp self.merchant_customer_id = merchant_customer_id if company_tax_id is not None: self.company_tax_id = company_tax_id + if date_of_birth is not None: + self.date_of_birth = date_of_birth + if language is not None: + self.language = language @property def personal_identification(self): @@ -82,6 +92,7 @@ def personal_identification(self, personal_identification): def merchant_customer_id(self): """ Gets the merchant_customer_id of this Upv1capturecontextsDataBuyerInformation. + The Merchant Customer ID :return: The merchant_customer_id of this Upv1capturecontextsDataBuyerInformation. :rtype: str @@ -92,6 +103,7 @@ def merchant_customer_id(self): def merchant_customer_id(self, merchant_customer_id): """ Sets the merchant_customer_id of this Upv1capturecontextsDataBuyerInformation. + The Merchant Customer ID :param merchant_customer_id: The merchant_customer_id of this Upv1capturecontextsDataBuyerInformation. :type: str @@ -103,6 +115,7 @@ def merchant_customer_id(self, merchant_customer_id): def company_tax_id(self): """ Gets the company_tax_id of this Upv1capturecontextsDataBuyerInformation. + The Company Tax ID :return: The company_tax_id of this Upv1capturecontextsDataBuyerInformation. :rtype: str @@ -113,6 +126,7 @@ def company_tax_id(self): def company_tax_id(self, company_tax_id): """ Sets the company_tax_id of this Upv1capturecontextsDataBuyerInformation. + The Company Tax ID :param company_tax_id: The company_tax_id of this Upv1capturecontextsDataBuyerInformation. :type: str @@ -120,6 +134,52 @@ def company_tax_id(self, company_tax_id): self._company_tax_id = company_tax_id + @property + def date_of_birth(self): + """ + Gets the date_of_birth of this Upv1capturecontextsDataBuyerInformation. + The date of birth + + :return: The date_of_birth of this Upv1capturecontextsDataBuyerInformation. + :rtype: str + """ + return self._date_of_birth + + @date_of_birth.setter + def date_of_birth(self, date_of_birth): + """ + Sets the date_of_birth of this Upv1capturecontextsDataBuyerInformation. + The date of birth + + :param date_of_birth: The date_of_birth of this Upv1capturecontextsDataBuyerInformation. + :type: str + """ + + self._date_of_birth = date_of_birth + + @property + def language(self): + """ + Gets the language of this Upv1capturecontextsDataBuyerInformation. + The preferred language + + :return: The language of this Upv1capturecontextsDataBuyerInformation. + :rtype: str + """ + return self._language + + @language.setter + def language(self, language): + """ + Sets the language of this Upv1capturecontextsDataBuyerInformation. + The preferred language + + :param language: The language of this Upv1capturecontextsDataBuyerInformation. + :type: str + """ + + self._language = language + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/upv1capturecontexts_data_buyer_information_personal_identification.py b/CyberSource/models/upv1capturecontexts_data_buyer_information_personal_identification.py index 7431e2a9..77316589 100644 --- a/CyberSource/models/upv1capturecontexts_data_buyer_information_personal_identification.py +++ b/CyberSource/models/upv1capturecontexts_data_buyer_information_personal_identification.py @@ -51,6 +51,7 @@ def __init__(self, cpf=None): def cpf(self): """ Gets the cpf of this Upv1capturecontextsDataBuyerInformationPersonalIdentification. + CPF Number (Brazil). Must be 11 digits in length. :return: The cpf of this Upv1capturecontextsDataBuyerInformationPersonalIdentification. :rtype: str @@ -61,6 +62,7 @@ def cpf(self): def cpf(self, cpf): """ Sets the cpf of this Upv1capturecontextsDataBuyerInformationPersonalIdentification. + CPF Number (Brazil). Must be 11 digits in length. :param cpf: The cpf of this Upv1capturecontextsDataBuyerInformationPersonalIdentification. :type: str diff --git a/CyberSource/models/upv1capturecontexts_data_client_reference_information_partner.py b/CyberSource/models/upv1capturecontexts_data_client_reference_information_partner.py index 59cc0340..dc713b11 100644 --- a/CyberSource/models/upv1capturecontexts_data_client_reference_information_partner.py +++ b/CyberSource/models/upv1capturecontexts_data_client_reference_information_partner.py @@ -36,7 +36,7 @@ class Upv1capturecontextsDataClientReferenceInformationPartner(object): attribute_map = { 'developer_id': 'developerId', - 'solution_id': 'SolutionId' + 'solution_id': 'solutionId' } def __init__(self, developer_id=None, solution_id=None): diff --git a/CyberSource/models/upv1capturecontexts_data_consumer_authentication_information.py b/CyberSource/models/upv1capturecontexts_data_consumer_authentication_information.py index 4b36bb56..5a870cae 100644 --- a/CyberSource/models/upv1capturecontexts_data_consumer_authentication_information.py +++ b/CyberSource/models/upv1capturecontexts_data_consumer_authentication_information.py @@ -31,31 +31,37 @@ class Upv1capturecontextsDataConsumerAuthenticationInformation(object): """ swagger_types = { 'challenge_code': 'str', - 'message_category': 'str' + 'message_category': 'str', + 'acs_window_size': 'str' } attribute_map = { 'challenge_code': 'challengeCode', - 'message_category': 'messageCategory' + 'message_category': 'messageCategory', + 'acs_window_size': 'acsWindowSize' } - def __init__(self, challenge_code=None, message_category=None): + def __init__(self, challenge_code=None, message_category=None, acs_window_size=None): """ Upv1capturecontextsDataConsumerAuthenticationInformation - a model defined in Swagger """ self._challenge_code = None self._message_category = None + self._acs_window_size = None if challenge_code is not None: self.challenge_code = challenge_code if message_category is not None: self.message_category = message_category + if acs_window_size is not None: + self.acs_window_size = acs_window_size @property def challenge_code(self): """ Gets the challenge_code of this Upv1capturecontextsDataConsumerAuthenticationInformation. + The challenge code :return: The challenge_code of this Upv1capturecontextsDataConsumerAuthenticationInformation. :rtype: str @@ -66,6 +72,7 @@ def challenge_code(self): def challenge_code(self, challenge_code): """ Sets the challenge_code of this Upv1capturecontextsDataConsumerAuthenticationInformation. + The challenge code :param challenge_code: The challenge_code of this Upv1capturecontextsDataConsumerAuthenticationInformation. :type: str @@ -77,6 +84,7 @@ def challenge_code(self, challenge_code): def message_category(self): """ Gets the message_category of this Upv1capturecontextsDataConsumerAuthenticationInformation. + The message category :return: The message_category of this Upv1capturecontextsDataConsumerAuthenticationInformation. :rtype: str @@ -87,6 +95,7 @@ def message_category(self): def message_category(self, message_category): """ Sets the message_category of this Upv1capturecontextsDataConsumerAuthenticationInformation. + The message category :param message_category: The message_category of this Upv1capturecontextsDataConsumerAuthenticationInformation. :type: str @@ -94,6 +103,29 @@ def message_category(self, message_category): self._message_category = message_category + @property + def acs_window_size(self): + """ + Gets the acs_window_size of this Upv1capturecontextsDataConsumerAuthenticationInformation. + The acs window size + + :return: The acs_window_size of this Upv1capturecontextsDataConsumerAuthenticationInformation. + :rtype: str + """ + return self._acs_window_size + + @acs_window_size.setter + def acs_window_size(self, acs_window_size): + """ + Sets the acs_window_size of this Upv1capturecontextsDataConsumerAuthenticationInformation. + The acs window size + + :param acs_window_size: The acs_window_size of this Upv1capturecontextsDataConsumerAuthenticationInformation. + :type: str + """ + + self._acs_window_size = acs_window_size + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/upv1capturecontexts_data_device_information.py b/CyberSource/models/upv1capturecontexts_data_device_information.py new file mode 100644 index 00000000..72cab4b3 --- /dev/null +++ b/CyberSource/models/upv1capturecontexts_data_device_information.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Upv1capturecontextsDataDeviceInformation(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ip_address': 'str' + } + + attribute_map = { + 'ip_address': 'ipAddress' + } + + def __init__(self, ip_address=None): + """ + Upv1capturecontextsDataDeviceInformation - a model defined in Swagger + """ + + self._ip_address = None + + if ip_address is not None: + self.ip_address = ip_address + + @property + def ip_address(self): + """ + Gets the ip_address of this Upv1capturecontextsDataDeviceInformation. + The IP Address + + :return: The ip_address of this Upv1capturecontextsDataDeviceInformation. + :rtype: str + """ + return self._ip_address + + @ip_address.setter + def ip_address(self, ip_address): + """ + Sets the ip_address of this Upv1capturecontextsDataDeviceInformation. + The IP Address + + :param ip_address: The ip_address of this Upv1capturecontextsDataDeviceInformation. + :type: str + """ + + self._ip_address = ip_address + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Upv1capturecontextsDataDeviceInformation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.py b/CyberSource/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.py index fcfbb55c..13c8f1ef 100644 --- a/CyberSource/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.py +++ b/CyberSource/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.py @@ -30,22 +30,57 @@ class Upv1capturecontextsDataMerchantInformationMerchantDescriptor(object): and the value is json key in definition. """ swagger_types = { - 'name': 'str' + 'name': 'str', + 'alternate_name': 'str', + 'locality': 'str', + 'phone': 'str', + 'country': 'str', + 'postal_code': 'str', + 'administrative_area': 'str', + 'address1': 'str' } attribute_map = { - 'name': 'name' + 'name': 'name', + 'alternate_name': 'alternateName', + 'locality': 'locality', + 'phone': 'phone', + 'country': 'country', + 'postal_code': 'postalCode', + 'administrative_area': 'administrativeArea', + 'address1': 'address1' } - def __init__(self, name=None): + def __init__(self, name=None, alternate_name=None, locality=None, phone=None, country=None, postal_code=None, administrative_area=None, address1=None): """ Upv1capturecontextsDataMerchantInformationMerchantDescriptor - a model defined in Swagger """ self._name = None + self._alternate_name = None + self._locality = None + self._phone = None + self._country = None + self._postal_code = None + self._administrative_area = None + self._address1 = None if name is not None: self.name = name + if alternate_name is not None: + self.alternate_name = alternate_name + if locality is not None: + self.locality = locality + if phone is not None: + self.phone = phone + if country is not None: + self.country = country + if postal_code is not None: + self.postal_code = postal_code + if administrative_area is not None: + self.administrative_area = administrative_area + if address1 is not None: + self.address1 = address1 @property def name(self): @@ -70,6 +105,167 @@ def name(self, name): self._name = name + @property + def alternate_name(self): + """ + Gets the alternate_name of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The alternate name of the merchant + + :return: The alternate_name of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :rtype: str + """ + return self._alternate_name + + @alternate_name.setter + def alternate_name(self, alternate_name): + """ + Sets the alternate_name of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The alternate name of the merchant + + :param alternate_name: The alternate_name of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :type: str + """ + + self._alternate_name = alternate_name + + @property + def locality(self): + """ + Gets the locality of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The locality of the merchant + + :return: The locality of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :rtype: str + """ + return self._locality + + @locality.setter + def locality(self, locality): + """ + Sets the locality of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The locality of the merchant + + :param locality: The locality of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :type: str + """ + + self._locality = locality + + @property + def phone(self): + """ + Gets the phone of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The phone number of the merchant + + :return: The phone of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :rtype: str + """ + return self._phone + + @phone.setter + def phone(self, phone): + """ + Sets the phone of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The phone number of the merchant + + :param phone: The phone of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :type: str + """ + + self._phone = phone + + @property + def country(self): + """ + Gets the country of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The country code of the merchant + + :return: The country of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :rtype: str + """ + return self._country + + @country.setter + def country(self, country): + """ + Sets the country of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The country code of the merchant + + :param country: The country of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :type: str + """ + + self._country = country + + @property + def postal_code(self): + """ + Gets the postal_code of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The postal code of the merchant + + :return: The postal_code of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :rtype: str + """ + return self._postal_code + + @postal_code.setter + def postal_code(self, postal_code): + """ + Sets the postal_code of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The postal code of the merchant + + :param postal_code: The postal_code of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :type: str + """ + + self._postal_code = postal_code + + @property + def administrative_area(self): + """ + Gets the administrative_area of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The administrative area of the merchant + + :return: The administrative_area of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :rtype: str + """ + return self._administrative_area + + @administrative_area.setter + def administrative_area(self, administrative_area): + """ + Sets the administrative_area of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The administrative area of the merchant + + :param administrative_area: The administrative_area of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :type: str + """ + + self._administrative_area = administrative_area + + @property + def address1(self): + """ + Gets the address1 of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The first line of the merchant's address + + :return: The address1 of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :rtype: str + """ + return self._address1 + + @address1.setter + def address1(self, address1): + """ + Sets the address1 of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + The first line of the merchant's address + + :param address1: The address1 of this Upv1capturecontextsDataMerchantInformationMerchantDescriptor. + :type: str + """ + + self._address1 = address1 + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/upv1capturecontexts_data_order_information.py b/CyberSource/models/upv1capturecontexts_data_order_information.py index 63ea0541..683fc936 100644 --- a/CyberSource/models/upv1capturecontexts_data_order_information.py +++ b/CyberSource/models/upv1capturecontexts_data_order_information.py @@ -33,17 +33,19 @@ class Upv1capturecontextsDataOrderInformation(object): 'amount_details': 'Upv1capturecontextsDataOrderInformationAmountDetails', 'bill_to': 'Upv1capturecontextsDataOrderInformationBillTo', 'ship_to': 'Upv1capturecontextsDataOrderInformationShipTo', - 'line_items': 'Upv1capturecontextsDataOrderInformationLineItems' + 'line_items': 'Upv1capturecontextsDataOrderInformationLineItems', + 'invoice_details': 'Upv1capturecontextsDataOrderInformationInvoiceDetails' } attribute_map = { 'amount_details': 'amountDetails', 'bill_to': 'billTo', 'ship_to': 'shipTo', - 'line_items': 'lineItems' + 'line_items': 'lineItems', + 'invoice_details': 'invoiceDetails' } - def __init__(self, amount_details=None, bill_to=None, ship_to=None, line_items=None): + def __init__(self, amount_details=None, bill_to=None, ship_to=None, line_items=None, invoice_details=None): """ Upv1capturecontextsDataOrderInformation - a model defined in Swagger """ @@ -52,6 +54,7 @@ def __init__(self, amount_details=None, bill_to=None, ship_to=None, line_items=N self._bill_to = None self._ship_to = None self._line_items = None + self._invoice_details = None if amount_details is not None: self.amount_details = amount_details @@ -61,6 +64,8 @@ def __init__(self, amount_details=None, bill_to=None, ship_to=None, line_items=N self.ship_to = ship_to if line_items is not None: self.line_items = line_items + if invoice_details is not None: + self.invoice_details = invoice_details @property def amount_details(self): @@ -146,6 +151,27 @@ def line_items(self, line_items): self._line_items = line_items + @property + def invoice_details(self): + """ + Gets the invoice_details of this Upv1capturecontextsDataOrderInformation. + + :return: The invoice_details of this Upv1capturecontextsDataOrderInformation. + :rtype: Upv1capturecontextsDataOrderInformationInvoiceDetails + """ + return self._invoice_details + + @invoice_details.setter + def invoice_details(self, invoice_details): + """ + Sets the invoice_details of this Upv1capturecontextsDataOrderInformation. + + :param invoice_details: The invoice_details of this Upv1capturecontextsDataOrderInformation. + :type: Upv1capturecontextsDataOrderInformationInvoiceDetails + """ + + self._invoice_details = invoice_details + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/upv1capturecontexts_data_order_information_amount_details.py b/CyberSource/models/upv1capturecontexts_data_order_information_amount_details.py index 24ae807c..4b414e9b 100644 --- a/CyberSource/models/upv1capturecontexts_data_order_information_amount_details.py +++ b/CyberSource/models/upv1capturecontexts_data_order_information_amount_details.py @@ -36,7 +36,8 @@ class Upv1capturecontextsDataOrderInformationAmountDetails(object): 'discount_amount': 'str', 'sub_total_amount': 'str', 'service_fee_amount': 'str', - 'tax_amount': 'str' + 'tax_amount': 'str', + 'tax_details': 'Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails' } attribute_map = { @@ -46,10 +47,11 @@ class Upv1capturecontextsDataOrderInformationAmountDetails(object): 'discount_amount': 'discountAmount', 'sub_total_amount': 'subTotalAmount', 'service_fee_amount': 'serviceFeeAmount', - 'tax_amount': 'taxAmount' + 'tax_amount': 'taxAmount', + 'tax_details': 'taxDetails' } - def __init__(self, total_amount=None, currency=None, surcharge=None, discount_amount=None, sub_total_amount=None, service_fee_amount=None, tax_amount=None): + def __init__(self, total_amount=None, currency=None, surcharge=None, discount_amount=None, sub_total_amount=None, service_fee_amount=None, tax_amount=None, tax_details=None): """ Upv1capturecontextsDataOrderInformationAmountDetails - a model defined in Swagger """ @@ -61,6 +63,7 @@ def __init__(self, total_amount=None, currency=None, surcharge=None, discount_am self._sub_total_amount = None self._service_fee_amount = None self._tax_amount = None + self._tax_details = None if total_amount is not None: self.total_amount = total_amount @@ -76,6 +79,8 @@ def __init__(self, total_amount=None, currency=None, surcharge=None, discount_am self.service_fee_amount = service_fee_amount if tax_amount is not None: self.tax_amount = tax_amount + if tax_details is not None: + self.tax_details = tax_details @property def total_amount(self): @@ -236,6 +241,27 @@ def tax_amount(self, tax_amount): self._tax_amount = tax_amount + @property + def tax_details(self): + """ + Gets the tax_details of this Upv1capturecontextsDataOrderInformationAmountDetails. + + :return: The tax_details of this Upv1capturecontextsDataOrderInformationAmountDetails. + :rtype: Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + """ + return self._tax_details + + @tax_details.setter + def tax_details(self, tax_details): + """ + Sets the tax_details of this Upv1capturecontextsDataOrderInformationAmountDetails. + + :param tax_details: The tax_details of this Upv1capturecontextsDataOrderInformationAmountDetails. + :type: Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + """ + + self._tax_details = tax_details + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/upv1capturecontexts_data_order_information_amount_details_tax_details.py b/CyberSource/models/upv1capturecontexts_data_order_information_amount_details_tax_details.py new file mode 100644 index 00000000..6c89b09e --- /dev/null +++ b/CyberSource/models/upv1capturecontexts_data_order_information_amount_details_tax_details.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'tax_id': 'str', + 'type': 'str' + } + + attribute_map = { + 'tax_id': 'taxId', + 'type': 'type' + } + + def __init__(self, tax_id=None, type=None): + """ + Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails - a model defined in Swagger + """ + + self._tax_id = None + self._type = None + + if tax_id is not None: + self.tax_id = tax_id + if type is not None: + self.type = type + + @property + def tax_id(self): + """ + Gets the tax_id of this Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails. + This field defines the tax identifier/registration number + + :return: The tax_id of this Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails. + :rtype: str + """ + return self._tax_id + + @tax_id.setter + def tax_id(self, tax_id): + """ + Sets the tax_id of this Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails. + This field defines the tax identifier/registration number + + :param tax_id: The tax_id of this Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails. + :type: str + """ + + self._tax_id = tax_id + + @property + def type(self): + """ + Gets the type of this Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails. + This field defines the Tax type code (N=National, S=State, L=Local etc) + + :return: The type of this Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """ + Sets the type of this Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails. + This field defines the Tax type code (N=National, S=State, L=Local etc) + + :param type: The type of this Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails. + :type: str + """ + + self._type = type + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/upv1capturecontexts_data_order_information_invoice_details.py b/CyberSource/models/upv1capturecontexts_data_order_information_invoice_details.py new file mode 100644 index 00000000..3ccfd6a1 --- /dev/null +++ b/CyberSource/models/upv1capturecontexts_data_order_information_invoice_details.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Upv1capturecontextsDataOrderInformationInvoiceDetails(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'invoice_number': 'str', + 'product_description': 'str' + } + + attribute_map = { + 'invoice_number': 'invoiceNumber', + 'product_description': 'productDescription' + } + + def __init__(self, invoice_number=None, product_description=None): + """ + Upv1capturecontextsDataOrderInformationInvoiceDetails - a model defined in Swagger + """ + + self._invoice_number = None + self._product_description = None + + if invoice_number is not None: + self.invoice_number = invoice_number + if product_description is not None: + self.product_description = product_description + + @property + def invoice_number(self): + """ + Gets the invoice_number of this Upv1capturecontextsDataOrderInformationInvoiceDetails. + Invoice number + + :return: The invoice_number of this Upv1capturecontextsDataOrderInformationInvoiceDetails. + :rtype: str + """ + return self._invoice_number + + @invoice_number.setter + def invoice_number(self, invoice_number): + """ + Sets the invoice_number of this Upv1capturecontextsDataOrderInformationInvoiceDetails. + Invoice number + + :param invoice_number: The invoice_number of this Upv1capturecontextsDataOrderInformationInvoiceDetails. + :type: str + """ + + self._invoice_number = invoice_number + + @property + def product_description(self): + """ + Gets the product_description of this Upv1capturecontextsDataOrderInformationInvoiceDetails. + Product description + + :return: The product_description of this Upv1capturecontextsDataOrderInformationInvoiceDetails. + :rtype: str + """ + return self._product_description + + @product_description.setter + def product_description(self, product_description): + """ + Sets the product_description of this Upv1capturecontextsDataOrderInformationInvoiceDetails. + Product description + + :param product_description: The product_description of this Upv1capturecontextsDataOrderInformationInvoiceDetails. + :type: str + """ + + self._product_description = product_description + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Upv1capturecontextsDataOrderInformationInvoiceDetails): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/upv1capturecontexts_data_order_information_line_items.py b/CyberSource/models/upv1capturecontexts_data_order_information_line_items.py index 78cea182..bf49d5fe 100644 --- a/CyberSource/models/upv1capturecontexts_data_order_information_line_items.py +++ b/CyberSource/models/upv1capturecontexts_data_order_information_line_items.py @@ -206,6 +206,7 @@ def __init__(self, product_code=None, product_name=None, product_sku=None, quant def product_code(self): """ Gets the product_code of this Upv1capturecontextsDataOrderInformationLineItems. + Code identifying the product. :return: The product_code of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -216,6 +217,7 @@ def product_code(self): def product_code(self, product_code): """ Sets the product_code of this Upv1capturecontextsDataOrderInformationLineItems. + Code identifying the product. :param product_code: The product_code of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -227,6 +229,7 @@ def product_code(self, product_code): def product_name(self): """ Gets the product_name of this Upv1capturecontextsDataOrderInformationLineItems. + Name of the product. :return: The product_name of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -237,6 +240,7 @@ def product_name(self): def product_name(self, product_name): """ Sets the product_name of this Upv1capturecontextsDataOrderInformationLineItems. + Name of the product. :param product_name: The product_name of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -248,6 +252,7 @@ def product_name(self, product_name): def product_sku(self): """ Gets the product_sku of this Upv1capturecontextsDataOrderInformationLineItems. + Stock Keeping Unit identifier :return: The product_sku of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -258,6 +263,7 @@ def product_sku(self): def product_sku(self, product_sku): """ Sets the product_sku of this Upv1capturecontextsDataOrderInformationLineItems. + Stock Keeping Unit identifier :param product_sku: The product_sku of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -269,6 +275,7 @@ def product_sku(self, product_sku): def quantity(self): """ Gets the quantity of this Upv1capturecontextsDataOrderInformationLineItems. + Quantity of the product :return: The quantity of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: int @@ -279,6 +286,7 @@ def quantity(self): def quantity(self, quantity): """ Sets the quantity of this Upv1capturecontextsDataOrderInformationLineItems. + Quantity of the product :param quantity: The quantity of this Upv1capturecontextsDataOrderInformationLineItems. :type: int @@ -290,6 +298,7 @@ def quantity(self, quantity): def unit_price(self): """ Gets the unit_price of this Upv1capturecontextsDataOrderInformationLineItems. + Price per unit :return: The unit_price of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -300,6 +309,7 @@ def unit_price(self): def unit_price(self, unit_price): """ Sets the unit_price of this Upv1capturecontextsDataOrderInformationLineItems. + Price per unit :param unit_price: The unit_price of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -311,6 +321,7 @@ def unit_price(self, unit_price): def unit_of_measure(self): """ Gets the unit_of_measure of this Upv1capturecontextsDataOrderInformationLineItems. + Unit of measure (e.g. EA, KG, LB) :return: The unit_of_measure of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -321,6 +332,7 @@ def unit_of_measure(self): def unit_of_measure(self, unit_of_measure): """ Sets the unit_of_measure of this Upv1capturecontextsDataOrderInformationLineItems. + Unit of measure (e.g. EA, KG, LB) :param unit_of_measure: The unit_of_measure of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -332,6 +344,7 @@ def unit_of_measure(self, unit_of_measure): def total_amount(self): """ Gets the total_amount of this Upv1capturecontextsDataOrderInformationLineItems. + Total amount for the line item :return: The total_amount of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -342,6 +355,7 @@ def total_amount(self): def total_amount(self, total_amount): """ Sets the total_amount of this Upv1capturecontextsDataOrderInformationLineItems. + Total amount for the line item :param total_amount: The total_amount of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -353,6 +367,7 @@ def total_amount(self, total_amount): def tax_amount(self): """ Gets the tax_amount of this Upv1capturecontextsDataOrderInformationLineItems. + Tax amount applied :return: The tax_amount of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -363,6 +378,7 @@ def tax_amount(self): def tax_amount(self, tax_amount): """ Sets the tax_amount of this Upv1capturecontextsDataOrderInformationLineItems. + Tax amount applied :param tax_amount: The tax_amount of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -374,6 +390,7 @@ def tax_amount(self, tax_amount): def tax_rate(self): """ Gets the tax_rate of this Upv1capturecontextsDataOrderInformationLineItems. + Tax rate applied :return: The tax_rate of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -384,6 +401,7 @@ def tax_rate(self): def tax_rate(self, tax_rate): """ Sets the tax_rate of this Upv1capturecontextsDataOrderInformationLineItems. + Tax rate applied :param tax_rate: The tax_rate of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -395,6 +413,7 @@ def tax_rate(self, tax_rate): def tax_applied_after_discount(self): """ Gets the tax_applied_after_discount of this Upv1capturecontextsDataOrderInformationLineItems. + Indicates if tax applied after discount :return: The tax_applied_after_discount of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -405,6 +424,7 @@ def tax_applied_after_discount(self): def tax_applied_after_discount(self, tax_applied_after_discount): """ Sets the tax_applied_after_discount of this Upv1capturecontextsDataOrderInformationLineItems. + Indicates if tax applied after discount :param tax_applied_after_discount: The tax_applied_after_discount of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -416,6 +436,7 @@ def tax_applied_after_discount(self, tax_applied_after_discount): def tax_status_indicator(self): """ Gets the tax_status_indicator of this Upv1capturecontextsDataOrderInformationLineItems. + Tax status indicator :return: The tax_status_indicator of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -426,6 +447,7 @@ def tax_status_indicator(self): def tax_status_indicator(self, tax_status_indicator): """ Sets the tax_status_indicator of this Upv1capturecontextsDataOrderInformationLineItems. + Tax status indicator :param tax_status_indicator: The tax_status_indicator of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -437,6 +459,7 @@ def tax_status_indicator(self, tax_status_indicator): def tax_type_code(self): """ Gets the tax_type_code of this Upv1capturecontextsDataOrderInformationLineItems. + Tax type code :return: The tax_type_code of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -447,6 +470,7 @@ def tax_type_code(self): def tax_type_code(self, tax_type_code): """ Sets the tax_type_code of this Upv1capturecontextsDataOrderInformationLineItems. + Tax type code :param tax_type_code: The tax_type_code of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -458,6 +482,7 @@ def tax_type_code(self, tax_type_code): def amount_includes_tax(self): """ Gets the amount_includes_tax of this Upv1capturecontextsDataOrderInformationLineItems. + Indicates if amount includes tax :return: The amount_includes_tax of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: bool @@ -468,6 +493,7 @@ def amount_includes_tax(self): def amount_includes_tax(self, amount_includes_tax): """ Sets the amount_includes_tax of this Upv1capturecontextsDataOrderInformationLineItems. + Indicates if amount includes tax :param amount_includes_tax: The amount_includes_tax of this Upv1capturecontextsDataOrderInformationLineItems. :type: bool @@ -479,6 +505,7 @@ def amount_includes_tax(self, amount_includes_tax): def type_of_supply(self): """ Gets the type_of_supply of this Upv1capturecontextsDataOrderInformationLineItems. + Type of supply :return: The type_of_supply of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -489,6 +516,7 @@ def type_of_supply(self): def type_of_supply(self, type_of_supply): """ Sets the type_of_supply of this Upv1capturecontextsDataOrderInformationLineItems. + Type of supply :param type_of_supply: The type_of_supply of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -500,6 +528,7 @@ def type_of_supply(self, type_of_supply): def commodity_code(self): """ Gets the commodity_code of this Upv1capturecontextsDataOrderInformationLineItems. + Commodity code :return: The commodity_code of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -510,6 +539,7 @@ def commodity_code(self): def commodity_code(self, commodity_code): """ Sets the commodity_code of this Upv1capturecontextsDataOrderInformationLineItems. + Commodity code :param commodity_code: The commodity_code of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -521,6 +551,7 @@ def commodity_code(self, commodity_code): def discount_amount(self): """ Gets the discount_amount of this Upv1capturecontextsDataOrderInformationLineItems. + Discount amount applied :return: The discount_amount of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -531,6 +562,7 @@ def discount_amount(self): def discount_amount(self, discount_amount): """ Sets the discount_amount of this Upv1capturecontextsDataOrderInformationLineItems. + Discount amount applied :param discount_amount: The discount_amount of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -542,6 +574,7 @@ def discount_amount(self, discount_amount): def discount_applied(self): """ Gets the discount_applied of this Upv1capturecontextsDataOrderInformationLineItems. + Indicates if discount applied :return: The discount_applied of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: bool @@ -552,6 +585,7 @@ def discount_applied(self): def discount_applied(self, discount_applied): """ Sets the discount_applied of this Upv1capturecontextsDataOrderInformationLineItems. + Indicates if discount applied :param discount_applied: The discount_applied of this Upv1capturecontextsDataOrderInformationLineItems. :type: bool @@ -563,6 +597,7 @@ def discount_applied(self, discount_applied): def discount_rate(self): """ Gets the discount_rate of this Upv1capturecontextsDataOrderInformationLineItems. + Discount rate applied :return: The discount_rate of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -573,6 +608,7 @@ def discount_rate(self): def discount_rate(self, discount_rate): """ Sets the discount_rate of this Upv1capturecontextsDataOrderInformationLineItems. + Discount rate applied :param discount_rate: The discount_rate of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -584,6 +620,7 @@ def discount_rate(self, discount_rate): def invoice_number(self): """ Gets the invoice_number of this Upv1capturecontextsDataOrderInformationLineItems. + Invoice number for the line item :return: The invoice_number of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -594,6 +631,7 @@ def invoice_number(self): def invoice_number(self, invoice_number): """ Sets the invoice_number of this Upv1capturecontextsDataOrderInformationLineItems. + Invoice number for the line item :param invoice_number: The invoice_number of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -626,6 +664,7 @@ def tax_details(self, tax_details): def fulfillment_type(self): """ Gets the fulfillment_type of this Upv1capturecontextsDataOrderInformationLineItems. + Fulfillment type :return: The fulfillment_type of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -636,6 +675,7 @@ def fulfillment_type(self): def fulfillment_type(self, fulfillment_type): """ Sets the fulfillment_type of this Upv1capturecontextsDataOrderInformationLineItems. + Fulfillment type :param fulfillment_type: The fulfillment_type of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -647,6 +687,7 @@ def fulfillment_type(self, fulfillment_type): def weight(self): """ Gets the weight of this Upv1capturecontextsDataOrderInformationLineItems. + Weight of the product :return: The weight of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -657,6 +698,7 @@ def weight(self): def weight(self, weight): """ Sets the weight of this Upv1capturecontextsDataOrderInformationLineItems. + Weight of the product :param weight: The weight of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -668,6 +710,7 @@ def weight(self, weight): def weight_identifier(self): """ Gets the weight_identifier of this Upv1capturecontextsDataOrderInformationLineItems. + Weight identifier :return: The weight_identifier of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -678,6 +721,7 @@ def weight_identifier(self): def weight_identifier(self, weight_identifier): """ Sets the weight_identifier of this Upv1capturecontextsDataOrderInformationLineItems. + Weight identifier :param weight_identifier: The weight_identifier of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -689,6 +733,7 @@ def weight_identifier(self, weight_identifier): def weight_unit(self): """ Gets the weight_unit of this Upv1capturecontextsDataOrderInformationLineItems. + Unit of weight of the product :return: The weight_unit of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -699,6 +744,7 @@ def weight_unit(self): def weight_unit(self, weight_unit): """ Sets the weight_unit of this Upv1capturecontextsDataOrderInformationLineItems. + Unit of weight of the product :param weight_unit: The weight_unit of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -710,6 +756,7 @@ def weight_unit(self, weight_unit): def reference_data_code(self): """ Gets the reference_data_code of this Upv1capturecontextsDataOrderInformationLineItems. + Reference data code :return: The reference_data_code of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -720,6 +767,7 @@ def reference_data_code(self): def reference_data_code(self, reference_data_code): """ Sets the reference_data_code of this Upv1capturecontextsDataOrderInformationLineItems. + Reference data code :param reference_data_code: The reference_data_code of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -731,6 +779,7 @@ def reference_data_code(self, reference_data_code): def reference_data_number(self): """ Gets the reference_data_number of this Upv1capturecontextsDataOrderInformationLineItems. + Reference data number :return: The reference_data_number of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -741,6 +790,7 @@ def reference_data_number(self): def reference_data_number(self, reference_data_number): """ Sets the reference_data_number of this Upv1capturecontextsDataOrderInformationLineItems. + Reference data number :param reference_data_number: The reference_data_number of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -752,6 +802,7 @@ def reference_data_number(self, reference_data_number): def unit_tax_amount(self): """ Gets the unit_tax_amount of this Upv1capturecontextsDataOrderInformationLineItems. + Unit tax amount :return: The unit_tax_amount of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -762,6 +813,7 @@ def unit_tax_amount(self): def unit_tax_amount(self, unit_tax_amount): """ Sets the unit_tax_amount of this Upv1capturecontextsDataOrderInformationLineItems. + Unit tax amount :param unit_tax_amount: The unit_tax_amount of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -773,6 +825,7 @@ def unit_tax_amount(self, unit_tax_amount): def product_description(self): """ Gets the product_description of this Upv1capturecontextsDataOrderInformationLineItems. + Description of the product :return: The product_description of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -783,6 +836,7 @@ def product_description(self): def product_description(self, product_description): """ Sets the product_description of this Upv1capturecontextsDataOrderInformationLineItems. + Description of the product :param product_description: The product_description of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -794,6 +848,7 @@ def product_description(self, product_description): def gift_card_currency(self): """ Gets the gift_card_currency of this Upv1capturecontextsDataOrderInformationLineItems. + Gift card currency :return: The gift_card_currency of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -804,6 +859,7 @@ def gift_card_currency(self): def gift_card_currency(self, gift_card_currency): """ Sets the gift_card_currency of this Upv1capturecontextsDataOrderInformationLineItems. + Gift card currency :param gift_card_currency: The gift_card_currency of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -815,6 +871,7 @@ def gift_card_currency(self, gift_card_currency): def shipping_destination_types(self): """ Gets the shipping_destination_types of this Upv1capturecontextsDataOrderInformationLineItems. + Shipping destination types :return: The shipping_destination_types of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: str @@ -825,6 +882,7 @@ def shipping_destination_types(self): def shipping_destination_types(self, shipping_destination_types): """ Sets the shipping_destination_types of this Upv1capturecontextsDataOrderInformationLineItems. + Shipping destination types :param shipping_destination_types: The shipping_destination_types of this Upv1capturecontextsDataOrderInformationLineItems. :type: str @@ -836,6 +894,7 @@ def shipping_destination_types(self, shipping_destination_types): def gift(self): """ Gets the gift of this Upv1capturecontextsDataOrderInformationLineItems. + Indicates if item is a gift :return: The gift of this Upv1capturecontextsDataOrderInformationLineItems. :rtype: bool @@ -846,6 +905,7 @@ def gift(self): def gift(self, gift): """ Sets the gift of this Upv1capturecontextsDataOrderInformationLineItems. + Indicates if item is a gift :param gift: The gift of this Upv1capturecontextsDataOrderInformationLineItems. :type: bool diff --git a/CyberSource/models/upv1capturecontexts_data_order_information_line_items_passenger.py b/CyberSource/models/upv1capturecontexts_data_order_information_line_items_passenger.py index 89e314e0..5f7df318 100644 --- a/CyberSource/models/upv1capturecontexts_data_order_information_line_items_passenger.py +++ b/CyberSource/models/upv1capturecontexts_data_order_information_line_items_passenger.py @@ -86,6 +86,7 @@ def __init__(self, type=None, status=None, phone=None, first_name=None, last_nam def type(self): """ Gets the type of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger type :return: The type of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :rtype: str @@ -96,6 +97,7 @@ def type(self): def type(self, type): """ Sets the type of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger type :param type: The type of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :type: str @@ -107,6 +109,7 @@ def type(self, type): def status(self): """ Gets the status of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger status :return: The status of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :rtype: str @@ -117,6 +120,7 @@ def status(self): def status(self, status): """ Sets the status of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger status :param status: The status of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :type: str @@ -128,6 +132,7 @@ def status(self, status): def phone(self): """ Gets the phone of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger phone number :return: The phone of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :rtype: str @@ -138,6 +143,7 @@ def phone(self): def phone(self, phone): """ Sets the phone of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger phone number :param phone: The phone of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :type: str @@ -149,6 +155,7 @@ def phone(self, phone): def first_name(self): """ Gets the first_name of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger first name :return: The first_name of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :rtype: str @@ -159,6 +166,7 @@ def first_name(self): def first_name(self, first_name): """ Sets the first_name of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger first name :param first_name: The first_name of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :type: str @@ -170,6 +178,7 @@ def first_name(self, first_name): def last_name(self): """ Gets the last_name of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger last name :return: The last_name of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :rtype: str @@ -180,6 +189,7 @@ def last_name(self): def last_name(self, last_name): """ Sets the last_name of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger last name :param last_name: The last_name of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :type: str @@ -191,6 +201,7 @@ def last_name(self, last_name): def id(self): """ Gets the id of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger ID :return: The id of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :rtype: str @@ -201,6 +212,7 @@ def id(self): def id(self, id): """ Sets the id of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger ID :param id: The id of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :type: str @@ -212,6 +224,7 @@ def id(self, id): def email(self): """ Gets the email of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger email :return: The email of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :rtype: str @@ -222,6 +235,7 @@ def email(self): def email(self, email): """ Sets the email of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger email :param email: The email of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :type: str @@ -233,6 +247,7 @@ def email(self, email): def nationality(self): """ Gets the nationality of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger nationality :return: The nationality of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :rtype: str @@ -243,6 +258,7 @@ def nationality(self): def nationality(self, nationality): """ Sets the nationality of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. + Passenger nationality :param nationality: The nationality of this Upv1capturecontextsDataOrderInformationLineItemsPassenger. :type: str diff --git a/CyberSource/models/upv1capturecontexts_data_order_information_line_items_tax_details.py b/CyberSource/models/upv1capturecontexts_data_order_information_line_items_tax_details.py index 7a85cd46..58621d87 100644 --- a/CyberSource/models/upv1capturecontexts_data_order_information_line_items_tax_details.py +++ b/CyberSource/models/upv1capturecontexts_data_order_information_line_items_tax_details.py @@ -81,6 +81,7 @@ def __init__(self, type=None, amount=None, rate=None, code=None, tax_id=None, ap def type(self): """ Gets the type of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Type of tax :return: The type of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :rtype: str @@ -91,6 +92,7 @@ def type(self): def type(self, type): """ Sets the type of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Type of tax :param type: The type of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :type: str @@ -102,6 +104,7 @@ def type(self, type): def amount(self): """ Gets the amount of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax amount :return: The amount of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :rtype: str @@ -112,6 +115,7 @@ def amount(self): def amount(self, amount): """ Sets the amount of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax amount :param amount: The amount of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :type: str @@ -123,6 +127,7 @@ def amount(self, amount): def rate(self): """ Gets the rate of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax rate :return: The rate of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :rtype: str @@ -133,6 +138,7 @@ def rate(self): def rate(self, rate): """ Sets the rate of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax rate :param rate: The rate of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :type: str @@ -144,6 +150,7 @@ def rate(self, rate): def code(self): """ Gets the code of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax code :return: The code of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :rtype: str @@ -154,6 +161,7 @@ def code(self): def code(self, code): """ Sets the code of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax code :param code: The code of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :type: str @@ -165,6 +173,7 @@ def code(self, code): def tax_id(self): """ Gets the tax_id of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax Identifier :return: The tax_id of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :rtype: str @@ -175,6 +184,7 @@ def tax_id(self): def tax_id(self, tax_id): """ Sets the tax_id of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax Identifier :param tax_id: The tax_id of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :type: str @@ -186,6 +196,7 @@ def tax_id(self, tax_id): def applied(self): """ Gets the applied of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Indicates if tax applied :return: The applied of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :rtype: bool @@ -196,6 +207,7 @@ def applied(self): def applied(self, applied): """ Sets the applied of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Indicates if tax applied :param applied: The applied of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :type: bool @@ -207,6 +219,7 @@ def applied(self, applied): def exemption_code(self): """ Gets the exemption_code of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax exemption code :return: The exemption_code of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :rtype: str @@ -217,6 +230,7 @@ def exemption_code(self): def exemption_code(self, exemption_code): """ Sets the exemption_code of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. + Tax exemption code :param exemption_code: The exemption_code of this Upv1capturecontextsDataOrderInformationLineItemsTaxDetails. :type: str diff --git a/CyberSource/models/upv1capturecontexts_data_payment_information.py b/CyberSource/models/upv1capturecontexts_data_payment_information.py new file mode 100644 index 00000000..175c0fa5 --- /dev/null +++ b/CyberSource/models/upv1capturecontexts_data_payment_information.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Upv1capturecontextsDataPaymentInformation(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'card': 'Upv1capturecontextsDataPaymentInformationCard' + } + + attribute_map = { + 'card': 'card' + } + + def __init__(self, card=None): + """ + Upv1capturecontextsDataPaymentInformation - a model defined in Swagger + """ + + self._card = None + + if card is not None: + self.card = card + + @property + def card(self): + """ + Gets the card of this Upv1capturecontextsDataPaymentInformation. + + :return: The card of this Upv1capturecontextsDataPaymentInformation. + :rtype: Upv1capturecontextsDataPaymentInformationCard + """ + return self._card + + @card.setter + def card(self, card): + """ + Sets the card of this Upv1capturecontextsDataPaymentInformation. + + :param card: The card of this Upv1capturecontextsDataPaymentInformation. + :type: Upv1capturecontextsDataPaymentInformationCard + """ + + self._card = card + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Upv1capturecontextsDataPaymentInformation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/upv1capturecontexts_data_payment_information_card.py b/CyberSource/models/upv1capturecontexts_data_payment_information_card.py new file mode 100644 index 00000000..4900738d --- /dev/null +++ b/CyberSource/models/upv1capturecontexts_data_payment_information_card.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from pprint import pformat +from six import iteritems +import re + + +class Upv1capturecontextsDataPaymentInformationCard(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'type_selection_indicator': 'str' + } + + attribute_map = { + 'type_selection_indicator': 'typeSelectionIndicator' + } + + def __init__(self, type_selection_indicator=None): + """ + Upv1capturecontextsDataPaymentInformationCard - a model defined in Swagger + """ + + self._type_selection_indicator = None + + if type_selection_indicator is not None: + self.type_selection_indicator = type_selection_indicator + + @property + def type_selection_indicator(self): + """ + Gets the type_selection_indicator of this Upv1capturecontextsDataPaymentInformationCard. + The card type selection indicator + + :return: The type_selection_indicator of this Upv1capturecontextsDataPaymentInformationCard. + :rtype: str + """ + return self._type_selection_indicator + + @type_selection_indicator.setter + def type_selection_indicator(self, type_selection_indicator): + """ + Sets the type_selection_indicator of this Upv1capturecontextsDataPaymentInformationCard. + The card type selection indicator + + :param type_selection_indicator: The type_selection_indicator of this Upv1capturecontextsDataPaymentInformationCard. + :type: str + """ + + self._type_selection_indicator = type_selection_indicator + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, Upv1capturecontextsDataPaymentInformationCard): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/CyberSource/models/upv1capturecontexts_data_processing_information.py b/CyberSource/models/upv1capturecontexts_data_processing_information.py index aec9c157..f8d4a367 100644 --- a/CyberSource/models/upv1capturecontexts_data_processing_information.py +++ b/CyberSource/models/upv1capturecontexts_data_processing_information.py @@ -56,6 +56,7 @@ def __init__(self, reconciliation_id=None, authorization_options=None): def reconciliation_id(self): """ Gets the reconciliation_id of this Upv1capturecontextsDataProcessingInformation. + The reconciliation ID :return: The reconciliation_id of this Upv1capturecontextsDataProcessingInformation. :rtype: str @@ -66,6 +67,7 @@ def reconciliation_id(self): def reconciliation_id(self, reconciliation_id): """ Sets the reconciliation_id of this Upv1capturecontextsDataProcessingInformation. + The reconciliation ID :param reconciliation_id: The reconciliation_id of this Upv1capturecontextsDataProcessingInformation. :type: str diff --git a/CyberSource/models/upv1capturecontexts_data_processing_information_authorization_options.py b/CyberSource/models/upv1capturecontexts_data_processing_information_authorization_options.py index 6db607f3..0cba7c26 100644 --- a/CyberSource/models/upv1capturecontexts_data_processing_information_authorization_options.py +++ b/CyberSource/models/upv1capturecontexts_data_processing_information_authorization_options.py @@ -31,36 +31,62 @@ class Upv1capturecontextsDataProcessingInformationAuthorizationOptions(object): """ swagger_types = { 'aft_indicator': 'bool', + 'auth_indicator': 'str', + 'ignore_cv_result': 'bool', + 'ignore_avs_result': 'bool', 'initiator': 'Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator', - 'business_application_id': 'str' + 'business_application_id': 'str', + 'commerce_indicator': 'str', + 'processing_instruction': 'str' } attribute_map = { 'aft_indicator': 'aftIndicator', + 'auth_indicator': 'authIndicator', + 'ignore_cv_result': 'ignoreCvResult', + 'ignore_avs_result': 'ignoreAvsResult', 'initiator': 'initiator', - 'business_application_id': 'businessApplicationId' + 'business_application_id': 'businessApplicationId', + 'commerce_indicator': 'commerceIndicator', + 'processing_instruction': 'processingInstruction' } - def __init__(self, aft_indicator=None, initiator=None, business_application_id=None): + def __init__(self, aft_indicator=None, auth_indicator=None, ignore_cv_result=None, ignore_avs_result=None, initiator=None, business_application_id=None, commerce_indicator=None, processing_instruction=None): """ Upv1capturecontextsDataProcessingInformationAuthorizationOptions - a model defined in Swagger """ self._aft_indicator = None + self._auth_indicator = None + self._ignore_cv_result = None + self._ignore_avs_result = None self._initiator = None self._business_application_id = None + self._commerce_indicator = None + self._processing_instruction = None if aft_indicator is not None: self.aft_indicator = aft_indicator + if auth_indicator is not None: + self.auth_indicator = auth_indicator + if ignore_cv_result is not None: + self.ignore_cv_result = ignore_cv_result + if ignore_avs_result is not None: + self.ignore_avs_result = ignore_avs_result if initiator is not None: self.initiator = initiator if business_application_id is not None: self.business_application_id = business_application_id + if commerce_indicator is not None: + self.commerce_indicator = commerce_indicator + if processing_instruction is not None: + self.processing_instruction = processing_instruction @property def aft_indicator(self): """ Gets the aft_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The AFT indicator :return: The aft_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. :rtype: bool @@ -71,6 +97,7 @@ def aft_indicator(self): def aft_indicator(self, aft_indicator): """ Sets the aft_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The AFT indicator :param aft_indicator: The aft_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. :type: bool @@ -78,6 +105,75 @@ def aft_indicator(self, aft_indicator): self._aft_indicator = aft_indicator + @property + def auth_indicator(self): + """ + Gets the auth_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The authorization indicator + + :return: The auth_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :rtype: str + """ + return self._auth_indicator + + @auth_indicator.setter + def auth_indicator(self, auth_indicator): + """ + Sets the auth_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The authorization indicator + + :param auth_indicator: The auth_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :type: str + """ + + self._auth_indicator = auth_indicator + + @property + def ignore_cv_result(self): + """ + Gets the ignore_cv_result of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + Ignore the CV result + + :return: The ignore_cv_result of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :rtype: bool + """ + return self._ignore_cv_result + + @ignore_cv_result.setter + def ignore_cv_result(self, ignore_cv_result): + """ + Sets the ignore_cv_result of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + Ignore the CV result + + :param ignore_cv_result: The ignore_cv_result of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :type: bool + """ + + self._ignore_cv_result = ignore_cv_result + + @property + def ignore_avs_result(self): + """ + Gets the ignore_avs_result of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + Ignore the AVS result + + :return: The ignore_avs_result of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :rtype: bool + """ + return self._ignore_avs_result + + @ignore_avs_result.setter + def ignore_avs_result(self, ignore_avs_result): + """ + Sets the ignore_avs_result of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + Ignore the AVS result + + :param ignore_avs_result: The ignore_avs_result of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :type: bool + """ + + self._ignore_avs_result = ignore_avs_result + @property def initiator(self): """ @@ -103,6 +199,7 @@ def initiator(self, initiator): def business_application_id(self): """ Gets the business_application_id of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The business application Id :return: The business_application_id of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. :rtype: str @@ -113,6 +210,7 @@ def business_application_id(self): def business_application_id(self, business_application_id): """ Sets the business_application_id of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The business application Id :param business_application_id: The business_application_id of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. :type: str @@ -120,6 +218,52 @@ def business_application_id(self, business_application_id): self._business_application_id = business_application_id + @property + def commerce_indicator(self): + """ + Gets the commerce_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The commerce indicator + + :return: The commerce_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :rtype: str + """ + return self._commerce_indicator + + @commerce_indicator.setter + def commerce_indicator(self, commerce_indicator): + """ + Sets the commerce_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The commerce indicator + + :param commerce_indicator: The commerce_indicator of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :type: str + """ + + self._commerce_indicator = commerce_indicator + + @property + def processing_instruction(self): + """ + Gets the processing_instruction of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The processing instruction + + :return: The processing_instruction of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :rtype: str + """ + return self._processing_instruction + + @processing_instruction.setter + def processing_instruction(self, processing_instruction): + """ + Sets the processing_instruction of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + The processing instruction + + :param processing_instruction: The processing_instruction of this Upv1capturecontextsDataProcessingInformationAuthorizationOptions. + :type: str + """ + + self._processing_instruction = processing_instruction + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.py b/CyberSource/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.py index 7a30986a..8ca6a47d 100644 --- a/CyberSource/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.py +++ b/CyberSource/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.py @@ -56,6 +56,7 @@ def __init__(self, credential_stored_on_file=None, merchant_initiated_transactio def credential_stored_on_file(self): """ Gets the credential_stored_on_file of this Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator. + Store the credential on file :return: The credential_stored_on_file of this Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator. :rtype: bool @@ -66,6 +67,7 @@ def credential_stored_on_file(self): def credential_stored_on_file(self, credential_stored_on_file): """ Sets the credential_stored_on_file of this Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator. + Store the credential on file :param credential_stored_on_file: The credential_stored_on_file of this Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator. :type: bool diff --git a/CyberSource/models/upv1capturecontexts_data_recipient_information.py b/CyberSource/models/upv1capturecontexts_data_recipient_information.py index e8a9d441..e7129665 100644 --- a/CyberSource/models/upv1capturecontexts_data_recipient_information.py +++ b/CyberSource/models/upv1capturecontexts_data_recipient_information.py @@ -36,7 +36,9 @@ class Upv1capturecontextsDataRecipientInformation(object): 'country': 'str', 'account_id': 'str', 'administrative_area': 'str', - 'account_type': 'str' + 'account_type': 'str', + 'date_of_birth': 'str', + 'postal_code': 'str' } attribute_map = { @@ -46,10 +48,12 @@ class Upv1capturecontextsDataRecipientInformation(object): 'country': 'country', 'account_id': 'accountId', 'administrative_area': 'administrativeArea', - 'account_type': 'accountType' + 'account_type': 'accountType', + 'date_of_birth': 'dateOfBirth', + 'postal_code': 'postalCode' } - def __init__(self, first_name=None, middle_name=None, last_name=None, country=None, account_id=None, administrative_area=None, account_type=None): + def __init__(self, first_name=None, middle_name=None, last_name=None, country=None, account_id=None, administrative_area=None, account_type=None, date_of_birth=None, postal_code=None): """ Upv1capturecontextsDataRecipientInformation - a model defined in Swagger """ @@ -61,6 +65,8 @@ def __init__(self, first_name=None, middle_name=None, last_name=None, country=No self._account_id = None self._administrative_area = None self._account_type = None + self._date_of_birth = None + self._postal_code = None if first_name is not None: self.first_name = first_name @@ -76,6 +82,10 @@ def __init__(self, first_name=None, middle_name=None, last_name=None, country=No self.administrative_area = administrative_area if account_type is not None: self.account_type = account_type + if date_of_birth is not None: + self.date_of_birth = date_of_birth + if postal_code is not None: + self.postal_code = postal_code @property def first_name(self): @@ -232,6 +242,52 @@ def account_type(self, account_type): self._account_type = account_type + @property + def date_of_birth(self): + """ + Gets the date_of_birth of this Upv1capturecontextsDataRecipientInformation. + The date of birth of the recipient + + :return: The date_of_birth of this Upv1capturecontextsDataRecipientInformation. + :rtype: str + """ + return self._date_of_birth + + @date_of_birth.setter + def date_of_birth(self, date_of_birth): + """ + Sets the date_of_birth of this Upv1capturecontextsDataRecipientInformation. + The date of birth of the recipient + + :param date_of_birth: The date_of_birth of this Upv1capturecontextsDataRecipientInformation. + :type: str + """ + + self._date_of_birth = date_of_birth + + @property + def postal_code(self): + """ + Gets the postal_code of this Upv1capturecontextsDataRecipientInformation. + The postal code of the recipient + + :return: The postal_code of this Upv1capturecontextsDataRecipientInformation. + :rtype: str + """ + return self._postal_code + + @postal_code.setter + def postal_code(self, postal_code): + """ + Sets the postal_code of this Upv1capturecontextsDataRecipientInformation. + The postal code of the recipient + + :param postal_code: The postal_code of this Upv1capturecontextsDataRecipientInformation. + :type: str + """ + + self._postal_code = postal_code + def to_dict(self): """ Returns the model properties as a dict diff --git a/CyberSource/utilities/flex/CaptureContextParsingUtility.py b/CyberSource/utilities/flex/CaptureContextParsingUtility.py new file mode 100644 index 00000000..69280761 --- /dev/null +++ b/CyberSource/utilities/flex/CaptureContextParsingUtility.py @@ -0,0 +1,154 @@ +# coding: utf-8 +""" +Capture Context Parsing Utility Module. + +This module provides functionality to parse and verify JWT capture context responses +from CyberSource. It supports signature verification using public keys fetched from +the Flex V2 API, with caching to improve performance. +""" + +from __future__ import absolute_import + +from authenticationsdk.util.jwt.JWTUtility import parse, verify_jwt +from authenticationsdk.util.jwt.JWTExceptions import ( + InvalidJwtException, + InvalidJwkException, + JwtSignatureValidationException +) +from authenticationsdk.util.Cache import FileCache +from CyberSource.utilities.flex.PublicKeyApiController import fetch_public_key + + +def parse_capture_context_response(jwt_value, merchant_config, verify_jwt_signature=True): + """ + Parse a capture context JWT response and optionally verify its signature. + + This function parses a JWT token and optionally verifies its signature using + the public key fetched from the CyberSource Flex V2 API. Public keys are cached + to improve performance on subsequent verifications. + + Args: + jwt_value (str): The JWT token to parse + merchant_config (object): The merchant configuration object containing run_environment + verify_jwt_signature (bool): Whether to verify the JWT signature (default: True) + + Returns: + dict: The decoded JWT payload + + Raises: + InvalidJwtException: If the JWT token is invalid or cannot be parsed + InvalidJwkException: If the public key (JWK) is invalid + JwtSignatureValidationException: If signature verification fails + ValueError: If merchant_config is missing or invalid + Exception: For other errors during parsing or verification + """ + if not jwt_value: + raise InvalidJwtException('JWT value is null or undefined') + + if not merchant_config: + raise ValueError('merchantConfig is required') + + # Parse the JWT token + try: + parsed_jwt = parse(jwt_value) + except InvalidJwtException: + raise + except Exception as parse_error: + raise InvalidJwtException('Failed to parse JWT token', parse_error) + + # If verification is not requested, return the payload immediately + if not verify_jwt_signature: + return parsed_jwt['payload'] + + # Extract the key ID from the JWT header + header = parsed_jwt['header'] + kid = header.get('kid') + + if not kid: + raise JwtSignatureValidationException('JWT header missing key ID (kid) field') + + # Get the run environment from merchant config + run_environment = None + if hasattr(merchant_config, 'run_environment'): + run_environment = merchant_config.run_environment + elif hasattr(merchant_config, 'getRunEnvironment'): + run_environment = merchant_config.getRunEnvironment() + + if not run_environment: + raise ValueError('Run environment not found in merchant config') + + # Try to get the public key from cache + cache = FileCache() + public_key = None + is_public_key_from_cache = False + + try: + public_key = cache.get_public_key_from_cache(run_environment, kid) + is_public_key_from_cache = True + except KeyError: + is_public_key_from_cache = False + + # If public key is not in cache or verification fails, fetch from API + if not is_public_key_from_cache: + public_key = _fetch_public_key_and_verify(jwt_value, kid, run_environment, cache) + return parsed_jwt['payload'] + + # Try to verify with cached public key + try: + verify_jwt(jwt_value, public_key) + return parsed_jwt['payload'] + except (JwtSignatureValidationException, InvalidJwkException): + # If verification fails with cached key, fetch fresh key from API + public_key = _fetch_public_key_and_verify(jwt_value, kid, run_environment, cache) + return parsed_jwt['payload'] + + +def _fetch_public_key_and_verify(jwt_value, kid, run_environment, cache): + """ + Fetch public key from API and perform JWT verification. + + This is a private helper function that fetches the public key from the + Flex V2 API, caches it, and verifies the JWT signature. + + Args: + jwt_value (str): The JWT token + kid (str): The key ID + run_environment (str): The runtime environment + cache (FileCache): The cache instance + + Returns: + dict: The public key in JWK format + + Raises: + InvalidJwkException: If the JWK cannot be parsed + JwtSignatureValidationException: If verification fails + Exception: For other errors during fetch or verification + """ + try: + # Fetch the public key from the Flex V2 API + public_key = fetch_public_key(kid, run_environment) + + # Add to cache (cache failure is not critical) + try: + cache.add_public_key_to_cache(run_environment, kid, public_key) + except Exception: + # Cache failure is not critical, continue with the public key + pass + + except Exception as fetch_error: + # Re-raise with appropriate error type + if 'Invalid Runtime URL' in str(fetch_error): + raise ValueError('Invalid Runtime URL in Merchant Config') + elif 'No response received' in str(fetch_error) or 'Network error' in str(fetch_error): + raise Exception('Network Error: No response received while trying to retrieve public key from server', fetch_error) + elif 'Failed to parse JWK' in str(fetch_error): + raise InvalidJwkException('JWK received from server cannot be parsed correctly', fetch_error) + else: + raise + + # Verify the JWT with the fetched public key + try: + verify_jwt(jwt_value, public_key) + return public_key + except (JwtSignatureValidationException, InvalidJwkException): + raise JwtSignatureValidationException('JWT validation failed') diff --git a/CyberSource/utilities/flex/PublicKeyApiController.py b/CyberSource/utilities/flex/PublicKeyApiController.py new file mode 100644 index 00000000..ae60d5a9 --- /dev/null +++ b/CyberSource/utilities/flex/PublicKeyApiController.py @@ -0,0 +1,119 @@ +# coding: utf-8 +""" +Public Key API Controller Module. + +This module provides functionality to fetch RSA public keys in JWK format +from the CyberSource Flex V2 public keys API endpoint. +""" + +from __future__ import absolute_import + +import json +import ssl +import certifi +import urllib3 + +from authenticationsdk.util.jwt.JWTUtility import get_rsa_public_key_from_jwk +from authenticationsdk.util.jwt.JWTExceptions import InvalidJwkException +from CyberSource.configuration import Configuration + + +def fetch_public_key(kid, run_environment): + """ + Fetch the public key for the given key ID (kid) from the specified run environment. + + This function makes an HTTP GET request to the Flex V2 public keys endpoint + to retrieve the RSA public key in JWK format. + + Args: + kid (str): The key ID for which to fetch the public key + run_environment (str): The environment domain (e.g., 'apitest.cybersource.com') + + Returns: + RSAPublicKey: The RSA public key object from cryptography library + + Raises: + ValueError: If kid or run_environment is missing + urllib3.exceptions.HTTPError: If the HTTP request fails + InvalidJwkException: If the JWK cannot be parsed correctly + Exception: For other errors during the fetch or parse process + """ + if not kid: + raise ValueError('kid parameter is required') + + if not run_environment: + raise ValueError('runEnvironment parameter is required') + + url = f"https://{run_environment}/flex/v2/public-keys/{kid}" + + headers = { + 'Accept': 'application/json' + } + + # Use the same SSL configuration pattern as rest.py + configuration = Configuration() + # Use certifi bundle as fallback (same as rest.py) + configuration.cert_reqs = ssl.CERT_REQUIRED + configuration.ca_certs = certifi.where() + + # Create urllib3 PoolManager with SSL configuration (matches rest.py pattern) + http = urllib3.PoolManager( + cert_reqs=configuration.cert_reqs, + ca_certs=configuration.ca_certs + ) + + try: + # Make the HTTP GET request + response = http.request('GET', url, headers=headers) + + # Check if the request was successful + if response.status not in range(200, 300): + error = Exception( + f'HTTP {response.status}: {response.reason} - Failed to fetch public key for kid: {kid}' + ) + error.status = response.status + raise error + + # Get response data as string + response_data = response.data.decode('utf-8') + + if not response_data: + raise Exception('Empty response received from public key endpoint') + + # Use response data directly as JSON string + jwk_json_string = response_data + + # Extract and validate the RSA public key from JWK + try: + public_key = get_rsa_public_key_from_jwk(jwk_json_string) + if not public_key: + raise Exception('Invalid public key received from JWK') + return public_key + except InvalidJwkException as parse_error: + error = Exception(f'Failed to parse JWK response: {str(parse_error)}') + error.original_error = parse_error + raise error + + except urllib3.exceptions.HTTPError as http_error: + error = Exception(f'HTTP error - Failed to fetch public key for kid: {kid}') + error.original_error = http_error + raise error + + except urllib3.exceptions.MaxRetryError as retry_error: + error = Exception(f'No response received - Failed to fetch public key for kid: {kid}') + error.original_error = retry_error + raise error + + except urllib3.exceptions.SSLError as ssl_error: + error = Exception(f'SSL error - Failed to fetch public key for kid: {kid}') + error.original_error = ssl_error + raise error + + except Exception as general_error: + # Re-raise if it's already one of our custom errors + if hasattr(general_error, 'original_error'): + raise + # Otherwise wrap it + error = Exception(f'Error fetching public key: {str(general_error)}') + error.original_error = general_error + raise error diff --git a/authenticationsdk/util/Cache.py b/authenticationsdk/util/Cache.py index 3320290b..d9943731 100644 --- a/authenticationsdk/util/Cache.py +++ b/authenticationsdk/util/Cache.py @@ -39,6 +39,8 @@ def _initialize_cache(self): self._p12_cache_lock = threading.RLock() self.mlecache = {} self._mle_cache_lock = threading.RLock() + self.public_key_cache = {} + self._public_key_cache_lock = threading.RLock() def fetch_cached_p12_certificate(self, merchant_config, p12_file_path, key_password): try: @@ -166,4 +168,38 @@ def setup_mle_cache(self, merchant_config, cache_key, certificate_file_path): private_key ) with self._mle_cache_lock: - self.mlecache[cache_key] = cert_info \ No newline at end of file + self.mlecache[cache_key] = cert_info + + def add_public_key_to_cache(self, run_environment, key_id, public_key): + """ + Add a public key to the cache for Flex V2 public keys. + + Args: + run_environment (str): The runtime environment (e.g., 'apitest.cybersource.com') + key_id (str): The key ID (kid) from the JWT header + public_key (dict): The RSA public key in JWK format + """ + cache_key = f"{GlobalLabelParameters.PUBLIC_KEY_CACHE_IDENTIFIER}_{run_environment}_{key_id}" + with self._public_key_cache_lock: + self.public_key_cache[cache_key] = public_key + + def get_public_key_from_cache(self, run_environment, key_id): + """ + Retrieve a public key from the cache. + + Args: + run_environment (str): The runtime environment (e.g., 'apitest.cybersource.com') + key_id (str): The key ID (kid) from the JWT header + + Returns: + dict: The RSA public key in JWK format + + Raises: + KeyError: If the public key is not found in the cache + """ + cache_key = f"{GlobalLabelParameters.PUBLIC_KEY_CACHE_IDENTIFIER}_{run_environment}_{key_id}" + + with self._public_key_cache_lock: + if cache_key not in self.public_key_cache: + raise KeyError(f"Public key not found in cache for [{run_environment}, {key_id}]") + return self.public_key_cache[cache_key] \ No newline at end of file diff --git a/authenticationsdk/util/GlobalLabelParameters.py b/authenticationsdk/util/GlobalLabelParameters.py index df1f311e..d6bcbfa8 100644 --- a/authenticationsdk/util/GlobalLabelParameters.py +++ b/authenticationsdk/util/GlobalLabelParameters.py @@ -99,6 +99,7 @@ class GlobalLabelParameters: MESSAGE_AFTER_MLE_REQUEST = "Request after MLE: " MLE_CACHE_IDENTIFIER_FOR_CONFIG_CERT = "mleCertFromMerchantConfig" MLE_CACHE_IDENTIFIER_FOR_P12_CERT = "mleCertFromP12" + PUBLIC_KEY_CACHE_IDENTIFIER = "FlexV2PublicKeys" DEFAULT_MAX_IDLE_CONNECTIONS = 100 DEFAULT_MAX_POOL_SIZE = 10 DEFAULT_MAX_KEEP_ALIVE_DELAY = 300 # in seconds diff --git a/authenticationsdk/util/jwt/JWTExceptions.py b/authenticationsdk/util/jwt/JWTExceptions.py new file mode 100644 index 00000000..5bf947ee --- /dev/null +++ b/authenticationsdk/util/jwt/JWTExceptions.py @@ -0,0 +1,104 @@ +# coding: utf-8 +""" +Custom exception classes for JWT operations. + +This module provides specialized exception classes for handling JWT-related errors, +including invalid JWT tokens, invalid JWK (JSON Web Key) formats, and signature +validation failures. +""" + + +class InvalidJwkException(Exception): + """ + Exception raised when a JWK (JSON Web Key) is invalid or malformed. + + This exception is used for errors related to: + - Invalid JWK JSON format + - Missing required JWK parameters (e.g., n, e for RSA keys) + - Incorrect key type (kty) + - Base64url decoding errors in JWK parameters + + Args: + message (str): Error message describing the invalid JWK + cause (Exception, optional): The underlying exception that caused this error + """ + + def __init__(self, message, cause=None): + """ + Initialize the InvalidJwkException. + + Args: + message (str): Error message describing the invalid JWK + cause (Exception, optional): The underlying exception that caused this error + """ + super(InvalidJwkException, self).__init__(message) + self.cause = cause + self.message = message + + # Chain the exception if cause is provided + if cause: + self.__cause__ = cause + + +class InvalidJwtException(Exception): + """ + Exception raised when a JWT token is invalid or malformed. + + This exception is used for errors related to: + - Invalid JWT token format (not 3 parts separated by dots) + - Empty or null JWT tokens + - Base64url decoding errors + - Invalid JSON in header or payload + + Args: + message (str): Error message describing the invalid JWT token + cause (Exception, optional): The underlying exception that caused this error + """ + + def __init__(self, message, cause=None): + """ + Initialize the InvalidJwtException. + + Args: + message (str): Error message describing the invalid JWT token + cause (Exception, optional): The underlying exception that caused this error + """ + super(InvalidJwtException, self).__init__(message) + self.cause = cause + self.message = message + + # Chain the exception if cause is provided + if cause: + self.__cause__ = cause + + +class JwtSignatureValidationException(Exception): + """ + Exception raised when JWT signature validation fails. + + This exception is used for errors related to: + - Signature verification failures + - Missing or unsupported signing algorithms + - Missing public key + - Cryptographic verification errors + + Args: + message (str): Error message describing the signature validation failure + cause (Exception, optional): The underlying exception that caused this error + """ + + def __init__(self, message, cause=None): + """ + Initialize the JwtSignatureValidationException. + + Args: + message (str): Error message describing the signature validation failure + cause (Exception, optional): The underlying exception that caused this error + """ + super(JwtSignatureValidationException, self).__init__(message) + self.cause = cause + self.message = message + + # Chain the exception if cause is provided + if cause: + self.__cause__ = cause diff --git a/authenticationsdk/util/jwt/JWTUtility.py b/authenticationsdk/util/jwt/JWTUtility.py new file mode 100644 index 00000000..8db1cdf1 --- /dev/null +++ b/authenticationsdk/util/jwt/JWTUtility.py @@ -0,0 +1,294 @@ +# coding: utf-8 +""" +JWT (JSON Web Token) Utility Module. + +This module provides utilities for parsing and verifying JWT tokens, including: +- Parsing JWT tokens into header, payload, and signature components +- Verifying JWT signatures using RSA public keys in JWK format +- Converting JWK (JSON Web Key) to PEM format for cryptographic operations + +Supports JWT algorithms: RS256, RS384, RS512 +""" + +from __future__ import absolute_import + +import base64 +import json +from cryptography.hazmat.primitives import hashes, serialization +from cryptography.hazmat.primitives.asymmetric import rsa, padding +from cryptography.hazmat.backends import default_backend + +from .JWTExceptions import InvalidJwkException, InvalidJwtException, JwtSignatureValidationException + + +# Supported JWT algorithms and their corresponding hash algorithms +SUPPORTED_ALGORITHMS = { + 'RS256': hashes.SHA256(), + 'RS384': hashes.SHA384(), + 'RS512': hashes.SHA512() +} + + +def _base64url_decode(input_str): + """ + Decode a base64url encoded string. + + Base64url encoding is similar to base64 but uses URL-safe characters + and removes padding. + + Args: + input_str (str): The base64url encoded string + + Returns: + bytes: The decoded bytes + + Raises: + Exception: If decoding fails + """ + # Add padding and replace URL-safe characters with standard base64 characters + # Adding '==' ensures proper padding (base64 decoder ignores excess padding) + input_str = (input_str + '==').replace('-', '+').replace('_', '/') + + return base64.b64decode(input_str) + + +def _decode_jwt_part(base64url_string, part_name): + """ + Decode a base64url encoded string to a JSON object. + + Args: + base64url_string (str): The base64url encoded string + part_name (str): Name of the JWT part for error reporting (e.g., 'header', 'payload') + + Returns: + dict: The decoded JSON object + + Raises: + InvalidJwtException: If decoding or parsing fails + """ + try: + decoded_bytes = _base64url_decode(base64url_string) + json_string = decoded_bytes.decode('utf-8') + return json.loads(json_string) + except json.JSONDecodeError as decode_err: + raise InvalidJwtException('Invalid JSON in JWT {}'.format(part_name), decode_err) + except Exception as decode_err: + raise InvalidJwtException('Failed to decode JWT {} from base64url'.format(part_name), decode_err) + + +def _validate_and_parse_jwk(public_key): + """ + Validate and parse a JWK public key. + + Args: + public_key (dict or str): The RSA public key (JWK object or JSON string) + + Returns: + dict: The validated JWK object + + Raises: + InvalidJwkException: If the public key is invalid + """ + jwk_key = None + + if isinstance(public_key, str): + try: + jwk_key = json.loads(public_key) + except json.JSONDecodeError as parse_err: + raise InvalidJwkException('Invalid public key JSON format', parse_err) + elif isinstance(public_key, dict) and 'kty' in public_key: + jwk_key = public_key + else: + raise InvalidJwkException('Invalid public key format. Expected JWK object or JSON string.') + + if jwk_key.get('kty') != 'RSA': + raise InvalidJwkException('Public key must be an RSA key (kty: RSA)') + + if not jwk_key.get('n') or not jwk_key.get('e'): + raise InvalidJwkException('Invalid RSA JWK: missing required parameters (n, e)') + + return jwk_key + + +def _convert_jwk_to_public_key(jwk_key): + """ + Convert JWK RSA parameters to a cryptography RSA public key object. + + Args: + jwk_key (dict): The JWK object with RSA parameters + + Returns: + RSAPublicKey: The cryptography RSA public key object + + Raises: + InvalidJwkException: If key conversion fails + """ + try: + # Decode base64url encoded n and e parameters + n_bytes = _base64url_decode(jwk_key['n']) + e_bytes = _base64url_decode(jwk_key['e']) + except Exception as decode_err: + raise InvalidJwkException('Invalid base64url encoding in JWK parameters', decode_err) + + try: + # Convert bytes to integers + n = int.from_bytes(n_bytes, byteorder='big') + e = int.from_bytes(e_bytes, byteorder='big') + + # Create RSA public key + public_numbers = rsa.RSAPublicNumbers(e, n) + public_key = public_numbers.public_key(default_backend()) + + return public_key + except Exception as key_err: + raise InvalidJwkException('Failed to create RSA public key from JWK', key_err) + + +def parse(jwt_token): + """ + Parse a JWT token and extract its header, payload, and signature components. + + Args: + jwt_token (str): The JWT token to parse + + Returns: + dict: Dictionary containing: + - header (dict): Decoded JWT header + - payload (dict): Decoded JWT payload + - signature (str): Base64url encoded signature + - raw_header (str): Raw base64url encoded header + - raw_payload (str): Raw base64url encoded payload + + Raises: + InvalidJwtException: If the JWT token is invalid or malformed + """ + if jwt_token is None: + raise InvalidJwtException('JWT token is null or undefined') + + if not isinstance(jwt_token, str): + raise InvalidJwtException('JWT token must be a string') + + token_parts = jwt_token.split('.') + if len(token_parts) != 3: + raise InvalidJwtException('Invalid JWT token format: expected 3 parts separated by dots') + + # Validate that all parts are non-empty + if not token_parts[0] or not token_parts[1] or not token_parts[2]: + raise InvalidJwtException('Malformed JWT : JWT provided does not conform to the proper structure for JWT') + + try: + # Decode header and payload + header = _decode_jwt_part(token_parts[0], 'header') + payload = _decode_jwt_part(token_parts[1], 'payload') + signature = token_parts[2] + + return { + 'header': header, + 'payload': payload, + 'signature': signature, + 'raw_header': token_parts[0], + 'raw_payload': token_parts[1] + } + except InvalidJwtException: + # Re-raise our custom exceptions + raise + except Exception as err: + raise InvalidJwtException('Malformed JWT cannot be parsed', err) + + +def verify_jwt(jwt_token, public_key): + """ + Verify a JWT token using an RSA public key. + + This function validates the JWT signature using the provided RSA public key + in JWK format. It supports RS256, RS384, and RS512 signing algorithms. + + Args: + jwt_token (str): The JWT token to verify + public_key (dict or str): The RSA public key (JWK object or JSON string) + + Raises: + InvalidJwtException: If JWT parsing fails + InvalidJwkException: If the public key is invalid + JwtSignatureValidationException: If signature verification fails or + if the algorithm is unsupported + """ + if not public_key: + raise JwtSignatureValidationException('No public key provided') + + if not jwt_token: + raise JwtSignatureValidationException('JWT token is null or undefined') + + # Parse the JWT token + parsed_jwt = parse(jwt_token) + + header = parsed_jwt['header'] + signature = parsed_jwt['signature'] + raw_header = parsed_jwt['raw_header'] + raw_payload = parsed_jwt['raw_payload'] + + # Get the algorithm from header + algorithm = header.get('alg') + if not algorithm: + raise JwtSignatureValidationException('JWT header missing algorithm (alg) field') + + # Check if algorithm is supported + hash_algorithm = SUPPORTED_ALGORITHMS.get(algorithm) + if not hash_algorithm: + supported = ', '.join(SUPPORTED_ALGORITHMS.keys()) + raise JwtSignatureValidationException( + 'Unsupported JWT algorithm: {}. Supported algorithms: {}'.format(algorithm, supported) + ) + + # Validate and parse the JWK public key + jwk_key = _validate_and_parse_jwk(public_key) + + # Convert JWK to cryptography public key object + rsa_public_key = _convert_jwk_to_public_key(jwk_key) + + # Prepare signing input (header.payload) + signing_input = '{}.{}'.format(raw_header, raw_payload) + signing_input_bytes = signing_input.encode('utf-8') + + # Decode the signature from base64url + try: + signature_bytes = _base64url_decode(signature) + except Exception as sig_decode_err: + raise JwtSignatureValidationException( + 'Invalid base64url encoding in JWT signature', sig_decode_err + ) + + # Verify the signature + try: + rsa_public_key.verify( + signature_bytes, + signing_input_bytes, + padding.PKCS1v15(), + hash_algorithm + ) + except Exception as verify_err: + raise JwtSignatureValidationException('JWT signature verification failed', verify_err) + + +def get_rsa_public_key_from_jwk(jwk_json_string): + """ + Extract an RSA public key from a JWK JSON string. + + Args: + jwk_json_string (str): The JWK JSON string containing the RSA key + + Returns: + dict: The RSA public key object (JWK) + + Raises: + InvalidJwkException: If the JWK is invalid or not an RSA key + """ + try: + jwk_data = json.loads(jwk_json_string) + if jwk_data.get('kty') != 'RSA': + raise InvalidJwkException('JWK Algorithm mismatch. Expected algorithm : RSA') + return jwk_data + except InvalidJwkException: + raise + except Exception as err: + raise InvalidJwkException('Failed to parse JWK or extract RSA public key', err) diff --git a/authenticationsdk/util/jwt/__init__.py b/authenticationsdk/util/jwt/__init__.py new file mode 100644 index 00000000..98413d7c --- /dev/null +++ b/authenticationsdk/util/jwt/__init__.py @@ -0,0 +1,20 @@ +# coding: utf-8 +""" +JWT (JSON Web Token) utilities package. + +This package provides utilities for JWT parsing, verification, and exception handling. +""" + +from __future__ import absolute_import + +from .JWTUtility import parse, verify_jwt, get_rsa_public_key_from_jwk +from .JWTExceptions import InvalidJwtException, InvalidJwkException, JwtSignatureValidationException + +__all__ = [ + 'parse', + 'verify_jwt', + 'get_rsa_public_key_from_jwk', + 'InvalidJwtException', + 'InvalidJwkException', + 'JwtSignatureValidationException' +] diff --git a/docs/BankAccountValidationApi.md b/docs/BankAccountValidationApi.md index ad9db5e1..edec6a19 100644 --- a/docs/BankAccountValidationApi.md +++ b/docs/BankAccountValidationApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description # **bank_account_validation_request** -> InlineResponse20013 bank_account_validation_request(account_validations_request) +> InlineResponse20014 bank_account_validation_request(account_validations_request) Visa Bank Account Validation Service @@ -42,7 +42,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20013**](InlineResponse20013.md) +[**InlineResponse20014**](InlineResponse20014.md) ### Authorization diff --git a/docs/BatchesApi.md b/docs/BatchesApi.md index 5e897697..be3c1a75 100644 --- a/docs/BatchesApi.md +++ b/docs/BatchesApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **get_batch_report** -> InlineResponse20012 get_batch_report(batch_id) +> InlineResponse20013 get_batch_report(batch_id) Retrieve a Batch Report @@ -45,7 +45,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20012**](InlineResponse20012.md) +[**InlineResponse20013**](InlineResponse20013.md) ### Authorization @@ -59,7 +59,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_batch_status** -> InlineResponse20011 get_batch_status(batch_id) +> InlineResponse20012 get_batch_status(batch_id) Retrieve a Batch Status @@ -93,7 +93,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20011**](InlineResponse20011.md) +[**InlineResponse20012**](InlineResponse20012.md) ### Authorization @@ -107,7 +107,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_batches_list** -> InlineResponse20010 get_batches_list(offset=offset, limit=limit, from_date=from_date, to_date=to_date) +> InlineResponse20011 get_batches_list(offset=offset, limit=limit, from_date=from_date, to_date=to_date) List Batches @@ -147,7 +147,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20010**](InlineResponse20010.md) +[**InlineResponse20011**](InlineResponse20011.md) ### Authorization diff --git a/docs/CreateNewWebhooksApi.md b/docs/CreateNewWebhooksApi.md index a9d7cde3..b0230427 100644 --- a/docs/CreateNewWebhooksApi.md +++ b/docs/CreateNewWebhooksApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **find_products_to_subscribe** -> list[InlineResponse2004] find_products_to_subscribe(organization_id) +> list[InlineResponse2005] find_products_to_subscribe(organization_id) Find Products You Can Subscribe To @@ -44,7 +44,7 @@ Name | Type | Description | Notes ### Return type -[**list[InlineResponse2004]**](InlineResponse2004.md) +[**list[InlineResponse2005]**](InlineResponse2005.md) ### Authorization diff --git a/docs/CreatePlanRequest.md b/docs/CreatePlanRequest.md index 6e84ff5d..0fa75608 100644 --- a/docs/CreatePlanRequest.md +++ b/docs/CreatePlanRequest.md @@ -3,7 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**client_reference_information** | [**Rbsv1plansClientReferenceInformation**](Rbsv1plansClientReferenceInformation.md) | | [optional] **plan_information** | [**Rbsv1plansPlanInformation**](Rbsv1plansPlanInformation.md) | | [optional] **order_information** | [**Rbsv1plansOrderInformation**](Rbsv1plansOrderInformation.md) | | [optional] diff --git a/docs/CreateSubscriptionRequest.md b/docs/CreateSubscriptionRequest.md index 3db67b60..89a5ead7 100644 --- a/docs/CreateSubscriptionRequest.md +++ b/docs/CreateSubscriptionRequest.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**client_reference_information** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**client_reference_information** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **processing_information** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **plan_information** | [**Rbsv1subscriptionsPlanInformation**](Rbsv1subscriptionsPlanInformation.md) | | [optional] **subscription_information** | [**Rbsv1subscriptionsSubscriptionInformation**](Rbsv1subscriptionsSubscriptionInformation.md) | | [optional] diff --git a/docs/CreateSubscriptionRequest1.md b/docs/CreateSubscriptionRequest1.md index 736f2274..f78283eb 100644 --- a/docs/CreateSubscriptionRequest1.md +++ b/docs/CreateSubscriptionRequest1.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**client_reference_information** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**client_reference_information** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **processing_information** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **plan_information** | [**Rbsv1subscriptionsPlanInformation**](Rbsv1subscriptionsPlanInformation.md) | | [optional] **subscription_information** | [**Rbsv1subscriptionsSubscriptionInformation**](Rbsv1subscriptionsSubscriptionInformation.md) | | [optional] diff --git a/docs/CreateSubscriptionResponse.md b/docs/CreateSubscriptionResponse.md index 61104afe..cbed62f9 100644 --- a/docs/CreateSubscriptionResponse.md +++ b/docs/CreateSubscriptionResponse.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **submit_time_utc** | **str** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] **status** | **str** | The status of the submitted transaction. Possible values: - COMPLETED - PENDING_REVIEW - DECLINED - INVALID_REQUEST | [optional] **subscription_information** | [**CreateSubscriptionResponseSubscriptionInformation**](CreateSubscriptionResponseSubscriptionInformation.md) | | [optional] +**client_reference_information** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DecisionManagerApi.md b/docs/DecisionManagerApi.md index 544d35e4..5e361037 100644 --- a/docs/DecisionManagerApi.md +++ b/docs/DecisionManagerApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **action_decision_manager_case** -> InlineResponse2001 action_decision_manager_case(id, case_management_actions_request) +> InlineResponse2002 action_decision_manager_case(id, case_management_actions_request) Take action on a DM post-transactional case @@ -48,7 +48,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2001**](InlineResponse2001.md) +[**InlineResponse2002**](InlineResponse2002.md) ### Authorization diff --git a/docs/DeviceDeAssociationApi.md b/docs/DeviceDeAssociationApi.md index f4fd2107..a9cbbf90 100644 --- a/docs/DeviceDeAssociationApi.md +++ b/docs/DeviceDeAssociationApi.md @@ -56,7 +56,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **post_de_associate_v3_terminal** -> list[InlineResponse2008] post_de_associate_v3_terminal(device_de_associate_v3_request) +> list[InlineResponse2009] post_de_associate_v3_terminal(device_de_associate_v3_request) De-associate a device from merchant to account or reseller and from account to reseller @@ -90,7 +90,7 @@ Name | Type | Description | Notes ### Return type -[**list[InlineResponse2008]**](InlineResponse2008.md) +[**list[InlineResponse2009]**](InlineResponse2009.md) ### Authorization diff --git a/docs/DeviceSearchApi.md b/docs/DeviceSearchApi.md index 51a2e0ea..4baec736 100644 --- a/docs/DeviceSearchApi.md +++ b/docs/DeviceSearchApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **post_search_query** -> InlineResponse2007 post_search_query(post_device_search_request) +> InlineResponse2008 post_search_query(post_device_search_request) Retrieve List of Devices for a given search query V2 @@ -43,7 +43,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2007**](InlineResponse2007.md) +[**InlineResponse2008**](InlineResponse2008.md) ### Authorization @@ -57,7 +57,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **post_search_query_v3** -> InlineResponse2009 post_search_query_v3(post_device_search_request_v3) +> InlineResponse20010 post_search_query_v3(post_device_search_request_v3) Retrieve List of Devices for a given search query @@ -91,7 +91,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2009**](InlineResponse2009.md) +[**InlineResponse20010**](InlineResponse20010.md) ### Authorization diff --git a/docs/GenerateUnifiedCheckoutCaptureContextRequest.md b/docs/GenerateUnifiedCheckoutCaptureContextRequest.md index acb5ecae..2290d400 100644 --- a/docs/GenerateUnifiedCheckoutCaptureContextRequest.md +++ b/docs/GenerateUnifiedCheckoutCaptureContextRequest.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes **client_version** | **str** | Specify the version of Unified Checkout that you want to use. | [optional] **target_origins** | **list[str]** | The [target origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the website on which you will be launching Unified Checkout is defined by the scheme (protocol), hostname (domain) and port number (if used). You must use https://hostname (unless you use http://localhost) Wildcards are NOT supported. Ensure that subdomains are included. Any valid top-level domain is supported (e.g. .com, .co.uk, .gov.br etc) Examples: - https://example.com - https://subdomain.example.com - https://example.com:8080<br><br> If you are embedding within multiple nested iframes you need to specify the origins of all the browser contexts used, for example: targetOrigins: [ \"https://example.com\", \"https://basket.example.com\", \"https://ecom.example.com\" ] | [optional] **allowed_card_networks** | **list[str]** | The list of card networks you want to use for this Unified Checkout transaction. Unified Checkout currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JAYWAN - JCB - JCREW - KCP - MADA - MAESTRO - MEEZA - PAYPAK - UATP | [optional] -**allowed_payment_types** | **list[str]** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. | [optional] +**allowed_payment_types** | **list[str]** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)<br><br> Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)<br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. | [optional] **country** | **str** | Country the purchase is originating from (e.g. country of the merchant). Use the two-character ISO Standard | [optional] **locale** | **str** | Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code. Please refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html) | [optional] +**button_type** | **str** | Changes the label on the payment button within Unified Checkout .<br><br> Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD<br><br> This is an optional field, | [optional] **capture_mandate** | [**Upv1capturecontextsCaptureMandate**](Upv1capturecontextsCaptureMandate.md) | | [optional] **complete_mandate** | [**Upv1capturecontextsCompleteMandate**](Upv1capturecontextsCompleteMandate.md) | | [optional] **transient_token_response_options** | [**Microformv2sessionsTransientTokenResponseOptions**](Microformv2sessionsTransientTokenResponseOptions.md) | | [optional] diff --git a/docs/GetAllSubscriptionsResponseClientReferenceInformation.md b/docs/GetAllSubscriptionsResponseClientReferenceInformation.md new file mode 100644 index 00000000..19670dc6 --- /dev/null +++ b/docs/GetAllSubscriptionsResponseClientReferenceInformation.md @@ -0,0 +1,10 @@ +# GetAllSubscriptionsResponseClientReferenceInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **str** | Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetAllSubscriptionsResponseSubscriptions.md b/docs/GetAllSubscriptionsResponseSubscriptions.md index 09bda53c..a5004871 100644 --- a/docs/GetAllSubscriptionsResponseSubscriptions.md +++ b/docs/GetAllSubscriptionsResponseSubscriptions.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **id** | **str** | An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. | [optional] **plan_information** | [**GetAllSubscriptionsResponsePlanInformation**](GetAllSubscriptionsResponsePlanInformation.md) | | [optional] **subscription_information** | [**GetAllSubscriptionsResponseSubscriptionInformation**](GetAllSubscriptionsResponseSubscriptionInformation.md) | | [optional] +**client_reference_information** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **payment_information** | [**GetAllSubscriptionsResponsePaymentInformation**](GetAllSubscriptionsResponsePaymentInformation.md) | | [optional] **order_information** | [**GetAllSubscriptionsResponseOrderInformation**](GetAllSubscriptionsResponseOrderInformation.md) | | [optional] diff --git a/docs/GetSubscriptionResponse.md b/docs/GetSubscriptionResponse.md index fab2486b..4a07b66c 100644 --- a/docs/GetSubscriptionResponse.md +++ b/docs/GetSubscriptionResponse.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **subscription_information** | [**GetAllSubscriptionsResponseSubscriptionInformation**](GetAllSubscriptionsResponseSubscriptionInformation.md) | | [optional] **payment_information** | [**GetAllSubscriptionsResponsePaymentInformation**](GetAllSubscriptionsResponsePaymentInformation.md) | | [optional] **order_information** | [**GetAllSubscriptionsResponseOrderInformation**](GetAllSubscriptionsResponseOrderInformation.md) | | [optional] +**client_reference_information** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **reactivation_information** | [**GetSubscriptionResponseReactivationInformation**](GetSubscriptionResponseReactivationInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetSubscriptionResponse1PaymentInstrument.md b/docs/GetSubscriptionResponse1PaymentInstrument.md index 5e058cca..12419298 100644 --- a/docs/GetSubscriptionResponse1PaymentInstrument.md +++ b/docs/GetSubscriptionResponse1PaymentInstrument.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **id** | **str** | The Id of the Payment Instrument Token. | [optional] **bank_account** | [**GetSubscriptionResponse1PaymentInstrumentBankAccount**](GetSubscriptionResponse1PaymentInstrumentBankAccount.md) | | [optional] **card** | [**GetSubscriptionResponse1PaymentInstrumentCard**](GetSubscriptionResponse1PaymentInstrumentCard.md) | | [optional] -**bill_to** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bill_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **buyer_information** | [**GetSubscriptionResponse1PaymentInstrumentBuyerInformation**](GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md b/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md index 5d372504..91a36dc4 100644 --- a/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md +++ b/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **company_tax_id** | **str** | Company's tax identifier. This is only used for eCheck service. | [optional] **currency** | **str** | Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). | [optional] **date_of_birth** | **date** | Date of birth of the customer. Format: YYYY-MM-DD | [optional] -**personal_identification** | [**list[Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification]**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] +**personal_identification** | [**list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification]**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetSubscriptionResponse1ShippingAddress.md b/docs/GetSubscriptionResponse1ShippingAddress.md index 5e13fa9f..303676ed 100644 --- a/docs/GetSubscriptionResponse1ShippingAddress.md +++ b/docs/GetSubscriptionResponse1ShippingAddress.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The Id of the Shipping Address Token. | [optional] -**ship_to** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**ship_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetSubscriptionResponseReactivationInformation.md b/docs/GetSubscriptionResponseReactivationInformation.md index d8cac803..374d5c2b 100644 --- a/docs/GetSubscriptionResponseReactivationInformation.md +++ b/docs/GetSubscriptionResponseReactivationInformation.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**skipped_payments_count** | **str** | Number of payments that should have occurred while the subscription was in a suspended status. | [optional] -**skipped_payments_total_amount** | **str** | Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. | [optional] +**missed_payments_count** | **str** | Number of payments that should have occurred while the subscription was in a suspended status. | [optional] +**missed_payments_total_amount** | **str** | Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md index c66874cb..06a2b51a 100644 --- a/docs/InlineResponse200.md +++ b/docs/InlineResponse200.md @@ -3,10 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier for the Card Art Asset. | [optional] -**type** | **str** | The type of Card Art Asset. | [optional] -**provider** | **str** | The provider of the Card Art Asset. | [optional] -**content** | [**list[InlineResponse200Content]**](InlineResponse200Content.md) | Array of content objects representing the Card Art Asset. | [optional] +**responses** | [**list[InlineResponse200Responses]**](InlineResponse200Responses.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md index a4860c64..1a744920 100644 --- a/docs/InlineResponse2001.md +++ b/docs/InlineResponse2001.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | UUID uniquely generated for this comments. | [optional] -**submit_time_utc** | **str** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] -**status** | **str** | The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` | [optional] -**embedded** | [**InlineResponse2001Embedded**](InlineResponse2001Embedded.md) | | [optional] +**id** | **str** | Unique identifier for the Card Art Asset. | [optional] +**type** | **str** | The type of Card Art Asset. | [optional] +**provider** | **str** | The provider of the Card Art Asset. | [optional] +**content** | [**list[InlineResponse2001Content]**](InlineResponse2001Content.md) | Array of content objects representing the Card Art Asset. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20010.md b/docs/InlineResponse20010.md index 3cd93573..70d67bdb 100644 --- a/docs/InlineResponse20010.md +++ b/docs/InlineResponse20010.md @@ -3,13 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**list[InlineResponse20010Links]**](InlineResponse20010Links.md) | | [optional] -**object** | **str** | | [optional] -**offset** | **int** | | [optional] -**limit** | **int** | | [optional] -**count** | **int** | | [optional] -**total** | **int** | | [optional] -**embedded** | [**InlineResponse20010Embedded**](InlineResponse20010Embedded.md) | | [optional] +**total_count** | **int** | Total number of results. | [optional] +**offset** | **int** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] +**limit** | **int** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] +**sort** | **str** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional] +**count** | **int** | Results for this page, this could be below the limit. | [optional] +**devices** | [**list[InlineResponse20010Devices]**](InlineResponse20010Devices.md) | A collection of devices | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2009Devices.md b/docs/InlineResponse20010Devices.md similarity index 84% rename from docs/InlineResponse2009Devices.md rename to docs/InlineResponse20010Devices.md index 33d69082..345755c5 100644 --- a/docs/InlineResponse2009Devices.md +++ b/docs/InlineResponse20010Devices.md @@ -1,4 +1,4 @@ -# InlineResponse2009Devices +# InlineResponse20010Devices ## Properties Name | Type | Description | Notes @@ -14,7 +14,7 @@ Name | Type | Description | Notes **account_id** | **str** | ID of the account to whom the device assigned. | [optional] **terminal_creation_date** | **datetime** | Timestamp in which the device was created. | [optional] **terminal_updation_date** | **datetime** | Timestamp in which the device was updated/modified. | [optional] -**payment_processor_to_terminal_map** | [**InlineResponse2009PaymentProcessorToTerminalMap**](InlineResponse2009PaymentProcessorToTerminalMap.md) | | [optional] +**payment_processor_to_terminal_map** | [**InlineResponse20010PaymentProcessorToTerminalMap**](InlineResponse20010PaymentProcessorToTerminalMap.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2009PaymentProcessorToTerminalMap.md b/docs/InlineResponse20010PaymentProcessorToTerminalMap.md similarity index 87% rename from docs/InlineResponse2009PaymentProcessorToTerminalMap.md rename to docs/InlineResponse20010PaymentProcessorToTerminalMap.md index cb148be3..64f200e1 100644 --- a/docs/InlineResponse2009PaymentProcessorToTerminalMap.md +++ b/docs/InlineResponse20010PaymentProcessorToTerminalMap.md @@ -1,4 +1,4 @@ -# InlineResponse2009PaymentProcessorToTerminalMap +# InlineResponse20010PaymentProcessorToTerminalMap ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20011.md b/docs/InlineResponse20011.md index ff700f6c..cf07f92c 100644 --- a/docs/InlineResponse20011.md +++ b/docs/InlineResponse20011.md @@ -3,16 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**InlineResponse20011Links**](InlineResponse20011Links.md) | | [optional] -**batch_id** | **str** | Unique identification number assigned to the submitted request. | [optional] -**batch_created_date** | **str** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] -**batch_source** | **str** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] -**merchant_reference** | **str** | Reference used by merchant to identify batch. | [optional] -**batch_ca_endpoints** | **str** | | [optional] -**status** | **str** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] -**totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] -**billing** | [**InlineResponse20011Billing**](InlineResponse20011Billing.md) | | [optional] -**description** | **str** | | [optional] +**links** | [**list[InlineResponse20011Links]**](InlineResponse20011Links.md) | | [optional] +**object** | **str** | | [optional] +**offset** | **int** | | [optional] +**limit** | **int** | | [optional] +**count** | **int** | | [optional] +**total** | **int** | | [optional] +**embedded** | [**InlineResponse20011Embedded**](InlineResponse20011Embedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20010Embedded.md b/docs/InlineResponse20011Embedded.md similarity index 65% rename from docs/InlineResponse20010Embedded.md rename to docs/InlineResponse20011Embedded.md index 385c2017..8a0badab 100644 --- a/docs/InlineResponse20010Embedded.md +++ b/docs/InlineResponse20011Embedded.md @@ -1,9 +1,9 @@ -# InlineResponse20010Embedded +# InlineResponse20011Embedded ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**batches** | [**list[InlineResponse20010EmbeddedBatches]**](InlineResponse20010EmbeddedBatches.md) | | [optional] +**batches** | [**list[InlineResponse20011EmbeddedBatches]**](InlineResponse20011EmbeddedBatches.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20010EmbeddedBatches.md b/docs/InlineResponse20011EmbeddedBatches.md similarity index 82% rename from docs/InlineResponse20010EmbeddedBatches.md rename to docs/InlineResponse20011EmbeddedBatches.md index 4d12c833..31e81530 100644 --- a/docs/InlineResponse20010EmbeddedBatches.md +++ b/docs/InlineResponse20011EmbeddedBatches.md @@ -1,9 +1,9 @@ -# InlineResponse20010EmbeddedBatches +# InlineResponse20011EmbeddedBatches ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**InlineResponse20010EmbeddedLinks**](InlineResponse20010EmbeddedLinks.md) | | [optional] +**links** | [**InlineResponse20011EmbeddedLinks**](InlineResponse20011EmbeddedLinks.md) | | [optional] **batch_id** | **str** | Unique identification number assigned to the submitted request. | [optional] **batch_created_date** | **str** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] **batch_modified_date** | **str** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] @@ -12,7 +12,7 @@ Name | Type | Description | Notes **merchant_reference** | **str** | Reference used by merchant to identify batch. | [optional] **batch_ca_endpoints** | **list[str]** | Valid Values: * VISA * MASTERCARD * AMEX | [optional] **status** | **str** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE | [optional] -**totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] +**totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20010EmbeddedLinks.md b/docs/InlineResponse20011EmbeddedLinks.md similarity index 62% rename from docs/InlineResponse20010EmbeddedLinks.md rename to docs/InlineResponse20011EmbeddedLinks.md index 7cec1b11..bda6cc5e 100644 --- a/docs/InlineResponse20010EmbeddedLinks.md +++ b/docs/InlineResponse20011EmbeddedLinks.md @@ -1,9 +1,9 @@ -# InlineResponse20010EmbeddedLinks +# InlineResponse20011EmbeddedLinks ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reports** | [**list[InlineResponse20010EmbeddedLinksReports]**](InlineResponse20010EmbeddedLinksReports.md) | | [optional] +**reports** | [**list[InlineResponse20011EmbeddedLinksReports]**](InlineResponse20011EmbeddedLinksReports.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20010EmbeddedLinksReports.md b/docs/InlineResponse20011EmbeddedLinksReports.md similarity index 88% rename from docs/InlineResponse20010EmbeddedLinksReports.md rename to docs/InlineResponse20011EmbeddedLinksReports.md index ab7128d3..dbd724cf 100644 --- a/docs/InlineResponse20010EmbeddedLinksReports.md +++ b/docs/InlineResponse20011EmbeddedLinksReports.md @@ -1,4 +1,4 @@ -# InlineResponse20010EmbeddedLinksReports +# InlineResponse20011EmbeddedLinksReports ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20010EmbeddedTotals.md b/docs/InlineResponse20011EmbeddedTotals.md similarity index 93% rename from docs/InlineResponse20010EmbeddedTotals.md rename to docs/InlineResponse20011EmbeddedTotals.md index 5e3879c2..1d07a5cf 100644 --- a/docs/InlineResponse20010EmbeddedTotals.md +++ b/docs/InlineResponse20011EmbeddedTotals.md @@ -1,4 +1,4 @@ -# InlineResponse20010EmbeddedTotals +# InlineResponse20011EmbeddedTotals ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20011Links.md b/docs/InlineResponse20011Links.md index 0b60b1a3..f26ea8c7 100644 --- a/docs/InlineResponse20011Links.md +++ b/docs/InlineResponse20011Links.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**_self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] -**report** | [**list[InlineResponse20011LinksReport]**](InlineResponse20011LinksReport.md) | | [optional] +**rel** | **str** | Valid Values: * self * first * last * prev * next | [optional] +**href** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20012.md b/docs/InlineResponse20012.md index c09e641c..83caba9e 100644 --- a/docs/InlineResponse20012.md +++ b/docs/InlineResponse20012.md @@ -3,16 +3,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version** | **str** | | [optional] -**report_created_date** | **str** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**links** | [**InlineResponse20012Links**](InlineResponse20012Links.md) | | [optional] **batch_id** | **str** | Unique identification number assigned to the submitted request. | [optional] -**batch_source** | **str** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] -**batch_ca_endpoints** | **str** | | [optional] **batch_created_date** | **str** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**batch_source** | **str** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] **merchant_reference** | **str** | Reference used by merchant to identify batch. | [optional] -**totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] -**billing** | [**InlineResponse20011Billing**](InlineResponse20011Billing.md) | | [optional] -**records** | [**list[InlineResponse20012Records]**](InlineResponse20012Records.md) | | [optional] +**batch_ca_endpoints** | **str** | | [optional] +**status** | **str** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] +**totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] +**billing** | [**InlineResponse20012Billing**](InlineResponse20012Billing.md) | | [optional] +**description** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20011Billing.md b/docs/InlineResponse20012Billing.md similarity index 93% rename from docs/InlineResponse20011Billing.md rename to docs/InlineResponse20012Billing.md index 0fd0671a..144e0bcf 100644 --- a/docs/InlineResponse20011Billing.md +++ b/docs/InlineResponse20012Billing.md @@ -1,4 +1,4 @@ -# InlineResponse20011Billing +# InlineResponse20012Billing ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20012Links.md b/docs/InlineResponse20012Links.md new file mode 100644 index 00000000..e63843d7 --- /dev/null +++ b/docs/InlineResponse20012Links.md @@ -0,0 +1,11 @@ +# InlineResponse20012Links + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] +**report** | [**list[InlineResponse20012LinksReport]**](InlineResponse20012LinksReport.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse20011LinksReport.md b/docs/InlineResponse20012LinksReport.md similarity index 90% rename from docs/InlineResponse20011LinksReport.md rename to docs/InlineResponse20012LinksReport.md index 4e99e5e6..775b2a6f 100644 --- a/docs/InlineResponse20011LinksReport.md +++ b/docs/InlineResponse20012LinksReport.md @@ -1,4 +1,4 @@ -# InlineResponse20011LinksReport +# InlineResponse20012LinksReport ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20013.md b/docs/InlineResponse20013.md index 4f8a11cd..3ca928ae 100644 --- a/docs/InlineResponse20013.md +++ b/docs/InlineResponse20013.md @@ -3,10 +3,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**client_reference_information** | [**Bavsv1accountvalidationsClientReferenceInformation**](Bavsv1accountvalidationsClientReferenceInformation.md) | | [optional] -**request_id** | **str** | Request Id sent as part of the request. | [optional] -**submit_time_utc** | **str** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] -**bank_account_validation** | [**TssV2TransactionsGet200ResponseBankAccountValidation**](TssV2TransactionsGet200ResponseBankAccountValidation.md) | | [optional] +**version** | **str** | | [optional] +**report_created_date** | **str** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**batch_id** | **str** | Unique identification number assigned to the submitted request. | [optional] +**batch_source** | **str** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] +**batch_ca_endpoints** | **str** | | [optional] +**batch_created_date** | **str** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**merchant_reference** | **str** | Reference used by merchant to identify batch. | [optional] +**totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] +**billing** | [**InlineResponse20012Billing**](InlineResponse20012Billing.md) | | [optional] +**records** | [**list[InlineResponse20013Records]**](InlineResponse20013Records.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20012Records.md b/docs/InlineResponse20013Records.md similarity index 54% rename from docs/InlineResponse20012Records.md rename to docs/InlineResponse20013Records.md index cac4f05d..08249edc 100644 --- a/docs/InlineResponse20012Records.md +++ b/docs/InlineResponse20013Records.md @@ -1,11 +1,11 @@ -# InlineResponse20012Records +# InlineResponse20013Records ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | [optional] -**source_record** | [**InlineResponse20012SourceRecord**](InlineResponse20012SourceRecord.md) | | [optional] -**response_record** | [**InlineResponse20012ResponseRecord**](InlineResponse20012ResponseRecord.md) | | [optional] +**source_record** | [**InlineResponse20013SourceRecord**](InlineResponse20013SourceRecord.md) | | [optional] +**response_record** | [**InlineResponse20013ResponseRecord**](InlineResponse20013ResponseRecord.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20012ResponseRecord.md b/docs/InlineResponse20013ResponseRecord.md similarity index 83% rename from docs/InlineResponse20012ResponseRecord.md rename to docs/InlineResponse20013ResponseRecord.md index 0d8b44a1..2f1a58dd 100644 --- a/docs/InlineResponse20012ResponseRecord.md +++ b/docs/InlineResponse20013ResponseRecord.md @@ -1,4 +1,4 @@ -# InlineResponse20012ResponseRecord +# InlineResponse20013ResponseRecord ## Properties Name | Type | Description | Notes @@ -12,7 +12,7 @@ Name | Type | Description | Notes **card_expiry_month** | **str** | | [optional] **card_expiry_year** | **str** | | [optional] **card_type** | **str** | | [optional] -**additional_updates** | [**list[InlineResponse20012ResponseRecordAdditionalUpdates]**](InlineResponse20012ResponseRecordAdditionalUpdates.md) | | [optional] +**additional_updates** | [**list[InlineResponse20013ResponseRecordAdditionalUpdates]**](InlineResponse20013ResponseRecordAdditionalUpdates.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md b/docs/InlineResponse20013ResponseRecordAdditionalUpdates.md similarity index 90% rename from docs/InlineResponse20012ResponseRecordAdditionalUpdates.md rename to docs/InlineResponse20013ResponseRecordAdditionalUpdates.md index 133b7722..f400f4e3 100644 --- a/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md +++ b/docs/InlineResponse20013ResponseRecordAdditionalUpdates.md @@ -1,4 +1,4 @@ -# InlineResponse20012ResponseRecordAdditionalUpdates +# InlineResponse20013ResponseRecordAdditionalUpdates ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20012SourceRecord.md b/docs/InlineResponse20013SourceRecord.md similarity index 94% rename from docs/InlineResponse20012SourceRecord.md rename to docs/InlineResponse20013SourceRecord.md index 34a9b675..308b0b6a 100644 --- a/docs/InlineResponse20012SourceRecord.md +++ b/docs/InlineResponse20013SourceRecord.md @@ -1,4 +1,4 @@ -# InlineResponse20012SourceRecord +# InlineResponse20013SourceRecord ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse20014.md b/docs/InlineResponse20014.md index b71ce8fe..fda9b39b 100644 --- a/docs/InlineResponse20014.md +++ b/docs/InlineResponse20014.md @@ -3,12 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**client_reference_information** | [**InlineResponse20014ClientReferenceInformation**](InlineResponse20014ClientReferenceInformation.md) | | [optional] -**id** | **str** | Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid | -**submit_time_utc** | **str** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. | -**status** | **str** | Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` | -**error_information** | [**InlineResponse2018ErrorInformation**](InlineResponse2018ErrorInformation.md) | | [optional] -**order_information** | [**InlineResponse2018OrderInformation**](InlineResponse2018OrderInformation.md) | | [optional] +**client_reference_information** | [**Bavsv1accountvalidationsClientReferenceInformation**](Bavsv1accountvalidationsClientReferenceInformation.md) | | [optional] +**request_id** | **str** | Request Id sent as part of the request. | [optional] +**submit_time_utc** | **str** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] +**bank_account_validation** | [**TssV2TransactionsGet200ResponseBankAccountValidation**](TssV2TransactionsGet200ResponseBankAccountValidation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20015.md b/docs/InlineResponse20015.md new file mode 100644 index 00000000..bb5066fb --- /dev/null +++ b/docs/InlineResponse20015.md @@ -0,0 +1,15 @@ +# InlineResponse20015 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**client_reference_information** | [**InlineResponse20015ClientReferenceInformation**](InlineResponse20015ClientReferenceInformation.md) | | [optional] +**id** | **str** | Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid | +**submit_time_utc** | **str** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. | +**status** | **str** | Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` | +**error_information** | [**InlineResponse2018ErrorInformation**](InlineResponse2018ErrorInformation.md) | | [optional] +**order_information** | [**InlineResponse2018OrderInformation**](InlineResponse2018OrderInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse20014ClientReferenceInformation.md b/docs/InlineResponse20015ClientReferenceInformation.md similarity index 96% rename from docs/InlineResponse20014ClientReferenceInformation.md rename to docs/InlineResponse20015ClientReferenceInformation.md index cf117b15..ec107ff6 100644 --- a/docs/InlineResponse20014ClientReferenceInformation.md +++ b/docs/InlineResponse20015ClientReferenceInformation.md @@ -1,4 +1,4 @@ -# InlineResponse20014ClientReferenceInformation +# InlineResponse20015ClientReferenceInformation ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse200Content.md b/docs/InlineResponse2001Content.md similarity index 95% rename from docs/InlineResponse200Content.md rename to docs/InlineResponse2001Content.md index e24ddbd5..f25c3642 100644 --- a/docs/InlineResponse200Content.md +++ b/docs/InlineResponse2001Content.md @@ -1,4 +1,4 @@ -# InlineResponse200Content +# InlineResponse2001Content ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2001Embedded.md b/docs/InlineResponse2001Embedded.md deleted file mode 100644 index 3454c6c6..00000000 --- a/docs/InlineResponse2001Embedded.md +++ /dev/null @@ -1,11 +0,0 @@ -# InlineResponse2001Embedded - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**capture** | [**InlineResponse2001EmbeddedCapture**](InlineResponse2001EmbeddedCapture.md) | | [optional] -**reversal** | [**InlineResponse2001EmbeddedReversal**](InlineResponse2001EmbeddedReversal.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/InlineResponse2001EmbeddedCaptureLinks.md b/docs/InlineResponse2001EmbeddedCaptureLinks.md deleted file mode 100644 index f95f2cc7..00000000 --- a/docs/InlineResponse2001EmbeddedCaptureLinks.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2001EmbeddedCaptureLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_self** | [**InlineResponse2001EmbeddedCaptureLinksSelf**](InlineResponse2001EmbeddedCaptureLinksSelf.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/InlineResponse2001EmbeddedReversalLinks.md b/docs/InlineResponse2001EmbeddedReversalLinks.md deleted file mode 100644 index a1ad8d03..00000000 --- a/docs/InlineResponse2001EmbeddedReversalLinks.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2001EmbeddedReversalLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_self** | [**InlineResponse2001EmbeddedReversalLinksSelf**](InlineResponse2001EmbeddedReversalLinksSelf.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md index 93410340..a2b8386c 100644 --- a/docs/InlineResponse2002.md +++ b/docs/InlineResponse2002.md @@ -3,18 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**field_type** | **str** | | [optional] -**label** | **str** | | [optional] -**customer_visible** | **bool** | | [optional] -**text_min_length** | **int** | | [optional] -**text_max_length** | **int** | | [optional] -**possible_values** | **str** | | [optional] -**text_default_value** | **str** | | [optional] -**merchant_id** | **str** | | [optional] -**reference_type** | **str** | | [optional] -**read_only** | **bool** | | [optional] -**merchant_defined_data_index** | **int** | | [optional] +**id** | **str** | UUID uniquely generated for this comments. | [optional] +**submit_time_utc** | **str** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] +**status** | **str** | The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` | [optional] +**embedded** | [**InlineResponse2002Embedded**](InlineResponse2002Embedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002Embedded.md b/docs/InlineResponse2002Embedded.md new file mode 100644 index 00000000..9c7ef5b8 --- /dev/null +++ b/docs/InlineResponse2002Embedded.md @@ -0,0 +1,11 @@ +# InlineResponse2002Embedded + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**capture** | [**InlineResponse2002EmbeddedCapture**](InlineResponse2002EmbeddedCapture.md) | | [optional] +**reversal** | [**InlineResponse2002EmbeddedReversal**](InlineResponse2002EmbeddedReversal.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse2001EmbeddedCapture.md b/docs/InlineResponse2002EmbeddedCapture.md similarity index 70% rename from docs/InlineResponse2001EmbeddedCapture.md rename to docs/InlineResponse2002EmbeddedCapture.md index c756483f..db035fb4 100644 --- a/docs/InlineResponse2001EmbeddedCapture.md +++ b/docs/InlineResponse2002EmbeddedCapture.md @@ -1,10 +1,10 @@ -# InlineResponse2001EmbeddedCapture +# InlineResponse2002EmbeddedCapture ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | **str** | The status of the capture if the capture is called. | [optional] -**links** | [**InlineResponse2001EmbeddedCaptureLinks**](InlineResponse2001EmbeddedCaptureLinks.md) | | [optional] +**links** | [**InlineResponse2002EmbeddedCaptureLinks**](InlineResponse2002EmbeddedCaptureLinks.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002EmbeddedCaptureLinks.md b/docs/InlineResponse2002EmbeddedCaptureLinks.md new file mode 100644 index 00000000..0a537328 --- /dev/null +++ b/docs/InlineResponse2002EmbeddedCaptureLinks.md @@ -0,0 +1,10 @@ +# InlineResponse2002EmbeddedCaptureLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_self** | [**InlineResponse2002EmbeddedCaptureLinksSelf**](InlineResponse2002EmbeddedCaptureLinksSelf.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse2001EmbeddedCaptureLinksSelf.md b/docs/InlineResponse2002EmbeddedCaptureLinksSelf.md similarity index 92% rename from docs/InlineResponse2001EmbeddedCaptureLinksSelf.md rename to docs/InlineResponse2002EmbeddedCaptureLinksSelf.md index 96d2b7fa..0603b0d7 100644 --- a/docs/InlineResponse2001EmbeddedCaptureLinksSelf.md +++ b/docs/InlineResponse2002EmbeddedCaptureLinksSelf.md @@ -1,4 +1,4 @@ -# InlineResponse2001EmbeddedCaptureLinksSelf +# InlineResponse2002EmbeddedCaptureLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2001EmbeddedReversal.md b/docs/InlineResponse2002EmbeddedReversal.md similarity index 70% rename from docs/InlineResponse2001EmbeddedReversal.md rename to docs/InlineResponse2002EmbeddedReversal.md index c58934f6..b78a65e6 100644 --- a/docs/InlineResponse2001EmbeddedReversal.md +++ b/docs/InlineResponse2002EmbeddedReversal.md @@ -1,10 +1,10 @@ -# InlineResponse2001EmbeddedReversal +# InlineResponse2002EmbeddedReversal ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | **str** | The status of the reversal if the auth reversal is called. | [optional] -**links** | [**InlineResponse2001EmbeddedReversalLinks**](InlineResponse2001EmbeddedReversalLinks.md) | | [optional] +**links** | [**InlineResponse2002EmbeddedReversalLinks**](InlineResponse2002EmbeddedReversalLinks.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002EmbeddedReversalLinks.md b/docs/InlineResponse2002EmbeddedReversalLinks.md new file mode 100644 index 00000000..29a45318 --- /dev/null +++ b/docs/InlineResponse2002EmbeddedReversalLinks.md @@ -0,0 +1,10 @@ +# InlineResponse2002EmbeddedReversalLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_self** | [**InlineResponse2002EmbeddedReversalLinksSelf**](InlineResponse2002EmbeddedReversalLinksSelf.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse2001EmbeddedReversalLinksSelf.md b/docs/InlineResponse2002EmbeddedReversalLinksSelf.md similarity index 92% rename from docs/InlineResponse2001EmbeddedReversalLinksSelf.md rename to docs/InlineResponse2002EmbeddedReversalLinksSelf.md index ec871820..06cb3c8a 100644 --- a/docs/InlineResponse2001EmbeddedReversalLinksSelf.md +++ b/docs/InlineResponse2002EmbeddedReversalLinksSelf.md @@ -1,4 +1,4 @@ -# InlineResponse2001EmbeddedReversalLinksSelf +# InlineResponse2002EmbeddedReversalLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md index f71dc755..a60825d7 100644 --- a/docs/InlineResponse2003.md +++ b/docs/InlineResponse2003.md @@ -3,13 +3,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**registration_information** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] -**integration_information** | [**InlineResponse2003IntegrationInformation**](InlineResponse2003IntegrationInformation.md) | | [optional] -**organization_information** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] -**product_information** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] -**product_information_setups** | [**list[InlineResponse2013ProductInformationSetups]**](InlineResponse2013ProductInformationSetups.md) | | [optional] -**document_information** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] -**details** | **dict(str, list[object])** | | [optional] +**id** | **int** | | [optional] +**field_type** | **str** | | [optional] +**label** | **str** | | [optional] +**customer_visible** | **bool** | | [optional] +**text_min_length** | **int** | | [optional] +**text_max_length** | **int** | | [optional] +**possible_values** | **str** | | [optional] +**text_default_value** | **str** | | [optional] +**merchant_id** | **str** | | [optional] +**reference_type** | **str** | | [optional] +**read_only** | **bool** | | [optional] +**merchant_defined_data_index** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md index ac6301fd..00e5b4de 100644 --- a/docs/InlineResponse2004.md +++ b/docs/InlineResponse2004.md @@ -3,9 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**product_id** | **str** | Product ID. | [optional] -**product_name** | **str** | Product Name. | [optional] -**event_types** | [**list[Notificationsubscriptionsv2productsorganizationIdEventTypes]**](Notificationsubscriptionsv2productsorganizationIdEventTypes.md) | | [optional] +**registration_information** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] +**integration_information** | [**InlineResponse2004IntegrationInformation**](InlineResponse2004IntegrationInformation.md) | | [optional] +**organization_information** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] +**product_information** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] +**product_information_setups** | [**list[InlineResponse2013ProductInformationSetups]**](InlineResponse2013ProductInformationSetups.md) | | [optional] +**document_information** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] +**details** | **dict(str, list[object])** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2003IntegrationInformation.md b/docs/InlineResponse2004IntegrationInformation.md similarity index 77% rename from docs/InlineResponse2003IntegrationInformation.md rename to docs/InlineResponse2004IntegrationInformation.md index 467f75b4..ccdd28e4 100644 --- a/docs/InlineResponse2003IntegrationInformation.md +++ b/docs/InlineResponse2004IntegrationInformation.md @@ -1,10 +1,10 @@ -# InlineResponse2003IntegrationInformation +# InlineResponse2004IntegrationInformation ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **oauth2** | [**list[Boardingv1registrationsIntegrationInformationOauth2]**](Boardingv1registrationsIntegrationInformationOauth2.md) | | [optional] -**tenant_configurations** | [**list[InlineResponse2003IntegrationInformationTenantConfigurations]**](InlineResponse2003IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] +**tenant_configurations** | [**list[InlineResponse2004IntegrationInformationTenantConfigurations]**](InlineResponse2004IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md b/docs/InlineResponse2004IntegrationInformationTenantConfigurations.md similarity index 94% rename from docs/InlineResponse2003IntegrationInformationTenantConfigurations.md rename to docs/InlineResponse2004IntegrationInformationTenantConfigurations.md index f1b608a6..078f507c 100644 --- a/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md +++ b/docs/InlineResponse2004IntegrationInformationTenantConfigurations.md @@ -1,4 +1,4 @@ -# InlineResponse2003IntegrationInformationTenantConfigurations +# InlineResponse2004IntegrationInformationTenantConfigurations ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md index a1489095..77f37832 100644 --- a/docs/InlineResponse2005.md +++ b/docs/InlineResponse2005.md @@ -3,18 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**webhook_id** | **str** | Webhook Id. This is generated by the server. | [optional] -**organization_id** | **str** | Organization ID. | [optional] -**products** | [**list[Notificationsubscriptionsv2webhooksProducts]**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional] -**webhook_url** | **str** | The client's endpoint (URL) to receive webhooks. | [optional] -**health_check_url** | **str** | The client's health check endpoint (URL). | [optional] -**status** | **str** | Webhook status. | [optional] [default to 'INACTIVE'] -**name** | **str** | Client friendly webhook name. | [optional] -**description** | **str** | Client friendly webhook description. | [optional] -**retry_policy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] -**security_policy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] -**created_on** | **str** | Date on which webhook was created/registered. | [optional] -**notification_scope** | **str** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to 'DESCENDANTS'] +**product_id** | **str** | Product ID. | [optional] +**product_name** | **str** | Product Name. | [optional] +**event_types** | [**list[Notificationsubscriptionsv2productsorganizationIdEventTypes]**](Notificationsubscriptionsv2productsorganizationIdEventTypes.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md index 0d4d86b7..6f32b277 100644 --- a/docs/InlineResponse2006.md +++ b/docs/InlineResponse2006.md @@ -14,7 +14,6 @@ Name | Type | Description | Notes **retry_policy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] **security_policy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] **created_on** | **str** | Date on which webhook was created/registered. | [optional] -**updated_on** | **str** | Date on which webhook was most recently updated. | [optional] **notification_scope** | **str** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to 'DESCENDANTS'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md index 12a82879..ed29aea5 100644 --- a/docs/InlineResponse2007.md +++ b/docs/InlineResponse2007.md @@ -3,12 +3,19 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**total_count** | **int** | Total number of results. | [optional] -**offset** | **int** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] -**limit** | **int** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] -**sort** | **str** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional] -**count** | **int** | Results for this page, this could be below the limit. | [optional] -**devices** | [**list[InlineResponse2007Devices]**](InlineResponse2007Devices.md) | A collection of devices | [optional] +**webhook_id** | **str** | Webhook Id. This is generated by the server. | [optional] +**organization_id** | **str** | Organization ID. | [optional] +**products** | [**list[Notificationsubscriptionsv2webhooksProducts]**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional] +**webhook_url** | **str** | The client's endpoint (URL) to receive webhooks. | [optional] +**health_check_url** | **str** | The client's health check endpoint (URL). | [optional] +**status** | **str** | Webhook status. | [optional] [default to 'INACTIVE'] +**name** | **str** | Client friendly webhook name. | [optional] +**description** | **str** | Client friendly webhook description. | [optional] +**retry_policy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] +**security_policy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] +**created_on** | **str** | Date on which webhook was created/registered. | [optional] +**updated_on** | **str** | Date on which webhook was most recently updated. | [optional] +**notification_scope** | **str** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to 'DESCENDANTS'] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md index 43a9e7ab..88b692cd 100644 --- a/docs/InlineResponse2008.md +++ b/docs/InlineResponse2008.md @@ -3,8 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**status** | **str** | Possible values: - OK | [optional] -**devices** | [**list[Dmsv3devicesdeassociateDevices]**](Dmsv3devicesdeassociateDevices.md) | | [optional] +**total_count** | **int** | Total number of results. | [optional] +**offset** | **int** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] +**limit** | **int** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] +**sort** | **str** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional] +**count** | **int** | Results for this page, this could be below the limit. | [optional] +**devices** | [**list[InlineResponse2008Devices]**](InlineResponse2008Devices.md) | A collection of devices | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2007Devices.md b/docs/InlineResponse2008Devices.md similarity index 96% rename from docs/InlineResponse2007Devices.md rename to docs/InlineResponse2008Devices.md index 57d6e1f9..9f85c18f 100644 --- a/docs/InlineResponse2007Devices.md +++ b/docs/InlineResponse2008Devices.md @@ -1,4 +1,4 @@ -# InlineResponse2007Devices +# InlineResponse2008Devices ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse2009.md b/docs/InlineResponse2009.md index a4bdd557..5060bc1c 100644 --- a/docs/InlineResponse2009.md +++ b/docs/InlineResponse2009.md @@ -3,12 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**total_count** | **int** | Total number of results. | [optional] -**offset** | **int** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] -**limit** | **int** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] -**sort** | **str** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional] -**count** | **int** | Results for this page, this could be below the limit. | [optional] -**devices** | [**list[InlineResponse2009Devices]**](InlineResponse2009Devices.md) | A collection of devices | [optional] +**status** | **str** | Possible values: - OK | [optional] +**devices** | [**list[Dmsv3devicesdeassociateDevices]**](Dmsv3devicesdeassociateDevices.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse200Details.md b/docs/InlineResponse200Details.md new file mode 100644 index 00000000..0bf2e0df --- /dev/null +++ b/docs/InlineResponse200Details.md @@ -0,0 +1,11 @@ +# InlineResponse200Details + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | The name of the field that caused the error. | [optional] +**location** | **str** | The location of the field that caused the error. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse200Errors.md b/docs/InlineResponse200Errors.md new file mode 100644 index 00000000..e653d961 --- /dev/null +++ b/docs/InlineResponse200Errors.md @@ -0,0 +1,12 @@ +# InlineResponse200Errors + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. | [optional] +**message** | **str** | The detailed message related to the type. | [optional] +**details** | [**list[InlineResponse200Details]**](InlineResponse200Details.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse200Responses.md b/docs/InlineResponse200Responses.md new file mode 100644 index 00000000..8607be55 --- /dev/null +++ b/docs/InlineResponse200Responses.md @@ -0,0 +1,13 @@ +# InlineResponse200Responses + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**resource** | **str** | TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard | [optional] +**http_status** | **int** | Http status associated with the response. | [optional] +**id** | **str** | TMS token id associated with the response. | [optional] +**errors** | [**list[InlineResponse200Errors]**](InlineResponse200Errors.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InlineResponse2013SetupsPayments.md b/docs/InlineResponse2013SetupsPayments.md index be1f7e4f..89ecfefa 100644 --- a/docs/InlineResponse2013SetupsPayments.md +++ b/docs/InlineResponse2013SetupsPayments.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **unified_checkout** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] **receivables_manager** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] **service_fee** | [**InlineResponse2013SetupsPaymentsCardProcessing**](InlineResponse2013SetupsPaymentsCardProcessing.md) | | [optional] +**batch_upload** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ManageWebhooksApi.md b/docs/ManageWebhooksApi.md index e1b03caa..f73a4539 100644 --- a/docs/ManageWebhooksApi.md +++ b/docs/ManageWebhooksApi.md @@ -109,7 +109,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_webhook_subscriptions_by_org** -> list[InlineResponse2005] get_webhook_subscriptions_by_org(organization_id, product_id=product_id, event_type=event_type) +> list[InlineResponse2006] get_webhook_subscriptions_by_org(organization_id, product_id=product_id, event_type=event_type) Get Details On All Created Webhooks @@ -147,7 +147,7 @@ Name | Type | Description | Notes ### Return type -[**list[InlineResponse2005]**](InlineResponse2005.md) +[**list[InlineResponse2006]**](InlineResponse2006.md) ### Authorization @@ -209,7 +209,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **notification_subscriptions_v2_webhooks_webhook_id_patch** -> InlineResponse2006 notification_subscriptions_v2_webhooks_webhook_id_patch(webhook_id, update_webhook=update_webhook) +> InlineResponse2007 notification_subscriptions_v2_webhooks_webhook_id_patch(webhook_id, update_webhook=update_webhook) Update a Webhook Subscription @@ -245,7 +245,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2006**](InlineResponse2006.md) +[**InlineResponse2007**](InlineResponse2007.md) ### Authorization diff --git a/docs/MerchantBoardingApi.md b/docs/MerchantBoardingApi.md index a14cb634..11d786dd 100644 --- a/docs/MerchantBoardingApi.md +++ b/docs/MerchantBoardingApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **get_registration** -> InlineResponse2003 get_registration(registration_id) +> InlineResponse2004 get_registration(registration_id) Gets all the information on a boarding registration @@ -43,7 +43,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2003**](InlineResponse2003.md) +[**InlineResponse2004**](InlineResponse2004.md) ### Authorization diff --git a/docs/MerchantDefinedFieldsApi.md b/docs/MerchantDefinedFieldsApi.md index 99658825..c82c6c6b 100644 --- a/docs/MerchantDefinedFieldsApi.md +++ b/docs/MerchantDefinedFieldsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **create_merchant_defined_field_definition** -> list[InlineResponse2002] create_merchant_defined_field_definition(reference_type, merchant_defined_field_definition_request) +> list[InlineResponse2003] create_merchant_defined_field_definition(reference_type, merchant_defined_field_definition_request) Create merchant defined field for a given reference type @@ -45,7 +45,7 @@ Name | Type | Description | Notes ### Return type -[**list[InlineResponse2002]**](InlineResponse2002.md) +[**list[InlineResponse2003]**](InlineResponse2003.md) ### Authorization @@ -106,7 +106,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_merchant_defined_fields_definitions** -> list[InlineResponse2002] get_merchant_defined_fields_definitions(reference_type) +> list[InlineResponse2003] get_merchant_defined_fields_definitions(reference_type) Get all merchant defined fields for a given reference type @@ -138,7 +138,7 @@ Name | Type | Description | Notes ### Return type -[**list[InlineResponse2002]**](InlineResponse2002.md) +[**list[InlineResponse2003]**](InlineResponse2003.md) ### Authorization @@ -152,7 +152,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **put_merchant_defined_fields_definitions** -> list[InlineResponse2002] put_merchant_defined_fields_definitions(reference_type, id, merchant_defined_field_core) +> list[InlineResponse2003] put_merchant_defined_fields_definitions(reference_type, id, merchant_defined_field_core) Update a MerchantDefinedField by ID @@ -188,7 +188,7 @@ Name | Type | Description | Notes ### Return type -[**list[InlineResponse2002]**](InlineResponse2002.md) +[**list[InlineResponse2003]**](InlineResponse2003.md) ### Authorization diff --git a/docs/OffersApi.md b/docs/OffersApi.md index 3970c2e4..cbda9d15 100644 --- a/docs/OffersApi.md +++ b/docs/OffersApi.md @@ -67,7 +67,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_offer** -> InlineResponse20014 get_offer(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, id) +> InlineResponse20015 get_offer(content_type, x_requestid, v_c_merchant_id, v_c_correlation_id, v_c_organization_id, id) Retrieve an Offer @@ -111,7 +111,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20014**](InlineResponse20014.md) +[**InlineResponse20015**](InlineResponse20015.md) ### Authorization diff --git a/docs/PatchCustomerPaymentInstrumentRequest.md b/docs/PatchCustomerPaymentInstrumentRequest.md index f5d8aff9..ff15cdf0 100644 --- a/docs/PatchCustomerPaymentInstrumentRequest.md +++ b/docs/PatchCustomerPaymentInstrumentRequest.md @@ -3,21 +3,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **str** | The Id of the Payment Instrument Token. | [optional] **object** | **str** | The type. Possible Values: - paymentInstrument | [optional] **default** | **bool** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **str** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **str** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyer_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**bill_to** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bank_account** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**bill_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processing_information** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchant_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrument_identifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**merchant_information** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrument_identifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PatchCustomerRequest.md b/docs/PatchCustomerRequest.md index 3237d56f..d801bdd5 100644 --- a/docs/PatchCustomerRequest.md +++ b/docs/PatchCustomerRequest.md @@ -3,16 +3,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersLinks**](Tmsv2customersLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] **id** | **str** | The Id of the Customer Token. | [optional] -**object_information** | [**Tmsv2customersObjectInformation**](Tmsv2customersObjectInformation.md) | | [optional] -**buyer_information** | [**Tmsv2customersBuyerInformation**](Tmsv2customersBuyerInformation.md) | | [optional] -**client_reference_information** | [**Tmsv2customersClientReferenceInformation**](Tmsv2customersClientReferenceInformation.md) | | [optional] -**merchant_defined_information** | [**list[Tmsv2customersMerchantDefinedInformation]**](Tmsv2customersMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] -**default_payment_instrument** | [**Tmsv2customersDefaultPaymentInstrument**](Tmsv2customersDefaultPaymentInstrument.md) | | [optional] -**default_shipping_address** | [**Tmsv2customersDefaultShippingAddress**](Tmsv2customersDefaultShippingAddress.md) | | [optional] -**metadata** | [**Tmsv2customersMetadata**](Tmsv2customersMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbedded**](Tmsv2customersEmbedded.md) | | [optional] +**object_information** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**client_reference_information** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**merchant_defined_information** | [**list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation]**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**default_payment_instrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**default_shipping_address** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PatchCustomerShippingAddressRequest.md b/docs/PatchCustomerShippingAddressRequest.md index a754e501..03da2792 100644 --- a/docs/PatchCustomerShippingAddressRequest.md +++ b/docs/PatchCustomerShippingAddressRequest.md @@ -3,11 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] **id** | **str** | The Id of the Shipping Address Token. | [optional] **default** | **bool** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**ship_to** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] +**ship_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PatchPaymentInstrumentRequest.md b/docs/PatchPaymentInstrumentRequest.md index 5a3cf313..ccac7abc 100644 --- a/docs/PatchPaymentInstrumentRequest.md +++ b/docs/PatchPaymentInstrumentRequest.md @@ -3,21 +3,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **str** | The Id of the Payment Instrument Token. | [optional] **object** | **str** | The type. Possible Values: - paymentInstrument | [optional] **default** | **bool** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **str** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **str** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyer_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**bill_to** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bank_account** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**bill_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processing_information** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchant_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrument_identifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**merchant_information** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrument_identifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md b/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md index 1598dbc1..1d150205 100644 --- a/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md +++ b/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md @@ -3,20 +3,20 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **str** | The Id of the Payment Instrument Token. | [optional] **object** | **str** | The type. Possible Values: - paymentInstrument | [optional] **default** | **bool** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **str** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **str** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyer_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**bill_to** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bank_account** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**bill_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processing_information** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchant_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrument_identifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**merchant_information** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrument_identifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] **embedded** | [**PaymentInstrumentList1EmbeddedEmbedded**](PaymentInstrumentList1EmbeddedEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymentInstrumentListEmbedded.md b/docs/PaymentInstrumentListEmbedded.md index 513b3551..e286c235 100644 --- a/docs/PaymentInstrumentListEmbedded.md +++ b/docs/PaymentInstrumentListEmbedded.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payment_instruments** | [**list[Tmsv2customersEmbeddedDefaultPaymentInstrument]**](Tmsv2customersEmbeddedDefaultPaymentInstrument.md) | | [optional] +**payment_instruments** | [**list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument]**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymentsProducts.md b/docs/PaymentsProducts.md index db551cc1..9f09886e 100644 --- a/docs/PaymentsProducts.md +++ b/docs/PaymentsProducts.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **unified_checkout** | [**PaymentsProductsUnifiedCheckout**](PaymentsProductsUnifiedCheckout.md) | | [optional] **receivables_manager** | [**PaymentsProductsTax**](PaymentsProductsTax.md) | | [optional] **service_fee** | [**PaymentsProductsServiceFee**](PaymentsProductsServiceFee.md) | | [optional] +**batch_upload** | [**PaymentsProductsTax**](PaymentsProductsTax.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PostCustomerPaymentInstrumentRequest.md b/docs/PostCustomerPaymentInstrumentRequest.md index 56202f8e..f93ea640 100644 --- a/docs/PostCustomerPaymentInstrumentRequest.md +++ b/docs/PostCustomerPaymentInstrumentRequest.md @@ -3,21 +3,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **str** | The Id of the Payment Instrument Token. | [optional] **object** | **str** | The type. Possible Values: - paymentInstrument | [optional] **default** | **bool** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **str** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **str** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyer_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**bill_to** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bank_account** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**bill_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processing_information** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchant_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrument_identifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**merchant_information** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrument_identifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PostCustomerRequest.md b/docs/PostCustomerRequest.md index 2c6c4eff..1ffc2472 100644 --- a/docs/PostCustomerRequest.md +++ b/docs/PostCustomerRequest.md @@ -3,16 +3,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersLinks**](Tmsv2customersLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] **id** | **str** | The Id of the Customer Token. | [optional] -**object_information** | [**Tmsv2customersObjectInformation**](Tmsv2customersObjectInformation.md) | | [optional] -**buyer_information** | [**Tmsv2customersBuyerInformation**](Tmsv2customersBuyerInformation.md) | | [optional] -**client_reference_information** | [**Tmsv2customersClientReferenceInformation**](Tmsv2customersClientReferenceInformation.md) | | [optional] -**merchant_defined_information** | [**list[Tmsv2customersMerchantDefinedInformation]**](Tmsv2customersMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] -**default_payment_instrument** | [**Tmsv2customersDefaultPaymentInstrument**](Tmsv2customersDefaultPaymentInstrument.md) | | [optional] -**default_shipping_address** | [**Tmsv2customersDefaultShippingAddress**](Tmsv2customersDefaultShippingAddress.md) | | [optional] -**metadata** | [**Tmsv2customersMetadata**](Tmsv2customersMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbedded**](Tmsv2customersEmbedded.md) | | [optional] +**object_information** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**client_reference_information** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**merchant_defined_information** | [**list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation]**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**default_payment_instrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**default_shipping_address** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PostCustomerShippingAddressRequest.md b/docs/PostCustomerShippingAddressRequest.md index e67b22c4..a00456b4 100644 --- a/docs/PostCustomerShippingAddressRequest.md +++ b/docs/PostCustomerShippingAddressRequest.md @@ -3,11 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] **id** | **str** | The Id of the Shipping Address Token. | [optional] **default** | **bool** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**ship_to** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] +**ship_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PostIssuerLifeCycleSimulationRequest.md b/docs/PostIssuerLifeCycleSimulationRequest.md new file mode 100644 index 00000000..3acfd488 --- /dev/null +++ b/docs/PostIssuerLifeCycleSimulationRequest.md @@ -0,0 +1,12 @@ +# PostIssuerLifeCycleSimulationRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**state** | **str** | The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED | [optional] +**card** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md) | | [optional] +**metadata** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PostPaymentInstrumentRequest.md b/docs/PostPaymentInstrumentRequest.md index 4915573b..f51ecdc2 100644 --- a/docs/PostPaymentInstrumentRequest.md +++ b/docs/PostPaymentInstrumentRequest.md @@ -3,21 +3,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **id** | **str** | The Id of the Payment Instrument Token. | [optional] **object** | **str** | The type. Possible Values: - paymentInstrument | [optional] **default** | **bool** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **state** | **str** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **type** | **str** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyer_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**bill_to** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**bank_account** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**bill_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **processing_information** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchant_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrument_identifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**merchant_information** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrument_identifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PostTokenizeRequest.md b/docs/PostTokenizeRequest.md new file mode 100644 index 00000000..894bf18a --- /dev/null +++ b/docs/PostTokenizeRequest.md @@ -0,0 +1,11 @@ +# PostTokenizeRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**processing_information** | [**Tmsv2tokenizeProcessingInformation**](Tmsv2tokenizeProcessingInformation.md) | | [optional] +**token_information** | [**Tmsv2tokenizeTokenInformation**](Tmsv2tokenizeTokenInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Ptsv2paymentsAggregatorInformation.md b/docs/Ptsv2paymentsAggregatorInformation.md index fb0ab6f4..94e5cbeb 100644 --- a/docs/Ptsv2paymentsAggregatorInformation.md +++ b/docs/Ptsv2paymentsAggregatorInformation.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **state** | **str** | Acquirer state. | [optional] **postal_code** | **str** | Acquirer postal code. | [optional] **country** | **str** | Acquirer country. | [optional] +**service_providername** | **str** | Contains transfer service provider name. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Rbsv1plansClientReferenceInformation.md b/docs/Rbsv1plansClientReferenceInformation.md deleted file mode 100644 index 0efc8bda..00000000 --- a/docs/Rbsv1plansClientReferenceInformation.md +++ /dev/null @@ -1,14 +0,0 @@ -# Rbsv1plansClientReferenceInformation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comments** | **str** | Brief description of the order or any comment you wish to add to the order. | [optional] -**partner** | [**Riskv1decisionsClientReferenceInformationPartner**](Riskv1decisionsClientReferenceInformationPartner.md) | | [optional] -**application_name** | **str** | The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. | [optional] -**application_version** | **str** | Version of the CyberSource application or integration used for a transaction. | [optional] -**application_user** | **str** | The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Rbsv1subscriptionsClientReferenceInformation.md b/docs/Rbsv1subscriptionsClientReferenceInformation.md deleted file mode 100644 index d2f0b546..00000000 --- a/docs/Rbsv1subscriptionsClientReferenceInformation.md +++ /dev/null @@ -1,15 +0,0 @@ -# Rbsv1subscriptionsClientReferenceInformation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. | [optional] -**comments** | **str** | > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. | [optional] -**partner** | [**Rbsv1subscriptionsClientReferenceInformationPartner**](Rbsv1subscriptionsClientReferenceInformationPartner.md) | | [optional] -**application_name** | **str** | > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. | [optional] -**application_version** | **str** | > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. | [optional] -**application_user** | **str** | > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md b/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md deleted file mode 100644 index 5c8f2060..00000000 --- a/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md +++ /dev/null @@ -1,11 +0,0 @@ -# Rbsv1subscriptionsClientReferenceInformationPartner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**developer_id** | **str** | > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. | [optional] -**solution_id** | **str** | > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ShippingAddressListForCustomerEmbedded.md b/docs/ShippingAddressListForCustomerEmbedded.md index b7454995..121f47c8 100644 --- a/docs/ShippingAddressListForCustomerEmbedded.md +++ b/docs/ShippingAddressListForCustomerEmbedded.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**shipping_addresses** | [**list[Tmsv2customersEmbeddedDefaultShippingAddress]**](Tmsv2customersEmbeddedDefaultShippingAddress.md) | | [optional] +**shipping_addresses** | [**list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress]**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SubscriptionsApi.md b/docs/SubscriptionsApi.md index 57148b82..c5a95806 100644 --- a/docs/SubscriptionsApi.md +++ b/docs/SubscriptionsApi.md @@ -4,7 +4,7 @@ All URIs are relative to *https://apitest.cybersource.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**activate_subscription**](SubscriptionsApi.md#activate_subscription) | **POST** /rbs/v1/subscriptions/{id}/activate | Activate a Subscription +[**activate_subscription**](SubscriptionsApi.md#activate_subscription) | **POST** /rbs/v1/subscriptions/{id}/activate | Reactivating a Suspended Subscription [**cancel_subscription**](SubscriptionsApi.md#cancel_subscription) | **POST** /rbs/v1/subscriptions/{id}/cancel | Cancel a Subscription [**create_subscription**](SubscriptionsApi.md#create_subscription) | **POST** /rbs/v1/subscriptions | Create a Subscription [**get_all_subscriptions**](SubscriptionsApi.md#get_all_subscriptions) | **GET** /rbs/v1/subscriptions | Get a List of Subscriptions @@ -15,11 +15,11 @@ Method | HTTP request | Description # **activate_subscription** -> ActivateSubscriptionResponse activate_subscription(id, process_skipped_payments=process_skipped_payments) +> ActivateSubscriptionResponse activate_subscription(id, process_missed_payments=process_missed_payments) -Activate a Subscription +Reactivating a Suspended Subscription -Activate a `SUSPENDED` Subscription +# Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). ### Example ```python @@ -32,11 +32,11 @@ from pprint import pprint # create an instance of the API class api_instance = CyberSource.SubscriptionsApi() id = 'id_example' # str | Subscription Id -process_skipped_payments = true # bool | Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional) (default to true) +process_missed_payments = true # bool | Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional) (default to true) try: - # Activate a Subscription - api_response = api_instance.activate_subscription(id, process_skipped_payments=process_skipped_payments) + # Reactivating a Suspended Subscription + api_response = api_instance.activate_subscription(id, process_missed_payments=process_missed_payments) pprint(api_response) except ApiException as e: print("Exception when calling SubscriptionsApi->activate_subscription: %s\n" % e) @@ -47,7 +47,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| Subscription Id | - **process_skipped_payments** | **bool**| Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. | [optional] [default to true] + **process_missed_payments** | **bool**| Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. | [optional] [default to true] ### Return type @@ -311,7 +311,7 @@ No authorization required Suspend a Subscription -Suspend a Subscription +Suspend a Subscription ### Example ```python diff --git a/docs/InlineResponse20010Links.md b/docs/TmsMerchantInformation.md similarity index 63% rename from docs/InlineResponse20010Links.md rename to docs/TmsMerchantInformation.md index c7955d87..80abdba6 100644 --- a/docs/InlineResponse20010Links.md +++ b/docs/TmsMerchantInformation.md @@ -1,10 +1,9 @@ -# InlineResponse20010Links +# TmsMerchantInformation ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**rel** | **str** | Valid Values: * self * first * last * prev * next | [optional] -**href** | **str** | | [optional] +**merchant_descriptor** | [**TmsMerchantInformationMerchantDescriptor**](TmsMerchantInformationMerchantDescriptor.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md b/docs/TmsMerchantInformationMerchantDescriptor.md similarity index 88% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md rename to docs/TmsMerchantInformationMerchantDescriptor.md index d03ed57c..c883bf1b 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md +++ b/docs/TmsMerchantInformationMerchantDescriptor.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor +# TmsMerchantInformationMerchantDescriptor ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbedded.md b/docs/Tmsv2customersEmbedded.md deleted file mode 100644 index fbea8aa1..00000000 --- a/docs/Tmsv2customersEmbedded.md +++ /dev/null @@ -1,11 +0,0 @@ -# Tmsv2customersEmbedded - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**default_payment_instrument** | [**Tmsv2customersEmbeddedDefaultPaymentInstrument**](Tmsv2customersEmbeddedDefaultPaymentInstrument.md) | | [optional] -**default_shipping_address** | [**Tmsv2customersEmbeddedDefaultShippingAddress**](Tmsv2customersEmbeddedDefaultShippingAddress.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md deleted file mode 100644 index 5c103fbc..00000000 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md +++ /dev/null @@ -1,24 +0,0 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrument - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] -**id** | **str** | The Id of the Payment Instrument Token. | [optional] -**object** | **str** | The type. Possible Values: - paymentInstrument | [optional] -**default** | **bool** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] -**state** | **str** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] -**type** | **str** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**bank_account** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**buyer_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**bill_to** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] -**processing_information** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**merchant_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**instrument_identifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md deleted file mode 100644 index 0c3ddad8..00000000 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md +++ /dev/null @@ -1,11 +0,0 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_self** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md) | | [optional] -**customer** | [**Tmsv2customersLinksSelf**](Tmsv2customersLinksSelf.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md b/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md deleted file mode 100644 index 0bf1a437..00000000 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md +++ /dev/null @@ -1,10 +0,0 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**merchant_descriptor** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md b/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md deleted file mode 100644 index 35660580..00000000 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md +++ /dev/null @@ -1,14 +0,0 @@ -# Tmsv2customersEmbeddedDefaultShippingAddress - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] -**id** | **str** | The Id of the Shipping Address Token. | [optional] -**default** | **bool** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**ship_to** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md b/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md deleted file mode 100644 index 905976a9..00000000 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md +++ /dev/null @@ -1,11 +0,0 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_self** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf**](Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md) | | [optional] -**customer** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer**](Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Tmsv2customersLinks.md b/docs/Tmsv2customersLinks.md deleted file mode 100644 index 00ceccbe..00000000 --- a/docs/Tmsv2customersLinks.md +++ /dev/null @@ -1,12 +0,0 @@ -# Tmsv2customersLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_self** | [**Tmsv2customersLinksSelf**](Tmsv2customersLinksSelf.md) | | [optional] -**payment_instruments** | [**Tmsv2customersLinksPaymentInstruments**](Tmsv2customersLinksPaymentInstruments.md) | | [optional] -**shipping_address** | [**Tmsv2customersLinksShippingAddress**](Tmsv2customersLinksShippingAddress.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Tmsv2tokenizeProcessingInformation.md b/docs/Tmsv2tokenizeProcessingInformation.md new file mode 100644 index 00000000..08ea6435 --- /dev/null +++ b/docs/Tmsv2tokenizeProcessingInformation.md @@ -0,0 +1,11 @@ +# Tmsv2tokenizeProcessingInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**action_list** | **list[str]** | Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. | [optional] +**action_token_types** | **list[str]** | TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2tokenizeTokenInformation.md b/docs/Tmsv2tokenizeTokenInformation.md new file mode 100644 index 00000000..12be5f49 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformation.md @@ -0,0 +1,15 @@ +# Tmsv2tokenizeTokenInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**jti** | **str** | TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). | [optional] +**transient_token_jwt** | **str** | Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. | [optional] +**customer** | [**Tmsv2tokenizeTokenInformationCustomer**](Tmsv2tokenizeTokenInformationCustomer.md) | | [optional] +**shipping_address** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] +**payment_instrument** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] +**instrument_identifier** | [**TmsEmbeddedInstrumentIdentifier**](TmsEmbeddedInstrumentIdentifier.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2tokenizeTokenInformationCustomer.md b/docs/Tmsv2tokenizeTokenInformationCustomer.md new file mode 100644 index 00000000..6e313e20 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomer.md @@ -0,0 +1,19 @@ +# Tmsv2tokenizeTokenInformationCustomer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] +**id** | **str** | The Id of the Customer Token. | [optional] +**object_information** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**client_reference_information** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**merchant_defined_information** | [**list[Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation]**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**default_payment_instrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**default_shipping_address** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2customersBuyerInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md similarity index 89% rename from docs/Tmsv2customersBuyerInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md index cf57c3da..859f9fc2 100644 --- a/docs/Tmsv2customersBuyerInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md @@ -1,4 +1,4 @@ -# Tmsv2customersBuyerInformation +# Tmsv2tokenizeTokenInformationCustomerBuyerInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersClientReferenceInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md similarity index 84% rename from docs/Tmsv2customersClientReferenceInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md index 7290a585..8b32f9a0 100644 --- a/docs/Tmsv2customersClientReferenceInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md @@ -1,4 +1,4 @@ -# Tmsv2customersClientReferenceInformation +# Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersDefaultPaymentInstrument.md b/docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md similarity index 84% rename from docs/Tmsv2customersDefaultPaymentInstrument.md rename to docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md index 961de0cc..fdb2c082 100644 --- a/docs/Tmsv2customersDefaultPaymentInstrument.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md @@ -1,4 +1,4 @@ -# Tmsv2customersDefaultPaymentInstrument +# Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersDefaultShippingAddress.md b/docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md similarity index 85% rename from docs/Tmsv2customersDefaultShippingAddress.md rename to docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md index ed713253..d36e7c8e 100644 --- a/docs/Tmsv2customersDefaultShippingAddress.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md @@ -1,4 +1,4 @@ -# Tmsv2customersDefaultShippingAddress +# Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md new file mode 100644 index 00000000..bc6becc9 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md @@ -0,0 +1,11 @@ +# Tmsv2tokenizeTokenInformationCustomerEmbedded + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_payment_instrument** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] +**default_shipping_address** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md new file mode 100644 index 00000000..e1ec01c5 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md @@ -0,0 +1,24 @@ +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**id** | **str** | The Id of the Payment Instrument Token. | [optional] +**object** | **str** | The type. Possible Values: - paymentInstrument | [optional] +**default** | **bool** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] +**state** | **str** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] +**type** | **str** | The type of Payment Instrument. Possible Values: - cardHash | [optional] +**bank_account** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**buyer_information** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**bill_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**processing_information** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] +**merchant_information** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**instrument_identifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md similarity index 86% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md index 439773fd..403fd011 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md similarity index 95% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md index a3bc5fcb..764f0b3d 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md similarity index 79% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md index cad284d8..ad945e23 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation ## Properties Name | Type | Description | Notes @@ -6,7 +6,7 @@ Name | Type | Description | Notes **company_tax_id** | **str** | Company's tax identifier. This is only used for eCheck service. | [optional] **currency** | **str** | Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **date_of_birth** | **date** | Date of birth of the customer. Format: YYYY-MM-DD | [optional] -**personal_identification** | [**list[Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification]**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] +**personal_identification** | [**list[Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification]**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md similarity index 83% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md index b064e509..3b5fc1db 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md similarity index 56% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md index 25a33702..3f36e561 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md @@ -1,11 +1,11 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The value of the identification type. | [optional] **type** | **str** | The type of the identification. Possible Values: - driver license | [optional] -**issued_by** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md) | | [optional] +**issued_by** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md similarity index 92% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md index 1a0e3228..e1162cdd 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentCard +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard ## Properties Name | Type | Description | Notes @@ -11,7 +11,7 @@ Name | Type | Description | Notes **start_year** | **str** | Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`. **Note** The start date is not required for Maestro (UK Domestic) transactions. | [optional] **use_as** | **str** | 'Payment Instrument was created / updated as part of a pinless debit transaction.' | [optional] **hash** | **str** | Hash value representing the card. | [optional] -**tokenized_information** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md) | | [optional] +**tokenized_information** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md similarity index 91% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md index 74447adb..0ff658a7 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md similarity index 83% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md index 13368f03..7eb2016e 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md similarity index 80% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md index e1f8d02e..9fa8f977 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md new file mode 100644 index 00000000..e5670a19 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md @@ -0,0 +1,11 @@ +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_self** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md) | | [optional] +**customer** | [**Tmsv2tokenizeTokenInformationCustomerLinksSelf**](Tmsv2tokenizeTokenInformationCustomerLinksSelf.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md similarity index 80% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md index 379168fe..4eae75a3 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md similarity index 81% rename from docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md index 5c6f56de..396b01d4 100644 --- a/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md new file mode 100644 index 00000000..8d1909d3 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md @@ -0,0 +1,14 @@ +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**id** | **str** | The Id of the Shipping Address Token. | [optional] +**default** | **bool** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] +**ship_to** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md new file mode 100644 index 00000000..3f64791f --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md @@ -0,0 +1,11 @@ +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_self** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md) | | [optional] +**customer** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md similarity index 80% rename from docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md index c605d986..80cfa58b 100644 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md similarity index 81% rename from docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md index 9cf612d4..831d5240 100644 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md similarity index 81% rename from docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md index 72151cf0..284e89c0 100644 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressMetadata +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md similarity index 96% rename from docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md rename to docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md index 639ccf44..02359fb6 100644 --- a/docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md @@ -1,4 +1,4 @@ -# Tmsv2customersEmbeddedDefaultShippingAddressShipTo +# Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md b/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md new file mode 100644 index 00000000..3b2d1ac0 --- /dev/null +++ b/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md @@ -0,0 +1,12 @@ +# Tmsv2tokenizeTokenInformationCustomerLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_self** | [**Tmsv2tokenizeTokenInformationCustomerLinksSelf**](Tmsv2tokenizeTokenInformationCustomerLinksSelf.md) | | [optional] +**payment_instruments** | [**Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments**](Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md) | | [optional] +**shipping_address** | [**Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress**](Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2customersLinksPaymentInstruments.md b/docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md similarity index 84% rename from docs/Tmsv2customersLinksPaymentInstruments.md rename to docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md index 880618d7..43c2ff52 100644 --- a/docs/Tmsv2customersLinksPaymentInstruments.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md @@ -1,4 +1,4 @@ -# Tmsv2customersLinksPaymentInstruments +# Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersLinksSelf.md b/docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md similarity index 87% rename from docs/Tmsv2customersLinksSelf.md rename to docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md index 5cf6c4f3..93a6539c 100644 --- a/docs/Tmsv2customersLinksSelf.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md @@ -1,4 +1,4 @@ -# Tmsv2customersLinksSelf +# Tmsv2tokenizeTokenInformationCustomerLinksSelf ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersLinksShippingAddress.md b/docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md similarity index 85% rename from docs/Tmsv2customersLinksShippingAddress.md rename to docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md index 2281b09a..bf97742f 100644 --- a/docs/Tmsv2customersLinksShippingAddress.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md @@ -1,4 +1,4 @@ -# Tmsv2customersLinksShippingAddress +# Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersMerchantDefinedInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md similarity index 96% rename from docs/Tmsv2customersMerchantDefinedInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md index 66e79196..c3f75a56 100644 --- a/docs/Tmsv2customersMerchantDefinedInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md @@ -1,4 +1,4 @@ -# Tmsv2customersMerchantDefinedInformation +# Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersMetadata.md b/docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md similarity index 87% rename from docs/Tmsv2customersMetadata.md rename to docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md index 6dbd74da..42534d40 100644 --- a/docs/Tmsv2customersMetadata.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md @@ -1,4 +1,4 @@ -# Tmsv2customersMetadata +# Tmsv2tokenizeTokenInformationCustomerMetadata ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2customersObjectInformation.md b/docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md similarity index 88% rename from docs/Tmsv2customersObjectInformation.md rename to docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md index ec708b25..324790be 100644 --- a/docs/Tmsv2customersObjectInformation.md +++ b/docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md @@ -1,4 +1,4 @@ -# Tmsv2customersObjectInformation +# Tmsv2tokenizeTokenInformationCustomerObjectInformation ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md new file mode 100644 index 00000000..4925a763 --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md @@ -0,0 +1,12 @@ +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last4** | **str** | The new last 4 digits of the card number associated to the Tokenized Card. | [optional] +**expiration_month** | **str** | The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. | [optional] +**expiration_year** | **str** | The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md new file mode 100644 index 00000000..3199eea0 --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md @@ -0,0 +1,10 @@ +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**card_art** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md new file mode 100644 index 00000000..ba011d24 --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md @@ -0,0 +1,10 @@ +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**combined_asset** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md new file mode 100644 index 00000000..3fe88f51 --- /dev/null +++ b/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md @@ -0,0 +1,10 @@ +# Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**update** | **str** | Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TokenApi.md b/docs/TokenApi.md index 9624092f..dfdd4c28 100644 --- a/docs/TokenApi.md +++ b/docs/TokenApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **get_card_art_asset** -> InlineResponse200 get_card_art_asset(instrument_identifier_id, token_provider, asset_type) +> InlineResponse2001 get_card_art_asset(instrument_identifier_id, token_provider, asset_type) Retrieve Card Art @@ -47,7 +47,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse200**](InlineResponse200.md) +[**InlineResponse2001**](InlineResponse2001.md) ### Authorization diff --git a/docs/TokenizeApi.md b/docs/TokenizeApi.md new file mode 100644 index 00000000..3e8e32a8 --- /dev/null +++ b/docs/TokenizeApi.md @@ -0,0 +1,59 @@ +# CyberSource.TokenizeApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**tokenize**](TokenizeApi.md#tokenize) | **POST** /tms/v2/tokenize | Tokenize + + +# **tokenize** +> InlineResponse200 tokenize(post_tokenize_request, profile_id=profile_id) + +Tokenize + +| | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|      |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.
In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + +### Example +```python +from __future__ import print_function +import time +import CyberSource +from CyberSource.rest import ApiException +from pprint import pprint + +# create an instance of the API class +api_instance = CyberSource.TokenizeApi() +post_tokenize_request = CyberSource.PostTokenizeRequest() # PostTokenizeRequest | +profile_id = 'profile_id_example' # str | The Id of a profile containing user specific TMS configuration. (optional) + +try: + # Tokenize + api_response = api_instance.tokenize(post_tokenize_request, profile_id=profile_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling TokenizeApi->tokenize: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **post_tokenize_request** | [**PostTokenizeRequest**](PostTokenizeRequest.md)| | + **profile_id** | **str**| The Id of a profile containing user specific TMS configuration. | [optional] + +### Return type + +[**InlineResponse200**](InlineResponse200.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/TokenizedCardApi.md b/docs/TokenizedCardApi.md index cd463c4f..81445e3b 100644 --- a/docs/TokenizedCardApi.md +++ b/docs/TokenizedCardApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**delete_tokenized_card**](TokenizedCardApi.md#delete_tokenized_card) | **DELETE** /tms/v2/tokenized-cards/{tokenizedCardId} | Delete a Tokenized Card [**get_tokenized_card**](TokenizedCardApi.md#get_tokenized_card) | **GET** /tms/v2/tokenized-cards/{tokenizedCardId} | Retrieve a Tokenized Card +[**post_issuer_life_cycle_simulation**](TokenizedCardApi.md#post_issuer_life_cycle_simulation) | **POST** /tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations | Simulate Issuer Life Cycle Management Events [**post_tokenized_card**](TokenizedCardApi.md#post_tokenized_card) | **POST** /tms/v2/tokenized-cards | Create a Tokenized Card @@ -108,6 +109,57 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **post_issuer_life_cycle_simulation** +> post_issuer_life_cycle_simulation(profile_id, tokenized_card_id, post_issuer_life_cycle_simulation_request) + +Simulate Issuer Life Cycle Management Events + +**Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + +### Example +```python +from __future__ import print_function +import time +import CyberSource +from CyberSource.rest import ApiException +from pprint import pprint + +# create an instance of the API class +api_instance = CyberSource.TokenizedCardApi() +profile_id = 'profile_id_example' # str | The Id of a profile containing user specific TMS configuration. +tokenized_card_id = 'tokenized_card_id_example' # str | The Id of a tokenized card. +post_issuer_life_cycle_simulation_request = CyberSource.PostIssuerLifeCycleSimulationRequest() # PostIssuerLifeCycleSimulationRequest | + +try: + # Simulate Issuer Life Cycle Management Events + api_instance.post_issuer_life_cycle_simulation(profile_id, tokenized_card_id, post_issuer_life_cycle_simulation_request) +except ApiException as e: + print("Exception when calling TokenizedCardApi->post_issuer_life_cycle_simulation: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profile_id** | **str**| The Id of a profile containing user specific TMS configuration. | + **tokenized_card_id** | **str**| The Id of a tokenized card. | + **post_issuer_life_cycle_simulation_request** | [**PostIssuerLifeCycleSimulationRequest**](PostIssuerLifeCycleSimulationRequest.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **post_tokenized_card** > TokenizedcardRequest post_tokenized_card(tokenizedcard_request, profile_id=profile_id) diff --git a/docs/UpdateSubscription.md b/docs/UpdateSubscription.md index 7ec003eb..1b625df0 100644 --- a/docs/UpdateSubscription.md +++ b/docs/UpdateSubscription.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**client_reference_information** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**client_reference_information** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **processing_information** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **plan_information** | [**Rbsv1subscriptionsidPlanInformation**](Rbsv1subscriptionsidPlanInformation.md) | | [optional] **subscription_information** | [**Rbsv1subscriptionsidSubscriptionInformation**](Rbsv1subscriptionsidSubscriptionInformation.md) | | [optional] diff --git a/docs/Upv1capturecontextsData.md b/docs/Upv1capturecontextsData.md index 1fb03538..6c304c65 100644 --- a/docs/Upv1capturecontextsData.md +++ b/docs/Upv1capturecontextsData.md @@ -11,6 +11,8 @@ Name | Type | Description | Notes **processing_information** | [**Upv1capturecontextsDataProcessingInformation**](Upv1capturecontextsDataProcessingInformation.md) | | [optional] **recipient_information** | [**Upv1capturecontextsDataRecipientInformation**](Upv1capturecontextsDataRecipientInformation.md) | | [optional] **merchant_defined_information** | [**Upv1capturecontextsDataMerchantDefinedInformation**](Upv1capturecontextsDataMerchantDefinedInformation.md) | | [optional] +**device_information** | [**Upv1capturecontextsDataDeviceInformation**](Upv1capturecontextsDataDeviceInformation.md) | | [optional] +**payment_information** | [**Upv1capturecontextsDataPaymentInformation**](Upv1capturecontextsDataPaymentInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataBuyerInformation.md b/docs/Upv1capturecontextsDataBuyerInformation.md index e5964d53..ddab59bb 100644 --- a/docs/Upv1capturecontextsDataBuyerInformation.md +++ b/docs/Upv1capturecontextsDataBuyerInformation.md @@ -4,8 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **personal_identification** | [**Upv1capturecontextsDataBuyerInformationPersonalIdentification**](Upv1capturecontextsDataBuyerInformationPersonalIdentification.md) | | [optional] -**merchant_customer_id** | **str** | | [optional] -**company_tax_id** | **str** | | [optional] +**merchant_customer_id** | **str** | The Merchant Customer ID | [optional] +**company_tax_id** | **str** | The Company Tax ID | [optional] +**date_of_birth** | **str** | The date of birth | [optional] +**language** | **str** | The preferred language | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md b/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md index dff39a02..ed419135 100644 --- a/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md +++ b/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**cpf** | **str** | | [optional] +**cpf** | **str** | CPF Number (Brazil). Must be 11 digits in length. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md b/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md index 8138a8c7..d450f536 100644 --- a/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md +++ b/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md @@ -3,8 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**challenge_code** | **str** | | [optional] -**message_category** | **str** | | [optional] +**challenge_code** | **str** | The challenge code | [optional] +**message_category** | **str** | The message category | [optional] +**acs_window_size** | **str** | The acs window size | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataDeviceInformation.md b/docs/Upv1capturecontextsDataDeviceInformation.md new file mode 100644 index 00000000..e82b2a31 --- /dev/null +++ b/docs/Upv1capturecontextsDataDeviceInformation.md @@ -0,0 +1,10 @@ +# Upv1capturecontextsDataDeviceInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ip_address** | **str** | The IP Address | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md b/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md index e203148b..53eb93f0 100644 --- a/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md +++ b/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md @@ -4,6 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | The name of the merchant | [optional] +**alternate_name** | **str** | The alternate name of the merchant | [optional] +**locality** | **str** | The locality of the merchant | [optional] +**phone** | **str** | The phone number of the merchant | [optional] +**country** | **str** | The country code of the merchant | [optional] +**postal_code** | **str** | The postal code of the merchant | [optional] +**administrative_area** | **str** | The administrative area of the merchant | [optional] +**address1** | **str** | The first line of the merchant's address | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataOrderInformation.md b/docs/Upv1capturecontextsDataOrderInformation.md index 6cfa58de..de4e799c 100644 --- a/docs/Upv1capturecontextsDataOrderInformation.md +++ b/docs/Upv1capturecontextsDataOrderInformation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **bill_to** | [**Upv1capturecontextsDataOrderInformationBillTo**](Upv1capturecontextsDataOrderInformationBillTo.md) | | [optional] **ship_to** | [**Upv1capturecontextsDataOrderInformationShipTo**](Upv1capturecontextsDataOrderInformationShipTo.md) | | [optional] **line_items** | [**Upv1capturecontextsDataOrderInformationLineItems**](Upv1capturecontextsDataOrderInformationLineItems.md) | | [optional] +**invoice_details** | [**Upv1capturecontextsDataOrderInformationInvoiceDetails**](Upv1capturecontextsDataOrderInformationInvoiceDetails.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md b/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md index 23eadb1c..4a2c2722 100644 --- a/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md +++ b/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **sub_total_amount** | **str** | This field defines the sub total amount applicable to the order. | [optional] **service_fee_amount** | **str** | This field defines the service fee amount applicable to the order. | [optional] **tax_amount** | **str** | This field defines the tax amount applicable to the order. | [optional] +**tax_details** | [**Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails**](Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md b/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md new file mode 100644 index 00000000..04b0fc8a --- /dev/null +++ b/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md @@ -0,0 +1,11 @@ +# Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tax_id** | **str** | This field defines the tax identifier/registration number | [optional] +**type** | **str** | This field defines the Tax type code (N=National, S=State, L=Local etc) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md b/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md new file mode 100644 index 00000000..1f5fbdc0 --- /dev/null +++ b/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md @@ -0,0 +1,11 @@ +# Upv1capturecontextsDataOrderInformationInvoiceDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**invoice_number** | **str** | Invoice number | [optional] +**product_description** | **str** | Product description | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Upv1capturecontextsDataOrderInformationLineItems.md b/docs/Upv1capturecontextsDataOrderInformationLineItems.md index c311e50c..19ffcf2f 100644 --- a/docs/Upv1capturecontextsDataOrderInformationLineItems.md +++ b/docs/Upv1capturecontextsDataOrderInformationLineItems.md @@ -3,37 +3,37 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**product_code** | **str** | | [optional] -**product_name** | **str** | | [optional] -**product_sku** | **str** | | [optional] -**quantity** | **int** | | [optional] -**unit_price** | **str** | | [optional] -**unit_of_measure** | **str** | | [optional] -**total_amount** | **str** | | [optional] -**tax_amount** | **str** | | [optional] -**tax_rate** | **str** | | [optional] -**tax_applied_after_discount** | **str** | | [optional] -**tax_status_indicator** | **str** | | [optional] -**tax_type_code** | **str** | | [optional] -**amount_includes_tax** | **bool** | | [optional] -**type_of_supply** | **str** | | [optional] -**commodity_code** | **str** | | [optional] -**discount_amount** | **str** | | [optional] -**discount_applied** | **bool** | | [optional] -**discount_rate** | **str** | | [optional] -**invoice_number** | **str** | | [optional] +**product_code** | **str** | Code identifying the product. | [optional] +**product_name** | **str** | Name of the product. | [optional] +**product_sku** | **str** | Stock Keeping Unit identifier | [optional] +**quantity** | **int** | Quantity of the product | [optional] +**unit_price** | **str** | Price per unit | [optional] +**unit_of_measure** | **str** | Unit of measure (e.g. EA, KG, LB) | [optional] +**total_amount** | **str** | Total amount for the line item | [optional] +**tax_amount** | **str** | Tax amount applied | [optional] +**tax_rate** | **str** | Tax rate applied | [optional] +**tax_applied_after_discount** | **str** | Indicates if tax applied after discount | [optional] +**tax_status_indicator** | **str** | Tax status indicator | [optional] +**tax_type_code** | **str** | Tax type code | [optional] +**amount_includes_tax** | **bool** | Indicates if amount includes tax | [optional] +**type_of_supply** | **str** | Type of supply | [optional] +**commodity_code** | **str** | Commodity code | [optional] +**discount_amount** | **str** | Discount amount applied | [optional] +**discount_applied** | **bool** | Indicates if discount applied | [optional] +**discount_rate** | **str** | Discount rate applied | [optional] +**invoice_number** | **str** | Invoice number for the line item | [optional] **tax_details** | [**Upv1capturecontextsDataOrderInformationLineItemsTaxDetails**](Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md) | | [optional] -**fulfillment_type** | **str** | | [optional] -**weight** | **str** | | [optional] -**weight_identifier** | **str** | | [optional] -**weight_unit** | **str** | | [optional] -**reference_data_code** | **str** | | [optional] -**reference_data_number** | **str** | | [optional] -**unit_tax_amount** | **str** | | [optional] -**product_description** | **str** | | [optional] -**gift_card_currency** | **str** | | [optional] -**shipping_destination_types** | **str** | | [optional] -**gift** | **bool** | | [optional] +**fulfillment_type** | **str** | Fulfillment type | [optional] +**weight** | **str** | Weight of the product | [optional] +**weight_identifier** | **str** | Weight identifier | [optional] +**weight_unit** | **str** | Unit of weight of the product | [optional] +**reference_data_code** | **str** | Reference data code | [optional] +**reference_data_number** | **str** | Reference data number | [optional] +**unit_tax_amount** | **str** | Unit tax amount | [optional] +**product_description** | **str** | Description of the product | [optional] +**gift_card_currency** | **str** | Gift card currency | [optional] +**shipping_destination_types** | **str** | Shipping destination types | [optional] +**gift** | **bool** | Indicates if item is a gift | [optional] **passenger** | [**Upv1capturecontextsDataOrderInformationLineItemsPassenger**](Upv1capturecontextsDataOrderInformationLineItemsPassenger.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md b/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md index 78d04233..16bd7f5f 100644 --- a/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md +++ b/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md @@ -3,14 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | [optional] -**status** | **str** | | [optional] -**phone** | **str** | | [optional] -**first_name** | **str** | | [optional] -**last_name** | **str** | | [optional] -**id** | **str** | | [optional] -**email** | **str** | | [optional] -**nationality** | **str** | | [optional] +**type** | **str** | Passenger type | [optional] +**status** | **str** | Passenger status | [optional] +**phone** | **str** | Passenger phone number | [optional] +**first_name** | **str** | Passenger first name | [optional] +**last_name** | **str** | Passenger last name | [optional] +**id** | **str** | Passenger ID | [optional] +**email** | **str** | Passenger email | [optional] +**nationality** | **str** | Passenger nationality | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md b/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md index d4370e05..c1b3c22c 100644 --- a/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md +++ b/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md @@ -3,13 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | [optional] -**amount** | **str** | | [optional] -**rate** | **str** | | [optional] -**code** | **str** | | [optional] -**tax_id** | **str** | | [optional] -**applied** | **bool** | | [optional] -**exemption_code** | **str** | | [optional] +**type** | **str** | Type of tax | [optional] +**amount** | **str** | Tax amount | [optional] +**rate** | **str** | Tax rate | [optional] +**code** | **str** | Tax code | [optional] +**tax_id** | **str** | Tax Identifier | [optional] +**applied** | **bool** | Indicates if tax applied | [optional] +**exemption_code** | **str** | Tax exemption code | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataPaymentInformation.md b/docs/Upv1capturecontextsDataPaymentInformation.md new file mode 100644 index 00000000..c467dc4e --- /dev/null +++ b/docs/Upv1capturecontextsDataPaymentInformation.md @@ -0,0 +1,10 @@ +# Upv1capturecontextsDataPaymentInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**card** | [**Upv1capturecontextsDataPaymentInformationCard**](Upv1capturecontextsDataPaymentInformationCard.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Upv1capturecontextsDataPaymentInformationCard.md b/docs/Upv1capturecontextsDataPaymentInformationCard.md new file mode 100644 index 00000000..4be9f5ab --- /dev/null +++ b/docs/Upv1capturecontextsDataPaymentInformationCard.md @@ -0,0 +1,10 @@ +# Upv1capturecontextsDataPaymentInformationCard + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type_selection_indicator** | **str** | The card type selection indicator | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Upv1capturecontextsDataProcessingInformation.md b/docs/Upv1capturecontextsDataProcessingInformation.md index 3d4c11f3..50e385f2 100644 --- a/docs/Upv1capturecontextsDataProcessingInformation.md +++ b/docs/Upv1capturecontextsDataProcessingInformation.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reconciliation_id** | **str** | | [optional] +**reconciliation_id** | **str** | The reconciliation ID | [optional] **authorization_options** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptions**](Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md b/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md index 59c1d501..1b44ec12 100644 --- a/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md +++ b/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md @@ -3,9 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**aft_indicator** | **bool** | | [optional] +**aft_indicator** | **bool** | The AFT indicator | [optional] +**auth_indicator** | **str** | The authorization indicator | [optional] +**ignore_cv_result** | **bool** | Ignore the CV result | [optional] +**ignore_avs_result** | **bool** | Ignore the AVS result | [optional] **initiator** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator**](Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md) | | [optional] -**business_application_id** | **str** | | [optional] +**business_application_id** | **str** | The business application Id | [optional] +**commerce_indicator** | **str** | The commerce indicator | [optional] +**processing_instruction** | **str** | The processing instruction | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md b/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md index 702eeb84..14ab5642 100644 --- a/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md +++ b/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**credential_stored_on_file** | **bool** | | [optional] +**credential_stored_on_file** | **bool** | Store the credential on file | [optional] **merchant_initiated_transaction** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction**](Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Upv1capturecontextsDataRecipientInformation.md b/docs/Upv1capturecontextsDataRecipientInformation.md index 116ad493..54a0e070 100644 --- a/docs/Upv1capturecontextsDataRecipientInformation.md +++ b/docs/Upv1capturecontextsDataRecipientInformation.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **account_id** | **str** | The account ID of the recipient | [optional] **administrative_area** | **str** | The administrative area of the recipient | [optional] **account_type** | **str** | The account type of the recipient | [optional] +**date_of_birth** | **str** | The date of birth of the recipient | [optional] +**postal_code** | **str** | The postal code of the recipient | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/generator/cybersource-rest-spec-python.json b/generator/cybersource-rest-spec-python.json index 9db4d9e0..b974731b 100644 --- a/generator/cybersource-rest-spec-python.json +++ b/generator/cybersource-rest-spec-python.json @@ -65,6 +65,10 @@ "name": "payment-tokens", "description": "A payment-tokens is a service that is used for retrieving vault details or deleting vault id/payment method.\n" }, + { + "name": "Tokenize", + "description": "An orchestration resource used to combine multiple API calls into a single request.\n" + }, { "name": "Customer", "description": "A Customer can be linked to multiple Payment Instruments and Shipping Addresses.\nWith one Payment Instrument and Shipping Address designated as the default.\nIt stores merchant reference information for the Customer such as email and merchant defined data.\n" @@ -85,6 +89,10 @@ "name": "Instrument Identifier", "description": "An Instrument Identifier represents a unique card number(PAN) or bank account (echeck).\nIt can also be associated with a Network Token that can be used for payment transactions.\n" }, + { + "name": "Tokenized Card", + "description": "A Tokenized Card represents a Network Token that can be used for payment transactions.\n" + }, { "name": "Token", "description": "Token resources can act on different token types such as Customers, Payment Instruments or Instrument Identifiers.\n" @@ -3135,6 +3143,11 @@ "type": "string", "maxLength": 10, "description": "Acquirer country." + }, + "serviceProvidername": { + "type": "string", + "maxLength": 50, + "description": "Contains transfer service provider name." } } }, @@ -47498,10 +47511,10 @@ } } }, - "/tms/v2/customers": { + "/tms/v2/tokenize": { "post": { - "summary": "Create a Customer", - "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

**Creating a Customer**
It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.
The Customer will be created with a Payment Instrument and Shipping Address.
You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
In Europe: You should perform Payer Authentication alongside the Authorization.|      |**Payment Network Tokens**
Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.
A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.
A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).
For more information about Payment Network Tokens see the Developer Guide.

**Payments with Customers**
To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).
To perform a payment with a particular Payment Instrument or Shipping Address
specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).\nThe availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.\n", + "summary": "Tokenize", + "description": "| | | | \n| --- | --- | --- |\n|The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|      |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.
In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed.\n", "parameters": [ { "name": "profile-id", @@ -47514,154 +47527,53 @@ "x-hide-field": true }, { - "name": "postCustomerRequest", + "name": "postTokenizeRequest", "in": "body", "required": true, "schema": { "type": "object", "properties": { - "_links": { + "processingInformation": { "type": "object", - "readOnly": true, "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customer.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" - } - } - }, - "paymentInstruments": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customers Payment Instruments.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" - } - } + "actionList": { + "type": "array", + "description": "Array of actions (one or more) to be included in the tokenize request.\n\nPossible Values:\n\n - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request.\n", + "items": { + "type": "string" + }, + "example": [ + "TOKEN_CREATE" + ] }, - "shippingAddress": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customers Shipping Addresses.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" - } - } + "actionTokenTypes": { + "type": "array", + "description": "TMS tokens types you want to perform the action on.\n\nPossible Values:\n- customer\n- paymentInstrument\n- instrumentIdentifier\n- shippingAddress\n- tokenizedCard\n", + "items": { + "type": "string" + }, + "example": [ + "customer", + "paymentInstrument", + "shippingAddress", + "instrumentIdentifier" + ] } } }, - "id": { - "type": "string", - "minLength": 1, - "maxLength": 32, - "description": "The Id of the Customer Token." - }, - "objectInformation": { + "tokenInformation": { "type": "object", "properties": { - "title": { + "jti": { "type": "string", - "description": "Name or title of the customer.\n", - "maxLength": 60 + "maxLength": 64, + "description": "TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV).\n" }, - "comment": { - "type": "string", - "description": "Comments that you can make about the customer.\n", - "maxLength": 150 - } - } - }, - "buyerInformation": { - "type": "object", - "properties": { - "merchantCustomerID": { + "transientTokenJwt": { "type": "string", - "description": "Your identifier for the customer.\n", - "maxLength": 100 + "description": "Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result.\n" }, - "email": { - "type": "string", - "maxLength": 255, - "description": "Customer's primary email address, including the full domain name.\n" - } - } - }, - "clientReferenceInformation": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Client-generated order reference or tracking number.\n", - "maxLength": 50 - } - } - }, - "merchantDefinedInformation": { - "type": "array", - "description": "Object containing the custom data that the merchant defines.\n", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" - }, - "value": { - "type": "string", - "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", - "maxLength": 100 - } - } - } - }, - "defaultPaymentInstrument": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The Id of the Customers default Payment Instrument\n" - } - } - }, - "defaultShippingAddress": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The Id of the Customers default Shipping Address\n" - } - } - }, - "metadata": { - "type": "object", - "readOnly": true, - "properties": { - "creator": { - "type": "string", - "readOnly": true, - "description": "The creator of the Customer.\n" - } - } - }, - "_embedded": { - "type": "object", - "readOnly": true, - "description": "Additional resources for the Customer.\n", - "properties": { - "defaultPaymentInstrument": { - "readOnly": true, + "customer": { "type": "object", "properties": { "_links": { @@ -47675,20 +47587,32 @@ "href": { "type": "string", "readOnly": true, - "description": "Link to the Payment Instrument.\n", + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Payment Instruments.\n", "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" } } }, - "customer": { + "shippingAddress": { "type": "object", "readOnly": true, "properties": { "href": { "type": "string", "readOnly": true, - "description": "Link to the Customer.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + "description": "Link to the Customers Shipping Addresses.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" } } } @@ -47698,251 +47622,81 @@ "type": "string", "minLength": 1, "maxLength": 32, - "description": "The Id of the Payment Instrument Token." - }, - "object": { - "type": "string", - "readOnly": true, - "example": "paymentInstrument", - "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + "description": "The Id of the Customer Token." }, - "default": { - "type": "boolean", - "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" - }, - "state": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" - }, - "bankAccount": { - "type": "object", - "properties": { - "type": { - "type": "string", - "maxLength": 18, - "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" - } - } - }, - "card": { + "objectInformation": { "type": "object", "properties": { - "expirationMonth": { - "type": "string", - "maxLength": 2, - "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "maxLength": 4, - "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" - }, - "type": { - "type": "string", - "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" - }, - "issueNumber": { - "type": "string", - "maxLength": 2, - "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" - }, - "startMonth": { - "type": "string", - "maxLength": 2, - "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" - }, - "startYear": { + "title": { "type": "string", - "maxLength": 4, - "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + "description": "Name or title of the customer.\n", + "maxLength": 60 }, - "useAs": { + "comment": { "type": "string", - "example": "pinless debit", - "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" - }, - "hash": { - "type": "string", - "minLength": 32, - "maxLength": 34, - "readOnly": true, - "description": "Hash value representing the card.\n" - }, - "tokenizedInformation": { - "type": "object", - "properties": { - "requestorID": { - "type": "string", - "maxLength": 11, - "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" - }, - "transactionType": { - "type": "string", - "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" - } - } + "description": "Comments that you can make about the customer.\n", + "maxLength": 150 } } }, "buyerInformation": { "type": "object", "properties": { - "companyTaxID": { - "type": "string", - "maxLength": 9, - "description": "Company's tax identifier. This is only used for eCheck service.\n" - }, - "currency": { + "merchantCustomerID": { "type": "string", - "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + "description": "Your identifier for the customer.\n", + "maxLength": 100 }, - "dateOfBirth": { + "email": { "type": "string", - "format": "date", - "example": "1960-12-30", - "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" - }, - "personalIdentification": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "maxLength": 26, - "description": "The value of the identification type.\n" - }, - "type": { - "type": "string", - "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" - }, - "issuedBy": { - "type": "object", - "properties": { - "administrativeArea": { - "type": "string", - "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", - "maxLength": 20 - } - } - } - } - } + "maxLength": 255, + "description": "Customer's primary email address, including the full domain name.\n" } } }, - "billTo": { + "clientReferenceInformation": { "type": "object", "properties": { - "firstName": { - "type": "string", - "maxLength": 60, - "description": "Customer's first name. This name must be the same as the name on the card.\n" - }, - "lastName": { - "type": "string", - "maxLength": 60, - "description": "Customer's last name. This name must be the same as the name on the card.\n" - }, - "company": { - "type": "string", - "maxLength": 60, - "description": "Name of the customer's company.\n" - }, - "address1": { - "type": "string", - "maxLength": 60, - "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" - }, - "address2": { - "type": "string", - "maxLength": 60, - "description": "Additional address information.\n" - }, - "locality": { - "type": "string", - "maxLength": 50, - "description": "Payment card billing city.\n" - }, - "administrativeArea": { - "type": "string", - "maxLength": 20, - "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" - }, - "postalCode": { - "type": "string", - "maxLength": 10, - "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" - }, - "country": { + "code": { "type": "string", - "maxLength": 2, - "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" - }, - "email": { - "type": "string", - "maxLength": 255, - "description": "Customer's email address, including the full domain name.\n" - }, - "phoneNumber": { - "type": "string", - "maxLength": 15, - "description": "Customer's phone number.\n" + "description": "Client-generated order reference or tracking number.\n", + "maxLength": 50 } } }, - "processingInformation": { - "type": "object", - "title": "tmsPaymentInstrumentProcessingInfo", - "properties": { - "billPaymentProgramEnabled": { - "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" - }, - "bankTransferOptions": { - "type": "object", - "properties": { - "SECCode": { - "type": "string", - "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" - } + "merchantDefinedInformation": { + "type": "array", + "description": "Object containing the custom data that the merchant defines.\n", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" + }, + "value": { + "type": "string", + "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", + "maxLength": 100 } } } }, - "merchantInformation": { + "defaultPaymentInstrument": { "type": "object", "properties": { - "merchantDescriptor": { - "type": "object", - "properties": { - "alternateName": { - "type": "string", - "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", - "maxLength": 13 - } - } + "id": { + "type": "string", + "description": "The Id of the Customers default Payment Instrument\n" } } }, - "instrumentIdentifier": { + "defaultShippingAddress": { "type": "object", "properties": { "id": { "type": "string", - "minLength": 12, - "maxLength": 32, - "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + "description": "The Id of the Customers default Shipping Address\n" } } }, @@ -47953,18 +47707,17 @@ "creator": { "type": "string", "readOnly": true, - "description": "The creator of the Payment Instrument.\n" + "description": "The creator of the Customer.\n" } } }, "_embedded": { "type": "object", "readOnly": true, - "description": "Additional resources for the Payment Instrument.\n", + "description": "Additional resources for the Customer.\n", "properties": { - "instrumentIdentifier": { + "defaultPaymentInstrument": { "readOnly": true, - "title": "tmsEmbeddedInstrumentIdentifier", "type": "object", "properties": { "_links": { @@ -47978,20 +47731,20 @@ "href": { "type": "string", "readOnly": true, - "description": "Link to the Instrument Identifier.\n", - "example": "tms/v1/instrumentidentifiers/7010000000016241111" + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" } } }, - "paymentInstruments": { + "customer": { "type": "object", "readOnly": true, "properties": { "href": { "type": "string", "readOnly": true, - "description": "Link to the Instrument Identifiers Payment Instruments.\n", - "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" } } } @@ -47999,13 +47752,19 @@ }, "id": { "type": "string", - "description": "The Id of the Instrument Identifier Token.\n" + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." }, "object": { "type": "string", "readOnly": true, - "example": "instrumentIdentifier", - "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" }, "state": { "type": "string", @@ -48015,35 +47774,22 @@ }, "type": { "type": "string", - "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" - }, - "source": { - "type": "string", - "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" }, - "tokenProvisioningInformation": { + "bankAccount": { "type": "object", "properties": { - "consumerConsentObtained": { - "type": "boolean", - "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" - }, - "multiFactorAuthenticated": { - "type": "boolean", - "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" } } }, "card": { "type": "object", - "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", "properties": { - "number": { - "type": "string", - "minLength": 12, - "maxLength": 19, - "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" - }, "expirationMonth": { "type": "string", "maxLength": 2, @@ -48054,474 +47800,94 @@ "maxLength": 4, "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" }, - "securityCode": { - "type": "string", - "maxLength": 4, - "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" - } - } - }, - "pointOfSaleInformation": { - "type": "object", - "required": [ - "emvTags" - ], - "properties": { - "emvTags": { - "type": "array", - "minItems": 1, - "maxItems": 50, - "items": { - "type": "object", - "required": [ - "tag", - "value", - "source" - ], - "properties": { - "tag": { - "type": "string", - "minLength": 1, - "maxLength": 10, - "pattern": "^[0-9A-Fa-f]{1,10}$", - "description": "EMV tag, 1-10 hex characters." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "EMV tag value, 1-64 characters." - }, - "source": { - "type": "string", - "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" - } - }, - "example": { - "tag": "5A", - "value": "4111111111111111", - "source": "CARD" - } - } - } - } - }, - "bankAccount": { - "type": "object", - "properties": { - "number": { - "type": "string", - "maxLength": 17, - "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" - }, - "routingNumber": { - "type": "string", - "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" - } - } - }, - "tokenizedCard": { - "title": "tmsv2TokenizedCard", - "type": "object", - "properties": { - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" - } - } - } - } - }, - "id": { - "type": "string", - "readOnly": true, - "description": "The Id of the Tokenized Card.\n" - }, - "object": { - "type": "string", - "readOnly": true, - "example": "tokenizedCard", - "description": "The type.\nPossible Values:\n- tokenizedCard\n" - }, - "accountReferenceId": { - "type": "string", - "description": "An identifier provided by the issuer for the account.\n" - }, - "consumerId": { - "type": "string", - "maxLength": 36, - "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." - }, - "createInstrumentIdentifier": { - "type": "boolean", - "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" - }, - "source": { - "type": "string", - "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" - }, - "state": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" - }, - "reason": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" - }, - "number": { - "type": "string", - "readOnly": true, - "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" - }, - "expirationMonth": { - "type": "string", - "readOnly": true, - "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "readOnly": true, - "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" - }, "type": { "type": "string", - "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" }, - "cryptogram": { + "issueNumber": { "type": "string", - "readOnly": true, - "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" - }, - "securityCode": { - "type": "string", - "readOnly": true, - "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", - "example": "4523" - }, - "eci": { - "type": "string", - "readOnly": true, - "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" }, - "requestorId": { + "startMonth": { "type": "string", - "readOnly": true, - "maxLength": 11, - "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" }, - "enrollmentId": { + "startYear": { "type": "string", - "readOnly": true, - "description": "Unique id to identify this PAN/ enrollment.\n" + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" }, - "tokenReferenceId": { + "useAs": { "type": "string", - "readOnly": true, - "description": "Unique ID for netwrok token.\n" + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" }, - "paymentAccountReference": { + "hash": { "type": "string", + "minLength": 32, + "maxLength": 34, "readOnly": true, - "description": "Payment account reference.\n" + "description": "Hash value representing the card.\n" }, - "card": { + "tokenizedInformation": { "type": "object", - "description": "Card object used to create a network token\n", "properties": { - "number": { - "type": "string", - "minLength": 12, - "maxLength": 19, - "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" - }, - "expirationMonth": { - "type": "string", - "maxLength": 2, - "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "maxLength": 4, - "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" - }, - "type": { + "requestorID": { "type": "string", - "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" }, - "suffix": { + "transactionType": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix.\n" - }, - "issueDate": { - "type": "string", - "readOnly": true, - "format": "date", - "description": "Card issuance date. XML date format: YYYY-MM-DD.", - "example": "2030-12-15" - }, - "activationDate": { - "type": "string", - "readOnly": true, - "format": "date", - "description": "Card activation date. XML date format: YYYY-MM-DD", - "example": "2030-12-20" - }, - "expirationPrinted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the expiration date is printed on the card.", - "example": true - }, - "securityCodePrinted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the Card Verification Number is printed on the card.", - "example": true - }, - "termsAndConditions": { - "type": "object", - "readOnly": true, - "properties": { - "url": { - "type": "string", - "readOnly": true, - "description": "Issuer Card Terms and Conditions url." - } - } - } - } - }, - "passcode": { - "type": "object", - "description": "Passcode by issuer for ID&V.\n", - "properties": { - "value": { - "type": "string", - "description": "OTP generated at issuer.\n" - } - } - }, - "metadata": { - "type": "object", - "readOnly": true, - "description": "Metadata associated with the tokenized card.\n", - "properties": { - "cardArt": { - "title": "TmsCardArt", - "description": "Card art associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "foregroundColor": { - "description": "Card foreground color.\n", - "type": "string", - "readOnly": true - }, - "combinedAsset": { - "description": "Combined card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" - } - } - } - } - } - } - }, - "brandLogoAsset": { - "description": "Brand logo card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" - } - } - } - } - } - } - }, - "issuerLogoAsset": { - "description": "Issuer logo card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" - } - } - } - } - } - } - }, - "iconAsset": { - "description": "Icon card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" - } - } - } - } - } - } - } - } - }, - "issuer": { - "description": "Issuer associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "name": { - "description": "Issuer name.\n", - "type": "string", - "readOnly": true - }, - "shortDescription": { - "description": "Short description of the card.\n", - "type": "string", - "readOnly": true - }, - "longDescription": { - "description": "Long description of the card.\n", - "type": "string", - "readOnly": true - }, - "email": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service email address." - }, - "phoneNumber": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service phone number." - }, - "url": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service url." - } - } + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" } } } } }, - "issuer": { + "buyerInformation": { "type": "object", - "readOnly": true, "properties": { - "paymentAccountReference": { + "companyTaxID": { "type": "string", - "readOnly": true, - "maxLength": 32, - "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" - } - } - }, - "processingInformation": { - "type": "object", - "properties": { - "authorizationOptions": { - "type": "object", - "title": "tmsAuthorizationOptions", - "properties": { - "initiator": { - "type": "object", - "properties": { - "merchantInitiatedTransaction": { - "type": "object", - "properties": { - "previousTransactionId": { - "type": "string", - "maxLength": 15, - "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" - }, - "originalAuthorizedAmount": { - "type": "string", - "maxLength": 15, - "description": "Amount of the original authorization.\n" - } + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 } } } @@ -48532,7 +47898,4760 @@ }, "billTo": { "type": "object", - "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "defaultShippingAddress": { + "readOnly": true, + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Address\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses/D9F3439F0448C901E053A2598D0AA1CC" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Shipping Address Token." + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer shipping address is the dafault.\nPossible Values:\n - `true`: Shipping Address is customer's default.\n - `false`: Shipping Address is not customer's default.\n" + }, + "shipTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "First name of the recipient.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Last name of the recipient.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Company associated with the shipping address.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of the shipping address.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Second line of the shipping address.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "City of the shipping address.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the shipping address. Use 2 character the State,\nProvince, and Territory Codes for the United States and Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n**American Express Direct**\\\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, truncates the value starting from the right side.\n" + }, + "country": { + "type": "string", + "description": "Country of the shipping address. Use the two-character ISO Standard Country Codes.\n", + "maxLength": 2 + }, + "email": { + "type": "string", + "maxLength": 320, + "description": "Email associated with the shipping address.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Phone number associated with the shipping address.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Shipping Address." + } + } + } + } + } + } + } + } + }, + "shippingAddress": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Address\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses/D9F3439F0448C901E053A2598D0AA1CC" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Shipping Address Token." + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer shipping address is the dafault.\nPossible Values:\n - `true`: Shipping Address is customer's default.\n - `false`: Shipping Address is not customer's default.\n" + }, + "shipTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "First name of the recipient.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Last name of the recipient.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Company associated with the shipping address.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of the shipping address.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Second line of the shipping address.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "City of the shipping address.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the shipping address. Use 2 character the State,\nProvince, and Territory Codes for the United States and Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n**American Express Direct**\\\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, truncates the value starting from the right side.\n" + }, + "country": { + "type": "string", + "description": "Country of the shipping address. Use the two-character ISO Standard Country Codes.\n", + "maxLength": 2 + }, + "email": { + "type": "string", + "maxLength": 320, + "description": "Email associated with the shipping address.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Phone number associated with the shipping address.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Shipping Address." + } + } + } + } + }, + "paymentInstrument": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." + }, + "object": { + "type": "string", + "readOnly": true, + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" + }, + "bankAccount": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" + } + } + }, + "card": { + "type": "object", + "properties": { + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" + }, + "issueNumber": { + "type": "string", + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" + }, + "startMonth": { + "type": "string", + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "startYear": { + "type": "string", + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "useAs": { + "type": "string", + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" + }, + "hash": { + "type": "string", + "minLength": 32, + "maxLength": 34, + "readOnly": true, + "description": "Hash value representing the card.\n" + }, + "tokenizedInformation": { + "type": "object", + "properties": { + "requestorID": { + "type": "string", + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" + }, + "transactionType": { + "type": "string", + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" + } + } + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "companyTaxID": { + "type": "string", + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Tokenize" + ], + "operationId": "tokenize", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/all/rest/tms-developer/intro.html", + "mleForRequest": "mandatory" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "responses": { + "200": { + "description": "Returns the responses from the orchestrated API requests.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally-unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "properties": { + "responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resource": { + "type": "string", + "description": "TMS token type associated with the response.\n\nPossible Values:\n- customer\n- paymentInstrument\n- instrumentIdentifier\n- shippingAddress\n- tokenizedCard\n", + "example": "customer" + }, + "httpStatus": { + "type": "integer", + "format": "int32", + "description": "Http status associated with the response.\n", + "example": 201 + }, + "id": { + "type": "string", + "description": "TMS token id associated with the response.\n", + "example": "351A67733325454AE0633F36CF0A9420" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n - forbidden\n - notFound\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n - notAvailable\n - serverError\n - notAttempted\n\nA \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing.\n", + "example": "notAttempted" + }, + "message": { + "type": "string", + "description": "The detailed message related to the type.", + "example": "Creation not attempted due to customer token creation failure" + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error.", + "example": "address1" + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error.", + "example": "billTo" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } + } + } + } + } + } + }, + "examples": { + "Invalid Customer request body": { + "errors": [ + { + "type": "invalidRequest", + "message": "Invalid HTTP Body" + } + ] + } + } + }, + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "424": { + "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Profile not found" + } + ] + } + } + }, + "500": { + "description": "Unexpected error.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Create Complete Customer & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "customer", + "shippingAddress", + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "customer": { + "buyerInformation": { + "merchantCustomerID": "Your customer identifier", + "email": "test@cybs.com" + }, + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "merchantDefinedInformation": [ + { + "name": "data1", + "value": "Your customer data" + } + ] + }, + "shippingAddress": { + "default": "true", + "shipTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example1": { + "summary": "Create Customer Payment Instrument & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "customer": { + "id": "" + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example2": { + "summary": "Create Instrument Identifier & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example3": { + "summary": "Create Complete Customer using a Transient Token", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "customer", + "shippingAddress", + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "transientTokenJwt": "", + "customer": { + "buyerInformation": { + "merchantCustomerID": "Your customer identifier", + "email": "test@cybs.com" + }, + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "merchantDefinedInformation": [ + { + "name": "data1", + "value": "Your customer data" + } + ] + }, + "shippingAddress": { + "default": "true", + "shipTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + } + } + }, + "example4": { + "summary": "Create Instrument Identifier using a Transient Token", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "transientTokenJwt": "" + } + } + } + } + } + }, + "/tms/v2/customers": { + "post": { + "summary": "Create a Customer", + "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

**Creating a Customer**
It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.
The Customer will be created with a Payment Instrument and Shipping Address.
You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
In Europe: You should perform Payer Authentication alongside the Authorization.|      |**Payment Network Tokens**
Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.
A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.
A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).
For more information about Payment Network Tokens see the Developer Guide.

**Payments with Customers**
To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).
To perform a payment with a particular Payment Instrument or Shipping Address
specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).\nThe availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "description": "The Id of a profile containing user specific TMS configuration.", + "required": false, + "type": "string", + "minLength": 36, + "maxLength": 36, + "x-hide-field": true + }, + { + "name": "postCustomerRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Payment Instruments.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "shippingAddress": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Addresses.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Customer Token." + }, + "objectInformation": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "Name or title of the customer.\n", + "maxLength": 60 + }, + "comment": { + "type": "string", + "description": "Comments that you can make about the customer.\n", + "maxLength": 150 + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "merchantCustomerID": { + "type": "string", + "description": "Your identifier for the customer.\n", + "maxLength": 100 + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's primary email address, including the full domain name.\n" + } + } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Client-generated order reference or tracking number.\n", + "maxLength": 50 + } + } + }, + "merchantDefinedInformation": { + "type": "array", + "description": "Object containing the custom data that the merchant defines.\n", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" + }, + "value": { + "type": "string", + "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", + "maxLength": 100 + } + } + } + }, + "defaultPaymentInstrument": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the Customers default Payment Instrument\n" + } + } + }, + "defaultShippingAddress": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the Customers default Shipping Address\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Customer.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Customer.\n", + "properties": { + "defaultPaymentInstrument": { + "readOnly": true, + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." + }, + "object": { + "type": "string", + "readOnly": true, + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" + }, + "bankAccount": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" + } + } + }, + "card": { + "type": "object", + "properties": { + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" + }, + "issueNumber": { + "type": "string", + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" + }, + "startMonth": { + "type": "string", + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "startYear": { + "type": "string", + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "useAs": { + "type": "string", + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" + }, + "hash": { + "type": "string", + "minLength": 32, + "maxLength": 34, + "readOnly": true, + "description": "Hash value representing the card.\n" + }, + "tokenizedInformation": { + "type": "object", + "properties": { + "requestorID": { + "type": "string", + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" + }, + "transactionType": { + "type": "string", + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" + } + } + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "companyTaxID": { + "type": "string", + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", "properties": { "address1": { "type": "string", @@ -48927,7 +53046,8 @@ "operationId": "postCustomer", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -49362,6 +53482,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -51120,6 +55241,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -52875,6 +56997,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -53880,7 +58003,8 @@ "operationId": "patchCustomer", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -54324,6 +58448,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -56255,7 +60380,8 @@ "operationId": "postCustomerShippingAddress", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -58030,7 +62156,8 @@ "operationId": "patchCustomersShippingAddress", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -59303,6 +63430,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -60187,7 +64315,8 @@ "operationId": "postCustomerPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -60491,6 +64620,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -62212,6 +66342,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -63748,6 +67879,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -65247,6 +69379,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -66131,7 +70264,8 @@ "operationId": "patchCustomersPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -66431,6 +70565,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -68473,6 +72608,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -69357,7 +73493,8 @@ "operationId": "postPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -69643,6 +73780,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -71221,6 +75359,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -72718,6 +76857,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -73602,7 +77742,8 @@ "operationId": "patchPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -73902,6 +78043,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -76389,7 +80531,8 @@ "operationId": "postInstrumentIdentifier", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -80528,7 +84671,8 @@ "operationId": "patchInstrumentIdentifier", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -82600,6 +86744,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -84666,7 +88811,8 @@ "operationId": "postInstrumentIdentifierEnrollment", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -85447,7 +89593,8 @@ "operationId": "postTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -87321,7 +91468,154 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Token not found" + } + ] + } + } + }, + "409": { + "description": "Conflict. The token is linked to a Payment Instrument.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "conflict", + "message": "Action cannot be performed as the PaymentInstrument is the customers default" + } + ] + } + } + }, + "410": { + "description": "Token Not Available. The token has been deleted.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" }, "message": { "type": "string", @@ -87337,15 +91631,15 @@ "application/json": { "errors": [ { - "type": "forbidden", - "message": "Request not permitted" + "type": "notAvailable", + "message": "Token not available." } ] } } }, - "404": { - "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "424": { + "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87387,14 +91681,14 @@ "errors": [ { "type": "notFound", - "message": "Token not found" + "message": "Profile not found" } ] } } }, - "409": { - "description": "Conflict. The token is linked to a Payment Instrument.", + "500": { + "description": "Unexpected error.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87405,6 +91699,16 @@ "type": "string" } }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, "schema": { "type": "object", "readOnly": true, @@ -87419,12 +91723,180 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n" + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + } + } + }, + "/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations": { + "post": { + "summary": "Simulate Issuer Life Cycle Management Events", + "description": "**Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card.\nThe events that can be simulated are:\n- Token status changes (e.g. active, suspended, deleted)\n- Updates to the underlying card, including card art changes, expiration date changes, and card number suffix.\n**Note:** This is only available in CAS environment.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "required": true, + "type": "string", + "description": "The Id of a profile containing user specific TMS configuration.", + "minLength": 36, + "maxLength": 36 + }, + { + "name": "tokenizedCardId", + "in": "path", + "description": "The Id of a tokenized card.", + "required": true, + "type": "string", + "minLength": 12, + "maxLength": 32 + }, + { + "name": "postIssuerLifeCycleSimulationRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "description": "Represents the Issuer LifeCycle Event Simulation for a Tokenized Card.\n", + "properties": { + "state": { + "type": "string", + "description": "The new state of the Tokenized Card.\nPossible Values:\n- ACTIVE\n- SUSPENDED\n- DELETED\n" + }, + "card": { + "type": "object", + "properties": { + "last4": { + "type": "string", + "maxLength": 4, + "description": "The new last 4 digits of the card number associated to the Tokenized Card.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "The new two-digit month of the card associated to the Tokenized Card.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "The new four-digit year of the card associated to the Tokenized Card.\nFormat: `YYYY`.\n" + } + } + }, + "metadata": { + "type": "object", + "properties": { + "cardArt": { + "type": "object", + "properties": { + "combinedAsset": { + "type": "object", + "properties": { + "update": { + "type": "string", + "description": "Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card.\n" + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Tokenized Card" + ], + "operationId": "postIssuerLifeCycleSimulation", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-simulate-issuer-life-cycle-event-intro.html" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "responses": { + "204": { + "description": "The request is fulfilled but does not need to return a body", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" }, "message": { "type": "string", "readOnly": true, "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } } } } @@ -87432,18 +91904,18 @@ } }, "examples": { - "application/json": { + "Invalid Customer request body": { "errors": [ { - "type": "conflict", - "message": "Action cannot be performed as the PaymentInstrument is the customers default" + "type": "invalidRequest", + "message": "Invalid HTTP Body" } ] } } }, - "410": { - "description": "Token Not Available. The token has been deleted.", + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87468,7 +91940,7 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" }, "message": { "type": "string", @@ -87484,15 +91956,15 @@ "application/json": { "errors": [ { - "type": "notAvailable", - "message": "Token not available." + "type": "forbidden", + "message": "Request not permitted" } ] } } }, - "424": { - "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87534,7 +92006,7 @@ "errors": [ { "type": "notFound", - "message": "Profile not found" + "message": "Token not found" } ] } @@ -87589,6 +92061,36 @@ } } } + }, + "x-example": { + "example0": { + "summary": "Simulate Network Token Status Update", + "value": { + "state": "SUSPENDED" + } + }, + "example1": { + "summary": "Simulate Network Token Card Metadata Update", + "value": { + "card": { + "last4": "9876", + "expirationMonth": "11", + "expirationYear": "2040" + } + } + }, + "example2": { + "summary": "Simulate Network Token Card Art Update", + "value": { + "metadata": { + "cardArt": { + "combinedAsset": { + "update": "true" + } + } + } + } + } } } }, @@ -87853,7 +92355,8 @@ "operationId": "postTokenPaymentCredentials", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -101675,43 +106178,6 @@ "schema": { "type": "object", "properties": { - "clientReferenceInformation": { - "type": "object", - "properties": { - "comments": { - "type": "string", - "maxLength": 255, - "description": "Brief description of the order or any comment you wish to add to the order.\n" - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "type": "string", - "maxLength": 8, - "description": "Identifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n" - }, - "solutionId": { - "type": "string", - "maxLength": 8, - "description": "Identifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n" - } - } - }, - "applicationName": { - "type": "string", - "description": "The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n" - }, - "applicationVersion": { - "type": "string", - "description": "Version of the CyberSource application or integration used for a transaction.\n" - }, - "applicationUser": { - "type": "string", - "description": "The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n" - } - } - }, "planInformation": { "type": "object", "required": [ @@ -103422,41 +107888,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -103607,6 +108041,9 @@ "customer": { "id": "C24F5921EB870D99E053AF598E0A4105" } + }, + "clientReferenceInformation": { + "code": "TC501713" } } } @@ -103715,6 +108152,16 @@ "description": "Subscription Status:\n - `PENDING`\n - `ACTIVE`\n - `FAILED`\n" } } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } } }, "example": { @@ -103820,6 +108267,9 @@ "summary": "Create Subscription", "sample-name": "Create Subscription", "value": { + "clientReferenceInformation": { + "code": "TC501713" + }, "subscriptionInformation": { "planId": "6868912495476705603955", "name": "Subscription with PlanId", @@ -103838,13 +108288,7 @@ "sample-name": "(deprecated) Create Subscription with Authorization", "value": { "clientReferenceInformation": { - "code": "TC501713", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "TC501713" }, "processingInformation": { "commerceIndicator": "recurring", @@ -104116,6 +108560,16 @@ } } }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } + }, "paymentInformation": { "type": "object", "properties": { @@ -104475,18 +108929,28 @@ } } }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } + }, "reactivationInformation": { "type": "object", "properties": { - "skippedPaymentsCount": { + "missedPaymentsCount": { "type": "string", "maxLength": 10, "description": "Number of payments that should have occurred while the subscription was in a suspended status.\n" }, - "skippedPaymentsTotalAmount": { + "missedPaymentsTotalAmount": { "type": "string", "maxLength": 19, - "description": "Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`.\n" + "description": "Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`.\n" } } } @@ -104616,41 +109080,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -105109,7 +109541,7 @@ "/rbs/v1/subscriptions/{id}/suspend": { "post": { "summary": "Suspend a Subscription", - "description": "Suspend a Subscription", + "description": "Suspend a Subscription\n", "tags": [ "Subscriptions" ], @@ -105277,8 +109709,8 @@ }, "/rbs/v1/subscriptions/{id}/activate": { "post": { - "summary": "Activate a Subscription", - "description": "Activate a `SUSPENDED` Subscription\n", + "summary": "Reactivating a Suspended Subscription", + "description": "# Reactivating a Suspended Subscription\n\nYou can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription.\n\nYou can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. \nIf no value is specified, the system will default to `true`.\n\n**Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html).\n\nYou can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html).\n", "tags": [ "Subscriptions" ], @@ -105306,10 +109738,10 @@ "description": "Subscription Id" }, { - "name": "processSkippedPayments", + "name": "processMissedPayments", "in": "query", "type": "boolean", - "description": "Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true.", + "description": "Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true.\nWhen any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored.\n", "required": false, "default": true } @@ -106073,41 +110505,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -106230,13 +110630,7 @@ }, "example": { "clientReferenceInformation": { - "code": "FollowOn from 7216512479796378604957", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "FollowOn from 7216512479796378604957" }, "processingInformation": { "commerceIndicator": "recurring", @@ -106358,6 +110752,16 @@ "description": "Subscription Status:\n - `PENDING`\n - `ACTIVE`\n - `FAILED`\n" } } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } } }, "example": { @@ -106464,13 +110868,7 @@ "sample-name": "Create Follow-On Subscription", "value": { "clientReferenceInformation": { - "code": "FollowOn from 7216512479796378604957", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "FollowOn from 7216512479796378604957" }, "processingInformation": { "commerceIndicator": "recurring", @@ -134847,6 +139245,24 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" + } + } + } + } } } }, @@ -136622,26 +141038,159 @@ "type": "string" } } - } - } - }, - "recurringBilling": { - "type": "object", - "properties": { - "subscriptionStatus": { + } + } + }, + "recurringBilling": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "cybsReadyTerminal": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { "type": "object", "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" }, "reason": { "type": "string", - "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" }, "details": { "type": "array", @@ -136665,28 +141214,26 @@ "type": "string" } } - }, - "configurationStatus": { + } + } + }, + "paymentOrchestration": { + "type": "object", + "properties": { + "subscriptionStatus": { "type": "object", "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" }, "reason": { "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" }, "details": { "type": "array", @@ -136713,7 +141260,7 @@ } } }, - "cybsReadyTerminal": { + "payouts": { "type": "object", "properties": { "subscriptionStatus": { @@ -136801,7 +141348,7 @@ } } }, - "paymentOrchestration": { + "payByLink": { "type": "object", "properties": { "subscriptionStatus": { @@ -136844,7 +141391,7 @@ } } }, - "payouts": { + "unifiedCheckout": { "type": "object", "properties": { "subscriptionStatus": { @@ -136884,55 +141431,10 @@ "type": "string" } } - }, - "configurationStatus": { - "type": "object", - "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" - }, - "status": { - "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" - } - }, - "additionalProperties": { - "type": "string" - } - } - }, - "message": { - "type": "string" - } - } } } }, - "payByLink": { + "receivablesManager": { "type": "object", "properties": { "subscriptionStatus": { @@ -136975,7 +141477,7 @@ } } }, - "unifiedCheckout": { + "serviceFee": { "type": "object", "properties": { "subscriptionStatus": { @@ -137015,26 +141517,28 @@ "type": "string" } } - } - } - }, - "receivablesManager": { - "type": "object", - "properties": { - "subscriptionStatus": { + }, + "configurationStatus": { "type": "object", "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" }, "reason": { "type": "string", - "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" }, "details": { "type": "array", @@ -137061,7 +141565,7 @@ } } }, - "serviceFee": { + "batchUpload": { "type": "object", "properties": { "subscriptionStatus": { @@ -137101,51 +141605,6 @@ "type": "string" } } - }, - "configurationStatus": { - "type": "object", - "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" - }, - "status": { - "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" - } - }, - "additionalProperties": { - "type": "string" - } - } - }, - "message": { - "type": "string" - } - } } } } @@ -145273,6 +149732,24 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" + } + } + } + } } } }, @@ -147440,6 +151917,49 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } } } }, @@ -151507,7 +156027,7 @@ "properties": { "clientVersion": { "type": "string", - "example": "0.25", + "example": "0.32", "maxLength": 60, "description": "Specify the version of Unified Checkout that you want to use." }, @@ -151536,7 +156056,7 @@ "items": { "type": "string" }, - "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nUnified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods:\n - AFTERPAY

\n\nUnified Checkout supports the following Online Bank Transfer payment methods:\n - Bancontact (BE)\n - DragonPay (PH)\n - iDEAL (NL)\n - Multibanco (PT)\n - MyBank (IT, BE, PT, ES)\n - Przelewy24|P24 (PL)\n - Tink Pay By Bank (GB)\n\nPossible values when launching Click To Pay Drop-In UI:\n- CLICKTOPAY

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

\n\n**Managing Google Pay Authentication Types**\nWhen you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

\n\n**Managing Google Pay Authentication Types**\nWhere Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". \n\nThis is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\".\n - UAE\n - Argentina\n - Brazil\n - Chile\n - Colombia\n - Kuwait\n - Mexico\n - Peru\n - Qatar\n - Saudi Arabia\n - Ukraine\n - South Africa

\n\nIf false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry.\n" + "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nUnified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods:\n - AFTERPAY

\n\nUnified Checkout supports the following Online Bank Transfer payment methods:\n - Bancontact (BE)\n - DragonPay (PH)\n - iDEAL (NL)\n - Multibanco (PT)\n - MyBank (IT, BE, PT, ES)\n - Przelewy24|P24 (PL)\n - Tink Pay By Bank (GB)

\n\n Unified Checkout supports the following Post-Pay Reference payment methods:\n - Konbini (JP)

\n\nPossible values when launching Click To Pay Drop-In UI:\n- CLICKTOPAY

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

\n\n**Managing Google Pay Authentication Types**\nWhen you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

\n\n**Managing Google Pay Authentication Types**\nWhere Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". \n\nThis is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\".\n - UAE\n - Argentina\n - Brazil\n - Chile\n - Colombia\n - Kuwait\n - Mexico\n - Peru\n - Qatar\n - Saudi Arabia\n - Ukraine\n - South Africa

\n\nIf false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry.\n" }, "country": { "type": "string", @@ -151549,6 +156069,11 @@ "example": "en_US", "description": "Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code.\n\nPlease refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html)\n" }, + "buttonType": { + "type": "string", + "example": null, + "description": "Changes the label on the payment button within Unified Checkout .

\n\nPossible values:\n- ADD_CARD\n- CARD_PAYMENT\n- CHECKOUT\n- CHECKOUT_AND_CONTINUE\n- DEBIT_CREDIT\n- DONATE\n- PAY\n- PAY_WITH_CARD\n- SAVE_CARD\n- SUBSCRIBE_WITH_CARD

\n\nThis is an optional field,\n" + }, "captureMandate": { "type": "object", "properties": { @@ -151705,6 +156230,23 @@ "type": "string", "example": 10, "description": "This field defines the tax amount applicable to the order.\n" + }, + "taxDetails": { + "type": "object", + "properties": { + "taxId": { + "type": "string", + "example": 1234, + "maxLength": 20, + "description": "This field defines the tax identifier/registration number\n" + }, + "type": { + "type": "string", + "example": "N", + "maxLength": 1, + "description": "This field defines the Tax type code (N=National, S=State, L=Local etc)\n" + } + } } } }, @@ -151971,188 +156513,225 @@ "productCode": { "type": "string", "maxLength": 255, - "example": "electronics" + "example": "electronics", + "description": "Code identifying the product." }, "productName": { "type": "string", "maxLength": 255, - "example": "smartphone" + "example": "smartphone", + "description": "Name of the product." }, "productSku": { "type": "string", "maxLength": 255, - "example": "SKU12345" + "example": "SKU12345", + "description": "Stock Keeping Unit identifier" }, "quantity": { "type": "integer", "minimum": 1, "maximum": 999999999, "default": 1, - "example": 2 + "example": 2, + "description": "Quantity of the product" }, "unitPrice": { "type": "string", "maxLength": 15, - "example": "399.99" + "example": "399.99", + "description": "Price per unit" }, "unitOfMeasure": { "type": "string", "maxLength": 12, - "example": "EA" + "example": "EA", + "description": "Unit of measure (e.g. EA, KG, LB)" }, "totalAmount": { "type": "string", "maxLength": 13, - "example": "799.98" + "example": "799.98", + "description": "Total amount for the line item" }, "taxAmount": { "type": "string", "maxLength": 15, - "example": "64.00" + "example": "64.00", + "description": "Tax amount applied" }, "taxRate": { "type": "string", "maxLength": 7, - "example": "0.88" + "example": "0.88", + "description": "Tax rate applied" }, "taxAppliedAfterDiscount": { "type": "string", "maxLength": 1, - "example": "Y" + "example": "Y", + "description": "Indicates if tax applied after discount" }, "taxStatusIndicator": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Tax status indicator" }, "taxTypeCode": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax type code" }, "amountIncludesTax": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if amount includes tax" }, "typeOfSupply": { "type": "string", "maxLength": 2, - "example": "GS" + "example": "GS", + "description": "Type of supply" }, "commodityCode": { "type": "string", "maxLength": 15, - "example": "123456" + "example": "123456", + "description": "Commodity code" }, "discountAmount": { "type": "string", "maxLength": 13, - "example": "10.00" + "example": "10.00", + "description": "Discount amount applied" }, "discountApplied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if discount applied" }, "discountRate": { "type": "string", "maxLength": 6, - "example": "0.05" + "example": "0.05", + "description": "Discount rate applied" }, "invoiceNumber": { "type": "string", "maxLength": 23, - "example": "INV-001" + "example": "INV-001", + "description": "Invoice number for the line item" }, "taxDetails": { "type": "object", "properties": { "type": { "type": "string", - "example": "VAT" + "example": "VAT", + "description": "Type of tax" }, "amount": { "type": "string", "maxLength": 13, - "example": 5.99 + "example": 5.99, + "description": "Tax amount" }, "rate": { "type": "string", "maxLength": 6, - "example": 20 + "example": 20, + "description": "Tax rate" }, "code": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax code" }, "taxId": { "type": "string", "maxLength": 15, - "example": "TAXID12345" + "example": "TAXID12345", + "description": "Tax Identifier" }, "applied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if tax applied" }, "exemptionCode": { "type": "string", "maxLength": 1, - "example": "E" + "example": "E", + "description": "Tax exemption code" } } }, "fulfillmentType": { "type": "string", - "example": "Delivery" + "example": "Delivery", + "description": "Fulfillment type" }, "weight": { "type": "string", "maxLength": 9, - "example": "1.5" + "example": "1.5", + "description": "Weight of the product" }, "weightIdentifier": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Weight identifier" }, "weightUnit": { "type": "string", "maxLength": 2, - "example": "KG" + "example": "KG", + "description": "Unit of weight of the product" }, "referenceDataCode": { "type": "string", "maxLength": 150, - "example": "REFCODE" + "example": "REFCODE", + "description": "Reference data code" }, "referenceDataNumber": { "type": "string", "maxLength": 30, - "example": "REF123" + "example": "REF123", + "description": "Reference data number" }, "unitTaxAmount": { "type": "string", "maxLength": 15, - "example": "3.20" + "example": "3.20", + "description": "Unit tax amount" }, "productDescription": { "type": "string", "maxLength": 30, - "example": "Latest model smartphone" + "example": "Latest model smartphone", + "description": "Description of the product" }, "giftCardCurrency": { "type": "string", "maxLength": 3, - "example": "USD" + "example": "USD", + "description": "Gift card currency" }, "shippingDestinationTypes": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Shipping destination types" }, "gift": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if item is a gift" }, "passenger": { "type": "object", @@ -152160,46 +156739,71 @@ "type": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Passenger type" }, "status": { "type": "string", "maxLength": 32, - "example": "Gold" + "example": "Gold", + "description": "Passenger status" }, "phone": { "type": "string", "maxLength": 15, - "example": "123456789" + "example": "123456789", + "description": "Passenger phone number" }, "firstName": { "type": "string", "maxLength": 60, - "example": "John" + "example": "John", + "description": "Passenger first name" }, "lastName": { "type": "string", "maxLength": 60, - "example": "Doe" + "example": "Doe", + "description": "Passenger last name" }, "id": { "type": "string", "maxLength": 40, - "example": "AIR1234567" + "example": "AIR1234567", + "description": "Passenger ID" }, "email": { "type": "string", "maxLength": 50, - "example": "john.doe@example.com" + "example": "john.doe@example.com", + "description": "Passenger email" }, "nationality": { "type": "string", "maxLength": 2, - "example": "US" + "example": "US", + "description": "Passenger nationality" } } } } + }, + "invoiceDetails": { + "type": "object", + "properties": { + "invoiceNumber": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Invoice number" + }, + "productDescription": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Product description" + } + } } } }, @@ -152211,21 +156815,35 @@ "properties": { "cpf": { "type": "string", - "minLength": 11, "maxLength": 11, - "example": "12345678900" + "example": "12345678900", + "description": "CPF Number (Brazil). Must be 11 digits in length.\n" } } }, "merchantCustomerId": { "type": "string", "maxLength": 100, - "example": "M123456767" + "example": "M123456767", + "description": "The Merchant Customer ID\n" }, "companyTaxId": { "type": "string", "maxLength": 9, - "example": "" + "example": "", + "description": "The Company Tax ID\n" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 10, + "example": "12/03/1976", + "description": "The date of birth\n" + }, + "language": { + "type": "string", + "maxLength": 10, + "example": "English", + "description": "The preferred language\n" } } }, @@ -152245,7 +156863,7 @@ "maxLength": 8, "example": "DEV12345" }, - "SolutionId": { + "solutionId": { "type": "string", "maxLength": 8, "example": "SOL1234" @@ -152260,12 +156878,20 @@ "challengeCode": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The challenge code\n" }, "messageCategory": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The message category\n" + }, + "acsWindowSize": { + "type": "string", + "maxLength": 2, + "example": "01", + "description": "The acs window size\n" } } }, @@ -152277,9 +156903,51 @@ "properties": { "name": { "type": "string", - "maxLength": 22, + "maxLength": 25, "example": "Euro Electronics", "description": "The name of the merchant" + }, + "alternateName": { + "type": "string", + "maxLength": 25, + "example": "Smyth Holdings PLC", + "description": "The alternate name of the merchant" + }, + "locality": { + "type": "string", + "maxLength": 50, + "example": "New York", + "description": "The locality of the merchant" + }, + "phone": { + "type": "string", + "maxLength": 15, + "example": "555-555-123", + "description": "The phone number of the merchant" + }, + "country": { + "type": "string", + "maxLength": 2, + "example": "US", + "description": "The country code of the merchant" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the merchant" + }, + "administrativeArea": { + "type": "string", + "maxLength": 2, + "example": "NY", + "description": "The administrative area of the merchant" + }, + "address1": { + "type": "string", + "maxLength": 60, + "example": "123 47th Street", + "description": "The first line of the merchant's address" } } } @@ -152291,28 +156959,46 @@ "reconciliationId": { "type": "string", "maxLength": 60, - "example": "01234567" + "example": "01234567", + "description": "The reconciliation ID" }, "authorizationOptions": { "type": "object", "properties": { "aftIndicator": { "type": "boolean", - "example": true + "example": true, + "description": "The AFT indicator" + }, + "authIndicator": { + "type": "string", + "example": 1, + "description": "The authorization indicator" + }, + "ignoreCvResult": { + "type": "boolean", + "example": true, + "description": "Ignore the CV result" + }, + "ignoreAvsResult": { + "type": "boolean", + "example": true, + "description": "Ignore the AVS result" }, "initiator": { "type": "object", "properties": { "credentialStoredOnFile": { "type": "boolean", - "example": true + "example": true, + "description": "Store the credential on file" }, "merchantInitiatedTransaction": { "type": "object", "properties": { "reason": { "type": "string", - "maxLength": 1, + "maxLength": 2, "example": 1 } } @@ -152322,7 +157008,20 @@ "businessApplicationId": { "type": "string", "maxLength": 2, - "example": "AA" + "example": "AA", + "description": "The business application Id" + }, + "commerceIndicator": { + "type": "string", + "maxLength": 20, + "example": "INDICATOR", + "description": "The commerce indicator" + }, + "processingInstruction": { + "type": "string", + "maxLength": 50, + "example": "ORDER_SAVED_EXPLICITLY", + "description": "The processing instruction" } } } @@ -152361,14 +157060,26 @@ "administrativeArea": { "type": "string", "maxLength": 2, - "example": "Devon", + "example": "GB", "description": "The administrative area of the recipient" }, "accountType": { "type": "string", "maxLength": 2, - "example": "Checking", + "example": "01", "description": "The account type of the recipient" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 8, + "example": "05111999", + "description": "The date of birth of the recipient" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the recipient" } } }, @@ -152377,20 +157088,50 @@ "properties": { "key": { "type": "string", - "maxLength": 50, + "maxLength": 10, + "example": "1", "description": "The key or identifier for the merchant-defined data field" }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 100, + "example": "123456", "description": "The value associated with the merchant-defined data field" } } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "maxLength": 45, + "example": "192.168.1.1", + "description": "The IP Address" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "typeSelectionIndicator": { + "type": "string", + "maxLength": 1, + "example": "0", + "description": "The card type selection indicator" + } + } + } + } } } }, "orderInformation": { "type": "object", + "description": "If you need to include any fields within the data object, you must use the orderInformation object that is nested inside the data object. This ensures proper structure and compliance with the Unified Checkout schema. This top-level orderInformation field is not intended for use when working with the data object.", "properties": { "amountDetails": { "type": "object", @@ -152674,7 +157415,7 @@ "example0": { "summary": "Generate Unified Checkout Capture Context", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152709,10 +157450,12 @@ "decisionManager": true, "consumerAuthentication": true }, - "orderInformation": { - "amountDetails": { - "totalAmount": "21.00", - "currency": "USD" + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "USD" + } } } } @@ -152720,7 +157463,7 @@ "example1": { "summary": "Generate Unified Checkout Capture Context With Full List of Card Networks", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152784,7 +157527,7 @@ "example2": { "summary": "Generate Unified Checkout Capture Context With Custom Google Payment Options", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152840,7 +157583,7 @@ "example3": { "summary": "Generate Unified Checkout Capture Context With Autocheck Enrollment", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152890,7 +157633,7 @@ "example4": { "summary": "Generate Unified Checkout Capture Context (Opt-out of receiving card number prefix)", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152941,7 +157684,7 @@ "example5": { "summary": "Generate Unified Checkout Capture Context passing Billing & Shipping", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153036,7 +157779,7 @@ "example6": { "summary": "Generate Unified Checkout Capture Context For Click To Pay Drop-In UI", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153074,7 +157817,7 @@ "example7": { "summary": "Generate Unified Checkout Capture Context ($ Afterpay (US))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153145,7 +157888,7 @@ "example8": { "summary": "Generate Unified Checkout Capture Context (Afterpay (CAN))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153216,7 +157959,7 @@ "example9": { "summary": "Generate Unified Checkout Capture Context (Clearpay (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153289,7 +158032,7 @@ "example10": { "summary": "Generate Unified Checkout Capture Context (Afterpay (AU))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153360,7 +158103,7 @@ "example11": { "summary": "Generate Unified Checkout Capture Context (Afterpay (NZ))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153429,9 +158172,153 @@ "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" }, "example12": { + "summary": "Generate Unified Checkout Capture Context (Bancontact (BE))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "BANCONTACT" + ], + "country": "BE", + "locale": "fr_BE", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "BE", + "NL", + "FR" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "jean.dupont@example.com", + "firstName": "Jean", + "lastName": "Dupont", + "address1": "Avenue Louise 123", + "administrativeArea": "Brussels", + "buildingNumber": 123, + "country": "BE", + "locality": "Brussels", + "postalCode": "1050" + }, + "shipTo": { + "firstName": "Marie", + "lastName": "Dupont", + "address1": "Rue de la Loi 200", + "administrativeArea": "Brussels", + "buildingNumber": 200, + "country": "BE", + "locality": "Brussels", + "postalCode": "1040" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example13": { + "summary": "Generate Unified Checkout Capture Context (DragonPay (PH))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "DRAGONPAY" + ], + "country": "PH", + "locale": "en-PH", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PH", + "SG", + "MY" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "121.00", + "currency": "PHP" + }, + "billTo": { + "email": "juan.dela.cruz@example.com", + "firstName": "Juan", + "lastName": "Dela Cruz", + "address1": "123 Ayala Avenue", + "administrativeArea": "NCR", + "buildingNumber": 123, + "country": "PH", + "locality": "Makati City", + "postalCode": "1226" + }, + "shipTo": { + "firstName": "Maria", + "lastName": "Dela Cruz", + "address1": "45 Ortigas Center", + "administrativeArea": "NCR", + "buildingNumber": 45, + "country": "PH", + "locality": "Pasig City", + "postalCode": "1605" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example14": { "summary": "Generate Unified Checkout Capture Context (iDEAL (NL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153499,10 +158386,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example13": { + "example15": { "summary": "Generate Unified Checkout Capture Context (Multibanco (PT))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153571,10 +158458,83 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example14": { + "example16": { + "summary": "Generate Unified Checkout Capture Context (MyBank (IT))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "MYBBT" + ], + "country": "IT", + "locale": "it-IT", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "IT", + "ES", + "BE", + "PT" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "mario.rossi@example.com", + "firstName": "Mario", + "lastName": "Rossi", + "address1": "Via Dante Alighieri 15", + "administrativeArea": "MI", + "buildingNumber": 15, + "country": "IT", + "locality": "Milano", + "postalCode": "20121" + }, + "shipTo": { + "firstName": "Lucia", + "lastName": "Rossi", + "address1": "Corso Vittorio Emanuele II 8", + "administrativeArea": "RM", + "buildingNumber": 8, + "country": "IT", + "locality": "Roma", + "postalCode": "00186" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example17": { "summary": "Generate Unified Checkout Capture Context (Przelewy24|P24 (PL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153643,10 +158603,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example15": { + "example18": { "summary": "Generate Unified Checkout Capture Context (Tink Pay By Bank (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153712,6 +158672,78 @@ } }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example19": { + "summary": "Generate Unified Checkout Capture Context (Konbini (JP))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "KONBINI" + ], + "country": "JP", + "locale": "ja-JP", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "JP", + "US" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "JPY" + }, + "billTo": { + "email": "taro.suzuki@example.jp", + "firstName": "Taro", + "lastName": "Suzuki", + "address1": "1-9-1 Marunouchi", + "administrativeArea": "Tokyo", + "buildingNumber": 1, + "country": "JP", + "locality": "Chiyoda-ku", + "postalCode": "100-0005", + "phoneNumber": "0312345678" + }, + "shipTo": { + "firstName": "Hanako", + "lastName": "Suzuki", + "address1": "3-1-1 Umeda", + "administrativeArea": "Osaka", + "buildingNumber": 3, + "country": "JP", + "locality": "Kita-ku", + "postalCode": "530-0001" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Post-Pay Reference)" } }, "responses": { @@ -155215,7 +160247,7 @@ "authorizationType": [ "Json Web Token" ], - "overrideMerchantCredential": "echecktestdevcenter001", + "overrideMerchantCredential": "apiref_chase", "SDK_ONLY_AddDisclaimer": true }, "consumes": [ diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index 77d450b9..b3b3e590 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -65,6 +65,10 @@ "name": "payment-tokens", "description": "A payment-tokens is a service that is used for retrieving vault details or deleting vault id/payment method.\n" }, + { + "name": "Tokenize", + "description": "An orchestration resource used to combine multiple API calls into a single request.\n" + }, { "name": "Customer", "description": "A Customer can be linked to multiple Payment Instruments and Shipping Addresses.\nWith one Payment Instrument and Shipping Address designated as the default.\nIt stores merchant reference information for the Customer such as email and merchant defined data.\n" @@ -85,6 +89,10 @@ "name": "Instrument Identifier", "description": "An Instrument Identifier represents a unique card number(PAN) or bank account (echeck).\nIt can also be associated with a Network Token that can be used for payment transactions.\n" }, + { + "name": "Tokenized Card", + "description": "A Tokenized Card represents a Network Token that can be used for payment transactions.\n" + }, { "name": "Token", "description": "Token resources can act on different token types such as Customers, Payment Instruments or Instrument Identifiers.\n" @@ -3135,6 +3143,11 @@ "type": "string", "maxLength": 10, "description": "Acquirer country." + }, + "serviceProvidername": { + "type": "string", + "maxLength": 50, + "description": "Contains transfer service provider name." } } }, @@ -47498,10 +47511,10 @@ } } }, - "/tms/v2/customers": { + "/tms/v2/tokenize": { "post": { - "summary": "Create a Customer", - "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

**Creating a Customer**
It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.
The Customer will be created with a Payment Instrument and Shipping Address.
You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
In Europe: You should perform Payer Authentication alongside the Authorization.|      |**Payment Network Tokens**
Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.
A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.
A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).
For more information about Payment Network Tokens see the Developer Guide.

**Payments with Customers**
To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).
To perform a payment with a particular Payment Instrument or Shipping Address
specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).\nThe availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.\n", + "summary": "Tokenize", + "description": "| | | | \n| --- | --- | --- |\n|The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|      |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.
In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed.\n", "parameters": [ { "name": "profile-id", @@ -47514,154 +47527,53 @@ "x-hide-field": true }, { - "name": "postCustomerRequest", + "name": "postTokenizeRequest", "in": "body", "required": true, "schema": { "type": "object", "properties": { - "_links": { + "processingInformation": { "type": "object", - "readOnly": true, "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customer.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" - } - } - }, - "paymentInstruments": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customers Payment Instruments.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" - } - } + "actionList": { + "type": "array", + "description": "Array of actions (one or more) to be included in the tokenize request.\n\nPossible Values:\n\n - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request.\n", + "items": { + "type": "string" + }, + "example": [ + "TOKEN_CREATE" + ] }, - "shippingAddress": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Customers Shipping Addresses.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" - } - } + "actionTokenTypes": { + "type": "array", + "description": "TMS tokens types you want to perform the action on.\n\nPossible Values:\n- customer\n- paymentInstrument\n- instrumentIdentifier\n- shippingAddress\n- tokenizedCard\n", + "items": { + "type": "string" + }, + "example": [ + "customer", + "paymentInstrument", + "shippingAddress", + "instrumentIdentifier" + ] } } }, - "id": { - "type": "string", - "minLength": 1, - "maxLength": 32, - "description": "The Id of the Customer Token." - }, - "objectInformation": { + "tokenInformation": { "type": "object", "properties": { - "title": { + "jti": { "type": "string", - "description": "Name or title of the customer.\n", - "maxLength": 60 + "maxLength": 64, + "description": "TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV).\n" }, - "comment": { - "type": "string", - "description": "Comments that you can make about the customer.\n", - "maxLength": 150 - } - } - }, - "buyerInformation": { - "type": "object", - "properties": { - "merchantCustomerID": { + "transientTokenJwt": { "type": "string", - "description": "Your identifier for the customer.\n", - "maxLength": 100 + "description": "Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result.\n" }, - "email": { - "type": "string", - "maxLength": 255, - "description": "Customer's primary email address, including the full domain name.\n" - } - } - }, - "clientReferenceInformation": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Client-generated order reference or tracking number.\n", - "maxLength": 50 - } - } - }, - "merchantDefinedInformation": { - "type": "array", - "description": "Object containing the custom data that the merchant defines.\n", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" - }, - "value": { - "type": "string", - "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", - "maxLength": 100 - } - } - } - }, - "defaultPaymentInstrument": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The Id of the Customers default Payment Instrument\n" - } - } - }, - "defaultShippingAddress": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The Id of the Customers default Shipping Address\n" - } - } - }, - "metadata": { - "type": "object", - "readOnly": true, - "properties": { - "creator": { - "type": "string", - "readOnly": true, - "description": "The creator of the Customer.\n" - } - } - }, - "_embedded": { - "type": "object", - "readOnly": true, - "description": "Additional resources for the Customer.\n", - "properties": { - "defaultPaymentInstrument": { - "readOnly": true, + "customer": { "type": "object", "properties": { "_links": { @@ -47675,20 +47587,32 @@ "href": { "type": "string", "readOnly": true, - "description": "Link to the Payment Instrument.\n", + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Payment Instruments.\n", "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" } } }, - "customer": { + "shippingAddress": { "type": "object", "readOnly": true, "properties": { "href": { "type": "string", "readOnly": true, - "description": "Link to the Customer.\n", - "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + "description": "Link to the Customers Shipping Addresses.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" } } } @@ -47698,251 +47622,81 @@ "type": "string", "minLength": 1, "maxLength": 32, - "description": "The Id of the Payment Instrument Token." - }, - "object": { - "type": "string", - "readOnly": true, - "example": "paymentInstrument", - "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + "description": "The Id of the Customer Token." }, - "default": { - "type": "boolean", - "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" - }, - "state": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" - }, - "bankAccount": { - "type": "object", - "properties": { - "type": { - "type": "string", - "maxLength": 18, - "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" - } - } - }, - "card": { + "objectInformation": { "type": "object", "properties": { - "expirationMonth": { - "type": "string", - "maxLength": 2, - "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "maxLength": 4, - "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" - }, - "type": { - "type": "string", - "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" - }, - "issueNumber": { - "type": "string", - "maxLength": 2, - "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" - }, - "startMonth": { - "type": "string", - "maxLength": 2, - "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" - }, - "startYear": { + "title": { "type": "string", - "maxLength": 4, - "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + "description": "Name or title of the customer.\n", + "maxLength": 60 }, - "useAs": { + "comment": { "type": "string", - "example": "pinless debit", - "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" - }, - "hash": { - "type": "string", - "minLength": 32, - "maxLength": 34, - "readOnly": true, - "description": "Hash value representing the card.\n" - }, - "tokenizedInformation": { - "type": "object", - "properties": { - "requestorID": { - "type": "string", - "maxLength": 11, - "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" - }, - "transactionType": { - "type": "string", - "maxLength": 1, - "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" - } - } + "description": "Comments that you can make about the customer.\n", + "maxLength": 150 } } }, "buyerInformation": { "type": "object", "properties": { - "companyTaxID": { - "type": "string", - "maxLength": 9, - "description": "Company's tax identifier. This is only used for eCheck service.\n" - }, - "currency": { + "merchantCustomerID": { "type": "string", - "maxLength": 3, - "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + "description": "Your identifier for the customer.\n", + "maxLength": 100 }, - "dateOfBirth": { + "email": { "type": "string", - "format": "date", - "example": "1960-12-30", - "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" - }, - "personalIdentification": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "maxLength": 26, - "description": "The value of the identification type.\n" - }, - "type": { - "type": "string", - "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" - }, - "issuedBy": { - "type": "object", - "properties": { - "administrativeArea": { - "type": "string", - "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", - "maxLength": 20 - } - } - } - } - } + "maxLength": 255, + "description": "Customer's primary email address, including the full domain name.\n" } } }, - "billTo": { + "clientReferenceInformation": { "type": "object", "properties": { - "firstName": { - "type": "string", - "maxLength": 60, - "description": "Customer's first name. This name must be the same as the name on the card.\n" - }, - "lastName": { - "type": "string", - "maxLength": 60, - "description": "Customer's last name. This name must be the same as the name on the card.\n" - }, - "company": { - "type": "string", - "maxLength": 60, - "description": "Name of the customer's company.\n" - }, - "address1": { - "type": "string", - "maxLength": 60, - "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" - }, - "address2": { - "type": "string", - "maxLength": 60, - "description": "Additional address information.\n" - }, - "locality": { - "type": "string", - "maxLength": 50, - "description": "Payment card billing city.\n" - }, - "administrativeArea": { - "type": "string", - "maxLength": 20, - "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" - }, - "postalCode": { - "type": "string", - "maxLength": 10, - "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" - }, - "country": { + "code": { "type": "string", - "maxLength": 2, - "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" - }, - "email": { - "type": "string", - "maxLength": 255, - "description": "Customer's email address, including the full domain name.\n" - }, - "phoneNumber": { - "type": "string", - "maxLength": 15, - "description": "Customer's phone number.\n" + "description": "Client-generated order reference or tracking number.\n", + "maxLength": 50 } } }, - "processingInformation": { - "type": "object", - "title": "tmsPaymentInstrumentProcessingInfo", - "properties": { - "billPaymentProgramEnabled": { - "type": "boolean", - "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" - }, - "bankTransferOptions": { - "type": "object", - "properties": { - "SECCode": { - "type": "string", - "maxLength": 3, - "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" - } + "merchantDefinedInformation": { + "type": "array", + "description": "Object containing the custom data that the merchant defines.\n", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" + }, + "value": { + "type": "string", + "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", + "maxLength": 100 } } } }, - "merchantInformation": { + "defaultPaymentInstrument": { "type": "object", "properties": { - "merchantDescriptor": { - "type": "object", - "properties": { - "alternateName": { - "type": "string", - "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", - "maxLength": 13 - } - } + "id": { + "type": "string", + "description": "The Id of the Customers default Payment Instrument\n" } } }, - "instrumentIdentifier": { + "defaultShippingAddress": { "type": "object", "properties": { "id": { "type": "string", - "minLength": 12, - "maxLength": 32, - "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + "description": "The Id of the Customers default Shipping Address\n" } } }, @@ -47953,18 +47707,17 @@ "creator": { "type": "string", "readOnly": true, - "description": "The creator of the Payment Instrument.\n" + "description": "The creator of the Customer.\n" } } }, "_embedded": { "type": "object", "readOnly": true, - "description": "Additional resources for the Payment Instrument.\n", + "description": "Additional resources for the Customer.\n", "properties": { - "instrumentIdentifier": { + "defaultPaymentInstrument": { "readOnly": true, - "title": "tmsEmbeddedInstrumentIdentifier", "type": "object", "properties": { "_links": { @@ -47978,20 +47731,20 @@ "href": { "type": "string", "readOnly": true, - "description": "Link to the Instrument Identifier.\n", - "example": "tms/v1/instrumentidentifiers/7010000000016241111" + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" } } }, - "paymentInstruments": { + "customer": { "type": "object", "readOnly": true, "properties": { "href": { "type": "string", "readOnly": true, - "description": "Link to the Instrument Identifiers Payment Instruments.\n", - "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" } } } @@ -47999,13 +47752,19 @@ }, "id": { "type": "string", - "description": "The Id of the Instrument Identifier Token.\n" + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." }, "object": { "type": "string", "readOnly": true, - "example": "instrumentIdentifier", - "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" }, "state": { "type": "string", @@ -48015,35 +47774,22 @@ }, "type": { "type": "string", - "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" - }, - "source": { - "type": "string", - "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" }, - "tokenProvisioningInformation": { + "bankAccount": { "type": "object", "properties": { - "consumerConsentObtained": { - "type": "boolean", - "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" - }, - "multiFactorAuthenticated": { - "type": "boolean", - "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" } } }, "card": { "type": "object", - "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", "properties": { - "number": { - "type": "string", - "minLength": 12, - "maxLength": 19, - "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" - }, "expirationMonth": { "type": "string", "maxLength": 2, @@ -48054,474 +47800,94 @@ "maxLength": 4, "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" }, - "securityCode": { - "type": "string", - "maxLength": 4, - "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" - } - } - }, - "pointOfSaleInformation": { - "type": "object", - "required": [ - "emvTags" - ], - "properties": { - "emvTags": { - "type": "array", - "minItems": 1, - "maxItems": 50, - "items": { - "type": "object", - "required": [ - "tag", - "value", - "source" - ], - "properties": { - "tag": { - "type": "string", - "minLength": 1, - "maxLength": 10, - "pattern": "^[0-9A-Fa-f]{1,10}$", - "description": "EMV tag, 1-10 hex characters." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "EMV tag value, 1-64 characters." - }, - "source": { - "type": "string", - "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" - } - }, - "example": { - "tag": "5A", - "value": "4111111111111111", - "source": "CARD" - } - } - } - } - }, - "bankAccount": { - "type": "object", - "properties": { - "number": { - "type": "string", - "maxLength": 17, - "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" - }, - "routingNumber": { - "type": "string", - "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" - } - } - }, - "tokenizedCard": { - "title": "tmsv2TokenizedCard", - "type": "object", - "properties": { - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" - } - } - } - } - }, - "id": { - "type": "string", - "readOnly": true, - "description": "The Id of the Tokenized Card.\n" - }, - "object": { - "type": "string", - "readOnly": true, - "example": "tokenizedCard", - "description": "The type.\nPossible Values:\n- tokenizedCard\n" - }, - "accountReferenceId": { - "type": "string", - "description": "An identifier provided by the issuer for the account.\n" - }, - "consumerId": { - "type": "string", - "maxLength": 36, - "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." - }, - "createInstrumentIdentifier": { - "type": "boolean", - "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" - }, - "source": { - "type": "string", - "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" - }, - "state": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" - }, - "reason": { - "type": "string", - "readOnly": true, - "example": "ACTIVE", - "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" - }, - "number": { - "type": "string", - "readOnly": true, - "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" - }, - "expirationMonth": { - "type": "string", - "readOnly": true, - "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "readOnly": true, - "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" - }, "type": { "type": "string", - "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" }, - "cryptogram": { + "issueNumber": { "type": "string", - "readOnly": true, - "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", - "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" - }, - "securityCode": { - "type": "string", - "readOnly": true, - "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", - "example": "4523" - }, - "eci": { - "type": "string", - "readOnly": true, - "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" }, - "requestorId": { + "startMonth": { "type": "string", - "readOnly": true, - "maxLength": 11, - "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" }, - "enrollmentId": { + "startYear": { "type": "string", - "readOnly": true, - "description": "Unique id to identify this PAN/ enrollment.\n" + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" }, - "tokenReferenceId": { + "useAs": { "type": "string", - "readOnly": true, - "description": "Unique ID for netwrok token.\n" + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" }, - "paymentAccountReference": { + "hash": { "type": "string", + "minLength": 32, + "maxLength": 34, "readOnly": true, - "description": "Payment account reference.\n" + "description": "Hash value representing the card.\n" }, - "card": { + "tokenizedInformation": { "type": "object", - "description": "Card object used to create a network token\n", "properties": { - "number": { - "type": "string", - "minLength": 12, - "maxLength": 19, - "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" - }, - "expirationMonth": { - "type": "string", - "maxLength": 2, - "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" - }, - "expirationYear": { - "type": "string", - "maxLength": 4, - "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" - }, - "type": { + "requestorID": { "type": "string", - "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" }, - "suffix": { + "transactionType": { "type": "string", - "readOnly": true, - "description": "The customer's latest payment card number suffix.\n" - }, - "issueDate": { - "type": "string", - "readOnly": true, - "format": "date", - "description": "Card issuance date. XML date format: YYYY-MM-DD.", - "example": "2030-12-15" - }, - "activationDate": { - "type": "string", - "readOnly": true, - "format": "date", - "description": "Card activation date. XML date format: YYYY-MM-DD", - "example": "2030-12-20" - }, - "expirationPrinted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the expiration date is printed on the card.", - "example": true - }, - "securityCodePrinted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the Card Verification Number is printed on the card.", - "example": true - }, - "termsAndConditions": { - "type": "object", - "readOnly": true, - "properties": { - "url": { - "type": "string", - "readOnly": true, - "description": "Issuer Card Terms and Conditions url." - } - } - } - } - }, - "passcode": { - "type": "object", - "description": "Passcode by issuer for ID&V.\n", - "properties": { - "value": { - "type": "string", - "description": "OTP generated at issuer.\n" - } - } - }, - "metadata": { - "type": "object", - "readOnly": true, - "description": "Metadata associated with the tokenized card.\n", - "properties": { - "cardArt": { - "title": "TmsCardArt", - "description": "Card art associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "foregroundColor": { - "description": "Card foreground color.\n", - "type": "string", - "readOnly": true - }, - "combinedAsset": { - "description": "Combined card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" - } - } - } - } - } - } - }, - "brandLogoAsset": { - "description": "Brand logo card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" - } - } - } - } - } - } - }, - "issuerLogoAsset": { - "description": "Issuer logo card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" - } - } - } - } - } - } - }, - "iconAsset": { - "description": "Icon card art asset associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "type": "string", - "description": "Unique identifier for the asset\n" - }, - "_links": { - "type": "object", - "readOnly": true, - "properties": { - "self": { - "type": "object", - "readOnly": true, - "properties": { - "href": { - "type": "string", - "readOnly": true, - "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" - } - } - } - } - } - } - } - } - }, - "issuer": { - "description": "Issuer associated with the tokenized card.\n", - "type": "object", - "readOnly": true, - "properties": { - "name": { - "description": "Issuer name.\n", - "type": "string", - "readOnly": true - }, - "shortDescription": { - "description": "Short description of the card.\n", - "type": "string", - "readOnly": true - }, - "longDescription": { - "description": "Long description of the card.\n", - "type": "string", - "readOnly": true - }, - "email": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service email address." - }, - "phoneNumber": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service phone number." - }, - "url": { - "type": "string", - "readOnly": true, - "description": "Issuer customer service url." - } - } + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" } } } } }, - "issuer": { + "buyerInformation": { "type": "object", - "readOnly": true, "properties": { - "paymentAccountReference": { + "companyTaxID": { "type": "string", - "readOnly": true, - "maxLength": 32, - "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" - } - } - }, - "processingInformation": { - "type": "object", - "properties": { - "authorizationOptions": { - "type": "object", - "title": "tmsAuthorizationOptions", - "properties": { - "initiator": { - "type": "object", - "properties": { - "merchantInitiatedTransaction": { - "type": "object", - "properties": { - "previousTransactionId": { - "type": "string", - "maxLength": 15, - "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" - }, - "originalAuthorizedAmount": { - "type": "string", - "maxLength": 15, - "description": "Amount of the original authorization.\n" - } + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 } } } @@ -48532,7 +47898,4760 @@ }, "billTo": { "type": "object", - "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "defaultShippingAddress": { + "readOnly": true, + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Address\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses/D9F3439F0448C901E053A2598D0AA1CC" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Shipping Address Token." + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer shipping address is the dafault.\nPossible Values:\n - `true`: Shipping Address is customer's default.\n - `false`: Shipping Address is not customer's default.\n" + }, + "shipTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "First name of the recipient.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Last name of the recipient.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Company associated with the shipping address.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of the shipping address.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Second line of the shipping address.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "City of the shipping address.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the shipping address. Use 2 character the State,\nProvince, and Territory Codes for the United States and Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n**American Express Direct**\\\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, truncates the value starting from the right side.\n" + }, + "country": { + "type": "string", + "description": "Country of the shipping address. Use the two-character ISO Standard Country Codes.\n", + "maxLength": 2 + }, + "email": { + "type": "string", + "maxLength": 320, + "description": "Email associated with the shipping address.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Phone number associated with the shipping address.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Shipping Address." + } + } + } + } + } + } + } + } + }, + "shippingAddress": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Address\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses/D9F3439F0448C901E053A2598D0AA1CC" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Shipping Address Token." + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer shipping address is the dafault.\nPossible Values:\n - `true`: Shipping Address is customer's default.\n - `false`: Shipping Address is not customer's default.\n" + }, + "shipTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "First name of the recipient.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Last name of the recipient.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Company associated with the shipping address.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "First line of the shipping address.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Second line of the shipping address.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "City of the shipping address.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the shipping address. Use 2 character the State,\nProvince, and Territory Codes for the United States and Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the shipping address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\nExample 12345-6789\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\nExample A1B 2C3\n\n**American Express Direct**\\\nBefore sending the postal code to the processor, all nonalphanumeric characters are removed and, if the\nremaining value is longer than nine characters, truncates the value starting from the right side.\n" + }, + "country": { + "type": "string", + "description": "Country of the shipping address. Use the two-character ISO Standard Country Codes.\n", + "maxLength": 2 + }, + "email": { + "type": "string", + "maxLength": 320, + "description": "Email associated with the shipping address.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Phone number associated with the shipping address.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Shipping Address." + } + } + } + } + }, + "paymentInstrument": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." + }, + "object": { + "type": "string", + "readOnly": true, + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" + }, + "bankAccount": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" + } + } + }, + "card": { + "type": "object", + "properties": { + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" + }, + "issueNumber": { + "type": "string", + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" + }, + "startMonth": { + "type": "string", + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "startYear": { + "type": "string", + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "useAs": { + "type": "string", + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" + }, + "hash": { + "type": "string", + "minLength": 32, + "maxLength": 34, + "readOnly": true, + "description": "Hash value representing the card.\n" + }, + "tokenizedInformation": { + "type": "object", + "properties": { + "requestorID": { + "type": "string", + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" + }, + "transactionType": { + "type": "string", + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" + } + } + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "companyTaxID": { + "type": "string", + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Instrument Identifier." + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "properties": { + "binLookup": { + "title": "TmsBinLookup", + "description": "Bin Information of the PAN provided by BinLookUp Service. This is only retrieved when retrieveBinDetails=true is passed as a query parameter.\n", + "readOnly": true, + "type": "object", + "properties": { + "paymentAccountInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "This field indicates the 3-letter [ISO Standard Currency Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) for the card currency.\n" + }, + "maxLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the max length of the card.\n" + }, + "credentialType": { + "type": "string", + "maxLength": 5, + "description": "This field contains the type of the payment credential.\nPossible values:\n - PAN\n - TOKEN \n" + }, + "brands": { + "description": "Array of brands", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 3, + "description": "This field contains a 3-digit numeric value that indicates the card type within Cybersource eco-system.\nPossible values from BIN Lookup Service (based on availability and enablement):\n- `000`: Unsupported Card Type\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `007`: JCB\n- `036`: Cartes Bancaire\n- `042`: Maestro\n- `054`: Elo\n- `058`: Carnet\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `064`: Prompt Card\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `081`: Jaywan\n- `082`: TPN\n\nGlossary of possible values in the payments ecosystem:\n- `001`: Visa\n- `002`: Mastercard\n- `003`: American Express\n- `004`: Discover\n- `005`: Diners Club\n- `006`: Carte Blanche\n- `007`: JCB\n- `008`: Optima\n- `009`: GE Private Label\n- `010`: Beneficial Private Label\n- `011`: Twinpay Credit Card\n- `012`: Twinpay Debit Card\n- `013`: Walmart\n- `014`: EnRoute\n- `015`: Lowe's Consumer\n- `016`: Home Depot Consumer\n- `017`: MBNA\n- `018`: Dick's Sportwear\n- `019`: Casual Corner\n- `020`: Sears\n- `021`: JAL\n- `023`: Disney Card\n- `024`: Switch/Solo\n- `025`: Sam's Club Consumer\n- `026`: Sam's Club Business\n- `027`: Nico's\n- `028`: Paymentech Bill Me Later\n- `029`: Bebe\n- `030`: Restoration Hardware\n- `031`: Delta Online\n- `032`: Solo\n- `033`: Visa Electron\n- `034`: Dankort\n- `035`: Laser\n- `036`: Cartes Bancaire\n- `037`: Carta Si\n- `040`: UATP\n- `041`: HOUSEHOLD\n- `042`: Maestro\n- `043`: GE MONEY\n- `044`: Korean Cards\n- `045`: Style Cards\n- `046`: J.Crew\n- `047`: Payeasecn eWallet\n- `048`: Payeasecn Bank Transfer\n- `049`: Meijer\n- `050`: Hipercard\n- `051`: Aura\n- `052`: Redecard\n- `053`: Orico Card\n- `054`: Elo\n- `055`: Capital One Private Label\n- `057`: Costco Private Label\n- `058`: Carnet\n- `059`: ValueLink\n- `060`: MADA\n- `061`: RuPay\n- `062`: China UnionPay\n- `063`: Falabella Private Label\n- `064`: Prompt Card\n- `065`: Korean Domestic\n- `066`: Banricompras\n- `067`: Meeza\n- `068`: PayPak\n- `070`: EFTPOS\n- `071`: Codensa\n- `072`: Olimpica\n- `073`: Colsubsidio\n- `074`: Tuya\n- `075`: Sodexo\n- `076`: Naranja\n- `077`: Cabal\n- `078`: DINELCO\n- `079`: PANAL\n- `080`: EPM\n- `081`: Jaywan\n- `082`: TPN\n" + }, + "brandName": { + "type": "string", + "maxLength": 20, + "description": "This field contains the card brand name. \n\nSome of the possible values (not an exhaustive list) are -\n\n - VISA\n - MASTERCARD\n - AMERICAN EXPRESS\n - DISCOVER\n - DINERS CLUB\n - CARTE BLANCHE\n - JCB\n - OPTIMA\n - TWINPAY CREDIT CARD\n - TWINPAY DEBIT CARD\n - WALMART\n - ENROUTE\n - LOWES CONSUMER\n - HOME DEPOT CONSUMER\n - MBNA\n - DICKS SPORTWEAR\n - CASUAL CORNER\n - SEARS\n - JAL\n - DISNEY CARD\n - SWITCH/SOLO\n - SAMS CLUB CONSUMER\n - SAMS CLUB BUSINESS\n - NICOS HOUSE CARD\n - BEBE\n - RESTORATION HARDWARE\n - DELTA ONLINE\n - SOLO\n - VISA ELECTRON\n - DANKORT\n - LASER\n - CARTE BANCAIRE\n - CARTA SI\n - ENCODED ACCOUNT\n - UATP\n - HOUSEHOLD\n - MAESTRO\n - GE CAPITAL\n - KOREAN CARDS\n - STYLE CARDS\n - JCREW\n - MEIJER\n - HIPERCARD\n - AURA\n - REDECARD\n - ORICO HOUSE CARD\n - MADA\n - ELO\n - CAPITAL ONE PRIVATE LABEL\n - CARNET\n - RUPAY\n - CHINA UNION PAY\n - FALABELLA PRIVATE LABEL\n - PROMPTCARD\n - KOREAN DOMESTIC\n - BANRICOMPRAS\n - MEEZA\n - PAYPAK\n - JAYWAN\n - TPN\n" + } + } + } + } + } + }, + "features": { + "type": "object", + "properties": { + "accountFundingSource": { + "type": "string", + "maxLength": 20, + "description": "This field contains the account funding source.\nPossible values:\n - `CREDIT`\n - `DEBIT`\n - `PREPAID`\n - `DEFERRED DEBIT`\n - `CHARGE`\n" + }, + "accountFundingSourceSubType": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of prepaid card.\nPossible values:\n - `Reloadable`\n - `Non-reloadable`\n" + }, + "cardProduct": { + "type": "string", + "maxLength": 50, + "description": "This field contains the type of issuer product.\nExample values:\n - Visa Classic\n - Visa Signature\n - Visa Infinite\n" + }, + "messageType": { + "type": "string", + "maxLength": 1, + "description": "This field contains the type of BIN based authentication.\nPossible values:\n - `S`: Single Message\n - `D`: Dual Message\n" + }, + "acceptanceLevel": { + "type": "string", + "maxLength": 2, + "description": "This field contains the acceptance level of the PAN.\nPossible values:\n - `0` : Normal\n - `1` : Monitor\n - `2` : Refuse\n - `3` : Not Allowed\n - `4` : Private\n - `5` : Test\n" + }, + "cardPlatform": { + "type": "string", + "maxLength": 20, + "description": "This field contains the type of card platform.\nPossible values:\n - `BUSINESS`\n - `CONSUMER`\n - `CORPORATE`\n - `COMMERCIAL`\n - `GOVERNMENT`\n" + }, + "comboCard": { + "type": "string", + "maxLength": 1, + "description": "This field indicates the type of combo card.\nPossible values:\n - 0 (Not a combo card)\n - 1 (Credit and Prepaid Combo card)\n - 2 (Credit and Debit Combo card)\n - 3 (Prepaid Credit and Prepaid Debit combo card)\n" + }, + "corporatePurchase": { + "type": "boolean", + "description": "This field indicates if the instrument can be used for corporate purchasing. This field is only applicable for American Express cards.\nPossible values:\n - `true`\n - `false`\n" + }, + "healthCard": { + "type": "boolean", + "description": "This field indicates if the BIN is for healthcare (HSA/FSA). Currently, this field is only supported for Visa BINs.\nPossible values:\n - `true`\n - `false`\n" + }, + "sharedBIN": { + "type": "boolean", + "description": "This field indicates if the BIN is shared by multiple issuers\nPossible values:\n - `true`\n - `false`\n" + }, + "posDomesticOnly": { + "type": "boolean", + "description": "This field indicates if the BIN is valid only for POS domestic usage.\nPossible values:\n - `true`\n - `false`\n" + }, + "gamblingAllowed": { + "type": "boolean", + "description": "This field indicates if gambling transactions are allowed on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel2": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 2 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "commercialCardLevel3": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for level 3 interchange rates.\nPossible values:\n - `true`\n - `false`\n" + }, + "exemptBIN": { + "type": "boolean", + "description": "This field indicates if a transaction on the instrument qualifies for government exempt interchange fee.\nPossible values:\n - `true`\n - `false`\n" + }, + "accountLevelManagement": { + "type": "boolean", + "description": "This field indicates if the BIN participates in Account Level Management (ALM).\nPossible values:\n - `true`\n - `false`\n" + }, + "onlineGamblingBlock": { + "type": "boolean", + "description": "This field indicates if online gambling is blocked on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "autoSubstantiation": { + "type": "boolean", + "description": "This field indicates if auto-substantiation is enabled on the BIN.\nPossible values:\n - `true`\n - `false`\n" + }, + "flexCredential": { + "type": "boolean", + "description": "This field indicates if the instrument is a flex credential.\nPossible values:\n - `true`\n - `false`\n" + }, + "productId": { + "type": "string", + "description": "This field contains the Visa-assigned product identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - Q4\n - P\n - AX\n" + }, + "productIdSubtype": { + "type": "string", + "description": "This field contains the Visa-assigned product subtype identifier associated with the BIN. This field is only supported for Visa BINs.\nExample values:\n - BB\n - EX\n - L2\n - C2\n" + }, + "threeDSSupport": { + "type": "boolean", + "description": "This field indicates if the payment instrument supports 3D Secure authentication.\nPossible values:\n - `true`\n - `false`\n" + }, + "siEligible": { + "type": "boolean", + "description": "This field indicates if the payment instrument is eligible for Standing Instructions (recurring payments).\nPossible values:\n - `true`\n - `false`\n" + }, + "emiEligible": { + "type": "boolean", + "description": "This field indicates if the card is eligible for Equated Monthly Installments (EMI).\nPossible values:\n - `true`\n - `false`\n" + } + } + }, + "network": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This field contains a code that identifies the network.\n[List of Network ID and Sharing Group Code](https://developer.visa.com/request_response_codes#network_id_and_sharing_group_code)\n" + } + } + } + } + }, + "issuerInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 200, + "description": "This field contains the issuer name.\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "This field contains [2-character ISO Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) for the issuer.\n" + }, + "binLength": { + "type": "string", + "maxLength": 2, + "description": "This field contains the length of the BIN. In some cases, this field may be absent if we do not receive accurate information from the network source.\n" + }, + "accountPrefix": { + "type": "string", + "maxLength": 8, + "description": "This field contains the first 6 to 8 digits of a primary account number (PAN). The length of the field is determined by [PCI-DSS standards for truncation](https://pcissc.secure.force.com/faq/articles/Frequently_Asked_Question/What-are-acceptable-formats-for-truncation-of-primary-account-numbers).In case the input is not the full intrument (PAN or TOKEN), this field may be truncated.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 50, + "description": "This field contains the customer service phone number for the issuer.\n" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Tokenize" + ], + "operationId": "tokenize", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/all/rest/tms-developer/intro.html", + "mleForRequest": "mandatory" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "responses": { + "200": { + "description": "Returns the responses from the orchestrated API requests.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally-unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "properties": { + "responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resource": { + "type": "string", + "description": "TMS token type associated with the response.\n\nPossible Values:\n- customer\n- paymentInstrument\n- instrumentIdentifier\n- shippingAddress\n- tokenizedCard\n", + "example": "customer" + }, + "httpStatus": { + "type": "integer", + "format": "int32", + "description": "Http status associated with the response.\n", + "example": 201 + }, + "id": { + "type": "string", + "description": "TMS token id associated with the response.\n", + "example": "351A67733325454AE0633F36CF0A9420" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n - forbidden\n - notFound\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n - notAvailable\n - serverError\n - notAttempted\n\nA \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing.\n", + "example": "notAttempted" + }, + "message": { + "type": "string", + "description": "The detailed message related to the type.", + "example": "Creation not attempted due to customer token creation failure" + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error.", + "example": "address1" + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error.", + "example": "billTo" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } + } + } + } + } + } + }, + "examples": { + "Invalid Customer request body": { + "errors": [ + { + "type": "invalidRequest", + "message": "Invalid HTTP Body" + } + ] + } + } + }, + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "424": { + "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Profile not found" + } + ] + } + } + }, + "500": { + "description": "Unexpected error.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + }, + "x-example": { + "example0": { + "summary": "Create Complete Customer & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "customer", + "shippingAddress", + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "customer": { + "buyerInformation": { + "merchantCustomerID": "Your customer identifier", + "email": "test@cybs.com" + }, + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "merchantDefinedInformation": [ + { + "name": "data1", + "value": "Your customer data" + } + ] + }, + "shippingAddress": { + "default": "true", + "shipTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example1": { + "summary": "Create Customer Payment Instrument & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "customer": { + "id": "" + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example2": { + "summary": "Create Instrument Identifier & Network Token using a Card", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "instrumentIdentifier": { + "type": "enrollable card", + "card": { + "number": "4622943123116478", + "expirationMonth": "12", + "expirationYear": "2026" + } + } + } + } + }, + "example3": { + "summary": "Create Complete Customer using a Transient Token", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "customer", + "shippingAddress", + "paymentInstrument", + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "transientTokenJwt": "", + "customer": { + "buyerInformation": { + "merchantCustomerID": "Your customer identifier", + "email": "test@cybs.com" + }, + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "merchantDefinedInformation": [ + { + "name": "data1", + "value": "Your customer data" + } + ] + }, + "shippingAddress": { + "default": "true", + "shipTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "paymentInstrument": { + "default": "true", + "card": { + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "company": "CyberSource", + "address1": "1 Market St", + "locality": "San Francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + } + } + }, + "example4": { + "summary": "Create Instrument Identifier using a Transient Token", + "value": { + "processingInformation": { + "actionList": [ + "TOKEN_CREATE" + ], + "actionTokenTypes": [ + "instrumentIdentifier" + ] + }, + "tokenInformation": { + "transientTokenJwt": "" + } + } + } + } + } + }, + "/tms/v2/customers": { + "post": { + "summary": "Create a Customer", + "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

**Creating a Customer**
It is recommended you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), this can be for a zero amount.
The Customer will be created with a Payment Instrument and Shipping Address.
You can also [add additional Payment Instruments to a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body).
In Europe: You should perform Payer Authentication alongside the Authorization.|      |**Payment Network Tokens**
Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.
A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.
A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).
For more information about Payment Network Tokens see the Developer Guide.

**Payments with Customers**
To perform a payment with the Customers default details specify the [Customer Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-token-id_liveconsole-tab-request-body).
To perform a payment with a particular Payment Instrument or Shipping Address
specify the [Payment Instrument or Shipping Address Ids in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).\nThe availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "description": "The Id of a profile containing user specific TMS configuration.", + "required": false, + "type": "string", + "minLength": 36, + "maxLength": 36, + "x-hide-field": true + }, + { + "name": "postCustomerRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Payment Instruments.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "shippingAddress": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customers Shipping Addresses.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/shipping-addresses" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Customer Token." + }, + "objectInformation": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "Name or title of the customer.\n", + "maxLength": 60 + }, + "comment": { + "type": "string", + "description": "Comments that you can make about the customer.\n", + "maxLength": 150 + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "merchantCustomerID": { + "type": "string", + "description": "Your identifier for the customer.\n", + "maxLength": 100 + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's primary email address, including the full domain name.\n" + } + } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Client-generated order reference or tracking number.\n", + "maxLength": 50 + } + } + }, + "merchantDefinedInformation": { + "type": "array", + "description": "Object containing the custom data that the merchant defines.\n", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4\n\nFor example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2\nPossible Values:\n- data1\n- data2\n- data3\n- data4\n- sensitive1\n- sensitive2\n- sensitive3\n- sensitive4\n" + }, + "value": { + "type": "string", + "description": "The value you assign for your merchant-defined data field.\n\n**Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not\nlimited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV,\nCVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension.\n", + "maxLength": 100 + } + } + } + }, + "defaultPaymentInstrument": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the Customers default Payment Instrument\n" + } + } + }, + "defaultShippingAddress": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The Id of the Customers default Shipping Address\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Customer.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Customer.\n", + "properties": { + "defaultPaymentInstrument": { + "readOnly": true, + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Payment Instrument.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3/payment-instruments" + } + } + }, + "customer": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Customer.\n", + "example": "/tms/v2/customers/D9F340DD3DB9C276E053A2598D0A41A3" + } + } + } + } + }, + "id": { + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "The Id of the Payment Instrument Token." + }, + "object": { + "type": "string", + "readOnly": true, + "example": "paymentInstrument", + "description": "The type.\n\nPossible Values:\n- paymentInstrument\n" + }, + "default": { + "type": "boolean", + "description": "Flag that indicates whether customer payment instrument is the dafault.\nPossible Values:\n - `true`: Payment instrument is customer's default.\n - `false`: Payment instrument is not customer's default.\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of Payment Instrument.\nPossible Values:\n- cardHash\n" + }, + "bankAccount": { + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 18, + "description": "Account type.\n\nPossible Values:\n - checking : C\n - general ledger : G This value is supported only on Wells Fargo ACH\n - savings : S (U.S. dollars only)\n - corporate checking : X (U.S. dollars only)\n" + } + } + }, + "card": { + "type": "object", + "properties": { + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "Value that indicates the card type. Possible Values v2 : v1:\n * 001 : visa\n * 002 : mastercard - Eurocard\u2014European regional brand of Mastercard\n * 003 : american express\n * 004 : discover\n * 005 : diners club\n * 006 : carte blanche\n * 007 : jcb\n * 008 : optima\n * 011 : twinpay credit\n * 012 : twinpay debit\n * 013 : walmart\n * 014 : enRoute\n * 015 : lowes consumer\n * 016 : home depot consumer\n * 017 : mbna\n * 018 : dicks sportswear\n * 019 : casual corner\n * 020 : sears\n * 021 : jal\n * 023 : disney\n * 024 : maestro uk domestic\n * 025 : sams club consumer\n * 026 : sams club business\n * 028 : bill me later\n * 029 : bebe\n * 030 : restoration hardware\n * 031 : delta online \u2014 use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types.\n * 032 : solo\n * 033 : visa electron\n * 034 : dankort\n * 035 : laser\n * 036 : carte bleue \u2014 formerly Cartes Bancaires\n * 037 : carta si\n * 038 : pinless debit\n * 039 : encoded account\n * 040 : uatp\n * 041 : household\n * 042 : maestro international\n * 043 : ge money uk\n * 044 : korean cards\n * 045 : style\n * 046 : jcrew\n * 047 : payease china processing ewallet\n * 048 : payease china processing bank transfer\n * 049 : meijer private label\n * 050 : hipercard \u2014 supported only by the Comercio Latino processor.\n * 051 : aura \u2014 supported only by the Comercio Latino processor.\n * 052 : redecard\n * 054 : elo \u2014 supported only by the Comercio Latino processor.\n * 055 : capital one private label\n * 056 : synchrony private label\n * 057 : costco private label\n * 060 : mada\n * 062 : china union pay\n * 063 : falabella private label\n" + }, + "issueNumber": { + "type": "string", + "maxLength": 2, + "description": "Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card.\n\n**Note** The issue number is not required for Maestro (UK Domestic) transactions.\n" + }, + "startMonth": { + "type": "string", + "maxLength": 2, + "description": "Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`.\nPossible Values: 01 through 12.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "startYear": { + "type": "string", + "maxLength": 4, + "description": "Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`.\n\n**Note** The start date is not required for Maestro (UK Domestic) transactions.\n" + }, + "useAs": { + "type": "string", + "example": "pinless debit", + "description": "'Payment Instrument was created / updated as part of a pinless debit transaction.'\n" + }, + "hash": { + "type": "string", + "minLength": 32, + "maxLength": 34, + "readOnly": true, + "description": "Hash value representing the card.\n" + }, + "tokenizedInformation": { + "type": "object", + "properties": { + "requestorID": { + "type": "string", + "maxLength": 11, + "description": "Value that identifies your business and indicates that the cardholder's account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider's database.\n\n**Note** This field is supported only through **VisaNet** and **FDC Nashville Global**.\n" + }, + "transactionType": { + "type": "string", + "maxLength": 1, + "description": "Type of transaction that provided the token data. This value does not specify the token service provider; it\nspecifies the entity that provided you with information about the token.\n\nSet the value for this field to 1. An application on the customer's mobile device provided the token data.\n" + } + } + } + } + }, + "buyerInformation": { + "type": "object", + "properties": { + "companyTaxID": { + "type": "string", + "maxLength": 9, + "description": "Company's tax identifier. This is only used for eCheck service.\n" + }, + "currency": { + "type": "string", + "maxLength": 3, + "description": "Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nFor an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request.\n\n#### DCC for First Data\nYour local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).\n# For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "dateOfBirth": { + "type": "string", + "format": "date", + "example": "1960-12-30", + "description": "Date of birth of the customer. Format: YYYY-MM-DD\n" + }, + "personalIdentification": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "maxLength": 26, + "description": "The value of the identification type.\n" + }, + "type": { + "type": "string", + "description": "The type of the identification.\n\nPossible Values:\n - driver license\n" + }, + "issuedBy": { + "type": "object", + "properties": { + "administrativeArea": { + "type": "string", + "description": "The State or province where the customer's driver's license was issued.\n\nUse the two-character State, Province, and Territory Codes for the United States and Canada.\n", + "maxLength": 20 + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "maxLength": 60, + "description": "Customer's first name. This name must be the same as the name on the card.\n" + }, + "lastName": { + "type": "string", + "maxLength": 60, + "description": "Customer's last name. This name must be the same as the name on the card.\n" + }, + "company": { + "type": "string", + "maxLength": 60, + "description": "Name of the customer's company.\n" + }, + "address1": { + "type": "string", + "maxLength": 60, + "description": "Payment card billing street address as it appears on the credit card issuer's records.\n" + }, + "address2": { + "type": "string", + "maxLength": 60, + "description": "Additional address information.\n" + }, + "locality": { + "type": "string", + "maxLength": 50, + "description": "Payment card billing city.\n" + }, + "administrativeArea": { + "type": "string", + "maxLength": 20, + "description": "State or province of the billing address. Use the State, Province, and Territory Codes for the United States\nand Canada.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "Postal code for the billing address. The postal code must consist of 5 to 9 digits.\n\nWhen the billing country is the U.S., the 9-digit postal code must follow this format:\n[5 digits][dash][4 digits]\n\n**Example** `12345-6789`\n\nWhen the billing country is Canada, the 6-digit postal code must follow this format:\n[alpha][numeric][alpha][space][numeric][alpha][numeric]\n\n**Example** `A1B 2C3`\n" + }, + "country": { + "type": "string", + "maxLength": 2, + "description": "Payment card billing country. Use the two-character ISO Standard Country Codes.\n" + }, + "email": { + "type": "string", + "maxLength": 255, + "description": "Customer's email address, including the full domain name.\n" + }, + "phoneNumber": { + "type": "string", + "maxLength": 15, + "description": "Customer's phone number.\n" + } + } + }, + "processingInformation": { + "type": "object", + "title": "tmsPaymentInstrumentProcessingInfo", + "properties": { + "billPaymentProgramEnabled": { + "type": "boolean", + "description": "Flag that indicates that this is a payment for a bill or for an existing contractual loan.\nPossible Values:\n- `true`: Bill payment or loan payment.\n- `false` (default): Not a bill payment or loan payment.\n# For processor-specific details, see the `bill_payment` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)\n" + }, + "bankTransferOptions": { + "type": "object", + "properties": { + "SECCode": { + "type": "string", + "maxLength": 3, + "description": "Specifies the authorization method for the transaction.\n\n#### TeleCheck\nPossible Values:\n- `ARC`: account receivable conversion\n- `CCD`: corporate cash disbursement\n- `POP`: point of purchase conversion\n- `PPD`: prearranged payment and deposit entry\n- `TEL`: telephone-initiated entry\n- `WEB`: internet-initiated entry\n\n# For details, see `ecp_sec_code` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + } + } + }, + "merchantInformation": { + "type": "object", + "title": "TmsMerchantInformation", + "properties": { + "merchantDescriptor": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate contact information for your business,such as an email address or URL.\nThis value might be displayed on the cardholder's statement.\nWhen you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used.\nImportant This value must consist of English characters\n", + "maxLength": 13 + } + } + } + } + }, + "instrumentIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 12, + "maxLength": 32, + "description": "The Id of the Instrument Identifier linked to the Payment Instrument.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "creator": { + "type": "string", + "readOnly": true, + "description": "The creator of the Payment Instrument.\n" + } + } + }, + "_embedded": { + "type": "object", + "readOnly": true, + "description": "Additional resources for the Payment Instrument.\n", + "properties": { + "instrumentIdentifier": { + "readOnly": true, + "title": "tmsEmbeddedInstrumentIdentifier", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifier.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111" + } + } + }, + "paymentInstruments": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Instrument Identifiers Payment Instruments.\n", + "example": "tms/v1/instrumentidentifiers/7010000000016241111/paymentinstruments" + } + } + } + } + }, + "id": { + "type": "string", + "description": "The Id of the Instrument Identifier Token.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "instrumentIdentifier", + "description": "The type.\n\nPossible Values:\n- instrumentIdentifier\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the card number.\nPossible Values:\n- ACTIVE\n- CLOSED : The account has been closed.\n" + }, + "type": { + "type": "string", + "description": "The type of Instrument Identifier.\nPossible Values:\n- enrollable card\n- enrollable token\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- CONTACTLESS_TAP\n" + }, + "tokenProvisioningInformation": { + "type": "object", + "properties": { + "consumerConsentObtained": { + "type": "boolean", + "description": "Flag that indicates whether the user consented to the tokenization of their credentials. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has consented to tokenization of their credentials.\n- `false`: Consumer has not consented to tokenization of their credentials.\n" + }, + "multiFactorAuthenticated": { + "type": "boolean", + "description": "Flag that indicates whether AFA (Additional Factor of Authentication) for the PAN was completed. Required for card network tokenization in certain markets, such as India.\nPossible Values:\n- `true`: Consumer has been authenticated by the issuer.\n- `false`: Consumer has not been authenticated by the issuer.\n" + } + } + }, + "card": { + "type": "object", + "description": "The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN). You can also use this field\nfor encoded account numbers.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "securityCode": { + "type": "string", + "maxLength": 4, + "description": "Card Verification Code. \nThis value is sent to the issuer to support the approval of a network token provision.\nIt is not persisted against the Instrument Identifier.\n" + } + } + }, + "pointOfSaleInformation": { + "type": "object", + "required": [ + "emvTags" + ], + "properties": { + "emvTags": { + "type": "array", + "minItems": 1, + "maxItems": 50, + "items": { + "type": "object", + "required": [ + "tag", + "value", + "source" + ], + "properties": { + "tag": { + "type": "string", + "minLength": 1, + "maxLength": 10, + "pattern": "^[0-9A-Fa-f]{1,10}$", + "description": "EMV tag, 1-10 hex characters." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "description": "EMV tag value, 1-64 characters." + }, + "source": { + "type": "string", + "description": "Source of the tag.\n\nPossible Values:\n - CARD\n - TERMINAL\n" + } + }, + "example": { + "tag": "5A", + "value": "4111111111111111", + "source": "CARD" + } + } + } + } + }, + "bankAccount": { + "type": "object", + "properties": { + "number": { + "type": "string", + "maxLength": 17, + "description": "Account number.\n\nWhen processing encoded account numbers, use this field for the encoded account number.\n" + }, + "routingNumber": { + "type": "string", + "description": "Bank routing number. This is also called the transit number.\n\n# For details, see `ecp_rdfi` field description in the [Electronic Check Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/EChecks_SCMP_API/html/)\n" + } + } + }, + "tokenizedCard": { + "title": "tmsv2TokenizedCard", + "type": "object", + "properties": { + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the Tokenized Card.\nexample: 'tms/v2/tokenized-cards/7010000000016241111'\n" + } + } + } + } + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Id of the Tokenized Card.\n" + }, + "object": { + "type": "string", + "readOnly": true, + "example": "tokenizedCard", + "description": "The type.\nPossible Values:\n- tokenizedCard\n" + }, + "accountReferenceId": { + "type": "string", + "description": "An identifier provided by the issuer for the account.\n" + }, + "consumerId": { + "type": "string", + "maxLength": 36, + "description": "Identifier of the consumer within the wallet. Maximum 24 characters for VTS." + }, + "createInstrumentIdentifier": { + "type": "boolean", + "description": "Specifies whether the InstrumentId should be created (true) or not (false).\nPossible Values:\n- `true`: The InstrumentId should be created.\n- `false`: The InstrumentId should be created.\n" + }, + "source": { + "type": "string", + "description": "Source of the card details.\nPossible Values:\n- ONFILE\n- TOKEN\n- ISSUER\n" + }, + "state": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "State of the network token or network token provision.\nPossible Values:\n ACTIVE : Network token is active.\n SUSPENDED : Network token is suspended. This state can change back to ACTIVE.\n DELETED : This is a final state for a network token instance.\n UNPROVISIONED : A previous network token.\n" + }, + "reason": { + "type": "string", + "readOnly": true, + "example": "ACTIVE", + "description": "Issuers state for the network token\nPossible Values:\n- INVALID_REQUEST : The network token provision request contained invalid data.\n- CARD_VERIFICATION_FAILED : The network token provision request contained data that could not be verified.\n- CARD_NOT_ELIGIBLE : Card can currently not be used with issuer for tokenization.\n- CARD_NOT_ALLOWED : Card can currently not be used with card association for tokenization.\n- DECLINED : Card can currently not be used with issuer for tokenization.\n- SERVICE_UNAVAILABLE : The network token service was unavailable or timed out.\n- SYSTEM_ERROR : An unexpected error occurred with network token service, check configuration.\n" + }, + "number": { + "type": "string", + "readOnly": true, + "description": "The token requestor's network token for the provided PAN and consumer Id, if available.\n" + }, + "expirationMonth": { + "type": "string", + "readOnly": true, + "description": "Two-digit month in which the network token expires.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "readOnly": true, + "description": "Four-digit year in which the network token expires.\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- visa\n- mastercard\n- americanexpress\n" + }, + "cryptogram": { + "type": "string", + "readOnly": true, + "description": "Value generated by the card association to be used alongside the network token for processing a payment.\n", + "example": "CgAFRFYFPTFOfg5rj2ais9wQAAAAAM=" + }, + "securityCode": { + "type": "string", + "readOnly": true, + "description": "4-digit number generated by the card association to be used alogside the network token for processing a payment. Only supported for Amex and SCOF.\n", + "example": "4523" + }, + "eci": { + "type": "string", + "readOnly": true, + "description": "Raw Electronic Commerce Indicator provided by the card association with the result of the cardholder authentication.\n" + }, + "requestorId": { + "type": "string", + "readOnly": true, + "maxLength": 11, + "description": "11-digit identifier that uniquely identifies the Token Requestor.\n" + }, + "enrollmentId": { + "type": "string", + "readOnly": true, + "description": "Unique id to identify this PAN/ enrollment.\n" + }, + "tokenReferenceId": { + "type": "string", + "readOnly": true, + "description": "Unique ID for netwrok token.\n" + }, + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "description": "Payment account reference.\n" + }, + "card": { + "type": "object", + "description": "Card object used to create a network token\n", + "properties": { + "number": { + "type": "string", + "minLength": 12, + "maxLength": 19, + "description": "The customer's payment card number, also known as the Primary Account Number (PAN).\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "Two-digit month in which the payment card expires.\n\nFormat: `MM`.\n\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "Four-digit year in which the credit card expires.\n\nFormat: `YYYY`.\n" + }, + "type": { + "type": "string", + "description": "The type of card (Card Network).\nPossible Values:\n- 001: visa\n" + }, + "suffix": { + "type": "string", + "readOnly": true, + "description": "The customer's latest payment card number suffix.\n" + }, + "issueDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card issuance date. XML date format: YYYY-MM-DD.", + "example": "2030-12-15" + }, + "activationDate": { + "type": "string", + "readOnly": true, + "format": "date", + "description": "Card activation date. XML date format: YYYY-MM-DD", + "example": "2030-12-20" + }, + "expirationPrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the expiration date is printed on the card.", + "example": true + }, + "securityCodePrinted": { + "type": "boolean", + "readOnly": true, + "description": "Indicates if the Card Verification Number is printed on the card.", + "example": true + }, + "termsAndConditions": { + "type": "object", + "readOnly": true, + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer Card Terms and Conditions url." + } + } + } + } + }, + "passcode": { + "type": "object", + "description": "Passcode by issuer for ID&V.\n", + "properties": { + "value": { + "type": "string", + "description": "OTP generated at issuer.\n" + } + } + }, + "metadata": { + "type": "object", + "readOnly": true, + "description": "Metadata associated with the tokenized card.\n", + "properties": { + "cardArt": { + "title": "TmsCardArt", + "description": "Card art associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "foregroundColor": { + "description": "Card foreground color.\n", + "type": "string", + "readOnly": true + }, + "combinedAsset": { + "description": "Combined card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/card-art-combined'\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "description": "Brand logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/brand-logo'\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "description": "Issuer logo card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/issuer-logo'\n" + } + } + } + } + } + } + }, + "iconAsset": { + "description": "Icon card art asset associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the asset\n" + }, + "_links": { + "type": "object", + "readOnly": true, + "properties": { + "self": { + "type": "object", + "readOnly": true, + "properties": { + "href": { + "type": "string", + "readOnly": true, + "description": "Link to the card art asset.\nexample: 'tms/v2/tokens/7020000000010603216/visa/assets/icon'\n" + } + } + } + } + } + } + } + } + }, + "issuer": { + "description": "Issuer associated with the tokenized card.\n", + "type": "object", + "readOnly": true, + "properties": { + "name": { + "description": "Issuer name.\n", + "type": "string", + "readOnly": true + }, + "shortDescription": { + "description": "Short description of the card.\n", + "type": "string", + "readOnly": true + }, + "longDescription": { + "description": "Long description of the card.\n", + "type": "string", + "readOnly": true + }, + "email": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service email address." + }, + "phoneNumber": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service phone number." + }, + "url": { + "type": "string", + "readOnly": true, + "description": "Issuer customer service url." + } + } + } + } + } + } + }, + "issuer": { + "type": "object", + "readOnly": true, + "properties": { + "paymentAccountReference": { + "type": "string", + "readOnly": true, + "maxLength": 32, + "description": "This reference number serves as a link to the cardholder account and to all transactions for that account.\n" + } + } + }, + "processingInformation": { + "type": "object", + "properties": { + "authorizationOptions": { + "type": "object", + "title": "tmsAuthorizationOptions", + "properties": { + "initiator": { + "type": "object", + "properties": { + "merchantInitiatedTransaction": { + "type": "object", + "properties": { + "previousTransactionId": { + "type": "string", + "maxLength": 15, + "description": "Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_\nin the reply message for either the original merchant-initiated payment in the series or the previous\nmerchant-initiated payment in the series.\n" + }, + "originalAuthorizedAmount": { + "type": "string", + "maxLength": 15, + "description": "Amount of the original authorization.\n" + } + } + } + } + } + } + } + } + }, + "billTo": { + "type": "object", + "description": "This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.\n", "properties": { "address1": { "type": "string", @@ -48927,7 +53046,8 @@ "operationId": "postCustomer", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -49362,6 +53482,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -51120,6 +55241,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -52875,6 +56997,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -53880,7 +58003,8 @@ "operationId": "patchCustomer", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-tkn/tms-cust-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -54324,6 +58448,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -56255,7 +60380,8 @@ "operationId": "postCustomerShippingAddress", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -58030,7 +62156,8 @@ "operationId": "patchCustomersShippingAddress", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ship-tkn/tms-ship-addr-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -59303,6 +63430,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -60187,7 +64315,8 @@ "operationId": "postCustomerPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -60491,6 +64620,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -62212,6 +66342,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -63748,6 +67879,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -65247,6 +69379,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -66131,7 +70264,8 @@ "operationId": "patchCustomersPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-cust-pi-tkn/tms-cust-pi-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -66431,6 +70565,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -68473,6 +72608,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -69357,7 +73493,8 @@ "operationId": "postPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -69643,6 +73780,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -71221,6 +75359,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -72718,6 +76857,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -73602,7 +77742,8 @@ "operationId": "patchPaymentInstrument", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-pi-tkn/tms-pi-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -73902,6 +78043,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -76389,7 +80531,8 @@ "operationId": "postInstrumentIdentifier", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-create-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-create-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -80528,7 +84671,8 @@ "operationId": "patchInstrumentIdentifier", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-update-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-ii-tkn/tms-ii-tkn-update-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -82600,6 +86744,7 @@ }, "merchantInformation": { "type": "object", + "title": "TmsMerchantInformation", "properties": { "merchantDescriptor": { "type": "object", @@ -84666,7 +88811,8 @@ "operationId": "postInstrumentIdentifierEnrollment", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-partner-ii-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -85447,7 +89593,8 @@ "operationId": "postTokenizedCard", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-card-create-cof-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -87321,7 +91468,154 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "forbidden", + "message": "Request not permitted" + } + ] + } + } + }, + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notFound\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "notFound", + "message": "Token not found" + } + ] + } + } + }, + "409": { + "description": "Conflict. The token is linked to a Payment Instrument.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + }, + "examples": { + "application/json": { + "errors": [ + { + "type": "conflict", + "message": "Action cannot be performed as the PaymentInstrument is the customers default" + } + ] + } + } + }, + "410": { + "description": "Token Not Available. The token has been deleted.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" }, "message": { "type": "string", @@ -87337,15 +91631,15 @@ "application/json": { "errors": [ { - "type": "forbidden", - "message": "Request not permitted" + "type": "notAvailable", + "message": "Token not available." } ] } } }, - "404": { - "description": "Token Not Found. The Id may not exist or was entered incorrectly.", + "424": { + "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87387,14 +91681,14 @@ "errors": [ { "type": "notFound", - "message": "Token not found" + "message": "Profile not found" } ] } } }, - "409": { - "description": "Conflict. The token is linked to a Payment Instrument.", + "500": { + "description": "Unexpected error.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87405,6 +91699,16 @@ "type": "string" } }, + "examples": { + "application/json": { + "errors": [ + { + "type": "serverError", + "message": "Internal server error" + } + ] + } + }, "schema": { "type": "object", "readOnly": true, @@ -87419,12 +91723,180 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - instrumentIdentifierDeletionError\n - tokenIdConflict\n - conflict\n" + "description": "The type of error.\n\nPossible Values:\n - internalError\n" + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed message related to the type." + } + } + } + } + } + } + } + } + } + }, + "/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations": { + "post": { + "summary": "Simulate Issuer Life Cycle Management Events", + "description": "**Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card.\nThe events that can be simulated are:\n- Token status changes (e.g. active, suspended, deleted)\n- Updates to the underlying card, including card art changes, expiration date changes, and card number suffix.\n**Note:** This is only available in CAS environment.\n", + "parameters": [ + { + "name": "profile-id", + "in": "header", + "required": true, + "type": "string", + "description": "The Id of a profile containing user specific TMS configuration.", + "minLength": 36, + "maxLength": 36 + }, + { + "name": "tokenizedCardId", + "in": "path", + "description": "The Id of a tokenized card.", + "required": true, + "type": "string", + "minLength": 12, + "maxLength": 32 + }, + { + "name": "postIssuerLifeCycleSimulationRequest", + "in": "body", + "required": true, + "schema": { + "type": "object", + "description": "Represents the Issuer LifeCycle Event Simulation for a Tokenized Card.\n", + "properties": { + "state": { + "type": "string", + "description": "The new state of the Tokenized Card.\nPossible Values:\n- ACTIVE\n- SUSPENDED\n- DELETED\n" + }, + "card": { + "type": "object", + "properties": { + "last4": { + "type": "string", + "maxLength": 4, + "description": "The new last 4 digits of the card number associated to the Tokenized Card.\n" + }, + "expirationMonth": { + "type": "string", + "maxLength": 2, + "description": "The new two-digit month of the card associated to the Tokenized Card.\nFormat: `MM`.\nPossible Values: `01` through `12`.\n" + }, + "expirationYear": { + "type": "string", + "maxLength": 4, + "description": "The new four-digit year of the card associated to the Tokenized Card.\nFormat: `YYYY`.\n" + } + } + }, + "metadata": { + "type": "object", + "properties": { + "cardArt": { + "type": "object", + "properties": { + "combinedAsset": { + "type": "object", + "properties": { + "update": { + "type": "string", + "description": "Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card.\n" + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Tokenized Card" + ], + "operationId": "postIssuerLifeCycleSimulation", + "x-devcenter-metaData": { + "categoryTag": "Token_Management", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-intro/tms-net-tkn-card-simulate-issuer-life-cycle-event-intro.html" + }, + "consumes": [ + "application/json;charset=utf-8" + ], + "produces": [ + "application/json;charset=utf-8" + ], + "responses": { + "204": { + "description": "The request is fulfilled but does not need to return a body", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + } + }, + "400": { + "description": "Bad Request: e.g. A required header value could be missing.", + "headers": { + "v-c-correlation-id": { + "description": "The mandatory correlation Id passed by upstream (calling) system.", + "type": "string" + }, + "uniqueTransactionID": { + "description": "A globally unique Id associated with your request.", + "type": "string" + } + }, + "schema": { + "type": "object", + "readOnly": true, + "properties": { + "errors": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "type": { + "type": "string", + "readOnly": true, + "description": "The type of error.\n\nPossible Values:\n - invalidHeaders\n - missingHeaders\n - invalidFields\n - missingFields\n - unsupportedPaymentMethodModification\n - invalidCombination\n" }, "message": { "type": "string", "readOnly": true, "description": "The detailed message related to the type." + }, + "details": { + "type": "array", + "readOnly": true, + "items": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that caused the error." + }, + "location": { + "type": "string", + "readOnly": true, + "description": "The location of the field that caused the error." + } + } + } } } } @@ -87432,18 +91904,18 @@ } }, "examples": { - "application/json": { + "Invalid Customer request body": { "errors": [ { - "type": "conflict", - "message": "Action cannot be performed as the PaymentInstrument is the customers default" + "type": "invalidRequest", + "message": "Invalid HTTP Body" } ] } } }, - "410": { - "description": "Token Not Available. The token has been deleted.", + "403": { + "description": "Forbidden: e.g. The profile might not have permission to perform the operation.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87468,7 +91940,7 @@ "type": { "type": "string", "readOnly": true, - "description": "The type of error.\n\nPossible Values:\n - notAvailable\n" + "description": "The type of error.\n\nPossible Values:\n - forbidden\n - declined\n" }, "message": { "type": "string", @@ -87484,15 +91956,15 @@ "application/json": { "errors": [ { - "type": "notAvailable", - "message": "Token not available." + "type": "forbidden", + "message": "Request not permitted" } ] } } }, - "424": { - "description": "Failed Dependency: e.g. The profile represented by the profile-id may not exist or the profile-id was entered incorrectly.", + "404": { + "description": "Token Not Found. The Id may not exist or was entered incorrectly.", "headers": { "v-c-correlation-id": { "description": "The mandatory correlation Id passed by upstream (calling) system.", @@ -87534,7 +92006,7 @@ "errors": [ { "type": "notFound", - "message": "Profile not found" + "message": "Token not found" } ] } @@ -87589,6 +92061,36 @@ } } } + }, + "x-example": { + "example0": { + "summary": "Simulate Network Token Status Update", + "value": { + "state": "SUSPENDED" + } + }, + "example1": { + "summary": "Simulate Network Token Card Metadata Update", + "value": { + "card": { + "last4": "9876", + "expirationMonth": "11", + "expirationYear": "2040" + } + } + }, + "example2": { + "summary": "Simulate Network Token Card Art Update", + "value": { + "metadata": { + "cardArt": { + "combinedAsset": { + "update": "true" + } + } + } + } + } } } }, @@ -87853,7 +92355,8 @@ "operationId": "postTokenPaymentCredentials", "x-devcenter-metaData": { "categoryTag": "Token_Management", - "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/tms/developer/ctv/rest/tms/tms-net-tkn-indirect/tms-net-tkn-partner-retrieve-pay-cred-intro.html", + "mleForRequest": "optional" }, "consumes": [ "application/json;charset=utf-8" @@ -101675,43 +106178,6 @@ "schema": { "type": "object", "properties": { - "clientReferenceInformation": { - "type": "object", - "properties": { - "comments": { - "type": "string", - "maxLength": 255, - "description": "Brief description of the order or any comment you wish to add to the order.\n" - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "type": "string", - "maxLength": 8, - "description": "Identifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n" - }, - "solutionId": { - "type": "string", - "maxLength": 8, - "description": "Identifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n" - } - } - }, - "applicationName": { - "type": "string", - "description": "The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n" - }, - "applicationVersion": { - "type": "string", - "description": "Version of the CyberSource application or integration used for a transaction.\n" - }, - "applicationUser": { - "type": "string", - "description": "The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n" - } - } - }, "planInformation": { "type": "object", "required": [ @@ -103422,41 +107888,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -103607,6 +108041,9 @@ "customer": { "id": "C24F5921EB870D99E053AF598E0A4105" } + }, + "clientReferenceInformation": { + "code": "TC501713" } } } @@ -103715,6 +108152,16 @@ "description": "Subscription Status:\n - `PENDING`\n - `ACTIVE`\n - `FAILED`\n" } } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } } }, "example": { @@ -103820,6 +108267,9 @@ "summary": "Create Subscription", "sample-name": "Create Subscription", "value": { + "clientReferenceInformation": { + "code": "TC501713" + }, "subscriptionInformation": { "planId": "6868912495476705603955", "name": "Subscription with PlanId", @@ -103838,13 +108288,7 @@ "sample-name": "(deprecated) Create Subscription with Authorization", "value": { "clientReferenceInformation": { - "code": "TC501713", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "TC501713" }, "processingInformation": { "commerceIndicator": "recurring", @@ -104116,6 +108560,16 @@ } } }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } + }, "paymentInformation": { "type": "object", "properties": { @@ -104475,18 +108929,28 @@ } } }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } + }, "reactivationInformation": { "type": "object", "properties": { - "skippedPaymentsCount": { + "missedPaymentsCount": { "type": "string", "maxLength": 10, "description": "Number of payments that should have occurred while the subscription was in a suspended status.\n" }, - "skippedPaymentsTotalAmount": { + "missedPaymentsTotalAmount": { "type": "string", "maxLength": 19, - "description": "Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`.\n" + "description": "Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`.\n" } } } @@ -104616,41 +109080,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -105109,7 +109541,7 @@ "/rbs/v1/subscriptions/{id}/suspend": { "post": { "summary": "Suspend a Subscription", - "description": "Suspend a Subscription", + "description": "Suspend a Subscription\n", "tags": [ "Subscriptions" ], @@ -105277,8 +109709,8 @@ }, "/rbs/v1/subscriptions/{id}/activate": { "post": { - "summary": "Activate a Subscription", - "description": "Activate a `SUSPENDED` Subscription\n", + "summary": "Reactivating a Suspended Subscription", + "description": "# Reactivating a Suspended Subscription\n\nYou can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription.\n\nYou can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. \nIf no value is specified, the system will default to `true`.\n\n**Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html).\n\nYou can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html).\n", "tags": [ "Subscriptions" ], @@ -105306,10 +109738,10 @@ "description": "Subscription Id" }, { - "name": "processSkippedPayments", + "name": "processMissedPayments", "in": "query", "type": "boolean", - "description": "Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true.", + "description": "Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true.\nWhen any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored.\n", "required": false, "default": true } @@ -106073,41 +110505,9 @@ "type": "object", "properties": { "code": { - "description": "> Deprecated: This field is ignored.\n\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", "type": "string", "maxLength": 50 - }, - "comments": { - "description": "> Deprecated: This field is ignored.\n\nBrief description of the order or any comment you wish to add to the order.\n", - "type": "string", - "maxLength": 255 - }, - "partner": { - "type": "object", - "properties": { - "developerId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the developer that helped integrate a partner solution to CyberSource.\n\nSend this value in all requests that are sent through the partner solutions built by that developer.\nCyberSource assigns the ID to the developer.\n\n**Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - }, - "solutionId": { - "description": "> This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription.\n\nIdentifier for the partner that is integrated to CyberSource.\n\nSend this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner.\n\n**Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.\n", - "type": "string", - "maxLength": 8 - } - } - }, - "applicationName": { - "description": "> Deprecated: This field is ignored.\n\nThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.\n", - "type": "string" - }, - "applicationVersion": { - "description": "> Deprecated: This field is ignored.\n\nVersion of the CyberSource application or integration used for a transaction.\n", - "type": "string" - }, - "applicationUser": { - "description": "> Deprecated: This field is ignored.\n\nThe entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n", - "type": "string" } } }, @@ -106230,13 +110630,7 @@ }, "example": { "clientReferenceInformation": { - "code": "FollowOn from 7216512479796378604957", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "FollowOn from 7216512479796378604957" }, "processingInformation": { "commerceIndicator": "recurring", @@ -106358,6 +110752,16 @@ "description": "Subscription Status:\n - `PENDING`\n - `ACTIVE`\n - `FAILED`\n" } } + }, + "clientReferenceInformation": { + "type": "object", + "properties": { + "code": { + "description": "\nMerchant-generated order reference or tracking number. It is recommended that you send a unique value for each\ntransaction so that you can perform meaningful searches for the transaction.\n\n#### Used by\n**Authorization**\nRequired field.\n\n#### PIN Debit\nRequests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being\nreversed.\n\nRequired field for all PIN Debit requests (purchase, credit, and reversal).\n\n#### FDC Nashville Global\nCertain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.\n", + "type": "string", + "maxLength": 50 + } + } } }, "example": { @@ -106464,13 +110868,7 @@ "sample-name": "Create Follow-On Subscription", "value": { "clientReferenceInformation": { - "code": "FollowOn from 7216512479796378604957", - "partner": { - "developerId": "ABCD1234", - "solutionId": "GEF1234" - }, - "applicationName": "CYBS-SDK", - "applicationVersion": "v1" + "code": "FollowOn from 7216512479796378604957" }, "processingInformation": { "commerceIndicator": "recurring", @@ -134847,6 +139245,24 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" + } + } + } + } } } }, @@ -136622,26 +141038,159 @@ "type": "string" } } - } - } - }, - "recurringBilling": { - "type": "object", - "properties": { - "subscriptionStatus": { + } + } + }, + "recurringBilling": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { + "type": "object", + "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } + }, + "cybsReadyTerminal": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + }, + "configurationStatus": { "type": "object", "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" }, "reason": { "type": "string", - "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" }, "details": { "type": "array", @@ -136665,28 +141214,26 @@ "type": "string" } } - }, - "configurationStatus": { + } + } + }, + "paymentOrchestration": { + "type": "object", + "properties": { + "subscriptionStatus": { "type": "object", "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" }, "reason": { "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" }, "details": { "type": "array", @@ -136713,7 +141260,7 @@ } } }, - "cybsReadyTerminal": { + "payouts": { "type": "object", "properties": { "subscriptionStatus": { @@ -136801,7 +141348,7 @@ } } }, - "paymentOrchestration": { + "payByLink": { "type": "object", "properties": { "subscriptionStatus": { @@ -136844,7 +141391,7 @@ } } }, - "payouts": { + "unifiedCheckout": { "type": "object", "properties": { "subscriptionStatus": { @@ -136884,55 +141431,10 @@ "type": "string" } } - }, - "configurationStatus": { - "type": "object", - "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" - }, - "status": { - "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" - } - }, - "additionalProperties": { - "type": "string" - } - } - }, - "message": { - "type": "string" - } - } } } }, - "payByLink": { + "receivablesManager": { "type": "object", "properties": { "subscriptionStatus": { @@ -136975,7 +141477,7 @@ } } }, - "unifiedCheckout": { + "serviceFee": { "type": "object", "properties": { "subscriptionStatus": { @@ -137015,26 +141517,28 @@ "type": "string" } } - } - } - }, - "receivablesManager": { - "type": "object", - "properties": { - "subscriptionStatus": { + }, + "configurationStatus": { "type": "object", "properties": { + "configurationId": { + "type": "string", + "description": "This is NOT for MVP" + }, + "version": { + "type": "string" + }, "submitTimeUtc": { "type": "string", "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" }, "status": { "type": "string", - "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" }, "reason": { "type": "string", - "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" }, "details": { "type": "array", @@ -137061,7 +141565,7 @@ } } }, - "serviceFee": { + "batchUpload": { "type": "object", "properties": { "subscriptionStatus": { @@ -137101,51 +141605,6 @@ "type": "string" } } - }, - "configurationStatus": { - "type": "object", - "properties": { - "configurationId": { - "type": "string", - "description": "This is NOT for MVP" - }, - "version": { - "type": "string" - }, - "submitTimeUtc": { - "type": "string", - "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" - }, - "status": { - "type": "string", - "description": "Possible values:\n- SUCCESS\n- PARTIAL\n- PENDING\n- NOT_SETUP" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- PENDING_PROVISIONING_PROCESS\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD\n- NOT_APPLICABLE" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string" - }, - "reason": { - "type": "string", - "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" - } - }, - "additionalProperties": { - "type": "string" - } - } - }, - "message": { - "type": "string" - } - } } } } @@ -145273,6 +149732,24 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionInformation": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "selfServiceability": { + "type": "string", + "default": "NOT_SELF_SERVICEABLE", + "description": "Indicates if the organization can enable this product using self service. \nPossible values:\n- SELF_SERVICEABLE\n- NOT_SELF_SERVICEABLE\n- SELF_SERVICE_ONLY" + } + } + } + } } } }, @@ -147440,6 +151917,49 @@ } } } + }, + "batchUpload": { + "type": "object", + "properties": { + "subscriptionStatus": { + "type": "object", + "properties": { + "submitTimeUtc": { + "type": "string", + "description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n" + }, + "status": { + "type": "string", + "description": "Possible values:\n- SUCCESS\n- FAILURE\n- PARTIAL\n- PENDING" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- DEPENDENT_PRODUCT_NOT_CONTRACTED\n- DEPENDENT_FEATURE_NOT_CHOSEN\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string" + }, + "reason": { + "type": "string", + "description": "Possible values:\n- MISSING_DATA\n- INVALID_DATA\n- DUPLICATE_FIELD" + } + }, + "additionalProperties": { + "type": "string" + } + } + }, + "message": { + "type": "string" + } + } + } + } } } }, @@ -151507,7 +156027,7 @@ "properties": { "clientVersion": { "type": "string", - "example": "0.25", + "example": "0.32", "maxLength": 60, "description": "Specify the version of Unified Checkout that you want to use." }, @@ -151536,7 +156056,7 @@ "items": { "type": "string" }, - "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nUnified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods:\n - AFTERPAY

\n\nUnified Checkout supports the following Online Bank Transfer payment methods:\n - Bancontact (BE)\n - DragonPay (PH)\n - iDEAL (NL)\n - Multibanco (PT)\n - MyBank (IT, BE, PT, ES)\n - Przelewy24|P24 (PL)\n - Tink Pay By Bank (GB)\n\nPossible values when launching Click To Pay Drop-In UI:\n- CLICKTOPAY

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

\n\n**Managing Google Pay Authentication Types**\nWhen you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

\n\n**Managing Google Pay Authentication Types**\nWhere Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". \n\nThis is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\".\n - UAE\n - Argentina\n - Brazil\n - Chile\n - Colombia\n - Kuwait\n - Mexico\n - Peru\n - Qatar\n - Saudi Arabia\n - Ukraine\n - South Africa

\n\nIf false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry.\n" + "description": "The payment types that are allowed for the merchant. \n\nPossible values when launching Unified Checkout:\n - APPLEPAY\n - CHECK\n - CLICKTOPAY\n - GOOGLEPAY\n - PANENTRY \n - PAZE

\n\nUnified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods:\n - AFTERPAY

\n\nUnified Checkout supports the following Online Bank Transfer payment methods:\n - Bancontact (BE)\n - DragonPay (PH)\n - iDEAL (NL)\n - Multibanco (PT)\n - MyBank (IT, BE, PT, ES)\n - Przelewy24|P24 (PL)\n - Tink Pay By Bank (GB)

\n\n Unified Checkout supports the following Post-Pay Reference payment methods:\n - Konbini (JP)

\n\nPossible values when launching Click To Pay Drop-In UI:\n- CLICKTOPAY

\n\n**Important:** \n - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards.\n - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester.\n - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.

\n\n**Managing Google Pay Authentication Types**\nWhen you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.

\n\n**Managing Google Pay Authentication Types**\nWhere Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". \n\nThis is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\".\n - UAE\n - Argentina\n - Brazil\n - Chile\n - Colombia\n - Kuwait\n - Mexico\n - Peru\n - Qatar\n - Saudi Arabia\n - Ukraine\n - South Africa

\n\nIf false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry.\n" }, "country": { "type": "string", @@ -151549,6 +156069,11 @@ "example": "en_US", "description": "Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code.\n\nPlease refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html)\n" }, + "buttonType": { + "type": "string", + "example": null, + "description": "Changes the label on the payment button within Unified Checkout .

\n\nPossible values:\n- ADD_CARD\n- CARD_PAYMENT\n- CHECKOUT\n- CHECKOUT_AND_CONTINUE\n- DEBIT_CREDIT\n- DONATE\n- PAY\n- PAY_WITH_CARD\n- SAVE_CARD\n- SUBSCRIBE_WITH_CARD

\n\nThis is an optional field,\n" + }, "captureMandate": { "type": "object", "properties": { @@ -151705,6 +156230,23 @@ "type": "string", "example": 10, "description": "This field defines the tax amount applicable to the order.\n" + }, + "taxDetails": { + "type": "object", + "properties": { + "taxId": { + "type": "string", + "example": 1234, + "maxLength": 20, + "description": "This field defines the tax identifier/registration number\n" + }, + "type": { + "type": "string", + "example": "N", + "maxLength": 1, + "description": "This field defines the Tax type code (N=National, S=State, L=Local etc)\n" + } + } } } }, @@ -151971,188 +156513,225 @@ "productCode": { "type": "string", "maxLength": 255, - "example": "electronics" + "example": "electronics", + "description": "Code identifying the product." }, "productName": { "type": "string", "maxLength": 255, - "example": "smartphone" + "example": "smartphone", + "description": "Name of the product." }, "productSku": { "type": "string", "maxLength": 255, - "example": "SKU12345" + "example": "SKU12345", + "description": "Stock Keeping Unit identifier" }, "quantity": { "type": "integer", "minimum": 1, "maximum": 999999999, "default": 1, - "example": 2 + "example": 2, + "description": "Quantity of the product" }, "unitPrice": { "type": "string", "maxLength": 15, - "example": "399.99" + "example": "399.99", + "description": "Price per unit" }, "unitOfMeasure": { "type": "string", "maxLength": 12, - "example": "EA" + "example": "EA", + "description": "Unit of measure (e.g. EA, KG, LB)" }, "totalAmount": { "type": "string", "maxLength": 13, - "example": "799.98" + "example": "799.98", + "description": "Total amount for the line item" }, "taxAmount": { "type": "string", "maxLength": 15, - "example": "64.00" + "example": "64.00", + "description": "Tax amount applied" }, "taxRate": { "type": "string", "maxLength": 7, - "example": "0.88" + "example": "0.88", + "description": "Tax rate applied" }, "taxAppliedAfterDiscount": { "type": "string", "maxLength": 1, - "example": "Y" + "example": "Y", + "description": "Indicates if tax applied after discount" }, "taxStatusIndicator": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Tax status indicator" }, "taxTypeCode": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax type code" }, "amountIncludesTax": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if amount includes tax" }, "typeOfSupply": { "type": "string", "maxLength": 2, - "example": "GS" + "example": "GS", + "description": "Type of supply" }, "commodityCode": { "type": "string", "maxLength": 15, - "example": "123456" + "example": "123456", + "description": "Commodity code" }, "discountAmount": { "type": "string", "maxLength": 13, - "example": "10.00" + "example": "10.00", + "description": "Discount amount applied" }, "discountApplied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if discount applied" }, "discountRate": { "type": "string", "maxLength": 6, - "example": "0.05" + "example": "0.05", + "description": "Discount rate applied" }, "invoiceNumber": { "type": "string", "maxLength": 23, - "example": "INV-001" + "example": "INV-001", + "description": "Invoice number for the line item" }, "taxDetails": { "type": "object", "properties": { "type": { "type": "string", - "example": "VAT" + "example": "VAT", + "description": "Type of tax" }, "amount": { "type": "string", "maxLength": 13, - "example": 5.99 + "example": 5.99, + "description": "Tax amount" }, "rate": { "type": "string", "maxLength": 6, - "example": 20 + "example": 20, + "description": "Tax rate" }, "code": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax code" }, "taxId": { "type": "string", "maxLength": 15, - "example": "TAXID12345" + "example": "TAXID12345", + "description": "Tax Identifier" }, "applied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if tax applied" }, "exemptionCode": { "type": "string", "maxLength": 1, - "example": "E" + "example": "E", + "description": "Tax exemption code" } } }, "fulfillmentType": { "type": "string", - "example": "Delivery" + "example": "Delivery", + "description": "Fulfillment type" }, "weight": { "type": "string", "maxLength": 9, - "example": "1.5" + "example": "1.5", + "description": "Weight of the product" }, "weightIdentifier": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Weight identifier" }, "weightUnit": { "type": "string", "maxLength": 2, - "example": "KG" + "example": "KG", + "description": "Unit of weight of the product" }, "referenceDataCode": { "type": "string", "maxLength": 150, - "example": "REFCODE" + "example": "REFCODE", + "description": "Reference data code" }, "referenceDataNumber": { "type": "string", "maxLength": 30, - "example": "REF123" + "example": "REF123", + "description": "Reference data number" }, "unitTaxAmount": { "type": "string", "maxLength": 15, - "example": "3.20" + "example": "3.20", + "description": "Unit tax amount" }, "productDescription": { "type": "string", "maxLength": 30, - "example": "Latest model smartphone" + "example": "Latest model smartphone", + "description": "Description of the product" }, "giftCardCurrency": { "type": "string", "maxLength": 3, - "example": "USD" + "example": "USD", + "description": "Gift card currency" }, "shippingDestinationTypes": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Shipping destination types" }, "gift": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if item is a gift" }, "passenger": { "type": "object", @@ -152160,46 +156739,71 @@ "type": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Passenger type" }, "status": { "type": "string", "maxLength": 32, - "example": "Gold" + "example": "Gold", + "description": "Passenger status" }, "phone": { "type": "string", "maxLength": 15, - "example": "123456789" + "example": "123456789", + "description": "Passenger phone number" }, "firstName": { "type": "string", "maxLength": 60, - "example": "John" + "example": "John", + "description": "Passenger first name" }, "lastName": { "type": "string", "maxLength": 60, - "example": "Doe" + "example": "Doe", + "description": "Passenger last name" }, "id": { "type": "string", "maxLength": 40, - "example": "AIR1234567" + "example": "AIR1234567", + "description": "Passenger ID" }, "email": { "type": "string", "maxLength": 50, - "example": "john.doe@example.com" + "example": "john.doe@example.com", + "description": "Passenger email" }, "nationality": { "type": "string", "maxLength": 2, - "example": "US" + "example": "US", + "description": "Passenger nationality" } } } } + }, + "invoiceDetails": { + "type": "object", + "properties": { + "invoiceNumber": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Invoice number" + }, + "productDescription": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Product description" + } + } } } }, @@ -152211,21 +156815,35 @@ "properties": { "cpf": { "type": "string", - "minLength": 11, "maxLength": 11, - "example": "12345678900" + "example": "12345678900", + "description": "CPF Number (Brazil). Must be 11 digits in length.\n" } } }, "merchantCustomerId": { "type": "string", "maxLength": 100, - "example": "M123456767" + "example": "M123456767", + "description": "The Merchant Customer ID\n" }, "companyTaxId": { "type": "string", "maxLength": 9, - "example": "" + "example": "", + "description": "The Company Tax ID\n" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 10, + "example": "12/03/1976", + "description": "The date of birth\n" + }, + "language": { + "type": "string", + "maxLength": 10, + "example": "English", + "description": "The preferred language\n" } } }, @@ -152245,7 +156863,7 @@ "maxLength": 8, "example": "DEV12345" }, - "SolutionId": { + "solutionId": { "type": "string", "maxLength": 8, "example": "SOL1234" @@ -152260,12 +156878,20 @@ "challengeCode": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The challenge code\n" }, "messageCategory": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The message category\n" + }, + "acsWindowSize": { + "type": "string", + "maxLength": 2, + "example": "01", + "description": "The acs window size\n" } } }, @@ -152277,9 +156903,51 @@ "properties": { "name": { "type": "string", - "maxLength": 22, + "maxLength": 25, "example": "Euro Electronics", "description": "The name of the merchant" + }, + "alternateName": { + "type": "string", + "maxLength": 25, + "example": "Smyth Holdings PLC", + "description": "The alternate name of the merchant" + }, + "locality": { + "type": "string", + "maxLength": 50, + "example": "New York", + "description": "The locality of the merchant" + }, + "phone": { + "type": "string", + "maxLength": 15, + "example": "555-555-123", + "description": "The phone number of the merchant" + }, + "country": { + "type": "string", + "maxLength": 2, + "example": "US", + "description": "The country code of the merchant" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the merchant" + }, + "administrativeArea": { + "type": "string", + "maxLength": 2, + "example": "NY", + "description": "The administrative area of the merchant" + }, + "address1": { + "type": "string", + "maxLength": 60, + "example": "123 47th Street", + "description": "The first line of the merchant's address" } } } @@ -152291,28 +156959,46 @@ "reconciliationId": { "type": "string", "maxLength": 60, - "example": "01234567" + "example": "01234567", + "description": "The reconciliation ID" }, "authorizationOptions": { "type": "object", "properties": { "aftIndicator": { "type": "boolean", - "example": true + "example": true, + "description": "The AFT indicator" + }, + "authIndicator": { + "type": "string", + "example": 1, + "description": "The authorization indicator" + }, + "ignoreCvResult": { + "type": "boolean", + "example": true, + "description": "Ignore the CV result" + }, + "ignoreAvsResult": { + "type": "boolean", + "example": true, + "description": "Ignore the AVS result" }, "initiator": { "type": "object", "properties": { "credentialStoredOnFile": { "type": "boolean", - "example": true + "example": true, + "description": "Store the credential on file" }, "merchantInitiatedTransaction": { "type": "object", "properties": { "reason": { "type": "string", - "maxLength": 1, + "maxLength": 2, "example": 1 } } @@ -152322,7 +157008,20 @@ "businessApplicationId": { "type": "string", "maxLength": 2, - "example": "AA" + "example": "AA", + "description": "The business application Id" + }, + "commerceIndicator": { + "type": "string", + "maxLength": 20, + "example": "INDICATOR", + "description": "The commerce indicator" + }, + "processingInstruction": { + "type": "string", + "maxLength": 50, + "example": "ORDER_SAVED_EXPLICITLY", + "description": "The processing instruction" } } } @@ -152361,14 +157060,26 @@ "administrativeArea": { "type": "string", "maxLength": 2, - "example": "Devon", + "example": "GB", "description": "The administrative area of the recipient" }, "accountType": { "type": "string", "maxLength": 2, - "example": "Checking", + "example": "01", "description": "The account type of the recipient" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 8, + "example": "05111999", + "description": "The date of birth of the recipient" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the recipient" } } }, @@ -152377,20 +157088,50 @@ "properties": { "key": { "type": "string", - "maxLength": 50, + "maxLength": 10, + "example": "1", "description": "The key or identifier for the merchant-defined data field" }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 100, + "example": "123456", "description": "The value associated with the merchant-defined data field" } } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "maxLength": 45, + "example": "192.168.1.1", + "description": "The IP Address" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "typeSelectionIndicator": { + "type": "string", + "maxLength": 1, + "example": "0", + "description": "The card type selection indicator" + } + } + } + } } } }, "orderInformation": { "type": "object", + "description": "If you need to include any fields within the data object, you must use the orderInformation object that is nested inside the data object. This ensures proper structure and compliance with the Unified Checkout schema. This top-level orderInformation field is not intended for use when working with the data object.", "properties": { "amountDetails": { "type": "object", @@ -152674,7 +157415,7 @@ "example0": { "summary": "Generate Unified Checkout Capture Context", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152709,10 +157450,12 @@ "decisionManager": true, "consumerAuthentication": true }, - "orderInformation": { - "amountDetails": { - "totalAmount": "21.00", - "currency": "USD" + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "USD" + } } } } @@ -152720,7 +157463,7 @@ "example1": { "summary": "Generate Unified Checkout Capture Context With Full List of Card Networks", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152784,7 +157527,7 @@ "example2": { "summary": "Generate Unified Checkout Capture Context With Custom Google Payment Options", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152840,7 +157583,7 @@ "example3": { "summary": "Generate Unified Checkout Capture Context With Autocheck Enrollment", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152890,7 +157633,7 @@ "example4": { "summary": "Generate Unified Checkout Capture Context (Opt-out of receiving card number prefix)", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152941,7 +157684,7 @@ "example5": { "summary": "Generate Unified Checkout Capture Context passing Billing & Shipping", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153036,7 +157779,7 @@ "example6": { "summary": "Generate Unified Checkout Capture Context For Click To Pay Drop-In UI", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153074,7 +157817,7 @@ "example7": { "summary": "Generate Unified Checkout Capture Context ($ Afterpay (US))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153145,7 +157888,7 @@ "example8": { "summary": "Generate Unified Checkout Capture Context (Afterpay (CAN))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153216,7 +157959,7 @@ "example9": { "summary": "Generate Unified Checkout Capture Context (Clearpay (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153289,7 +158032,7 @@ "example10": { "summary": "Generate Unified Checkout Capture Context (Afterpay (AU))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153360,7 +158103,7 @@ "example11": { "summary": "Generate Unified Checkout Capture Context (Afterpay (NZ))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153429,9 +158172,153 @@ "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" }, "example12": { + "summary": "Generate Unified Checkout Capture Context (Bancontact (BE))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "BANCONTACT" + ], + "country": "BE", + "locale": "fr_BE", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "BE", + "NL", + "FR" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "jean.dupont@example.com", + "firstName": "Jean", + "lastName": "Dupont", + "address1": "Avenue Louise 123", + "administrativeArea": "Brussels", + "buildingNumber": 123, + "country": "BE", + "locality": "Brussels", + "postalCode": "1050" + }, + "shipTo": { + "firstName": "Marie", + "lastName": "Dupont", + "address1": "Rue de la Loi 200", + "administrativeArea": "Brussels", + "buildingNumber": 200, + "country": "BE", + "locality": "Brussels", + "postalCode": "1040" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example13": { + "summary": "Generate Unified Checkout Capture Context (DragonPay (PH))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "DRAGONPAY" + ], + "country": "PH", + "locale": "en-PH", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PH", + "SG", + "MY" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "121.00", + "currency": "PHP" + }, + "billTo": { + "email": "juan.dela.cruz@example.com", + "firstName": "Juan", + "lastName": "Dela Cruz", + "address1": "123 Ayala Avenue", + "administrativeArea": "NCR", + "buildingNumber": 123, + "country": "PH", + "locality": "Makati City", + "postalCode": "1226" + }, + "shipTo": { + "firstName": "Maria", + "lastName": "Dela Cruz", + "address1": "45 Ortigas Center", + "administrativeArea": "NCR", + "buildingNumber": 45, + "country": "PH", + "locality": "Pasig City", + "postalCode": "1605" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example14": { "summary": "Generate Unified Checkout Capture Context (iDEAL (NL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153499,10 +158386,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example13": { + "example15": { "summary": "Generate Unified Checkout Capture Context (Multibanco (PT))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153571,10 +158458,83 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example14": { + "example16": { + "summary": "Generate Unified Checkout Capture Context (MyBank (IT))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "MYBBT" + ], + "country": "IT", + "locale": "it-IT", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "IT", + "ES", + "BE", + "PT" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "mario.rossi@example.com", + "firstName": "Mario", + "lastName": "Rossi", + "address1": "Via Dante Alighieri 15", + "administrativeArea": "MI", + "buildingNumber": 15, + "country": "IT", + "locality": "Milano", + "postalCode": "20121" + }, + "shipTo": { + "firstName": "Lucia", + "lastName": "Rossi", + "address1": "Corso Vittorio Emanuele II 8", + "administrativeArea": "RM", + "buildingNumber": 8, + "country": "IT", + "locality": "Roma", + "postalCode": "00186" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example17": { "summary": "Generate Unified Checkout Capture Context (Przelewy24|P24 (PL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153643,10 +158603,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example15": { + "example18": { "summary": "Generate Unified Checkout Capture Context (Tink Pay By Bank (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153712,6 +158672,78 @@ } }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example19": { + "summary": "Generate Unified Checkout Capture Context (Konbini (JP))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "KONBINI" + ], + "country": "JP", + "locale": "ja-JP", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "JP", + "US" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "JPY" + }, + "billTo": { + "email": "taro.suzuki@example.jp", + "firstName": "Taro", + "lastName": "Suzuki", + "address1": "1-9-1 Marunouchi", + "administrativeArea": "Tokyo", + "buildingNumber": 1, + "country": "JP", + "locality": "Chiyoda-ku", + "postalCode": "100-0005", + "phoneNumber": "0312345678" + }, + "shipTo": { + "firstName": "Hanako", + "lastName": "Suzuki", + "address1": "3-1-1 Umeda", + "administrativeArea": "Osaka", + "buildingNumber": 3, + "country": "JP", + "locality": "Kita-ku", + "postalCode": "530-0001" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Post-Pay Reference)" } }, "responses": { @@ -155215,7 +160247,7 @@ "authorizationType": [ "Json Web Token" ], - "overrideMerchantCredential": "echecktestdevcenter001", + "overrideMerchantCredential": "apiref_chase", "SDK_ONLY_AddDisclaimer": true }, "consumes": [ diff --git a/setup.py b/setup.py index 67b3203b..2abf3e40 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "cybersource-rest-client-python" -VERSION = "0.0.71" +VERSION = "0.0.72" # To install the library, run the following # # python setup.py install diff --git a/test/test_tmsv2customers_embedded_default_shipping_address_links_self.py b/test/test_get_all_subscriptions_response_client_reference_information.py similarity index 55% rename from test/test_tmsv2customers_embedded_default_shipping_address_links_self.py rename to test/test_get_all_subscriptions_response_client_reference_information.py index 47895f67..5bd33b1f 100644 --- a/test/test_tmsv2customers_embedded_default_shipping_address_links_self.py +++ b/test/test_get_all_subscriptions_response_client_reference_information.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_shipping_address_links_self import Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf +from CyberSource.models.get_all_subscriptions_response_client_reference_information import GetAllSubscriptionsResponseClientReferenceInformation -class TestTmsv2customersEmbeddedDefaultShippingAddressLinksSelf(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf unit test stubs """ +class TestGetAllSubscriptionsResponseClientReferenceInformation(unittest.TestCase): + """ GetAllSubscriptionsResponseClientReferenceInformation unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersEmbeddedDefaultShippingAddressLinksSelf(self): + def testGetAllSubscriptionsResponseClientReferenceInformation(self): """ - Test Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf + Test GetAllSubscriptionsResponseClientReferenceInformation """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_shipping_address_links_self.Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf() + #model = CyberSource.models.get_all_subscriptions_response_client_reference_information.GetAllSubscriptionsResponseClientReferenceInformation() pass diff --git a/test/test_inline_response20012_records.py b/test/test_inline_response20010_devices.py similarity index 64% rename from test/test_inline_response20012_records.py rename to test/test_inline_response20010_devices.py index 3bde0968..0d4420d1 100644 --- a/test/test_inline_response20012_records.py +++ b/test/test_inline_response20010_devices.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20012_records import InlineResponse20012Records +from CyberSource.models.inline_response20010_devices import InlineResponse20010Devices -class TestInlineResponse20012Records(unittest.TestCase): - """ InlineResponse20012Records unit test stubs """ +class TestInlineResponse20010Devices(unittest.TestCase): + """ InlineResponse20010Devices unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20012Records(self): + def testInlineResponse20010Devices(self): """ - Test InlineResponse20012Records + Test InlineResponse20010Devices """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20012_records.InlineResponse20012Records() + #model = CyberSource.models.inline_response20010_devices.InlineResponse20010Devices() pass diff --git a/test/test_inline_response20010_payment_processor_to_terminal_map.py b/test/test_inline_response20010_payment_processor_to_terminal_map.py new file mode 100644 index 00000000..fdb7a5ff --- /dev/null +++ b/test/test_inline_response20010_payment_processor_to_terminal_map.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.inline_response20010_payment_processor_to_terminal_map import InlineResponse20010PaymentProcessorToTerminalMap + + +class TestInlineResponse20010PaymentProcessorToTerminalMap(unittest.TestCase): + """ InlineResponse20010PaymentProcessorToTerminalMap unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testInlineResponse20010PaymentProcessorToTerminalMap(self): + """ + Test InlineResponse20010PaymentProcessorToTerminalMap + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.inline_response20010_payment_processor_to_terminal_map.InlineResponse20010PaymentProcessorToTerminalMap() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response20010_embedded.py b/test/test_inline_response20011_embedded.py similarity index 63% rename from test/test_inline_response20010_embedded.py rename to test/test_inline_response20011_embedded.py index 26f76a20..16bafb38 100644 --- a/test/test_inline_response20010_embedded.py +++ b/test/test_inline_response20011_embedded.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20010_embedded import InlineResponse20010Embedded +from CyberSource.models.inline_response20011_embedded import InlineResponse20011Embedded -class TestInlineResponse20010Embedded(unittest.TestCase): - """ InlineResponse20010Embedded unit test stubs """ +class TestInlineResponse20011Embedded(unittest.TestCase): + """ InlineResponse20011Embedded unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20010Embedded(self): + def testInlineResponse20011Embedded(self): """ - Test InlineResponse20010Embedded + Test InlineResponse20011Embedded """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20010_embedded.InlineResponse20010Embedded() + #model = CyberSource.models.inline_response20011_embedded.InlineResponse20011Embedded() pass diff --git a/test/test_inline_response2001_embedded_reversal.py b/test/test_inline_response20011_embedded_batches.py similarity index 60% rename from test/test_inline_response2001_embedded_reversal.py rename to test/test_inline_response20011_embedded_batches.py index 1702ac71..32a99bfa 100644 --- a/test/test_inline_response2001_embedded_reversal.py +++ b/test/test_inline_response20011_embedded_batches.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2001_embedded_reversal import InlineResponse2001EmbeddedReversal +from CyberSource.models.inline_response20011_embedded_batches import InlineResponse20011EmbeddedBatches -class TestInlineResponse2001EmbeddedReversal(unittest.TestCase): - """ InlineResponse2001EmbeddedReversal unit test stubs """ +class TestInlineResponse20011EmbeddedBatches(unittest.TestCase): + """ InlineResponse20011EmbeddedBatches unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2001EmbeddedReversal(self): + def testInlineResponse20011EmbeddedBatches(self): """ - Test InlineResponse2001EmbeddedReversal + Test InlineResponse20011EmbeddedBatches """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2001_embedded_reversal.InlineResponse2001EmbeddedReversal() + #model = CyberSource.models.inline_response20011_embedded_batches.InlineResponse20011EmbeddedBatches() pass diff --git a/test/test_inline_response20010_embedded_links.py b/test/test_inline_response20011_embedded_links.py similarity index 61% rename from test/test_inline_response20010_embedded_links.py rename to test/test_inline_response20011_embedded_links.py index e69bb50d..de8980fc 100644 --- a/test/test_inline_response20010_embedded_links.py +++ b/test/test_inline_response20011_embedded_links.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20010_embedded_links import InlineResponse20010EmbeddedLinks +from CyberSource.models.inline_response20011_embedded_links import InlineResponse20011EmbeddedLinks -class TestInlineResponse20010EmbeddedLinks(unittest.TestCase): - """ InlineResponse20010EmbeddedLinks unit test stubs """ +class TestInlineResponse20011EmbeddedLinks(unittest.TestCase): + """ InlineResponse20011EmbeddedLinks unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20010EmbeddedLinks(self): + def testInlineResponse20011EmbeddedLinks(self): """ - Test InlineResponse20010EmbeddedLinks + Test InlineResponse20011EmbeddedLinks """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20010_embedded_links.InlineResponse20010EmbeddedLinks() + #model = CyberSource.models.inline_response20011_embedded_links.InlineResponse20011EmbeddedLinks() pass diff --git a/test/test_inline_response2001_embedded_reversal_links.py b/test/test_inline_response20011_embedded_links_reports.py similarity index 59% rename from test/test_inline_response2001_embedded_reversal_links.py rename to test/test_inline_response20011_embedded_links_reports.py index 60df2e90..bd868d38 100644 --- a/test/test_inline_response2001_embedded_reversal_links.py +++ b/test/test_inline_response20011_embedded_links_reports.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2001_embedded_reversal_links import InlineResponse2001EmbeddedReversalLinks +from CyberSource.models.inline_response20011_embedded_links_reports import InlineResponse20011EmbeddedLinksReports -class TestInlineResponse2001EmbeddedReversalLinks(unittest.TestCase): - """ InlineResponse2001EmbeddedReversalLinks unit test stubs """ +class TestInlineResponse20011EmbeddedLinksReports(unittest.TestCase): + """ InlineResponse20011EmbeddedLinksReports unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2001EmbeddedReversalLinks(self): + def testInlineResponse20011EmbeddedLinksReports(self): """ - Test InlineResponse2001EmbeddedReversalLinks + Test InlineResponse20011EmbeddedLinksReports """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2001_embedded_reversal_links.InlineResponse2001EmbeddedReversalLinks() + #model = CyberSource.models.inline_response20011_embedded_links_reports.InlineResponse20011EmbeddedLinksReports() pass diff --git a/test/test_inline_response20010_embedded_totals.py b/test/test_inline_response20011_embedded_totals.py similarity index 60% rename from test/test_inline_response20010_embedded_totals.py rename to test/test_inline_response20011_embedded_totals.py index b01eba78..b8ea2fb8 100644 --- a/test/test_inline_response20010_embedded_totals.py +++ b/test/test_inline_response20011_embedded_totals.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20010_embedded_totals import InlineResponse20010EmbeddedTotals +from CyberSource.models.inline_response20011_embedded_totals import InlineResponse20011EmbeddedTotals -class TestInlineResponse20010EmbeddedTotals(unittest.TestCase): - """ InlineResponse20010EmbeddedTotals unit test stubs """ +class TestInlineResponse20011EmbeddedTotals(unittest.TestCase): + """ InlineResponse20011EmbeddedTotals unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20010EmbeddedTotals(self): + def testInlineResponse20011EmbeddedTotals(self): """ - Test InlineResponse20010EmbeddedTotals + Test InlineResponse20011EmbeddedTotals """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20010_embedded_totals.InlineResponse20010EmbeddedTotals() + #model = CyberSource.models.inline_response20011_embedded_totals.InlineResponse20011EmbeddedTotals() pass diff --git a/test/test_inline_response20011_billing.py b/test/test_inline_response20012_billing.py similarity index 64% rename from test/test_inline_response20011_billing.py rename to test/test_inline_response20012_billing.py index a53a0e9d..1907f5ba 100644 --- a/test/test_inline_response20011_billing.py +++ b/test/test_inline_response20012_billing.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20011_billing import InlineResponse20011Billing +from CyberSource.models.inline_response20012_billing import InlineResponse20012Billing -class TestInlineResponse20011Billing(unittest.TestCase): - """ InlineResponse20011Billing unit test stubs """ +class TestInlineResponse20012Billing(unittest.TestCase): + """ InlineResponse20012Billing unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20011Billing(self): + def testInlineResponse20012Billing(self): """ - Test InlineResponse20011Billing + Test InlineResponse20012Billing """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20011_billing.InlineResponse20011Billing() + #model = CyberSource.models.inline_response20012_billing.InlineResponse20012Billing() pass diff --git a/test/test_inline_response20010_links.py b/test/test_inline_response20012_links.py similarity index 65% rename from test/test_inline_response20010_links.py rename to test/test_inline_response20012_links.py index 9c7f802c..f3edc382 100644 --- a/test/test_inline_response20010_links.py +++ b/test/test_inline_response20012_links.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20010_links import InlineResponse20010Links +from CyberSource.models.inline_response20012_links import InlineResponse20012Links -class TestInlineResponse20010Links(unittest.TestCase): - """ InlineResponse20010Links unit test stubs """ +class TestInlineResponse20012Links(unittest.TestCase): + """ InlineResponse20012Links unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20010Links(self): + def testInlineResponse20012Links(self): """ - Test InlineResponse20010Links + Test InlineResponse20012Links """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20010_links.InlineResponse20010Links() + #model = CyberSource.models.inline_response20012_links.InlineResponse20012Links() pass diff --git a/test/test_inline_response20011_links_report.py b/test/test_inline_response20012_links_report.py similarity index 62% rename from test/test_inline_response20011_links_report.py rename to test/test_inline_response20012_links_report.py index 59186edd..8a58b5f9 100644 --- a/test/test_inline_response20011_links_report.py +++ b/test/test_inline_response20012_links_report.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20011_links_report import InlineResponse20011LinksReport +from CyberSource.models.inline_response20012_links_report import InlineResponse20012LinksReport -class TestInlineResponse20011LinksReport(unittest.TestCase): - """ InlineResponse20011LinksReport unit test stubs """ +class TestInlineResponse20012LinksReport(unittest.TestCase): + """ InlineResponse20012LinksReport unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20011LinksReport(self): + def testInlineResponse20012LinksReport(self): """ - Test InlineResponse20011LinksReport + Test InlineResponse20012LinksReport """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20011_links_report.InlineResponse20011LinksReport() + #model = CyberSource.models.inline_response20012_links_report.InlineResponse20012LinksReport() pass diff --git a/test/test_inline_response20012_response_record.py b/test/test_inline_response20012_response_record.py deleted file mode 100644 index 6a5a8df4..00000000 --- a/test/test_inline_response20012_response_record.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.inline_response20012_response_record import InlineResponse20012ResponseRecord - - -class TestInlineResponse20012ResponseRecord(unittest.TestCase): - """ InlineResponse20012ResponseRecord unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse20012ResponseRecord(self): - """ - Test InlineResponse20012ResponseRecord - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20012_response_record.InlineResponse20012ResponseRecord() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response20012_source_record.py b/test/test_inline_response20012_source_record.py deleted file mode 100644 index 2b04fad6..00000000 --- a/test/test_inline_response20012_source_record.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.inline_response20012_source_record import InlineResponse20012SourceRecord - - -class TestInlineResponse20012SourceRecord(unittest.TestCase): - """ InlineResponse20012SourceRecord unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse20012SourceRecord(self): - """ - Test InlineResponse20012SourceRecord - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20012_source_record.InlineResponse20012SourceRecord() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2001_embedded.py b/test/test_inline_response20013_records.py similarity index 64% rename from test/test_inline_response2001_embedded.py rename to test/test_inline_response20013_records.py index e0af95ab..95a9f0a1 100644 --- a/test/test_inline_response2001_embedded.py +++ b/test/test_inline_response20013_records.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2001_embedded import InlineResponse2001Embedded +from CyberSource.models.inline_response20013_records import InlineResponse20013Records -class TestInlineResponse2001Embedded(unittest.TestCase): - """ InlineResponse2001Embedded unit test stubs """ +class TestInlineResponse20013Records(unittest.TestCase): + """ InlineResponse20013Records unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2001Embedded(self): + def testInlineResponse20013Records(self): """ - Test InlineResponse2001Embedded + Test InlineResponse20013Records """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2001_embedded.InlineResponse2001Embedded() + #model = CyberSource.models.inline_response20013_records.InlineResponse20013Records() pass diff --git a/test/test_inline_response20013_response_record.py b/test/test_inline_response20013_response_record.py new file mode 100644 index 00000000..e4720b29 --- /dev/null +++ b/test/test_inline_response20013_response_record.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.inline_response20013_response_record import InlineResponse20013ResponseRecord + + +class TestInlineResponse20013ResponseRecord(unittest.TestCase): + """ InlineResponse20013ResponseRecord unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testInlineResponse20013ResponseRecord(self): + """ + Test InlineResponse20013ResponseRecord + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.inline_response20013_response_record.InlineResponse20013ResponseRecord() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response20012_response_record_additional_updates.py b/test/test_inline_response20013_response_record_additional_updates.py similarity index 59% rename from test/test_inline_response20012_response_record_additional_updates.py rename to test/test_inline_response20013_response_record_additional_updates.py index bb9cb5c9..83ac2a20 100644 --- a/test/test_inline_response20012_response_record_additional_updates.py +++ b/test/test_inline_response20013_response_record_additional_updates.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20012_response_record_additional_updates import InlineResponse20012ResponseRecordAdditionalUpdates +from CyberSource.models.inline_response20013_response_record_additional_updates import InlineResponse20013ResponseRecordAdditionalUpdates -class TestInlineResponse20012ResponseRecordAdditionalUpdates(unittest.TestCase): - """ InlineResponse20012ResponseRecordAdditionalUpdates unit test stubs """ +class TestInlineResponse20013ResponseRecordAdditionalUpdates(unittest.TestCase): + """ InlineResponse20013ResponseRecordAdditionalUpdates unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20012ResponseRecordAdditionalUpdates(self): + def testInlineResponse20013ResponseRecordAdditionalUpdates(self): """ - Test InlineResponse20012ResponseRecordAdditionalUpdates + Test InlineResponse20013ResponseRecordAdditionalUpdates """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20012_response_record_additional_updates.InlineResponse20012ResponseRecordAdditionalUpdates() + #model = CyberSource.models.inline_response20013_response_record_additional_updates.InlineResponse20013ResponseRecordAdditionalUpdates() pass diff --git a/test/test_inline_response20013_source_record.py b/test/test_inline_response20013_source_record.py new file mode 100644 index 00000000..276bddc3 --- /dev/null +++ b/test/test_inline_response20013_source_record.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.inline_response20013_source_record import InlineResponse20013SourceRecord + + +class TestInlineResponse20013SourceRecord(unittest.TestCase): + """ InlineResponse20013SourceRecord unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testInlineResponse20013SourceRecord(self): + """ + Test InlineResponse20013SourceRecord + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.inline_response20013_source_record.InlineResponse20013SourceRecord() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2customers_links.py b/test/test_inline_response20015.py similarity index 67% rename from test/test_tmsv2customers_links.py rename to test/test_inline_response20015.py index b20e2b24..3073beb2 100644 --- a/test/test_tmsv2customers_links.py +++ b/test/test_inline_response20015.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_links import Tmsv2customersLinks +from CyberSource.models.inline_response20015 import InlineResponse20015 -class TestTmsv2customersLinks(unittest.TestCase): - """ Tmsv2customersLinks unit test stubs """ +class TestInlineResponse20015(unittest.TestCase): + """ InlineResponse20015 unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersLinks(self): + def testInlineResponse20015(self): """ - Test Tmsv2customersLinks + Test InlineResponse20015 """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_links.Tmsv2customersLinks() + #model = CyberSource.models.inline_response20015.InlineResponse20015() pass diff --git a/test/test_inline_response20014_client_reference_information.py b/test/test_inline_response20015_client_reference_information.py similarity index 58% rename from test/test_inline_response20014_client_reference_information.py rename to test/test_inline_response20015_client_reference_information.py index eb564397..da48050e 100644 --- a/test/test_inline_response20014_client_reference_information.py +++ b/test/test_inline_response20015_client_reference_information.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20014_client_reference_information import InlineResponse20014ClientReferenceInformation +from CyberSource.models.inline_response20015_client_reference_information import InlineResponse20015ClientReferenceInformation -class TestInlineResponse20014ClientReferenceInformation(unittest.TestCase): - """ InlineResponse20014ClientReferenceInformation unit test stubs """ +class TestInlineResponse20015ClientReferenceInformation(unittest.TestCase): + """ InlineResponse20015ClientReferenceInformation unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20014ClientReferenceInformation(self): + def testInlineResponse20015ClientReferenceInformation(self): """ - Test InlineResponse20014ClientReferenceInformation + Test InlineResponse20015ClientReferenceInformation """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20014_client_reference_information.InlineResponse20014ClientReferenceInformation() + #model = CyberSource.models.inline_response20015_client_reference_information.InlineResponse20015ClientReferenceInformation() pass diff --git a/test/test_inline_response2007_devices.py b/test/test_inline_response2001_content.py similarity index 64% rename from test/test_inline_response2007_devices.py rename to test/test_inline_response2001_content.py index a697c058..ba394ccf 100644 --- a/test/test_inline_response2007_devices.py +++ b/test/test_inline_response2001_content.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2007_devices import InlineResponse2007Devices +from CyberSource.models.inline_response2001_content import InlineResponse2001Content -class TestInlineResponse2007Devices(unittest.TestCase): - """ InlineResponse2007Devices unit test stubs """ +class TestInlineResponse2001Content(unittest.TestCase): + """ InlineResponse2001Content unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2007Devices(self): + def testInlineResponse2001Content(self): """ - Test InlineResponse2007Devices + Test InlineResponse2001Content """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2007_devices.InlineResponse2007Devices() + #model = CyberSource.models.inline_response2001_content.InlineResponse2001Content() pass diff --git a/test/test_inline_response2001_embedded_capture.py b/test/test_inline_response2001_embedded_capture.py deleted file mode 100644 index cd5b23cd..00000000 --- a/test/test_inline_response2001_embedded_capture.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.inline_response2001_embedded_capture import InlineResponse2001EmbeddedCapture - - -class TestInlineResponse2001EmbeddedCapture(unittest.TestCase): - """ InlineResponse2001EmbeddedCapture unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2001EmbeddedCapture(self): - """ - Test InlineResponse2001EmbeddedCapture - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2001_embedded_capture.InlineResponse2001EmbeddedCapture() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2002_embedded.py b/test/test_inline_response2002_embedded.py new file mode 100644 index 00000000..9d7fc4c8 --- /dev/null +++ b/test/test_inline_response2002_embedded.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.inline_response2002_embedded import InlineResponse2002Embedded + + +class TestInlineResponse2002Embedded(unittest.TestCase): + """ InlineResponse2002Embedded unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testInlineResponse2002Embedded(self): + """ + Test InlineResponse2002Embedded + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.inline_response2002_embedded.InlineResponse2002Embedded() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2002_embedded_capture.py b/test/test_inline_response2002_embedded_capture.py new file mode 100644 index 00000000..7580053d --- /dev/null +++ b/test/test_inline_response2002_embedded_capture.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.inline_response2002_embedded_capture import InlineResponse2002EmbeddedCapture + + +class TestInlineResponse2002EmbeddedCapture(unittest.TestCase): + """ InlineResponse2002EmbeddedCapture unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testInlineResponse2002EmbeddedCapture(self): + """ + Test InlineResponse2002EmbeddedCapture + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.inline_response2002_embedded_capture.InlineResponse2002EmbeddedCapture() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2001_embedded_capture_links.py b/test/test_inline_response2002_embedded_capture_links.py similarity index 59% rename from test/test_inline_response2001_embedded_capture_links.py rename to test/test_inline_response2002_embedded_capture_links.py index dbb333fa..b0884715 100644 --- a/test/test_inline_response2001_embedded_capture_links.py +++ b/test/test_inline_response2002_embedded_capture_links.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2001_embedded_capture_links import InlineResponse2001EmbeddedCaptureLinks +from CyberSource.models.inline_response2002_embedded_capture_links import InlineResponse2002EmbeddedCaptureLinks -class TestInlineResponse2001EmbeddedCaptureLinks(unittest.TestCase): - """ InlineResponse2001EmbeddedCaptureLinks unit test stubs """ +class TestInlineResponse2002EmbeddedCaptureLinks(unittest.TestCase): + """ InlineResponse2002EmbeddedCaptureLinks unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2001EmbeddedCaptureLinks(self): + def testInlineResponse2002EmbeddedCaptureLinks(self): """ - Test InlineResponse2001EmbeddedCaptureLinks + Test InlineResponse2002EmbeddedCaptureLinks """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2001_embedded_capture_links.InlineResponse2001EmbeddedCaptureLinks() + #model = CyberSource.models.inline_response2002_embedded_capture_links.InlineResponse2002EmbeddedCaptureLinks() pass diff --git a/test/test_inline_response2001_embedded_capture_links_self.py b/test/test_inline_response2002_embedded_capture_links_self.py similarity index 58% rename from test/test_inline_response2001_embedded_capture_links_self.py rename to test/test_inline_response2002_embedded_capture_links_self.py index 82124f7c..8bb0d64c 100644 --- a/test/test_inline_response2001_embedded_capture_links_self.py +++ b/test/test_inline_response2002_embedded_capture_links_self.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2001_embedded_capture_links_self import InlineResponse2001EmbeddedCaptureLinksSelf +from CyberSource.models.inline_response2002_embedded_capture_links_self import InlineResponse2002EmbeddedCaptureLinksSelf -class TestInlineResponse2001EmbeddedCaptureLinksSelf(unittest.TestCase): - """ InlineResponse2001EmbeddedCaptureLinksSelf unit test stubs """ +class TestInlineResponse2002EmbeddedCaptureLinksSelf(unittest.TestCase): + """ InlineResponse2002EmbeddedCaptureLinksSelf unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2001EmbeddedCaptureLinksSelf(self): + def testInlineResponse2002EmbeddedCaptureLinksSelf(self): """ - Test InlineResponse2001EmbeddedCaptureLinksSelf + Test InlineResponse2002EmbeddedCaptureLinksSelf """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2001_embedded_capture_links_self.InlineResponse2001EmbeddedCaptureLinksSelf() + #model = CyberSource.models.inline_response2002_embedded_capture_links_self.InlineResponse2002EmbeddedCaptureLinksSelf() pass diff --git a/test/test_tmsv2customers_links_shipping_address.py b/test/test_inline_response2002_embedded_reversal.py similarity index 60% rename from test/test_tmsv2customers_links_shipping_address.py rename to test/test_inline_response2002_embedded_reversal.py index 7183f6a3..8bfe790d 100644 --- a/test/test_tmsv2customers_links_shipping_address.py +++ b/test/test_inline_response2002_embedded_reversal.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_links_shipping_address import Tmsv2customersLinksShippingAddress +from CyberSource.models.inline_response2002_embedded_reversal import InlineResponse2002EmbeddedReversal -class TestTmsv2customersLinksShippingAddress(unittest.TestCase): - """ Tmsv2customersLinksShippingAddress unit test stubs """ +class TestInlineResponse2002EmbeddedReversal(unittest.TestCase): + """ InlineResponse2002EmbeddedReversal unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersLinksShippingAddress(self): + def testInlineResponse2002EmbeddedReversal(self): """ - Test Tmsv2customersLinksShippingAddress + Test InlineResponse2002EmbeddedReversal """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_links_shipping_address.Tmsv2customersLinksShippingAddress() + #model = CyberSource.models.inline_response2002_embedded_reversal.InlineResponse2002EmbeddedReversal() pass diff --git a/test/test_inline_response20010_embedded_links_reports.py b/test/test_inline_response2002_embedded_reversal_links.py similarity index 59% rename from test/test_inline_response20010_embedded_links_reports.py rename to test/test_inline_response2002_embedded_reversal_links.py index 87a49829..97655475 100644 --- a/test/test_inline_response20010_embedded_links_reports.py +++ b/test/test_inline_response2002_embedded_reversal_links.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20010_embedded_links_reports import InlineResponse20010EmbeddedLinksReports +from CyberSource.models.inline_response2002_embedded_reversal_links import InlineResponse2002EmbeddedReversalLinks -class TestInlineResponse20010EmbeddedLinksReports(unittest.TestCase): - """ InlineResponse20010EmbeddedLinksReports unit test stubs """ +class TestInlineResponse2002EmbeddedReversalLinks(unittest.TestCase): + """ InlineResponse2002EmbeddedReversalLinks unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20010EmbeddedLinksReports(self): + def testInlineResponse2002EmbeddedReversalLinks(self): """ - Test InlineResponse20010EmbeddedLinksReports + Test InlineResponse2002EmbeddedReversalLinks """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20010_embedded_links_reports.InlineResponse20010EmbeddedLinksReports() + #model = CyberSource.models.inline_response2002_embedded_reversal_links.InlineResponse2002EmbeddedReversalLinks() pass diff --git a/test/test_inline_response2001_embedded_reversal_links_self.py b/test/test_inline_response2002_embedded_reversal_links_self.py similarity index 58% rename from test/test_inline_response2001_embedded_reversal_links_self.py rename to test/test_inline_response2002_embedded_reversal_links_self.py index 98433691..b26c47df 100644 --- a/test/test_inline_response2001_embedded_reversal_links_self.py +++ b/test/test_inline_response2002_embedded_reversal_links_self.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2001_embedded_reversal_links_self import InlineResponse2001EmbeddedReversalLinksSelf +from CyberSource.models.inline_response2002_embedded_reversal_links_self import InlineResponse2002EmbeddedReversalLinksSelf -class TestInlineResponse2001EmbeddedReversalLinksSelf(unittest.TestCase): - """ InlineResponse2001EmbeddedReversalLinksSelf unit test stubs """ +class TestInlineResponse2002EmbeddedReversalLinksSelf(unittest.TestCase): + """ InlineResponse2002EmbeddedReversalLinksSelf unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2001EmbeddedReversalLinksSelf(self): + def testInlineResponse2002EmbeddedReversalLinksSelf(self): """ - Test InlineResponse2001EmbeddedReversalLinksSelf + Test InlineResponse2002EmbeddedReversalLinksSelf """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2001_embedded_reversal_links_self.InlineResponse2001EmbeddedReversalLinksSelf() + #model = CyberSource.models.inline_response2002_embedded_reversal_links_self.InlineResponse2002EmbeddedReversalLinksSelf() pass diff --git a/test/test_inline_response2003_integration_information.py b/test/test_inline_response2004_integration_information.py similarity index 58% rename from test/test_inline_response2003_integration_information.py rename to test/test_inline_response2004_integration_information.py index 42b3782c..a9b1201a 100644 --- a/test/test_inline_response2003_integration_information.py +++ b/test/test_inline_response2004_integration_information.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2003_integration_information import InlineResponse2003IntegrationInformation +from CyberSource.models.inline_response2004_integration_information import InlineResponse2004IntegrationInformation -class TestInlineResponse2003IntegrationInformation(unittest.TestCase): - """ InlineResponse2003IntegrationInformation unit test stubs """ +class TestInlineResponse2004IntegrationInformation(unittest.TestCase): + """ InlineResponse2004IntegrationInformation unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2003IntegrationInformation(self): + def testInlineResponse2004IntegrationInformation(self): """ - Test InlineResponse2003IntegrationInformation + Test InlineResponse2004IntegrationInformation """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2003_integration_information.InlineResponse2003IntegrationInformation() + #model = CyberSource.models.inline_response2004_integration_information.InlineResponse2004IntegrationInformation() pass diff --git a/test/test_inline_response2003_integration_information_tenant_configurations.py b/test/test_inline_response2004_integration_information_tenant_configurations.py similarity index 61% rename from test/test_inline_response2003_integration_information_tenant_configurations.py rename to test/test_inline_response2004_integration_information_tenant_configurations.py index 621a41ec..d1c3eef6 100644 --- a/test/test_inline_response2003_integration_information_tenant_configurations.py +++ b/test/test_inline_response2004_integration_information_tenant_configurations.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2003_integration_information_tenant_configurations import InlineResponse2003IntegrationInformationTenantConfigurations +from CyberSource.models.inline_response2004_integration_information_tenant_configurations import InlineResponse2004IntegrationInformationTenantConfigurations -class TestInlineResponse2003IntegrationInformationTenantConfigurations(unittest.TestCase): - """ InlineResponse2003IntegrationInformationTenantConfigurations unit test stubs """ +class TestInlineResponse2004IntegrationInformationTenantConfigurations(unittest.TestCase): + """ InlineResponse2004IntegrationInformationTenantConfigurations unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2003IntegrationInformationTenantConfigurations(self): + def testInlineResponse2004IntegrationInformationTenantConfigurations(self): """ - Test InlineResponse2003IntegrationInformationTenantConfigurations + Test InlineResponse2004IntegrationInformationTenantConfigurations """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2003_integration_information_tenant_configurations.InlineResponse2003IntegrationInformationTenantConfigurations() + #model = CyberSource.models.inline_response2004_integration_information_tenant_configurations.InlineResponse2004IntegrationInformationTenantConfigurations() pass diff --git a/test/test_inline_response2009_devices.py b/test/test_inline_response2008_devices.py similarity index 64% rename from test/test_inline_response2009_devices.py rename to test/test_inline_response2008_devices.py index 78ce6c31..0a2ccd74 100644 --- a/test/test_inline_response2009_devices.py +++ b/test/test_inline_response2008_devices.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response2009_devices import InlineResponse2009Devices +from CyberSource.models.inline_response2008_devices import InlineResponse2008Devices -class TestInlineResponse2009Devices(unittest.TestCase): - """ InlineResponse2009Devices unit test stubs """ +class TestInlineResponse2008Devices(unittest.TestCase): + """ InlineResponse2008Devices unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse2009Devices(self): + def testInlineResponse2008Devices(self): """ - Test InlineResponse2009Devices + Test InlineResponse2008Devices """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2009_devices.InlineResponse2009Devices() + #model = CyberSource.models.inline_response2008_devices.InlineResponse2008Devices() pass diff --git a/test/test_inline_response2009_payment_processor_to_terminal_map.py b/test/test_inline_response2009_payment_processor_to_terminal_map.py deleted file mode 100644 index ec9daea9..00000000 --- a/test/test_inline_response2009_payment_processor_to_terminal_map.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.inline_response2009_payment_processor_to_terminal_map import InlineResponse2009PaymentProcessorToTerminalMap - - -class TestInlineResponse2009PaymentProcessorToTerminalMap(unittest.TestCase): - """ InlineResponse2009PaymentProcessorToTerminalMap unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2009PaymentProcessorToTerminalMap(self): - """ - Test InlineResponse2009PaymentProcessorToTerminalMap - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response2009_payment_processor_to_terminal_map.InlineResponse2009PaymentProcessorToTerminalMap() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response200_content.py b/test/test_inline_response200_details.py similarity index 65% rename from test/test_inline_response200_content.py rename to test/test_inline_response200_details.py index ccf5cd8b..64b04978 100644 --- a/test/test_inline_response200_content.py +++ b/test/test_inline_response200_details.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response200_content import InlineResponse200Content +from CyberSource.models.inline_response200_details import InlineResponse200Details -class TestInlineResponse200Content(unittest.TestCase): - """ InlineResponse200Content unit test stubs """ +class TestInlineResponse200Details(unittest.TestCase): + """ InlineResponse200Details unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse200Content(self): + def testInlineResponse200Details(self): """ - Test InlineResponse200Content + Test InlineResponse200Details """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response200_content.InlineResponse200Content() + #model = CyberSource.models.inline_response200_details.InlineResponse200Details() pass diff --git a/test/test_tmsv2customers_links_self.py b/test/test_inline_response200_errors.py similarity index 65% rename from test/test_tmsv2customers_links_self.py rename to test/test_inline_response200_errors.py index 7c69c91c..9991d314 100644 --- a/test/test_tmsv2customers_links_self.py +++ b/test/test_inline_response200_errors.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_links_self import Tmsv2customersLinksSelf +from CyberSource.models.inline_response200_errors import InlineResponse200Errors -class TestTmsv2customersLinksSelf(unittest.TestCase): - """ Tmsv2customersLinksSelf unit test stubs """ +class TestInlineResponse200Errors(unittest.TestCase): + """ InlineResponse200Errors unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersLinksSelf(self): + def testInlineResponse200Errors(self): """ - Test Tmsv2customersLinksSelf + Test InlineResponse200Errors """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_links_self.Tmsv2customersLinksSelf() + #model = CyberSource.models.inline_response200_errors.InlineResponse200Errors() pass diff --git a/test/test_inline_response200_responses.py b/test/test_inline_response200_responses.py new file mode 100644 index 00000000..d34061ce --- /dev/null +++ b/test/test_inline_response200_responses.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.inline_response200_responses import InlineResponse200Responses + + +class TestInlineResponse200Responses(unittest.TestCase): + """ InlineResponse200Responses unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testInlineResponse200Responses(self): + """ + Test InlineResponse200Responses + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.inline_response200_responses.InlineResponse200Responses() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_rbsv1plans_client_reference_information.py b/test/test_post_issuer_life_cycle_simulation_request.py similarity index 59% rename from test/test_rbsv1plans_client_reference_information.py rename to test/test_post_issuer_life_cycle_simulation_request.py index 1b8d33de..edd9c560 100644 --- a/test/test_rbsv1plans_client_reference_information.py +++ b/test/test_post_issuer_life_cycle_simulation_request.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.rbsv1plans_client_reference_information import Rbsv1plansClientReferenceInformation +from CyberSource.models.post_issuer_life_cycle_simulation_request import PostIssuerLifeCycleSimulationRequest -class TestRbsv1plansClientReferenceInformation(unittest.TestCase): - """ Rbsv1plansClientReferenceInformation unit test stubs """ +class TestPostIssuerLifeCycleSimulationRequest(unittest.TestCase): + """ PostIssuerLifeCycleSimulationRequest unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testRbsv1plansClientReferenceInformation(self): + def testPostIssuerLifeCycleSimulationRequest(self): """ - Test Rbsv1plansClientReferenceInformation + Test PostIssuerLifeCycleSimulationRequest """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.rbsv1plans_client_reference_information.Rbsv1plansClientReferenceInformation() + #model = CyberSource.models.post_issuer_life_cycle_simulation_request.PostIssuerLifeCycleSimulationRequest() pass diff --git a/test/test_tmsv2customers_embedded.py b/test/test_post_tokenize_request.py similarity index 66% rename from test/test_tmsv2customers_embedded.py rename to test/test_post_tokenize_request.py index 794d7832..8e731e94 100644 --- a/test/test_tmsv2customers_embedded.py +++ b/test/test_post_tokenize_request.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded import Tmsv2customersEmbedded +from CyberSource.models.post_tokenize_request import PostTokenizeRequest -class TestTmsv2customersEmbedded(unittest.TestCase): - """ Tmsv2customersEmbedded unit test stubs """ +class TestPostTokenizeRequest(unittest.TestCase): + """ PostTokenizeRequest unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersEmbedded(self): + def testPostTokenizeRequest(self): """ - Test Tmsv2customersEmbedded + Test PostTokenizeRequest """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded.Tmsv2customersEmbedded() + #model = CyberSource.models.post_tokenize_request.PostTokenizeRequest() pass diff --git a/test/test_rbsv1subscriptions_client_reference_information.py b/test/test_rbsv1subscriptions_client_reference_information.py deleted file mode 100644 index d7bd4b08..00000000 --- a/test/test_rbsv1subscriptions_client_reference_information.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.rbsv1subscriptions_client_reference_information import Rbsv1subscriptionsClientReferenceInformation - - -class TestRbsv1subscriptionsClientReferenceInformation(unittest.TestCase): - """ Rbsv1subscriptionsClientReferenceInformation unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRbsv1subscriptionsClientReferenceInformation(self): - """ - Test Rbsv1subscriptionsClientReferenceInformation - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.rbsv1subscriptions_client_reference_information.Rbsv1subscriptionsClientReferenceInformation() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_rbsv1subscriptions_client_reference_information_partner.py b/test/test_rbsv1subscriptions_client_reference_information_partner.py deleted file mode 100644 index 86bd60f6..00000000 --- a/test/test_rbsv1subscriptions_client_reference_information_partner.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.rbsv1subscriptions_client_reference_information_partner import Rbsv1subscriptionsClientReferenceInformationPartner - - -class TestRbsv1subscriptionsClientReferenceInformationPartner(unittest.TestCase): - """ Rbsv1subscriptionsClientReferenceInformationPartner unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRbsv1subscriptionsClientReferenceInformationPartner(self): - """ - Test Rbsv1subscriptionsClientReferenceInformationPartner - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.rbsv1subscriptions_client_reference_information_partner.Rbsv1subscriptionsClientReferenceInformationPartner() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_subscriptions_api.py b/test/test_subscriptions_api.py index 4a4ac34e..2f7c26d6 100644 --- a/test/test_subscriptions_api.py +++ b/test/test_subscriptions_api.py @@ -34,7 +34,7 @@ def test_activate_subscription(self): """ Test case for activate_subscription - Activate a Subscription + Reactivating a Suspended Subscription """ pass diff --git a/test/test_tmsv2customers_metadata.py b/test/test_tms_merchant_information.py similarity index 66% rename from test/test_tmsv2customers_metadata.py rename to test/test_tms_merchant_information.py index b3f98b0a..dbc80f7f 100644 --- a/test/test_tmsv2customers_metadata.py +++ b/test/test_tms_merchant_information.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_metadata import Tmsv2customersMetadata +from CyberSource.models.tms_merchant_information import TmsMerchantInformation -class TestTmsv2customersMetadata(unittest.TestCase): - """ Tmsv2customersMetadata unit test stubs """ +class TestTmsMerchantInformation(unittest.TestCase): + """ TmsMerchantInformation unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersMetadata(self): + def testTmsMerchantInformation(self): """ - Test Tmsv2customersMetadata + Test TmsMerchantInformation """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_metadata.Tmsv2customersMetadata() + #model = CyberSource.models.tms_merchant_information.TmsMerchantInformation() pass diff --git a/test/test_tmsv2customers_merchant_defined_information.py b/test/test_tms_merchant_information_merchant_descriptor.py similarity index 58% rename from test/test_tmsv2customers_merchant_defined_information.py rename to test/test_tms_merchant_information_merchant_descriptor.py index 139688cf..75fe9ad3 100644 --- a/test/test_tmsv2customers_merchant_defined_information.py +++ b/test/test_tms_merchant_information_merchant_descriptor.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_merchant_defined_information import Tmsv2customersMerchantDefinedInformation +from CyberSource.models.tms_merchant_information_merchant_descriptor import TmsMerchantInformationMerchantDescriptor -class TestTmsv2customersMerchantDefinedInformation(unittest.TestCase): - """ Tmsv2customersMerchantDefinedInformation unit test stubs """ +class TestTmsMerchantInformationMerchantDescriptor(unittest.TestCase): + """ TmsMerchantInformationMerchantDescriptor unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersMerchantDefinedInformation(self): + def testTmsMerchantInformationMerchantDescriptor(self): """ - Test Tmsv2customersMerchantDefinedInformation + Test TmsMerchantInformationMerchantDescriptor """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_merchant_defined_information.Tmsv2customersMerchantDefinedInformation() + #model = CyberSource.models.tms_merchant_information_merchant_descriptor.TmsMerchantInformationMerchantDescriptor() pass diff --git a/test/test_tmsv2customers_buyer_information.py b/test/test_tmsv2customers_buyer_information.py deleted file mode 100644 index 6d3cbdc9..00000000 --- a/test/test_tmsv2customers_buyer_information.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_buyer_information import Tmsv2customersBuyerInformation - - -class TestTmsv2customersBuyerInformation(unittest.TestCase): - """ Tmsv2customersBuyerInformation unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersBuyerInformation(self): - """ - Test Tmsv2customersBuyerInformation - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_buyer_information.Tmsv2customersBuyerInformation() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_default_payment_instrument.py b/test/test_tmsv2customers_default_payment_instrument.py deleted file mode 100644 index c1f0b814..00000000 --- a/test/test_tmsv2customers_default_payment_instrument.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_default_payment_instrument import Tmsv2customersDefaultPaymentInstrument - - -class TestTmsv2customersDefaultPaymentInstrument(unittest.TestCase): - """ Tmsv2customersDefaultPaymentInstrument unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersDefaultPaymentInstrument(self): - """ - Test Tmsv2customersDefaultPaymentInstrument - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_default_payment_instrument.Tmsv2customersDefaultPaymentInstrument() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_default_shipping_address.py b/test/test_tmsv2customers_default_shipping_address.py deleted file mode 100644 index 06d9f909..00000000 --- a/test/test_tmsv2customers_default_shipping_address.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_default_shipping_address import Tmsv2customersDefaultShippingAddress - - -class TestTmsv2customersDefaultShippingAddress(unittest.TestCase): - """ Tmsv2customersDefaultShippingAddress unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersDefaultShippingAddress(self): - """ - Test Tmsv2customersDefaultShippingAddress - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_default_shipping_address.Tmsv2customersDefaultShippingAddress() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_bank_account.py b/test/test_tmsv2customers_embedded_default_payment_instrument_bank_account.py deleted file mode 100644 index 0a83d5c1..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_bank_account.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_bank_account import Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_bank_account.Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_bill_to.py b/test/test_tmsv2customers_embedded_default_payment_instrument_bill_to.py deleted file mode 100644 index 5520518a..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_bill_to.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_bill_to import Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentBillTo(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentBillTo(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_bill_to.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information.py b/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information.py deleted file mode 100644 index 69660274..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_buyer_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_buyer_information.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by.py b/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by.py deleted file mode 100644 index df4f38b6..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_buyer_information_issued_by.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification.py b/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification.py deleted file mode 100644 index c0d42a25..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification import Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_buyer_information_personal_identification.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_card.py b/test/test_tmsv2customers_embedded_default_payment_instrument_card.py deleted file mode 100644 index 1d5ec50c..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_card.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_card import Tmsv2customersEmbeddedDefaultPaymentInstrumentCard - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentCard(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentCard unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentCard(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentCard - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_card.Tmsv2customersEmbeddedDefaultPaymentInstrumentCard() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_card_tokenized_information.py b/test/test_tmsv2customers_embedded_default_payment_instrument_card_tokenized_information.py deleted file mode 100644 index bf1040d1..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_card_tokenized_information.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_card_tokenized_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_card_tokenized_information.Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_instrument_identifier.py b/test/test_tmsv2customers_embedded_default_payment_instrument_instrument_identifier.py deleted file mode 100644 index 5ca2ee65..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_instrument_identifier.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_instrument_identifier import Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_instrument_identifier.Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_links.py b/test/test_tmsv2customers_embedded_default_payment_instrument_links.py deleted file mode 100644 index af8a9283..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_links.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_links import Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentLinks(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentLinks(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_links.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_links_self.py b/test/test_tmsv2customers_embedded_default_payment_instrument_links_self.py deleted file mode 100644 index bd25f5f6..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_links_self.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_links_self import Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_links_self.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_merchant_information.py b/test/test_tmsv2customers_embedded_default_payment_instrument_merchant_information.py deleted file mode 100644 index e74990bc..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_merchant_information.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_merchant_information import Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_merchant_information.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor.py b/test/test_tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor.py deleted file mode 100644 index ae1e4274..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor import Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_merchant_information_merchant_descriptor.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_metadata.py b/test/test_tmsv2customers_embedded_default_payment_instrument_metadata.py deleted file mode 100644 index c4fb35ad..00000000 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_metadata.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_metadata import Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata - - -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentMetadata(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultPaymentInstrumentMetadata(self): - """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_metadata.Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_shipping_address_links.py b/test/test_tmsv2customers_embedded_default_shipping_address_links.py deleted file mode 100644 index 6ae4bf3e..00000000 --- a/test/test_tmsv2customers_embedded_default_shipping_address_links.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_shipping_address_links import Tmsv2customersEmbeddedDefaultShippingAddressLinks - - -class TestTmsv2customersEmbeddedDefaultShippingAddressLinks(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultShippingAddressLinks unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultShippingAddressLinks(self): - """ - Test Tmsv2customersEmbeddedDefaultShippingAddressLinks - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_shipping_address_links.Tmsv2customersEmbeddedDefaultShippingAddressLinks() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_shipping_address_links_customer.py b/test/test_tmsv2customers_embedded_default_shipping_address_links_customer.py deleted file mode 100644 index 2bec7a4b..00000000 --- a/test/test_tmsv2customers_embedded_default_shipping_address_links_customer.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_shipping_address_links_customer import Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer - - -class TestTmsv2customersEmbeddedDefaultShippingAddressLinksCustomer(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultShippingAddressLinksCustomer(self): - """ - Test Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_shipping_address_links_customer.Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_shipping_address_metadata.py b/test/test_tmsv2customers_embedded_default_shipping_address_metadata.py deleted file mode 100644 index 21b24da7..00000000 --- a/test/test_tmsv2customers_embedded_default_shipping_address_metadata.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_shipping_address_metadata import Tmsv2customersEmbeddedDefaultShippingAddressMetadata - - -class TestTmsv2customersEmbeddedDefaultShippingAddressMetadata(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultShippingAddressMetadata unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultShippingAddressMetadata(self): - """ - Test Tmsv2customersEmbeddedDefaultShippingAddressMetadata - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_shipping_address_metadata.Tmsv2customersEmbeddedDefaultShippingAddressMetadata() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_shipping_address_ship_to.py b/test/test_tmsv2customers_embedded_default_shipping_address_ship_to.py deleted file mode 100644 index 801e291f..00000000 --- a/test/test_tmsv2customers_embedded_default_shipping_address_ship_to.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_shipping_address_ship_to import Tmsv2customersEmbeddedDefaultShippingAddressShipTo - - -class TestTmsv2customersEmbeddedDefaultShippingAddressShipTo(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultShippingAddressShipTo unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersEmbeddedDefaultShippingAddressShipTo(self): - """ - Test Tmsv2customersEmbeddedDefaultShippingAddressShipTo - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_shipping_address_ship_to.Tmsv2customersEmbeddedDefaultShippingAddressShipTo() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2customers_object_information.py b/test/test_tmsv2customers_object_information.py deleted file mode 100644 index 6ff86fb5..00000000 --- a/test/test_tmsv2customers_object_information.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - CyberSource Merged Spec - - All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html - - OpenAPI spec version: 0.0.1 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import os -import sys -import unittest - -import CyberSource -from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_object_information import Tmsv2customersObjectInformation - - -class TestTmsv2customersObjectInformation(unittest.TestCase): - """ Tmsv2customersObjectInformation unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTmsv2customersObjectInformation(self): - """ - Test Tmsv2customersObjectInformation - """ - # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_object_information.Tmsv2customersObjectInformation() - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tmsv2tokenize_processing_information.py b/test/test_tmsv2tokenize_processing_information.py new file mode 100644 index 00000000..2aae9b74 --- /dev/null +++ b/test/test_tmsv2tokenize_processing_information.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_processing_information import Tmsv2tokenizeProcessingInformation + + +class TestTmsv2tokenizeProcessingInformation(unittest.TestCase): + """ Tmsv2tokenizeProcessingInformation unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeProcessingInformation(self): + """ + Test Tmsv2tokenizeProcessingInformation + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_processing_information.Tmsv2tokenizeProcessingInformation() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information.py b/test/test_tmsv2tokenize_token_information.py new file mode 100644 index 00000000..e0598a8b --- /dev/null +++ b/test/test_tmsv2tokenize_token_information.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information import Tmsv2tokenizeTokenInformation + + +class TestTmsv2tokenizeTokenInformation(unittest.TestCase): + """ Tmsv2tokenizeTokenInformation unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformation(self): + """ + Test Tmsv2tokenizeTokenInformation + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information.Tmsv2tokenizeTokenInformation() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2customers_links_payment_instruments.py b/test/test_tmsv2tokenize_token_information_customer.py similarity index 59% rename from test/test_tmsv2customers_links_payment_instruments.py rename to test/test_tmsv2tokenize_token_information_customer.py index c443ef97..f272a837 100644 --- a/test/test_tmsv2customers_links_payment_instruments.py +++ b/test/test_tmsv2tokenize_token_information_customer.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_links_payment_instruments import Tmsv2customersLinksPaymentInstruments +from CyberSource.models.tmsv2tokenize_token_information_customer import Tmsv2tokenizeTokenInformationCustomer -class TestTmsv2customersLinksPaymentInstruments(unittest.TestCase): - """ Tmsv2customersLinksPaymentInstruments unit test stubs """ +class TestTmsv2tokenizeTokenInformationCustomer(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomer unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersLinksPaymentInstruments(self): + def testTmsv2tokenizeTokenInformationCustomer(self): """ - Test Tmsv2customersLinksPaymentInstruments + Test Tmsv2tokenizeTokenInformationCustomer """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_links_payment_instruments.Tmsv2customersLinksPaymentInstruments() + #model = CyberSource.models.tmsv2tokenize_token_information_customer.Tmsv2tokenizeTokenInformationCustomer() pass diff --git a/test/test_tmsv2tokenize_token_information_customer_buyer_information.py b/test/test_tmsv2tokenize_token_information_customer_buyer_information.py new file mode 100644 index 00000000..019055bc --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_buyer_information.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_buyer_information import Tmsv2tokenizeTokenInformationCustomerBuyerInformation + + +class TestTmsv2tokenizeTokenInformationCustomerBuyerInformation(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerBuyerInformation unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerBuyerInformation(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerBuyerInformation + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_buyer_information.Tmsv2tokenizeTokenInformationCustomerBuyerInformation() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_client_reference_information.py b/test/test_tmsv2tokenize_token_information_customer_client_reference_information.py new file mode 100644 index 00000000..9cfab186 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_client_reference_information.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_client_reference_information import Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + + +class TestTmsv2tokenizeTokenInformationCustomerClientReferenceInformation(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerClientReferenceInformation(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_client_reference_information.Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_shipping_address.py b/test/test_tmsv2tokenize_token_information_customer_default_payment_instrument.py similarity index 50% rename from test/test_tmsv2customers_embedded_default_shipping_address.py rename to test/test_tmsv2tokenize_token_information_customer_default_payment_instrument.py index 00a52272..3416ca5e 100644 --- a/test/test_tmsv2customers_embedded_default_shipping_address.py +++ b/test/test_tmsv2tokenize_token_information_customer_default_payment_instrument.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_shipping_address import Tmsv2customersEmbeddedDefaultShippingAddress +from CyberSource.models.tmsv2tokenize_token_information_customer_default_payment_instrument import Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument -class TestTmsv2customersEmbeddedDefaultShippingAddress(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultShippingAddress unit test stubs """ +class TestTmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersEmbeddedDefaultShippingAddress(self): + def testTmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument(self): """ - Test Tmsv2customersEmbeddedDefaultShippingAddress + Test Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_shipping_address.Tmsv2customersEmbeddedDefaultShippingAddress() + #model = CyberSource.models.tmsv2tokenize_token_information_customer_default_payment_instrument.Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument() pass diff --git a/test/test_tmsv2tokenize_token_information_customer_default_shipping_address.py b/test/test_tmsv2tokenize_token_information_customer_default_shipping_address.py new file mode 100644 index 00000000..dc85a811 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_default_shipping_address.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_default_shipping_address import Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress + + +class TestTmsv2tokenizeTokenInformationCustomerDefaultShippingAddress(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerDefaultShippingAddress(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_default_shipping_address.Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded.py b/test/test_tmsv2tokenize_token_information_customer_embedded.py new file mode 100644 index 00000000..4cef7933 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded import Tmsv2tokenizeTokenInformationCustomerEmbedded + + +class TestTmsv2tokenizeTokenInformationCustomerEmbedded(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbedded unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbedded(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbedded + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded.Tmsv2tokenizeTokenInformationCustomerEmbedded() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument.py new file mode 100644 index 00000000..464a4805 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account.py new file mode 100644 index 00000000..402c6cd5 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bank_account.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to.py new file mode 100644 index 00000000..39fff0fc --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_bill_to.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information.py new file mode 100644 index 00000000..e7a6433c --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by.py new file mode 100644 index 00000000..382d0880 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_issued_by.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification.py new file mode 100644 index 00000000..b1f9f7ad --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_buyer_information_personal_identification.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card.py new file mode 100644 index 00000000..9f372900 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information.py new file mode 100644 index 00000000..3bfc0787 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_card_tokenized_information.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded.py new file mode 100644 index 00000000..632e6130 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_embedded.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier.py new file mode 100644 index 00000000..f82b2a08 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_instrument_identifier.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links.py new file mode 100644 index 00000000..533a7b8c --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self.py new file mode 100644 index 00000000..a6a75b42 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_links_self.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata.py new file mode 100644 index 00000000..6308c958 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_payment_instrument_metadata.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address.py new file mode 100644 index 00000000..c3c23085 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links.py new file mode 100644 index 00000000..d30ec7cb --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer.py new file mode 100644 index 00000000..fa3a2509 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_customer.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self.py new file mode 100644 index 00000000..9f9b671f --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_links_self.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata.py new file mode 100644 index 00000000..c5225c74 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_metadata.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to.py b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to.py new file mode 100644 index 00000000..77405d12 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to import Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo + + +class TestTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_embedded_default_shipping_address_ship_to.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_links.py b/test/test_tmsv2tokenize_token_information_customer_links.py new file mode 100644 index 00000000..99434552 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_links.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_links import Tmsv2tokenizeTokenInformationCustomerLinks + + +class TestTmsv2tokenizeTokenInformationCustomerLinks(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerLinks unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerLinks(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerLinks + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_links.Tmsv2tokenizeTokenInformationCustomerLinks() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_links_payment_instruments.py b/test/test_tmsv2tokenize_token_information_customer_links_payment_instruments.py new file mode 100644 index 00000000..64a997fe --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_links_payment_instruments.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_links_payment_instruments import Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments + + +class TestTmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_links_payment_instruments.Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument.py b/test/test_tmsv2tokenize_token_information_customer_links_self.py similarity index 57% rename from test/test_tmsv2customers_embedded_default_payment_instrument.py rename to test/test_tmsv2tokenize_token_information_customer_links_self.py index 67a8f9e8..f8e9d239 100644 --- a/test/test_tmsv2customers_embedded_default_payment_instrument.py +++ b/test/test_tmsv2tokenize_token_information_customer_links_self.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument import Tmsv2customersEmbeddedDefaultPaymentInstrument +from CyberSource.models.tmsv2tokenize_token_information_customer_links_self import Tmsv2tokenizeTokenInformationCustomerLinksSelf -class TestTmsv2customersEmbeddedDefaultPaymentInstrument(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrument unit test stubs """ +class TestTmsv2tokenizeTokenInformationCustomerLinksSelf(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerLinksSelf unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersEmbeddedDefaultPaymentInstrument(self): + def testTmsv2tokenizeTokenInformationCustomerLinksSelf(self): """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrument + Test Tmsv2tokenizeTokenInformationCustomerLinksSelf """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument.Tmsv2customersEmbeddedDefaultPaymentInstrument() + #model = CyberSource.models.tmsv2tokenize_token_information_customer_links_self.Tmsv2tokenizeTokenInformationCustomerLinksSelf() pass diff --git a/test/test_tmsv2tokenize_token_information_customer_links_shipping_address.py b/test/test_tmsv2tokenize_token_information_customer_links_shipping_address.py new file mode 100644 index 00000000..ecba44cc --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_links_shipping_address.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_links_shipping_address import Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress + + +class TestTmsv2tokenizeTokenInformationCustomerLinksShippingAddress(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerLinksShippingAddress(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_links_shipping_address.Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_merchant_defined_information.py b/test/test_tmsv2tokenize_token_information_customer_merchant_defined_information.py new file mode 100644 index 00000000..dfcf3fd2 --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_merchant_defined_information.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_merchant_defined_information import Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation + + +class TestTmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_merchant_defined_information.Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenize_token_information_customer_metadata.py b/test/test_tmsv2tokenize_token_information_customer_metadata.py new file mode 100644 index 00000000..6cfe041c --- /dev/null +++ b/test/test_tmsv2tokenize_token_information_customer_metadata.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenize_token_information_customer_metadata import Tmsv2tokenizeTokenInformationCustomerMetadata + + +class TestTmsv2tokenizeTokenInformationCustomerMetadata(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerMetadata unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizeTokenInformationCustomerMetadata(self): + """ + Test Tmsv2tokenizeTokenInformationCustomerMetadata + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenize_token_information_customer_metadata.Tmsv2tokenizeTokenInformationCustomerMetadata() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2customers_embedded_default_payment_instrument_embedded.py b/test/test_tmsv2tokenize_token_information_customer_object_information.py similarity index 55% rename from test/test_tmsv2customers_embedded_default_payment_instrument_embedded.py rename to test/test_tmsv2tokenize_token_information_customer_object_information.py index a0fc0b37..15a92471 100644 --- a/test/test_tmsv2customers_embedded_default_payment_instrument_embedded.py +++ b/test/test_tmsv2tokenize_token_information_customer_object_information.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_embedded_default_payment_instrument_embedded import Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded +from CyberSource.models.tmsv2tokenize_token_information_customer_object_information import Tmsv2tokenizeTokenInformationCustomerObjectInformation -class TestTmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded(unittest.TestCase): - """ Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded unit test stubs """ +class TestTmsv2tokenizeTokenInformationCustomerObjectInformation(unittest.TestCase): + """ Tmsv2tokenizeTokenInformationCustomerObjectInformation unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded(self): + def testTmsv2tokenizeTokenInformationCustomerObjectInformation(self): """ - Test Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + Test Tmsv2tokenizeTokenInformationCustomerObjectInformation """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_embedded_default_payment_instrument_embedded.Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded() + #model = CyberSource.models.tmsv2tokenize_token_information_customer_object_information.Tmsv2tokenizeTokenInformationCustomerObjectInformation() pass diff --git a/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.py b/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.py new file mode 100644 index 00000000..d0e0f78d --- /dev/null +++ b/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + + +class TestTmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard(unittest.TestCase): + """ Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard(self): + """ + Test Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.py b/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.py new file mode 100644 index 00000000..5a17693b --- /dev/null +++ b/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + + +class TestTmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata(unittest.TestCase): + """ Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata(self): + """ + Test Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.py b/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.py new file mode 100644 index 00000000..f631ea9b --- /dev/null +++ b/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + + +class TestTmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt(unittest.TestCase): + """ Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt(self): + """ + Test Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset.py b/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset.py new file mode 100644 index 00000000..2c956b24 --- /dev/null +++ b/test/test_tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset import Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + + +class TestTmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset(unittest.TestCase): + """ Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset(self): + """ + Test Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art_combined_asset.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tokenize_api.py b/test/test_tokenize_api.py new file mode 100644 index 00000000..e8c0a1f5 --- /dev/null +++ b/test/test_tokenize_api.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.apis.tokenize_api import TokenizeApi + + +class TestTokenizeApi(unittest.TestCase): + """ TokenizeApi unit test stubs """ + + def setUp(self): + self.api = CyberSource.apis.tokenize_api.TokenizeApi() + + def tearDown(self): + pass + + def test_tokenize(self): + """ + Test case for tokenize + + Tokenize + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_tokenized_card_api.py b/test/test_tokenized_card_api.py index c48cbe24..43da9068 100644 --- a/test/test_tokenized_card_api.py +++ b/test/test_tokenized_card_api.py @@ -46,6 +46,14 @@ def test_get_tokenized_card(self): """ pass + def test_post_issuer_life_cycle_simulation(self): + """ + Test case for post_issuer_life_cycle_simulation + + Simulate Issuer Life Cycle Management Events + """ + pass + def test_post_tokenized_card(self): """ Test case for post_tokenized_card diff --git a/test/test_tmsv2customers_client_reference_information.py b/test/test_upv1capturecontexts_data_device_information.py similarity index 58% rename from test/test_tmsv2customers_client_reference_information.py rename to test/test_upv1capturecontexts_data_device_information.py index 942ec8b2..60b7971c 100644 --- a/test/test_tmsv2customers_client_reference_information.py +++ b/test/test_upv1capturecontexts_data_device_information.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.tmsv2customers_client_reference_information import Tmsv2customersClientReferenceInformation +from CyberSource.models.upv1capturecontexts_data_device_information import Upv1capturecontextsDataDeviceInformation -class TestTmsv2customersClientReferenceInformation(unittest.TestCase): - """ Tmsv2customersClientReferenceInformation unit test stubs """ +class TestUpv1capturecontextsDataDeviceInformation(unittest.TestCase): + """ Upv1capturecontextsDataDeviceInformation unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testTmsv2customersClientReferenceInformation(self): + def testUpv1capturecontextsDataDeviceInformation(self): """ - Test Tmsv2customersClientReferenceInformation + Test Upv1capturecontextsDataDeviceInformation """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.tmsv2customers_client_reference_information.Tmsv2customersClientReferenceInformation() + #model = CyberSource.models.upv1capturecontexts_data_device_information.Upv1capturecontextsDataDeviceInformation() pass diff --git a/test/test_upv1capturecontexts_data_order_information_amount_details_tax_details.py b/test/test_upv1capturecontexts_data_order_information_amount_details_tax_details.py new file mode 100644 index 00000000..5ac32752 --- /dev/null +++ b/test/test_upv1capturecontexts_data_order_information_amount_details_tax_details.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.upv1capturecontexts_data_order_information_amount_details_tax_details import Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + + +class TestUpv1capturecontextsDataOrderInformationAmountDetailsTaxDetails(unittest.TestCase): + """ Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpv1capturecontextsDataOrderInformationAmountDetailsTaxDetails(self): + """ + Test Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.upv1capturecontexts_data_order_information_amount_details_tax_details.Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_upv1capturecontexts_data_order_information_invoice_details.py b/test/test_upv1capturecontexts_data_order_information_invoice_details.py new file mode 100644 index 00000000..de27e3a6 --- /dev/null +++ b/test/test_upv1capturecontexts_data_order_information_invoice_details.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.upv1capturecontexts_data_order_information_invoice_details import Upv1capturecontextsDataOrderInformationInvoiceDetails + + +class TestUpv1capturecontextsDataOrderInformationInvoiceDetails(unittest.TestCase): + """ Upv1capturecontextsDataOrderInformationInvoiceDetails unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpv1capturecontextsDataOrderInformationInvoiceDetails(self): + """ + Test Upv1capturecontextsDataOrderInformationInvoiceDetails + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.upv1capturecontexts_data_order_information_invoice_details.Upv1capturecontextsDataOrderInformationInvoiceDetails() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response20010_embedded_batches.py b/test/test_upv1capturecontexts_data_payment_information.py similarity index 57% rename from test/test_inline_response20010_embedded_batches.py rename to test/test_upv1capturecontexts_data_payment_information.py index 01b790c7..0976e29e 100644 --- a/test/test_inline_response20010_embedded_batches.py +++ b/test/test_upv1capturecontexts_data_payment_information.py @@ -18,11 +18,11 @@ import CyberSource from CyberSource.rest import ApiException -from CyberSource.models.inline_response20010_embedded_batches import InlineResponse20010EmbeddedBatches +from CyberSource.models.upv1capturecontexts_data_payment_information import Upv1capturecontextsDataPaymentInformation -class TestInlineResponse20010EmbeddedBatches(unittest.TestCase): - """ InlineResponse20010EmbeddedBatches unit test stubs """ +class TestUpv1capturecontextsDataPaymentInformation(unittest.TestCase): + """ Upv1capturecontextsDataPaymentInformation unit test stubs """ def setUp(self): pass @@ -30,12 +30,12 @@ def setUp(self): def tearDown(self): pass - def testInlineResponse20010EmbeddedBatches(self): + def testUpv1capturecontextsDataPaymentInformation(self): """ - Test InlineResponse20010EmbeddedBatches + Test Upv1capturecontextsDataPaymentInformation """ # FIXME: construct object with mandatory attributes with example values - #model = CyberSource.models.inline_response20010_embedded_batches.InlineResponse20010EmbeddedBatches() + #model = CyberSource.models.upv1capturecontexts_data_payment_information.Upv1capturecontextsDataPaymentInformation() pass diff --git a/test/test_upv1capturecontexts_data_payment_information_card.py b/test/test_upv1capturecontexts_data_payment_information_card.py new file mode 100644 index 00000000..781ef1a9 --- /dev/null +++ b/test/test_upv1capturecontexts_data_payment_information_card.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + CyberSource Merged Spec + + All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + + OpenAPI spec version: 0.0.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import CyberSource +from CyberSource.rest import ApiException +from CyberSource.models.upv1capturecontexts_data_payment_information_card import Upv1capturecontextsDataPaymentInformationCard + + +class TestUpv1capturecontextsDataPaymentInformationCard(unittest.TestCase): + """ Upv1capturecontextsDataPaymentInformationCard unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpv1capturecontextsDataPaymentInformationCard(self): + """ + Test Upv1capturecontextsDataPaymentInformationCard + """ + # FIXME: construct object with mandatory attributes with example values + #model = CyberSource.models.upv1capturecontexts_data_payment_information_card.Upv1capturecontextsDataPaymentInformationCard() + pass + + +if __name__ == '__main__': + unittest.main()