From 898de0708d57872d40d5ac43798f89e1f3f5d82b Mon Sep 17 00:00:00 2001 From: gnongsie Date: Wed, 4 Sep 2024 16:57:00 +0530 Subject: [PATCH 1/3] Fix for tracking value --- src/main/java/utilities/tracking/SdkTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/utilities/tracking/SdkTracker.java b/src/main/java/utilities/tracking/SdkTracker.java index ec7ad5aa..70fb11f7 100644 --- a/src/main/java/utilities/tracking/SdkTracker.java +++ b/src/main/java/utilities/tracking/SdkTracker.java @@ -6,7 +6,7 @@ public class SdkTracker { public Object insertDeveloperIdTracker(Object requestObj, String requestClass, String runEnvironment) { String developerIdValue; if (runEnvironment.contains("apitest.cybersource.com")) { - developerIdValue = "CEOVXJBB"; + developerIdValue = "GJ5IEJBY"; } else { developerIdValue = "SBBARODQ"; From 7bb95c3598eee9b69042de2e2ceca2d6bcb41d0a Mon Sep 17 00:00:00 2001 From: monkumar Date: Wed, 18 Sep 2024 11:15:52 +0530 Subject: [PATCH 2/3] api spec changes sep24 --- docs/CardProcessingConfigCommon.md | 2 + docs/CardProcessingConfigCommonAcquirer.md | 2 + ...nfigCommonMerchantDescriptorInformation.md | 1 + docs/CardProcessingConfigCommonProcessors.md | 3 + docs/FlexApiApi.md | 54 + docs/Flexv2sessionsFields.md | 11 + docs/Flexv2sessionsFieldsOrderInformation.md | 12 + ...ionsFieldsOrderInformationAmountDetails.md | 11 + ...rderInformationAmountDetailsTotalAmount.md | 10 + ...xv2sessionsFieldsOrderInformationBillTo.md | 22 + ...xv2sessionsFieldsOrderInformationShipTo.md | 20 + .../Flexv2sessionsFieldsPaymentInformation.md | 10 + ...xv2sessionsFieldsPaymentInformationCard.md | 14 + docs/GenerateFlexAPICaptureContextRequest.md | 10 + docs/InlineResponse4001.md | 31 +- docs/InlineResponse4001Details.md | 11 + docs/InlineResponse4002.md | 6 +- docs/InlineResponse4003.md | 2 +- docs/InlineResponse4004.md | 11 +- docs/InlineResponse4005.md | 20 +- docs/InlineResponse4005Details.md | 11 - ...4Fields.md => InlineResponse4005Fields.md} | 2 +- docs/InlineResponse4006.md | 26 +- docs/InlineResponse4006Details.md | 4 +- docs/InlineResponse4041.md | 2 +- docs/InlineResponse4221.md | 2 +- docs/PatchInstrumentIdentifierRequest.md | 2 +- ...stInstrumentIdentifierEnrollmentRequest.md | 2 +- docs/PostInstrumentIdentifierRequest.md | 2 +- ...ionPatch201ResponseProcessorInformation.md | 1 + docs/PtsV2PaymentsReversalsPost201Response.md | 2 +- ...tsv2paymentsRecurringPaymentInformation.md | 4 +- ...sv2paymentsidClientReferenceInformation.md | 1 + ...authenticationresultsPaymentInformation.md | 2 +- ...Riskv1authenticationsPaymentInformation.md | 2 +- ...thenticationsPaymentInformationCustomer.md | 11 + ...icationsetupsPaymentInformationCustomer.md | 2 +- ...isionsConsumerAuthenticationInformation.md | 1 - docs/TmsEmbeddedInstrumentIdentifier.md | 2 +- ...TokenizedCard.md => Tmsv2TokenizedCard.md} | 5 +- ...dCardCard.md => Tmsv2TokenizedCardCard.md} | 2 +- docs/Tmsv2TokenizedCardMetadata.md | 10 + docs/Tmsv2TokenizedCardMetadataCardArt.md | 16 + ...nizedCardMetadataCardArtBackgroundAsset.md | 11 + ...CardMetadataCardArtBackgroundAssetLinks.md | 10 + ...MetadataCardArtBackgroundAssetLinksSelf.md | 10 + ...enizedCardMetadataCardArtBrandLogoAsset.md | 11 + ...dCardMetadataCardArtBrandLogoAssetLinks.md | 10 + ...dMetadataCardArtBrandLogoAssetLinksSelf.md | 10 + ...izedCardMetadataCardArtCoBrandLogoAsset.md | 11 + ...ardMetadataCardArtCoBrandLogoAssetLinks.md | 10 + ...etadataCardArtCoBrandLogoAssetLinksSelf.md | 10 + ...kenizedCardMetadataCardArtCombinedAsset.md | 11 + ...edCardMetadataCardArtCombinedAssetLinks.md | 10 + ...rdMetadataCardArtCombinedAssetLinksSelf.md | 10 + ...v2TokenizedCardMetadataCardArtIconAsset.md | 11 + ...enizedCardMetadataCardArtIconAssetLinks.md | 10 + ...edCardMetadataCardArtIconAssetLinksSelf.md | 10 + ...nizedCardMetadataCardArtIssuerLogoAsset.md | 11 + ...CardMetadataCardArtIssuerLogoAssetLinks.md | 10 + ...MetadataCardArtIssuerLogoAssetLinksSelf.md | 10 + generator/cybersource-rest-spec.json | 6122 ++++++++++++++++- src/main/java/Api/DecisionManagerApi.java | 2 +- src/main/java/Api/FlexApiApi.java | 196 + src/main/java/Api/MerchantBoardingApi.java | 2 +- src/main/java/Api/PlansApi.java | 2 +- src/main/java/Api/ReportSubscriptionsApi.java | 2 +- src/main/java/Api/SecureFileShareApi.java | 2 +- src/main/java/Api/SubscriptionsApi.java | 2 +- .../Api/UnifiedCheckoutCaptureContextApi.java | 2 +- .../Model/CardProcessingConfigCommon.java | 50 +- .../CardProcessingConfigCommonAcquirer.java | 48 +- ...igCommonMerchantDescriptorInformation.java | 27 +- .../CardProcessingConfigCommonProcessors.java | 71 +- src/main/java/Model/Flexv2sessionsFields.java | 119 + .../Flexv2sessionsFieldsOrderInformation.java | 143 + ...nsFieldsOrderInformationAmountDetails.java | 118 + ...erInformationAmountDetailsTotalAmount.java | 94 + ...2sessionsFieldsOrderInformationBillTo.java | 371 + ...2sessionsFieldsOrderInformationShipTo.java | 325 + ...lexv2sessionsFieldsPaymentInformation.java | 95 + ...2sessionsFieldsPaymentInformationCard.java | 187 + .../GenerateFlexAPICaptureContextRequest.java | 95 + src/main/java/Model/InlineResponse4001.java | 200 +- ...ls.java => InlineResponse4001Details.java} | 62 +- src/main/java/Model/InlineResponse4002.java | 12 +- src/main/java/Model/InlineResponse4003.java | 4 +- src/main/java/Model/InlineResponse4004.java | 164 +- src/main/java/Model/InlineResponse4005.java | 203 +- ...lds.java => InlineResponse4005Fields.java} | 18 +- src/main/java/Model/InlineResponse4006.java | 163 +- .../java/Model/InlineResponse4006Details.java | 54 +- src/main/java/Model/InlineResponse4041.java | 14 +- src/main/java/Model/InlineResponse4221.java | 14 +- .../PatchInstrumentIdentifierRequest.java | 10 +- ...InstrumentIdentifierEnrollmentRequest.java | 10 +- .../PostInstrumentIdentifierRequest.java | 10 +- ...nPatch201ResponseProcessorInformation.java | 25 +- ...PtsV2PaymentsReversalsPost201Response.java | 4 +- ...v2paymentsRecurringPaymentInformation.java | 4 +- ...2paymentsidClientReferenceInformation.java | 27 +- ...thenticationresultsPaymentInformation.java | 10 +- ...skv1authenticationsPaymentInformation.java | 10 +- ...enticationsPaymentInformationCustomer.java | 117 + ...ationsetupsPaymentInformationCustomer.java | 2 +- ...ionsConsumerAuthenticationInformation.java | 25 +- .../TmsEmbeddedInstrumentIdentifier.java | 10 +- ...nizedCard.java => Tmsv2TokenizedCard.java} | 66 +- ...dCard.java => Tmsv2TokenizedCardCard.java} | 12 +- .../Model/Tmsv2TokenizedCardMetadata.java | 95 + .../Tmsv2TokenizedCardMetadataCardArt.java | 229 + ...zedCardMetadataCardArtBackgroundAsset.java | 109 + ...rdMetadataCardArtBackgroundAssetLinks.java | 95 + ...tadataCardArtBackgroundAssetLinksSelf.java | 85 + ...izedCardMetadataCardArtBrandLogoAsset.java | 109 + ...ardMetadataCardArtBrandLogoAssetLinks.java | 95 + ...etadataCardArtBrandLogoAssetLinksSelf.java | 85 + ...edCardMetadataCardArtCoBrandLogoAsset.java | 109 + ...dMetadataCardArtCoBrandLogoAssetLinks.java | 95 + ...adataCardArtCoBrandLogoAssetLinksSelf.java | 85 + ...nizedCardMetadataCardArtCombinedAsset.java | 109 + ...CardMetadataCardArtCombinedAssetLinks.java | 95 + ...MetadataCardArtCombinedAssetLinksSelf.java | 85 + ...TokenizedCardMetadataCardArtIconAsset.java | 109 + ...izedCardMetadataCardArtIconAssetLinks.java | 95 + ...CardMetadataCardArtIconAssetLinksSelf.java | 85 + ...zedCardMetadataCardArtIssuerLogoAsset.java | 109 + ...rdMetadataCardArtIssuerLogoAssetLinks.java | 95 + ...tadataCardArtIssuerLogoAssetLinksSelf.java | 85 + src/test/java/Api/DecisionManagerApiTest.java | 2 +- src/test/java/Api/FlexApiApiTest.java | 52 + .../java/Api/MerchantBoardingApiTest.java | 2 +- src/test/java/Api/PlansApiTest.java | 2 +- .../java/Api/ReportSubscriptionsApiTest.java | 2 +- src/test/java/Api/SecureFileShareApiTest.java | 2 +- src/test/java/Api/SubscriptionsApiTest.java | 2 +- .../UnifiedCheckoutCaptureContextApiTest.java | 2 +- 137 files changed, 11314 insertions(+), 698 deletions(-) create mode 100644 docs/FlexApiApi.md create mode 100644 docs/Flexv2sessionsFields.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformation.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformationAmountDetails.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformationBillTo.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformationShipTo.md create mode 100644 docs/Flexv2sessionsFieldsPaymentInformation.md create mode 100644 docs/Flexv2sessionsFieldsPaymentInformationCard.md create mode 100644 docs/GenerateFlexAPICaptureContextRequest.md create mode 100644 docs/InlineResponse4001Details.md delete mode 100644 docs/InlineResponse4005Details.md rename docs/{InlineResponse4004Fields.md => InlineResponse4005Fields.md} (92%) create mode 100644 docs/Riskv1authenticationsPaymentInformationCustomer.md rename docs/{TmsEmbeddedInstrumentIdentifierTokenizedCard.md => Tmsv2TokenizedCard.md} (92%) rename docs/{TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md => Tmsv2TokenizedCardCard.md} (91%) create mode 100644 docs/Tmsv2TokenizedCardMetadata.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArt.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md create mode 100644 src/main/java/Api/FlexApiApi.java create mode 100644 src/main/java/Model/Flexv2sessionsFields.java create mode 100644 src/main/java/Model/Flexv2sessionsFieldsOrderInformation.java create mode 100644 src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.java create mode 100644 src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.java create mode 100644 src/main/java/Model/Flexv2sessionsFieldsOrderInformationBillTo.java create mode 100644 src/main/java/Model/Flexv2sessionsFieldsOrderInformationShipTo.java create mode 100644 src/main/java/Model/Flexv2sessionsFieldsPaymentInformation.java create mode 100644 src/main/java/Model/Flexv2sessionsFieldsPaymentInformationCard.java create mode 100644 src/main/java/Model/GenerateFlexAPICaptureContextRequest.java rename src/main/java/Model/{InlineResponse4005Details.java => InlineResponse4001Details.java} (51%) rename src/main/java/Model/{InlineResponse4004Fields.java => InlineResponse4005Fields.java} (85%) create mode 100644 src/main/java/Model/Riskv1authenticationsPaymentInformationCustomer.java rename src/main/java/Model/{TmsEmbeddedInstrumentIdentifierTokenizedCard.java => Tmsv2TokenizedCard.java} (81%) rename src/main/java/Model/{TmsEmbeddedInstrumentIdentifierTokenizedCardCard.java => Tmsv2TokenizedCardCard.java} (83%) create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadata.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java create mode 100644 src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java create mode 100644 src/test/java/Api/FlexApiApiTest.java diff --git a/docs/CardProcessingConfigCommon.md b/docs/CardProcessingConfigCommon.md index 499ec2ec..465c6e66 100644 --- a/docs/CardProcessingConfigCommon.md +++ b/docs/CardProcessingConfigCommon.md @@ -25,6 +25,8 @@ Name | Type | Description | Notes **subMerchantBusinessName** | **String** | Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> | [optional] **preferCobadgedSecondaryBrand** | **Boolean** | It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors. | [optional] **merchantDescriptorInformation** | [**CardProcessingConfigCommonMerchantDescriptorInformation**](CardProcessingConfigCommonMerchantDescriptorInformation.md) | | [optional] +**governmentControlled** | **Boolean** | Indicates whether the merchant is government controlled. Applicable for VPC processors. | [optional] +**dropBillingInfo** | **Boolean** | This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request. | [optional] diff --git a/docs/CardProcessingConfigCommonAcquirer.md b/docs/CardProcessingConfigCommonAcquirer.md index c0609077..9e3ee5fa 100644 --- a/docs/CardProcessingConfigCommonAcquirer.md +++ b/docs/CardProcessingConfigCommonAcquirer.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **institutionId** | **String** | Identifier of the acquirer. This number is usually assigned by Visa. Applicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>13</td><td>^[0-9]+$</td><td>1111</td></tr> </table> | [optional] **interbankCardAssociationId** | **String** | Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors. | [optional] **discoverInstitutionId** | **String** | Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors. | [optional] +**unionPayInstitutionId** | **String** | Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors. | [optional] +**dinersClubInstitutionId** | **String** | Assigned by Diners Club to identify the acquirer. Applicable for VPC processors. | [optional] **countryCode** | **String** | ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors. | [optional] **fileDestinationBin** | **String** | The BIN to which this capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors. | [optional] diff --git a/docs/CardProcessingConfigCommonMerchantDescriptorInformation.md b/docs/CardProcessingConfigCommonMerchantDescriptorInformation.md index 87765df3..4ea1a616 100644 --- a/docs/CardProcessingConfigCommonMerchantDescriptorInformation.md +++ b/docs/CardProcessingConfigCommonMerchantDescriptorInformation.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **street** | **String** | Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] **zip** | **String** | Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] **url** | **String** | Applicable for RUPAY and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>40</td><td>URL</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>1</td><td>40</td><td>URL</td></tr> </table> | [optional] +**countryOfOrigin** | **String** | Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute. | [optional] diff --git a/docs/CardProcessingConfigCommonProcessors.md b/docs/CardProcessingConfigCommonProcessors.md index b5b9b948..3b0c5287 100644 --- a/docs/CardProcessingConfigCommonProcessors.md +++ b/docs/CardProcessingConfigCommonProcessors.md @@ -13,6 +13,9 @@ Name | Type | Description | Notes **terminalId** | **String** | The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table> | [optional] **paymentTypes** | [**Map<String, CardProcessingConfigCommonPaymentTypes>**](CardProcessingConfigCommonPaymentTypes.md) | Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB | [optional] **currencies** | [**Map<String, CardProcessingConfigCommonCurrencies1>**](CardProcessingConfigCommonCurrencies1.md) | Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) | [optional] +**visaAggregatorId** | **String** | This field is used as aggregator Id when Visa payment type is selected | [optional] +**amexAggregatorId** | **String** | This field is used as aggregator Id when Amex payment type is selected | [optional] +**masterCardAggregatorId** | **String** | This field is used as aggregator Id when Master Card payment type is selected | [optional] **sicCode** | **String** | The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. | [optional] **allowMultipleBills** | **Boolean** | Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> | [optional] **allowMerchantDescriptorOverride** | **Boolean** | Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors. | [optional] diff --git a/docs/FlexApiApi.md b/docs/FlexApiApi.md new file mode 100644 index 00000000..bcaf0e5e --- /dev/null +++ b/docs/FlexApiApi.md @@ -0,0 +1,54 @@ +# FlexApiApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**generateFlexAPICaptureContext**](FlexApiApi.md#generateFlexAPICaptureContext) | **POST** /flex/v2/sessions | Establish a Payment Session with a Capture Context + + + +# **generateFlexAPICaptureContext** +> String generateFlexAPICaptureContext(generateFlexAPICaptureContextRequest) + +Establish a Payment Session with a Capture Context + +To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + +### Example +```java +// Import classes: +//import Invokers.ApiException; +//import Api.FlexApiApi; + + +FlexApiApi apiInstance = new FlexApiApi(); +GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest = new GenerateFlexAPICaptureContextRequest(); // GenerateFlexAPICaptureContextRequest | +try { + String result = apiInstance.generateFlexAPICaptureContext(generateFlexAPICaptureContextRequest); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling FlexApiApi#generateFlexAPICaptureContext"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **generateFlexAPICaptureContextRequest** | [**GenerateFlexAPICaptureContextRequest**](GenerateFlexAPICaptureContextRequest.md)| | + +### Return type + +**String** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/jwt + diff --git a/docs/Flexv2sessionsFields.md b/docs/Flexv2sessionsFields.md new file mode 100644 index 00000000..a26b6dad --- /dev/null +++ b/docs/Flexv2sessionsFields.md @@ -0,0 +1,11 @@ + +# Flexv2sessionsFields + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**orderInformation** | [**Flexv2sessionsFieldsOrderInformation**](Flexv2sessionsFieldsOrderInformation.md) | | [optional] +**paymentInformation** | [**Flexv2sessionsFieldsPaymentInformation**](Flexv2sessionsFieldsPaymentInformation.md) | | [optional] + + + diff --git a/docs/Flexv2sessionsFieldsOrderInformation.md b/docs/Flexv2sessionsFieldsOrderInformation.md new file mode 100644 index 00000000..a5803a9e --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformation.md @@ -0,0 +1,12 @@ + +# Flexv2sessionsFieldsOrderInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amountDetails** | [**Flexv2sessionsFieldsOrderInformationAmountDetails**](Flexv2sessionsFieldsOrderInformationAmountDetails.md) | | [optional] +**billTo** | [**Flexv2sessionsFieldsOrderInformationBillTo**](Flexv2sessionsFieldsOrderInformationBillTo.md) | | [optional] +**shipTo** | [**Flexv2sessionsFieldsOrderInformationShipTo**](Flexv2sessionsFieldsOrderInformationShipTo.md) | | [optional] + + + diff --git a/docs/Flexv2sessionsFieldsOrderInformationAmountDetails.md b/docs/Flexv2sessionsFieldsOrderInformationAmountDetails.md new file mode 100644 index 00000000..84fda036 --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformationAmountDetails.md @@ -0,0 +1,11 @@ + +# Flexv2sessionsFieldsOrderInformationAmountDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**totalAmount** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**currency** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] + + + diff --git a/docs/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md b/docs/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md new file mode 100644 index 00000000..891219c2 --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md @@ -0,0 +1,10 @@ + +# Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**required** | **Boolean** | | [optional] + + + diff --git a/docs/Flexv2sessionsFieldsOrderInformationBillTo.md b/docs/Flexv2sessionsFieldsOrderInformationBillTo.md new file mode 100644 index 00000000..7837e1ec --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformationBillTo.md @@ -0,0 +1,22 @@ + +# Flexv2sessionsFieldsOrderInformationBillTo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address1** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**address2** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**administrativeArea** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**buildingNumber** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**country** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**district** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**locality** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**postalCode** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**email** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**firstName** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**lastName** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**phoneNumber** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**company** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] + + + diff --git a/docs/Flexv2sessionsFieldsOrderInformationShipTo.md b/docs/Flexv2sessionsFieldsOrderInformationShipTo.md new file mode 100644 index 00000000..6d218d16 --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformationShipTo.md @@ -0,0 +1,20 @@ + +# Flexv2sessionsFieldsOrderInformationShipTo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address1** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**address2** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**administrativeArea** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**buildingNumber** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**country** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**district** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**locality** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**postalCode** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**firstName** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**lastName** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**company** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] + + + diff --git a/docs/Flexv2sessionsFieldsPaymentInformation.md b/docs/Flexv2sessionsFieldsPaymentInformation.md new file mode 100644 index 00000000..976008c4 --- /dev/null +++ b/docs/Flexv2sessionsFieldsPaymentInformation.md @@ -0,0 +1,10 @@ + +# Flexv2sessionsFieldsPaymentInformation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**card** | [**Flexv2sessionsFieldsPaymentInformationCard**](Flexv2sessionsFieldsPaymentInformationCard.md) | | [optional] + + + diff --git a/docs/Flexv2sessionsFieldsPaymentInformationCard.md b/docs/Flexv2sessionsFieldsPaymentInformationCard.md new file mode 100644 index 00000000..a193bfc0 --- /dev/null +++ b/docs/Flexv2sessionsFieldsPaymentInformationCard.md @@ -0,0 +1,14 @@ + +# Flexv2sessionsFieldsPaymentInformationCard + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**number** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**type** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**securityCode** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**expirationMonth** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**expirationYear** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] + + + diff --git a/docs/GenerateFlexAPICaptureContextRequest.md b/docs/GenerateFlexAPICaptureContextRequest.md new file mode 100644 index 00000000..7d98082b --- /dev/null +++ b/docs/GenerateFlexAPICaptureContextRequest.md @@ -0,0 +1,10 @@ + +# GenerateFlexAPICaptureContextRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fields** | [**Flexv2sessionsFields**](Flexv2sessionsFields.md) | | [optional] + + + diff --git a/docs/InlineResponse4001.md b/docs/InlineResponse4001.md index a3f40fbb..36bf9374 100644 --- a/docs/InlineResponse4001.md +++ b/docs/InlineResponse4001.md @@ -4,11 +4,32 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**submitTimeUtc** | **String** | 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** | **String** | The status of the submitted transaction. Possible values: - `INVALID_REQUEST` | [optional] -**reason** | **String** | The reason of the status. Possible Values: - `INVALID_DATA` | [optional] -**message** | **String** | Input request error. | [optional] -**details** | [**List<PtsV2PaymentsPost201ResponseErrorInformationDetails>**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional] +**correlationId** | **String** | | [optional] +**details** | [**List<InlineResponse4001Details>**](InlineResponse4001Details.md) | | [optional] +**informationLink** | **String** | | [optional] +**message** | **String** | | +**reason** | [**ReasonEnum**](#ReasonEnum) | | + + + +## Enum: ReasonEnum +Name | Value +---- | ----- +INVALID_APIKEY | "INVALID_APIKEY" +INVALID_SHIPPING_INPUT_PARAMS | "INVALID_SHIPPING_INPUT_PARAMS" +CAPTURE_CONTEXT_INVALID | "CAPTURE_CONTEXT_INVALID" +CAPTURE_CONTEXT_EXPIRED | "CAPTURE_CONTEXT_EXPIRED" +SDK_XHR_ERROR | "SDK_XHR_ERROR" +UNIFIEDPAYMENTS_VALIDATION_PARAMS | "UNIFIEDPAYMENTS_VALIDATION_PARAMS" +UNIFIEDPAYMENTS_VALIDATION_FIELDS | "UNIFIEDPAYMENTS_VALIDATION_FIELDS" +UNIFIEDPAYMENT_PAYMENT_PARAMITERS | "UNIFIEDPAYMENT_PAYMENT_PARAMITERS" +CREATE_TOKEN_TIMEOUT | "CREATE_TOKEN_TIMEOUT" +CREATE_TOKEN_XHR_ERROR | "CREATE_TOKEN_XHR_ERROR" +SHOW_LOAD_CONTAINER_SELECTOR | "SHOW_LOAD_CONTAINER_SELECTOR" +SHOW_LOAD_INVALID_CONTAINER | "SHOW_LOAD_INVALID_CONTAINER" +SHOW_TOKEN_TIMEOUT | "SHOW_TOKEN_TIMEOUT" +SHOW_TOKEN_XHR_ERROR | "SHOW_TOKEN_XHR_ERROR" +SHOW_PAYMENT_TIMEOUT | "SHOW_PAYMENT_TIMEOUT" diff --git a/docs/InlineResponse4001Details.md b/docs/InlineResponse4001Details.md new file mode 100644 index 00000000..2582fd8e --- /dev/null +++ b/docs/InlineResponse4001Details.md @@ -0,0 +1,11 @@ + +# InlineResponse4001Details + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **String** | | [optional] +**message** | **String** | | [optional] + + + diff --git a/docs/InlineResponse4002.md b/docs/InlineResponse4002.md index 8662848a..07731048 100644 --- a/docs/InlineResponse4002.md +++ b/docs/InlineResponse4002.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **submitTimeUtc** | **String** | 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** | **String** | The status of the submitted transaction. Possible values: - INVALID_REQUEST | [optional] -**reason** | **String** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION | [optional] -**message** | **String** | The detail message related to the status and reason listed above. | [optional] +**status** | **String** | The status of the submitted transaction. Possible values: - `INVALID_REQUEST` | [optional] +**reason** | **String** | The reason of the status. Possible Values: - `INVALID_DATA` | [optional] +**message** | **String** | Input request error. | [optional] **details** | [**List<PtsV2PaymentsPost201ResponseErrorInformationDetails>**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional] diff --git a/docs/InlineResponse4003.md b/docs/InlineResponse4003.md index 78a5b576..1d19dd95 100644 --- a/docs/InlineResponse4003.md +++ b/docs/InlineResponse4003.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **submitTimeUtc** | **String** | 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** | **String** | The status of the submitted transaction. Possible values: - INVALID_REQUEST | [optional] -**reason** | **String** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE | [optional] +**reason** | **String** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION | [optional] **message** | **String** | The detail message related to the status and reason listed above. | [optional] **details** | [**List<PtsV2PaymentsPost201ResponseErrorInformationDetails>**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional] diff --git a/docs/InlineResponse4004.md b/docs/InlineResponse4004.md index c30b33fa..d6e5de5f 100644 --- a/docs/InlineResponse4004.md +++ b/docs/InlineResponse4004.md @@ -4,12 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**code** | **String** | Error code | -**message** | **String** | Error message | -**localizationKey** | **String** | Localization Key Name | [optional] -**correlationId** | **String** | Correlation Id | [optional] -**detail** | **String** | Error Detail | [optional] -**fields** | [**List<InlineResponse4004Fields>**](InlineResponse4004Fields.md) | Error fields List | [optional] +**submitTimeUtc** | **String** | 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** | **String** | The status of the submitted transaction. Possible values: - INVALID_REQUEST | [optional] +**reason** | **String** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE | [optional] +**message** | **String** | The detail message related to the status and reason listed above. | [optional] +**details** | [**List<PtsV2PaymentsPost201ResponseErrorInformationDetails>**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional] diff --git a/docs/InlineResponse4005.md b/docs/InlineResponse4005.md index 6391a453..8c684e6a 100644 --- a/docs/InlineResponse4005.md +++ b/docs/InlineResponse4005.md @@ -4,20 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**submitTimeUtc** | [**LocalDate**](LocalDate.md) | 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. | [optional] -**status** | **String** | The http status description of the submitted request. | [optional] -**reason** | [**ReasonEnum**](#ReasonEnum) | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' | [optional] -**message** | **String** | Descriptive message for the error. | [optional] -**details** | [**List<InlineResponse4005Details>**](InlineResponse4005Details.md) | | [optional] - - - -## Enum: ReasonEnum -Name | Value ----- | ----- -INVALID_DATA | "INVALID_DATA" -SYSTEM_ERROR | "SYSTEM_ERROR" -RESOURCE_NOT_FOUND | "RESOURCE_NOT_FOUND" +**code** | **String** | Error code | +**message** | **String** | Error message | +**localizationKey** | **String** | Localization Key Name | [optional] +**correlationId** | **String** | Correlation Id | [optional] +**detail** | **String** | Error Detail | [optional] +**fields** | [**List<InlineResponse4005Fields>**](InlineResponse4005Fields.md) | Error fields List | [optional] diff --git a/docs/InlineResponse4005Details.md b/docs/InlineResponse4005Details.md deleted file mode 100644 index 449225d5..00000000 --- a/docs/InlineResponse4005Details.md +++ /dev/null @@ -1,11 +0,0 @@ - -# InlineResponse4005Details - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**field** | **String** | This is the flattened JSON object field name/path that is either missing or invalid. | [optional] -**reason** | **String** | Possible reasons for the error. | [optional] - - - diff --git a/docs/InlineResponse4004Fields.md b/docs/InlineResponse4005Fields.md similarity index 92% rename from docs/InlineResponse4004Fields.md rename to docs/InlineResponse4005Fields.md index 7e8ed534..49a01f18 100644 --- a/docs/InlineResponse4004Fields.md +++ b/docs/InlineResponse4005Fields.md @@ -1,5 +1,5 @@ -# InlineResponse4004Fields +# InlineResponse4005Fields ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse4006.md b/docs/InlineResponse4006.md index 538b77c3..ae119397 100644 --- a/docs/InlineResponse4006.md +++ b/docs/InlineResponse4006.md @@ -4,32 +4,20 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**correlationId** | **String** | | [optional] +**submitTimeUtc** | [**LocalDate**](LocalDate.md) | 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. | [optional] +**status** | **String** | The http status description of the submitted request. | [optional] +**reason** | [**ReasonEnum**](#ReasonEnum) | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' | [optional] +**message** | **String** | Descriptive message for the error. | [optional] **details** | [**List<InlineResponse4006Details>**](InlineResponse4006Details.md) | | [optional] -**informationLink** | **String** | | [optional] -**message** | **String** | | -**reason** | [**ReasonEnum**](#ReasonEnum) | | ## Enum: ReasonEnum Name | Value ---- | ----- -INVALID_APIKEY | "INVALID_APIKEY" -INVALID_SHIPPING_INPUT_PARAMS | "INVALID_SHIPPING_INPUT_PARAMS" -CAPTURE_CONTEXT_INVALID | "CAPTURE_CONTEXT_INVALID" -CAPTURE_CONTEXT_EXPIRED | "CAPTURE_CONTEXT_EXPIRED" -SDK_XHR_ERROR | "SDK_XHR_ERROR" -UNIFIEDPAYMENTS_VALIDATION_PARAMS | "UNIFIEDPAYMENTS_VALIDATION_PARAMS" -UNIFIEDPAYMENTS_VALIDATION_FIELDS | "UNIFIEDPAYMENTS_VALIDATION_FIELDS" -UNIFIEDPAYMENT_PAYMENT_PARAMITERS | "UNIFIEDPAYMENT_PAYMENT_PARAMITERS" -CREATE_TOKEN_TIMEOUT | "CREATE_TOKEN_TIMEOUT" -CREATE_TOKEN_XHR_ERROR | "CREATE_TOKEN_XHR_ERROR" -SHOW_LOAD_CONTAINER_SELECTOR | "SHOW_LOAD_CONTAINER_SELECTOR" -SHOW_LOAD_INVALID_CONTAINER | "SHOW_LOAD_INVALID_CONTAINER" -SHOW_TOKEN_TIMEOUT | "SHOW_TOKEN_TIMEOUT" -SHOW_TOKEN_XHR_ERROR | "SHOW_TOKEN_XHR_ERROR" -SHOW_PAYMENT_TIMEOUT | "SHOW_PAYMENT_TIMEOUT" +INVALID_DATA | "INVALID_DATA" +SYSTEM_ERROR | "SYSTEM_ERROR" +RESOURCE_NOT_FOUND | "RESOURCE_NOT_FOUND" diff --git a/docs/InlineResponse4006Details.md b/docs/InlineResponse4006Details.md index b7abc988..9444c4be 100644 --- a/docs/InlineResponse4006Details.md +++ b/docs/InlineResponse4006Details.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**location** | **String** | | [optional] -**message** | **String** | | [optional] +**field** | **String** | This is the flattened JSON object field name/path that is either missing or invalid. | [optional] +**reason** | **String** | Possible reasons for the error. | [optional] diff --git a/docs/InlineResponse4041.md b/docs/InlineResponse4041.md index 4098da12..eba24987 100644 --- a/docs/InlineResponse4041.md +++ b/docs/InlineResponse4041.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **status** | **String** | The http status description of the submitted request. | [optional] **reason** | [**ReasonEnum**](#ReasonEnum) | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' | [optional] **message** | **String** | Descriptive message for the error. | [optional] -**details** | [**List<InlineResponse4005Details>**](InlineResponse4005Details.md) | | [optional] +**details** | [**List<InlineResponse4006Details>**](InlineResponse4006Details.md) | | [optional] diff --git a/docs/InlineResponse4221.md b/docs/InlineResponse4221.md index ca9b7078..e72236d3 100644 --- a/docs/InlineResponse4221.md +++ b/docs/InlineResponse4221.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **status** | **String** | The http status description of the submitted request. | [optional] **reason** | [**ReasonEnum**](#ReasonEnum) | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' | [optional] **message** | **String** | Descriptive message for the error. | [optional] -**details** | [**List<InlineResponse4005Details>**](InlineResponse4005Details.md) | | [optional] +**details** | [**List<InlineResponse4006Details>**](InlineResponse4006Details.md) | | [optional] diff --git a/docs/PatchInstrumentIdentifierRequest.md b/docs/PatchInstrumentIdentifierRequest.md index dda137f9..2b0c6e10 100644 --- a/docs/PatchInstrumentIdentifierRequest.md +++ b/docs/PatchInstrumentIdentifierRequest.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **tokenProvisioningInformation** | [**Ptsv2paymentsTokenInformationTokenProvisioningInformation**](Ptsv2paymentsTokenInformationTokenProvisioningInformation.md) | | [optional] **card** | [**TmsEmbeddedInstrumentIdentifierCard**](TmsEmbeddedInstrumentIdentifierCard.md) | | [optional] **bankAccount** | [**TmsEmbeddedInstrumentIdentifierBankAccount**](TmsEmbeddedInstrumentIdentifierBankAccount.md) | | [optional] -**tokenizedCard** | [**TmsEmbeddedInstrumentIdentifierTokenizedCard**](TmsEmbeddedInstrumentIdentifierTokenizedCard.md) | | [optional] +**tokenizedCard** | [**Tmsv2TokenizedCard**](Tmsv2TokenizedCard.md) | | [optional] **issuer** | [**TmsEmbeddedInstrumentIdentifierIssuer**](TmsEmbeddedInstrumentIdentifierIssuer.md) | | [optional] **processingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **billTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] diff --git a/docs/PostInstrumentIdentifierEnrollmentRequest.md b/docs/PostInstrumentIdentifierEnrollmentRequest.md index a36f1779..370a8c2d 100644 --- a/docs/PostInstrumentIdentifierEnrollmentRequest.md +++ b/docs/PostInstrumentIdentifierEnrollmentRequest.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **tokenProvisioningInformation** | [**Ptsv2paymentsTokenInformationTokenProvisioningInformation**](Ptsv2paymentsTokenInformationTokenProvisioningInformation.md) | | [optional] **card** | [**TmsEmbeddedInstrumentIdentifierCard**](TmsEmbeddedInstrumentIdentifierCard.md) | | [optional] **bankAccount** | [**TmsEmbeddedInstrumentIdentifierBankAccount**](TmsEmbeddedInstrumentIdentifierBankAccount.md) | | [optional] -**tokenizedCard** | [**TmsEmbeddedInstrumentIdentifierTokenizedCard**](TmsEmbeddedInstrumentIdentifierTokenizedCard.md) | | [optional] +**tokenizedCard** | [**Tmsv2TokenizedCard**](Tmsv2TokenizedCard.md) | | [optional] **issuer** | [**TmsEmbeddedInstrumentIdentifierIssuer**](TmsEmbeddedInstrumentIdentifierIssuer.md) | | [optional] **processingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **billTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] diff --git a/docs/PostInstrumentIdentifierRequest.md b/docs/PostInstrumentIdentifierRequest.md index 555fa226..44c55221 100644 --- a/docs/PostInstrumentIdentifierRequest.md +++ b/docs/PostInstrumentIdentifierRequest.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **tokenProvisioningInformation** | [**Ptsv2paymentsTokenInformationTokenProvisioningInformation**](Ptsv2paymentsTokenInformationTokenProvisioningInformation.md) | | [optional] **card** | [**TmsEmbeddedInstrumentIdentifierCard**](TmsEmbeddedInstrumentIdentifierCard.md) | | [optional] **bankAccount** | [**TmsEmbeddedInstrumentIdentifierBankAccount**](TmsEmbeddedInstrumentIdentifierBankAccount.md) | | [optional] -**tokenizedCard** | [**TmsEmbeddedInstrumentIdentifierTokenizedCard**](TmsEmbeddedInstrumentIdentifierTokenizedCard.md) | | [optional] +**tokenizedCard** | [**Tmsv2TokenizedCard**](Tmsv2TokenizedCard.md) | | [optional] **issuer** | [**TmsEmbeddedInstrumentIdentifierIssuer**](TmsEmbeddedInstrumentIdentifierIssuer.md) | | [optional] **processingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **billTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] diff --git a/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md b/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md index 8d6ecda9..58ef343b 100644 --- a/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md +++ b/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **approvalCode** | **String** | Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000. | [optional] **transactionId** | **String** | Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"processorInformation.networkTransactionId\" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003 | [optional] +**networkTransactionId** | **String** | Same value as `processorInformation.transactionId` | [optional] **responseCode** | **String** | For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3) | [optional] **systemTraceAuditNumber** | **String** | This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt. | [optional] **responseDetails** | **String** | This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. | [optional] diff --git a/docs/PtsV2PaymentsReversalsPost201Response.md b/docs/PtsV2PaymentsReversalsPost201Response.md index 75127f0f..f0a5148b 100644 --- a/docs/PtsV2PaymentsReversalsPost201Response.md +++ b/docs/PtsV2PaymentsReversalsPost201Response.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **links** | [**PtsV2IncrementalAuthorizationPatch201ResponseLinks**](PtsV2IncrementalAuthorizationPatch201ResponseLinks.md) | | [optional] **id** | **String** | 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] **submitTimeUtc** | **String** | 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** | **String** | The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED | [optional] +**status** | **String** | The status of the submitted transaction. Possible values: - REVERSED | [optional] **reconciliationId** | **String** | Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response. | [optional] **clientReferenceInformation** | [**PtsV2PaymentsPost201ResponseClientReferenceInformation**](PtsV2PaymentsPost201ResponseClientReferenceInformation.md) | | [optional] **reversalAmountDetails** | [**PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails**](PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.md) | | [optional] diff --git a/docs/Ptsv2paymentsRecurringPaymentInformation.md b/docs/Ptsv2paymentsRecurringPaymentInformation.md index 637872a1..78a1e72f 100644 --- a/docs/Ptsv2paymentsRecurringPaymentInformation.md +++ b/docs/Ptsv2paymentsRecurringPaymentInformation.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**endDate** | **String** | The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. | [optional] -**frequency** | **Integer** | Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. | [optional] +**endDate** | **String** | The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. | +**frequency** | **Integer** | Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. | **numberOfPayments** | **Integer** | Total number of payments for the duration of the recurring subscription. | [optional] **originalPurchaseDate** | **String** | Date of original purchase. Required for recurring transactions. Format: `YYYY-MM-DDTHH:MM:SSZ` **Note**: If this field is empty, the current date is used. | [optional] **sequenceNumber** | **Integer** | This field is mandatory for Cartes Bancaires recurring transactions on Credit Mutuel-CIC. This field records recurring sequence, e.g. 1st for initial, 2 for subsequent, 3 etc | [optional] diff --git a/docs/Ptsv2paymentsidClientReferenceInformation.md b/docs/Ptsv2paymentsidClientReferenceInformation.md index 4bbeddbb..9292bb4c 100644 --- a/docs/Ptsv2paymentsidClientReferenceInformation.md +++ b/docs/Ptsv2paymentsidClientReferenceInformation.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **applicationName** | **String** | 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] **applicationVersion** | **String** | Version of the CyberSource application or integration used for a transaction. | [optional] **applicationUser** | **String** | 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] +**transactionId** | **String** | Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests. | [optional] diff --git a/docs/Riskv1authenticationresultsPaymentInformation.md b/docs/Riskv1authenticationresultsPaymentInformation.md index 681a11ca..d93be804 100644 --- a/docs/Riskv1authenticationresultsPaymentInformation.md +++ b/docs/Riskv1authenticationresultsPaymentInformation.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **card** | [**Riskv1authenticationresultsPaymentInformationCard**](Riskv1authenticationresultsPaymentInformationCard.md) | | [optional] **tokenizedCard** | [**Riskv1authenticationresultsPaymentInformationTokenizedCard**](Riskv1authenticationresultsPaymentInformationTokenizedCard.md) | | [optional] **fluidData** | [**Riskv1authenticationresultsPaymentInformationFluidData**](Riskv1authenticationresultsPaymentInformationFluidData.md) | | [optional] -**customer** | [**Ptsv2paymentsPaymentInformationCustomer**](Ptsv2paymentsPaymentInformationCustomer.md) | | [optional] +**customer** | [**Riskv1authenticationsPaymentInformationCustomer**](Riskv1authenticationsPaymentInformationCustomer.md) | | [optional] diff --git a/docs/Riskv1authenticationsPaymentInformation.md b/docs/Riskv1authenticationsPaymentInformation.md index cb9bfa37..b70551b1 100644 --- a/docs/Riskv1authenticationsPaymentInformation.md +++ b/docs/Riskv1authenticationsPaymentInformation.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **card** | [**Riskv1authenticationsetupsPaymentInformationCard**](Riskv1authenticationsetupsPaymentInformationCard.md) | | [optional] **tokenizedCard** | [**Riskv1authenticationsPaymentInformationTokenizedCard**](Riskv1authenticationsPaymentInformationTokenizedCard.md) | | [optional] **fluidData** | [**Riskv1authenticationsetupsPaymentInformationFluidData**](Riskv1authenticationsetupsPaymentInformationFluidData.md) | | [optional] -**customer** | [**Ptsv2paymentsPaymentInformationCustomer**](Ptsv2paymentsPaymentInformationCustomer.md) | | [optional] +**customer** | [**Riskv1authenticationsPaymentInformationCustomer**](Riskv1authenticationsPaymentInformationCustomer.md) | | [optional] diff --git a/docs/Riskv1authenticationsPaymentInformationCustomer.md b/docs/Riskv1authenticationsPaymentInformationCustomer.md new file mode 100644 index 00000000..1cb86d01 --- /dev/null +++ b/docs/Riskv1authenticationsPaymentInformationCustomer.md @@ -0,0 +1,11 @@ + +# Riskv1authenticationsPaymentInformationCustomer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customerId** | **String** | Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | +**id** | **String** | Unique identifier for the Customer token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | [optional] + + + diff --git a/docs/Riskv1authenticationsetupsPaymentInformationCustomer.md b/docs/Riskv1authenticationsetupsPaymentInformationCustomer.md index 6b0903bb..7cffd0b3 100644 --- a/docs/Riskv1authenticationsetupsPaymentInformationCustomer.md +++ b/docs/Riskv1authenticationsetupsPaymentInformationCustomer.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customerId** | **String** | Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | [optional] +**customerId** | **String** | Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | diff --git a/docs/Riskv1decisionsConsumerAuthenticationInformation.md b/docs/Riskv1decisionsConsumerAuthenticationInformation.md index 792d11d5..b9d44683 100644 --- a/docs/Riskv1decisionsConsumerAuthenticationInformation.md +++ b/docs/Riskv1decisionsConsumerAuthenticationInformation.md @@ -12,7 +12,6 @@ Name | Type | Description | Notes **authenticationDate** | **String** | The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS | [optional] **authenticationTransactionId** | **String** | Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service. | [optional] **transactionFlowIndicator** | **Integer** | This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW- Transaction performed at domestic merchant. 02:TW- Transaction performed at domestic merchant along with Token provisioning. 03:IT- Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. 08:GC- Guest Checkout 09:ST- SI Authentication Transaction only 10:SW- SI Authorization along with token provisioning | [optional] -**challengeCancelCode** | **String** | An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK | [optional] **challengeCode** | **String** | Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. | [optional] **challengeStatus** | **String** | The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used. | [optional] **customerCardAlias** | **String** | An alias that uniquely identifies the customer's account and credit card on file. Note This field is required if Tokenization is enabled in the merchant profile settings. | [optional] diff --git a/docs/TmsEmbeddedInstrumentIdentifier.md b/docs/TmsEmbeddedInstrumentIdentifier.md index 99284568..484ec2b9 100644 --- a/docs/TmsEmbeddedInstrumentIdentifier.md +++ b/docs/TmsEmbeddedInstrumentIdentifier.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **tokenProvisioningInformation** | [**Ptsv2paymentsTokenInformationTokenProvisioningInformation**](Ptsv2paymentsTokenInformationTokenProvisioningInformation.md) | | [optional] **card** | [**TmsEmbeddedInstrumentIdentifierCard**](TmsEmbeddedInstrumentIdentifierCard.md) | | [optional] **bankAccount** | [**TmsEmbeddedInstrumentIdentifierBankAccount**](TmsEmbeddedInstrumentIdentifierBankAccount.md) | | [optional] -**tokenizedCard** | [**TmsEmbeddedInstrumentIdentifierTokenizedCard**](TmsEmbeddedInstrumentIdentifierTokenizedCard.md) | | [optional] +**tokenizedCard** | [**Tmsv2TokenizedCard**](Tmsv2TokenizedCard.md) | | [optional] **issuer** | [**TmsEmbeddedInstrumentIdentifierIssuer**](TmsEmbeddedInstrumentIdentifierIssuer.md) | | [optional] **processingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **billTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] diff --git a/docs/TmsEmbeddedInstrumentIdentifierTokenizedCard.md b/docs/Tmsv2TokenizedCard.md similarity index 92% rename from docs/TmsEmbeddedInstrumentIdentifierTokenizedCard.md rename to docs/Tmsv2TokenizedCard.md index 4e97c550..bc851738 100644 --- a/docs/TmsEmbeddedInstrumentIdentifierTokenizedCard.md +++ b/docs/Tmsv2TokenizedCard.md @@ -1,5 +1,5 @@ -# TmsEmbeddedInstrumentIdentifierTokenizedCard +# Tmsv2TokenizedCard ## Properties Name | Type | Description | Notes @@ -14,7 +14,8 @@ Name | Type | Description | Notes **expirationMonth** | **String** | Two-digit month in which the network token expires. Format: `MM`. Possible Values: `01` through `12`. | [optional] **expirationYear** | **String** | Four-digit year in which the network token expires. Format: `YYYY`. | [optional] **cryptogram** | **String** | Generated value used in conjunction with the network token for making a payment. | [optional] -**card** | [**TmsEmbeddedInstrumentIdentifierTokenizedCardCard**](TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md) | | [optional] +**card** | [**Tmsv2TokenizedCardCard**](Tmsv2TokenizedCardCard.md) | | [optional] +**metadata** | [**Tmsv2TokenizedCardMetadata**](Tmsv2TokenizedCardMetadata.md) | | [optional] diff --git a/docs/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md b/docs/Tmsv2TokenizedCardCard.md similarity index 91% rename from docs/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md rename to docs/Tmsv2TokenizedCardCard.md index a8269243..aa1ea19b 100644 --- a/docs/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md +++ b/docs/Tmsv2TokenizedCardCard.md @@ -1,5 +1,5 @@ -# TmsEmbeddedInstrumentIdentifierTokenizedCardCard +# Tmsv2TokenizedCardCard ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2TokenizedCardMetadata.md b/docs/Tmsv2TokenizedCardMetadata.md new file mode 100644 index 00000000..d745ea6f --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadata.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cardArt** | [**Tmsv2TokenizedCardMetadataCardArt**](Tmsv2TokenizedCardMetadataCardArt.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArt.md b/docs/Tmsv2TokenizedCardMetadataCardArt.md new file mode 100644 index 00000000..9a00a69a --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArt.md @@ -0,0 +1,16 @@ + +# Tmsv2TokenizedCardMetadataCardArt + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**combinedAsset** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAsset**](Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md) | | [optional] +**brandLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md) | | [optional] +**coBrandLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md) | | [optional] +**issuerLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md) | | [optional] +**iconAsset** | [**Tmsv2TokenizedCardMetadataCardArtIconAsset**](Tmsv2TokenizedCardMetadataCardArtIconAsset.md) | | [optional] +**foregroundColor** | **String** | The foreground color of the brand logo asset. | [optional] +**backgroundAsset** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAsset**](Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md new file mode 100644 index 00000000..da04dc89 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md @@ -0,0 +1,11 @@ + +# Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The Id of the icon asset. | [optional] +**links** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks**](Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md new file mode 100644 index 00000000..bc9cc1c2 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md new file mode 100644 index 00000000..b1d4fd7d --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the background asset. | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md new file mode 100644 index 00000000..3b1af0b9 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md @@ -0,0 +1,11 @@ + +# Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The Id of the brand logo asset. | [optional] +**links** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md new file mode 100644 index 00000000..1d133f0a --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md new file mode 100644 index 00000000..29f7f2de --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the brand logo asset. | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md new file mode 100644 index 00000000..1444a2ac --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md @@ -0,0 +1,11 @@ + +# Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The Id of the co-brand logo asset. | [optional] +**links** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md new file mode 100644 index 00000000..33f6a005 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md new file mode 100644 index 00000000..2f3aec9a --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the co-brand logo asset. | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md new file mode 100644 index 00000000..6181fef9 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md @@ -0,0 +1,11 @@ + +# Tmsv2TokenizedCardMetadataCardArtCombinedAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The Id of the combined asset. | [optional] +**links** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks**](Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md new file mode 100644 index 00000000..cfda17c9 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md new file mode 100644 index 00000000..0b5455c2 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the combined asset. | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md new file mode 100644 index 00000000..30c39b74 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md @@ -0,0 +1,11 @@ + +# Tmsv2TokenizedCardMetadataCardArtIconAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The Id of the icon asset. | [optional] +**links** | [**Tmsv2TokenizedCardMetadataCardArtIconAssetLinks**](Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md new file mode 100644 index 00000000..19cd26e2 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md new file mode 100644 index 00000000..bd86701c --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the icon asset. | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md new file mode 100644 index 00000000..aa0c29e3 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md @@ -0,0 +1,11 @@ + +# Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The Id of the issuer logo asset. | [optional] +**links** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md new file mode 100644 index 00000000..0640d5ad --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md) | | [optional] + + + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md new file mode 100644 index 00000000..63e46c0d --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md @@ -0,0 +1,10 @@ + +# Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **String** | Link to the issuer logo asset. | [optional] + + + diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index 571dcfef..4ba142be 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -88,6 +88,10 @@ { "name": "Microform Integration" }, + { + "name": "Flex API", + "description": "The Flex API enables merchants to securely accept customer payment information captured within a server-side application using a set of APIs.\nThese APIs protect your customer's primary account number (PAN), card verification number (CVN), and other payment information by embedding it within a transient token.\nThis allows payment data to be stored and transported and complies with the Payment Card Industry Data Security Standard (PCI DSS) policies and procedures. These transient tokens can be validated by the receiver to ensure the data integrity and protect against data injection attacks.\n\n**Warning:** Flex API is intended for server-side applications only. Do not use the Flex API in client-side applications. To add secure payments directly into client-side code, use Unified Checkout.\n\n**How It Works**
\nFollow these steps to capture payments using the Flex API:\n* Establish a payment session with a predefined customer context.\n* Validate the JSON Web Token.\n* Populate the JSON Web Token with customer information.\n\n**Customer Context**
\nAn important benefit of the Flex API is managing Personal Identifiable Information (PII). You can set up your customer context to include all PII associated with transactions, protecting this information from third parties.\n" + }, { "name": "Decision Manager", "description": "REST API for the Decision Manager Service" @@ -285,6 +289,10 @@ "name": "Flex_Microform", "description": "Microform Integration is a lightweight acceptance solution designed to safely and securely accept payment information within your web page. Microform is designed to a be embedded seamlessly within your existing webpage experience, blending in with your existing acceptance form. This solution allows for the replacement of sensitive payment date with a transient token (a short lived reference to the sensitive payment data). For more information about Flex Microform transactions, see the [Flex Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-flex/SAFlexibleToken.html). For examples on how to integrate Flex Microform within your webpage please see our [GitHub Flex Samples](https://github.com/CyberSource?q=flex&type=&language=)" }, + { + "name": "Flex_API", + "description": "For more information about Flex API, please see [Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/digital-accept-flex/developer/all/rest/digital-accept-flex/da-flex-api-intro.html)." + }, { "name": "Risk_Management" }, @@ -4830,6 +4838,10 @@ "recurringPaymentInformation": { "type": "object", "description": "This object contains recurring payment information.", + "required": [ + "frequency", + "endDate" + ], "properties": { "endDate": { "type": "string", @@ -8660,7 +8672,8 @@ "address1": "34 Orchard Grove", "locality": "Southampton", "postalCode": "DE6 1BE", - "country": "UK" + "country": "GB", + "email": "test@cybs.com" }, "amountDetails": { "totalAmount": "28.00", @@ -8682,7 +8695,7 @@ "lastName": "Root", "address1": "34 Orchard Grove", "locality": "Southampton", - "countryCode": "UK" + "countryCode": "GB" }, "recipientInformation": { "firstName": "Ben", @@ -10164,6 +10177,388 @@ } }, "parentTag": "Card Present with Visa Platform Connect" + }, + "example67": { + "summary": "CIT Initiating Recurring Subscription", + "sample-name": "CIT Initiating Recurring Subscription", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "vbv", + "authorizationOptions": { + "initiator": { + "credentialStoredOnFile": true + } + }, + "recurringOptions": { + "firstRecurringPayment": true + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "consumerAuthenticationInformation": { + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + } + }, + "parentTag": "MIT Framework" + }, + "example68": { + "summary": "MIT Recurring", + "sample-name": "MIT Recurring", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "recurring", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + }, + "parentTag": "MIT Framework" + }, + "example69": { + "summary": "CIT Initiating Instalment Subscription - UK", + "sample-name": "CIT Initiating Instalment Subscription - UK", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "vbv", + "authorizationOptions": { + "initiator": { + "credentialStoredOnFile": true + } + }, + "recurringOptions": { + "firstRecurringPayment": true + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "consumerAuthenticationInformation": { + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + } + }, + "parentTag": "MIT Framework" + }, + "example70": { + "summary": "MIT Instalment", + "sample-name": "MIT Instalment", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "install", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + }, + "parentTag": "MIT Framework" + }, + "example71": { + "summary": "CIT Placing Credential on File", + "sample-name": "CIT Placing Credential on File", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "vbv", + "authorizationOptions": { + "initiator": { + "credentialStoredOnFile": true + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "consumerAuthenticationInformation": { + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + } + }, + "parentTag": "MIT Framework" + }, + "example72": { + "summary": "MIT Unscheduled Credential on File", + "sample-name": "MIT Unscheduled Credential on File", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "internet", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + }, + "parentTag": "MIT Framework" + }, + "example73": { + "summary": "MIT Industry Practice - Resubmission", + "sample-name": "MIT Industry Practice - Resubmission", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "moto", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "reason": "1", + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + }, + "parentTag": "MIT Framework" + }, + "example74": { + "summary": "MIT Industry Practice - Delayed Charge - 3RI Visa", + "sample-name": "MIT Industry Practice - Delayed Charge - 3RI Visa", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "vbv", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "reason": "2", + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "consumerAuthenticationInformation": { + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=", + "paresStatus": "Y" + } + }, + "parentTag": "MIT Framework" } } } @@ -10234,6 +10629,11 @@ "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" + }, + "transactionId": { + "type": "string", + "maxLength": 30, + "description": "Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request.\n\n**Note** Use this field only if you want to support merchant-initiated reversal and void operations.\n\n#### Used by\n**Authorization, Authorization Reversal, Capture, Credit, and Void**\nOptional field.\n\n#### PIN Debit\nFor a PIN debit reversal, your request must include a request ID or a merchant transaction identifier.\nOptional field for PIN debit purchase or credit requests.\n" } } }, @@ -10419,6 +10819,10 @@ "maxLength": 50, "description": "Network transaction identifier (TID). You can use this value to identify a specific transaction when you are\ndiscussing the transaction with your processor. Not all processors provide this value.\n\nReturned by the authorization service.\n\n#### PIN debit\nTransaction identifier generated by the processor.\n\nReturned by PIN debit credit.\n\n#### GPX\nProcessor transaction ID.\n\n#### Cielo\nFor Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank.\n\n#### Comercio Latino\nFor Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank.\n\n#### CyberSource through VisaNet and GPN\nFor details about this value for CyberSource through VisaNet and GPN, see \"processorInformation.networkTransactionId\" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf)\n\n#### Moneris\nThis value identifies the transaction on a host system. It contains the following information:\n- Terminal used to process the transaction\n- Shift during which the transaction took place\n- Batch number\n- Transaction number within the batch\nYou must store this value. If you give the customer a receipt, display this value on the receipt.\n\n**Example** For the value\n66012345001069003:\n- Terminal ID = 66012345\n- Shift number = 001\n- Batch number = 069\n- Transaction number = 003\n" }, + "networkTransactionId": { + "type": "string", + "description": "Same value as `processorInformation.transactionId`" + }, "responseCode": { "type": "string", "maxLength": 10, @@ -10986,7 +11390,7 @@ }, "status": { "type": "string", - "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n - PARTIALLY_REVERSED\n" + "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n" }, "reconciliationId": { "type": "string", @@ -11557,7 +11961,7 @@ }, "status": { "type": "string", - "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n - PARTIALLY_REVERSED\n" + "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n" }, "reconciliationId": { "type": "string", @@ -33361,6 +33765,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -33445,6 +33850,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -34258,6 +34845,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -34342,6 +34930,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -35473,6 +36243,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -35557,6 +36328,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -36685,6 +37638,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -36769,6 +37723,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -37591,6 +38727,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -37675,6 +38812,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -42027,6 +43346,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -42111,6 +43431,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -42672,6 +44174,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -42756,6 +44259,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -43850,6 +45535,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -43934,6 +45620,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -44843,6 +46711,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -44927,6 +46796,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -45799,6 +47850,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -45883,6 +47935,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -46440,6 +48674,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -46524,6 +48759,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -47932,6 +50349,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -48016,6 +50434,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -48559,6 +51159,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -48643,6 +51244,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -49587,6 +52370,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -49671,6 +52455,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -50534,6 +53500,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -50618,6 +53585,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -51175,6 +54324,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -51259,6 +54409,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -52232,6 +55564,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -52316,6 +55649,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -52552,6 +56067,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -52636,6 +56152,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -52860,6 +56558,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -52944,6 +56643,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -53514,6 +57395,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -53598,6 +57480,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -54155,6 +58219,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -54239,6 +58304,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -54489,6 +58736,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -54573,6 +58821,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -56014,6 +60444,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -56098,6 +60529,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -56657,6 +61270,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -56741,6 +61355,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -57839,6 +62635,613 @@ "x-sampleResponse": "eyJraWQiOiJ6dSIsImFsZyI6IlJTMjU2In0.eyJmbHgiOnsicGF0aCI6Ii9mbGV4L3YyL3Rva2VucyIsImRhdGEiOiJVUmIycEtZa2xhU0M4OW43ai9CWEJCQUFFQ1ZjVjRlU0xoTThvdDc5anRFREp4Vk1PdUFDRCtaUU03UGEydEhkbm5ENzh0MjBYcktCZVFnaUI4dysrZ0hNbHpBOUxqTng1K2MxNlo2VzJ2bGNaWGJyUmEydkUyRWFyaldlUUc0Q1pieEwiLCJvcmlnaW4iOiJodHRwczovL3Rlc3RmbGV4LmN5YmVyc291cmNlLmNvbSIsImp3ayI6eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsInVzZSI6ImVuYyIsIm4iOiJod3VBT0NWcG5YWk9mTXNHWWJ6dUQyYW81dndvZGNPMVVqa2RpS3RXdEh5dmMybS1iY1hwUTRGRTk3UDk3NV9KMVJwMWJiZW5jWjNCZW1lbUJ5aU9VajlHRVVkV25raXVyNE5VWmVkQVpzelFkbFFaSlAzdzZQWVoxREFUY05ZekZwYjRXbnQzQkpKSm9XM2p3aTlMLTY1cWNuYU5SWFppRTV1V0FlQnFQY085UmNDU1BtR3lsT3REUWEzT0d5ZXFESDl0S3piU2lKNGxHMW9FcExVRWw2N003V0xXeXR1R2tsOExXUExncmkybldoaEdLS2d5cFA3bEp5Qk5IX2FxUHVOT3A3YUFVYTlvZVRqV2t0WVpqUzNqbTFjTDVkazJ6VkFGU3JkRGdTYzd1VXMtZVdkZThOYW1zZHhZTHFzX3BFSW1XU3FteDVvc2tpenZWR1A3anciLCJraWQiOiIwNzZSRjlmMEZMdVRLaU9jZkhiNU1TSkZwZzZqODY2YSJ9fSwiY3R4IjpbeyJkYXRhIjp7ImNsaWVudExpYnJhcnkiOiJodHRwczovL3Rlc3RmbGV4LmN5YmVyc291cmNlLmNvbS9taWNyb2Zvcm0vYnVuZGxlL3YxL2ZsZXgtbWljcm9mb3JtLm1pbi5qcyIsInRhcmdldE9yaWdpbnMiOlsiaHR0cHM6Ly93d3cuY3liZXJzb3VyY2UtbWVyY2hhbnQuY29tIl0sIm1mT3JpZ2luIjoiaHR0cHM6Ly90ZXN0ZmxleC5jeWJlcnNvdXJjZS5jb20ifSwidHlwZSI6Im1mLTEuMC4wIn1dLCJpc3MiOiJGbGV4IEFQSSIsImV4cCI6MTY2NDkyNzM5NywiaWF0IjoxNjY0OTI2NDk3LCJqdGkiOiJybXBWQ0NCSW9sdWhYQ2E0In0.LlunfxI-deZ_Tqypz4ucNhhF_IYsB6ZhlKndgWdJe1vv91ekePZBU6icq6aDVUAFuDR5MmjCQc7IsQNhCiZGf6uqV9YFLokhEZdnHOHkpwE1viH9GoddsdiSvBcJrYJ4FsV49JK2xRNvGTxNKR62wiO2YqPhNm934b2bbsjyYyDByw2wEZhJyAPBIDJk6IF2IvR4kq1lNyAtFs4EXVO2tqBATvj1nahqHMqUlrTsOGY96XioXl1YKnqeM1g5lREqoxR3M8HsWm2kCSsGyirIWLEaOYYEvWcKNBmkhW410XEYfb3hrg-H7irLe0_4OICdV1FyY-AsjbzO7mO17BENQg" } }, + "/flex/v2/sessions": { + "post": { + "summary": "Establish a Payment Session with a Capture Context", + "description": "To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. \nTo determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session.\n\n**Capture Context Fields**
\nWhen making a session request, any fields that you request to be added to the capture context are required by default. \nHowever, you can choose to make a field optional by setting the required parameter to false.\n", + "parameters": [ + { + "in": "body", + "name": "generateFlexAPICaptureContextRequest", + "required": true, + "schema": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "properties": { + "orderInformation": { + "type": "object", + "properties": { + "amountDetails": { + "type": "object", + "properties": { + "totalAmount": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "currency": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "address1": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "address2": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "administrativeArea": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "buildingNumber": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "country": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "district": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "locality": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "postalCode": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "email": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "firstName": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "lastName": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "phoneNumber": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "company": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + } + } + }, + "shipTo": { + "type": "object", + "properties": { + "address1": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "address2": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "administrativeArea": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "buildingNumber": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "country": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "district": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "locality": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "postalCode": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "firstName": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "lastName": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "company": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + } + } + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "number": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "type": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "securityCode": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "expirationMonth": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "expirationYear": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Flex API" + ], + "operationId": "generateFlexAPICaptureContext", + "x-devcenter-metaData": { + "categoryTag": "Flex_API", + "firstLevelApiLifeCycle": "hidden", + "secondLevelApiLifeCycle": "hidden", + "apiLifeCycle": "hidden", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/digital-accept-flex/developer/all/rest/digital-accept-flex/da-flex-api-intro.html", + "disableProcessorDropDown": true + }, + "produces": [ + "application/jwt" + ], + "x-example": { + "example0": { + "summary": "Generate Capture Context specifying the set of fields to be provided in JWE sent to /v2/tokens endpoint.", + "value": { + "fields": { + "orderInformation": { + "amountDetails": { + "totalAmount": { + "required": true + }, + "currency": { + "required": true + } + }, + "billTo": { + "address1": { + "required": true + }, + "address2": { + "required": false + }, + "administrativeArea": { + "required": true + }, + "buildingNumber": { + "required": true + }, + "country": { + "required": true + }, + "district": { + "required": false + }, + "locality": { + "required": true + }, + "postalCode": { + "required": true + }, + "email": { + "required": true + }, + "firstName": { + "required": true + }, + "lastName": { + "required": true + }, + "phoneNumber": { + "required": true + }, + "company": { + "required": false + } + }, + "shipTo": { + "address1": { + "required": true + }, + "address2": { + "required": false + }, + "administrativeArea": { + "required": false + }, + "buildingNumber": { + "required": true + }, + "country": { + "required": true + }, + "district": { + "required": false + }, + "locality": { + "required": true + }, + "postalCode": { + "required": true + }, + "email": { + "required": true + }, + "firstName": { + "required": true + }, + "lastName": { + "required": true + }, + "phoneNumber": { + "required": true + }, + "company": { + "required": false + } + } + }, + "paymentInformation": { + "card": { + "number": { + "required": true + }, + "type": { + "required": true + }, + "securityCode": { + "required": false + }, + "expirationMonth": { + "required": true + }, + "expirationYear": { + "required": true + } + } + } + } + } + }, + "example1": { + "summary": "Generate Capture Context (Simple)", + "value": { + "fields": { + "paymentInformation": { + "card": { + "number": { + "required": true + }, + "type": { + "required": true + }, + "securityCode": { + "required": false + }, + "expirationMonth": { + "required": true + }, + "expirationYear": { + "required": true + } + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Capture Context Created", + "examples": { + "application/jwt": "eyJraWQiOiJ6dSIsImFsZyI6IlJTMjU2In0.eyJmbHgiOnsicGF0aCI6Ii9mbGV4L3YyL3Rva2VucyIsImRhdGEiOiJaNHVqZEZ3S1dsVWlGUTFWQWtydmF4QUFFQzdTOGJOVWs2ZWgzbXVXZm51U0dxM2FHdEdTUUsrS1dXMlNtaVg5RlBMWE5sc3VjbXV2SHk3R1A5eFR1Q3hXRXFlU3ZIWHMrYkhhWUhMcGhaVnZpb0lcdTAwM2QiLCJvcmlnaW4iOiJodHRwczovL3Rlc3RmbGV4LmN5YmVyc291cmNlLmNvbSIsImp3ayI6eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsInVzZSI6ImVuYyIsIm4iOiJpMHZtSDBmQTNVaTZWN0NvbmhvVHdwV01PeFhWdk5aUlVpWWFZSjktR0hKbmZlMUdYVERTLXk5bG1ibVFVUGZpMlVRakNoU3EyclNrZ2pxTExtRzFsRkZ5TjFINVFLSkVlUzhXWEdmeWdVNDBPc05YdDd2X1g0Mmo0a0RXVmNuV0xucGlsYndYZjhwRTh4NmUyWHBoVG5tRmZMR1phbGtUN21PYXVPdmNwdFlXUVZlVGU3bmZrWlZYZTFFN0ZmZ2taNXFkMnY1OVJ2Z1NhQmhkMko4ankyUVZidE5RNTZxMTlfc2h3bEJIYWc3dFdxbzg2S1Iwd0V3dkQyWmNENTFvZGtteFdudFVJaU1tT3VXUUFGTmVaQXBDYklySlc1SFVSdTNHM1g4M2pLM3h1NHZVQjI0WGRIdlExS215dW13RlJJWFRLZFB1TmtTOUtWRHMyemZvaVEiLCJraWQiOiIwOHhzd05TV2xDUnVzeWFHQklJRkVSOEN5M0JTNXB6ZCJ9fSwiY3R4IjpbeyJkYXRhIjp7ImFsbG93ZWRQYXltZW50VHlwZXMiOlt7InBhZ2UiOjEsInR5cGUiOiJQQU5FTlRSWSJ9LHsicGFnZSI6MiwidHlwZSI6IlNSQ1ZJU0EifSx7InBhZ2UiOjMsInR5cGUiOiJTUkNNQVNURVJDQVJEIn1dLCJwYXltZW50Q29uZmlndXJhdGlvbnMiOnsiU1JDVklTQSI6eyJvcmlnaW4iOiJodHRwczovL3NhbmRib3gtYXNzZXRzLnNlY3VyZS5jaGVja291dC52aXNhLmNvbSIsInBhdGgiOiIvY2hlY2tvdXQtd2lkZ2V0L3Jlc291cmNlcy9qcy9zcmMtaS1hZGFwdGVyL3Zpc2FTZGsuanMiLCJwYW5FbmNyeXB0aW9uS2V5Ijp7ImtpZCI6IlY2WVBMMERGSjJWNTZISUg2UTNGMTMzZmJaV3lBeUlIaldWU2VjeDZLTUY2aVRIR00iLCJlIjoiQVFBQiIsIm4iOiJzWlBJdXNEZjd5UW5uaEJrVTltdTE0Vk9PM0NydWkzYjdyQWYyS1llb2JVUm1YQTE3YjFKWDlqZzBDZC12Z3BtdXlUcnhCVVNjLTRiMC1VUGdTd0dGcVBXVXB4MDhFeHFyd1BET3ZGb2pCb3Uyd2x5cThiY3kwVXMtQmZlQ3pTRTVsTVZkU1hUWFhYY05xdS1xYjIyakNDQ0pBTHB4c0Fyc2JvTU9Yc0xlZGgzTTRYTlE1WEdBdFJmN2ItLXVUWTVEcjlLTFl5VXZaS0FuWTA0TUtKUEVPNTRZaUlGTTVEVEFoTk9tczA4OWpkTWR4LVVSSUtKalBVMi1ScEhHMXU4TENHMDI4UlRJcFBzTmJSYW51UzVUQVlfemx4RGdiMWhLSjM2WWJaRU5ITGc5UFhUQmhkT01sVTkwRFRMbGZjYkxUYS1EN0RnbGpBYVdDdXZ6TFBhR3cifSwicGFyYW1ldGVycyI6eyJzcmNJbml0aWF0b3JJZCI6IkpGQ1o4UVZPSkE3Nk5YWjY4RlpEMjFSWUl4ajN5UFpkaVV4a2ROdWliQmx4Z3dhUDQiLCJzcmNpRHBhSWQiOiJiOTIyY2VmMC0yOGQ5LTQ3OWUtYWFhZi0wOGI2MWYzM2VlN2IiLCJzcmNpVHJhbnNhY3Rpb25JZCI6ImJjOWZmNzgyLTM3NTctNDEyMS1hNGM4LTdkMDhkOGY3ZGQ4NiIsImRwYVRyYW5zYWN0aW9uT3B0aW9ucyI6eyJkcGFMb2NhbGUiOiJlbl9VUyIsInBheWxvYWRUeXBlSW5kaWNhdG9yIjoiRlVMTCIsInJldmlld0FjdGlvbiI6ImNvbnRpbnVlIiwiZHBhQWNjZXB0ZWRCaWxsaW5nQ291bnRyaWVzIjpbXSwiZHBhQWNjZXB0ZWRTaGlwcGluZ0NvdW50cmllcyI6WyJVUyIsIkdCIl0sImRwYUJpbGxpbmdQcmVmZXJlbmNlIjoiQUxMIiwiZHBhU2hpcHBpbmdQcmVmZXJlbmNlIjoiQUxMIiwiY29uc3VtZXJOYW1lUmVxdWVzdGVkIjp0cnVlLCJjb25zdW1lckVtYWlsQWRkcmVzc1JlcXVlc3RlZCI6dHJ1ZSwiY29uc3VtZXJQaG9uZU51bWJlclJlcXVlc3RlZCI6dHJ1ZSwidHJhbnNhY3Rpb25BbW91bnQiOnsidHJhbnNhY3Rpb25BbW91bnQiOiIyMS4wMCIsInRyYW5zYWN0aW9uQ3VycmVuY3lDb2RlIjoiVVNEIn0sInBheW1lbnRPcHRpb25zIjp7ImRwYVBhblJlcXVlc3RlZCI6dHJ1ZX19fX0sIlNSQ01BU1RFUkNBUkQiOnsib3JpZ2luIjoiaHR0cHM6Ly9zYW5kYm94LnNyYy5tYXN0ZXJjYXJkLmNvbSIsInBhdGgiOiIvc2RrL3NyY3Nkay5tYXN0ZXJjYXJkLmpzIiwicGFuRW5jcnlwdGlvbktleSI6eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsInVzZSI6ImVuYyIsImtpZCI6IjE0OTEyMy1zcmMtZnBhbi1lbmNyeXB0aW9uIiwia2V5X29wcyI6WyJ3cmFwS2V5IiwiZW5jcnlwdCJdLCJhbGciOiJSU0EtT0FFUC0yNTYiLCJuIjoidnQ0bkRTUFN0VGxNMU5OY3ljdklxVWY0eDE0STRqaVRxTVRLUGpHdGF5MHlmYTF2QnlOQ2htdXBwRHdFVDVnR0dscEw4Y2NqM1lWc0JpOV9iV29lX2FwcGtQd2h4ZDd3UjlSeXdWM3ptV3VNSWhNd2xrMGxuSEFNTDY1bnNIVk0zb0VwRXZDZkFQczFOWGx0VHlmam5rZ0ZFTkkzdEhxdHdkdE04ZVAwMnBwMGp2VzY5ZnlidnlWaEx6WHdTT2dKbnRqdGpSVjdoUXI1bGVkX2pXYjV6elhJNDhPVlRUX0Y5aWluRGR0WDV5M0UtaWY1V3RHWlVGRVRiX3RaRlpZbk1MYUxsSHd2YjZaa3I4NFJTd3dzTWYybkFMXzR6UDJVYWhNd3phbWhCb09TYXF5eEd4RXE2N0hyMVU4ekFDNWhsOUQ4TmJnU3dwV3hzT0RVckh4OXJ3In0sInBhcmFtZXRlcnMiOnsic3JjaVRyYW5zYWN0aW9uSWQiOiJiYzlmZjc4Mi0zNzU3LTQxMjEtYTRjOC03ZDA4ZDhmN2RkODYiLCJzcmNpRHBhSWQiOiJiOTIyY2VmMC0yOGQ5LTQ3OWUtYWFhZi0wOGI2MWYzM2VlN2IiLCJzcmNJbml0aWF0b3JJZCI6Ijg0NGY3ZTNkLTA3ZjAtNDRiMS1hMjM3LWU2NDI0NDRlMDUxMiIsImRwYVRyYW5zYWN0aW9uT3B0aW9ucyI6eyJ0cmFuc2FjdGlvblR5cGUiOiJQVVJDSEFTRSIsImRwYUxvY2FsZSI6ImVuX1VTIiwiZHBhQWNjZXB0ZWRTaGlwcGluZ0NvdW50cmllcyI6WyJVUyIsIkdCIl0sImNvbnN1bWVyRW1haWxBZGRyZXNzUmVxdWVzdGVkIjp0cnVlLCJjb25zdW1lclBob25lTnVtYmVyUmVxdWVzdGVkIjp0cnVlLCJ0cmFuc2FjdGlvbkFtb3VudCI6eyJ0cmFuc2FjdGlvbkFtb3VudCI6IjIxLjAwIiwidHJhbnNhY3Rpb25DdXJyZW5jeUNvZGUiOiJVU0QifSwiZHBhQWNjZXB0ZWRCaWxsaW5nQ291bnRyaWVzIjpbXSwiZHBhQmlsbGluZ1ByZWZlcmVuY2UiOiJGVUxMIiwiZHBhU2hpcHBpbmdQcmVmZXJlbmNlIjoiRlVMTCIsImNvbnN1bWVyTmFtZVJlcXVlc3RlZCI6dHJ1ZSwicGF5bG9hZFR5cGVJbmRpY2F0b3IiOiJGVUxMIn19fX0sImNhcHR1cmVNYW5kYXRlIjp7ImJpbGxpbmdUeXBlIjoiRlVMTCIsInJlcXVlc3RFbWFpbCI6dHJ1ZSwicmVxdWVzdFBob25lIjp0cnVlLCJyZXF1ZXN0U2hpcHBpbmciOnRydWUsInNoaXBUb0NvdW50cmllcyI6WyJVUyIsIkdCIl0sInNob3dBY2NlcHRlZE5ldHdvcmtJY29ucyI6dHJ1ZX0sIm9yZGVySW5mb3JtYXRpb24iOnsiYW1vdW50RGV0YWlscyI6eyJ0b3RhbEFtb3VudCI6IjIxLjAwIiwiY3VycmVuY3kiOiJVU0QifSwiYmlsbFRvIjp7ImFkZHJlc3MxIjoiMjc3IFBhcmsgQXZlbnVlIiwiYWRkcmVzczIiOiI1MHRoIEZsb29yIiwiYWRkcmVzczMiOiJEZXNrIE5ZLTUwMTEwIiwiYWRkcmVzczQiOiJhZGRyZXNzNCIsImFkbWluaXN0cmF0aXZlQXJlYSI6Ik5ZIiwiYnVpbGRpbmdOdW1iZXIiOiJidWlsZGluZ051bWJlciIsImNvdW50cnkiOiJVUyIsImRpc3RyaWN0IjoiZGlzdHJpY3QiLCJsb2NhbGl0eSI6Ik5ldyBZb3JrIiwicG9zdGFsQ29kZSI6IjEwMTcyIiwiY29tcGFueSI6eyJhZGRyZXNzMSI6IjkwMCBNZXRybyBDZW50ZXIgQmx2ZCIsImFkZHJlc3MyIjoiYWRkcmVzczIiLCJhZGRyZXNzMyI6ImFkZHJlc3MzIiwiYWRkcmVzczQiOiJhZGRyZXNzNCIsImFkbWluaXN0cmF0aXZlQXJlYSI6IkNBIiwiYnVpbGRpbmdOdW1iZXIiOiIxIiwiY291bnRyeSI6IlVTIiwiZGlzdHJpY3QiOiJkaXN0cmljdCIsImxvY2FsaXR5IjoiRm9zdGVyIENpdHkiLCJwb3N0YWxDb2RlIjoiOTQ0MDQiLCJuYW1lIjoiVmlzYSBJbmMifSwiZW1haWwiOiJqb2huLmRvZUB2aXNhLmNvbSIsImZpcnN0TmFtZSI6IkpvaG4iLCJsYXN0TmFtZSI6IkRvZSIsIm1pZGRsZU5hbWUiOiJGIiwibmFtZVN1ZmZpeCI6IkpyIiwidGl0bGUiOiJNciIsInBob25lTnVtYmVyIjoiMTIzNDU2Nzg5MCIsInBob25lVHlwZSI6InBob25lVHlwZSJ9LCJzaGlwVG8iOnsiYWRkcmVzczEiOiJDeWJlclNvdXJjZSIsImFkZHJlc3MyIjoiVmljdG9yaWEgSG91c2UiLCJhZGRyZXNzMyI6IjE1LTE3IEdsb3VjZXN0ZXIgU3RyZWV0IiwiYWRkcmVzczQiOiJzdHJpbmciLCJhZG1pbmlzdHJhdGl2ZUFyZWEiOiJDQSIsImJ1aWxkaW5nTnVtYmVyIjoic3RyaW5nIiwiY291bnRyeSI6IkdCIiwiZGlzdHJpY3QiOiJzdHJpbmciLCJsb2NhbGl0eSI6IkJlbGZhc3QiLCJwb3N0YWxDb2RlIjoiQlQxIDRMUyIsImZpcnN0TmFtZSI6IkpvZSIsImxhc3ROYW1lIjoiU29hcCJ9fSwidGFyZ2V0T3JpZ2lucyI6WyJodHRwczovL3RoZS11cC1kZW1vLmFwcHNwb3QuY29tIl0sImlmcmFtZXMiOnsibWNlIjoiL21jZS9pZnJhbWUuaHRtbCIsImJ1dHRvbnMiOiIvYnV0dG9ubGlzdC9pZnJhbWUuaHRtbCIsInNyYyI6Ii9zZWN1cmUtcmVtb3RlLWNvbW1lcmNlL3NyYy5odG1sIiwiZ29vZ2xlcGF5IjoiL2dvb2dsZXBheS9nb29nbGVwYXkuaHRtbCJ9LCJjbGllbnRWZXJzaW9uIjoiMC4xMSIsImNvdW50cnkiOiJVUyIsImxvY2FsZSI6ImVuX1VTIiwiYWxsb3dlZENhcmROZXR3b3JrcyI6WyJWSVNBIiwiTUFTVEVSQ0FSRCIsIkFNRVgiXSwiY3IiOiJaX1c0NldGZlNqWXFZY3FCb19sZGVnQ0Z4RUpnUzlKNWJZT2c2cmtZd2VkaEhpV3M2elowaFZEbU5mMmgxVUQ0eWx6OWJsOThUb0c1SC10bFZjQm54YnZZc0dBSVRDT0g5LTNNZHYyc1g0X3ZFMVY2eFpCeVU5SVcwaFEiLCJzZXJ2aWNlT3JpZ2luIjoiaHR0cHM6Ly9hcGl0ZXN0LmN5YmVyc291cmNlLmNvbSIsImNsaWVudExpYnJhcnkiOiJodHRwczovL2FwaXRlc3QuY3liZXJzb3VyY2UuY29tL3VwL3YxL2Fzc2V0cy8wLjExLjAvU2VjdXJlQWNjZXB0YW5jZS5qcyIsImFzc2V0c1BhdGgiOiIvdXAvdjEvYXNzZXRzLzAuMTEuMCIsImNsaWVudExpYnJhcnlJbnRlZ3JpdHkiOiJzaGEyNTYtSm1SY1QxVFpPaThpWlRTMEZWSFdOanR2REorN1ZsdnNPTXRTZ0tMZUtLTVx1MDAzZCJ9LCJ0eXBlIjoiZ2RhLTAuNy4wIn1dLCJpc3MiOiJGbGV4IEFQSSIsImV4cCI6MTY1OTEyMTk2MSwiaWF0IjoxNjU5MTIxMDYxLCJqdGkiOiJjZ0dBaG9hSFBhbWsxM2d3In0.GSYHGM3941-HLPFjSQT2m6Zus19L4H7tSJIHLuFCKRH_bY1bxFIZRGaI-994BdmhKgzlcE6XK8HQd2lJaD7JnJXAHkmjitg0XV0NVYGbrK7V4cOvT8VKWbMV794NWAAY26_UTjLAR5PGOvyTVOyRuHsItmVMgZ0TFc7x6LeWmjyveN1VeeRemkZHh02nETXh2NpqMk_5a_vXOgoOr56MClo4OqqvSHinXZhxNjIH4h6QwksmuIHKpvoXMWsghozn3va4VEXjp4OJ96NvHkcXGAWcPpLUQOAMks4fd7EoQz4-aFOcrqnV9Ut9p82CmoclWGhvjrakB_MUAabykcmXDA" + }, + "schema": { + "type": "string" + } + }, + "400": { + "description": "Bad Request: e.g. Merchant APIKey is invalid.", + "examples": { + "application/json": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "details": { + "location": "", + "message": "" + }, + "informationLink": "https://vdp.visa.com/docs/errors/invalid_merchant_configuration", + "message": "Merchant APIKEY is invalid", + "reason": "INVALID_APIKEY" + } + }, + "schema": { + "properties": { + "correlationId": { + "type": "string" + }, + "details": { + "items": { + "properties": { + "location": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "informationLink": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "enum": [ + "INVALID_APIKEY", + "INVALID_SHIPPING_INPUT_PARAMS", + "CAPTURE_CONTEXT_INVALID", + "CAPTURE_CONTEXT_EXPIRED", + "SDK_XHR_ERROR", + "UNIFIEDPAYMENTS_VALIDATION_PARAMS", + "UNIFIEDPAYMENTS_VALIDATION_FIELDS", + "UNIFIEDPAYMENT_PAYMENT_PARAMITERS", + "CREATE_TOKEN_TIMEOUT", + "CREATE_TOKEN_XHR_ERROR", + "SHOW_LOAD_CONTAINER_SELECTOR", + "SHOW_LOAD_INVALID_CONTAINER", + "SHOW_TOKEN_TIMEOUT", + "SHOW_TOKEN_XHR_ERROR", + "SHOW_PAYMENT_TIMEOUT" + ], + "type": "string" + } + }, + "required": [ + "message", + "reason" + ], + "type": "object" + } + }, + "500": { + "description": "Internal error.", + "examples": { + "application/json": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "details": { + "location": "", + "message": "" + }, + "informationLink": null, + "message": "The capture context has expired", + "reason": "CAPTURE_CONTEXT_EXPIRED" + } + }, + "schema": { + "properties": { + "correlationId": { + "type": "string" + }, + "details": { + "items": { + "properties": { + "location": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "informationLink": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "enum": [ + "INVALID_APIKEY", + "INVALID_SHIPPING_INPUT_PARAMS", + "CAPTURE_CONTEXT_INVALID", + "CAPTURE_CONTEXT_EXPIRED", + "SDK_XHR_ERROR", + "UNIFIEDPAYMENTS_VALIDATION_PARAMS", + "UNIFIEDPAYMENTS_VALIDATION_FIELDS", + "UNIFIEDPAYMENT_PAYMENT_PARAMITERS", + "CREATE_TOKEN_TIMEOUT", + "CREATE_TOKEN_XHR_ERROR", + "SHOW_LOAD_CONTAINER_SELECTOR", + "SHOW_LOAD_INVALID_CONTAINER", + "SHOW_TOKEN_TIMEOUT", + "SHOW_TOKEN_XHR_ERROR", + "SHOW_PAYMENT_TIMEOUT" + ], + "type": "string" + } + }, + "required": [ + "message", + "reason" + ], + "type": "object" + } + } + } + } + }, "/risk/v1/decisions": { "post": { "summary": "Create Decision Manager", @@ -58840,6 +64243,10 @@ "recurringPaymentInformation": { "type": "object", "description": "This object contains recurring payment information.", + "required": [ + "frequency", + "endDate" + ], "properties": { "endDate": { "type": "string", @@ -58948,11 +64355,6 @@ "maxLength": 2, "description": "This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values.\n01:NW- Transaction performed at domestic merchant.\n02:TW- Transaction performed at domestic merchant along with Token provisioning.\n03:IT- Transaction performed at International merchant.\n04:AT- Authentication Transaction Only.\n05:AW- Authentication transaction for provisioning.\n06:DI- Domestic InApp Transaction.\n07:II- International InApp transaction.\n08:GC- Guest Checkout\n09:ST- SI Authentication Transaction only\n10:SW- SI Authorization along with token provisioning\n" }, - "challengeCancelCode": { - "type": "string", - "maxLength": 2, - "description": "An indicator as to why the transaction was canceled.\nPossible Values:\n\n- `01`: Cardholder selected Cancel.\n- `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo).\n- `03`: Transaction Timed Out\u2014Decoupled Authentication\n- `04`: Transaction timed out at ACS\u2014other timeouts\n- `05`: Transaction Timed out at ACS - First CReq not received by ACS\n- `06`: Transaction Error\n- `07`: Unknown\n- `08`: Transaction Timed Out at SDK\n" - }, "challengeCode": { "type": "string", "description": "Possible values:\n- `01`: No preference\n- `02`: No challenge request\n- `03`: Challenge requested (3D Secure requestor preference)\n- `04`: Challenge requested (mandate)\n- `05`: No challenge requested (transactional risk analysis is already performed)\n- `06`: No challenge requested (Data share only)\n- `07`: No challenge requested (strong consumer authentication is already performed)\n- `08`: No challenge requested (utilize whitelist exemption if no challenge required)\n- `09`: Challenge requested (whitelist prompt requested if challenge required)\n**Note** This field will default to `01` on merchant configuration and can be overridden by the merchant.\nEMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`.\n" @@ -60790,7 +66192,8 @@ "application/hal+json;charset=utf-8" ], "x-devcenter-metaData": { - "categoryTag": "Payer_Authentication" + "categoryTag": "Payer_Authentication", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html" }, "parameters": [ { @@ -60932,6 +66335,9 @@ }, "customer": { "type": "object", + "required": [ + "customerId" + ], "properties": { "customerId": { "type": "string", @@ -61179,9 +66585,6 @@ "example1": { "summary": "Setup Completion with Fluid Data Value and Payment Solution", "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, "paymentInformation": { "fluidData": { "value": "eyJkYXRhIjoiOFJTK2o1a2ZLRjZkTnkzNVwvOTluR3ZEVis0WUVlaStBb2VmUUNMXC9SNTN0TnVMeHJxTzh4b1g2SnBScm9WWUVUOUNvUkhIWFZMRjJNSVNIZlVtM25UczltdGFPTUdqcW1oeWdjTFpWVWI3OHhxYVVUT2JwWUxLelY0dFR1QmhvRkV4UVJ1d2lvTmo2bXJsRlRjUm5LNzdcL2lCR01yYVlZcXZTVnhGK3ViK1JXK3BGeTRDNUVUOVhmcHBkS2xHYXVpODdzcTBtYVlYVk9qOGFaNTFMWjZvS1NKZkR1clhvWEtLNHRqd1wvaDVRK1dcL0x2dnJxSUhmZmVhK21MZXVRY3RHK0k3UUN6MTRpVmdROUFEMW1oWFUrbVdwZXRUQWZ5WXhoVituZlh1NlpISGRDWFV1cUp6djQydHg4UlwvN0lvdld5OWx6Z0N3YnpuclVsY3pUcThkb3JtV3A4eXhYQklDNnJHRTdlTVJrS3oxZFwvUFFDXC9DS2J1NDhNK0R4XC9VejNoUFwvZ1NnRGoxakJNcUllUUZiRWFzcTRWTUV1ZG9FNUh1UjBcLzRQMXJmdG9EVlpwNnhFdnF1STY5dkt2YnZHcXpmTkpUNjVnPT0iLCJ2ZXJzaW9uIjoiRUNfdjEiLCJoZWFkZXIiOnsiYXBwbGljYXRpb25EYXRhIjoiNzQ2NTczNzQ2MTcwNzA2QzY5NjM2MTc0Njk2RjZFNjQ2MTc0NjEiLCJ0cmFuc2FjdGlvbklkIjoiNzQ2NTczNzQ3NDcyNjE2RTczNjE2Mzc0Njk2RjZFNjk2NCIsImVwaGVtZXJhbFB1YmxpY0tleSI6Ik1JSUJTekNDQVFNR0J5cUdTTTQ5QWdFd2dmY0NBUUV3TEFZSEtvWkl6ajBCQVFJaEFQXC9cL1wvXC84QUFBQUJBQUFBQUFBQUFBQUFBQUFBXC9cL1wvXC9cL1wvXC9cL1wvXC9cL1wvXC9cL1wvXC9NRnNFSVBcL1wvXC9cLzhBQUFBQkFBQUFBQUFBQUFBQUFBQUFcL1wvXC9cL1wvXC9cL1wvXC9cL1wvXC9cL1wvXC84QkNCYXhqWFlxanFUNTdQcnZWVjJtSWE4WlIwR3NNeFRzUFk3emp3K0o5SmdTd01WQU1TZE5naUc1d1NUYW1aNDRST2RKcmVCbjM2UUJFRUVheGZSOHVFc1FrZjR2T2JsWTZSQThuY0RmWUV0NnpPZzlLRTVSZGlZd3BaUDQwTGlcL2hwXC9tNDduNjBwOEQ1NFdLODR6VjJzeFhzN0x0a0JvTjc5UjlRSWhBUFwvXC9cL1wvOEFBQUFBXC9cL1wvXC9cL1wvXC9cL1wvXC8rODV2cXRweGVlaFBPNXlzTDhZeVZSQWdFQkEwSUFCQmJHK2xtTHJIWWtKSVwvSUUwcTU3dEN0bE5jK2pBWHNudVMrSnFlOFVcLzc0cSs5NVRnbzVFRjBZNks3b01LTUt5cTMwY3VQbmtIenkwMjVpU1BGdWczRT0iLCJwdWJsaWNLZXlIYXNoIjoieCtQbUhHMzdUNjdBWUFIenVqbGJyaW1JdzZZaFlYaVpjYjV3WnJCNGpRdz0ifSwic2lnbmF0dXJlIjoiTUlJRFFnWUpLb1pJaHZjTkFRY0NvSUlETXpDQ0F5OENBUUV4Q3pBSkJnVXJEZ01DR2dVQU1Bc0dDU3FHU0liM0RRRUhBYUNDQWlzd2dnSW5NSUlCbEtBREFnRUNBaEJjbCtQZjMrVTRwazEzblZEOW53UVFNQWtHQlNzT0F3SWRCUUF3SnpFbE1DTUdBMVVFQXg0Y0FHTUFhQUJ0QUdFQWFRQkFBSFlBYVFCekFHRUFMZ0JqQUc4QWJUQWVGdzB4TkRBeE1ERXdOakF3TURCYUZ3MHlOREF4TURFd05qQXdNREJhTUNjeEpUQWpCZ05WQkFNZUhBQmpBR2dBYlFCaEFHa0FRQUIyQUdrQWN3QmhBQzRBWXdCdkFHMHdnWjh3RFFZSktvWklodmNOQVFFQkJRQURnWTBBTUlHSkFvR0JBTkM4K2tndGdtdldGMU96amdETnJqVEVCUnVvXC81TUt2bE0xNDZwQWY3R3g0MWJsRTl3NGZJWEpBRDdGZk83UUtqSVhZTnQzOXJMeXk3eER3YlwvNUlrWk02MFRaMmlJMXBqNTVVYzhmZDRmek9wazNmdFphUUdYTkxZcHRHMWQ5VjdJUzgyT3VwOU1NbzFCUFZyWFRQSE5jc005OUVQVW5QcWRiZUdjODdtMHJBZ01CQUFHalhEQmFNRmdHQTFVZEFRUlJNRStBRUhaV1ByV3RKZDdZWjQzMWhDZzdZRlNoS1RBbk1TVXdJd1lEVlFRREhod0FZd0JvQUcwQVlRQnBBRUFBZGdCcEFITUFZUUF1QUdNQWJ3QnRnaEJjbCtQZjMrVTRwazEzblZEOW53UVFNQWtHQlNzT0F3SWRCUUFEZ1lFQWJVS1lDa3VJS1M5UVEybUZjTVlSRUltMmwrWGc4XC9KWHYrR0JWUUprT0tvc2NZNGlOREZBXC9iUWxvZ2Y5TExVODRUSHdOUm5zdlYzUHJ2N1JUWTgxZ3EwZHRDOHpZY0FhQWtDSElJM3lxTW5KNEFPdTZFT1c5a0prMjMyZ1NFN1dsQ3RIYmZMU0tmdVNnUVg4S1hRWXVaTGsyUnI2M044QXBYc1h3QkwzY0oweGdlQXdnZDBDQVFFd096QW5NU1V3SXdZRFZRUURIaHdBWXdCb0FHMEFZUUJwQUVBQWRnQnBBSE1BWVFBdUFHTUFid0J0QWhCY2wrUGYzK1U0cGsxM25WRDlud1FRTUFrR0JTc09Bd0lhQlFBd0RRWUpLb1pJaHZjTkFRRUJCUUFFZ1lBMG9MXC9KSWFTN0tra1RFNG1pOGRmU2tQVVwvdlp2cVwva2NYZ1pUdGJZbENtTFM4YzNuS2VZNVE0c2s4MXJnZkI1ampBMWJRZldhUHBKc05tVWNSS3gzS0FGUEtpNzE0WWVYdGUrcmc2V1k4MnVxcnlwRERiTkhqSWVpNjVqV0dvcGRZUEx6TEk5c1Z3NDh5OHlqSXY3SjFaQVlycnp6YjBwNzUzcUJUQ0ZEN1p3PT0ifQ==" @@ -61209,12 +66612,9 @@ "example3": { "summary": "Setup Completion with TMS Token", "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, "paymentInformation": { "customer": { - "customerId": "9CADDE97CC9254EBE0534136CF0AB358" + "customerId": "21607EACE092FD29E063A2598D0A01B8" } } } @@ -61222,9 +66622,6 @@ "example4": { "summary": "Setup Completion with Visa Checkout", "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, "paymentInformation": { "visaCheckoutId": "4768462067836455354", "paymentSolution": "visacheckout" @@ -61234,24 +66631,8 @@ "example5": { "summary": "Setup Completion with Flex Transient Token", "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, "tokenInformation": { - "transientToken": "1D5ZX4HMOV20FKEBE3IO240JWYJ0NJ90B4V9XQ6SCK4BDN0W96E65E2A39052056" - } - } - }, - "example6": { - "summary": "Setup Completion with Secure Storage Token", - "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, - "paymentInformation": { - "customer": { - "customerId": "5795045921830181636348" - } + "jti": "1D5ZX4HMOV20FKEBE3IO240JWYJ0NJ90B4V9XQ6SCK4BDN0W96E65E2A39052056" } } } @@ -61270,7 +66651,8 @@ "application/hal+json;charset=utf-8" ], "x-devcenter-metaData": { - "categoryTag": "Payer_Authentication" + "categoryTag": "Payer_Authentication", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html" }, "parameters": [ { @@ -61763,10 +67145,15 @@ }, "customer": { "type": "object", + "required": [ + "customerId" + ], "properties": { "customerId": { "type": "string", - "description": "Unique identifier for the customer's card and billing information.\n\nWhen you use Payment Tokenization or Recurring Billing and you include this value in\nyour request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n\n**NOTE** When you use Payment Tokenization or Recurring Billing, the value for the Customer ID is actually the Cybersource payment token for a customer. This token stores information such as the consumer's card number so it can be applied towards bill payments, recurring payments, or one-time payments. By using this token in a payment API request, the merchant doesn't need to pass in data such as the card number or expiration date in the request itself.\n" + "description": "Unique identifier for the legacy Secure Storage token used in the transaction.\nWhen you include this value in your request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n", + "minLength": 1, + "maxLength": 32 }, "id": { "type": "string", @@ -61993,6 +67380,10 @@ "recurringPaymentInformation": { "type": "object", "description": "This object contains recurring payment information.", + "required": [ + "frequency", + "endDate" + ], "properties": { "endDate": { "type": "string", @@ -62101,11 +67492,6 @@ "maxLength": 2, "description": "This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values.\n01:NW- Transaction performed at domestic merchant.\n02:TW- Transaction performed at domestic merchant along with Token provisioning.\n03:IT- Transaction performed at International merchant.\n04:AT- Authentication Transaction Only.\n05:AW- Authentication transaction for provisioning.\n06:DI- Domestic InApp Transaction.\n07:II- International InApp transaction.\n08:GC- Guest Checkout\n09:ST- SI Authentication Transaction only\n10:SW- SI Authorization along with token provisioning\n" }, - "challengeCancelCode": { - "type": "string", - "maxLength": 2, - "description": "An indicator as to why the transaction was canceled.\nPossible Values:\n\n- `01`: Cardholder selected Cancel.\n- `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo).\n- `03`: Transaction Timed Out\u2014Decoupled Authentication\n- `04`: Transaction timed out at ACS\u2014other timeouts\n- `05`: Transaction Timed out at ACS - First CReq not received by ACS\n- `06`: Transaction Error\n- `07`: Unknown\n- `08`: Transaction Timed Out at SDK\n" - }, "challengeCode": { "type": "string", "description": "Possible values:\n- `01`: No preference\n- `02`: No challenge request\n- `03`: Challenge requested (3D Secure requestor preference)\n- `04`: Challenge requested (mandate)\n- `05`: No challenge requested (transactional risk analysis is already performed)\n- `06`: No challenge requested (Data share only)\n- `07`: No challenge requested (strong consumer authentication is already performed)\n- `08`: No challenge requested (utilize whitelist exemption if no challenge required)\n- `09`: Challenge requested (whitelist prompt requested if challenge required)\n**Note** This field will default to `01` on merchant configuration and can be overridden by the merchant.\nEMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`.\n" @@ -63156,21 +68542,15 @@ "example5": { "summary": "Enroll with customerId as payment information", "value": { - "clientReferenceInformation": { - "code": "UNKNOWN" - }, "orderInformation": { "billTo": { "firstName": "John", "lastName": "Doe", - "address2": "Address 2", "address1": "1 Market St", "postalCode": "94105", "locality": "san francisco", "administrativeArea": "CA", "country": "US", - "phoneNumber": "4158880000", - "company": "Visa", "email": "test@cybs.com" }, "amountDetails": { @@ -63180,17 +68560,28 @@ }, "paymentInformation": { "customer": { - "customerId": "9CADDE97CC9254EBE0534136CF0AB358" + "customerId": "21607EACE092FD29E063A2598D0A01B8" } + }, + "deviceInformation": { + "httpAcceptContent": "all", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "userAgentBrowserValue": "chrome" + }, + "consumerAuthenticationInformation": { + "deviceChannel": "Browser", + "referenceId": "CybsCruiseTester-6259e7e2" } } }, "example6": { "summary": "Enroll with transient token", "value": { - "clientReferenceInformation": { - "code": "UNKNOWN" - }, "orderInformation": { "billTo": { "firstName": "John", @@ -63210,8 +68601,555 @@ "currency": "USD" } }, + "consumerAuthenticationInformation": { + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "Browser" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, "tokenInformation": { - "transientToken": "1D5ZX4HMOV20FKEBE3IO240JWYJ0NJ90B4V9XQ6SCK4BDN0W96E65E2A39052056" + "jti": "1D5ZX4HMOV20FKEBE3IO240JWYJ0NJ90B4V9XQ6SCK4BDN0W96E65E2A39052056" + } + } + }, + "example7": { + "summary": "First Recurring Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + } + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002805", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "02" + }, + "messageCategory": "01", + "challengeCode": "03", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "Browser" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example8": { + "summary": "Subsequent Recurring Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002235", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "02" + }, + "requestorInitiatedAuthenticationIndicator": "01", + "priorAuthenticationData": "bf67e7e6-c8cf-4b93-a211-3f4f60b07524", + "messageCategory": "01", + "authenticationDate": "20190829154531", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example9": { + "summary": "Customer Initiated Installment Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002805", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "03" + }, + "messageCategory": "01", + "authenticationDate": "20190829154531", + "referenceId": "CybsCruiseTester-2551acb2", + "deviceChannel": "Browser", + "installmentTotalCount": "2" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example10": { + "summary": "Split/Partial Shipment Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002235", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "02" + }, + "requestorInitiatedAuthenticationIndicator": "06", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "priorAuthenticationData": "bf67e7e6-c8cf-4b93-a211-3f4f60b07524", + "messageCategory": "01", + "challengeCode": "03", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example11": { + "summary": "Split/Delayed Shipment Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "4000000000002701", + "expirationMonth": "12", + "type": "001" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "01" + }, + "requestorInitiatedAuthenticationIndicator": "06", + "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "messageCategory": "01", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + } + } + }, + "example12": { + "summary": "Multi-Party Commerce or OTA Frictionless", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "4000000000002701", + "expirationMonth": "12", + "type": "001" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "01" + }, + "requestorInitiatedAuthenticationIndicator": "11", + "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "messageCategory": "01", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + } + } + }, + "example13": { + "summary": "Customer Initiated Multi-Party Commerce or OTA", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002805", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "85" + }, + "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "messageCategory": "01", + "challengeCode": "03", + "referenceId": "CybsCruiseTester-500582d1", + "deviceChannel": "Browser" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example14": { + "summary": "Merchant Initiated Multi-Party Commerce or OTA", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002235", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "85" + }, + "requestorInitiatedAuthenticationIndicator": "85", + "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "messageCategory": "01", + "referenceId": "CybsCruiseTester-8e9d566d", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + } + } + }, + "example15": { + "summary": "3RI Transaction Not Supported", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "4000000000002248", + "expirationMonth": "12", + "type": "001" + } + }, + "consumerAuthenticationInformation": { + "requestorInitiatedAuthenticationIndicator": "01", + "messageCategory": "02", + "referenceId": "CybsCruiseTester-500582d1", + "deviceChannel": "Browser" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" } } } @@ -63227,7 +69165,8 @@ ], "operationId": "validateAuthenticationResults", "x-devcenter-metaData": { - "categoryTag": "Payer_Authentication" + "categoryTag": "Payer_Authentication", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html" }, "parameters": [ { @@ -63390,10 +69329,15 @@ }, "customer": { "type": "object", + "required": [ + "customerId" + ], "properties": { "customerId": { "type": "string", - "description": "Unique identifier for the customer's card and billing information.\n\nWhen you use Payment Tokenization or Recurring Billing and you include this value in\nyour request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n\n**NOTE** When you use Payment Tokenization or Recurring Billing, the value for the Customer ID is actually the Cybersource payment token for a customer. This token stores information such as the consumer's card number so it can be applied towards bill payments, recurring payments, or one-time payments. By using this token in a payment API request, the merchant doesn't need to pass in data such as the card number or expiration date in the request itself.\n" + "description": "Unique identifier for the legacy Secure Storage token used in the transaction.\nWhen you include this value in your request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n", + "minLength": 1, + "maxLength": 32 }, "id": { "type": "string", @@ -91548,6 +97492,14 @@ "type": "string", "description": "Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors." }, + "unionPayInstitutionId": { + "type": "string", + "description": "Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors." + }, + "dinersClubInstitutionId": { + "type": "string", + "description": "Assigned by Diners Club to identify the acquirer. Applicable for VPC processors." + }, "countryCode": { "type": "string", "description": "ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors." @@ -91990,6 +97942,18 @@ } } }, + "visaAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Visa payment type is selected" + }, + "amexAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Amex payment type is selected" + }, + "masterCardAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Master Card payment type is selected" + }, "sicCode": { "type": "string", "description": "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors." @@ -92268,8 +98232,20 @@ "url": { "type": "string", "description": "Applicable for RUPAY and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, hybridYes140URL
American Express DirectcpNo140URL
\n" + }, + "countryOfOrigin": { + "type": "string", + "description": "Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute." } } + }, + "governmentControlled": { + "type": "boolean", + "description": "Indicates whether the merchant is government controlled. Applicable for VPC processors." + }, + "dropBillingInfo": { + "type": "boolean", + "description": "This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request." } } }, @@ -100765,6 +106741,14 @@ "type": "string", "description": "Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors." }, + "unionPayInstitutionId": { + "type": "string", + "description": "Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors." + }, + "dinersClubInstitutionId": { + "type": "string", + "description": "Assigned by Diners Club to identify the acquirer. Applicable for VPC processors." + }, "countryCode": { "type": "string", "description": "ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors." @@ -101207,6 +107191,18 @@ } } }, + "visaAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Visa payment type is selected" + }, + "amexAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Amex payment type is selected" + }, + "masterCardAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Master Card payment type is selected" + }, "sicCode": { "type": "string", "description": "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors." @@ -101485,8 +107481,20 @@ "url": { "type": "string", "description": "Applicable for RUPAY and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, hybridYes140URL
American Express DirectcpNo140URL
\n" + }, + "countryOfOrigin": { + "type": "string", + "description": "Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute." } } + }, + "governmentControlled": { + "type": "boolean", + "description": "Indicates whether the merchant is government controlled. Applicable for VPC processors." + }, + "dropBillingInfo": { + "type": "boolean", + "description": "This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request." } } }, diff --git a/src/main/java/Api/DecisionManagerApi.java b/src/main/java/Api/DecisionManagerApi.java index d0159ed9..1b041313 100644 --- a/src/main/java/Api/DecisionManagerApi.java +++ b/src/main/java/Api/DecisionManagerApi.java @@ -35,7 +35,7 @@ import Model.FraudMarkingActionRequest; import Model.InlineResponse200; import Model.InlineResponse201; -import Model.InlineResponse4001; +import Model.InlineResponse4002; import Model.InlineResponse4031; import Model.InlineResponse422; import Model.InlineResponse5001; diff --git a/src/main/java/Api/FlexApiApi.java b/src/main/java/Api/FlexApiApi.java new file mode 100644 index 00000000..413f57a0 --- /dev/null +++ b/src/main/java/Api/FlexApiApi.java @@ -0,0 +1,196 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Api; + +import Invokers.ApiCallback; +import Invokers.ApiClient; +import Invokers.ApiException; +import Invokers.ApiResponse; +import Invokers.Configuration; +import Invokers.Pair; +import Invokers.ProgressRequestBody; +import Invokers.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; +import java.io.InputStream; + + +import Model.GenerateFlexAPICaptureContextRequest; +import Model.InlineResponse4001; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import utilities.tracking.SdkTracker; + +public class FlexApiApi { + private static Logger logger = LogManager.getLogger(FlexApiApi.class); + + private ApiClient apiClient; + + public FlexApiApi() { + this(Configuration.getDefaultApiClient()); + } + + public FlexApiApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for generateFlexAPICaptureContext + * @param generateFlexAPICaptureContextRequest (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public okhttp3.Call generateFlexAPICaptureContextCall(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + SdkTracker sdkTracker = new SdkTracker(); + Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(generateFlexAPICaptureContextRequest, GenerateFlexAPICaptureContextRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment()); + + // create path and map variables + String localVarPath = "/flex/v2/sessions"; + + List localVarQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/jwt" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json;charset=utf-8" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() { + @Override + public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException { + okhttp3.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call generateFlexAPICaptureContextValidateBeforeCall(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'generateFlexAPICaptureContextRequest' is set + if (generateFlexAPICaptureContextRequest == null) { + logger.error("Missing the required parameter 'generateFlexAPICaptureContextRequest' when calling generateFlexAPICaptureContext(Async)"); + throw new ApiException("Missing the required parameter 'generateFlexAPICaptureContextRequest' when calling generateFlexAPICaptureContext(Async)"); + } + + + okhttp3.Call call = generateFlexAPICaptureContextCall(generateFlexAPICaptureContextRequest, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * Establish a Payment Session with a Capture Context + * To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + * @param generateFlexAPICaptureContextRequest (required) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public String generateFlexAPICaptureContext(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) throws ApiException { + logger.info("CALL TO METHOD 'generateFlexAPICaptureContext' STARTED"); + this.apiClient.setComputationStartTime(System.nanoTime()); + ApiResponse resp = generateFlexAPICaptureContextWithHttpInfo(generateFlexAPICaptureContextRequest); + logger.info("CALL TO METHOD 'generateFlexAPICaptureContext' ENDED"); + return resp.getData(); + } + + /** + * Establish a Payment Session with a Capture Context + * To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + * @param generateFlexAPICaptureContextRequest (required) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse generateFlexAPICaptureContextWithHttpInfo(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) throws ApiException { + okhttp3.Call call = generateFlexAPICaptureContextValidateBeforeCall(generateFlexAPICaptureContextRequest, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Establish a Payment Session with a Capture Context (asynchronously) + * To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + * @param generateFlexAPICaptureContextRequest (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public okhttp3.Call generateFlexAPICaptureContextAsync(GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest, final ApiCallback callback) throws ApiException { + + this.apiClient.setComputationStartTime(System.nanoTime()); + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + okhttp3.Call call = generateFlexAPICaptureContextValidateBeforeCall(generateFlexAPICaptureContextRequest, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/src/main/java/Api/MerchantBoardingApi.java b/src/main/java/Api/MerchantBoardingApi.java index 3ef33e4a..a81505fe 100644 --- a/src/main/java/Api/MerchantBoardingApi.java +++ b/src/main/java/Api/MerchantBoardingApi.java @@ -30,7 +30,7 @@ import Model.InlineResponse2001; import Model.InlineResponse2012; -import Model.InlineResponse4005; +import Model.InlineResponse4006; import Model.InlineResponse4041; import Model.InlineResponse4221; import Model.InlineResponse5002; diff --git a/src/main/java/Api/PlansApi.java b/src/main/java/Api/PlansApi.java index b5535a49..d484d8a0 100644 --- a/src/main/java/Api/PlansApi.java +++ b/src/main/java/Api/PlansApi.java @@ -35,7 +35,7 @@ import Model.GetAllPlansResponse; import Model.GetPlanCodeResponse; import Model.GetPlanResponse; -import Model.InlineResponse4002; +import Model.InlineResponse4003; import Model.InlineResponse404; import Model.PtsV2PaymentsPost502Response; import Model.UpdatePlanRequest; diff --git a/src/main/java/Api/ReportSubscriptionsApi.java b/src/main/java/Api/ReportSubscriptionsApi.java index 68a9d6de..6a17baae 100644 --- a/src/main/java/Api/ReportSubscriptionsApi.java +++ b/src/main/java/Api/ReportSubscriptionsApi.java @@ -29,7 +29,7 @@ import Model.CreateReportSubscriptionRequest; -import Model.InlineResponse4004; +import Model.InlineResponse4005; import Model.PredefinedSubscriptionRequestBean; import Model.ReportingV3ReportSubscriptionsGet200Response; import Model.ReportingV3ReportSubscriptionsGet200ResponseSubscriptions; diff --git a/src/main/java/Api/SecureFileShareApi.java b/src/main/java/Api/SecureFileShareApi.java index 3f6ad196..ebe0018b 100644 --- a/src/main/java/Api/SecureFileShareApi.java +++ b/src/main/java/Api/SecureFileShareApi.java @@ -28,7 +28,7 @@ import java.io.InputStream; -import Model.InlineResponse4004; +import Model.InlineResponse4005; import org.joda.time.LocalDate; import Model.V1FileDetailsGet200Response; diff --git a/src/main/java/Api/SubscriptionsApi.java b/src/main/java/Api/SubscriptionsApi.java index ca969ebf..2dee44df 100644 --- a/src/main/java/Api/SubscriptionsApi.java +++ b/src/main/java/Api/SubscriptionsApi.java @@ -35,8 +35,8 @@ import Model.GetAllSubscriptionsResponse; import Model.GetSubscriptionCodeResponse; import Model.GetSubscriptionResponse; -import Model.InlineResponse4002; import Model.InlineResponse4003; +import Model.InlineResponse4004; import Model.InlineResponse404; import Model.PtsV2PaymentsPost502Response; import Model.SuspendSubscriptionResponse; diff --git a/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java b/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java index de249f2a..c7398b3a 100644 --- a/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java +++ b/src/main/java/Api/UnifiedCheckoutCaptureContextApi.java @@ -29,7 +29,7 @@ import Model.GenerateUnifiedCheckoutCaptureContextRequest; -import Model.InlineResponse4006; +import Model.InlineResponse4001; import java.lang.reflect.Type; import java.util.ArrayList; diff --git a/src/main/java/Model/CardProcessingConfigCommon.java b/src/main/java/Model/CardProcessingConfigCommon.java index 7062dfac..5465e471 100644 --- a/src/main/java/Model/CardProcessingConfigCommon.java +++ b/src/main/java/Model/CardProcessingConfigCommon.java @@ -145,6 +145,12 @@ public DefaultAuthTypeCodeEnum read(final JsonReader jsonReader) throws IOExcept @SerializedName("merchantDescriptorInformation") private CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation = null; + @SerializedName("governmentControlled") + private Boolean governmentControlled = null; + + @SerializedName("dropBillingInfo") + private Boolean dropBillingInfo = null; + public CardProcessingConfigCommon processors(Map processors) { this.processors = processors; return this; @@ -531,6 +537,42 @@ public void setMerchantDescriptorInformation(CardProcessingConfigCommonMerchantD this.merchantDescriptorInformation = merchantDescriptorInformation; } + public CardProcessingConfigCommon governmentControlled(Boolean governmentControlled) { + this.governmentControlled = governmentControlled; + return this; + } + + /** + * Indicates whether the merchant is government controlled. Applicable for VPC processors. + * @return governmentControlled + **/ + @ApiModelProperty(value = "Indicates whether the merchant is government controlled. Applicable for VPC processors.") + public Boolean isGovernmentControlled() { + return governmentControlled; + } + + public void setGovernmentControlled(Boolean governmentControlled) { + this.governmentControlled = governmentControlled; + } + + public CardProcessingConfigCommon dropBillingInfo(Boolean dropBillingInfo) { + this.dropBillingInfo = dropBillingInfo; + return this; + } + + /** + * This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request. + * @return dropBillingInfo + **/ + @ApiModelProperty(value = "This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request.") + public Boolean isDropBillingInfo() { + return dropBillingInfo; + } + + public void setDropBillingInfo(Boolean dropBillingInfo) { + this.dropBillingInfo = dropBillingInfo; + } + @Override public boolean equals(java.lang.Object o) { @@ -561,12 +603,14 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.subMerchantId, cardProcessingConfigCommon.subMerchantId) && Objects.equals(this.subMerchantBusinessName, cardProcessingConfigCommon.subMerchantBusinessName) && Objects.equals(this.preferCobadgedSecondaryBrand, cardProcessingConfigCommon.preferCobadgedSecondaryBrand) && - Objects.equals(this.merchantDescriptorInformation, cardProcessingConfigCommon.merchantDescriptorInformation); + Objects.equals(this.merchantDescriptorInformation, cardProcessingConfigCommon.merchantDescriptorInformation) && + Objects.equals(this.governmentControlled, cardProcessingConfigCommon.governmentControlled) && + Objects.equals(this.dropBillingInfo, cardProcessingConfigCommon.dropBillingInfo); } @Override public int hashCode() { - return Objects.hash(processors, amexVendorCode, defaultAuthTypeCode, masterCardAssignedId, enablePartialAuth, merchantCategoryCode, sicCode, foodAndConsumerServiceId, enableSplitShipment, enableInterchangeOptimization, visaDelegatedAuthenticationId, creditCardRefundLimitPercent, businessCenterCreditCardRefundLimitPercent, allowCapturesGreaterThanAuthorizations, enableDuplicateMerchantReferenceNumberBlocking, domesticMerchantId, processLevel3Data, subMerchantId, subMerchantBusinessName, preferCobadgedSecondaryBrand, merchantDescriptorInformation); + return Objects.hash(processors, amexVendorCode, defaultAuthTypeCode, masterCardAssignedId, enablePartialAuth, merchantCategoryCode, sicCode, foodAndConsumerServiceId, enableSplitShipment, enableInterchangeOptimization, visaDelegatedAuthenticationId, creditCardRefundLimitPercent, businessCenterCreditCardRefundLimitPercent, allowCapturesGreaterThanAuthorizations, enableDuplicateMerchantReferenceNumberBlocking, domesticMerchantId, processLevel3Data, subMerchantId, subMerchantBusinessName, preferCobadgedSecondaryBrand, merchantDescriptorInformation, governmentControlled, dropBillingInfo); } @@ -596,6 +640,8 @@ public String toString() { sb.append(" subMerchantBusinessName: ").append(toIndentedString(subMerchantBusinessName)).append("\n"); sb.append(" preferCobadgedSecondaryBrand: ").append(toIndentedString(preferCobadgedSecondaryBrand)).append("\n"); sb.append(" merchantDescriptorInformation: ").append(toIndentedString(merchantDescriptorInformation)).append("\n"); + sb.append(" governmentControlled: ").append(toIndentedString(governmentControlled)).append("\n"); + sb.append(" dropBillingInfo: ").append(toIndentedString(dropBillingInfo)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/CardProcessingConfigCommonAcquirer.java b/src/main/java/Model/CardProcessingConfigCommonAcquirer.java index c69a751e..1c7d6561 100644 --- a/src/main/java/Model/CardProcessingConfigCommonAcquirer.java +++ b/src/main/java/Model/CardProcessingConfigCommonAcquirer.java @@ -39,6 +39,12 @@ public class CardProcessingConfigCommonAcquirer { @SerializedName("discoverInstitutionId") private String discoverInstitutionId = null; + @SerializedName("unionPayInstitutionId") + private String unionPayInstitutionId = null; + + @SerializedName("dinersClubInstitutionId") + private String dinersClubInstitutionId = null; + @SerializedName("countryCode") private String countryCode = null; @@ -99,6 +105,42 @@ public void setDiscoverInstitutionId(String discoverInstitutionId) { this.discoverInstitutionId = discoverInstitutionId; } + public CardProcessingConfigCommonAcquirer unionPayInstitutionId(String unionPayInstitutionId) { + this.unionPayInstitutionId = unionPayInstitutionId; + return this; + } + + /** + * Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors. + * @return unionPayInstitutionId + **/ + @ApiModelProperty(value = "Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors.") + public String getUnionPayInstitutionId() { + return unionPayInstitutionId; + } + + public void setUnionPayInstitutionId(String unionPayInstitutionId) { + this.unionPayInstitutionId = unionPayInstitutionId; + } + + public CardProcessingConfigCommonAcquirer dinersClubInstitutionId(String dinersClubInstitutionId) { + this.dinersClubInstitutionId = dinersClubInstitutionId; + return this; + } + + /** + * Assigned by Diners Club to identify the acquirer. Applicable for VPC processors. + * @return dinersClubInstitutionId + **/ + @ApiModelProperty(value = "Assigned by Diners Club to identify the acquirer. Applicable for VPC processors.") + public String getDinersClubInstitutionId() { + return dinersClubInstitutionId; + } + + public void setDinersClubInstitutionId(String dinersClubInstitutionId) { + this.dinersClubInstitutionId = dinersClubInstitutionId; + } + public CardProcessingConfigCommonAcquirer countryCode(String countryCode) { this.countryCode = countryCode; return this; @@ -148,13 +190,15 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.institutionId, cardProcessingConfigCommonAcquirer.institutionId) && Objects.equals(this.interbankCardAssociationId, cardProcessingConfigCommonAcquirer.interbankCardAssociationId) && Objects.equals(this.discoverInstitutionId, cardProcessingConfigCommonAcquirer.discoverInstitutionId) && + Objects.equals(this.unionPayInstitutionId, cardProcessingConfigCommonAcquirer.unionPayInstitutionId) && + Objects.equals(this.dinersClubInstitutionId, cardProcessingConfigCommonAcquirer.dinersClubInstitutionId) && Objects.equals(this.countryCode, cardProcessingConfigCommonAcquirer.countryCode) && Objects.equals(this.fileDestinationBin, cardProcessingConfigCommonAcquirer.fileDestinationBin); } @Override public int hashCode() { - return Objects.hash(institutionId, interbankCardAssociationId, discoverInstitutionId, countryCode, fileDestinationBin); + return Objects.hash(institutionId, interbankCardAssociationId, discoverInstitutionId, unionPayInstitutionId, dinersClubInstitutionId, countryCode, fileDestinationBin); } @@ -166,6 +210,8 @@ public String toString() { sb.append(" institutionId: ").append(toIndentedString(institutionId)).append("\n"); sb.append(" interbankCardAssociationId: ").append(toIndentedString(interbankCardAssociationId)).append("\n"); sb.append(" discoverInstitutionId: ").append(toIndentedString(discoverInstitutionId)).append("\n"); + sb.append(" unionPayInstitutionId: ").append(toIndentedString(unionPayInstitutionId)).append("\n"); + sb.append(" dinersClubInstitutionId: ").append(toIndentedString(dinersClubInstitutionId)).append("\n"); sb.append(" countryCode: ").append(toIndentedString(countryCode)).append("\n"); sb.append(" fileDestinationBin: ").append(toIndentedString(fileDestinationBin)).append("\n"); sb.append("}"); diff --git a/src/main/java/Model/CardProcessingConfigCommonMerchantDescriptorInformation.java b/src/main/java/Model/CardProcessingConfigCommonMerchantDescriptorInformation.java index bc62587d..4a7a8ca7 100644 --- a/src/main/java/Model/CardProcessingConfigCommonMerchantDescriptorInformation.java +++ b/src/main/java/Model/CardProcessingConfigCommonMerchantDescriptorInformation.java @@ -54,6 +54,9 @@ public class CardProcessingConfigCommonMerchantDescriptorInformation { @SerializedName("url") private String url = null; + @SerializedName("countryOfOrigin") + private String countryOfOrigin = null; + public CardProcessingConfigCommonMerchantDescriptorInformation name(String name) { this.name = name; return this; @@ -198,6 +201,24 @@ public void setUrl(String url) { this.url = url; } + public CardProcessingConfigCommonMerchantDescriptorInformation countryOfOrigin(String countryOfOrigin) { + this.countryOfOrigin = countryOfOrigin; + return this; + } + + /** + * Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute. + * @return countryOfOrigin + **/ + @ApiModelProperty(value = "Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute.") + public String getCountryOfOrigin() { + return countryOfOrigin; + } + + public void setCountryOfOrigin(String countryOfOrigin) { + this.countryOfOrigin = countryOfOrigin; + } + @Override public boolean equals(java.lang.Object o) { @@ -215,12 +236,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.state, cardProcessingConfigCommonMerchantDescriptorInformation.state) && Objects.equals(this.street, cardProcessingConfigCommonMerchantDescriptorInformation.street) && Objects.equals(this.zip, cardProcessingConfigCommonMerchantDescriptorInformation.zip) && - Objects.equals(this.url, cardProcessingConfigCommonMerchantDescriptorInformation.url); + Objects.equals(this.url, cardProcessingConfigCommonMerchantDescriptorInformation.url) && + Objects.equals(this.countryOfOrigin, cardProcessingConfigCommonMerchantDescriptorInformation.countryOfOrigin); } @Override public int hashCode() { - return Objects.hash(name, city, country, phone, state, street, zip, url); + return Objects.hash(name, city, country, phone, state, street, zip, url, countryOfOrigin); } @@ -237,6 +259,7 @@ public String toString() { sb.append(" street: ").append(toIndentedString(street)).append("\n"); sb.append(" zip: ").append(toIndentedString(zip)).append("\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" countryOfOrigin: ").append(toIndentedString(countryOfOrigin)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/CardProcessingConfigCommonProcessors.java b/src/main/java/Model/CardProcessingConfigCommonProcessors.java index be13f575..21d83b9b 100644 --- a/src/main/java/Model/CardProcessingConfigCommonProcessors.java +++ b/src/main/java/Model/CardProcessingConfigCommonProcessors.java @@ -62,6 +62,15 @@ public class CardProcessingConfigCommonProcessors { @SerializedName("currencies") private Map currencies = null; + @SerializedName("visaAggregatorId") + private String visaAggregatorId = null; + + @SerializedName("amexAggregatorId") + private String amexAggregatorId = null; + + @SerializedName("masterCardAggregatorId") + private String masterCardAggregatorId = null; + @SerializedName("sicCode") private String sicCode = null; @@ -409,6 +418,60 @@ public void setCurrencies(Map cur this.currencies = currencies; } + public CardProcessingConfigCommonProcessors visaAggregatorId(String visaAggregatorId) { + this.visaAggregatorId = visaAggregatorId; + return this; + } + + /** + * This field is used as aggregator Id when Visa payment type is selected + * @return visaAggregatorId + **/ + @ApiModelProperty(value = "This field is used as aggregator Id when Visa payment type is selected") + public String getVisaAggregatorId() { + return visaAggregatorId; + } + + public void setVisaAggregatorId(String visaAggregatorId) { + this.visaAggregatorId = visaAggregatorId; + } + + public CardProcessingConfigCommonProcessors amexAggregatorId(String amexAggregatorId) { + this.amexAggregatorId = amexAggregatorId; + return this; + } + + /** + * This field is used as aggregator Id when Amex payment type is selected + * @return amexAggregatorId + **/ + @ApiModelProperty(value = "This field is used as aggregator Id when Amex payment type is selected") + public String getAmexAggregatorId() { + return amexAggregatorId; + } + + public void setAmexAggregatorId(String amexAggregatorId) { + this.amexAggregatorId = amexAggregatorId; + } + + public CardProcessingConfigCommonProcessors masterCardAggregatorId(String masterCardAggregatorId) { + this.masterCardAggregatorId = masterCardAggregatorId; + return this; + } + + /** + * This field is used as aggregator Id when Master Card payment type is selected + * @return masterCardAggregatorId + **/ + @ApiModelProperty(value = "This field is used as aggregator Id when Master Card payment type is selected") + public String getMasterCardAggregatorId() { + return masterCardAggregatorId; + } + + public void setMasterCardAggregatorId(String masterCardAggregatorId) { + this.masterCardAggregatorId = masterCardAggregatorId; + } + public CardProcessingConfigCommonProcessors sicCode(String sicCode) { this.sicCode = sicCode; return this; @@ -1058,6 +1121,9 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.terminalId, cardProcessingConfigCommonProcessors.terminalId) && Objects.equals(this.paymentTypes, cardProcessingConfigCommonProcessors.paymentTypes) && Objects.equals(this.currencies, cardProcessingConfigCommonProcessors.currencies) && + Objects.equals(this.visaAggregatorId, cardProcessingConfigCommonProcessors.visaAggregatorId) && + Objects.equals(this.amexAggregatorId, cardProcessingConfigCommonProcessors.amexAggregatorId) && + Objects.equals(this.masterCardAggregatorId, cardProcessingConfigCommonProcessors.masterCardAggregatorId) && Objects.equals(this.sicCode, cardProcessingConfigCommonProcessors.sicCode) && Objects.equals(this.allowMultipleBills, cardProcessingConfigCommonProcessors.allowMultipleBills) && Objects.equals(this.allowMerchantDescriptorOverride, cardProcessingConfigCommonProcessors.allowMerchantDescriptorOverride) && @@ -1097,7 +1163,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(batchGroup, businessApplicationId, merchantVerificationValue, abaNumber, acquirer, merchantId, terminalId, paymentTypes, currencies, sicCode, allowMultipleBills, allowMerchantDescriptorOverride, enhancedData, fireSafetyIndicator, quasiCash, acquirerMerchantId, avsFormat, enableLongTransRefNo, enableLevel2, enableMultipleTransactionAdviceAddendum, amexTransactionAdviceAddendum1, enableMultiLineItems, enableTransactionReferenceNumber, enableAutoAuthReversalAfterVoid, enableExpresspayPanTranslation, enableCreditAuth, industryCode, sendAmexLevel2Data, softDescriptorType, vitalNumber, bankNumber, chainNumber, merchantBinNumber, merchantLocationNumber, storeID, travelAgencyCode, travelAgencyName, settlementCurrency, enableLeastCostRouting, enableCVVResponseIndicator, enableMultiCurrencyProcessing, enablePosNetworkSwitching, enableDynamicCurrencyConversion, merchantTier); + return Objects.hash(batchGroup, businessApplicationId, merchantVerificationValue, abaNumber, acquirer, merchantId, terminalId, paymentTypes, currencies, visaAggregatorId, amexAggregatorId, masterCardAggregatorId, sicCode, allowMultipleBills, allowMerchantDescriptorOverride, enhancedData, fireSafetyIndicator, quasiCash, acquirerMerchantId, avsFormat, enableLongTransRefNo, enableLevel2, enableMultipleTransactionAdviceAddendum, amexTransactionAdviceAddendum1, enableMultiLineItems, enableTransactionReferenceNumber, enableAutoAuthReversalAfterVoid, enableExpresspayPanTranslation, enableCreditAuth, industryCode, sendAmexLevel2Data, softDescriptorType, vitalNumber, bankNumber, chainNumber, merchantBinNumber, merchantLocationNumber, storeID, travelAgencyCode, travelAgencyName, settlementCurrency, enableLeastCostRouting, enableCVVResponseIndicator, enableMultiCurrencyProcessing, enablePosNetworkSwitching, enableDynamicCurrencyConversion, merchantTier); } @@ -1115,6 +1181,9 @@ public String toString() { sb.append(" terminalId: ").append(toIndentedString(terminalId)).append("\n"); sb.append(" paymentTypes: ").append(toIndentedString(paymentTypes)).append("\n"); sb.append(" currencies: ").append(toIndentedString(currencies)).append("\n"); + sb.append(" visaAggregatorId: ").append(toIndentedString(visaAggregatorId)).append("\n"); + sb.append(" amexAggregatorId: ").append(toIndentedString(amexAggregatorId)).append("\n"); + sb.append(" masterCardAggregatorId: ").append(toIndentedString(masterCardAggregatorId)).append("\n"); sb.append(" sicCode: ").append(toIndentedString(sicCode)).append("\n"); sb.append(" allowMultipleBills: ").append(toIndentedString(allowMultipleBills)).append("\n"); sb.append(" allowMerchantDescriptorOverride: ").append(toIndentedString(allowMerchantDescriptorOverride)).append("\n"); diff --git a/src/main/java/Model/Flexv2sessionsFields.java b/src/main/java/Model/Flexv2sessionsFields.java new file mode 100644 index 00000000..3a4803c0 --- /dev/null +++ b/src/main/java/Model/Flexv2sessionsFields.java @@ -0,0 +1,119 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Flexv2sessionsFieldsOrderInformation; +import Model.Flexv2sessionsFieldsPaymentInformation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Flexv2sessionsFields + */ + +public class Flexv2sessionsFields { + @SerializedName("orderInformation") + private Flexv2sessionsFieldsOrderInformation orderInformation = null; + + @SerializedName("paymentInformation") + private Flexv2sessionsFieldsPaymentInformation paymentInformation = null; + + public Flexv2sessionsFields orderInformation(Flexv2sessionsFieldsOrderInformation orderInformation) { + this.orderInformation = orderInformation; + return this; + } + + /** + * Get orderInformation + * @return orderInformation + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformation getOrderInformation() { + return orderInformation; + } + + public void setOrderInformation(Flexv2sessionsFieldsOrderInformation orderInformation) { + this.orderInformation = orderInformation; + } + + public Flexv2sessionsFields paymentInformation(Flexv2sessionsFieldsPaymentInformation paymentInformation) { + this.paymentInformation = paymentInformation; + return this; + } + + /** + * Get paymentInformation + * @return paymentInformation + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsPaymentInformation getPaymentInformation() { + return paymentInformation; + } + + public void setPaymentInformation(Flexv2sessionsFieldsPaymentInformation paymentInformation) { + this.paymentInformation = paymentInformation; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Flexv2sessionsFields flexv2sessionsFields = (Flexv2sessionsFields) o; + return Objects.equals(this.orderInformation, flexv2sessionsFields.orderInformation) && + Objects.equals(this.paymentInformation, flexv2sessionsFields.paymentInformation); + } + + @Override + public int hashCode() { + return Objects.hash(orderInformation, paymentInformation); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Flexv2sessionsFields {\n"); + + sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n"); + sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformation.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformation.java new file mode 100644 index 00000000..5c080696 --- /dev/null +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformation.java @@ -0,0 +1,143 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Flexv2sessionsFieldsOrderInformationAmountDetails; +import Model.Flexv2sessionsFieldsOrderInformationBillTo; +import Model.Flexv2sessionsFieldsOrderInformationShipTo; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Flexv2sessionsFieldsOrderInformation + */ + +public class Flexv2sessionsFieldsOrderInformation { + @SerializedName("amountDetails") + private Flexv2sessionsFieldsOrderInformationAmountDetails amountDetails = null; + + @SerializedName("billTo") + private Flexv2sessionsFieldsOrderInformationBillTo billTo = null; + + @SerializedName("shipTo") + private Flexv2sessionsFieldsOrderInformationShipTo shipTo = null; + + public Flexv2sessionsFieldsOrderInformation amountDetails(Flexv2sessionsFieldsOrderInformationAmountDetails amountDetails) { + this.amountDetails = amountDetails; + return this; + } + + /** + * Get amountDetails + * @return amountDetails + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetails getAmountDetails() { + return amountDetails; + } + + public void setAmountDetails(Flexv2sessionsFieldsOrderInformationAmountDetails amountDetails) { + this.amountDetails = amountDetails; + } + + public Flexv2sessionsFieldsOrderInformation billTo(Flexv2sessionsFieldsOrderInformationBillTo billTo) { + this.billTo = billTo; + return this; + } + + /** + * Get billTo + * @return billTo + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationBillTo getBillTo() { + return billTo; + } + + public void setBillTo(Flexv2sessionsFieldsOrderInformationBillTo billTo) { + this.billTo = billTo; + } + + public Flexv2sessionsFieldsOrderInformation shipTo(Flexv2sessionsFieldsOrderInformationShipTo shipTo) { + this.shipTo = shipTo; + return this; + } + + /** + * Get shipTo + * @return shipTo + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationShipTo getShipTo() { + return shipTo; + } + + public void setShipTo(Flexv2sessionsFieldsOrderInformationShipTo shipTo) { + this.shipTo = shipTo; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Flexv2sessionsFieldsOrderInformation flexv2sessionsFieldsOrderInformation = (Flexv2sessionsFieldsOrderInformation) o; + return Objects.equals(this.amountDetails, flexv2sessionsFieldsOrderInformation.amountDetails) && + Objects.equals(this.billTo, flexv2sessionsFieldsOrderInformation.billTo) && + Objects.equals(this.shipTo, flexv2sessionsFieldsOrderInformation.shipTo); + } + + @Override + public int hashCode() { + return Objects.hash(amountDetails, billTo, shipTo); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Flexv2sessionsFieldsOrderInformation {\n"); + + sb.append(" amountDetails: ").append(toIndentedString(amountDetails)).append("\n"); + sb.append(" billTo: ").append(toIndentedString(billTo)).append("\n"); + sb.append(" shipTo: ").append(toIndentedString(shipTo)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.java new file mode 100644 index 00000000..45705b78 --- /dev/null +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.java @@ -0,0 +1,118 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Flexv2sessionsFieldsOrderInformationAmountDetails + */ + +public class Flexv2sessionsFieldsOrderInformationAmountDetails { + @SerializedName("totalAmount") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount totalAmount = null; + + @SerializedName("currency") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount currency = null; + + public Flexv2sessionsFieldsOrderInformationAmountDetails totalAmount(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount totalAmount) { + this.totalAmount = totalAmount; + return this; + } + + /** + * Get totalAmount + * @return totalAmount + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getTotalAmount() { + return totalAmount; + } + + public void setTotalAmount(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount totalAmount) { + this.totalAmount = totalAmount; + } + + public Flexv2sessionsFieldsOrderInformationAmountDetails currency(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount currency) { + this.currency = currency; + return this; + } + + /** + * Get currency + * @return currency + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getCurrency() { + return currency; + } + + public void setCurrency(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount currency) { + this.currency = currency; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Flexv2sessionsFieldsOrderInformationAmountDetails flexv2sessionsFieldsOrderInformationAmountDetails = (Flexv2sessionsFieldsOrderInformationAmountDetails) o; + return Objects.equals(this.totalAmount, flexv2sessionsFieldsOrderInformationAmountDetails.totalAmount) && + Objects.equals(this.currency, flexv2sessionsFieldsOrderInformationAmountDetails.currency); + } + + @Override + public int hashCode() { + return Objects.hash(totalAmount, currency); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Flexv2sessionsFieldsOrderInformationAmountDetails {\n"); + + sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); + sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.java new file mode 100644 index 00000000..02621a92 --- /dev/null +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.java @@ -0,0 +1,94 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount + */ + +public class Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount { + @SerializedName("required") + private Boolean required = null; + + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount required(Boolean required) { + this.required = required; + return this; + } + + /** + * Get required + * @return required + **/ + @ApiModelProperty(value = "") + public Boolean isRequired() { + return required; + } + + public void setRequired(Boolean required) { + this.required = required; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount = (Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount) o; + return Objects.equals(this.required, flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.required); + } + + @Override + public int hashCode() { + return Objects.hash(required); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount {\n"); + + sb.append(" required: ").append(toIndentedString(required)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationBillTo.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationBillTo.java new file mode 100644 index 00000000..3544356c --- /dev/null +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationBillTo.java @@ -0,0 +1,371 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Flexv2sessionsFieldsOrderInformationBillTo + */ + +public class Flexv2sessionsFieldsOrderInformationBillTo { + @SerializedName("address1") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address1 = null; + + @SerializedName("address2") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address2 = null; + + @SerializedName("administrativeArea") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount administrativeArea = null; + + @SerializedName("buildingNumber") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount buildingNumber = null; + + @SerializedName("country") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount country = null; + + @SerializedName("district") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount district = null; + + @SerializedName("locality") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount locality = null; + + @SerializedName("postalCode") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount postalCode = null; + + @SerializedName("email") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount email = null; + + @SerializedName("firstName") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount firstName = null; + + @SerializedName("lastName") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount lastName = null; + + @SerializedName("phoneNumber") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount phoneNumber = null; + + @SerializedName("company") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount company = null; + + public Flexv2sessionsFieldsOrderInformationBillTo address1(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address1) { + this.address1 = address1; + return this; + } + + /** + * Get address1 + * @return address1 + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getAddress1() { + return address1; + } + + public void setAddress1(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address1) { + this.address1 = address1; + } + + public Flexv2sessionsFieldsOrderInformationBillTo address2(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address2) { + this.address2 = address2; + return this; + } + + /** + * Get address2 + * @return address2 + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getAddress2() { + return address2; + } + + public void setAddress2(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address2) { + this.address2 = address2; + } + + public Flexv2sessionsFieldsOrderInformationBillTo administrativeArea(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount administrativeArea) { + this.administrativeArea = administrativeArea; + return this; + } + + /** + * Get administrativeArea + * @return administrativeArea + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getAdministrativeArea() { + return administrativeArea; + } + + public void setAdministrativeArea(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount administrativeArea) { + this.administrativeArea = administrativeArea; + } + + public Flexv2sessionsFieldsOrderInformationBillTo buildingNumber(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount buildingNumber) { + this.buildingNumber = buildingNumber; + return this; + } + + /** + * Get buildingNumber + * @return buildingNumber + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getBuildingNumber() { + return buildingNumber; + } + + public void setBuildingNumber(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount buildingNumber) { + this.buildingNumber = buildingNumber; + } + + public Flexv2sessionsFieldsOrderInformationBillTo country(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount country) { + this.country = country; + return this; + } + + /** + * Get country + * @return country + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getCountry() { + return country; + } + + public void setCountry(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount country) { + this.country = country; + } + + public Flexv2sessionsFieldsOrderInformationBillTo district(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount district) { + this.district = district; + return this; + } + + /** + * Get district + * @return district + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getDistrict() { + return district; + } + + public void setDistrict(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount district) { + this.district = district; + } + + public Flexv2sessionsFieldsOrderInformationBillTo locality(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount locality) { + this.locality = locality; + return this; + } + + /** + * Get locality + * @return locality + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getLocality() { + return locality; + } + + public void setLocality(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount locality) { + this.locality = locality; + } + + public Flexv2sessionsFieldsOrderInformationBillTo postalCode(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Get postalCode + * @return postalCode + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getPostalCode() { + return postalCode; + } + + public void setPostalCode(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount postalCode) { + this.postalCode = postalCode; + } + + public Flexv2sessionsFieldsOrderInformationBillTo email(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount email) { + this.email = email; + return this; + } + + /** + * Get email + * @return email + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getEmail() { + return email; + } + + public void setEmail(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount email) { + this.email = email; + } + + public Flexv2sessionsFieldsOrderInformationBillTo firstName(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount firstName) { + this.firstName = firstName; + return this; + } + + /** + * Get firstName + * @return firstName + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getFirstName() { + return firstName; + } + + public void setFirstName(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount firstName) { + this.firstName = firstName; + } + + public Flexv2sessionsFieldsOrderInformationBillTo lastName(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount lastName) { + this.lastName = lastName; + return this; + } + + /** + * Get lastName + * @return lastName + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getLastName() { + return lastName; + } + + public void setLastName(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount lastName) { + this.lastName = lastName; + } + + public Flexv2sessionsFieldsOrderInformationBillTo phoneNumber(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Get phoneNumber + * @return phoneNumber + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount phoneNumber) { + this.phoneNumber = phoneNumber; + } + + public Flexv2sessionsFieldsOrderInformationBillTo company(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount company) { + this.company = company; + return this; + } + + /** + * Get company + * @return company + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getCompany() { + return company; + } + + public void setCompany(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount company) { + this.company = company; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Flexv2sessionsFieldsOrderInformationBillTo flexv2sessionsFieldsOrderInformationBillTo = (Flexv2sessionsFieldsOrderInformationBillTo) o; + return Objects.equals(this.address1, flexv2sessionsFieldsOrderInformationBillTo.address1) && + Objects.equals(this.address2, flexv2sessionsFieldsOrderInformationBillTo.address2) && + Objects.equals(this.administrativeArea, flexv2sessionsFieldsOrderInformationBillTo.administrativeArea) && + Objects.equals(this.buildingNumber, flexv2sessionsFieldsOrderInformationBillTo.buildingNumber) && + Objects.equals(this.country, flexv2sessionsFieldsOrderInformationBillTo.country) && + Objects.equals(this.district, flexv2sessionsFieldsOrderInformationBillTo.district) && + Objects.equals(this.locality, flexv2sessionsFieldsOrderInformationBillTo.locality) && + Objects.equals(this.postalCode, flexv2sessionsFieldsOrderInformationBillTo.postalCode) && + Objects.equals(this.email, flexv2sessionsFieldsOrderInformationBillTo.email) && + Objects.equals(this.firstName, flexv2sessionsFieldsOrderInformationBillTo.firstName) && + Objects.equals(this.lastName, flexv2sessionsFieldsOrderInformationBillTo.lastName) && + Objects.equals(this.phoneNumber, flexv2sessionsFieldsOrderInformationBillTo.phoneNumber) && + Objects.equals(this.company, flexv2sessionsFieldsOrderInformationBillTo.company); + } + + @Override + public int hashCode() { + return Objects.hash(address1, address2, administrativeArea, buildingNumber, country, district, locality, postalCode, email, firstName, lastName, phoneNumber, company); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Flexv2sessionsFieldsOrderInformationBillTo {\n"); + + sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + sb.append(" country: ").append(toIndentedString(country)).append("\n"); + sb.append(" district: ").append(toIndentedString(district)).append("\n"); + sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" company: ").append(toIndentedString(company)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Flexv2sessionsFieldsOrderInformationShipTo.java b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationShipTo.java new file mode 100644 index 00000000..66626a5b --- /dev/null +++ b/src/main/java/Model/Flexv2sessionsFieldsOrderInformationShipTo.java @@ -0,0 +1,325 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Flexv2sessionsFieldsOrderInformationShipTo + */ + +public class Flexv2sessionsFieldsOrderInformationShipTo { + @SerializedName("address1") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address1 = null; + + @SerializedName("address2") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address2 = null; + + @SerializedName("administrativeArea") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount administrativeArea = null; + + @SerializedName("buildingNumber") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount buildingNumber = null; + + @SerializedName("country") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount country = null; + + @SerializedName("district") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount district = null; + + @SerializedName("locality") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount locality = null; + + @SerializedName("postalCode") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount postalCode = null; + + @SerializedName("firstName") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount firstName = null; + + @SerializedName("lastName") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount lastName = null; + + @SerializedName("company") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount company = null; + + public Flexv2sessionsFieldsOrderInformationShipTo address1(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address1) { + this.address1 = address1; + return this; + } + + /** + * Get address1 + * @return address1 + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getAddress1() { + return address1; + } + + public void setAddress1(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address1) { + this.address1 = address1; + } + + public Flexv2sessionsFieldsOrderInformationShipTo address2(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address2) { + this.address2 = address2; + return this; + } + + /** + * Get address2 + * @return address2 + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getAddress2() { + return address2; + } + + public void setAddress2(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount address2) { + this.address2 = address2; + } + + public Flexv2sessionsFieldsOrderInformationShipTo administrativeArea(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount administrativeArea) { + this.administrativeArea = administrativeArea; + return this; + } + + /** + * Get administrativeArea + * @return administrativeArea + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getAdministrativeArea() { + return administrativeArea; + } + + public void setAdministrativeArea(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount administrativeArea) { + this.administrativeArea = administrativeArea; + } + + public Flexv2sessionsFieldsOrderInformationShipTo buildingNumber(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount buildingNumber) { + this.buildingNumber = buildingNumber; + return this; + } + + /** + * Get buildingNumber + * @return buildingNumber + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getBuildingNumber() { + return buildingNumber; + } + + public void setBuildingNumber(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount buildingNumber) { + this.buildingNumber = buildingNumber; + } + + public Flexv2sessionsFieldsOrderInformationShipTo country(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount country) { + this.country = country; + return this; + } + + /** + * Get country + * @return country + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getCountry() { + return country; + } + + public void setCountry(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount country) { + this.country = country; + } + + public Flexv2sessionsFieldsOrderInformationShipTo district(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount district) { + this.district = district; + return this; + } + + /** + * Get district + * @return district + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getDistrict() { + return district; + } + + public void setDistrict(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount district) { + this.district = district; + } + + public Flexv2sessionsFieldsOrderInformationShipTo locality(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount locality) { + this.locality = locality; + return this; + } + + /** + * Get locality + * @return locality + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getLocality() { + return locality; + } + + public void setLocality(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount locality) { + this.locality = locality; + } + + public Flexv2sessionsFieldsOrderInformationShipTo postalCode(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Get postalCode + * @return postalCode + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getPostalCode() { + return postalCode; + } + + public void setPostalCode(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount postalCode) { + this.postalCode = postalCode; + } + + public Flexv2sessionsFieldsOrderInformationShipTo firstName(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount firstName) { + this.firstName = firstName; + return this; + } + + /** + * Get firstName + * @return firstName + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getFirstName() { + return firstName; + } + + public void setFirstName(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount firstName) { + this.firstName = firstName; + } + + public Flexv2sessionsFieldsOrderInformationShipTo lastName(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount lastName) { + this.lastName = lastName; + return this; + } + + /** + * Get lastName + * @return lastName + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getLastName() { + return lastName; + } + + public void setLastName(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount lastName) { + this.lastName = lastName; + } + + public Flexv2sessionsFieldsOrderInformationShipTo company(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount company) { + this.company = company; + return this; + } + + /** + * Get company + * @return company + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getCompany() { + return company; + } + + public void setCompany(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount company) { + this.company = company; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Flexv2sessionsFieldsOrderInformationShipTo flexv2sessionsFieldsOrderInformationShipTo = (Flexv2sessionsFieldsOrderInformationShipTo) o; + return Objects.equals(this.address1, flexv2sessionsFieldsOrderInformationShipTo.address1) && + Objects.equals(this.address2, flexv2sessionsFieldsOrderInformationShipTo.address2) && + Objects.equals(this.administrativeArea, flexv2sessionsFieldsOrderInformationShipTo.administrativeArea) && + Objects.equals(this.buildingNumber, flexv2sessionsFieldsOrderInformationShipTo.buildingNumber) && + Objects.equals(this.country, flexv2sessionsFieldsOrderInformationShipTo.country) && + Objects.equals(this.district, flexv2sessionsFieldsOrderInformationShipTo.district) && + Objects.equals(this.locality, flexv2sessionsFieldsOrderInformationShipTo.locality) && + Objects.equals(this.postalCode, flexv2sessionsFieldsOrderInformationShipTo.postalCode) && + Objects.equals(this.firstName, flexv2sessionsFieldsOrderInformationShipTo.firstName) && + Objects.equals(this.lastName, flexv2sessionsFieldsOrderInformationShipTo.lastName) && + Objects.equals(this.company, flexv2sessionsFieldsOrderInformationShipTo.company); + } + + @Override + public int hashCode() { + return Objects.hash(address1, address2, administrativeArea, buildingNumber, country, district, locality, postalCode, firstName, lastName, company); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Flexv2sessionsFieldsOrderInformationShipTo {\n"); + + sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + sb.append(" address2: ").append(toIndentedString(address2)).append("\n"); + sb.append(" administrativeArea: ").append(toIndentedString(administrativeArea)).append("\n"); + sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + sb.append(" country: ").append(toIndentedString(country)).append("\n"); + sb.append(" district: ").append(toIndentedString(district)).append("\n"); + sb.append(" locality: ").append(toIndentedString(locality)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + sb.append(" company: ").append(toIndentedString(company)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Flexv2sessionsFieldsPaymentInformation.java b/src/main/java/Model/Flexv2sessionsFieldsPaymentInformation.java new file mode 100644 index 00000000..5b3bb0d5 --- /dev/null +++ b/src/main/java/Model/Flexv2sessionsFieldsPaymentInformation.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Flexv2sessionsFieldsPaymentInformationCard; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Flexv2sessionsFieldsPaymentInformation + */ + +public class Flexv2sessionsFieldsPaymentInformation { + @SerializedName("card") + private Flexv2sessionsFieldsPaymentInformationCard card = null; + + public Flexv2sessionsFieldsPaymentInformation card(Flexv2sessionsFieldsPaymentInformationCard card) { + this.card = card; + return this; + } + + /** + * Get card + * @return card + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsPaymentInformationCard getCard() { + return card; + } + + public void setCard(Flexv2sessionsFieldsPaymentInformationCard card) { + this.card = card; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Flexv2sessionsFieldsPaymentInformation flexv2sessionsFieldsPaymentInformation = (Flexv2sessionsFieldsPaymentInformation) o; + return Objects.equals(this.card, flexv2sessionsFieldsPaymentInformation.card); + } + + @Override + public int hashCode() { + return Objects.hash(card); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Flexv2sessionsFieldsPaymentInformation {\n"); + + sb.append(" card: ").append(toIndentedString(card)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Flexv2sessionsFieldsPaymentInformationCard.java b/src/main/java/Model/Flexv2sessionsFieldsPaymentInformationCard.java new file mode 100644 index 00000000..efc29790 --- /dev/null +++ b/src/main/java/Model/Flexv2sessionsFieldsPaymentInformationCard.java @@ -0,0 +1,187 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Flexv2sessionsFieldsPaymentInformationCard + */ + +public class Flexv2sessionsFieldsPaymentInformationCard { + @SerializedName("number") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount number = null; + + @SerializedName("type") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount type = null; + + @SerializedName("securityCode") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount securityCode = null; + + @SerializedName("expirationMonth") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount expirationMonth = null; + + @SerializedName("expirationYear") + private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount expirationYear = null; + + public Flexv2sessionsFieldsPaymentInformationCard number(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount number) { + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getNumber() { + return number; + } + + public void setNumber(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount number) { + this.number = number; + } + + public Flexv2sessionsFieldsPaymentInformationCard type(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getType() { + return type; + } + + public void setType(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount type) { + this.type = type; + } + + public Flexv2sessionsFieldsPaymentInformationCard securityCode(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount securityCode) { + this.securityCode = securityCode; + return this; + } + + /** + * Get securityCode + * @return securityCode + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getSecurityCode() { + return securityCode; + } + + public void setSecurityCode(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount securityCode) { + this.securityCode = securityCode; + } + + public Flexv2sessionsFieldsPaymentInformationCard expirationMonth(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount expirationMonth) { + this.expirationMonth = expirationMonth; + return this; + } + + /** + * Get expirationMonth + * @return expirationMonth + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getExpirationMonth() { + return expirationMonth; + } + + public void setExpirationMonth(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount expirationMonth) { + this.expirationMonth = expirationMonth; + } + + public Flexv2sessionsFieldsPaymentInformationCard expirationYear(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount expirationYear) { + this.expirationYear = expirationYear; + return this; + } + + /** + * Get expirationYear + * @return expirationYear + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount getExpirationYear() { + return expirationYear; + } + + public void setExpirationYear(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount expirationYear) { + this.expirationYear = expirationYear; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Flexv2sessionsFieldsPaymentInformationCard flexv2sessionsFieldsPaymentInformationCard = (Flexv2sessionsFieldsPaymentInformationCard) o; + return Objects.equals(this.number, flexv2sessionsFieldsPaymentInformationCard.number) && + Objects.equals(this.type, flexv2sessionsFieldsPaymentInformationCard.type) && + Objects.equals(this.securityCode, flexv2sessionsFieldsPaymentInformationCard.securityCode) && + Objects.equals(this.expirationMonth, flexv2sessionsFieldsPaymentInformationCard.expirationMonth) && + Objects.equals(this.expirationYear, flexv2sessionsFieldsPaymentInformationCard.expirationYear); + } + + @Override + public int hashCode() { + return Objects.hash(number, type, securityCode, expirationMonth, expirationYear); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Flexv2sessionsFieldsPaymentInformationCard {\n"); + + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" securityCode: ").append(toIndentedString(securityCode)).append("\n"); + sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); + sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/GenerateFlexAPICaptureContextRequest.java b/src/main/java/Model/GenerateFlexAPICaptureContextRequest.java new file mode 100644 index 00000000..417c81e6 --- /dev/null +++ b/src/main/java/Model/GenerateFlexAPICaptureContextRequest.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Flexv2sessionsFields; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * GenerateFlexAPICaptureContextRequest + */ + +public class GenerateFlexAPICaptureContextRequest { + @SerializedName("fields") + private Flexv2sessionsFields fields = null; + + public GenerateFlexAPICaptureContextRequest fields(Flexv2sessionsFields fields) { + this.fields = fields; + return this; + } + + /** + * Get fields + * @return fields + **/ + @ApiModelProperty(value = "") + public Flexv2sessionsFields getFields() { + return fields; + } + + public void setFields(Flexv2sessionsFields fields) { + this.fields = fields; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest = (GenerateFlexAPICaptureContextRequest) o; + return Objects.equals(this.fields, generateFlexAPICaptureContextRequest.fields); + } + + @Override + public int hashCode() { + return Objects.hash(fields); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GenerateFlexAPICaptureContextRequest {\n"); + + sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/InlineResponse4001.java b/src/main/java/Model/InlineResponse4001.java index e9f94dbf..ff038da2 100644 --- a/src/main/java/Model/InlineResponse4001.java +++ b/src/main/java/Model/InlineResponse4001.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.PtsV2PaymentsPost201ResponseErrorInformationDetails; +import Model.InlineResponse4001Details; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,73 +32,153 @@ */ public class InlineResponse4001 { - @SerializedName("submitTimeUtc") - private String submitTimeUtc = null; + @SerializedName("correlationId") + private String correlationId = null; - @SerializedName("status") - private String status = null; + @SerializedName("details") + private List details = null; - @SerializedName("reason") - private String reason = null; + @SerializedName("informationLink") + private String informationLink = null; @SerializedName("message") private String message = null; - @SerializedName("details") - private List details = null; + /** + * Gets or Sets reason + */ + @JsonAdapter(ReasonEnum.Adapter.class) + public enum ReasonEnum { + INVALID_APIKEY("INVALID_APIKEY"), + + INVALID_SHIPPING_INPUT_PARAMS("INVALID_SHIPPING_INPUT_PARAMS"), + + CAPTURE_CONTEXT_INVALID("CAPTURE_CONTEXT_INVALID"), + + CAPTURE_CONTEXT_EXPIRED("CAPTURE_CONTEXT_EXPIRED"), + + SDK_XHR_ERROR("SDK_XHR_ERROR"), + + UNIFIEDPAYMENTS_VALIDATION_PARAMS("UNIFIEDPAYMENTS_VALIDATION_PARAMS"), + + UNIFIEDPAYMENTS_VALIDATION_FIELDS("UNIFIEDPAYMENTS_VALIDATION_FIELDS"), + + UNIFIEDPAYMENT_PAYMENT_PARAMITERS("UNIFIEDPAYMENT_PAYMENT_PARAMITERS"), + + CREATE_TOKEN_TIMEOUT("CREATE_TOKEN_TIMEOUT"), + + CREATE_TOKEN_XHR_ERROR("CREATE_TOKEN_XHR_ERROR"), + + SHOW_LOAD_CONTAINER_SELECTOR("SHOW_LOAD_CONTAINER_SELECTOR"), + + SHOW_LOAD_INVALID_CONTAINER("SHOW_LOAD_INVALID_CONTAINER"), + + SHOW_TOKEN_TIMEOUT("SHOW_TOKEN_TIMEOUT"), + + SHOW_TOKEN_XHR_ERROR("SHOW_TOKEN_XHR_ERROR"), + + SHOW_PAYMENT_TIMEOUT("SHOW_PAYMENT_TIMEOUT"); + + private String value; - public InlineResponse4001 submitTimeUtc(String submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + ReasonEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ReasonEnum fromValue(String text) { + for (ReasonEnum b : ReasonEnum.values()) { + if (String.valueOf(b.value).equals(text)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ReasonEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ReasonEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ReasonEnum.fromValue(String.valueOf(value)); + } + } + } + @SerializedName("reason") + private ReasonEnum reason = null; + + public InlineResponse4001 correlationId(String correlationId) { + this.correlationId = correlationId; return this; } /** - * 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 submitTimeUtc + * Get correlationId + * @return correlationId **/ - @ApiModelProperty(value = "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. ") - public String getSubmitTimeUtc() { - return submitTimeUtc; + @ApiModelProperty(value = "") + public String getCorrelationId() { + return correlationId; + } + + public void setCorrelationId(String correlationId) { + this.correlationId = correlationId; } - public void setSubmitTimeUtc(String submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public InlineResponse4001 details(List details) { + this.details = details; + return this; } - public InlineResponse4001 status(String status) { - this.status = status; + public InlineResponse4001 addDetailsItem(InlineResponse4001Details detailsItem) { + if (this.details == null) { + this.details = new ArrayList(); + } + this.details.add(detailsItem); return this; } /** - * The status of the submitted transaction. Possible values: - `INVALID_REQUEST` - * @return status + * Get details + * @return details **/ - @ApiModelProperty(value = "The status of the submitted transaction. Possible values: - `INVALID_REQUEST` ") - public String getStatus() { - return status; + @ApiModelProperty(value = "") + public List getDetails() { + return details; } - public void setStatus(String status) { - this.status = status; + public void setDetails(List details) { + this.details = details; } - public InlineResponse4001 reason(String reason) { - this.reason = reason; + public InlineResponse4001 informationLink(String informationLink) { + this.informationLink = informationLink; return this; } /** - * The reason of the status. Possible Values: - `INVALID_DATA` - * @return reason + * Get informationLink + * @return informationLink **/ - @ApiModelProperty(value = "The reason of the status. Possible Values: - `INVALID_DATA` ") - public String getReason() { - return reason; + @ApiModelProperty(value = "") + public String getInformationLink() { + return informationLink; } - public void setReason(String reason) { - this.reason = reason; + public void setInformationLink(String informationLink) { + this.informationLink = informationLink; } public InlineResponse4001 message(String message) { @@ -107,10 +187,10 @@ public InlineResponse4001 message(String message) { } /** - * Input request error. + * Get message * @return message **/ - @ApiModelProperty(value = "Input request error.") + @ApiModelProperty(required = true, value = "") public String getMessage() { return message; } @@ -119,30 +199,22 @@ public void setMessage(String message) { this.message = message; } - public InlineResponse4001 details(List details) { - this.details = details; - return this; - } - - public InlineResponse4001 addDetailsItem(PtsV2PaymentsPost201ResponseErrorInformationDetails detailsItem) { - if (this.details == null) { - this.details = new ArrayList(); - } - this.details.add(detailsItem); + public InlineResponse4001 reason(ReasonEnum reason) { + this.reason = reason; return this; } /** - * Get details - * @return details + * Get reason + * @return reason **/ - @ApiModelProperty(value = "") - public List getDetails() { - return details; + @ApiModelProperty(required = true, value = "") + public ReasonEnum getReason() { + return reason; } - public void setDetails(List details) { - this.details = details; + public void setReason(ReasonEnum reason) { + this.reason = reason; } @@ -155,16 +227,16 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse4001 inlineResponse4001 = (InlineResponse4001) o; - return Objects.equals(this.submitTimeUtc, inlineResponse4001.submitTimeUtc) && - Objects.equals(this.status, inlineResponse4001.status) && - Objects.equals(this.reason, inlineResponse4001.reason) && + return Objects.equals(this.correlationId, inlineResponse4001.correlationId) && + Objects.equals(this.details, inlineResponse4001.details) && + Objects.equals(this.informationLink, inlineResponse4001.informationLink) && Objects.equals(this.message, inlineResponse4001.message) && - Objects.equals(this.details, inlineResponse4001.details); + Objects.equals(this.reason, inlineResponse4001.reason); } @Override public int hashCode() { - return Objects.hash(submitTimeUtc, status, reason, message, details); + return Objects.hash(correlationId, details, informationLink, message, reason); } @@ -173,11 +245,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4001 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); sb.append(" details: ").append(toIndentedString(details)).append("\n"); + sb.append(" informationLink: ").append(toIndentedString(informationLink)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse4005Details.java b/src/main/java/Model/InlineResponse4001Details.java similarity index 51% rename from src/main/java/Model/InlineResponse4005Details.java rename to src/main/java/Model/InlineResponse4001Details.java index 72386e0b..047a19a5 100644 --- a/src/main/java/Model/InlineResponse4005Details.java +++ b/src/main/java/Model/InlineResponse4001Details.java @@ -25,50 +25,50 @@ import java.io.IOException; /** - * InlineResponse4005Details + * InlineResponse4001Details */ -public class InlineResponse4005Details { - @SerializedName("field") - private String field = null; +public class InlineResponse4001Details { + @SerializedName("location") + private String location = null; - @SerializedName("reason") - private String reason = null; + @SerializedName("message") + private String message = null; - public InlineResponse4005Details field(String field) { - this.field = field; + public InlineResponse4001Details location(String location) { + this.location = location; return this; } /** - * This is the flattened JSON object field name/path that is either missing or invalid. - * @return field + * Get location + * @return location **/ - @ApiModelProperty(value = "This is the flattened JSON object field name/path that is either missing or invalid.") - public String getField() { - return field; + @ApiModelProperty(value = "") + public String getLocation() { + return location; } - public void setField(String field) { - this.field = field; + public void setLocation(String location) { + this.location = location; } - public InlineResponse4005Details reason(String reason) { - this.reason = reason; + public InlineResponse4001Details message(String message) { + this.message = message; return this; } /** - * Possible reasons for the error. - * @return reason + * Get message + * @return message **/ - @ApiModelProperty(example = "MISSING_FIELD", value = "Possible reasons for the error.") - public String getReason() { - return reason; + @ApiModelProperty(value = "") + public String getMessage() { + return message; } - public void setReason(String reason) { - this.reason = reason; + public void setMessage(String message) { + this.message = message; } @@ -80,24 +80,24 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse4005Details inlineResponse4005Details = (InlineResponse4005Details) o; - return Objects.equals(this.field, inlineResponse4005Details.field) && - Objects.equals(this.reason, inlineResponse4005Details.reason); + InlineResponse4001Details inlineResponse4001Details = (InlineResponse4001Details) o; + return Objects.equals(this.location, inlineResponse4001Details.location) && + Objects.equals(this.message, inlineResponse4001Details.message); } @Override public int hashCode() { - return Objects.hash(field, reason); + return Objects.hash(location, message); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse4005Details {\n"); + sb.append("class InlineResponse4001Details {\n"); - sb.append(" field: ").append(toIndentedString(field)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse4002.java b/src/main/java/Model/InlineResponse4002.java index b029a2be..a33d5e96 100644 --- a/src/main/java/Model/InlineResponse4002.java +++ b/src/main/java/Model/InlineResponse4002.java @@ -71,10 +71,10 @@ public InlineResponse4002 status(String status) { } /** - * The status of the submitted transaction. Possible values: - INVALID_REQUEST + * The status of the submitted transaction. Possible values: - `INVALID_REQUEST` * @return status **/ - @ApiModelProperty(value = "The status of the submitted transaction. Possible values: - INVALID_REQUEST ") + @ApiModelProperty(value = "The status of the submitted transaction. Possible values: - `INVALID_REQUEST` ") public String getStatus() { return status; } @@ -89,10 +89,10 @@ public InlineResponse4002 reason(String reason) { } /** - * The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION + * The reason of the status. Possible Values: - `INVALID_DATA` * @return reason **/ - @ApiModelProperty(value = "The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION ") + @ApiModelProperty(value = "The reason of the status. Possible Values: - `INVALID_DATA` ") public String getReason() { return reason; } @@ -107,10 +107,10 @@ public InlineResponse4002 message(String message) { } /** - * The detail message related to the status and reason listed above. + * Input request error. * @return message **/ - @ApiModelProperty(value = "The detail message related to the status and reason listed above.") + @ApiModelProperty(value = "Input request error.") public String getMessage() { return message; } diff --git a/src/main/java/Model/InlineResponse4003.java b/src/main/java/Model/InlineResponse4003.java index 67fee2af..42815606 100644 --- a/src/main/java/Model/InlineResponse4003.java +++ b/src/main/java/Model/InlineResponse4003.java @@ -89,10 +89,10 @@ public InlineResponse4003 reason(String reason) { } /** - * The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE + * The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION * @return reason **/ - @ApiModelProperty(value = "The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE ") + @ApiModelProperty(value = "The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION ") public String getReason() { return reason; } diff --git a/src/main/java/Model/InlineResponse4004.java b/src/main/java/Model/InlineResponse4004.java index 904fd3c4..b821daa8 100644 --- a/src/main/java/Model/InlineResponse4004.java +++ b/src/main/java/Model/InlineResponse4004.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse4004Fields; +import Model.PtsV2PaymentsPost201ResponseErrorInformationDetails; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -28,143 +28,121 @@ import java.util.List; /** - * Error Bean + * InlineResponse4004 */ -@ApiModel(description = "Error Bean") public class InlineResponse4004 { - @SerializedName("code") - private String code = null; + @SerializedName("submitTimeUtc") + private String submitTimeUtc = null; - @SerializedName("message") - private String message = null; - - @SerializedName("localizationKey") - private String localizationKey = null; - - @SerializedName("correlationId") - private String correlationId = null; + @SerializedName("status") + private String status = null; - @SerializedName("detail") - private String detail = null; - - @SerializedName("fields") - private List fields = null; - - public InlineResponse4004 code(String code) { - this.code = code; - return this; - } + @SerializedName("reason") + private String reason = null; - /** - * Error code - * @return code - **/ - @ApiModelProperty(required = true, value = "Error code") - public String getCode() { - return code; - } + @SerializedName("message") + private String message = null; - public void setCode(String code) { - this.code = code; - } + @SerializedName("details") + private List details = null; - public InlineResponse4004 message(String message) { - this.message = message; + public InlineResponse4004 submitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; return this; } /** - * Error message - * @return message + * 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 submitTimeUtc **/ - @ApiModelProperty(required = true, value = "Error message") - public String getMessage() { - return message; + @ApiModelProperty(value = "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. ") + public String getSubmitTimeUtc() { + return submitTimeUtc; } - public void setMessage(String message) { - this.message = message; + public void setSubmitTimeUtc(String submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; } - public InlineResponse4004 localizationKey(String localizationKey) { - this.localizationKey = localizationKey; + public InlineResponse4004 status(String status) { + this.status = status; return this; } /** - * Localization Key Name - * @return localizationKey + * The status of the submitted transaction. Possible values: - INVALID_REQUEST + * @return status **/ - @ApiModelProperty(value = "Localization Key Name") - public String getLocalizationKey() { - return localizationKey; + @ApiModelProperty(value = "The status of the submitted transaction. Possible values: - INVALID_REQUEST ") + public String getStatus() { + return status; } - public void setLocalizationKey(String localizationKey) { - this.localizationKey = localizationKey; + public void setStatus(String status) { + this.status = status; } - public InlineResponse4004 correlationId(String correlationId) { - this.correlationId = correlationId; + public InlineResponse4004 reason(String reason) { + this.reason = reason; return this; } /** - * Correlation Id - * @return correlationId + * The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE + * @return reason **/ - @ApiModelProperty(value = "Correlation Id") - public String getCorrelationId() { - return correlationId; + @ApiModelProperty(value = "The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE ") + public String getReason() { + return reason; } - public void setCorrelationId(String correlationId) { - this.correlationId = correlationId; + public void setReason(String reason) { + this.reason = reason; } - public InlineResponse4004 detail(String detail) { - this.detail = detail; + public InlineResponse4004 message(String message) { + this.message = message; return this; } /** - * Error Detail - * @return detail + * The detail message related to the status and reason listed above. + * @return message **/ - @ApiModelProperty(value = "Error Detail") - public String getDetail() { - return detail; + @ApiModelProperty(value = "The detail message related to the status and reason listed above.") + public String getMessage() { + return message; } - public void setDetail(String detail) { - this.detail = detail; + public void setMessage(String message) { + this.message = message; } - public InlineResponse4004 fields(List fields) { - this.fields = fields; + public InlineResponse4004 details(List details) { + this.details = details; return this; } - public InlineResponse4004 addFieldsItem(InlineResponse4004Fields fieldsItem) { - if (this.fields == null) { - this.fields = new ArrayList(); + public InlineResponse4004 addDetailsItem(PtsV2PaymentsPost201ResponseErrorInformationDetails detailsItem) { + if (this.details == null) { + this.details = new ArrayList(); } - this.fields.add(fieldsItem); + this.details.add(detailsItem); return this; } /** - * Error fields List - * @return fields + * Get details + * @return details **/ - @ApiModelProperty(value = "Error fields List") - public List getFields() { - return fields; + @ApiModelProperty(value = "") + public List getDetails() { + return details; } - public void setFields(List fields) { - this.fields = fields; + public void setDetails(List details) { + this.details = details; } @@ -177,17 +155,16 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse4004 inlineResponse4004 = (InlineResponse4004) o; - return Objects.equals(this.code, inlineResponse4004.code) && + return Objects.equals(this.submitTimeUtc, inlineResponse4004.submitTimeUtc) && + Objects.equals(this.status, inlineResponse4004.status) && + Objects.equals(this.reason, inlineResponse4004.reason) && Objects.equals(this.message, inlineResponse4004.message) && - Objects.equals(this.localizationKey, inlineResponse4004.localizationKey) && - Objects.equals(this.correlationId, inlineResponse4004.correlationId) && - Objects.equals(this.detail, inlineResponse4004.detail) && - Objects.equals(this.fields, inlineResponse4004.fields); + Objects.equals(this.details, inlineResponse4004.details); } @Override public int hashCode() { - return Objects.hash(code, message, localizationKey, correlationId, detail, fields); + return Objects.hash(submitTimeUtc, status, reason, message, details); } @@ -196,12 +173,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4004 {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); - sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); - sb.append(" detail: ").append(toIndentedString(detail)).append("\n"); - sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); + sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse4005.java b/src/main/java/Model/InlineResponse4005.java index 434ffae8..66a4d604 100644 --- a/src/main/java/Model/InlineResponse4005.java +++ b/src/main/java/Model/InlineResponse4005.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse4005Details; +import Model.InlineResponse4005Fields; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,172 +26,145 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; -import org.joda.time.LocalDate; /** - * InlineResponse4005 + * Error Bean */ +@ApiModel(description = "Error Bean") public class InlineResponse4005 { - @SerializedName("submitTimeUtc") - private LocalDate submitTimeUtc = null; + @SerializedName("code") + private String code = null; - @SerializedName("status") - private String status = null; + @SerializedName("message") + private String message = null; - /** - * Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' - */ - @JsonAdapter(ReasonEnum.Adapter.class) - public enum ReasonEnum { - INVALID_DATA("INVALID_DATA"), - - SYSTEM_ERROR("SYSTEM_ERROR"), - - RESOURCE_NOT_FOUND("RESOURCE_NOT_FOUND"); + @SerializedName("localizationKey") + private String localizationKey = null; - private String value; + @SerializedName("correlationId") + private String correlationId = null; - ReasonEnum(String value) { - this.value = value; - } + @SerializedName("detail") + private String detail = null; - public String getValue() { - return value; - } + @SerializedName("fields") + private List fields = null; - @Override - public String toString() { - return String.valueOf(value); - } - - public static ReasonEnum fromValue(String text) { - for (ReasonEnum b : ReasonEnum.values()) { - if (String.valueOf(b.value).equals(text)) { - return b; - } - } - return null; - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final ReasonEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public ReasonEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return ReasonEnum.fromValue(String.valueOf(value)); - } - } + public InlineResponse4005 code(String code) { + this.code = code; + return this; } - @SerializedName("reason") - private ReasonEnum reason = null; - @SerializedName("message") - private String message = null; + /** + * Error code + * @return code + **/ + @ApiModelProperty(required = true, value = "Error code") + public String getCode() { + return code; + } - @SerializedName("details") - private List details = null; + public void setCode(String code) { + this.code = code; + } - public InlineResponse4005 submitTimeUtc(LocalDate submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public InlineResponse4005 message(String message) { + this.message = message; return this; } /** - * 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. - * @return submitTimeUtc + * Error message + * @return message **/ - @ApiModelProperty(example = "2019-06-11T22:47:57.000Z", value = "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. ") - public LocalDate getSubmitTimeUtc() { - return submitTimeUtc; + @ApiModelProperty(required = true, value = "Error message") + public String getMessage() { + return message; } - public void setSubmitTimeUtc(LocalDate submitTimeUtc) { - this.submitTimeUtc = submitTimeUtc; + public void setMessage(String message) { + this.message = message; } - public InlineResponse4005 status(String status) { - this.status = status; + public InlineResponse4005 localizationKey(String localizationKey) { + this.localizationKey = localizationKey; return this; } /** - * The http status description of the submitted request. - * @return status + * Localization Key Name + * @return localizationKey **/ - @ApiModelProperty(example = "BAD_REQUEST", value = "The http status description of the submitted request.") - public String getStatus() { - return status; + @ApiModelProperty(value = "Localization Key Name") + public String getLocalizationKey() { + return localizationKey; } - public void setStatus(String status) { - this.status = status; + public void setLocalizationKey(String localizationKey) { + this.localizationKey = localizationKey; } - public InlineResponse4005 reason(ReasonEnum reason) { - this.reason = reason; + public InlineResponse4005 correlationId(String correlationId) { + this.correlationId = correlationId; return this; } /** - * Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' - * @return reason + * Correlation Id + * @return correlationId **/ - @ApiModelProperty(value = "Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' ") - public ReasonEnum getReason() { - return reason; + @ApiModelProperty(value = "Correlation Id") + public String getCorrelationId() { + return correlationId; } - public void setReason(ReasonEnum reason) { - this.reason = reason; + public void setCorrelationId(String correlationId) { + this.correlationId = correlationId; } - public InlineResponse4005 message(String message) { - this.message = message; + public InlineResponse4005 detail(String detail) { + this.detail = detail; return this; } /** - * Descriptive message for the error. - * @return message + * Error Detail + * @return detail **/ - @ApiModelProperty(value = "Descriptive message for the error.") - public String getMessage() { - return message; + @ApiModelProperty(value = "Error Detail") + public String getDetail() { + return detail; } - public void setMessage(String message) { - this.message = message; + public void setDetail(String detail) { + this.detail = detail; } - public InlineResponse4005 details(List details) { - this.details = details; + public InlineResponse4005 fields(List fields) { + this.fields = fields; return this; } - public InlineResponse4005 addDetailsItem(InlineResponse4005Details detailsItem) { - if (this.details == null) { - this.details = new ArrayList(); + public InlineResponse4005 addFieldsItem(InlineResponse4005Fields fieldsItem) { + if (this.fields == null) { + this.fields = new ArrayList(); } - this.details.add(detailsItem); + this.fields.add(fieldsItem); return this; } /** - * Get details - * @return details + * Error fields List + * @return fields **/ - @ApiModelProperty(value = "") - public List getDetails() { - return details; + @ApiModelProperty(value = "Error fields List") + public List getFields() { + return fields; } - public void setDetails(List details) { - this.details = details; + public void setFields(List fields) { + this.fields = fields; } @@ -204,16 +177,17 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse4005 inlineResponse4005 = (InlineResponse4005) o; - return Objects.equals(this.submitTimeUtc, inlineResponse4005.submitTimeUtc) && - Objects.equals(this.status, inlineResponse4005.status) && - Objects.equals(this.reason, inlineResponse4005.reason) && + return Objects.equals(this.code, inlineResponse4005.code) && Objects.equals(this.message, inlineResponse4005.message) && - Objects.equals(this.details, inlineResponse4005.details); + Objects.equals(this.localizationKey, inlineResponse4005.localizationKey) && + Objects.equals(this.correlationId, inlineResponse4005.correlationId) && + Objects.equals(this.detail, inlineResponse4005.detail) && + Objects.equals(this.fields, inlineResponse4005.fields); } @Override public int hashCode() { - return Objects.hash(submitTimeUtc, status, reason, message, details); + return Objects.hash(code, message, localizationKey, correlationId, detail, fields); } @@ -222,11 +196,12 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4005 {\n"); - sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); + sb.append(" localizationKey: ").append(toIndentedString(localizationKey)).append("\n"); + sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); + sb.append(" detail: ").append(toIndentedString(detail)).append("\n"); + sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse4004Fields.java b/src/main/java/Model/InlineResponse4005Fields.java similarity index 85% rename from src/main/java/Model/InlineResponse4004Fields.java rename to src/main/java/Model/InlineResponse4005Fields.java index a6d11606..fc7c8720 100644 --- a/src/main/java/Model/InlineResponse4004Fields.java +++ b/src/main/java/Model/InlineResponse4005Fields.java @@ -29,7 +29,7 @@ */ @ApiModel(description = "Provide validation failed input field details") -public class InlineResponse4004Fields { +public class InlineResponse4005Fields { @SerializedName("path") private String path = null; @@ -39,7 +39,7 @@ public class InlineResponse4004Fields { @SerializedName("localizationKey") private String localizationKey = null; - public InlineResponse4004Fields path(String path) { + public InlineResponse4005Fields path(String path) { this.path = path; return this; } @@ -57,7 +57,7 @@ public void setPath(String path) { this.path = path; } - public InlineResponse4004Fields message(String message) { + public InlineResponse4005Fields message(String message) { this.message = message; return this; } @@ -75,7 +75,7 @@ public void setMessage(String message) { this.message = message; } - public InlineResponse4004Fields localizationKey(String localizationKey) { + public InlineResponse4005Fields localizationKey(String localizationKey) { this.localizationKey = localizationKey; return this; } @@ -102,10 +102,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - InlineResponse4004Fields inlineResponse4004Fields = (InlineResponse4004Fields) o; - return Objects.equals(this.path, inlineResponse4004Fields.path) && - Objects.equals(this.message, inlineResponse4004Fields.message) && - Objects.equals(this.localizationKey, inlineResponse4004Fields.localizationKey); + InlineResponse4005Fields inlineResponse4005Fields = (InlineResponse4005Fields) o; + return Objects.equals(this.path, inlineResponse4005Fields.path) && + Objects.equals(this.message, inlineResponse4005Fields.message) && + Objects.equals(this.localizationKey, inlineResponse4005Fields.localizationKey); } @Override @@ -117,7 +117,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class InlineResponse4004Fields {\n"); + sb.append("class InlineResponse4005Fields {\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); diff --git a/src/main/java/Model/InlineResponse4006.java b/src/main/java/Model/InlineResponse4006.java index 9da3a454..086fb988 100644 --- a/src/main/java/Model/InlineResponse4006.java +++ b/src/main/java/Model/InlineResponse4006.java @@ -26,58 +26,29 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; +import org.joda.time.LocalDate; /** * InlineResponse4006 */ public class InlineResponse4006 { - @SerializedName("correlationId") - private String correlationId = null; + @SerializedName("submitTimeUtc") + private LocalDate submitTimeUtc = null; - @SerializedName("details") - private List details = null; - - @SerializedName("informationLink") - private String informationLink = null; - - @SerializedName("message") - private String message = null; + @SerializedName("status") + private String status = null; /** - * Gets or Sets reason + * Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' */ @JsonAdapter(ReasonEnum.Adapter.class) public enum ReasonEnum { - INVALID_APIKEY("INVALID_APIKEY"), - - INVALID_SHIPPING_INPUT_PARAMS("INVALID_SHIPPING_INPUT_PARAMS"), - - CAPTURE_CONTEXT_INVALID("CAPTURE_CONTEXT_INVALID"), - - CAPTURE_CONTEXT_EXPIRED("CAPTURE_CONTEXT_EXPIRED"), - - SDK_XHR_ERROR("SDK_XHR_ERROR"), + INVALID_DATA("INVALID_DATA"), - UNIFIEDPAYMENTS_VALIDATION_PARAMS("UNIFIEDPAYMENTS_VALIDATION_PARAMS"), + SYSTEM_ERROR("SYSTEM_ERROR"), - UNIFIEDPAYMENTS_VALIDATION_FIELDS("UNIFIEDPAYMENTS_VALIDATION_FIELDS"), - - UNIFIEDPAYMENT_PAYMENT_PARAMITERS("UNIFIEDPAYMENT_PAYMENT_PARAMITERS"), - - CREATE_TOKEN_TIMEOUT("CREATE_TOKEN_TIMEOUT"), - - CREATE_TOKEN_XHR_ERROR("CREATE_TOKEN_XHR_ERROR"), - - SHOW_LOAD_CONTAINER_SELECTOR("SHOW_LOAD_CONTAINER_SELECTOR"), - - SHOW_LOAD_INVALID_CONTAINER("SHOW_LOAD_INVALID_CONTAINER"), - - SHOW_TOKEN_TIMEOUT("SHOW_TOKEN_TIMEOUT"), - - SHOW_TOKEN_XHR_ERROR("SHOW_TOKEN_XHR_ERROR"), - - SHOW_PAYMENT_TIMEOUT("SHOW_PAYMENT_TIMEOUT"); + RESOURCE_NOT_FOUND("RESOURCE_NOT_FOUND"); private String value; @@ -119,66 +90,64 @@ public ReasonEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("reason") private ReasonEnum reason = null; - public InlineResponse4006 correlationId(String correlationId) { - this.correlationId = correlationId; + @SerializedName("message") + private String message = null; + + @SerializedName("details") + private List details = null; + + public InlineResponse4006 submitTimeUtc(LocalDate submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; return this; } /** - * Get correlationId - * @return correlationId + * 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. + * @return submitTimeUtc **/ - @ApiModelProperty(value = "") - public String getCorrelationId() { - return correlationId; + @ApiModelProperty(example = "2019-06-11T22:47:57.000Z", value = "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. ") + public LocalDate getSubmitTimeUtc() { + return submitTimeUtc; } - public void setCorrelationId(String correlationId) { - this.correlationId = correlationId; + public void setSubmitTimeUtc(LocalDate submitTimeUtc) { + this.submitTimeUtc = submitTimeUtc; } - public InlineResponse4006 details(List details) { - this.details = details; - return this; - } - - public InlineResponse4006 addDetailsItem(InlineResponse4006Details detailsItem) { - if (this.details == null) { - this.details = new ArrayList(); - } - this.details.add(detailsItem); + public InlineResponse4006 status(String status) { + this.status = status; return this; } /** - * Get details - * @return details + * The http status description of the submitted request. + * @return status **/ - @ApiModelProperty(value = "") - public List getDetails() { - return details; + @ApiModelProperty(example = "BAD_REQUEST", value = "The http status description of the submitted request.") + public String getStatus() { + return status; } - public void setDetails(List details) { - this.details = details; + public void setStatus(String status) { + this.status = status; } - public InlineResponse4006 informationLink(String informationLink) { - this.informationLink = informationLink; + public InlineResponse4006 reason(ReasonEnum reason) { + this.reason = reason; return this; } /** - * Get informationLink - * @return informationLink + * Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' + * @return reason **/ - @ApiModelProperty(value = "") - public String getInformationLink() { - return informationLink; + @ApiModelProperty(value = "Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' ") + public ReasonEnum getReason() { + return reason; } - public void setInformationLink(String informationLink) { - this.informationLink = informationLink; + public void setReason(ReasonEnum reason) { + this.reason = reason; } public InlineResponse4006 message(String message) { @@ -187,10 +156,10 @@ public InlineResponse4006 message(String message) { } /** - * Get message + * Descriptive message for the error. * @return message **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(value = "Descriptive message for the error.") public String getMessage() { return message; } @@ -199,22 +168,30 @@ public void setMessage(String message) { this.message = message; } - public InlineResponse4006 reason(ReasonEnum reason) { - this.reason = reason; + public InlineResponse4006 details(List details) { + this.details = details; + return this; + } + + public InlineResponse4006 addDetailsItem(InlineResponse4006Details detailsItem) { + if (this.details == null) { + this.details = new ArrayList(); + } + this.details.add(detailsItem); return this; } /** - * Get reason - * @return reason + * Get details + * @return details **/ - @ApiModelProperty(required = true, value = "") - public ReasonEnum getReason() { - return reason; + @ApiModelProperty(value = "") + public List getDetails() { + return details; } - public void setReason(ReasonEnum reason) { - this.reason = reason; + public void setDetails(List details) { + this.details = details; } @@ -227,16 +204,16 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse4006 inlineResponse4006 = (InlineResponse4006) o; - return Objects.equals(this.correlationId, inlineResponse4006.correlationId) && - Objects.equals(this.details, inlineResponse4006.details) && - Objects.equals(this.informationLink, inlineResponse4006.informationLink) && + return Objects.equals(this.submitTimeUtc, inlineResponse4006.submitTimeUtc) && + Objects.equals(this.status, inlineResponse4006.status) && + Objects.equals(this.reason, inlineResponse4006.reason) && Objects.equals(this.message, inlineResponse4006.message) && - Objects.equals(this.reason, inlineResponse4006.reason); + Objects.equals(this.details, inlineResponse4006.details); } @Override public int hashCode() { - return Objects.hash(correlationId, details, informationLink, message, reason); + return Objects.hash(submitTimeUtc, status, reason, message, details); } @@ -245,11 +222,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4006 {\n"); - sb.append(" correlationId: ").append(toIndentedString(correlationId)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); - sb.append(" informationLink: ").append(toIndentedString(informationLink)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" details: ").append(toIndentedString(details)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse4006Details.java b/src/main/java/Model/InlineResponse4006Details.java index 020ad1c6..fc04d628 100644 --- a/src/main/java/Model/InlineResponse4006Details.java +++ b/src/main/java/Model/InlineResponse4006Details.java @@ -29,46 +29,46 @@ */ public class InlineResponse4006Details { - @SerializedName("location") - private String location = null; + @SerializedName("field") + private String field = null; - @SerializedName("message") - private String message = null; + @SerializedName("reason") + private String reason = null; - public InlineResponse4006Details location(String location) { - this.location = location; + public InlineResponse4006Details field(String field) { + this.field = field; return this; } /** - * Get location - * @return location + * This is the flattened JSON object field name/path that is either missing or invalid. + * @return field **/ - @ApiModelProperty(value = "") - public String getLocation() { - return location; + @ApiModelProperty(value = "This is the flattened JSON object field name/path that is either missing or invalid.") + public String getField() { + return field; } - public void setLocation(String location) { - this.location = location; + public void setField(String field) { + this.field = field; } - public InlineResponse4006Details message(String message) { - this.message = message; + public InlineResponse4006Details reason(String reason) { + this.reason = reason; return this; } /** - * Get message - * @return message + * Possible reasons for the error. + * @return reason **/ - @ApiModelProperty(value = "") - public String getMessage() { - return message; + @ApiModelProperty(example = "MISSING_FIELD", value = "Possible reasons for the error.") + public String getReason() { + return reason; } - public void setMessage(String message) { - this.message = message; + public void setReason(String reason) { + this.reason = reason; } @@ -81,13 +81,13 @@ public boolean equals(java.lang.Object o) { return false; } InlineResponse4006Details inlineResponse4006Details = (InlineResponse4006Details) o; - return Objects.equals(this.location, inlineResponse4006Details.location) && - Objects.equals(this.message, inlineResponse4006Details.message); + return Objects.equals(this.field, inlineResponse4006Details.field) && + Objects.equals(this.reason, inlineResponse4006Details.reason); } @Override public int hashCode() { - return Objects.hash(location, message); + return Objects.hash(field, reason); } @@ -96,8 +96,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class InlineResponse4006Details {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" field: ").append(toIndentedString(field)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/InlineResponse4041.java b/src/main/java/Model/InlineResponse4041.java index 61d2b936..4af86a79 100644 --- a/src/main/java/Model/InlineResponse4041.java +++ b/src/main/java/Model/InlineResponse4041.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse4005Details; +import Model.InlineResponse4006Details; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -90,7 +90,7 @@ public ReasonEnum read(final JsonReader jsonReader) throws IOException { private String message = null; @SerializedName("details") - private List details = null; + private List details = null; public InlineResponse4041 submitTimeUtc(LocalDate submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; @@ -164,14 +164,14 @@ public void setMessage(String message) { this.message = message; } - public InlineResponse4041 details(List details) { + public InlineResponse4041 details(List details) { this.details = details; return this; } - public InlineResponse4041 addDetailsItem(InlineResponse4005Details detailsItem) { + public InlineResponse4041 addDetailsItem(InlineResponse4006Details detailsItem) { if (this.details == null) { - this.details = new ArrayList(); + this.details = new ArrayList(); } this.details.add(detailsItem); return this; @@ -182,11 +182,11 @@ public InlineResponse4041 addDetailsItem(InlineResponse4005Details detailsItem) * @return details **/ @ApiModelProperty(value = "") - public List getDetails() { + public List getDetails() { return details; } - public void setDetails(List details) { + public void setDetails(List details) { this.details = details; } diff --git a/src/main/java/Model/InlineResponse4221.java b/src/main/java/Model/InlineResponse4221.java index 306d4d1e..d6f781ac 100644 --- a/src/main/java/Model/InlineResponse4221.java +++ b/src/main/java/Model/InlineResponse4221.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.InlineResponse4005Details; +import Model.InlineResponse4006Details; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -90,7 +90,7 @@ public ReasonEnum read(final JsonReader jsonReader) throws IOException { private String message = null; @SerializedName("details") - private List details = null; + private List details = null; public InlineResponse4221 submitTimeUtc(LocalDate submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; @@ -164,14 +164,14 @@ public void setMessage(String message) { this.message = message; } - public InlineResponse4221 details(List details) { + public InlineResponse4221 details(List details) { this.details = details; return this; } - public InlineResponse4221 addDetailsItem(InlineResponse4005Details detailsItem) { + public InlineResponse4221 addDetailsItem(InlineResponse4006Details detailsItem) { if (this.details == null) { - this.details = new ArrayList(); + this.details = new ArrayList(); } this.details.add(detailsItem); return this; @@ -182,11 +182,11 @@ public InlineResponse4221 addDetailsItem(InlineResponse4005Details detailsItem) * @return details **/ @ApiModelProperty(value = "") - public List getDetails() { + public List getDetails() { return details; } - public void setDetails(List details) { + public void setDetails(List details) { this.details = details; } diff --git a/src/main/java/Model/PatchInstrumentIdentifierRequest.java b/src/main/java/Model/PatchInstrumentIdentifierRequest.java index e0781a59..7da10353 100644 --- a/src/main/java/Model/PatchInstrumentIdentifierRequest.java +++ b/src/main/java/Model/PatchInstrumentIdentifierRequest.java @@ -23,7 +23,7 @@ import Model.TmsEmbeddedInstrumentIdentifierLinks; import Model.TmsEmbeddedInstrumentIdentifierMetadata; import Model.TmsEmbeddedInstrumentIdentifierProcessingInformation; -import Model.TmsEmbeddedInstrumentIdentifierTokenizedCard; +import Model.Tmsv2TokenizedCard; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -63,7 +63,7 @@ public class PatchInstrumentIdentifierRequest { private TmsEmbeddedInstrumentIdentifierBankAccount bankAccount = null; @SerializedName("tokenizedCard") - private TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard = null; + private Tmsv2TokenizedCard tokenizedCard = null; @SerializedName("issuer") private TmsEmbeddedInstrumentIdentifierIssuer issuer = null; @@ -203,7 +203,7 @@ public void setBankAccount(TmsEmbeddedInstrumentIdentifierBankAccount bankAccoun this.bankAccount = bankAccount; } - public PatchInstrumentIdentifierRequest tokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard) { + public PatchInstrumentIdentifierRequest tokenizedCard(Tmsv2TokenizedCard tokenizedCard) { this.tokenizedCard = tokenizedCard; return this; } @@ -213,11 +213,11 @@ public PatchInstrumentIdentifierRequest tokenizedCard(TmsEmbeddedInstrumentIdent * @return tokenizedCard **/ @ApiModelProperty(value = "") - public TmsEmbeddedInstrumentIdentifierTokenizedCard getTokenizedCard() { + public Tmsv2TokenizedCard getTokenizedCard() { return tokenizedCard; } - public void setTokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard) { + public void setTokenizedCard(Tmsv2TokenizedCard tokenizedCard) { this.tokenizedCard = tokenizedCard; } diff --git a/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java b/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java index 963c3f08..34f7c73a 100644 --- a/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java +++ b/src/main/java/Model/PostInstrumentIdentifierEnrollmentRequest.java @@ -23,7 +23,7 @@ import Model.TmsEmbeddedInstrumentIdentifierLinks; import Model.TmsEmbeddedInstrumentIdentifierMetadata; import Model.TmsEmbeddedInstrumentIdentifierProcessingInformation; -import Model.TmsEmbeddedInstrumentIdentifierTokenizedCard; +import Model.Tmsv2TokenizedCard; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -63,7 +63,7 @@ public class PostInstrumentIdentifierEnrollmentRequest { private TmsEmbeddedInstrumentIdentifierBankAccount bankAccount = null; @SerializedName("tokenizedCard") - private TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard = null; + private Tmsv2TokenizedCard tokenizedCard = null; @SerializedName("issuer") private TmsEmbeddedInstrumentIdentifierIssuer issuer = null; @@ -203,7 +203,7 @@ public void setBankAccount(TmsEmbeddedInstrumentIdentifierBankAccount bankAccoun this.bankAccount = bankAccount; } - public PostInstrumentIdentifierEnrollmentRequest tokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard) { + public PostInstrumentIdentifierEnrollmentRequest tokenizedCard(Tmsv2TokenizedCard tokenizedCard) { this.tokenizedCard = tokenizedCard; return this; } @@ -213,11 +213,11 @@ public PostInstrumentIdentifierEnrollmentRequest tokenizedCard(TmsEmbeddedInstru * @return tokenizedCard **/ @ApiModelProperty(value = "") - public TmsEmbeddedInstrumentIdentifierTokenizedCard getTokenizedCard() { + public Tmsv2TokenizedCard getTokenizedCard() { return tokenizedCard; } - public void setTokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard) { + public void setTokenizedCard(Tmsv2TokenizedCard tokenizedCard) { this.tokenizedCard = tokenizedCard; } diff --git a/src/main/java/Model/PostInstrumentIdentifierRequest.java b/src/main/java/Model/PostInstrumentIdentifierRequest.java index dc84f696..dc2eacb3 100644 --- a/src/main/java/Model/PostInstrumentIdentifierRequest.java +++ b/src/main/java/Model/PostInstrumentIdentifierRequest.java @@ -23,7 +23,7 @@ import Model.TmsEmbeddedInstrumentIdentifierLinks; import Model.TmsEmbeddedInstrumentIdentifierMetadata; import Model.TmsEmbeddedInstrumentIdentifierProcessingInformation; -import Model.TmsEmbeddedInstrumentIdentifierTokenizedCard; +import Model.Tmsv2TokenizedCard; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -63,7 +63,7 @@ public class PostInstrumentIdentifierRequest { private TmsEmbeddedInstrumentIdentifierBankAccount bankAccount = null; @SerializedName("tokenizedCard") - private TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard = null; + private Tmsv2TokenizedCard tokenizedCard = null; @SerializedName("issuer") private TmsEmbeddedInstrumentIdentifierIssuer issuer = null; @@ -203,7 +203,7 @@ public void setBankAccount(TmsEmbeddedInstrumentIdentifierBankAccount bankAccoun this.bankAccount = bankAccount; } - public PostInstrumentIdentifierRequest tokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard) { + public PostInstrumentIdentifierRequest tokenizedCard(Tmsv2TokenizedCard tokenizedCard) { this.tokenizedCard = tokenizedCard; return this; } @@ -213,11 +213,11 @@ public PostInstrumentIdentifierRequest tokenizedCard(TmsEmbeddedInstrumentIdenti * @return tokenizedCard **/ @ApiModelProperty(value = "") - public TmsEmbeddedInstrumentIdentifierTokenizedCard getTokenizedCard() { + public Tmsv2TokenizedCard getTokenizedCard() { return tokenizedCard; } - public void setTokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard) { + public void setTokenizedCard(Tmsv2TokenizedCard tokenizedCard) { this.tokenizedCard = tokenizedCard; } diff --git a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java index c871eba7..3a8d894c 100644 --- a/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java +++ b/src/main/java/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.java @@ -37,6 +37,9 @@ public class PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation { @SerializedName("transactionId") private String transactionId = null; + @SerializedName("networkTransactionId") + private String networkTransactionId = null; + @SerializedName("responseCode") private String responseCode = null; @@ -88,6 +91,24 @@ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } + public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation networkTransactionId(String networkTransactionId) { + this.networkTransactionId = networkTransactionId; + return this; + } + + /** + * Same value as `processorInformation.transactionId` + * @return networkTransactionId + **/ + @ApiModelProperty(value = "Same value as `processorInformation.transactionId`") + public String getNetworkTransactionId() { + return networkTransactionId; + } + + public void setNetworkTransactionId(String networkTransactionId) { + this.networkTransactionId = networkTransactionId; + } + public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation responseCode(String responseCode) { this.responseCode = responseCode; return this; @@ -190,6 +211,7 @@ public boolean equals(java.lang.Object o) { PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation = (PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation) o; return Objects.equals(this.approvalCode, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.approvalCode) && Objects.equals(this.transactionId, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.transactionId) && + Objects.equals(this.networkTransactionId, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.networkTransactionId) && Objects.equals(this.responseCode, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.responseCode) && Objects.equals(this.systemTraceAuditNumber, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.systemTraceAuditNumber) && Objects.equals(this.responseDetails, ptsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.responseDetails) && @@ -199,7 +221,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(approvalCode, transactionId, responseCode, systemTraceAuditNumber, responseDetails, merchantAdvice, sellerProtection); + return Objects.hash(approvalCode, transactionId, networkTransactionId, responseCode, systemTraceAuditNumber, responseDetails, merchantAdvice, sellerProtection); } @@ -210,6 +232,7 @@ public String toString() { sb.append(" approvalCode: ").append(toIndentedString(approvalCode)).append("\n"); sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + sb.append(" networkTransactionId: ").append(toIndentedString(networkTransactionId)).append("\n"); sb.append(" responseCode: ").append(toIndentedString(responseCode)).append("\n"); sb.append(" systemTraceAuditNumber: ").append(toIndentedString(systemTraceAuditNumber)).append("\n"); sb.append(" responseDetails: ").append(toIndentedString(responseDetails)).append("\n"); diff --git a/src/main/java/Model/PtsV2PaymentsReversalsPost201Response.java b/src/main/java/Model/PtsV2PaymentsReversalsPost201Response.java index 837e2f55..9dee5e89 100644 --- a/src/main/java/Model/PtsV2PaymentsReversalsPost201Response.java +++ b/src/main/java/Model/PtsV2PaymentsReversalsPost201Response.java @@ -129,10 +129,10 @@ public PtsV2PaymentsReversalsPost201Response status(String status) { } /** - * The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED + * The status of the submitted transaction. Possible values: - REVERSED * @return status **/ - @ApiModelProperty(value = "The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED ") + @ApiModelProperty(value = "The status of the submitted transaction. Possible values: - REVERSED ") public String getStatus() { return status; } diff --git a/src/main/java/Model/Ptsv2paymentsRecurringPaymentInformation.java b/src/main/java/Model/Ptsv2paymentsRecurringPaymentInformation.java index 3fe23c49..dbe6d888 100644 --- a/src/main/java/Model/Ptsv2paymentsRecurringPaymentInformation.java +++ b/src/main/java/Model/Ptsv2paymentsRecurringPaymentInformation.java @@ -72,7 +72,7 @@ public Ptsv2paymentsRecurringPaymentInformation endDate(String endDate) { * The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. * @return endDate **/ - @ApiModelProperty(value = "The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. ") + @ApiModelProperty(required = true, value = "The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. ") public String getEndDate() { return endDate; } @@ -90,7 +90,7 @@ public Ptsv2paymentsRecurringPaymentInformation frequency(Integer frequency) { * Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. * @return frequency **/ - @ApiModelProperty(value = "Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. ") + @ApiModelProperty(required = true, value = "Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. ") public Integer getFrequency() { return frequency; } diff --git a/src/main/java/Model/Ptsv2paymentsidClientReferenceInformation.java b/src/main/java/Model/Ptsv2paymentsidClientReferenceInformation.java index 08345a88..f760e85d 100644 --- a/src/main/java/Model/Ptsv2paymentsidClientReferenceInformation.java +++ b/src/main/java/Model/Ptsv2paymentsidClientReferenceInformation.java @@ -45,6 +45,9 @@ public class Ptsv2paymentsidClientReferenceInformation { @SerializedName("applicationUser") private String applicationUser = null; + @SerializedName("transactionId") + private String transactionId = null; + public Ptsv2paymentsidClientReferenceInformation code(String code) { this.code = code; return this; @@ -135,6 +138,24 @@ public void setApplicationUser(String applicationUser) { this.applicationUser = applicationUser; } + public Ptsv2paymentsidClientReferenceInformation transactionId(String transactionId) { + this.transactionId = transactionId; + return this; + } + + /** + * Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests. + * @return transactionId + **/ + @ApiModelProperty(value = "Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests. ") + public String getTransactionId() { + return transactionId; + } + + public void setTransactionId(String transactionId) { + this.transactionId = transactionId; + } + @Override public boolean equals(java.lang.Object o) { @@ -149,12 +170,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.partner, ptsv2paymentsidClientReferenceInformation.partner) && Objects.equals(this.applicationName, ptsv2paymentsidClientReferenceInformation.applicationName) && Objects.equals(this.applicationVersion, ptsv2paymentsidClientReferenceInformation.applicationVersion) && - Objects.equals(this.applicationUser, ptsv2paymentsidClientReferenceInformation.applicationUser); + Objects.equals(this.applicationUser, ptsv2paymentsidClientReferenceInformation.applicationUser) && + Objects.equals(this.transactionId, ptsv2paymentsidClientReferenceInformation.transactionId); } @Override public int hashCode() { - return Objects.hash(code, partner, applicationName, applicationVersion, applicationUser); + return Objects.hash(code, partner, applicationName, applicationVersion, applicationUser, transactionId); } @@ -168,6 +190,7 @@ public String toString() { sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n"); sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); sb.append(" applicationUser: ").append(toIndentedString(applicationUser)).append("\n"); + sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/Riskv1authenticationresultsPaymentInformation.java b/src/main/java/Model/Riskv1authenticationresultsPaymentInformation.java index 17434e0b..2b5d5a68 100644 --- a/src/main/java/Model/Riskv1authenticationresultsPaymentInformation.java +++ b/src/main/java/Model/Riskv1authenticationresultsPaymentInformation.java @@ -15,10 +15,10 @@ import java.util.Objects; import java.util.Arrays; -import Model.Ptsv2paymentsPaymentInformationCustomer; import Model.Riskv1authenticationresultsPaymentInformationCard; import Model.Riskv1authenticationresultsPaymentInformationFluidData; import Model.Riskv1authenticationresultsPaymentInformationTokenizedCard; +import Model.Riskv1authenticationsPaymentInformationCustomer; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -43,7 +43,7 @@ public class Riskv1authenticationresultsPaymentInformation { private Riskv1authenticationresultsPaymentInformationFluidData fluidData = null; @SerializedName("customer") - private Ptsv2paymentsPaymentInformationCustomer customer = null; + private Riskv1authenticationsPaymentInformationCustomer customer = null; public Riskv1authenticationresultsPaymentInformation card(Riskv1authenticationresultsPaymentInformationCard card) { this.card = card; @@ -99,7 +99,7 @@ public void setFluidData(Riskv1authenticationresultsPaymentInformationFluidData this.fluidData = fluidData; } - public Riskv1authenticationresultsPaymentInformation customer(Ptsv2paymentsPaymentInformationCustomer customer) { + public Riskv1authenticationresultsPaymentInformation customer(Riskv1authenticationsPaymentInformationCustomer customer) { this.customer = customer; return this; } @@ -109,11 +109,11 @@ public Riskv1authenticationresultsPaymentInformation customer(Ptsv2paymentsPayme * @return customer **/ @ApiModelProperty(value = "") - public Ptsv2paymentsPaymentInformationCustomer getCustomer() { + public Riskv1authenticationsPaymentInformationCustomer getCustomer() { return customer; } - public void setCustomer(Ptsv2paymentsPaymentInformationCustomer customer) { + public void setCustomer(Riskv1authenticationsPaymentInformationCustomer customer) { this.customer = customer; } diff --git a/src/main/java/Model/Riskv1authenticationsPaymentInformation.java b/src/main/java/Model/Riskv1authenticationsPaymentInformation.java index f116c242..ffd302cf 100644 --- a/src/main/java/Model/Riskv1authenticationsPaymentInformation.java +++ b/src/main/java/Model/Riskv1authenticationsPaymentInformation.java @@ -15,7 +15,7 @@ import java.util.Objects; import java.util.Arrays; -import Model.Ptsv2paymentsPaymentInformationCustomer; +import Model.Riskv1authenticationsPaymentInformationCustomer; import Model.Riskv1authenticationsPaymentInformationTokenizedCard; import Model.Riskv1authenticationsetupsPaymentInformationCard; import Model.Riskv1authenticationsetupsPaymentInformationFluidData; @@ -43,7 +43,7 @@ public class Riskv1authenticationsPaymentInformation { private Riskv1authenticationsetupsPaymentInformationFluidData fluidData = null; @SerializedName("customer") - private Ptsv2paymentsPaymentInformationCustomer customer = null; + private Riskv1authenticationsPaymentInformationCustomer customer = null; public Riskv1authenticationsPaymentInformation card(Riskv1authenticationsetupsPaymentInformationCard card) { this.card = card; @@ -99,7 +99,7 @@ public void setFluidData(Riskv1authenticationsetupsPaymentInformationFluidData f this.fluidData = fluidData; } - public Riskv1authenticationsPaymentInformation customer(Ptsv2paymentsPaymentInformationCustomer customer) { + public Riskv1authenticationsPaymentInformation customer(Riskv1authenticationsPaymentInformationCustomer customer) { this.customer = customer; return this; } @@ -109,11 +109,11 @@ public Riskv1authenticationsPaymentInformation customer(Ptsv2paymentsPaymentInfo * @return customer **/ @ApiModelProperty(value = "") - public Ptsv2paymentsPaymentInformationCustomer getCustomer() { + public Riskv1authenticationsPaymentInformationCustomer getCustomer() { return customer; } - public void setCustomer(Ptsv2paymentsPaymentInformationCustomer customer) { + public void setCustomer(Riskv1authenticationsPaymentInformationCustomer customer) { this.customer = customer; } diff --git a/src/main/java/Model/Riskv1authenticationsPaymentInformationCustomer.java b/src/main/java/Model/Riskv1authenticationsPaymentInformationCustomer.java new file mode 100644 index 00000000..8b335cfe --- /dev/null +++ b/src/main/java/Model/Riskv1authenticationsPaymentInformationCustomer.java @@ -0,0 +1,117 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Riskv1authenticationsPaymentInformationCustomer + */ + +public class Riskv1authenticationsPaymentInformationCustomer { + @SerializedName("customerId") + private String customerId = null; + + @SerializedName("id") + private String id = null; + + public Riskv1authenticationsPaymentInformationCustomer customerId(String customerId) { + this.customerId = customerId; + return this; + } + + /** + * Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. + * @return customerId + **/ + @ApiModelProperty(required = true, value = "Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. ") + public String getCustomerId() { + return customerId; + } + + public void setCustomerId(String customerId) { + this.customerId = customerId; + } + + public Riskv1authenticationsPaymentInformationCustomer id(String id) { + this.id = id; + return this; + } + + /** + * Unique identifier for the Customer token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. + * @return id + **/ + @ApiModelProperty(value = "Unique identifier for the Customer token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. ") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Riskv1authenticationsPaymentInformationCustomer riskv1authenticationsPaymentInformationCustomer = (Riskv1authenticationsPaymentInformationCustomer) o; + return Objects.equals(this.customerId, riskv1authenticationsPaymentInformationCustomer.customerId) && + Objects.equals(this.id, riskv1authenticationsPaymentInformationCustomer.id); + } + + @Override + public int hashCode() { + return Objects.hash(customerId, id); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Riskv1authenticationsPaymentInformationCustomer {\n"); + + sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCustomer.java b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCustomer.java index fcb1dc71..5df07172 100644 --- a/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCustomer.java +++ b/src/main/java/Model/Riskv1authenticationsetupsPaymentInformationCustomer.java @@ -41,7 +41,7 @@ public Riskv1authenticationsetupsPaymentInformationCustomer customerId(String cu * Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. * @return customerId **/ - @ApiModelProperty(value = "Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. ") + @ApiModelProperty(required = true, value = "Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. ") public String getCustomerId() { return customerId; } diff --git a/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformation.java b/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformation.java index 01455c9b..09373985 100644 --- a/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformation.java +++ b/src/main/java/Model/Riskv1decisionsConsumerAuthenticationInformation.java @@ -54,9 +54,6 @@ public class Riskv1decisionsConsumerAuthenticationInformation { @SerializedName("transactionFlowIndicator") private Integer transactionFlowIndicator = null; - @SerializedName("challengeCancelCode") - private String challengeCancelCode = null; - @SerializedName("challengeCode") private String challengeCode = null; @@ -297,24 +294,6 @@ public void setTransactionFlowIndicator(Integer transactionFlowIndicator) { this.transactionFlowIndicator = transactionFlowIndicator; } - public Riskv1decisionsConsumerAuthenticationInformation challengeCancelCode(String challengeCancelCode) { - this.challengeCancelCode = challengeCancelCode; - return this; - } - - /** - * An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK - * @return challengeCancelCode - **/ - @ApiModelProperty(value = "An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK ") - public String getChallengeCancelCode() { - return challengeCancelCode; - } - - public void setChallengeCancelCode(String challengeCancelCode) { - this.challengeCancelCode = challengeCancelCode; - } - public Riskv1decisionsConsumerAuthenticationInformation challengeCode(String challengeCode) { this.challengeCode = challengeCode; return this; @@ -909,7 +888,6 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.authenticationDate, riskv1decisionsConsumerAuthenticationInformation.authenticationDate) && Objects.equals(this.authenticationTransactionId, riskv1decisionsConsumerAuthenticationInformation.authenticationTransactionId) && Objects.equals(this.transactionFlowIndicator, riskv1decisionsConsumerAuthenticationInformation.transactionFlowIndicator) && - Objects.equals(this.challengeCancelCode, riskv1decisionsConsumerAuthenticationInformation.challengeCancelCode) && Objects.equals(this.challengeCode, riskv1decisionsConsumerAuthenticationInformation.challengeCode) && Objects.equals(this.challengeStatus, riskv1decisionsConsumerAuthenticationInformation.challengeStatus) && Objects.equals(this.customerCardAlias, riskv1decisionsConsumerAuthenticationInformation.customerCardAlias) && @@ -946,7 +924,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(strongAuthentication, acsWindowSize, alternateAuthenticationData, alternateAuthenticationDate, alternateAuthenticationMethod, authenticationDate, authenticationTransactionId, transactionFlowIndicator, challengeCancelCode, challengeCode, challengeStatus, customerCardAlias, decoupledAuthenticationIndicator, decoupledAuthenticationMaxTime, defaultCard, deviceChannel, installmentTotalCount, merchantFraudRate, marketingOptIn, marketingSource, mcc, merchantScore, messageCategory, npaCode, overridePaymentMethod, overrideCountryCode, priorAuthenticationData, priorAuthenticationMethod, priorAuthenticationReferenceId, priorAuthenticationTime, productCode, returnUrl, requestorId, requestorInitiatedAuthenticationIndicator, requestorName, referenceId, sdkMaxTimeout, secureCorporatePaymentIndicator, transactionMode, whiteListStatus, scoreRequest); + return Objects.hash(strongAuthentication, acsWindowSize, alternateAuthenticationData, alternateAuthenticationDate, alternateAuthenticationMethod, authenticationDate, authenticationTransactionId, transactionFlowIndicator, challengeCode, challengeStatus, customerCardAlias, decoupledAuthenticationIndicator, decoupledAuthenticationMaxTime, defaultCard, deviceChannel, installmentTotalCount, merchantFraudRate, marketingOptIn, marketingSource, mcc, merchantScore, messageCategory, npaCode, overridePaymentMethod, overrideCountryCode, priorAuthenticationData, priorAuthenticationMethod, priorAuthenticationReferenceId, priorAuthenticationTime, productCode, returnUrl, requestorId, requestorInitiatedAuthenticationIndicator, requestorName, referenceId, sdkMaxTimeout, secureCorporatePaymentIndicator, transactionMode, whiteListStatus, scoreRequest); } @@ -963,7 +941,6 @@ public String toString() { sb.append(" authenticationDate: ").append(toIndentedString(authenticationDate)).append("\n"); sb.append(" authenticationTransactionId: ").append(toIndentedString(authenticationTransactionId)).append("\n"); sb.append(" transactionFlowIndicator: ").append(toIndentedString(transactionFlowIndicator)).append("\n"); - sb.append(" challengeCancelCode: ").append(toIndentedString(challengeCancelCode)).append("\n"); sb.append(" challengeCode: ").append(toIndentedString(challengeCode)).append("\n"); sb.append(" challengeStatus: ").append(toIndentedString(challengeStatus)).append("\n"); sb.append(" customerCardAlias: ").append(toIndentedString(customerCardAlias)).append("\n"); diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java b/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java index adf2cc14..5a0f557a 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java +++ b/src/main/java/Model/TmsEmbeddedInstrumentIdentifier.java @@ -23,7 +23,7 @@ import Model.TmsEmbeddedInstrumentIdentifierLinks; import Model.TmsEmbeddedInstrumentIdentifierMetadata; import Model.TmsEmbeddedInstrumentIdentifierProcessingInformation; -import Model.TmsEmbeddedInstrumentIdentifierTokenizedCard; +import Model.Tmsv2TokenizedCard; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -63,7 +63,7 @@ public class TmsEmbeddedInstrumentIdentifier { private TmsEmbeddedInstrumentIdentifierBankAccount bankAccount = null; @SerializedName("tokenizedCard") - private TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard = null; + private Tmsv2TokenizedCard tokenizedCard = null; @SerializedName("issuer") private TmsEmbeddedInstrumentIdentifierIssuer issuer = null; @@ -203,7 +203,7 @@ public void setBankAccount(TmsEmbeddedInstrumentIdentifierBankAccount bankAccoun this.bankAccount = bankAccount; } - public TmsEmbeddedInstrumentIdentifier tokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard) { + public TmsEmbeddedInstrumentIdentifier tokenizedCard(Tmsv2TokenizedCard tokenizedCard) { this.tokenizedCard = tokenizedCard; return this; } @@ -213,11 +213,11 @@ public TmsEmbeddedInstrumentIdentifier tokenizedCard(TmsEmbeddedInstrumentIdenti * @return tokenizedCard **/ @ApiModelProperty(value = "") - public TmsEmbeddedInstrumentIdentifierTokenizedCard getTokenizedCard() { + public Tmsv2TokenizedCard getTokenizedCard() { return tokenizedCard; } - public void setTokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCard tokenizedCard) { + public void setTokenizedCard(Tmsv2TokenizedCard tokenizedCard) { this.tokenizedCard = tokenizedCard; } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierTokenizedCard.java b/src/main/java/Model/Tmsv2TokenizedCard.java similarity index 81% rename from src/main/java/Model/TmsEmbeddedInstrumentIdentifierTokenizedCard.java rename to src/main/java/Model/Tmsv2TokenizedCard.java index b296618c..7806798c 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierTokenizedCard.java +++ b/src/main/java/Model/Tmsv2TokenizedCard.java @@ -15,7 +15,8 @@ import java.util.Objects; import java.util.Arrays; -import Model.TmsEmbeddedInstrumentIdentifierTokenizedCardCard; +import Model.Tmsv2TokenizedCardCard; +import Model.Tmsv2TokenizedCardMetadata; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,10 +27,10 @@ import java.io.IOException; /** - * TmsEmbeddedInstrumentIdentifierTokenizedCard + * Tmsv2TokenizedCard */ -public class TmsEmbeddedInstrumentIdentifierTokenizedCard { +public class Tmsv2TokenizedCard { @SerializedName("type") private String type = null; @@ -61,7 +62,10 @@ public class TmsEmbeddedInstrumentIdentifierTokenizedCard { private String cryptogram = null; @SerializedName("card") - private TmsEmbeddedInstrumentIdentifierTokenizedCardCard card = null; + private Tmsv2TokenizedCardCard card = null; + + @SerializedName("metadata") + private Tmsv2TokenizedCardMetadata metadata = null; /** * The network token card association brand Possible Values: - visa - mastercard - americanexpress @@ -153,7 +157,7 @@ public String getCryptogram() { return cryptogram; } - public TmsEmbeddedInstrumentIdentifierTokenizedCard card(TmsEmbeddedInstrumentIdentifierTokenizedCardCard card) { + public Tmsv2TokenizedCard card(Tmsv2TokenizedCardCard card) { this.card = card; return this; } @@ -163,14 +167,32 @@ public TmsEmbeddedInstrumentIdentifierTokenizedCard card(TmsEmbeddedInstrumentId * @return card **/ @ApiModelProperty(value = "") - public TmsEmbeddedInstrumentIdentifierTokenizedCardCard getCard() { + public Tmsv2TokenizedCardCard getCard() { return card; } - public void setCard(TmsEmbeddedInstrumentIdentifierTokenizedCardCard card) { + public void setCard(Tmsv2TokenizedCardCard card) { this.card = card; } + public Tmsv2TokenizedCard metadata(Tmsv2TokenizedCardMetadata metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadata getMetadata() { + return metadata; + } + + public void setMetadata(Tmsv2TokenizedCardMetadata metadata) { + this.metadata = metadata; + } + @Override public boolean equals(java.lang.Object o) { @@ -180,30 +202,31 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - TmsEmbeddedInstrumentIdentifierTokenizedCard tmsEmbeddedInstrumentIdentifierTokenizedCard = (TmsEmbeddedInstrumentIdentifierTokenizedCard) o; - return Objects.equals(this.type, tmsEmbeddedInstrumentIdentifierTokenizedCard.type) && - Objects.equals(this.source, tmsEmbeddedInstrumentIdentifierTokenizedCard.source) && - Objects.equals(this.state, tmsEmbeddedInstrumentIdentifierTokenizedCard.state) && - Objects.equals(this.enrollmentId, tmsEmbeddedInstrumentIdentifierTokenizedCard.enrollmentId) && - Objects.equals(this.tokenReferenceId, tmsEmbeddedInstrumentIdentifierTokenizedCard.tokenReferenceId) && - Objects.equals(this.reason, tmsEmbeddedInstrumentIdentifierTokenizedCard.reason) && - Objects.equals(this.number, tmsEmbeddedInstrumentIdentifierTokenizedCard.number) && - Objects.equals(this.expirationMonth, tmsEmbeddedInstrumentIdentifierTokenizedCard.expirationMonth) && - Objects.equals(this.expirationYear, tmsEmbeddedInstrumentIdentifierTokenizedCard.expirationYear) && - Objects.equals(this.cryptogram, tmsEmbeddedInstrumentIdentifierTokenizedCard.cryptogram) && - Objects.equals(this.card, tmsEmbeddedInstrumentIdentifierTokenizedCard.card); + Tmsv2TokenizedCard tmsv2TokenizedCard = (Tmsv2TokenizedCard) o; + return Objects.equals(this.type, tmsv2TokenizedCard.type) && + Objects.equals(this.source, tmsv2TokenizedCard.source) && + Objects.equals(this.state, tmsv2TokenizedCard.state) && + Objects.equals(this.enrollmentId, tmsv2TokenizedCard.enrollmentId) && + Objects.equals(this.tokenReferenceId, tmsv2TokenizedCard.tokenReferenceId) && + Objects.equals(this.reason, tmsv2TokenizedCard.reason) && + Objects.equals(this.number, tmsv2TokenizedCard.number) && + Objects.equals(this.expirationMonth, tmsv2TokenizedCard.expirationMonth) && + Objects.equals(this.expirationYear, tmsv2TokenizedCard.expirationYear) && + Objects.equals(this.cryptogram, tmsv2TokenizedCard.cryptogram) && + Objects.equals(this.card, tmsv2TokenizedCard.card) && + Objects.equals(this.metadata, tmsv2TokenizedCard.metadata); } @Override public int hashCode() { - return Objects.hash(type, source, state, enrollmentId, tokenReferenceId, reason, number, expirationMonth, expirationYear, cryptogram, card); + return Objects.hash(type, source, state, enrollmentId, tokenReferenceId, reason, number, expirationMonth, expirationYear, cryptogram, card, metadata); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class TmsEmbeddedInstrumentIdentifierTokenizedCard {\n"); + sb.append("class Tmsv2TokenizedCard {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" source: ").append(toIndentedString(source)).append("\n"); @@ -216,6 +239,7 @@ public String toString() { sb.append(" expirationYear: ").append(toIndentedString(expirationYear)).append("\n"); sb.append(" cryptogram: ").append(toIndentedString(cryptogram)).append("\n"); sb.append(" card: ").append(toIndentedString(card)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.java b/src/main/java/Model/Tmsv2TokenizedCardCard.java similarity index 83% rename from src/main/java/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.java rename to src/main/java/Model/Tmsv2TokenizedCardCard.java index d955b463..523beed7 100644 --- a/src/main/java/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.java +++ b/src/main/java/Model/Tmsv2TokenizedCardCard.java @@ -29,7 +29,7 @@ */ @ApiModel(description = "The latest card details associated with the network token") -public class TmsEmbeddedInstrumentIdentifierTokenizedCardCard { +public class Tmsv2TokenizedCardCard { @SerializedName("suffix") private String suffix = null; @@ -75,10 +75,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - TmsEmbeddedInstrumentIdentifierTokenizedCardCard tmsEmbeddedInstrumentIdentifierTokenizedCardCard = (TmsEmbeddedInstrumentIdentifierTokenizedCardCard) o; - return Objects.equals(this.suffix, tmsEmbeddedInstrumentIdentifierTokenizedCardCard.suffix) && - Objects.equals(this.expirationMonth, tmsEmbeddedInstrumentIdentifierTokenizedCardCard.expirationMonth) && - Objects.equals(this.expirationYear, tmsEmbeddedInstrumentIdentifierTokenizedCardCard.expirationYear); + Tmsv2TokenizedCardCard tmsv2TokenizedCardCard = (Tmsv2TokenizedCardCard) o; + return Objects.equals(this.suffix, tmsv2TokenizedCardCard.suffix) && + Objects.equals(this.expirationMonth, tmsv2TokenizedCardCard.expirationMonth) && + Objects.equals(this.expirationYear, tmsv2TokenizedCardCard.expirationYear); } @Override @@ -90,7 +90,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class TmsEmbeddedInstrumentIdentifierTokenizedCardCard {\n"); + sb.append("class Tmsv2TokenizedCardCard {\n"); sb.append(" suffix: ").append(toIndentedString(suffix)).append("\n"); sb.append(" expirationMonth: ").append(toIndentedString(expirationMonth)).append("\n"); diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadata.java b/src/main/java/Model/Tmsv2TokenizedCardMetadata.java new file mode 100644 index 00000000..8d5b7a48 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadata.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArt; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadata + */ + +public class Tmsv2TokenizedCardMetadata { + @SerializedName("cardArt") + private Tmsv2TokenizedCardMetadataCardArt cardArt = null; + + public Tmsv2TokenizedCardMetadata cardArt(Tmsv2TokenizedCardMetadataCardArt cardArt) { + this.cardArt = cardArt; + return this; + } + + /** + * Get cardArt + * @return cardArt + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArt getCardArt() { + return cardArt; + } + + public void setCardArt(Tmsv2TokenizedCardMetadataCardArt cardArt) { + this.cardArt = cardArt; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadata tmsv2TokenizedCardMetadata = (Tmsv2TokenizedCardMetadata) o; + return Objects.equals(this.cardArt, tmsv2TokenizedCardMetadata.cardArt); + } + + @Override + public int hashCode() { + return Objects.hash(cardArt); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadata {\n"); + + sb.append(" cardArt: ").append(toIndentedString(cardArt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java new file mode 100644 index 00000000..6682e4ca --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArt.java @@ -0,0 +1,229 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAsset; +import Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset; +import Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset; +import Model.Tmsv2TokenizedCardMetadataCardArtCombinedAsset; +import Model.Tmsv2TokenizedCardMetadataCardArtIconAsset; +import Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArt + */ + +public class Tmsv2TokenizedCardMetadataCardArt { + @SerializedName("combinedAsset") + private Tmsv2TokenizedCardMetadataCardArtCombinedAsset combinedAsset = null; + + @SerializedName("brandLogoAsset") + private Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset brandLogoAsset = null; + + @SerializedName("coBrandLogoAsset") + private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset coBrandLogoAsset = null; + + @SerializedName("issuerLogoAsset") + private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset issuerLogoAsset = null; + + @SerializedName("iconAsset") + private Tmsv2TokenizedCardMetadataCardArtIconAsset iconAsset = null; + + @SerializedName("foregroundColor") + private String foregroundColor = null; + + @SerializedName("backgroundAsset") + private Tmsv2TokenizedCardMetadataCardArtBackgroundAsset backgroundAsset = null; + + public Tmsv2TokenizedCardMetadataCardArt combinedAsset(Tmsv2TokenizedCardMetadataCardArtCombinedAsset combinedAsset) { + this.combinedAsset = combinedAsset; + return this; + } + + /** + * Get combinedAsset + * @return combinedAsset + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtCombinedAsset getCombinedAsset() { + return combinedAsset; + } + + public void setCombinedAsset(Tmsv2TokenizedCardMetadataCardArtCombinedAsset combinedAsset) { + this.combinedAsset = combinedAsset; + } + + public Tmsv2TokenizedCardMetadataCardArt brandLogoAsset(Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset brandLogoAsset) { + this.brandLogoAsset = brandLogoAsset; + return this; + } + + /** + * Get brandLogoAsset + * @return brandLogoAsset + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset getBrandLogoAsset() { + return brandLogoAsset; + } + + public void setBrandLogoAsset(Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset brandLogoAsset) { + this.brandLogoAsset = brandLogoAsset; + } + + public Tmsv2TokenizedCardMetadataCardArt coBrandLogoAsset(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset coBrandLogoAsset) { + this.coBrandLogoAsset = coBrandLogoAsset; + return this; + } + + /** + * Get coBrandLogoAsset + * @return coBrandLogoAsset + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset getCoBrandLogoAsset() { + return coBrandLogoAsset; + } + + public void setCoBrandLogoAsset(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset coBrandLogoAsset) { + this.coBrandLogoAsset = coBrandLogoAsset; + } + + public Tmsv2TokenizedCardMetadataCardArt issuerLogoAsset(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset issuerLogoAsset) { + this.issuerLogoAsset = issuerLogoAsset; + return this; + } + + /** + * Get issuerLogoAsset + * @return issuerLogoAsset + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset getIssuerLogoAsset() { + return issuerLogoAsset; + } + + public void setIssuerLogoAsset(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset issuerLogoAsset) { + this.issuerLogoAsset = issuerLogoAsset; + } + + public Tmsv2TokenizedCardMetadataCardArt iconAsset(Tmsv2TokenizedCardMetadataCardArtIconAsset iconAsset) { + this.iconAsset = iconAsset; + return this; + } + + /** + * Get iconAsset + * @return iconAsset + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtIconAsset getIconAsset() { + return iconAsset; + } + + public void setIconAsset(Tmsv2TokenizedCardMetadataCardArtIconAsset iconAsset) { + this.iconAsset = iconAsset; + } + + /** + * The foreground color of the brand logo asset. + * @return foregroundColor + **/ + @ApiModelProperty(value = "The foreground color of the brand logo asset. ") + public String getForegroundColor() { + return foregroundColor; + } + + public Tmsv2TokenizedCardMetadataCardArt backgroundAsset(Tmsv2TokenizedCardMetadataCardArtBackgroundAsset backgroundAsset) { + this.backgroundAsset = backgroundAsset; + return this; + } + + /** + * Get backgroundAsset + * @return backgroundAsset + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtBackgroundAsset getBackgroundAsset() { + return backgroundAsset; + } + + public void setBackgroundAsset(Tmsv2TokenizedCardMetadataCardArtBackgroundAsset backgroundAsset) { + this.backgroundAsset = backgroundAsset; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArt tmsv2TokenizedCardMetadataCardArt = (Tmsv2TokenizedCardMetadataCardArt) o; + return Objects.equals(this.combinedAsset, tmsv2TokenizedCardMetadataCardArt.combinedAsset) && + Objects.equals(this.brandLogoAsset, tmsv2TokenizedCardMetadataCardArt.brandLogoAsset) && + Objects.equals(this.coBrandLogoAsset, tmsv2TokenizedCardMetadataCardArt.coBrandLogoAsset) && + Objects.equals(this.issuerLogoAsset, tmsv2TokenizedCardMetadataCardArt.issuerLogoAsset) && + Objects.equals(this.iconAsset, tmsv2TokenizedCardMetadataCardArt.iconAsset) && + Objects.equals(this.foregroundColor, tmsv2TokenizedCardMetadataCardArt.foregroundColor) && + Objects.equals(this.backgroundAsset, tmsv2TokenizedCardMetadataCardArt.backgroundAsset); + } + + @Override + public int hashCode() { + return Objects.hash(combinedAsset, brandLogoAsset, coBrandLogoAsset, issuerLogoAsset, iconAsset, foregroundColor, backgroundAsset); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArt {\n"); + + sb.append(" combinedAsset: ").append(toIndentedString(combinedAsset)).append("\n"); + sb.append(" brandLogoAsset: ").append(toIndentedString(brandLogoAsset)).append("\n"); + sb.append(" coBrandLogoAsset: ").append(toIndentedString(coBrandLogoAsset)).append("\n"); + sb.append(" issuerLogoAsset: ").append(toIndentedString(issuerLogoAsset)).append("\n"); + sb.append(" iconAsset: ").append(toIndentedString(iconAsset)).append("\n"); + sb.append(" foregroundColor: ").append(toIndentedString(foregroundColor)).append("\n"); + sb.append(" backgroundAsset: ").append(toIndentedString(backgroundAsset)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java new file mode 100644 index 00000000..a5d34bd9 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.java @@ -0,0 +1,109 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + */ + +public class Tmsv2TokenizedCardMetadataCardArtBackgroundAsset { + @SerializedName("id") + private String id = null; + + @SerializedName("_links") + private Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks links = null; + + /** + * The Id of the icon asset. + * @return id + **/ + @ApiModelProperty(value = "The Id of the icon asset. ") + public String getId() { + return id; + } + + public Tmsv2TokenizedCardMetadataCardArtBackgroundAsset links(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks links) { + this.links = links; + return this; + } + + /** + * Get links + * @return links + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks getLinks() { + return links; + } + + public void setLinks(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks links) { + this.links = links; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtBackgroundAsset tmsv2TokenizedCardMetadataCardArtBackgroundAsset = (Tmsv2TokenizedCardMetadataCardArtBackgroundAsset) o; + return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtBackgroundAsset.id) && + Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtBackgroundAsset.links); + } + + @Override + public int hashCode() { + return Objects.hash(id, links); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAsset {\n"); + + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java new file mode 100644 index 00000000..c040d011 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + */ + +public class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks { + @SerializedName("self") + private Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf self = null; + + public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks self(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf self) { + this.self = self; + return this; + } + + /** + * Get self + * @return self + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf getSelf() { + return self; + } + + public void setSelf(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf self) { + this.self = self; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks = (Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks) o; + return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.self); + } + + @Override + public int hashCode() { + return Objects.hash(self); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks {\n"); + + sb.append(" self: ").append(toIndentedString(self)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java new file mode 100644 index 00000000..acec4c6d --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.java @@ -0,0 +1,85 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + */ + +public class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf { + @SerializedName("href") + private String href = null; + + /** + * Link to the background asset. + * @return href + **/ + @ApiModelProperty(value = "Link to the background asset. ") + public String getHref() { + return href; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf) o; + return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.href); + } + + @Override + public int hashCode() { + return Objects.hash(href); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf {\n"); + + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java new file mode 100644 index 00000000..e08dfce8 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.java @@ -0,0 +1,109 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + */ + +public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset { + @SerializedName("id") + private String id = null; + + @SerializedName("_links") + private Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks links = null; + + /** + * The Id of the brand logo asset. + * @return id + **/ + @ApiModelProperty(value = "The Id of the brand logo asset. ") + public String getId() { + return id; + } + + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset links(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks links) { + this.links = links; + return this; + } + + /** + * Get links + * @return links + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks getLinks() { + return links; + } + + public void setLinks(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks links) { + this.links = links; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset tmsv2TokenizedCardMetadataCardArtBrandLogoAsset = (Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset) o; + return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.id) && + Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.links); + } + + @Override + public int hashCode() { + return Objects.hash(id, links); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset {\n"); + + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java new file mode 100644 index 00000000..4ebeae50 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + */ + +public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks { + @SerializedName("self") + private Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf self = null; + + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks self(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf self) { + this.self = self; + return this; + } + + /** + * Get self + * @return self + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf getSelf() { + return self; + } + + public void setSelf(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf self) { + this.self = self; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks = (Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks) o; + return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.self); + } + + @Override + public int hashCode() { + return Objects.hash(self); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks {\n"); + + sb.append(" self: ").append(toIndentedString(self)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java new file mode 100644 index 00000000..42f52b4c --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.java @@ -0,0 +1,85 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + */ + +public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf { + @SerializedName("href") + private String href = null; + + /** + * Link to the brand logo asset. + * @return href + **/ + @ApiModelProperty(value = "Link to the brand logo asset. ") + public String getHref() { + return href; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf) o; + return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.href); + } + + @Override + public int hashCode() { + return Objects.hash(href); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf {\n"); + + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java new file mode 100644 index 00000000..87313c61 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.java @@ -0,0 +1,109 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset + */ + +public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset { + @SerializedName("id") + private String id = null; + + @SerializedName("_links") + private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks links = null; + + /** + * The Id of the co-brand logo asset. + * @return id + **/ + @ApiModelProperty(value = "The Id of the co-brand logo asset. ") + public String getId() { + return id; + } + + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset links(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks links) { + this.links = links; + return this; + } + + /** + * Get links + * @return links + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks getLinks() { + return links; + } + + public void setLinks(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks links) { + this.links = links; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset = (Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset) o; + return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.id) && + Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.links); + } + + @Override + public int hashCode() { + return Objects.hash(id, links); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset {\n"); + + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java new file mode 100644 index 00000000..f7ecd0ce --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + */ + +public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks { + @SerializedName("self") + private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf self = null; + + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks self(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf self) { + this.self = self; + return this; + } + + /** + * Get self + * @return self + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf getSelf() { + return self; + } + + public void setSelf(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf self) { + this.self = self; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks = (Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks) o; + return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.self); + } + + @Override + public int hashCode() { + return Objects.hash(self); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks {\n"); + + sb.append(" self: ").append(toIndentedString(self)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java new file mode 100644 index 00000000..693e51e6 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.java @@ -0,0 +1,85 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + */ + +public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf { + @SerializedName("href") + private String href = null; + + /** + * Link to the co-brand logo asset. + * @return href + **/ + @ApiModelProperty(value = "Link to the co-brand logo asset. ") + public String getHref() { + return href; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf) o; + return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.href); + } + + @Override + public int hashCode() { + return Objects.hash(href); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf {\n"); + + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java new file mode 100644 index 00000000..63e3396a --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.java @@ -0,0 +1,109 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtCombinedAsset + */ + +public class Tmsv2TokenizedCardMetadataCardArtCombinedAsset { + @SerializedName("id") + private String id = null; + + @SerializedName("_links") + private Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks links = null; + + /** + * The Id of the combined asset. + * @return id + **/ + @ApiModelProperty(value = "The Id of the combined asset. ") + public String getId() { + return id; + } + + public Tmsv2TokenizedCardMetadataCardArtCombinedAsset links(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks links) { + this.links = links; + return this; + } + + /** + * Get links + * @return links + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks getLinks() { + return links; + } + + public void setLinks(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks links) { + this.links = links; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtCombinedAsset tmsv2TokenizedCardMetadataCardArtCombinedAsset = (Tmsv2TokenizedCardMetadataCardArtCombinedAsset) o; + return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtCombinedAsset.id) && + Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtCombinedAsset.links); + } + + @Override + public int hashCode() { + return Objects.hash(id, links); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAsset {\n"); + + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java new file mode 100644 index 00000000..844fed7b --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + */ + +public class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks { + @SerializedName("self") + private Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf self = null; + + public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks self(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf self) { + this.self = self; + return this; + } + + /** + * Get self + * @return self + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf getSelf() { + return self; + } + + public void setSelf(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf self) { + this.self = self; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks = (Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks) o; + return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.self); + } + + @Override + public int hashCode() { + return Objects.hash(self); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks {\n"); + + sb.append(" self: ").append(toIndentedString(self)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java new file mode 100644 index 00000000..99184681 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.java @@ -0,0 +1,85 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + */ + +public class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf { + @SerializedName("href") + private String href = null; + + /** + * Link to the combined asset. + * @return href + **/ + @ApiModelProperty(value = "Link to the combined asset. ") + public String getHref() { + return href; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf) o; + return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.href); + } + + @Override + public int hashCode() { + return Objects.hash(href); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf {\n"); + + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java new file mode 100644 index 00000000..8a69b109 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.java @@ -0,0 +1,109 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtIconAssetLinks; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtIconAsset + */ + +public class Tmsv2TokenizedCardMetadataCardArtIconAsset { + @SerializedName("id") + private String id = null; + + @SerializedName("_links") + private Tmsv2TokenizedCardMetadataCardArtIconAssetLinks links = null; + + /** + * The Id of the icon asset. + * @return id + **/ + @ApiModelProperty(value = "The Id of the icon asset. ") + public String getId() { + return id; + } + + public Tmsv2TokenizedCardMetadataCardArtIconAsset links(Tmsv2TokenizedCardMetadataCardArtIconAssetLinks links) { + this.links = links; + return this; + } + + /** + * Get links + * @return links + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtIconAssetLinks getLinks() { + return links; + } + + public void setLinks(Tmsv2TokenizedCardMetadataCardArtIconAssetLinks links) { + this.links = links; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtIconAsset tmsv2TokenizedCardMetadataCardArtIconAsset = (Tmsv2TokenizedCardMetadataCardArtIconAsset) o; + return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtIconAsset.id) && + Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtIconAsset.links); + } + + @Override + public int hashCode() { + return Objects.hash(id, links); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAsset {\n"); + + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java new file mode 100644 index 00000000..d3e07844 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + */ + +public class Tmsv2TokenizedCardMetadataCardArtIconAssetLinks { + @SerializedName("self") + private Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf self = null; + + public Tmsv2TokenizedCardMetadataCardArtIconAssetLinks self(Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf self) { + this.self = self; + return this; + } + + /** + * Get self + * @return self + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf getSelf() { + return self; + } + + public void setSelf(Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf self) { + this.self = self; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtIconAssetLinks tmsv2TokenizedCardMetadataCardArtIconAssetLinks = (Tmsv2TokenizedCardMetadataCardArtIconAssetLinks) o; + return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtIconAssetLinks.self); + } + + @Override + public int hashCode() { + return Objects.hash(self); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAssetLinks {\n"); + + sb.append(" self: ").append(toIndentedString(self)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java new file mode 100644 index 00000000..c1259c96 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.java @@ -0,0 +1,85 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + */ + +public class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf { + @SerializedName("href") + private String href = null; + + /** + * Link to the icon asset. + * @return href + **/ + @ApiModelProperty(value = "Link to the icon asset. ") + public String getHref() { + return href; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf) o; + return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.href); + } + + @Override + public int hashCode() { + return Objects.hash(href); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf {\n"); + + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java new file mode 100644 index 00000000..cd66fe6d --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.java @@ -0,0 +1,109 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset + */ + +public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset { + @SerializedName("id") + private String id = null; + + @SerializedName("_links") + private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks links = null; + + /** + * The Id of the issuer logo asset. + * @return id + **/ + @ApiModelProperty(value = "The Id of the issuer logo asset. ") + public String getId() { + return id; + } + + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset links(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks links) { + this.links = links; + return this; + } + + /** + * Get links + * @return links + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks getLinks() { + return links; + } + + public void setLinks(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks links) { + this.links = links; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset = (Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset) o; + return Objects.equals(this.id, tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.id) && + Objects.equals(this.links, tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.links); + } + + @Override + public int hashCode() { + return Objects.hash(id, links); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset {\n"); + + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java new file mode 100644 index 00000000..2e7be505 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + */ + +public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks { + @SerializedName("self") + private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf self = null; + + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks self(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf self) { + this.self = self; + return this; + } + + /** + * Get self + * @return self + **/ + @ApiModelProperty(value = "") + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf getSelf() { + return self; + } + + public void setSelf(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf self) { + this.self = self; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks = (Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks) o; + return Objects.equals(this.self, tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.self); + } + + @Override + public int hashCode() { + return Objects.hash(self); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks {\n"); + + sb.append(" self: ").append(toIndentedString(self)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java new file mode 100644 index 00000000..f2671669 --- /dev/null +++ b/src/main/java/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.java @@ -0,0 +1,85 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf + */ + +public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf { + @SerializedName("href") + private String href = null; + + /** + * Link to the issuer logo asset. + * @return href + **/ + @ApiModelProperty(value = "Link to the issuer logo asset. ") + public String getHref() { + return href; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf = (Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf) o; + return Objects.equals(this.href, tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.href); + } + + @Override + public int hashCode() { + return Objects.hash(href); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf {\n"); + + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/test/java/Api/DecisionManagerApiTest.java b/src/test/java/Api/DecisionManagerApiTest.java index 322e1fcb..5d9aaf1a 100644 --- a/src/test/java/Api/DecisionManagerApiTest.java +++ b/src/test/java/Api/DecisionManagerApiTest.java @@ -20,7 +20,7 @@ import Model.FraudMarkingActionRequest; import Model.InlineResponse200; import Model.InlineResponse201; -import Model.InlineResponse4001; +import Model.InlineResponse4002; import Model.InlineResponse4031; import Model.InlineResponse422; import Model.InlineResponse5001; diff --git a/src/test/java/Api/FlexApiApiTest.java b/src/test/java/Api/FlexApiApiTest.java new file mode 100644 index 00000000..b1b496e2 --- /dev/null +++ b/src/test/java/Api/FlexApiApiTest.java @@ -0,0 +1,52 @@ +/* + * 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 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package Api; + +import Model.GenerateFlexAPICaptureContextRequest; +import Model.InlineResponse4001; +import org.junit.Test; +import org.junit.Ignore; + + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for FlexApiApi + */ +@Ignore +public class FlexApiApiTest { + + private final FlexApiApi api = new FlexApiApi(); + + + /** + * Establish a Payment Session with a Capture Context + * + * To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + * + * @throws Exception + * if the Api call fails + */ + @Test + public void generateFlexAPICaptureContextTest() throws Exception { + GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest = null; + String response = api.generateFlexAPICaptureContext(generateFlexAPICaptureContextRequest); + + // TODO: test validations + } + +} diff --git a/src/test/java/Api/MerchantBoardingApiTest.java b/src/test/java/Api/MerchantBoardingApiTest.java index 2109d26c..8f90bb84 100644 --- a/src/test/java/Api/MerchantBoardingApiTest.java +++ b/src/test/java/Api/MerchantBoardingApiTest.java @@ -15,7 +15,7 @@ import Model.InlineResponse2001; import Model.InlineResponse2012; -import Model.InlineResponse4005; +import Model.InlineResponse4006; import Model.InlineResponse4041; import Model.InlineResponse4221; import Model.InlineResponse5002; diff --git a/src/test/java/Api/PlansApiTest.java b/src/test/java/Api/PlansApiTest.java index f31a1f14..9cdde880 100644 --- a/src/test/java/Api/PlansApiTest.java +++ b/src/test/java/Api/PlansApiTest.java @@ -20,7 +20,7 @@ import Model.GetAllPlansResponse; import Model.GetPlanCodeResponse; import Model.GetPlanResponse; -import Model.InlineResponse4002; +import Model.InlineResponse4003; import Model.InlineResponse404; import Model.PtsV2PaymentsPost502Response; import Model.UpdatePlanRequest; diff --git a/src/test/java/Api/ReportSubscriptionsApiTest.java b/src/test/java/Api/ReportSubscriptionsApiTest.java index a105b740..4c1388ad 100644 --- a/src/test/java/Api/ReportSubscriptionsApiTest.java +++ b/src/test/java/Api/ReportSubscriptionsApiTest.java @@ -14,7 +14,7 @@ package Api; import Model.CreateReportSubscriptionRequest; -import Model.InlineResponse4004; +import Model.InlineResponse4005; import Model.PredefinedSubscriptionRequestBean; import Model.ReportingV3ReportSubscriptionsGet200Response; import Model.ReportingV3ReportSubscriptionsGet200ResponseSubscriptions; diff --git a/src/test/java/Api/SecureFileShareApiTest.java b/src/test/java/Api/SecureFileShareApiTest.java index d0504aff..f8cbefc4 100644 --- a/src/test/java/Api/SecureFileShareApiTest.java +++ b/src/test/java/Api/SecureFileShareApiTest.java @@ -13,7 +13,7 @@ package Api; -import Model.InlineResponse4004; +import Model.InlineResponse4005; import org.joda.time.LocalDate; import Model.V1FileDetailsGet200Response; import org.junit.Test; diff --git a/src/test/java/Api/SubscriptionsApiTest.java b/src/test/java/Api/SubscriptionsApiTest.java index 7a5e53a2..34323aba 100644 --- a/src/test/java/Api/SubscriptionsApiTest.java +++ b/src/test/java/Api/SubscriptionsApiTest.java @@ -20,8 +20,8 @@ import Model.GetAllSubscriptionsResponse; import Model.GetSubscriptionCodeResponse; import Model.GetSubscriptionResponse; -import Model.InlineResponse4002; import Model.InlineResponse4003; +import Model.InlineResponse4004; import Model.InlineResponse404; import Model.PtsV2PaymentsPost502Response; import Model.SuspendSubscriptionResponse; diff --git a/src/test/java/Api/UnifiedCheckoutCaptureContextApiTest.java b/src/test/java/Api/UnifiedCheckoutCaptureContextApiTest.java index ab2f2670..06585052 100644 --- a/src/test/java/Api/UnifiedCheckoutCaptureContextApiTest.java +++ b/src/test/java/Api/UnifiedCheckoutCaptureContextApiTest.java @@ -14,7 +14,7 @@ package Api; import Model.GenerateUnifiedCheckoutCaptureContextRequest; -import Model.InlineResponse4006; +import Model.InlineResponse4001; import org.junit.Test; import org.junit.Ignore; From 894ac0afb8b483b0b412c587a301340ef01073e0 Mon Sep 17 00:00:00 2001 From: monkumar Date: Wed, 18 Sep 2024 20:09:12 +0530 Subject: [PATCH 3/3] changed submit time type to datetime --- src/main/java/Model/InlineResponse2012.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/Model/InlineResponse2012.java b/src/main/java/Model/InlineResponse2012.java index e3a8b15a..53c4b2da 100644 --- a/src/main/java/Model/InlineResponse2012.java +++ b/src/main/java/Model/InlineResponse2012.java @@ -31,6 +31,8 @@ import java.util.HashMap; import java.util.List; import java.util.Map; + +import org.joda.time.DateTime; import org.joda.time.LocalDate; /** @@ -42,7 +44,7 @@ public class InlineResponse2012 { private String id = null; @SerializedName("submitTimeUtc") - private LocalDate submitTimeUtc = null; + private DateTime submitTimeUtc = null; /** * The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL' @@ -137,7 +139,7 @@ public void setId(String id) { this.id = id; } - public InlineResponse2012 submitTimeUtc(LocalDate submitTimeUtc) { + public InlineResponse2012 submitTimeUtc(DateTime submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; return this; } @@ -147,11 +149,11 @@ public InlineResponse2012 submitTimeUtc(LocalDate submitTimeUtc) { * @return submitTimeUtc **/ @ApiModelProperty(example = "2019-06-11T22:47:57.000Z", value = "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. ") - public LocalDate getSubmitTimeUtc() { + public DateTime getSubmitTimeUtc() { return submitTimeUtc; } - public void setSubmitTimeUtc(LocalDate submitTimeUtc) { + public void setSubmitTimeUtc(DateTime submitTimeUtc) { this.submitTimeUtc = submitTimeUtc; }