From e70a516d336b076372e8baf2f11207cf00509578 Mon Sep 17 00:00:00 2001 From: Gaurav Bansal Date: Fri, 14 Apr 2023 14:39:43 +0530 Subject: [PATCH 1/7] updated the version of System.Text.Encodings.Web --- cybersource-rest-client-dotnet.csproj | 4 ++-- packages.config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cybersource-rest-client-dotnet.csproj b/cybersource-rest-client-dotnet.csproj index e1e30947..71213cca 100644 --- a/cybersource-rest-client-dotnet.csproj +++ b/cybersource-rest-client-dotnet.csproj @@ -62,8 +62,8 @@ OpenAPI spec version: 0.0.1 packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll - - packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll + + packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll diff --git a/packages.config b/packages.config index 0a836b9d..1b5b83d4 100644 --- a/packages.config +++ b/packages.config @@ -9,7 +9,7 @@ - + From e8ece290315f9334a6a8e9d8f0f2a0e2bcb76177 Mon Sep 17 00:00:00 2001 From: Gaurav Bansal Date: Fri, 14 Apr 2023 15:18:05 +0530 Subject: [PATCH 2/7] updated the version of System.Text.Encodings.Web --- test/cybersource-rest-client-dotnet.Test.csproj | 4 ++-- test/packages.config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/cybersource-rest-client-dotnet.Test.csproj b/test/cybersource-rest-client-dotnet.Test.csproj index 3da5f7b5..c8b5c4d5 100644 --- a/test/cybersource-rest-client-dotnet.Test.csproj +++ b/test/cybersource-rest-client-dotnet.Test.csproj @@ -58,8 +58,8 @@ OpenAPI spec version: 0.0.1 ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll - - ..\packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll + + ..\packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll ..\packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll diff --git a/test/packages.config b/test/packages.config index 3dbbd2d7..3276c0e3 100644 --- a/test/packages.config +++ b/test/packages.config @@ -8,7 +8,7 @@ - + From dcb9ad73dcbf3ff69a530ae70f07768b563e78e3 Mon Sep 17 00:00:00 2001 From: Bansal Date: Thu, 20 Apr 2023 12:03:37 +0530 Subject: [PATCH 3/7] heap inspection issue fix --- Client/ApiClient.cs | 1 + generator/cybersource-csharp-template/ApiClient.mustache | 1 + 2 files changed, 2 insertions(+) diff --git a/Client/ApiClient.cs b/Client/ApiClient.cs index c5c831ea..6b9097dd 100644 --- a/Client/ApiClient.cs +++ b/Client/ApiClient.cs @@ -460,6 +460,7 @@ public object CallApi( string fileName = Path.Combine(clientCertDirectory, clientCertFile); // Importing Certificates var certificate = new X509Certificate2(fileName, clientCertPassword); + clientCertPassword=string.Empty; RestClient.Options.ClientCertificates = new X509CertificateCollection { certificate }; } diff --git a/generator/cybersource-csharp-template/ApiClient.mustache b/generator/cybersource-csharp-template/ApiClient.mustache index bc7cd011..bb559a89 100644 --- a/generator/cybersource-csharp-template/ApiClient.mustache +++ b/generator/cybersource-csharp-template/ApiClient.mustache @@ -502,6 +502,7 @@ namespace {{packageName}}.Client string fileName = Path.Combine(clientCertDirectory, clientCertFile); // Importing Certificates var certificate = new X509Certificate2(fileName, clientCertPassword); + clientCertPassword=string.Empty; RestClient.Options.ClientCertificates = new X509CertificateCollection { certificate }; } From 2e6a0d38ad93215561fd51b7be73e4d0c2368a7c Mon Sep 17 00:00:00 2001 From: Bansal Date: Thu, 20 Apr 2023 13:52:52 +0530 Subject: [PATCH 4/7] april changes --- Api/PaymentsApi.cs | 16 +- ...CreateBundledDecisionManagerCaseRequest.cs | 18 +- Model/CreatePaymentRequest.cs | 18 +- Model/PtsV2PaymentsPost201Response.cs | 18 +- ...PaymentsPost201ResponseErrorInformation.cs | 6 +- ...PaymentsPost201ResponseOrderInformation.cs | 18 +- ...tsPost201ResponseOrderInformationBillTo.cs | 146 ++++++ ...ResponsePaymentInformationTokenizedCard.cs | 25 +- ...nformationElectronicVerificationResults.cs | 116 ++++- ...1ResponseWatchlistScreeningInformation.cs} | 20 +- ...WatchlistScreeningInformationWatchList.cs} | 20 +- ...stScreeningInformationWatchListMatches.cs} | 18 +- Model/Ptsv2paymentsMerchantInformation.cs | 35 +- ...tsMerchantInformationMerchantDescriptor.cs | 19 +- ...mentsMerchantInformationServiceLocation.cs | 180 +++++++ Model/Ptsv2paymentsOrderInformationBillTo.cs | 36 +- .../Ptsv2paymentsOrderInformationLineItems.cs | 34 +- ...paymentsPaymentInformationTokenizedCard.cs | 25 +- Model/Ptsv2paymentsPointOfSaleInformation.cs | 6 +- Model/Ptsv2paymentsProcessingInformation.cs | 6 +- ...ocessingInformationAuthorizationOptions.cs | 19 +- ...v2paymentsWatchlistScreeningInformation.cs | 179 +++++++ ...tsWatchlistScreeningInformationWeights.cs} | 18 +- ...outsProcessingInformationPayoutsOptions.cs | 19 +- Model/RiskV1DecisionsPost201Response.cs | 18 +- ...ecisionsPost201ResponseErrorInformation.cs | 6 +- ...xportComplianceInquiriesPost201Response.cs | 4 +- ...iskv1decisionsOrderInformationLineItems.cs | 34 +- Model/Riskv1decisionsProcessingInformation.cs | 8 +- ...nceinquiriesExportComplianceInformation.cs | 4 +- ...nformationElectronicVerificationResults.cs | 12 +- cybersource-rest-client-dotnet.csproj | 8 +- cybersource-rest-client-dotnet.sln | 10 +- ...CreateBundledDecisionManagerCaseRequest.md | 1 + docs/CreatePaymentRequest.md | 1 + docs/PaymentsApi.md | 2 +- docs/PtsV2PaymentsPost201Response.md | 1 + ...PaymentsPost201ResponseErrorInformation.md | 2 +- ...PaymentsPost201ResponseOrderInformation.md | 1 + ...tsPost201ResponseOrderInformationBillTo.md | 10 + ...ResponsePaymentInformationTokenizedCard.md | 3 +- ...nformationElectronicVerificationResults.md | 10 +- ...1ResponseWatchlistScreeningInformation.md} | 4 +- ...eWatchlistScreeningInformationWatchList.md | 9 + ...stScreeningInformationWatchListMatches.md} | 2 +- docs/Ptsv2paymentsMerchantInformation.md | 2 + ...tsMerchantInformationMerchantDescriptor.md | 1 + ...mentsMerchantInformationServiceLocation.md | 12 + docs/Ptsv2paymentsOrderInformationBillTo.md | 2 + .../Ptsv2paymentsOrderInformationLineItems.md | 2 + ...paymentsPaymentInformationTokenizedCard.md | 3 +- docs/Ptsv2paymentsPointOfSaleInformation.md | 2 +- docs/Ptsv2paymentsProcessingInformation.md | 2 +- ...ocessingInformationAuthorizationOptions.md | 1 + ...v2paymentsWatchlistScreeningInformation.md | 12 + ...tsWatchlistScreeningInformationWeights.md} | 2 +- ...outsProcessingInformationPayoutsOptions.md | 1 + docs/RiskV1DecisionsPost201Response.md | 1 + ...ecisionsPost201ResponseErrorInformation.md | 2 +- ...xportComplianceInquiriesPost201Response.md | 2 +- ...nseExportComplianceInformationWatchList.md | 9 - ...iskv1decisionsOrderInformationLineItems.md | 2 + docs/Riskv1decisionsProcessingInformation.md | 2 +- ...nceinquiriesExportComplianceInformation.md | 2 +- ...nformationElectronicVerificationResults.md | 4 +- generator/cybersource-rest-spec.json | 463 ++++++++++++++++-- ...eBundledDecisionManagerCaseRequestTests.cs | 8 + test/Model/CreatePaymentRequestTests.cs | 8 + ...t201ResponseOrderInformationBillToTests.cs | 86 ++++ ...ntsPost201ResponseOrderInformationTests.cs | 8 + ...nsePaymentInformationTokenizedCardTests.cs | 8 + ...ationElectronicVerificationResultsTests.cs | 48 ++ .../PtsV2PaymentsPost201ResponseTests.cs | 8 + ...onseWatchlistScreeningInformationTests.cs} | 20 +- ...eeningInformationWatchListMatchesTests.cs} | 20 +- ...listScreeningInformationWatchListTests.cs} | 20 +- ...chantInformationMerchantDescriptorTests.cs | 8 + ...MerchantInformationServiceLocationTests.cs | 102 ++++ .../Ptsv2paymentsMerchantInformationTests.cs | 16 + ...tsv2paymentsOrderInformationBillToTests.cs | 16 + ...2paymentsOrderInformationLineItemsTests.cs | 16 + ...ntsPaymentInformationTokenizedCardTests.cs | 8 + ...ingInformationAuthorizationOptionsTests.cs | 8 + ...mentsWatchlistScreeningInformationTests.cs | 102 ++++ ...chlistScreeningInformationWeightsTests.cs} | 20 +- ...rocessingInformationPayoutsOptionsTests.cs | 8 + .../RiskV1DecisionsPost201ResponseTests.cs | 8 + ...decisionsOrderInformationLineItemsTests.cs | 16 + ...cybersource-rest-client-dotnet.Test.csproj | 6 +- 89 files changed, 2048 insertions(+), 214 deletions(-) create mode 100644 Model/PtsV2PaymentsPost201ResponseOrderInformationBillTo.cs rename Model/{RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.cs => PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.cs} (84%) rename Model/{RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.cs => PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.cs} (69%) rename Model/{RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.cs => PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.cs} (82%) create mode 100644 Model/Ptsv2paymentsMerchantInformationServiceLocation.cs create mode 100644 Model/Ptsv2paymentsWatchlistScreeningInformation.cs rename Model/{Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.cs => Ptsv2paymentsWatchlistScreeningInformationWeights.cs} (88%) create mode 100644 docs/PtsV2PaymentsPost201ResponseOrderInformationBillTo.md rename docs/{RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.md => PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md} (79%) create mode 100644 docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.md rename docs/{RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.md => PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.md} (89%) create mode 100644 docs/Ptsv2paymentsMerchantInformationServiceLocation.md create mode 100644 docs/Ptsv2paymentsWatchlistScreeningInformation.md rename docs/{Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.md => Ptsv2paymentsWatchlistScreeningInformationWeights.md} (95%) delete mode 100644 docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.md create mode 100644 test/Model/PtsV2PaymentsPost201ResponseOrderInformationBillToTests.cs rename test/Model/{RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationTests.cs => PtsV2PaymentsPost201ResponseWatchlistScreeningInformationTests.cs} (61%) rename test/Model/{RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatchesTests.cs => PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatchesTests.cs} (60%) rename test/Model/{RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListTests.cs => PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListTests.cs} (52%) create mode 100644 test/Model/Ptsv2paymentsMerchantInformationServiceLocationTests.cs create mode 100644 test/Model/Ptsv2paymentsWatchlistScreeningInformationTests.cs rename test/Model/{Riskv1exportcomplianceinquiriesExportComplianceInformationWeightsTests.cs => Ptsv2paymentsWatchlistScreeningInformationWeightsTests.cs} (62%) diff --git a/Api/PaymentsApi.cs b/Api/PaymentsApi.cs index 2eee53f6..b5dc469f 100644 --- a/Api/PaymentsApi.cs +++ b/Api/PaymentsApi.cs @@ -30,7 +30,7 @@ public interface IPaymentsApi : IApiAccessor /// Process a Payment /// /// - /// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. + /// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. /// /// Thrown when fails to make API call /// @@ -41,7 +41,7 @@ public interface IPaymentsApi : IApiAccessor /// Process a Payment /// /// - /// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. + /// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. /// /// Thrown when fails to make API call /// @@ -99,7 +99,7 @@ public interface IPaymentsApi : IApiAccessor /// Process a Payment /// /// - /// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. + /// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. /// /// Thrown when fails to make API call /// @@ -110,7 +110,7 @@ public interface IPaymentsApi : IApiAccessor /// Process a Payment /// /// - /// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. + /// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. /// /// Thrown when fails to make API call /// @@ -303,7 +303,7 @@ public void SetStatusCode(int? statusCode) } /// - /// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. + /// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. /// /// Thrown when fails to make API call /// @@ -319,7 +319,7 @@ public PtsV2PaymentsPost201Response CreatePayment (CreatePaymentRequest createPa } /// - /// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. + /// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. /// /// Thrown when fails to make API call /// @@ -401,7 +401,7 @@ public ApiResponse< PtsV2PaymentsPost201Response > CreatePaymentWithHttpInfo (Cr } /// - /// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. + /// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. /// /// Thrown when fails to make API call /// @@ -418,7 +418,7 @@ public async System.Threading.Tasks.Task CreatePay } /// - /// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. + /// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. /// /// Thrown when fails to make API call /// diff --git a/Model/CreateBundledDecisionManagerCaseRequest.cs b/Model/CreateBundledDecisionManagerCaseRequest.cs index 3dece0e5..5b880fe4 100644 --- a/Model/CreateBundledDecisionManagerCaseRequest.cs +++ b/Model/CreateBundledDecisionManagerCaseRequest.cs @@ -47,7 +47,8 @@ public partial class CreateBundledDecisionManagerCaseRequest : IEquatableAcquirerInformation. /// RecurringPaymentInformation. /// ConsumerAuthenticationInformation. - public CreateBundledDecisionManagerCaseRequest(Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation), Riskv1decisionsProcessorInformation ProcessorInformation = default(Riskv1decisionsProcessorInformation), Riskv1decisionsProcessingInformation ProcessingInformation = default(Riskv1decisionsProcessingInformation), Riskv1decisionsPaymentInformation PaymentInformation = default(Riskv1decisionsPaymentInformation), Riskv1decisionsOrderInformation OrderInformation = default(Riskv1decisionsOrderInformation), Riskv1decisionsBuyerInformation BuyerInformation = default(Riskv1decisionsBuyerInformation), Riskv1decisionsDeviceInformation DeviceInformation = default(Riskv1decisionsDeviceInformation), Riskv1decisionsRiskInformation RiskInformation = default(Riskv1decisionsRiskInformation), Riskv1decisionsTravelInformation TravelInformation = default(Riskv1decisionsTravelInformation), List MerchantDefinedInformation = default(List), Riskv1decisionsMerchantInformation MerchantInformation = default(Riskv1decisionsMerchantInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Riskv1decisionsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Riskv1decisionsConsumerAuthenticationInformation)) + /// WatchlistScreeningInformation. + public CreateBundledDecisionManagerCaseRequest(Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation), Riskv1decisionsProcessorInformation ProcessorInformation = default(Riskv1decisionsProcessorInformation), Riskv1decisionsProcessingInformation ProcessingInformation = default(Riskv1decisionsProcessingInformation), Riskv1decisionsPaymentInformation PaymentInformation = default(Riskv1decisionsPaymentInformation), Riskv1decisionsOrderInformation OrderInformation = default(Riskv1decisionsOrderInformation), Riskv1decisionsBuyerInformation BuyerInformation = default(Riskv1decisionsBuyerInformation), Riskv1decisionsDeviceInformation DeviceInformation = default(Riskv1decisionsDeviceInformation), Riskv1decisionsRiskInformation RiskInformation = default(Riskv1decisionsRiskInformation), Riskv1decisionsTravelInformation TravelInformation = default(Riskv1decisionsTravelInformation), List MerchantDefinedInformation = default(List), Riskv1decisionsMerchantInformation MerchantInformation = default(Riskv1decisionsMerchantInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Riskv1decisionsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Riskv1decisionsConsumerAuthenticationInformation), Ptsv2paymentsWatchlistScreeningInformation WatchlistScreeningInformation = default(Ptsv2paymentsWatchlistScreeningInformation)) { this.ClientReferenceInformation = ClientReferenceInformation; this.ProcessorInformation = ProcessorInformation; @@ -63,6 +64,7 @@ public partial class CreateBundledDecisionManagerCaseRequest : IEquatable @@ -149,6 +151,12 @@ public partial class CreateBundledDecisionManagerCaseRequest : IEquatable + /// Gets or Sets WatchlistScreeningInformation + /// + [DataMember(Name="watchlistScreeningInformation", EmitDefaultValue=false)] + public Ptsv2paymentsWatchlistScreeningInformation WatchlistScreeningInformation { get; set; } + /// /// Returns the string presentation of the object /// @@ -171,6 +179,7 @@ public override string ToString() sb.Append(" AcquirerInformation: ").Append(AcquirerInformation).Append("\n"); sb.Append(" RecurringPaymentInformation: ").Append(RecurringPaymentInformation).Append("\n"); sb.Append(" ConsumerAuthenticationInformation: ").Append(ConsumerAuthenticationInformation).Append("\n"); + sb.Append(" WatchlistScreeningInformation: ").Append(WatchlistScreeningInformation).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -276,6 +285,11 @@ public bool Equals(CreateBundledDecisionManagerCaseRequest other) this.ConsumerAuthenticationInformation == other.ConsumerAuthenticationInformation || this.ConsumerAuthenticationInformation != null && this.ConsumerAuthenticationInformation.Equals(other.ConsumerAuthenticationInformation) + ) && + ( + this.WatchlistScreeningInformation == other.WatchlistScreeningInformation || + this.WatchlistScreeningInformation != null && + this.WatchlistScreeningInformation.Equals(other.WatchlistScreeningInformation) ); } @@ -318,6 +332,8 @@ public override int GetHashCode() hash = hash * 59 + this.RecurringPaymentInformation.GetHashCode(); if (this.ConsumerAuthenticationInformation != null) hash = hash * 59 + this.ConsumerAuthenticationInformation.GetHashCode(); + if (this.WatchlistScreeningInformation != null) + hash = hash * 59 + this.WatchlistScreeningInformation.GetHashCode(); return hash; } } diff --git a/Model/CreatePaymentRequest.cs b/Model/CreatePaymentRequest.cs index 82023695..e99b5a59 100644 --- a/Model/CreatePaymentRequest.cs +++ b/Model/CreatePaymentRequest.cs @@ -56,7 +56,8 @@ public partial class CreatePaymentRequest : IEquatable, I /// RiskInformation. /// AcquirerInformation. /// RecurringPaymentInformation. - public CreatePaymentRequest(Ptsv2paymentsClientReferenceInformation ClientReferenceInformation = default(Ptsv2paymentsClientReferenceInformation), Ptsv2paymentsProcessingInformation ProcessingInformation = default(Ptsv2paymentsProcessingInformation), Ptsv2paymentsIssuerInformation IssuerInformation = default(Ptsv2paymentsIssuerInformation), Ptsv2paymentsPaymentInformation PaymentInformation = default(Ptsv2paymentsPaymentInformation), Ptsv2paymentsOrderInformation OrderInformation = default(Ptsv2paymentsOrderInformation), Ptsv2paymentsBuyerInformation BuyerInformation = default(Ptsv2paymentsBuyerInformation), Ptsv2paymentsRecipientInformation RecipientInformation = default(Ptsv2paymentsRecipientInformation), Ptsv2paymentsDeviceInformation DeviceInformation = default(Ptsv2paymentsDeviceInformation), Ptsv2paymentsMerchantInformation MerchantInformation = default(Ptsv2paymentsMerchantInformation), Ptsv2paymentsAggregatorInformation AggregatorInformation = default(Ptsv2paymentsAggregatorInformation), Ptsv2paymentsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Ptsv2paymentsConsumerAuthenticationInformation), Ptsv2paymentsPointOfSaleInformation PointOfSaleInformation = default(Ptsv2paymentsPointOfSaleInformation), List MerchantDefinedInformation = default(List), Ptsv2paymentsInstallmentInformation InstallmentInformation = default(Ptsv2paymentsInstallmentInformation), Ptsv2paymentsTravelInformation TravelInformation = default(Ptsv2paymentsTravelInformation), Ptsv2paymentsHealthCareInformation HealthCareInformation = default(Ptsv2paymentsHealthCareInformation), Ptsv2paymentsPromotionInformation PromotionInformation = default(Ptsv2paymentsPromotionInformation), Ptsv2paymentsTokenInformation TokenInformation = default(Ptsv2paymentsTokenInformation), Ptsv2paymentsInvoiceDetails InvoiceDetails = default(Ptsv2paymentsInvoiceDetails), Ptsv2paymentsProcessorInformation ProcessorInformation = default(Ptsv2paymentsProcessorInformation), Ptsv2paymentsRiskInformation RiskInformation = default(Ptsv2paymentsRiskInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation)) + /// WatchlistScreeningInformation. + public CreatePaymentRequest(Ptsv2paymentsClientReferenceInformation ClientReferenceInformation = default(Ptsv2paymentsClientReferenceInformation), Ptsv2paymentsProcessingInformation ProcessingInformation = default(Ptsv2paymentsProcessingInformation), Ptsv2paymentsIssuerInformation IssuerInformation = default(Ptsv2paymentsIssuerInformation), Ptsv2paymentsPaymentInformation PaymentInformation = default(Ptsv2paymentsPaymentInformation), Ptsv2paymentsOrderInformation OrderInformation = default(Ptsv2paymentsOrderInformation), Ptsv2paymentsBuyerInformation BuyerInformation = default(Ptsv2paymentsBuyerInformation), Ptsv2paymentsRecipientInformation RecipientInformation = default(Ptsv2paymentsRecipientInformation), Ptsv2paymentsDeviceInformation DeviceInformation = default(Ptsv2paymentsDeviceInformation), Ptsv2paymentsMerchantInformation MerchantInformation = default(Ptsv2paymentsMerchantInformation), Ptsv2paymentsAggregatorInformation AggregatorInformation = default(Ptsv2paymentsAggregatorInformation), Ptsv2paymentsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Ptsv2paymentsConsumerAuthenticationInformation), Ptsv2paymentsPointOfSaleInformation PointOfSaleInformation = default(Ptsv2paymentsPointOfSaleInformation), List MerchantDefinedInformation = default(List), Ptsv2paymentsInstallmentInformation InstallmentInformation = default(Ptsv2paymentsInstallmentInformation), Ptsv2paymentsTravelInformation TravelInformation = default(Ptsv2paymentsTravelInformation), Ptsv2paymentsHealthCareInformation HealthCareInformation = default(Ptsv2paymentsHealthCareInformation), Ptsv2paymentsPromotionInformation PromotionInformation = default(Ptsv2paymentsPromotionInformation), Ptsv2paymentsTokenInformation TokenInformation = default(Ptsv2paymentsTokenInformation), Ptsv2paymentsInvoiceDetails InvoiceDetails = default(Ptsv2paymentsInvoiceDetails), Ptsv2paymentsProcessorInformation ProcessorInformation = default(Ptsv2paymentsProcessorInformation), Ptsv2paymentsRiskInformation RiskInformation = default(Ptsv2paymentsRiskInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Ptsv2paymentsWatchlistScreeningInformation WatchlistScreeningInformation = default(Ptsv2paymentsWatchlistScreeningInformation)) { this.ClientReferenceInformation = ClientReferenceInformation; this.ProcessingInformation = ProcessingInformation; @@ -81,6 +82,7 @@ public partial class CreatePaymentRequest : IEquatable, I this.RiskInformation = RiskInformation; this.AcquirerInformation = AcquirerInformation; this.RecurringPaymentInformation = RecurringPaymentInformation; + this.WatchlistScreeningInformation = WatchlistScreeningInformation; } /// @@ -222,6 +224,12 @@ public partial class CreatePaymentRequest : IEquatable, I [DataMember(Name="recurringPaymentInformation", EmitDefaultValue=false)] public Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation { get; set; } + /// + /// Gets or Sets WatchlistScreeningInformation + /// + [DataMember(Name="watchlistScreeningInformation", EmitDefaultValue=false)] + public Ptsv2paymentsWatchlistScreeningInformation WatchlistScreeningInformation { get; set; } + /// /// Returns the string presentation of the object /// @@ -253,6 +261,7 @@ public override string ToString() sb.Append(" RiskInformation: ").Append(RiskInformation).Append("\n"); sb.Append(" AcquirerInformation: ").Append(AcquirerInformation).Append("\n"); sb.Append(" RecurringPaymentInformation: ").Append(RecurringPaymentInformation).Append("\n"); + sb.Append(" WatchlistScreeningInformation: ").Append(WatchlistScreeningInformation).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -403,6 +412,11 @@ public bool Equals(CreatePaymentRequest other) this.RecurringPaymentInformation == other.RecurringPaymentInformation || this.RecurringPaymentInformation != null && this.RecurringPaymentInformation.Equals(other.RecurringPaymentInformation) + ) && + ( + this.WatchlistScreeningInformation == other.WatchlistScreeningInformation || + this.WatchlistScreeningInformation != null && + this.WatchlistScreeningInformation.Equals(other.WatchlistScreeningInformation) ); } @@ -463,6 +477,8 @@ public override int GetHashCode() hash = hash * 59 + this.AcquirerInformation.GetHashCode(); if (this.RecurringPaymentInformation != null) hash = hash * 59 + this.RecurringPaymentInformation.GetHashCode(); + if (this.WatchlistScreeningInformation != null) + hash = hash * 59 + this.WatchlistScreeningInformation.GetHashCode(); return hash; } } diff --git a/Model/PtsV2PaymentsPost201Response.cs b/Model/PtsV2PaymentsPost201Response.cs index 7c2e1cd2..9f963aef 100644 --- a/Model/PtsV2PaymentsPost201Response.cs +++ b/Model/PtsV2PaymentsPost201Response.cs @@ -53,7 +53,8 @@ public partial class PtsV2PaymentsPost201Response : IEquatableBuyerInformation. /// RiskInformation. /// ConsumerAuthenticationInformation. - public PtsV2PaymentsPost201Response(PtsV2PaymentsPost201ResponseLinks Links = default(PtsV2PaymentsPost201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), string ReconciliationId = default(string), PtsV2PaymentsPost201ResponseErrorInformation ErrorInformation = default(PtsV2PaymentsPost201ResponseErrorInformation), PtsV2PaymentsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(PtsV2PaymentsPost201ResponseClientReferenceInformation), PtsV2PaymentsPost201ResponseProcessingInformation ProcessingInformation = default(PtsV2PaymentsPost201ResponseProcessingInformation), PtsV2PaymentsPost201ResponseProcessorInformation ProcessorInformation = default(PtsV2PaymentsPost201ResponseProcessorInformation), PtsV2PaymentsPost201ResponseIssuerInformation IssuerInformation = default(PtsV2PaymentsPost201ResponseIssuerInformation), PtsV2PaymentsPost201ResponsePaymentAccountInformation PaymentAccountInformation = default(PtsV2PaymentsPost201ResponsePaymentAccountInformation), PtsV2PaymentsPost201ResponsePaymentInformation PaymentInformation = default(PtsV2PaymentsPost201ResponsePaymentInformation), PtsV2PaymentsPost201ResponsePaymentInsightsInformation PaymentInsightsInformation = default(PtsV2PaymentsPost201ResponsePaymentInsightsInformation), PtsV2PaymentsPost201ResponseOrderInformation OrderInformation = default(PtsV2PaymentsPost201ResponseOrderInformation), PtsV2PaymentsPost201ResponsePointOfSaleInformation PointOfSaleInformation = default(PtsV2PaymentsPost201ResponsePointOfSaleInformation), PtsV2PaymentsPost201ResponseInstallmentInformation InstallmentInformation = default(PtsV2PaymentsPost201ResponseInstallmentInformation), PtsV2PaymentsPost201ResponseTokenInformation TokenInformation = default(PtsV2PaymentsPost201ResponseTokenInformation), PtsV2PaymentsPost201ResponseBuyerInformation BuyerInformation = default(PtsV2PaymentsPost201ResponseBuyerInformation), PtsV2PaymentsPost201ResponseRiskInformation RiskInformation = default(PtsV2PaymentsPost201ResponseRiskInformation), PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation)) + /// WatchlistScreeningInformation. + public PtsV2PaymentsPost201Response(PtsV2PaymentsPost201ResponseLinks Links = default(PtsV2PaymentsPost201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), string ReconciliationId = default(string), PtsV2PaymentsPost201ResponseErrorInformation ErrorInformation = default(PtsV2PaymentsPost201ResponseErrorInformation), PtsV2PaymentsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(PtsV2PaymentsPost201ResponseClientReferenceInformation), PtsV2PaymentsPost201ResponseProcessingInformation ProcessingInformation = default(PtsV2PaymentsPost201ResponseProcessingInformation), PtsV2PaymentsPost201ResponseProcessorInformation ProcessorInformation = default(PtsV2PaymentsPost201ResponseProcessorInformation), PtsV2PaymentsPost201ResponseIssuerInformation IssuerInformation = default(PtsV2PaymentsPost201ResponseIssuerInformation), PtsV2PaymentsPost201ResponsePaymentAccountInformation PaymentAccountInformation = default(PtsV2PaymentsPost201ResponsePaymentAccountInformation), PtsV2PaymentsPost201ResponsePaymentInformation PaymentInformation = default(PtsV2PaymentsPost201ResponsePaymentInformation), PtsV2PaymentsPost201ResponsePaymentInsightsInformation PaymentInsightsInformation = default(PtsV2PaymentsPost201ResponsePaymentInsightsInformation), PtsV2PaymentsPost201ResponseOrderInformation OrderInformation = default(PtsV2PaymentsPost201ResponseOrderInformation), PtsV2PaymentsPost201ResponsePointOfSaleInformation PointOfSaleInformation = default(PtsV2PaymentsPost201ResponsePointOfSaleInformation), PtsV2PaymentsPost201ResponseInstallmentInformation InstallmentInformation = default(PtsV2PaymentsPost201ResponseInstallmentInformation), PtsV2PaymentsPost201ResponseTokenInformation TokenInformation = default(PtsV2PaymentsPost201ResponseTokenInformation), PtsV2PaymentsPost201ResponseBuyerInformation BuyerInformation = default(PtsV2PaymentsPost201ResponseBuyerInformation), PtsV2PaymentsPost201ResponseRiskInformation RiskInformation = default(PtsV2PaymentsPost201ResponseRiskInformation), PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation), PtsV2PaymentsPost201ResponseWatchlistScreeningInformation WatchlistScreeningInformation = default(PtsV2PaymentsPost201ResponseWatchlistScreeningInformation)) { this.Links = Links; this.Id = Id; @@ -75,6 +76,7 @@ public partial class PtsV2PaymentsPost201Response : IEquatable @@ -201,6 +203,12 @@ public partial class PtsV2PaymentsPost201Response : IEquatable + /// Gets or Sets WatchlistScreeningInformation + /// + [DataMember(Name="watchlistScreeningInformation", EmitDefaultValue=false)] + public PtsV2PaymentsPost201ResponseWatchlistScreeningInformation WatchlistScreeningInformation { get; set; } + /// /// Returns the string presentation of the object /// @@ -229,6 +237,7 @@ public override string ToString() sb.Append(" BuyerInformation: ").Append(BuyerInformation).Append("\n"); sb.Append(" RiskInformation: ").Append(RiskInformation).Append("\n"); sb.Append(" ConsumerAuthenticationInformation: ").Append(ConsumerAuthenticationInformation).Append("\n"); + sb.Append(" WatchlistScreeningInformation: ").Append(WatchlistScreeningInformation).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -364,6 +373,11 @@ public bool Equals(PtsV2PaymentsPost201Response other) this.ConsumerAuthenticationInformation == other.ConsumerAuthenticationInformation || this.ConsumerAuthenticationInformation != null && this.ConsumerAuthenticationInformation.Equals(other.ConsumerAuthenticationInformation) + ) && + ( + this.WatchlistScreeningInformation == other.WatchlistScreeningInformation || + this.WatchlistScreeningInformation != null && + this.WatchlistScreeningInformation.Equals(other.WatchlistScreeningInformation) ); } @@ -418,6 +432,8 @@ public override int GetHashCode() hash = hash * 59 + this.RiskInformation.GetHashCode(); if (this.ConsumerAuthenticationInformation != null) hash = hash * 59 + this.ConsumerAuthenticationInformation.GetHashCode(); + if (this.WatchlistScreeningInformation != null) + hash = hash * 59 + this.WatchlistScreeningInformation.GetHashCode(); return hash; } } diff --git a/Model/PtsV2PaymentsPost201ResponseErrorInformation.cs b/Model/PtsV2PaymentsPost201ResponseErrorInformation.cs index c8714726..10f6913b 100644 --- a/Model/PtsV2PaymentsPost201ResponseErrorInformation.cs +++ b/Model/PtsV2PaymentsPost201ResponseErrorInformation.cs @@ -33,7 +33,7 @@ public partial class PtsV2PaymentsPost201ResponseErrorInformation : IEquatable< /// /// Initializes a new instance of the class. /// - /// The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - DECLINED_CHECK - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION - ACH_VERIFICATION_FAILED - DECISION_PROFILE_REVIEW - CONSUMER_AUTHENTICATION_REQUIRED - CONSUMER_AUTHENTICATION_FAILED - ALLOWABLE_PIN_RETRIES_EXCEEDED - PROCESSOR_ERROR . + /// The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - DECLINED_CHECK - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION - ACH_VERIFICATION_FAILED - DECISION_PROFILE_REVIEW - CONSUMER_AUTHENTICATION_REQUIRED - CONSUMER_AUTHENTICATION_FAILED - ALLOWABLE_PIN_RETRIES_EXCEEDED - PROCESSOR_ERROR - CUSTOMER_WATCHLIST_MATCH - ADDRESS_COUNTRY_WATCHLIST_MATCH - EMAIL_COUNTRY_WATCHLIST_MATCH - IP_COUNTRY_WATCHLIST_MATCH - INVALID_MERCHANT_CONFIGURATION . /// The detail message related to the status and reason listed above.. /// Details. public PtsV2PaymentsPost201ResponseErrorInformation(string Reason = default(string), string Message = default(string), List Details = default(List)) @@ -44,9 +44,9 @@ public partial class PtsV2PaymentsPost201ResponseErrorInformation : IEquatable< } /// - /// The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - DECLINED_CHECK - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION - ACH_VERIFICATION_FAILED - DECISION_PROFILE_REVIEW - CONSUMER_AUTHENTICATION_REQUIRED - CONSUMER_AUTHENTICATION_FAILED - ALLOWABLE_PIN_RETRIES_EXCEEDED - PROCESSOR_ERROR + /// The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - DECLINED_CHECK - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION - ACH_VERIFICATION_FAILED - DECISION_PROFILE_REVIEW - CONSUMER_AUTHENTICATION_REQUIRED - CONSUMER_AUTHENTICATION_FAILED - ALLOWABLE_PIN_RETRIES_EXCEEDED - PROCESSOR_ERROR - CUSTOMER_WATCHLIST_MATCH - ADDRESS_COUNTRY_WATCHLIST_MATCH - EMAIL_COUNTRY_WATCHLIST_MATCH - IP_COUNTRY_WATCHLIST_MATCH - INVALID_MERCHANT_CONFIGURATION /// - /// The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - DECLINED_CHECK - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION - ACH_VERIFICATION_FAILED - DECISION_PROFILE_REVIEW - CONSUMER_AUTHENTICATION_REQUIRED - CONSUMER_AUTHENTICATION_FAILED - ALLOWABLE_PIN_RETRIES_EXCEEDED - PROCESSOR_ERROR + /// The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - DECLINED_CHECK - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION - ACH_VERIFICATION_FAILED - DECISION_PROFILE_REVIEW - CONSUMER_AUTHENTICATION_REQUIRED - CONSUMER_AUTHENTICATION_FAILED - ALLOWABLE_PIN_RETRIES_EXCEEDED - PROCESSOR_ERROR - CUSTOMER_WATCHLIST_MATCH - ADDRESS_COUNTRY_WATCHLIST_MATCH - EMAIL_COUNTRY_WATCHLIST_MATCH - IP_COUNTRY_WATCHLIST_MATCH - INVALID_MERCHANT_CONFIGURATION [DataMember(Name="reason", EmitDefaultValue=false)] public string Reason { get; set; } diff --git a/Model/PtsV2PaymentsPost201ResponseOrderInformation.cs b/Model/PtsV2PaymentsPost201ResponseOrderInformation.cs index 430e5dd7..b9505336 100644 --- a/Model/PtsV2PaymentsPost201ResponseOrderInformation.cs +++ b/Model/PtsV2PaymentsPost201ResponseOrderInformation.cs @@ -36,11 +36,13 @@ public partial class PtsV2PaymentsPost201ResponseOrderInformation : IEquatable< /// AmountDetails. /// InvoiceDetails. /// RewardPointsDetails. - public PtsV2PaymentsPost201ResponseOrderInformation(PtsV2PaymentsPost201ResponseOrderInformationAmountDetails AmountDetails = default(PtsV2PaymentsPost201ResponseOrderInformationAmountDetails), PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails InvoiceDetails = default(PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails), PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails RewardPointsDetails = default(PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails)) + /// BillTo. + public PtsV2PaymentsPost201ResponseOrderInformation(PtsV2PaymentsPost201ResponseOrderInformationAmountDetails AmountDetails = default(PtsV2PaymentsPost201ResponseOrderInformationAmountDetails), PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails InvoiceDetails = default(PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails), PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails RewardPointsDetails = default(PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails), PtsV2PaymentsPost201ResponseOrderInformationBillTo BillTo = default(PtsV2PaymentsPost201ResponseOrderInformationBillTo)) { this.AmountDetails = AmountDetails; this.InvoiceDetails = InvoiceDetails; this.RewardPointsDetails = RewardPointsDetails; + this.BillTo = BillTo; } /// @@ -61,6 +63,12 @@ public partial class PtsV2PaymentsPost201ResponseOrderInformation : IEquatable< [DataMember(Name="rewardPointsDetails", EmitDefaultValue=false)] public PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails RewardPointsDetails { get; set; } + /// + /// Gets or Sets BillTo + /// + [DataMember(Name="billTo", EmitDefaultValue=false)] + public PtsV2PaymentsPost201ResponseOrderInformationBillTo BillTo { get; set; } + /// /// Returns the string presentation of the object /// @@ -72,6 +80,7 @@ public override string ToString() sb.Append(" AmountDetails: ").Append(AmountDetails).Append("\n"); sb.Append(" InvoiceDetails: ").Append(InvoiceDetails).Append("\n"); sb.Append(" RewardPointsDetails: ").Append(RewardPointsDetails).Append("\n"); + sb.Append(" BillTo: ").Append(BillTo).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -122,6 +131,11 @@ public bool Equals(PtsV2PaymentsPost201ResponseOrderInformation other) this.RewardPointsDetails == other.RewardPointsDetails || this.RewardPointsDetails != null && this.RewardPointsDetails.Equals(other.RewardPointsDetails) + ) && + ( + this.BillTo == other.BillTo || + this.BillTo != null && + this.BillTo.Equals(other.BillTo) ); } @@ -142,6 +156,8 @@ public override int GetHashCode() hash = hash * 59 + this.InvoiceDetails.GetHashCode(); if (this.RewardPointsDetails != null) hash = hash * 59 + this.RewardPointsDetails.GetHashCode(); + if (this.BillTo != null) + hash = hash * 59 + this.BillTo.GetHashCode(); return hash; } } diff --git a/Model/PtsV2PaymentsPost201ResponseOrderInformationBillTo.cs b/Model/PtsV2PaymentsPost201ResponseOrderInformationBillTo.cs new file mode 100644 index 00000000..56acb6b0 --- /dev/null +++ b/Model/PtsV2PaymentsPost201ResponseOrderInformationBillTo.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// PtsV2PaymentsPost201ResponseOrderInformationBillTo + /// + [DataContract] + public partial class PtsV2PaymentsPost201ResponseOrderInformationBillTo : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// #### Visa Platform Connect Contains one of the following values that will identify the phone number result code in the account verification response message: 'VERIFIED' - Customer verified 'UNVERIFIED' - Customer not verified 'FAILED' - Customer verification failed . + /// #### Visa Platform Connect Contains one of the following values that will identify the phone number result code in the account verification response message: 'VERIFIED' - Customer verified 'UNVERIFIED' - Customer not verified 'FAILED' - Customer verification failed . + public PtsV2PaymentsPost201ResponseOrderInformationBillTo(string AlternatePhoneNumberVerificationStatus = default(string), string AlternateEmailVerificationStatus = default(string)) + { + this.AlternatePhoneNumberVerificationStatus = AlternatePhoneNumberVerificationStatus; + this.AlternateEmailVerificationStatus = AlternateEmailVerificationStatus; + } + + /// + /// #### Visa Platform Connect Contains one of the following values that will identify the phone number result code in the account verification response message: 'VERIFIED' - Customer verified 'UNVERIFIED' - Customer not verified 'FAILED' - Customer verification failed + /// + /// #### Visa Platform Connect Contains one of the following values that will identify the phone number result code in the account verification response message: 'VERIFIED' - Customer verified 'UNVERIFIED' - Customer not verified 'FAILED' - Customer verification failed + [DataMember(Name="alternatePhoneNumberVerificationStatus", EmitDefaultValue=false)] + public string AlternatePhoneNumberVerificationStatus { get; set; } + + /// + /// #### Visa Platform Connect Contains one of the following values that will identify the phone number result code in the account verification response message: 'VERIFIED' - Customer verified 'UNVERIFIED' - Customer not verified 'FAILED' - Customer verification failed + /// + /// #### Visa Platform Connect Contains one of the following values that will identify the phone number result code in the account verification response message: 'VERIFIED' - Customer verified 'UNVERIFIED' - Customer not verified 'FAILED' - Customer verification failed + [DataMember(Name="alternateEmailVerificationStatus", EmitDefaultValue=false)] + public string AlternateEmailVerificationStatus { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PtsV2PaymentsPost201ResponseOrderInformationBillTo {\n"); + sb.Append(" AlternatePhoneNumberVerificationStatus: ").Append(AlternatePhoneNumberVerificationStatus).Append("\n"); + sb.Append(" AlternateEmailVerificationStatus: ").Append(AlternateEmailVerificationStatus).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as PtsV2PaymentsPost201ResponseOrderInformationBillTo); + } + + /// + /// Returns true if PtsV2PaymentsPost201ResponseOrderInformationBillTo instances are equal + /// + /// Instance of PtsV2PaymentsPost201ResponseOrderInformationBillTo to be compared + /// Boolean + public bool Equals(PtsV2PaymentsPost201ResponseOrderInformationBillTo other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AlternatePhoneNumberVerificationStatus == other.AlternatePhoneNumberVerificationStatus || + this.AlternatePhoneNumberVerificationStatus != null && + this.AlternatePhoneNumberVerificationStatus.Equals(other.AlternatePhoneNumberVerificationStatus) + ) && + ( + this.AlternateEmailVerificationStatus == other.AlternateEmailVerificationStatus || + this.AlternateEmailVerificationStatus != null && + this.AlternateEmailVerificationStatus.Equals(other.AlternateEmailVerificationStatus) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.AlternatePhoneNumberVerificationStatus != null) + hash = hash * 59 + this.AlternatePhoneNumberVerificationStatus.GetHashCode(); + if (this.AlternateEmailVerificationStatus != null) + hash = hash * 59 + this.AlternateEmailVerificationStatus.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.cs b/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.cs index f8a5c374..8d3cd91e 100644 --- a/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.cs +++ b/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.cs @@ -36,11 +36,12 @@ public partial class PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard /// First six digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For details, see `token_prefix` field description in [Google Pay Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Google_Pay_SCMP_API/html/) . /// Last four digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For details, see `token_suffix` field description in [Google Pay Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Google_Pay_SCMP_API/html/) . /// Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International . - /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. . + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. . /// One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) . /// One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) . /// Value that identifies your business and indicates that the cardholder’s account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider’s database. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. #### PIN debit Optional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. . - public PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard(string Prefix = default(string), string Suffix = default(string), string Type = default(string), string AssuranceLevel = default(string), string ExpirationMonth = default(string), string ExpirationYear = default(string), string RequestorId = default(string)) + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect** . + public PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard(string Prefix = default(string), string Suffix = default(string), string Type = default(string), string AssuranceLevel = default(string), string ExpirationMonth = default(string), string ExpirationYear = default(string), string RequestorId = default(string), string AssuranceMethod = default(string)) { this.Prefix = Prefix; this.Suffix = Suffix; @@ -49,6 +50,7 @@ public partial class PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard this.ExpirationMonth = ExpirationMonth; this.ExpirationYear = ExpirationYear; this.RequestorId = RequestorId; + this.AssuranceMethod = AssuranceMethod; } /// @@ -73,9 +75,9 @@ public partial class PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard public string Type { get; set; } /// - /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. /// - /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. [DataMember(Name="assuranceLevel", EmitDefaultValue=false)] public string AssuranceLevel { get; set; } @@ -100,6 +102,13 @@ public partial class PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard [DataMember(Name="requestorId", EmitDefaultValue=false)] public string RequestorId { get; set; } + /// + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect** + /// + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect** + [DataMember(Name="assuranceMethod", EmitDefaultValue=false)] + public string AssuranceMethod { get; set; } + /// /// Returns the string presentation of the object /// @@ -115,6 +124,7 @@ public override string ToString() sb.Append(" ExpirationMonth: ").Append(ExpirationMonth).Append("\n"); sb.Append(" ExpirationYear: ").Append(ExpirationYear).Append("\n"); sb.Append(" RequestorId: ").Append(RequestorId).Append("\n"); + sb.Append(" AssuranceMethod: ").Append(AssuranceMethod).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -185,6 +195,11 @@ public bool Equals(PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard o this.RequestorId == other.RequestorId || this.RequestorId != null && this.RequestorId.Equals(other.RequestorId) + ) && + ( + this.AssuranceMethod == other.AssuranceMethod || + this.AssuranceMethod != null && + this.AssuranceMethod.Equals(other.AssuranceMethod) ); } @@ -213,6 +228,8 @@ public override int GetHashCode() hash = hash * 59 + this.ExpirationYear.GetHashCode(); if (this.RequestorId != null) hash = hash * 59 + this.RequestorId.GetHashCode(); + if (this.AssuranceMethod != null) + hash = hash * 59 + this.AssuranceMethod.GetHashCode(); return hash; } } diff --git a/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.cs b/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.cs index 49687d38..320aab74 100644 --- a/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.cs +++ b/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.cs @@ -43,9 +43,15 @@ public partial class PtsV2PaymentsPost201ResponseProcessorInformationElectronicV /// Raw Electronic Verification response code from the processor for the customer’s postal code.. /// Mapped Electronic Verification response code for the customer’s street address. For details, see `auth_ev_street` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . /// Raw Electronic Verification response code from the processor for the customer’s street address.. - /// Mapped Electronic Verification response code for the customer’s name. . - /// Raw Electronic Verification response code from the processor for the customer’s name. . - public PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults(string Code = default(string), string CodeRaw = default(string), string Email = default(string), string EmailRaw = default(string), string PhoneNumber = default(string), string PhoneNumberRaw = default(string), string PostalCode = default(string), string PostalCodeRaw = default(string), string Street = default(string), string StreetRaw = default(string), string Name = default(string), string NameRaw = default(string)) + /// #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match . + /// #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match . + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s first name. Valid values : '01' Match '50' Partial Match '99' No Match . + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s first name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match . + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s middle name. Valid values : '01' Match '50' Partial Match '99' No Match . + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s middle name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match . + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s last name. Valid values : '01' Match '50' Partial Match '99' No Match . + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s last name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match . + public PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults(string Code = default(string), string CodeRaw = default(string), string Email = default(string), string EmailRaw = default(string), string PhoneNumber = default(string), string PhoneNumberRaw = default(string), string PostalCode = default(string), string PostalCodeRaw = default(string), string Street = default(string), string StreetRaw = default(string), string Name = default(string), string NameRaw = default(string), string FirstNameRaw = default(string), string FirstName = default(string), string MiddleNameRaw = default(string), string MiddleName = default(string), string LastNameRaw = default(string), string LastName = default(string)) { this.Code = Code; this.CodeRaw = CodeRaw; @@ -59,6 +65,12 @@ public partial class PtsV2PaymentsPost201ResponseProcessorInformationElectronicV this.StreetRaw = StreetRaw; this.Name = Name; this.NameRaw = NameRaw; + this.FirstNameRaw = FirstNameRaw; + this.FirstName = FirstName; + this.MiddleNameRaw = MiddleNameRaw; + this.MiddleName = MiddleName; + this.LastNameRaw = LastNameRaw; + this.LastName = LastName; } /// @@ -132,19 +144,61 @@ public partial class PtsV2PaymentsPost201ResponseProcessorInformationElectronicV public string StreetRaw { get; set; } /// - /// Mapped Electronic Verification response code for the customer’s name. + /// #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match /// - /// Mapped Electronic Verification response code for the customer’s name. + /// #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// - /// Raw Electronic Verification response code from the processor for the customer’s name. + /// #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match /// - /// Raw Electronic Verification response code from the processor for the customer’s name. + /// #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match [DataMember(Name="nameRaw", EmitDefaultValue=false)] public string NameRaw { get; set; } + /// + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s first name. Valid values : '01' Match '50' Partial Match '99' No Match + /// + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s first name. Valid values : '01' Match '50' Partial Match '99' No Match + [DataMember(Name="firstNameRaw", EmitDefaultValue=false)] + public string FirstNameRaw { get; set; } + + /// + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s first name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match + /// + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s first name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s middle name. Valid values : '01' Match '50' Partial Match '99' No Match + /// + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s middle name. Valid values : '01' Match '50' Partial Match '99' No Match + [DataMember(Name="middleNameRaw", EmitDefaultValue=false)] + public string MiddleNameRaw { get; set; } + + /// + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s middle name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match + /// + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s middle name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match + [DataMember(Name="middleName", EmitDefaultValue=false)] + public string MiddleName { get; set; } + + /// + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s last name. Valid values : '01' Match '50' Partial Match '99' No Match + /// + /// #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s last name. Valid values : '01' Match '50' Partial Match '99' No Match + [DataMember(Name="lastNameRaw", EmitDefaultValue=false)] + public string LastNameRaw { get; set; } + + /// + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s last name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match + /// + /// #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s last name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + /// /// Returns the string presentation of the object /// @@ -165,6 +219,12 @@ public override string ToString() sb.Append(" StreetRaw: ").Append(StreetRaw).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" NameRaw: ").Append(NameRaw).Append("\n"); + sb.Append(" FirstNameRaw: ").Append(FirstNameRaw).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" MiddleNameRaw: ").Append(MiddleNameRaw).Append("\n"); + sb.Append(" MiddleName: ").Append(MiddleName).Append("\n"); + sb.Append(" LastNameRaw: ").Append(LastNameRaw).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -260,6 +320,36 @@ public bool Equals(PtsV2PaymentsPost201ResponseProcessorInformationElectronicVer this.NameRaw == other.NameRaw || this.NameRaw != null && this.NameRaw.Equals(other.NameRaw) + ) && + ( + this.FirstNameRaw == other.FirstNameRaw || + this.FirstNameRaw != null && + this.FirstNameRaw.Equals(other.FirstNameRaw) + ) && + ( + this.FirstName == other.FirstName || + this.FirstName != null && + this.FirstName.Equals(other.FirstName) + ) && + ( + this.MiddleNameRaw == other.MiddleNameRaw || + this.MiddleNameRaw != null && + this.MiddleNameRaw.Equals(other.MiddleNameRaw) + ) && + ( + this.MiddleName == other.MiddleName || + this.MiddleName != null && + this.MiddleName.Equals(other.MiddleName) + ) && + ( + this.LastNameRaw == other.LastNameRaw || + this.LastNameRaw != null && + this.LastNameRaw.Equals(other.LastNameRaw) + ) && + ( + this.LastName == other.LastName || + this.LastName != null && + this.LastName.Equals(other.LastName) ); } @@ -298,6 +388,18 @@ public override int GetHashCode() hash = hash * 59 + this.Name.GetHashCode(); if (this.NameRaw != null) hash = hash * 59 + this.NameRaw.GetHashCode(); + if (this.FirstNameRaw != null) + hash = hash * 59 + this.FirstNameRaw.GetHashCode(); + if (this.FirstName != null) + hash = hash * 59 + this.FirstName.GetHashCode(); + if (this.MiddleNameRaw != null) + hash = hash * 59 + this.MiddleNameRaw.GetHashCode(); + if (this.MiddleName != null) + hash = hash * 59 + this.MiddleName.GetHashCode(); + if (this.LastNameRaw != null) + hash = hash * 59 + this.LastNameRaw.GetHashCode(); + if (this.LastName != null) + hash = hash * 59 + this.LastName.GetHashCode(); return hash; } } diff --git a/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.cs b/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.cs similarity index 84% rename from Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.cs rename to Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.cs index cefd0b3f..36b9363d 100644 --- a/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.cs +++ b/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.cs @@ -25,18 +25,18 @@ namespace CyberSource.Model { /// - /// RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation + /// PtsV2PaymentsPost201ResponseWatchlistScreeningInformation /// [DataContract] - public partial class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation : IEquatable, IValidatableObject + public partial class PtsV2PaymentsPost201ResponseWatchlistScreeningInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Likelihood that the country associated with the customer’s IP address was identified correctly. Returns a value from 1–100, where 100 indicates the highest likelihood. If the country cannot be determined, the value is –1. . /// Returned when the Denied Parties List check (first two codes) or the export service (all others) would have declined the transaction. This field can contain one or more of these values: - `MATCH-DPC`: Denied Parties List match. - `UNV-DPC`: Denied Parties List unavailable. - `MATCH-BCO`: Billing country restricted. - `MATCH-EMCO`: Email country restricted. - `MATCH-HCO`: Host name country restricted. - `MATCH-IPCO`: IP country restricted. - `MATCH-SCO`: Shipping country restricted. . /// WatchList. - public RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation(int? IpCountryConfidence = default(int?), List InfoCodes = default(List), RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList WatchList = default(RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList)) + public PtsV2PaymentsPost201ResponseWatchlistScreeningInformation(int? IpCountryConfidence = default(int?), List InfoCodes = default(List), PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList WatchList = default(PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList)) { this.IpCountryConfidence = IpCountryConfidence; this.InfoCodes = InfoCodes; @@ -61,7 +61,7 @@ public partial class RiskV1ExportComplianceInquiriesPost201ResponseExportComplia /// Gets or Sets WatchList /// [DataMember(Name="watchList", EmitDefaultValue=false)] - public RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList WatchList { get; set; } + public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList WatchList { get; set; } /// /// Returns the string presentation of the object @@ -70,7 +70,7 @@ public partial class RiskV1ExportComplianceInquiriesPost201ResponseExportComplia public override string ToString() { var sb = new StringBuilder(); - sb.Append("class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation {\n"); + sb.Append("class PtsV2PaymentsPost201ResponseWatchlistScreeningInformation {\n"); sb.Append(" IpCountryConfidence: ").Append(IpCountryConfidence).Append("\n"); sb.Append(" InfoCodes: ").Append(InfoCodes).Append("\n"); sb.Append(" WatchList: ").Append(WatchList).Append("\n"); @@ -95,15 +95,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation); + return this.Equals(obj as PtsV2PaymentsPost201ResponseWatchlistScreeningInformation); } /// - /// Returns true if RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation instances are equal + /// Returns true if PtsV2PaymentsPost201ResponseWatchlistScreeningInformation instances are equal /// - /// Instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation to be compared + /// Instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformation to be compared /// Boolean - public bool Equals(RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation other) + public bool Equals(PtsV2PaymentsPost201ResponseWatchlistScreeningInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.cs b/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.cs similarity index 69% rename from Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.cs rename to Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.cs index fcb97582..8ab005cb 100644 --- a/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.cs +++ b/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList + /// PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList /// [DataContract] - public partial class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList : IEquatable, IValidatableObject + public partial class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Matches. - public RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList(List Matches = default(List)) + public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList(List Matches = default(List)) { this.Matches = Matches; } @@ -43,7 +43,7 @@ public partial class RiskV1ExportComplianceInquiriesPost201ResponseExportComplia /// Gets or Sets Matches /// [DataMember(Name="matches", EmitDefaultValue=false)] - public List Matches { get; set; } + public List Matches { get; set; } /// /// Returns the string presentation of the object @@ -52,7 +52,7 @@ public partial class RiskV1ExportComplianceInquiriesPost201ResponseExportComplia public override string ToString() { var sb = new StringBuilder(); - sb.Append("class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList {\n"); + sb.Append("class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList {\n"); sb.Append(" Matches: ").Append(Matches).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList); + return this.Equals(obj as PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList); } /// - /// Returns true if RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList instances are equal + /// Returns true if PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList instances are equal /// - /// Instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList to be compared + /// Instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList to be compared /// Boolean - public bool Equals(RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList other) + public bool Equals(PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.cs b/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.cs similarity index 82% rename from Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.cs rename to Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.cs index a8d0086d..eaa62109 100644 --- a/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.cs +++ b/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.cs @@ -25,19 +25,19 @@ namespace CyberSource.Model { /// - /// RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches + /// PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches /// [DataContract] - public partial class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches : IEquatable, IValidatableObject + public partial class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Address found on the list specified in export_matchN_list for the entity (name and address) in the request. . /// List on which the first Denied Parties List check match appears. For a list of codes, see \"Denied Parties List Check Codes,\" page 56. . /// Name found on the list specified in export_matchN_list for the entity (name and address) in the request. . /// Sub-lists matched by the order data. List members are separated by carets (^).. - public RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches(List Addresses = default(List), string SanctionList = default(string), List Aliases = default(List), List Programs = default(List)) + public PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches(List Addresses = default(List), string SanctionList = default(string), List Aliases = default(List), List Programs = default(List)) { this.Addresses = Addresses; this.SanctionList = SanctionList; @@ -80,7 +80,7 @@ public partial class RiskV1ExportComplianceInquiriesPost201ResponseExportComplia public override string ToString() { var sb = new StringBuilder(); - sb.Append("class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches {\n"); + sb.Append("class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches {\n"); sb.Append(" Addresses: ").Append(Addresses).Append("\n"); sb.Append(" SanctionList: ").Append(SanctionList).Append("\n"); sb.Append(" Aliases: ").Append(Aliases).Append("\n"); @@ -106,15 +106,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches); + return this.Equals(obj as PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches); } /// - /// Returns true if RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches instances are equal + /// Returns true if PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches instances are equal /// - /// Instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches to be compared + /// Instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches to be compared /// Boolean - public bool Equals(RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches other) + public bool Equals(PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/Ptsv2paymentsMerchantInformation.cs b/Model/Ptsv2paymentsMerchantInformation.cs index 5ddecd82..c397446f 100644 --- a/Model/Ptsv2paymentsMerchantInformation.cs +++ b/Model/Ptsv2paymentsMerchantInformation.cs @@ -47,8 +47,10 @@ public partial class Ptsv2paymentsMerchantInformation : IEquatablecustomer would be redirected to this url based on the decision of the transaction. /// customer would be redirected to this url based on the decision of the transaction. /// URL for displaying payment results to the consumer (notifications) after the transaction is processed. Usually this URL belongs to merchant and its behavior is defined by merchant . + /// #### Visa Platform Connect This field may be used for transactions on accounts issued under co-branding agreements when one of the co-branding partners. . + /// ServiceLocation. /// Use this field only if you are requesting payment with Payer Authentication service together. Your company’s name as you want it to appear to the customer in the issuing bank’s authentication form. This value overrides the value specified by your merchant bank. . - public Ptsv2paymentsMerchantInformation(Ptsv2paymentsMerchantInformationMerchantDescriptor MerchantDescriptor = default(Ptsv2paymentsMerchantInformationMerchantDescriptor), string DomainName = default(string), string SalesOrganizationId = default(string), int? CategoryCode = default(int?), int? CategoryCodeDomestic = default(int?), string TaxId = default(string), string VatRegistrationNumber = default(string), string CardAcceptorReferenceNumber = default(string), string TransactionLocalDateTime = default(string), Ptsv2paymentsMerchantInformationServiceFeeDescriptor ServiceFeeDescriptor = default(Ptsv2paymentsMerchantInformationServiceFeeDescriptor), string CancelUrl = default(string), string SuccessUrl = default(string), string FailureUrl = default(string), string ReturnUrl = default(string), string MerchantName = default(string)) + public Ptsv2paymentsMerchantInformation(Ptsv2paymentsMerchantInformationMerchantDescriptor MerchantDescriptor = default(Ptsv2paymentsMerchantInformationMerchantDescriptor), string DomainName = default(string), string SalesOrganizationId = default(string), int? CategoryCode = default(int?), int? CategoryCodeDomestic = default(int?), string TaxId = default(string), string VatRegistrationNumber = default(string), string CardAcceptorReferenceNumber = default(string), string TransactionLocalDateTime = default(string), Ptsv2paymentsMerchantInformationServiceFeeDescriptor ServiceFeeDescriptor = default(Ptsv2paymentsMerchantInformationServiceFeeDescriptor), string CancelUrl = default(string), string SuccessUrl = default(string), string FailureUrl = default(string), string ReturnUrl = default(string), string PartnerIdCode = default(string), Ptsv2paymentsMerchantInformationServiceLocation ServiceLocation = default(Ptsv2paymentsMerchantInformationServiceLocation), string MerchantName = default(string)) { this.MerchantDescriptor = MerchantDescriptor; this.DomainName = DomainName; @@ -64,6 +66,8 @@ public partial class Ptsv2paymentsMerchantInformation : IEquatable + /// #### Visa Platform Connect This field may be used for transactions on accounts issued under co-branding agreements when one of the co-branding partners. + /// + /// #### Visa Platform Connect This field may be used for transactions on accounts issued under co-branding agreements when one of the co-branding partners. + [DataMember(Name="partnerIdCode", EmitDefaultValue=false)] + public string PartnerIdCode { get; set; } + + /// + /// Gets or Sets ServiceLocation + /// + [DataMember(Name="serviceLocation", EmitDefaultValue=false)] + public Ptsv2paymentsMerchantInformationServiceLocation ServiceLocation { get; set; } + /// /// Use this field only if you are requesting payment with Payer Authentication service together. Your company’s name as you want it to appear to the customer in the issuing bank’s authentication form. This value overrides the value specified by your merchant bank. /// @@ -192,6 +209,8 @@ public override string ToString() sb.Append(" SuccessUrl: ").Append(SuccessUrl).Append("\n"); sb.Append(" FailureUrl: ").Append(FailureUrl).Append("\n"); sb.Append(" ReturnUrl: ").Append(ReturnUrl).Append("\n"); + sb.Append(" PartnerIdCode: ").Append(PartnerIdCode).Append("\n"); + sb.Append(" ServiceLocation: ").Append(ServiceLocation).Append("\n"); sb.Append(" MerchantName: ").Append(MerchantName).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -299,6 +318,16 @@ public bool Equals(Ptsv2paymentsMerchantInformation other) this.ReturnUrl != null && this.ReturnUrl.Equals(other.ReturnUrl) ) && + ( + this.PartnerIdCode == other.PartnerIdCode || + this.PartnerIdCode != null && + this.PartnerIdCode.Equals(other.PartnerIdCode) + ) && + ( + this.ServiceLocation == other.ServiceLocation || + this.ServiceLocation != null && + this.ServiceLocation.Equals(other.ServiceLocation) + ) && ( this.MerchantName == other.MerchantName || this.MerchantName != null && @@ -345,6 +374,10 @@ public override int GetHashCode() hash = hash * 59 + this.FailureUrl.GetHashCode(); if (this.ReturnUrl != null) hash = hash * 59 + this.ReturnUrl.GetHashCode(); + if (this.PartnerIdCode != null) + hash = hash * 59 + this.PartnerIdCode.GetHashCode(); + if (this.ServiceLocation != null) + hash = hash * 59 + this.ServiceLocation.GetHashCode(); if (this.MerchantName != null) hash = hash * 59 + this.MerchantName.GetHashCode(); return hash; diff --git a/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.cs b/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.cs index 50fa61c8..ce657adf 100644 --- a/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.cs +++ b/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.cs @@ -44,7 +44,8 @@ public partial class Ptsv2paymentsMerchantInformationMerchantDescriptor : IEqua /// Merchant phone as contact information for CNP transactions . /// Address of company's website provided by merchant . /// #### Visa Platform Connect This field will indicate merchant country of origin . - public Ptsv2paymentsMerchantInformationMerchantDescriptor(string Name = default(string), string AlternateName = default(string), string Contact = default(string), string Address1 = default(string), string Locality = default(string), string Country = default(string), string PostalCode = default(string), string AdministrativeArea = default(string), string Phone = default(string), string Url = default(string), string CountryOfOrigin = default(string)) + /// #### Visa Platform Connect Indicates customer service phone number of Merchant. . + public Ptsv2paymentsMerchantInformationMerchantDescriptor(string Name = default(string), string AlternateName = default(string), string Contact = default(string), string Address1 = default(string), string Locality = default(string), string Country = default(string), string PostalCode = default(string), string AdministrativeArea = default(string), string Phone = default(string), string Url = default(string), string CountryOfOrigin = default(string), string CustomerServicePhoneNumber = default(string)) { this.Name = Name; this.AlternateName = AlternateName; @@ -57,6 +58,7 @@ public partial class Ptsv2paymentsMerchantInformationMerchantDescriptor : IEqua this.Phone = Phone; this.Url = Url; this.CountryOfOrigin = CountryOfOrigin; + this.CustomerServicePhoneNumber = CustomerServicePhoneNumber; } /// @@ -136,6 +138,13 @@ public partial class Ptsv2paymentsMerchantInformationMerchantDescriptor : IEqua [DataMember(Name="countryOfOrigin", EmitDefaultValue=false)] public string CountryOfOrigin { get; set; } + /// + /// #### Visa Platform Connect Indicates customer service phone number of Merchant. + /// + /// #### Visa Platform Connect Indicates customer service phone number of Merchant. + [DataMember(Name="customerServicePhoneNumber", EmitDefaultValue=false)] + public string CustomerServicePhoneNumber { get; set; } + /// /// Returns the string presentation of the object /// @@ -155,6 +164,7 @@ public override string ToString() sb.Append(" Phone: ").Append(Phone).Append("\n"); sb.Append(" Url: ").Append(Url).Append("\n"); sb.Append(" CountryOfOrigin: ").Append(CountryOfOrigin).Append("\n"); + sb.Append(" CustomerServicePhoneNumber: ").Append(CustomerServicePhoneNumber).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -245,6 +255,11 @@ public bool Equals(Ptsv2paymentsMerchantInformationMerchantDescriptor other) this.CountryOfOrigin == other.CountryOfOrigin || this.CountryOfOrigin != null && this.CountryOfOrigin.Equals(other.CountryOfOrigin) + ) && + ( + this.CustomerServicePhoneNumber == other.CustomerServicePhoneNumber || + this.CustomerServicePhoneNumber != null && + this.CustomerServicePhoneNumber.Equals(other.CustomerServicePhoneNumber) ); } @@ -281,6 +296,8 @@ public override int GetHashCode() hash = hash * 59 + this.Url.GetHashCode(); if (this.CountryOfOrigin != null) hash = hash * 59 + this.CountryOfOrigin.GetHashCode(); + if (this.CustomerServicePhoneNumber != null) + hash = hash * 59 + this.CustomerServicePhoneNumber.GetHashCode(); return hash; } } diff --git a/Model/Ptsv2paymentsMerchantInformationServiceLocation.cs b/Model/Ptsv2paymentsMerchantInformationServiceLocation.cs new file mode 100644 index 00000000..b44374fc --- /dev/null +++ b/Model/Ptsv2paymentsMerchantInformationServiceLocation.cs @@ -0,0 +1,180 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Ptsv2paymentsMerchantInformationServiceLocation + /// + [DataContract] + public partial class Ptsv2paymentsMerchantInformationServiceLocation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// #### Visa Platform Connect Merchant’s service location city name. When merchant provides services from a location other than the location identified as merchant location. . + /// #### Visa Platform Connect Merchant’s service location country subdivision code. When merchant provides services from a location other than the location identified as merchant location. . + /// #### Visa Platform Connect Merchant’s service location country code. When merchant provides services from a location other than the location identified as merchant location. . + /// #### Visa Platform Connect Merchant’s service location postal code. When merchant provides services from a location other than the location identified as merchant location. . + public Ptsv2paymentsMerchantInformationServiceLocation(string Locality = default(string), string CountrySubdivisionCode = default(string), string CountryCode = default(string), string PostalCode = default(string)) + { + this.Locality = Locality; + this.CountrySubdivisionCode = CountrySubdivisionCode; + this.CountryCode = CountryCode; + this.PostalCode = PostalCode; + } + + /// + /// #### Visa Platform Connect Merchant’s service location city name. When merchant provides services from a location other than the location identified as merchant location. + /// + /// #### Visa Platform Connect Merchant’s service location city name. When merchant provides services from a location other than the location identified as merchant location. + [DataMember(Name="locality", EmitDefaultValue=false)] + public string Locality { get; set; } + + /// + /// #### Visa Platform Connect Merchant’s service location country subdivision code. When merchant provides services from a location other than the location identified as merchant location. + /// + /// #### Visa Platform Connect Merchant’s service location country subdivision code. When merchant provides services from a location other than the location identified as merchant location. + [DataMember(Name="countrySubdivisionCode", EmitDefaultValue=false)] + public string CountrySubdivisionCode { get; set; } + + /// + /// #### Visa Platform Connect Merchant’s service location country code. When merchant provides services from a location other than the location identified as merchant location. + /// + /// #### Visa Platform Connect Merchant’s service location country code. When merchant provides services from a location other than the location identified as merchant location. + [DataMember(Name="countryCode", EmitDefaultValue=false)] + public string CountryCode { get; set; } + + /// + /// #### Visa Platform Connect Merchant’s service location postal code. When merchant provides services from a location other than the location identified as merchant location. + /// + /// #### Visa Platform Connect Merchant’s service location postal code. When merchant provides services from a location other than the location identified as merchant location. + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Ptsv2paymentsMerchantInformationServiceLocation {\n"); + sb.Append(" Locality: ").Append(Locality).Append("\n"); + sb.Append(" CountrySubdivisionCode: ").Append(CountrySubdivisionCode).Append("\n"); + sb.Append(" CountryCode: ").Append(CountryCode).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Ptsv2paymentsMerchantInformationServiceLocation); + } + + /// + /// Returns true if Ptsv2paymentsMerchantInformationServiceLocation instances are equal + /// + /// Instance of Ptsv2paymentsMerchantInformationServiceLocation to be compared + /// Boolean + public bool Equals(Ptsv2paymentsMerchantInformationServiceLocation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Locality == other.Locality || + this.Locality != null && + this.Locality.Equals(other.Locality) + ) && + ( + this.CountrySubdivisionCode == other.CountrySubdivisionCode || + this.CountrySubdivisionCode != null && + this.CountrySubdivisionCode.Equals(other.CountrySubdivisionCode) + ) && + ( + this.CountryCode == other.CountryCode || + this.CountryCode != null && + this.CountryCode.Equals(other.CountryCode) + ) && + ( + this.PostalCode == other.PostalCode || + this.PostalCode != null && + this.PostalCode.Equals(other.PostalCode) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Locality != null) + hash = hash * 59 + this.Locality.GetHashCode(); + if (this.CountrySubdivisionCode != null) + hash = hash * 59 + this.CountrySubdivisionCode.GetHashCode(); + if (this.CountryCode != null) + hash = hash * 59 + this.CountryCode.GetHashCode(); + if (this.PostalCode != null) + hash = hash * 59 + this.PostalCode.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Ptsv2paymentsOrderInformationBillTo.cs b/Model/Ptsv2paymentsOrderInformationBillTo.cs index e5f0b153..ac4069af 100644 --- a/Model/Ptsv2paymentsOrderInformationBillTo.cs +++ b/Model/Ptsv2paymentsOrderInformationBillTo.cs @@ -55,7 +55,9 @@ public partial class Ptsv2paymentsOrderInformationBillTo : IEquatableCustomer’s phone number. It is recommended that you include the country code when the order is from outside the U.S. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### CyberSource through VisaNet Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. #### For Payouts: This field may be sent only for FDC Compass. #### OmniPay Direct Optional field. #### SIX Optional field. #### TSYS Acquiring Solutions Optional field. #### Worldpay VAP Optional field. #### All other processors Not used. . /// Customer's phone number type. #### For Payouts: This field may be sent only for FDC Compass. Possible Values: * day * home * night * work . /// Whether buyer has verified their identity. Used in case of PayPal transactions. Possible Values: * VERIFIED * UNVERIFIED . - public Ptsv2paymentsOrderInformationBillTo(string FirstName = default(string), string LastName = default(string), string MiddleName = default(string), string NameSuffix = default(string), string Title = default(string), Ptsv2paymentsOrderInformationBillToCompany Company = default(Ptsv2paymentsOrderInformationBillToCompany), string Address1 = default(string), string Address2 = default(string), string Address3 = default(string), string Address4 = default(string), string Locality = default(string), string AdministrativeArea = default(string), string PostalCode = default(string), string County = default(string), string Country = default(string), string District = default(string), string BuildingNumber = default(string), string Email = default(string), string EmailDomain = default(string), string PhoneNumber = default(string), string PhoneType = default(string), string VerificationStatus = default(string)) + /// #### Visa Platform Connect contains customer’s alternate phone number. . + /// #### Visa Platform Connect contains customer’s alternate email address. . + public Ptsv2paymentsOrderInformationBillTo(string FirstName = default(string), string LastName = default(string), string MiddleName = default(string), string NameSuffix = default(string), string Title = default(string), Ptsv2paymentsOrderInformationBillToCompany Company = default(Ptsv2paymentsOrderInformationBillToCompany), string Address1 = default(string), string Address2 = default(string), string Address3 = default(string), string Address4 = default(string), string Locality = default(string), string AdministrativeArea = default(string), string PostalCode = default(string), string County = default(string), string Country = default(string), string District = default(string), string BuildingNumber = default(string), string Email = default(string), string EmailDomain = default(string), string PhoneNumber = default(string), string PhoneType = default(string), string VerificationStatus = default(string), string AlternatePhoneNumber = default(string), string AlternateEmail = default(string)) { this.FirstName = FirstName; this.LastName = LastName; @@ -79,6 +81,8 @@ public partial class Ptsv2paymentsOrderInformationBillTo : IEquatable @@ -234,6 +238,20 @@ public partial class Ptsv2paymentsOrderInformationBillTo : IEquatable + /// #### Visa Platform Connect contains customer’s alternate phone number. + /// + /// #### Visa Platform Connect contains customer’s alternate phone number. + [DataMember(Name="alternatePhoneNumber", EmitDefaultValue=false)] + public string AlternatePhoneNumber { get; set; } + + /// + /// #### Visa Platform Connect contains customer’s alternate email address. + /// + /// #### Visa Platform Connect contains customer’s alternate email address. + [DataMember(Name="alternateEmail", EmitDefaultValue=false)] + public string AlternateEmail { get; set; } + /// /// Returns the string presentation of the object /// @@ -264,6 +282,8 @@ public override string ToString() sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); sb.Append(" PhoneType: ").Append(PhoneType).Append("\n"); sb.Append(" VerificationStatus: ").Append(VerificationStatus).Append("\n"); + sb.Append(" AlternatePhoneNumber: ").Append(AlternatePhoneNumber).Append("\n"); + sb.Append(" AlternateEmail: ").Append(AlternateEmail).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -409,6 +429,16 @@ public bool Equals(Ptsv2paymentsOrderInformationBillTo other) this.VerificationStatus == other.VerificationStatus || this.VerificationStatus != null && this.VerificationStatus.Equals(other.VerificationStatus) + ) && + ( + this.AlternatePhoneNumber == other.AlternatePhoneNumber || + this.AlternatePhoneNumber != null && + this.AlternatePhoneNumber.Equals(other.AlternatePhoneNumber) + ) && + ( + this.AlternateEmail == other.AlternateEmail || + this.AlternateEmail != null && + this.AlternateEmail.Equals(other.AlternateEmail) ); } @@ -467,6 +497,10 @@ public override int GetHashCode() hash = hash * 59 + this.PhoneType.GetHashCode(); if (this.VerificationStatus != null) hash = hash * 59 + this.VerificationStatus.GetHashCode(); + if (this.AlternatePhoneNumber != null) + hash = hash * 59 + this.AlternatePhoneNumber.GetHashCode(); + if (this.AlternateEmail != null) + hash = hash * 59 + this.AlternateEmail.GetHashCode(); return hash; } } diff --git a/Model/Ptsv2paymentsOrderInformationLineItems.cs b/Model/Ptsv2paymentsOrderInformationLineItems.cs index 45c36fa5..b158a393 100644 --- a/Model/Ptsv2paymentsOrderInformationLineItems.cs +++ b/Model/Ptsv2paymentsOrderInformationLineItems.cs @@ -64,7 +64,9 @@ public partial class Ptsv2paymentsOrderInformationLineItems : IEquatableDestination to where the item will be shipped. Example: Commercial, Residential, Store . /// This field is only used in DM service. Determines whether to assign risk to the order if the billing and shipping addresses specify different cities, states, or countries. This field can contain one of the following values: - true: Orders are assigned only slight additional risk if billing and shipping addresses are different. - false: Orders are assigned higher additional risk if billing and shipping addresses are different. . /// Passenger. - public Ptsv2paymentsOrderInformationLineItems(string ProductCode = default(string), string ProductName = default(string), string ProductSku = default(string), int? Quantity = default(int?), string UnitPrice = default(string), string UnitOfMeasure = default(string), string TotalAmount = default(string), string TaxAmount = default(string), string TaxRate = default(string), string TaxAppliedAfterDiscount = default(string), string TaxStatusIndicator = default(string), string TaxTypeCode = default(string), bool? AmountIncludesTax = default(bool?), string TypeOfSupply = default(string), string CommodityCode = default(string), string DiscountAmount = default(string), bool? DiscountApplied = default(bool?), string DiscountRate = default(string), string InvoiceNumber = default(string), List TaxDetails = default(List), string FulfillmentType = default(string), string Weight = default(string), string WeightIdentifier = default(string), string WeightUnit = default(string), string ReferenceDataCode = default(string), string ReferenceDataNumber = default(string), string ProductDescription = default(string), int? GiftCardCurrency = default(int?), string ShippingDestinationTypes = default(string), bool? Gift = default(bool?), Ptsv2paymentsOrderInformationPassenger Passenger = default(Ptsv2paymentsOrderInformationPassenger)) + /// AllowedExportCountries. + /// RestrictedExportCountries. + public Ptsv2paymentsOrderInformationLineItems(string ProductCode = default(string), string ProductName = default(string), string ProductSku = default(string), int? Quantity = default(int?), string UnitPrice = default(string), string UnitOfMeasure = default(string), string TotalAmount = default(string), string TaxAmount = default(string), string TaxRate = default(string), string TaxAppliedAfterDiscount = default(string), string TaxStatusIndicator = default(string), string TaxTypeCode = default(string), bool? AmountIncludesTax = default(bool?), string TypeOfSupply = default(string), string CommodityCode = default(string), string DiscountAmount = default(string), bool? DiscountApplied = default(bool?), string DiscountRate = default(string), string InvoiceNumber = default(string), List TaxDetails = default(List), string FulfillmentType = default(string), string Weight = default(string), string WeightIdentifier = default(string), string WeightUnit = default(string), string ReferenceDataCode = default(string), string ReferenceDataNumber = default(string), string ProductDescription = default(string), int? GiftCardCurrency = default(int?), string ShippingDestinationTypes = default(string), bool? Gift = default(bool?), Ptsv2paymentsOrderInformationPassenger Passenger = default(Ptsv2paymentsOrderInformationPassenger), List AllowedExportCountries = default(List), List RestrictedExportCountries = default(List)) { this.ProductCode = ProductCode; this.ProductName = ProductName; @@ -97,6 +99,8 @@ public partial class Ptsv2paymentsOrderInformationLineItems : IEquatable @@ -314,6 +318,18 @@ public partial class Ptsv2paymentsOrderInformationLineItems : IEquatable + /// Gets or Sets AllowedExportCountries + /// + [DataMember(Name="allowedExportCountries", EmitDefaultValue=false)] + public List AllowedExportCountries { get; set; } + + /// + /// Gets or Sets RestrictedExportCountries + /// + [DataMember(Name="restrictedExportCountries", EmitDefaultValue=false)] + public List RestrictedExportCountries { get; set; } + /// /// Returns the string presentation of the object /// @@ -353,6 +369,8 @@ public override string ToString() sb.Append(" ShippingDestinationTypes: ").Append(ShippingDestinationTypes).Append("\n"); sb.Append(" Gift: ").Append(Gift).Append("\n"); sb.Append(" Passenger: ").Append(Passenger).Append("\n"); + sb.Append(" AllowedExportCountries: ").Append(AllowedExportCountries).Append("\n"); + sb.Append(" RestrictedExportCountries: ").Append(RestrictedExportCountries).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -543,6 +561,16 @@ public bool Equals(Ptsv2paymentsOrderInformationLineItems other) this.Passenger == other.Passenger || this.Passenger != null && this.Passenger.Equals(other.Passenger) + ) && + ( + this.AllowedExportCountries == other.AllowedExportCountries || + this.AllowedExportCountries != null && + this.AllowedExportCountries.SequenceEqual(other.AllowedExportCountries) + ) && + ( + this.RestrictedExportCountries == other.RestrictedExportCountries || + this.RestrictedExportCountries != null && + this.RestrictedExportCountries.SequenceEqual(other.RestrictedExportCountries) ); } @@ -619,6 +647,10 @@ public override int GetHashCode() hash = hash * 59 + this.Gift.GetHashCode(); if (this.Passenger != null) hash = hash * 59 + this.Passenger.GetHashCode(); + if (this.AllowedExportCountries != null) + hash = hash * 59 + this.AllowedExportCountries.GetHashCode(); + if (this.RestrictedExportCountries != null) + hash = hash * 59 + this.RestrictedExportCountries.GetHashCode(); return hash; } } diff --git a/Model/Ptsv2paymentsPaymentInformationTokenizedCard.cs b/Model/Ptsv2paymentsPaymentInformationTokenizedCard.cs index e475db3f..fbba2d57 100644 --- a/Model/Ptsv2paymentsPaymentInformationTokenizedCard.cs +++ b/Model/Ptsv2paymentsPaymentInformationTokenizedCard.cs @@ -40,11 +40,12 @@ public partial class Ptsv2paymentsPaymentInformationTokenizedCard : IEquatable< /// This field contains token information.. /// Value that identifies your business and indicates that the cardholder’s account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider’s database. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. #### PIN debit Optional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. . /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. . - /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. . + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. . /// Type of technology used in the device to store token data. Possible values: - `001`: Secure Element (SE). Smart card or memory with restricted access and encryption to prevent data tampering. For storing payment credentials, a SE is tested against a set of requirements defined by the payment networks. **Note** This field is supported only for _FDC Compass_. - 002: Host Card Emulation (HCE). Emulation of a smart card by using software to create a virtual and exact representation of the card. Sensitive data is stored in a database that is hosted in the cloud. For storing payment credentials, a database must meet very stringent security requirements that exceed PCI DSS. **Note** This field is supported only for _FDC Compass_. . /// Card Verification Number (CVN). #### Ingenico ePayments Do not include this field when **commerceIndicator=recurring**. **Note** Ingenico ePayments was previously called _Global Collect_. For details, see `customer_cc_cv_number` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . /// Indicates whether a CVN code was sent. Possible values: - `0` (default): CVN service not requested. This default value is used when you do not include `securityCode` field in the request. - `1` (default): CVN service requested and supported. This default value is used when you include `securityCode` field in the request. - `2`: CVN on credit card is illegible. - `9`: CVN was not imprinted on credit card. #### FDMS Nashville Required for American Express cards; otherwise, optional. #### TSYS Acquiring Solutions Optional if `pointOfSaleInformation.entryMode=keyed`; otherwise, not used. #### All other processors Optional. . - public Ptsv2paymentsPaymentInformationTokenizedCard(string Number = default(string), string ExpirationMonth = default(string), string ExpirationYear = default(string), string Type = default(string), string Cryptogram = default(string), string RequestorId = default(string), string TransactionType = default(string), string AssuranceLevel = default(string), string StorageMethod = default(string), string SecurityCode = default(string), string SecurityCodeIndicator = default(string)) + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect** . + public Ptsv2paymentsPaymentInformationTokenizedCard(string Number = default(string), string ExpirationMonth = default(string), string ExpirationYear = default(string), string Type = default(string), string Cryptogram = default(string), string RequestorId = default(string), string TransactionType = default(string), string AssuranceLevel = default(string), string StorageMethod = default(string), string SecurityCode = default(string), string SecurityCodeIndicator = default(string), string AssuranceMethod = default(string)) { this.Number = Number; this.ExpirationMonth = ExpirationMonth; @@ -57,6 +58,7 @@ public partial class Ptsv2paymentsPaymentInformationTokenizedCard : IEquatable< this.StorageMethod = StorageMethod; this.SecurityCode = SecurityCode; this.SecurityCodeIndicator = SecurityCodeIndicator; + this.AssuranceMethod = AssuranceMethod; } /// @@ -109,9 +111,9 @@ public partial class Ptsv2paymentsPaymentInformationTokenizedCard : IEquatable< public string TransactionType { get; set; } /// - /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. /// - /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. [DataMember(Name="assuranceLevel", EmitDefaultValue=false)] public string AssuranceLevel { get; set; } @@ -136,6 +138,13 @@ public partial class Ptsv2paymentsPaymentInformationTokenizedCard : IEquatable< [DataMember(Name="securityCodeIndicator", EmitDefaultValue=false)] public string SecurityCodeIndicator { get; set; } + /// + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect** + /// + /// Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect** + [DataMember(Name="assuranceMethod", EmitDefaultValue=false)] + public string AssuranceMethod { get; set; } + /// /// Returns the string presentation of the object /// @@ -155,6 +164,7 @@ public override string ToString() sb.Append(" StorageMethod: ").Append(StorageMethod).Append("\n"); sb.Append(" SecurityCode: ").Append(SecurityCode).Append("\n"); sb.Append(" SecurityCodeIndicator: ").Append(SecurityCodeIndicator).Append("\n"); + sb.Append(" AssuranceMethod: ").Append(AssuranceMethod).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -245,6 +255,11 @@ public bool Equals(Ptsv2paymentsPaymentInformationTokenizedCard other) this.SecurityCodeIndicator == other.SecurityCodeIndicator || this.SecurityCodeIndicator != null && this.SecurityCodeIndicator.Equals(other.SecurityCodeIndicator) + ) && + ( + this.AssuranceMethod == other.AssuranceMethod || + this.AssuranceMethod != null && + this.AssuranceMethod.Equals(other.AssuranceMethod) ); } @@ -281,6 +296,8 @@ public override int GetHashCode() hash = hash * 59 + this.SecurityCode.GetHashCode(); if (this.SecurityCodeIndicator != null) hash = hash * 59 + this.SecurityCodeIndicator.GetHashCode(); + if (this.AssuranceMethod != null) + hash = hash * 59 + this.AssuranceMethod.GetHashCode(); return hash; } } diff --git a/Model/Ptsv2paymentsPointOfSaleInformation.cs b/Model/Ptsv2paymentsPointOfSaleInformation.cs index 8e9f6b9d..7bfebdb4 100644 --- a/Model/Ptsv2paymentsPointOfSaleInformation.cs +++ b/Model/Ptsv2paymentsPointOfSaleInformation.cs @@ -49,7 +49,7 @@ public partial class Ptsv2paymentsPointOfSaleInformation : IEquatableComplete list of card input methods supported by the terminal. Possible values: - `Keyed`: Terminal can accept card data that is entered manually. - `Swiped`: Terminal can accept card data from a magnetic stripe reader. - `Contact`: Terminal can accept card data in EMV contact mode (\"dipping a card\"). - `Contactless`: Terminal can accept card data in EMV contactless mode (\"tapping a card\"). - `BarCode`: Terminal can read bar codes. - `QRcode`: Terminal can read or scan QR codes. - `OCR`: Terminal can perform optical character recognition (OCT) on the card. **EXAMPLE**: [\"Keyed\",\"Swiped\",\"Contact\",\"Contactless\"] #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX . /// Indicates whether the terminal can capture the card. Possible values: - `1`: Terminal can capture card. - `0`: Terminal cannot capture card. For authorizations and credits, this field is supported only by these processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct Optional field. . /// Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display - 5: Merchant terminal supports purchase only approvals This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX - VisaNet Optional field. . - /// Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX Required field for authorization or credit of PIN transactions. . + /// Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX - Visa Platform Connect Required field for authorization or credit of PIN transactions. . /// This field will contain the type of Pin Pad the terminal has. Possible values: - PCI-SPoC: Where the pin is being put on screen - PCI-PTS: Where the pin is being put on actual hardware pin pad . /// Value created by the client software that uniquely identifies the POS device. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX. . /// Format that is used to encode the PIN block. This value is provided by the client software that is installed on the POS terminal. Possible values: - `0`: ISO 9564 format 0 - `1`: ISO 9564 format 1 - `2`: ISO 9564 format 2 - `3`: ISO 9564 format 3 #### Used by **Authorization, PIN Debit** - Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. - Required for PIN debit credit or PIN debit purchase. For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also supported by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | - -- | - -- | - -- | - -- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes | #### GPX For chip and online PIN transactions for authorization, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Offline PIN - Chip and Signature For PIN Debit Purchase and Credit Service transactions, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Online PIN . @@ -207,9 +207,9 @@ public partial class Ptsv2paymentsPointOfSaleInformation : IEquatable - /// Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX Required field for authorization or credit of PIN transactions. + /// Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX - Visa Platform Connect Required field for authorization or credit of PIN transactions. /// - /// Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX Required field for authorization or credit of PIN transactions. + /// Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX - Visa Platform Connect Required field for authorization or credit of PIN transactions. [DataMember(Name="terminalPinCapability", EmitDefaultValue=false)] public int? TerminalPinCapability { get; set; } diff --git a/Model/Ptsv2paymentsProcessingInformation.cs b/Model/Ptsv2paymentsProcessingInformation.cs index 04f93204..24f4098e 100644 --- a/Model/Ptsv2paymentsProcessingInformation.cs +++ b/Model/Ptsv2paymentsProcessingInformation.cs @@ -33,7 +33,7 @@ public partial class Ptsv2paymentsProcessingInformation : IEquatable /// Initializes a new instance of the class. /// - /// Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. . + /// Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service. . /// Indicates whether to use the customer’s escrow agreement. Possible values: - `true`: yes, use the customer’s escrow agreement. - `false`: no, do not use the customer’s escrow agreement. . /// CyberSource tokens types you are performing a create on. If not supplied the default token type for the merchants token vault will be used. Valid values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress . /// Indicates whether to also include a capture in the submitted authorization request or not. Possible values: - `true`: Include a capture with an authorization request. - `false`: (default) Do not include a capture with an authorization request. #### Used by **Authorization and Capture** Optional field. (default to false). @@ -108,9 +108,9 @@ public partial class Ptsv2paymentsProcessingInformation : IEquatable - /// Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. + /// Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service. /// - /// Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. + /// Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service. [DataMember(Name="actionList", EmitDefaultValue=false)] public List ActionList { get; set; } diff --git a/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.cs b/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.cs index b786f402..869c9025 100644 --- a/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.cs +++ b/Model/Ptsv2paymentsProcessingInformationAuthorizationOptions.cs @@ -52,7 +52,8 @@ public partial class Ptsv2paymentsProcessingInformationAuthorizationOptions : I /// Indicates if transaction is a debt recovery request Possible values: - **true** - **false** . /// Flag that indicates whether the authorization request was delayed because connectivity was interrupted. Possible values: - `true` (Deferred authorization) - `false` (default: Not a deferred authorization) . /// This API field enables the merchant to indicate that a given transaction is Cash Advance. Cash advance or Cash disbursement functionality allows a merchant to dispense cash at a point of sale. It provides the ability of a POS system to act like an ATM. These terminals are typically seen in bank branches where customers can use their card and withdraw cash or at merchant locations where ATMs are sparse. Possible values: - `true` (Cash advance is supported) - `false` (default: cash advance is not supported) . - public Ptsv2paymentsProcessingInformationAuthorizationOptions(string AuthType = default(string), string PanReturnIndicator = default(string), string VerbalAuthCode = default(string), string VerbalAuthTransactionId = default(string), string AuthIndicator = default(string), bool? PartialAuthIndicator = default(bool?), bool? BalanceInquiry = default(bool?), bool? IgnoreAvsResult = false, List DeclineAvsFlags = default(List), bool? IgnoreCvResult = false, Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator Initiator = default(Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator), bool? BillPayment = default(bool?), string BillPaymentType = default(string), bool? RedemptionInquiry = default(bool?), string TransportationMode = default(string), string AggregatedAuthIndicator = default(string), string DebtRecoveryIndicator = default(string), bool? DeferredAuthIndicator = default(bool?), bool? CashAdvanceIndicator = default(bool?)) + /// #### Visa Platform Connect Indicates split payment transaction. A split payment allows the use of two payment methods for a single transaction. Possible values: - `true` (split payment transaction is supported) - `false` (default: split payment transaction is not supported) . + public Ptsv2paymentsProcessingInformationAuthorizationOptions(string AuthType = default(string), string PanReturnIndicator = default(string), string VerbalAuthCode = default(string), string VerbalAuthTransactionId = default(string), string AuthIndicator = default(string), bool? PartialAuthIndicator = default(bool?), bool? BalanceInquiry = default(bool?), bool? IgnoreAvsResult = false, List DeclineAvsFlags = default(List), bool? IgnoreCvResult = false, Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator Initiator = default(Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator), bool? BillPayment = default(bool?), string BillPaymentType = default(string), bool? RedemptionInquiry = default(bool?), string TransportationMode = default(string), string AggregatedAuthIndicator = default(string), string DebtRecoveryIndicator = default(string), bool? DeferredAuthIndicator = default(bool?), bool? CashAdvanceIndicator = default(bool?), bool? SplitPaymentTransaction = default(bool?)) { this.AuthType = AuthType; this.PanReturnIndicator = PanReturnIndicator; @@ -89,6 +90,7 @@ public partial class Ptsv2paymentsProcessingInformationAuthorizationOptions : I this.DebtRecoveryIndicator = DebtRecoveryIndicator; this.DeferredAuthIndicator = DeferredAuthIndicator; this.CashAdvanceIndicator = CashAdvanceIndicator; + this.SplitPaymentTransaction = SplitPaymentTransaction; } /// @@ -223,6 +225,13 @@ public partial class Ptsv2paymentsProcessingInformationAuthorizationOptions : I [DataMember(Name="cashAdvanceIndicator", EmitDefaultValue=false)] public bool? CashAdvanceIndicator { get; set; } + /// + /// #### Visa Platform Connect Indicates split payment transaction. A split payment allows the use of two payment methods for a single transaction. Possible values: - `true` (split payment transaction is supported) - `false` (default: split payment transaction is not supported) + /// + /// #### Visa Platform Connect Indicates split payment transaction. A split payment allows the use of two payment methods for a single transaction. Possible values: - `true` (split payment transaction is supported) - `false` (default: split payment transaction is not supported) + [DataMember(Name="splitPaymentTransaction", EmitDefaultValue=false)] + public bool? SplitPaymentTransaction { get; set; } + /// /// Returns the string presentation of the object /// @@ -250,6 +259,7 @@ public override string ToString() sb.Append(" DebtRecoveryIndicator: ").Append(DebtRecoveryIndicator).Append("\n"); sb.Append(" DeferredAuthIndicator: ").Append(DeferredAuthIndicator).Append("\n"); sb.Append(" CashAdvanceIndicator: ").Append(CashAdvanceIndicator).Append("\n"); + sb.Append(" SplitPaymentTransaction: ").Append(SplitPaymentTransaction).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -380,6 +390,11 @@ public bool Equals(Ptsv2paymentsProcessingInformationAuthorizationOptions other) this.CashAdvanceIndicator == other.CashAdvanceIndicator || this.CashAdvanceIndicator != null && this.CashAdvanceIndicator.Equals(other.CashAdvanceIndicator) + ) && + ( + this.SplitPaymentTransaction == other.SplitPaymentTransaction || + this.SplitPaymentTransaction != null && + this.SplitPaymentTransaction.Equals(other.SplitPaymentTransaction) ); } @@ -432,6 +447,8 @@ public override int GetHashCode() hash = hash * 59 + this.DeferredAuthIndicator.GetHashCode(); if (this.CashAdvanceIndicator != null) hash = hash * 59 + this.CashAdvanceIndicator.GetHashCode(); + if (this.SplitPaymentTransaction != null) + hash = hash * 59 + this.SplitPaymentTransaction.GetHashCode(); return hash; } } diff --git a/Model/Ptsv2paymentsWatchlistScreeningInformation.cs b/Model/Ptsv2paymentsWatchlistScreeningInformation.cs new file mode 100644 index 00000000..e5943bf3 --- /dev/null +++ b/Model/Ptsv2paymentsWatchlistScreeningInformation.cs @@ -0,0 +1,179 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Ptsv2paymentsWatchlistScreeningInformation + /// + [DataContract] + public partial class Ptsv2paymentsWatchlistScreeningInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Parts of the customer’s information that must match with an entry in the DPL (denied parties list) before a match occurs. This field can contain one of the following values: - AND: (default) The customer’s name or company and the customer’s address must appear in the database. - OR: The customer’s name must appear in the database. - IGNORE: You want the service to detect a match only of the customer’s name or company but not of the address. . + /// Weights. + /// Use this field to specify which list(s) you want checked with the request. The reply will include the list name as well as the response data. To check against multiple lists, enter multiple list codes separated by a caret (^). For more information, see \"Restricted and Denied Parties List,\" page 68. . + /// Indicates whether the transaction should proceed if there is a match. Possible values: - `true`: Transaction proceeds even when match is found in the Denied Parties List. The match is noted in the response. - `false`: Normal watchlist screening behavior occurs. (Transaction stops if a match to DPL occurs. Transaction proceeds if no match.) . + public Ptsv2paymentsWatchlistScreeningInformation(string AddressOperator = default(string), Ptsv2paymentsWatchlistScreeningInformationWeights Weights = default(Ptsv2paymentsWatchlistScreeningInformationWeights), List SanctionLists = default(List), bool? ProceedOnMatch = default(bool?)) + { + this.AddressOperator = AddressOperator; + this.Weights = Weights; + this.SanctionLists = SanctionLists; + this.ProceedOnMatch = ProceedOnMatch; + } + + /// + /// Parts of the customer’s information that must match with an entry in the DPL (denied parties list) before a match occurs. This field can contain one of the following values: - AND: (default) The customer’s name or company and the customer’s address must appear in the database. - OR: The customer’s name must appear in the database. - IGNORE: You want the service to detect a match only of the customer’s name or company but not of the address. + /// + /// Parts of the customer’s information that must match with an entry in the DPL (denied parties list) before a match occurs. This field can contain one of the following values: - AND: (default) The customer’s name or company and the customer’s address must appear in the database. - OR: The customer’s name must appear in the database. - IGNORE: You want the service to detect a match only of the customer’s name or company but not of the address. + [DataMember(Name="addressOperator", EmitDefaultValue=false)] + public string AddressOperator { get; set; } + + /// + /// Gets or Sets Weights + /// + [DataMember(Name="weights", EmitDefaultValue=false)] + public Ptsv2paymentsWatchlistScreeningInformationWeights Weights { get; set; } + + /// + /// Use this field to specify which list(s) you want checked with the request. The reply will include the list name as well as the response data. To check against multiple lists, enter multiple list codes separated by a caret (^). For more information, see \"Restricted and Denied Parties List,\" page 68. + /// + /// Use this field to specify which list(s) you want checked with the request. The reply will include the list name as well as the response data. To check against multiple lists, enter multiple list codes separated by a caret (^). For more information, see \"Restricted and Denied Parties List,\" page 68. + [DataMember(Name="sanctionLists", EmitDefaultValue=false)] + public List SanctionLists { get; set; } + + /// + /// Indicates whether the transaction should proceed if there is a match. Possible values: - `true`: Transaction proceeds even when match is found in the Denied Parties List. The match is noted in the response. - `false`: Normal watchlist screening behavior occurs. (Transaction stops if a match to DPL occurs. Transaction proceeds if no match.) + /// + /// Indicates whether the transaction should proceed if there is a match. Possible values: - `true`: Transaction proceeds even when match is found in the Denied Parties List. The match is noted in the response. - `false`: Normal watchlist screening behavior occurs. (Transaction stops if a match to DPL occurs. Transaction proceeds if no match.) + [DataMember(Name="proceedOnMatch", EmitDefaultValue=false)] + public bool? ProceedOnMatch { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Ptsv2paymentsWatchlistScreeningInformation {\n"); + sb.Append(" AddressOperator: ").Append(AddressOperator).Append("\n"); + sb.Append(" Weights: ").Append(Weights).Append("\n"); + sb.Append(" SanctionLists: ").Append(SanctionLists).Append("\n"); + sb.Append(" ProceedOnMatch: ").Append(ProceedOnMatch).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Ptsv2paymentsWatchlistScreeningInformation); + } + + /// + /// Returns true if Ptsv2paymentsWatchlistScreeningInformation instances are equal + /// + /// Instance of Ptsv2paymentsWatchlistScreeningInformation to be compared + /// Boolean + public bool Equals(Ptsv2paymentsWatchlistScreeningInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AddressOperator == other.AddressOperator || + this.AddressOperator != null && + this.AddressOperator.Equals(other.AddressOperator) + ) && + ( + this.Weights == other.Weights || + this.Weights != null && + this.Weights.Equals(other.Weights) + ) && + ( + this.SanctionLists == other.SanctionLists || + this.SanctionLists != null && + this.SanctionLists.SequenceEqual(other.SanctionLists) + ) && + ( + this.ProceedOnMatch == other.ProceedOnMatch || + this.ProceedOnMatch != null && + this.ProceedOnMatch.Equals(other.ProceedOnMatch) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.AddressOperator != null) + hash = hash * 59 + this.AddressOperator.GetHashCode(); + if (this.Weights != null) + hash = hash * 59 + this.Weights.GetHashCode(); + if (this.SanctionLists != null) + hash = hash * 59 + this.SanctionLists.GetHashCode(); + if (this.ProceedOnMatch != null) + hash = hash * 59 + this.ProceedOnMatch.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Model/Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.cs b/Model/Ptsv2paymentsWatchlistScreeningInformationWeights.cs similarity index 88% rename from Model/Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.cs rename to Model/Ptsv2paymentsWatchlistScreeningInformationWeights.cs index ef28398d..e0fae6a3 100644 --- a/Model/Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.cs +++ b/Model/Ptsv2paymentsWatchlistScreeningInformationWeights.cs @@ -25,18 +25,18 @@ namespace CyberSource.Model { /// - /// Riskv1exportcomplianceinquiriesExportComplianceInformationWeights + /// Ptsv2paymentsWatchlistScreeningInformationWeights /// [DataContract] - public partial class Riskv1exportcomplianceinquiriesExportComplianceInformationWeights : IEquatable, IValidatableObject + public partial class Ptsv2paymentsWatchlistScreeningInformationWeights : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Degree of correlation between a customer’s address and an entry in the DPL before a match occurs. This field can contain one of the following values: - exact: The address must be identical to the entry in the DPL. - high: (default) The address cannot differ significantly from the entry in the DPL. - medium: The address can differ slightly more from the entry in the DPL. - low: The address can differ significantly from the entry in the DPL. . /// Degree of correlation between a company address and an entry in the DPL before a match occurs. This field can contain one of the following values: - exact: The company name must be identical to the entry in the DPL. - high: (default) The company name cannot differ significantly from the entry in the DPL. - medium: The company name can differ slightly more from the entry in the DPL. - low: The company name can differ significantly from the entry in the DPL. . /// Degree of correlation between a customer’s name and an entry in the DPL before a match occurs. This field can contain one of the following values: - exact: The name must be identical to the entry in the DPL. - high: (default) The name cannot differ significantly from the entry in the DPL. - medium: The name can differ slightly more from the entry in the DPL. - low: The name can differ significantly the entry in the DPL. . - public Riskv1exportcomplianceinquiriesExportComplianceInformationWeights(string Address = default(string), string Company = default(string), string Name = default(string)) + public Ptsv2paymentsWatchlistScreeningInformationWeights(string Address = default(string), string Company = default(string), string Name = default(string)) { this.Address = Address; this.Company = Company; @@ -71,7 +71,7 @@ public partial class Riskv1exportcomplianceinquiriesExportComplianceInformationW public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Riskv1exportcomplianceinquiriesExportComplianceInformationWeights {\n"); + sb.Append("class Ptsv2paymentsWatchlistScreeningInformationWeights {\n"); sb.Append(" Address: ").Append(Address).Append("\n"); sb.Append(" Company: ").Append(Company).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); @@ -96,15 +96,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Riskv1exportcomplianceinquiriesExportComplianceInformationWeights); + return this.Equals(obj as Ptsv2paymentsWatchlistScreeningInformationWeights); } /// - /// Returns true if Riskv1exportcomplianceinquiriesExportComplianceInformationWeights instances are equal + /// Returns true if Ptsv2paymentsWatchlistScreeningInformationWeights instances are equal /// - /// Instance of Riskv1exportcomplianceinquiriesExportComplianceInformationWeights to be compared + /// Instance of Ptsv2paymentsWatchlistScreeningInformationWeights to be compared /// Boolean - public bool Equals(Riskv1exportcomplianceinquiriesExportComplianceInformationWeights other) + public bool Equals(Ptsv2paymentsWatchlistScreeningInformationWeights other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/Ptsv2payoutsProcessingInformationPayoutsOptions.cs b/Model/Ptsv2payoutsProcessingInformationPayoutsOptions.cs index 107c9b61..594ba2b2 100644 --- a/Model/Ptsv2payoutsProcessingInformationPayoutsOptions.cs +++ b/Model/Ptsv2payoutsProcessingInformationPayoutsOptions.cs @@ -37,12 +37,14 @@ public partial class Ptsv2payoutsProcessingInformationPayoutsOptions : IEquatab /// This code identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant or ADM or dispensed cash. This number is usually Visa-assigned. * Applicable only for CTV for Payouts. . /// This field contains a number that is used with other data elements as a key to identify and track all messages related to a given cardholder transaction; that is, to a given transaction set. Format: Positions 1-4: The `yddd` equivalent of the date, where `y` = 0-9 and `ddd` = 001 – 366. Positions 5-12: A unique identification number generated by the merchant * Applicable only for CTV for Payouts. . /// Visa-generated transaction identifier (TID) that is unique for each original authorization and financial request. * Applicable only for CTV for Payouts. . - public Ptsv2payoutsProcessingInformationPayoutsOptions(string AcquirerMerchantId = default(string), string AcquirerBin = default(string), string RetrievalReferenceNumber = default(string), string AccountFundingReferenceId = default(string)) + /// #### Visa Platform Connect Contains date and time value indicating scheduled deferred OCT. Format is : 'yyyyMMddHHmm', where 'YYYY' = year 'MM' = month 'DD' = day 'hh' = hour 'mm' = minutes . + public Ptsv2payoutsProcessingInformationPayoutsOptions(string AcquirerMerchantId = default(string), string AcquirerBin = default(string), string RetrievalReferenceNumber = default(string), string AccountFundingReferenceId = default(string), string DeferredDateTime = default(string)) { this.AcquirerMerchantId = AcquirerMerchantId; this.AcquirerBin = AcquirerBin; this.RetrievalReferenceNumber = RetrievalReferenceNumber; this.AccountFundingReferenceId = AccountFundingReferenceId; + this.DeferredDateTime = DeferredDateTime; } /// @@ -73,6 +75,13 @@ public partial class Ptsv2payoutsProcessingInformationPayoutsOptions : IEquatab [DataMember(Name="accountFundingReferenceId", EmitDefaultValue=false)] public string AccountFundingReferenceId { get; set; } + /// + /// #### Visa Platform Connect Contains date and time value indicating scheduled deferred OCT. Format is : 'yyyyMMddHHmm', where 'YYYY' = year 'MM' = month 'DD' = day 'hh' = hour 'mm' = minutes + /// + /// #### Visa Platform Connect Contains date and time value indicating scheduled deferred OCT. Format is : 'yyyyMMddHHmm', where 'YYYY' = year 'MM' = month 'DD' = day 'hh' = hour 'mm' = minutes + [DataMember(Name="deferredDateTime", EmitDefaultValue=false)] + public string DeferredDateTime { get; set; } + /// /// Returns the string presentation of the object /// @@ -85,6 +94,7 @@ public override string ToString() sb.Append(" AcquirerBin: ").Append(AcquirerBin).Append("\n"); sb.Append(" RetrievalReferenceNumber: ").Append(RetrievalReferenceNumber).Append("\n"); sb.Append(" AccountFundingReferenceId: ").Append(AccountFundingReferenceId).Append("\n"); + sb.Append(" DeferredDateTime: ").Append(DeferredDateTime).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -140,6 +150,11 @@ public bool Equals(Ptsv2payoutsProcessingInformationPayoutsOptions other) this.AccountFundingReferenceId == other.AccountFundingReferenceId || this.AccountFundingReferenceId != null && this.AccountFundingReferenceId.Equals(other.AccountFundingReferenceId) + ) && + ( + this.DeferredDateTime == other.DeferredDateTime || + this.DeferredDateTime != null && + this.DeferredDateTime.Equals(other.DeferredDateTime) ); } @@ -162,6 +177,8 @@ public override int GetHashCode() hash = hash * 59 + this.RetrievalReferenceNumber.GetHashCode(); if (this.AccountFundingReferenceId != null) hash = hash * 59 + this.AccountFundingReferenceId.GetHashCode(); + if (this.DeferredDateTime != null) + hash = hash * 59 + this.DeferredDateTime.GetHashCode(); return hash; } } diff --git a/Model/RiskV1DecisionsPost201Response.cs b/Model/RiskV1DecisionsPost201Response.cs index 51e9e49a..dc015993 100644 --- a/Model/RiskV1DecisionsPost201Response.cs +++ b/Model/RiskV1DecisionsPost201Response.cs @@ -43,8 +43,9 @@ public partial class RiskV1DecisionsPost201Response : IEquatableClientReferenceInformation. /// OrderInformation. /// ConsumerAuthenticationInformation. + /// WatchlistScreeningInformation. /// ErrorInformation. - public RiskV1DecisionsPost201Response(PtsV2PaymentsPost201ResponseLinks Links = default(PtsV2PaymentsPost201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string SubmitTimeLocal = default(string), string Status = default(string), PtsV2PaymentsPost201ResponseRiskInformation RiskInformation = default(PtsV2PaymentsPost201ResponseRiskInformation), RiskV1DecisionsPost201ResponsePaymentInformation PaymentInformation = default(RiskV1DecisionsPost201ResponsePaymentInformation), RiskV1DecisionsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(RiskV1DecisionsPost201ResponseClientReferenceInformation), RiskV1DecisionsPost201ResponseOrderInformation OrderInformation = default(RiskV1DecisionsPost201ResponseOrderInformation), RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation), RiskV1DecisionsPost201ResponseErrorInformation ErrorInformation = default(RiskV1DecisionsPost201ResponseErrorInformation)) + public RiskV1DecisionsPost201Response(PtsV2PaymentsPost201ResponseLinks Links = default(PtsV2PaymentsPost201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string SubmitTimeLocal = default(string), string Status = default(string), PtsV2PaymentsPost201ResponseRiskInformation RiskInformation = default(PtsV2PaymentsPost201ResponseRiskInformation), RiskV1DecisionsPost201ResponsePaymentInformation PaymentInformation = default(RiskV1DecisionsPost201ResponsePaymentInformation), RiskV1DecisionsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(RiskV1DecisionsPost201ResponseClientReferenceInformation), RiskV1DecisionsPost201ResponseOrderInformation OrderInformation = default(RiskV1DecisionsPost201ResponseOrderInformation), RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation), PtsV2PaymentsPost201ResponseWatchlistScreeningInformation WatchlistScreeningInformation = default(PtsV2PaymentsPost201ResponseWatchlistScreeningInformation), RiskV1DecisionsPost201ResponseErrorInformation ErrorInformation = default(RiskV1DecisionsPost201ResponseErrorInformation)) { this.Links = Links; this.Id = Id; @@ -56,6 +57,7 @@ public partial class RiskV1DecisionsPost201Response : IEquatable + /// Gets or Sets WatchlistScreeningInformation + /// + [DataMember(Name="watchlistScreeningInformation", EmitDefaultValue=false)] + public PtsV2PaymentsPost201ResponseWatchlistScreeningInformation WatchlistScreeningInformation { get; set; } + /// /// Gets or Sets ErrorInformation /// @@ -147,6 +155,7 @@ public override string ToString() sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); sb.Append(" OrderInformation: ").Append(OrderInformation).Append("\n"); sb.Append(" ConsumerAuthenticationInformation: ").Append(ConsumerAuthenticationInformation).Append("\n"); + sb.Append(" WatchlistScreeningInformation: ").Append(WatchlistScreeningInformation).Append("\n"); sb.Append(" ErrorInformation: ").Append(ErrorInformation).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -234,6 +243,11 @@ public bool Equals(RiskV1DecisionsPost201Response other) this.ConsumerAuthenticationInformation != null && this.ConsumerAuthenticationInformation.Equals(other.ConsumerAuthenticationInformation) ) && + ( + this.WatchlistScreeningInformation == other.WatchlistScreeningInformation || + this.WatchlistScreeningInformation != null && + this.WatchlistScreeningInformation.Equals(other.WatchlistScreeningInformation) + ) && ( this.ErrorInformation == other.ErrorInformation || this.ErrorInformation != null && @@ -272,6 +286,8 @@ public override int GetHashCode() hash = hash * 59 + this.OrderInformation.GetHashCode(); if (this.ConsumerAuthenticationInformation != null) hash = hash * 59 + this.ConsumerAuthenticationInformation.GetHashCode(); + if (this.WatchlistScreeningInformation != null) + hash = hash * 59 + this.WatchlistScreeningInformation.GetHashCode(); if (this.ErrorInformation != null) hash = hash * 59 + this.ErrorInformation.GetHashCode(); return hash; diff --git a/Model/RiskV1DecisionsPost201ResponseErrorInformation.cs b/Model/RiskV1DecisionsPost201ResponseErrorInformation.cs index 124dd486..b5390ef7 100644 --- a/Model/RiskV1DecisionsPost201ResponseErrorInformation.cs +++ b/Model/RiskV1DecisionsPost201ResponseErrorInformation.cs @@ -33,7 +33,7 @@ public partial class RiskV1DecisionsPost201ResponseErrorInformation : IEquatabl /// /// Initializes a new instance of the class. /// - /// The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` . + /// The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` . /// The detail message related to the status and reason listed above.. /// Details. public RiskV1DecisionsPost201ResponseErrorInformation(string Reason = default(string), string Message = default(string), List Details = default(List)) @@ -44,9 +44,9 @@ public partial class RiskV1DecisionsPost201ResponseErrorInformation : IEquatabl } /// - /// The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` + /// The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` /// - /// The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` + /// The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` [DataMember(Name="reason", EmitDefaultValue=false)] public string Reason { get; set; } diff --git a/Model/RiskV1ExportComplianceInquiriesPost201Response.cs b/Model/RiskV1ExportComplianceInquiriesPost201Response.cs index ce108718..17d51522 100644 --- a/Model/RiskV1ExportComplianceInquiriesPost201Response.cs +++ b/Model/RiskV1ExportComplianceInquiriesPost201Response.cs @@ -42,7 +42,7 @@ public partial class RiskV1ExportComplianceInquiriesPost201Response : IEquatabl /// ClientReferenceInformation. /// ExportComplianceInformation. /// ErrorInformation. - public RiskV1ExportComplianceInquiriesPost201Response(PtsV2IncrementalAuthorizationPatch201ResponseLinks Links = default(PtsV2IncrementalAuthorizationPatch201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string SubmitTimeLocal = default(string), string Status = default(string), string Message = default(string), RiskV1DecisionsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(RiskV1DecisionsPost201ResponseClientReferenceInformation), RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation ExportComplianceInformation = default(RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation), RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation ErrorInformation = default(RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation)) + public RiskV1ExportComplianceInquiriesPost201Response(PtsV2IncrementalAuthorizationPatch201ResponseLinks Links = default(PtsV2IncrementalAuthorizationPatch201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string SubmitTimeLocal = default(string), string Status = default(string), string Message = default(string), RiskV1DecisionsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(RiskV1DecisionsPost201ResponseClientReferenceInformation), PtsV2PaymentsPost201ResponseWatchlistScreeningInformation ExportComplianceInformation = default(PtsV2PaymentsPost201ResponseWatchlistScreeningInformation), RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation ErrorInformation = default(RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation)) { this.Links = Links; this.Id = Id; @@ -106,7 +106,7 @@ public partial class RiskV1ExportComplianceInquiriesPost201Response : IEquatabl /// Gets or Sets ExportComplianceInformation /// [DataMember(Name="exportComplianceInformation", EmitDefaultValue=false)] - public RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation ExportComplianceInformation { get; set; } + public PtsV2PaymentsPost201ResponseWatchlistScreeningInformation ExportComplianceInformation { get; set; } /// /// Gets or Sets ErrorInformation diff --git a/Model/Riskv1decisionsOrderInformationLineItems.cs b/Model/Riskv1decisionsOrderInformationLineItems.cs index 934f8f3f..1887faec 100644 --- a/Model/Riskv1decisionsOrderInformationLineItems.cs +++ b/Model/Riskv1decisionsOrderInformationLineItems.cs @@ -47,7 +47,9 @@ public partial class Riskv1decisionsOrderInformationLineItems : IEquatablePassenger. /// Destination to where the item will be shipped. Example: Commercial, Residential, Store . /// Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. Optional field. #### Airlines processing Tax portion of the order amount. This value cannot exceed 99999999999999 (fourteen 9s). Format: English characters only. Optional request field for a line item. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Note if you send this field in your tax request, the value in the field will override the tax engine . - public Riskv1decisionsOrderInformationLineItems(string TotalAmount = default(string), string UnitPrice = default(string), int? Quantity = default(int?), int? GiftCardCurrency = default(int?), string ProductSKU = default(string), string ProductRisk = default(string), string ProductDescription = default(string), string ProductName = default(string), string ProductCode = default(string), bool? Gift = default(bool?), string DistributorProductSku = default(string), Ptsv2paymentsOrderInformationPassenger Passenger = default(Ptsv2paymentsOrderInformationPassenger), string ShippingDestinationTypes = default(string), string TaxAmount = default(string)) + /// AllowedExportCountries. + /// RestrictedExportCountries. + public Riskv1decisionsOrderInformationLineItems(string TotalAmount = default(string), string UnitPrice = default(string), int? Quantity = default(int?), int? GiftCardCurrency = default(int?), string ProductSKU = default(string), string ProductRisk = default(string), string ProductDescription = default(string), string ProductName = default(string), string ProductCode = default(string), bool? Gift = default(bool?), string DistributorProductSku = default(string), Ptsv2paymentsOrderInformationPassenger Passenger = default(Ptsv2paymentsOrderInformationPassenger), string ShippingDestinationTypes = default(string), string TaxAmount = default(string), List AllowedExportCountries = default(List), List RestrictedExportCountries = default(List)) { this.TotalAmount = TotalAmount; this.UnitPrice = UnitPrice; @@ -63,6 +65,8 @@ public partial class Riskv1decisionsOrderInformationLineItems : IEquatable @@ -162,6 +166,18 @@ public partial class Riskv1decisionsOrderInformationLineItems : IEquatable + /// Gets or Sets AllowedExportCountries + /// + [DataMember(Name="allowedExportCountries", EmitDefaultValue=false)] + public List AllowedExportCountries { get; set; } + + /// + /// Gets or Sets RestrictedExportCountries + /// + [DataMember(Name="restrictedExportCountries", EmitDefaultValue=false)] + public List RestrictedExportCountries { get; set; } + /// /// Returns the string presentation of the object /// @@ -184,6 +200,8 @@ public override string ToString() sb.Append(" Passenger: ").Append(Passenger).Append("\n"); sb.Append(" ShippingDestinationTypes: ").Append(ShippingDestinationTypes).Append("\n"); sb.Append(" TaxAmount: ").Append(TaxAmount).Append("\n"); + sb.Append(" AllowedExportCountries: ").Append(AllowedExportCountries).Append("\n"); + sb.Append(" RestrictedExportCountries: ").Append(RestrictedExportCountries).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -289,6 +307,16 @@ public bool Equals(Riskv1decisionsOrderInformationLineItems other) this.TaxAmount == other.TaxAmount || this.TaxAmount != null && this.TaxAmount.Equals(other.TaxAmount) + ) && + ( + this.AllowedExportCountries == other.AllowedExportCountries || + this.AllowedExportCountries != null && + this.AllowedExportCountries.SequenceEqual(other.AllowedExportCountries) + ) && + ( + this.RestrictedExportCountries == other.RestrictedExportCountries || + this.RestrictedExportCountries != null && + this.RestrictedExportCountries.SequenceEqual(other.RestrictedExportCountries) ); } @@ -331,6 +359,10 @@ public override int GetHashCode() hash = hash * 59 + this.ShippingDestinationTypes.GetHashCode(); if (this.TaxAmount != null) hash = hash * 59 + this.TaxAmount.GetHashCode(); + if (this.AllowedExportCountries != null) + hash = hash * 59 + this.AllowedExportCountries.GetHashCode(); + if (this.RestrictedExportCountries != null) + hash = hash * 59 + this.RestrictedExportCountries.GetHashCode(); return hash; } } diff --git a/Model/Riskv1decisionsProcessingInformation.cs b/Model/Riskv1decisionsProcessingInformation.cs index 11fc1cd7..d4d01144 100644 --- a/Model/Riskv1decisionsProcessingInformation.cs +++ b/Model/Riskv1decisionsProcessingInformation.cs @@ -25,7 +25,7 @@ namespace CyberSource.Model { /// - /// Decides whether to call Payer Authentication along with DM or not + /// Decides whether to call Payer Authentication or Watchlist Screening service along with DM or not /// [DataContract] public partial class Riskv1decisionsProcessingInformation : IEquatable, IValidatableObject @@ -33,16 +33,16 @@ public partial class Riskv1decisionsProcessingInformation : IEquatable /// Initializes a new instance of the class. /// - /// Use CONSUMER_AUTHENTICATION to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. . + /// - Use `CONSUMER_AUTHENTICATION` to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. - Use `WATCHLIST_SCREENING` when you want to call Watchlist Screening service. . public Riskv1decisionsProcessingInformation(List ActionList = default(List)) { this.ActionList = ActionList; } /// - /// Use CONSUMER_AUTHENTICATION to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. + /// - Use `CONSUMER_AUTHENTICATION` to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. - Use `WATCHLIST_SCREENING` when you want to call Watchlist Screening service. /// - /// Use CONSUMER_AUTHENTICATION to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. + /// - Use `CONSUMER_AUTHENTICATION` to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. - Use `WATCHLIST_SCREENING` when you want to call Watchlist Screening service. [DataMember(Name="actionList", EmitDefaultValue=false)] public List ActionList { get; set; } diff --git a/Model/Riskv1exportcomplianceinquiriesExportComplianceInformation.cs b/Model/Riskv1exportcomplianceinquiriesExportComplianceInformation.cs index 7bdf884e..f616e43e 100644 --- a/Model/Riskv1exportcomplianceinquiriesExportComplianceInformation.cs +++ b/Model/Riskv1exportcomplianceinquiriesExportComplianceInformation.cs @@ -36,7 +36,7 @@ public partial class Riskv1exportcomplianceinquiriesExportComplianceInformation /// Parts of the customer’s information that must match with an entry in the DPL (denied parties list) before a match occurs. This field can contain one of the following values: - AND: (default) The customer’s name or company and the customer’s address must appear in the database. - OR: The customer’s name must appear in the database. - IGNORE: You want the service to detect a match only of the customer’s name or company but not of the address. . /// Weights. /// Use this field to specify which list(s) you want checked with the request. The reply will include the list name as well as the response data. To check against multiple lists, enter multiple list codes separated by a caret (^). For more information, see \"Restricted and Denied Parties List,\" page 68. . - public Riskv1exportcomplianceinquiriesExportComplianceInformation(string AddressOperator = default(string), Riskv1exportcomplianceinquiriesExportComplianceInformationWeights Weights = default(Riskv1exportcomplianceinquiriesExportComplianceInformationWeights), List SanctionLists = default(List)) + public Riskv1exportcomplianceinquiriesExportComplianceInformation(string AddressOperator = default(string), Ptsv2paymentsWatchlistScreeningInformationWeights Weights = default(Ptsv2paymentsWatchlistScreeningInformationWeights), List SanctionLists = default(List)) { this.AddressOperator = AddressOperator; this.Weights = Weights; @@ -54,7 +54,7 @@ public partial class Riskv1exportcomplianceinquiriesExportComplianceInformation /// Gets or Sets Weights /// [DataMember(Name="weights", EmitDefaultValue=false)] - public Riskv1exportcomplianceinquiriesExportComplianceInformationWeights Weights { get; set; } + public Ptsv2paymentsWatchlistScreeningInformationWeights Weights { get; set; } /// /// Use this field to specify which list(s) you want checked with the request. The reply will include the list name as well as the response data. To check against multiple lists, enter multiple list codes separated by a caret (^). For more information, see \"Restricted and Denied Parties List,\" page 68. diff --git a/Model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.cs b/Model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.cs index 1b994035..023c9ede 100644 --- a/Model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.cs +++ b/Model/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.cs @@ -35,8 +35,8 @@ public partial class TssV2TransactionsGet200ResponseProcessorInformationElectron /// /// Mapped Electronic Verification response code for the customer’s email address. For details, see `auth_ev_email` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . /// Raw Electronic Verification response code from the processor for the customer’s email address.. - /// Mapped Electronic Verification response code for the customer’s name. . - /// Raw Electronic Verification response code from the processor for the customer’s name. . + /// #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match . + /// #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match . /// Mapped Electronic Verification response code for the customer’s phone number. For details, see `auth_ev_phone_number` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . /// Raw Electronic Verification response code from the processor for the customer’s phone number.. /// Mapped Electronic Verification response code for the customer’s street address. For details, see `auth_ev_street` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . @@ -72,16 +72,16 @@ public partial class TssV2TransactionsGet200ResponseProcessorInformationElectron public string EmailRaw { get; set; } /// - /// Mapped Electronic Verification response code for the customer’s name. + /// #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match /// - /// Mapped Electronic Verification response code for the customer’s name. + /// #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } /// - /// Raw Electronic Verification response code from the processor for the customer’s name. + /// #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match /// - /// Raw Electronic Verification response code from the processor for the customer’s name. + /// #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match [DataMember(Name="nameRaw", EmitDefaultValue=false)] public string NameRaw { get; set; } diff --git a/cybersource-rest-client-dotnet.csproj b/cybersource-rest-client-dotnet.csproj index 71213cca..ce63cd68 100644 --- a/cybersource-rest-client-dotnet.csproj +++ b/cybersource-rest-client-dotnet.csproj @@ -12,7 +12,7 @@ OpenAPI spec version: 0.0.1 Debug AnyCPU - {6FEB21B8-F756-490B-8B2C-DBD84469CC78} + {060F0FE2-4715-444F-8C0C-3CB1064EB32E} Library Properties CyberSource @@ -62,8 +62,8 @@ OpenAPI spec version: 0.0.1 packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll - - packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll + + packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll @@ -83,7 +83,7 @@ OpenAPI spec version: 0.0.1 - packages\CyberSource.Authentication.0.0.0.16\lib\AuthenticationSdk.dll + packages\CyberSource.Authentication.0.0.0.15\lib\AuthenticationSdk.dll False diff --git a/cybersource-rest-client-dotnet.sln b/cybersource-rest-client-dotnet.sln index 9f117209..59c210fe 100644 --- a/cybersource-rest-client-dotnet.sln +++ b/cybersource-rest-client-dotnet.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{6FEB21B8-F756-490B-8B2C-DBD84469CC78}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{060F0FE2-4715-444F-8C0C-3CB1064EB32E}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet.Test", "test\cybersource-rest-client-dotnet.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6FEB21B8-F756-490B-8B2C-DBD84469CC78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6FEB21B8-F756-490B-8B2C-DBD84469CC78}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6FEB21B8-F756-490B-8B2C-DBD84469CC78}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6FEB21B8-F756-490B-8B2C-DBD84469CC78}.Release|Any CPU.Build.0 = Release|Any CPU + {060F0FE2-4715-444F-8C0C-3CB1064EB32E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {060F0FE2-4715-444F-8C0C-3CB1064EB32E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {060F0FE2-4715-444F-8C0C-3CB1064EB32E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {060F0FE2-4715-444F-8C0C-3CB1064EB32E}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/docs/CreateBundledDecisionManagerCaseRequest.md b/docs/CreateBundledDecisionManagerCaseRequest.md index 2fda7597..56708a7c 100644 --- a/docs/CreateBundledDecisionManagerCaseRequest.md +++ b/docs/CreateBundledDecisionManagerCaseRequest.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **AcquirerInformation** | [**Ptsv2paymentsAcquirerInformation**](Ptsv2paymentsAcquirerInformation.md) | | [optional] **RecurringPaymentInformation** | [**Ptsv2paymentsRecurringPaymentInformation**](Ptsv2paymentsRecurringPaymentInformation.md) | | [optional] **ConsumerAuthenticationInformation** | [**Riskv1decisionsConsumerAuthenticationInformation**](Riskv1decisionsConsumerAuthenticationInformation.md) | | [optional] +**WatchlistScreeningInformation** | [**Ptsv2paymentsWatchlistScreeningInformation**](Ptsv2paymentsWatchlistScreeningInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CreatePaymentRequest.md b/docs/CreatePaymentRequest.md index 062b18a1..2a6b2a21 100644 --- a/docs/CreatePaymentRequest.md +++ b/docs/CreatePaymentRequest.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **RiskInformation** | [**Ptsv2paymentsRiskInformation**](Ptsv2paymentsRiskInformation.md) | | [optional] **AcquirerInformation** | [**Ptsv2paymentsAcquirerInformation**](Ptsv2paymentsAcquirerInformation.md) | | [optional] **RecurringPaymentInformation** | [**Ptsv2paymentsRecurringPaymentInformation**](Ptsv2paymentsRecurringPaymentInformation.md) | | [optional] +**WatchlistScreeningInformation** | [**Ptsv2paymentsWatchlistScreeningInformation**](Ptsv2paymentsWatchlistScreeningInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymentsApi.md b/docs/PaymentsApi.md index d6722dba..f9f30b6b 100644 --- a/docs/PaymentsApi.md +++ b/docs/PaymentsApi.md @@ -15,7 +15,7 @@ Method | HTTP request | Description Process a Payment -A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. +A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. ### Example ```csharp diff --git a/docs/PtsV2PaymentsPost201Response.md b/docs/PtsV2PaymentsPost201Response.md index 8ddf555d..027fb701 100644 --- a/docs/PtsV2PaymentsPost201Response.md +++ b/docs/PtsV2PaymentsPost201Response.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **BuyerInformation** | [**PtsV2PaymentsPost201ResponseBuyerInformation**](PtsV2PaymentsPost201ResponseBuyerInformation.md) | | [optional] **RiskInformation** | [**PtsV2PaymentsPost201ResponseRiskInformation**](PtsV2PaymentsPost201ResponseRiskInformation.md) | | [optional] **ConsumerAuthenticationInformation** | [**PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation**](PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md) | | [optional] +**WatchlistScreeningInformation** | [**PtsV2PaymentsPost201ResponseWatchlistScreeningInformation**](PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PtsV2PaymentsPost201ResponseErrorInformation.md b/docs/PtsV2PaymentsPost201ResponseErrorInformation.md index 0745826b..347759c0 100644 --- a/docs/PtsV2PaymentsPost201ResponseErrorInformation.md +++ b/docs/PtsV2PaymentsPost201ResponseErrorInformation.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Reason** | **string** | The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - DECLINED_CHECK - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION - ACH_VERIFICATION_FAILED - DECISION_PROFILE_REVIEW - CONSUMER_AUTHENTICATION_REQUIRED - CONSUMER_AUTHENTICATION_FAILED - ALLOWABLE_PIN_RETRIES_EXCEEDED - PROCESSOR_ERROR | [optional] +**Reason** | **string** | The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - DECLINED_CHECK - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION - ACH_VERIFICATION_FAILED - DECISION_PROFILE_REVIEW - CONSUMER_AUTHENTICATION_REQUIRED - CONSUMER_AUTHENTICATION_FAILED - ALLOWABLE_PIN_RETRIES_EXCEEDED - PROCESSOR_ERROR - CUSTOMER_WATCHLIST_MATCH - ADDRESS_COUNTRY_WATCHLIST_MATCH - EMAIL_COUNTRY_WATCHLIST_MATCH - IP_COUNTRY_WATCHLIST_MATCH - 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/PtsV2PaymentsPost201ResponseOrderInformation.md b/docs/PtsV2PaymentsPost201ResponseOrderInformation.md index 7c0e40ee..5da6864e 100644 --- a/docs/PtsV2PaymentsPost201ResponseOrderInformation.md +++ b/docs/PtsV2PaymentsPost201ResponseOrderInformation.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **AmountDetails** | [**PtsV2PaymentsPost201ResponseOrderInformationAmountDetails**](PtsV2PaymentsPost201ResponseOrderInformationAmountDetails.md) | | [optional] **InvoiceDetails** | [**PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails**](PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails.md) | | [optional] **RewardPointsDetails** | [**PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails**](PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails.md) | | [optional] +**BillTo** | [**PtsV2PaymentsPost201ResponseOrderInformationBillTo**](PtsV2PaymentsPost201ResponseOrderInformationBillTo.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PtsV2PaymentsPost201ResponseOrderInformationBillTo.md b/docs/PtsV2PaymentsPost201ResponseOrderInformationBillTo.md new file mode 100644 index 00000000..81ab9c04 --- /dev/null +++ b/docs/PtsV2PaymentsPost201ResponseOrderInformationBillTo.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PtsV2PaymentsPost201ResponseOrderInformationBillTo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AlternatePhoneNumberVerificationStatus** | **string** | #### Visa Platform Connect Contains one of the following values that will identify the phone number result code in the account verification response message: 'VERIFIED' - Customer verified 'UNVERIFIED' - Customer not verified 'FAILED' - Customer verification failed | [optional] +**AlternateEmailVerificationStatus** | **string** | #### Visa Platform Connect Contains one of the following values that will identify the phone number result code in the account verification response message: 'VERIFIED' - Customer verified 'UNVERIFIED' - Customer not verified 'FAILED' - Customer verification failed | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.md b/docs/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.md index 28967b1c..93cd401d 100644 --- a/docs/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.md +++ b/docs/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCard.md @@ -6,10 +6,11 @@ Name | Type | Description | Notes **Prefix** | **string** | First six digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For details, see `token_prefix` field description in [Google Pay Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Google_Pay_SCMP_API/html/) | [optional] **Suffix** | **string** | Last four digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For details, see `token_suffix` field description in [Google Pay Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Google_Pay_SCMP_API/html/) | [optional] **Type** | **string** | Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International | [optional] -**AssuranceLevel** | **string** | Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. | [optional] +**AssuranceLevel** | **string** | Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. | [optional] **ExpirationMonth** | **string** | One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | [optional] **ExpirationYear** | **string** | One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) | [optional] **RequestorId** | **string** | Value that identifies your business and indicates that the cardholder’s account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider’s database. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. #### PIN debit Optional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | [optional] +**AssuranceMethod** | **string** | Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect** | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.md b/docs/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.md index 2a848229..f7db025a 100644 --- a/docs/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.md +++ b/docs/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResults.md @@ -13,8 +13,14 @@ Name | Type | Description | Notes **PostalCodeRaw** | **string** | Raw Electronic Verification response code from the processor for the customer’s postal code. | [optional] **Street** | **string** | Mapped Electronic Verification response code for the customer’s street address. For details, see `auth_ev_street` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **StreetRaw** | **string** | Raw Electronic Verification response code from the processor for the customer’s street address. | [optional] -**Name** | **string** | Mapped Electronic Verification response code for the customer’s name. | [optional] -**NameRaw** | **string** | Raw Electronic Verification response code from the processor for the customer’s name. | [optional] +**Name** | **string** | #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match | [optional] +**NameRaw** | **string** | #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match | [optional] +**FirstNameRaw** | **string** | #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s first name. Valid values : '01' Match '50' Partial Match '99' No Match | [optional] +**FirstName** | **string** | #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s first name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match | [optional] +**MiddleNameRaw** | **string** | #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s middle name. Valid values : '01' Match '50' Partial Match '99' No Match | [optional] +**MiddleName** | **string** | #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s middle name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match | [optional] +**LastNameRaw** | **string** | #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s last name. Valid values : '01' Match '50' Partial Match '99' No Match | [optional] +**LastName** | **string** | #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s last name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.md b/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md similarity index 79% rename from docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.md rename to docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md index b0ce25a3..8b10172c 100644 --- a/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.md +++ b/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md @@ -1,11 +1,11 @@ -# CyberSource.Model.RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation +# CyberSource.Model.PtsV2PaymentsPost201ResponseWatchlistScreeningInformation ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **IpCountryConfidence** | **int?** | Likelihood that the country associated with the customer’s IP address was identified correctly. Returns a value from 1–100, where 100 indicates the highest likelihood. If the country cannot be determined, the value is –1. | [optional] **InfoCodes** | **List<string>** | Returned when the Denied Parties List check (first two codes) or the export service (all others) would have declined the transaction. This field can contain one or more of these values: - `MATCH-DPC`: Denied Parties List match. - `UNV-DPC`: Denied Parties List unavailable. - `MATCH-BCO`: Billing country restricted. - `MATCH-EMCO`: Email country restricted. - `MATCH-HCO`: Host name country restricted. - `MATCH-IPCO`: IP country restricted. - `MATCH-SCO`: Shipping country restricted. | [optional] -**WatchList** | [**RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList**](RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.md) | | [optional] +**WatchList** | [**PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList**](PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.md b/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.md new file mode 100644 index 00000000..8224711d --- /dev/null +++ b/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList.md @@ -0,0 +1,9 @@ +# CyberSource.Model.PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Matches** | [**List<PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches>**](PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.md b/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.md similarity index 89% rename from docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.md rename to docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.md index a2841501..0e1f5b97 100644 --- a/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.md +++ b/docs/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches.md @@ -1,4 +1,4 @@ -# CyberSource.Model.RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches +# CyberSource.Model.PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches ## Properties Name | Type | Description | Notes diff --git a/docs/Ptsv2paymentsMerchantInformation.md b/docs/Ptsv2paymentsMerchantInformation.md index 543fb350..1d297aa1 100644 --- a/docs/Ptsv2paymentsMerchantInformation.md +++ b/docs/Ptsv2paymentsMerchantInformation.md @@ -17,6 +17,8 @@ Name | Type | Description | Notes **SuccessUrl** | **string** | customer would be redirected to this url based on the decision of the transaction | [optional] **FailureUrl** | **string** | customer would be redirected to this url based on the decision of the transaction | [optional] **ReturnUrl** | **string** | URL for displaying payment results to the consumer (notifications) after the transaction is processed. Usually this URL belongs to merchant and its behavior is defined by merchant | [optional] +**PartnerIdCode** | **string** | #### Visa Platform Connect This field may be used for transactions on accounts issued under co-branding agreements when one of the co-branding partners. | [optional] +**ServiceLocation** | [**Ptsv2paymentsMerchantInformationServiceLocation**](Ptsv2paymentsMerchantInformationServiceLocation.md) | | [optional] **MerchantName** | **string** | Use this field only if you are requesting payment with Payer Authentication service together. Your company’s name as you want it to appear to the customer in the issuing bank’s authentication form. This value overrides the value specified by your merchant bank. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md b/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md index 5c3fcfa0..8d24d810 100644 --- a/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md +++ b/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **Phone** | **string** | Merchant phone as contact information for CNP transactions | [optional] **Url** | **string** | Address of company's website provided by merchant | [optional] **CountryOfOrigin** | **string** | #### Visa Platform Connect This field will indicate merchant country of origin | [optional] +**CustomerServicePhoneNumber** | **string** | #### Visa Platform Connect Indicates customer service phone number of Merchant. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsMerchantInformationServiceLocation.md b/docs/Ptsv2paymentsMerchantInformationServiceLocation.md new file mode 100644 index 00000000..fdd46d52 --- /dev/null +++ b/docs/Ptsv2paymentsMerchantInformationServiceLocation.md @@ -0,0 +1,12 @@ +# CyberSource.Model.Ptsv2paymentsMerchantInformationServiceLocation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locality** | **string** | #### Visa Platform Connect Merchant’s service location city name. When merchant provides services from a location other than the location identified as merchant location. | [optional] +**CountrySubdivisionCode** | **string** | #### Visa Platform Connect Merchant’s service location country subdivision code. When merchant provides services from a location other than the location identified as merchant location. | [optional] +**CountryCode** | **string** | #### Visa Platform Connect Merchant’s service location country code. When merchant provides services from a location other than the location identified as merchant location. | [optional] +**PostalCode** | **string** | #### Visa Platform Connect Merchant’s service location postal code. When merchant provides services from a location other than the location identified as merchant location. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Ptsv2paymentsOrderInformationBillTo.md b/docs/Ptsv2paymentsOrderInformationBillTo.md index 48bec855..7d566f01 100644 --- a/docs/Ptsv2paymentsOrderInformationBillTo.md +++ b/docs/Ptsv2paymentsOrderInformationBillTo.md @@ -25,6 +25,8 @@ Name | Type | Description | Notes **PhoneNumber** | **string** | Customer’s phone number. It is recommended that you include the country code when the order is from outside the U.S. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### CyberSource through VisaNet Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. #### For Payouts: This field may be sent only for FDC Compass. #### OmniPay Direct Optional field. #### SIX Optional field. #### TSYS Acquiring Solutions Optional field. #### Worldpay VAP Optional field. #### All other processors Not used. | [optional] **PhoneType** | **string** | Customer's phone number type. #### For Payouts: This field may be sent only for FDC Compass. Possible Values: * day * home * night * work | [optional] **VerificationStatus** | **string** | Whether buyer has verified their identity. Used in case of PayPal transactions. Possible Values: * VERIFIED * UNVERIFIED | [optional] +**AlternatePhoneNumber** | **string** | #### Visa Platform Connect contains customer’s alternate phone number. | [optional] +**AlternateEmail** | **string** | #### Visa Platform Connect contains customer’s alternate email address. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsOrderInformationLineItems.md b/docs/Ptsv2paymentsOrderInformationLineItems.md index 6bab53a2..59375f6e 100644 --- a/docs/Ptsv2paymentsOrderInformationLineItems.md +++ b/docs/Ptsv2paymentsOrderInformationLineItems.md @@ -34,6 +34,8 @@ Name | Type | Description | Notes **ShippingDestinationTypes** | **string** | Destination to where the item will be shipped. Example: Commercial, Residential, Store | [optional] **Gift** | **bool?** | This field is only used in DM service. Determines whether to assign risk to the order if the billing and shipping addresses specify different cities, states, or countries. This field can contain one of the following values: - true: Orders are assigned only slight additional risk if billing and shipping addresses are different. - false: Orders are assigned higher additional risk if billing and shipping addresses are different. | [optional] **Passenger** | [**Ptsv2paymentsOrderInformationPassenger**](Ptsv2paymentsOrderInformationPassenger.md) | | [optional] +**AllowedExportCountries** | **List<string>** | | [optional] +**RestrictedExportCountries** | **List<string>** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md b/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md index b0f29db2..6b8644b5 100644 --- a/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md +++ b/docs/Ptsv2paymentsPaymentInformationTokenizedCard.md @@ -10,10 +10,11 @@ Name | Type | Description | Notes **Cryptogram** | **string** | This field contains token information. | [optional] **RequestorId** | **string** | Value that identifies your business and indicates that the cardholder’s account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider’s database. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. #### PIN debit Optional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | [optional] **TransactionType** | **string** | Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used. | [optional] -**AssuranceLevel** | **string** | Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. | [optional] +**AssuranceLevel** | **string** | Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**_/_**Visa Platform Connect** are advised not to use this field. | [optional] **StorageMethod** | **string** | Type of technology used in the device to store token data. Possible values: - `001`: Secure Element (SE). Smart card or memory with restricted access and encryption to prevent data tampering. For storing payment credentials, a SE is tested against a set of requirements defined by the payment networks. **Note** This field is supported only for _FDC Compass_. - 002: Host Card Emulation (HCE). Emulation of a smart card by using software to create a virtual and exact representation of the card. Sensitive data is stored in a database that is hosted in the cloud. For storing payment credentials, a database must meet very stringent security requirements that exceed PCI DSS. **Note** This field is supported only for _FDC Compass_. | [optional] **SecurityCode** | **string** | Card Verification Number (CVN). #### Ingenico ePayments Do not include this field when **commerceIndicator=recurring**. **Note** Ingenico ePayments was previously called _Global Collect_. For details, see `customer_cc_cv_number` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **SecurityCodeIndicator** | **string** | Indicates whether a CVN code was sent. Possible values: - `0` (default): CVN service not requested. This default value is used when you do not include `securityCode` field in the request. - `1` (default): CVN service requested and supported. This default value is used when you include `securityCode` field in the request. - `2`: CVN on credit card is illegible. - `9`: CVN was not imprinted on credit card. #### FDMS Nashville Required for American Express cards; otherwise, optional. #### TSYS Acquiring Solutions Optional if `pointOfSaleInformation.entryMode=keyed`; otherwise, not used. #### All other processors Optional. | [optional] +**AssuranceMethod** | **string** | Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect** | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsPointOfSaleInformation.md b/docs/Ptsv2paymentsPointOfSaleInformation.md index 0f42f51c..c6a1b08f 100644 --- a/docs/Ptsv2paymentsPointOfSaleInformation.md +++ b/docs/Ptsv2paymentsPointOfSaleInformation.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **TerminalInputCapability** | **List<string>** | Complete list of card input methods supported by the terminal. Possible values: - `Keyed`: Terminal can accept card data that is entered manually. - `Swiped`: Terminal can accept card data from a magnetic stripe reader. - `Contact`: Terminal can accept card data in EMV contact mode (\"dipping a card\"). - `Contactless`: Terminal can accept card data in EMV contactless mode (\"tapping a card\"). - `BarCode`: Terminal can read bar codes. - `QRcode`: Terminal can read or scan QR codes. - `OCR`: Terminal can perform optical character recognition (OCT) on the card. **EXAMPLE**: [\"Keyed\",\"Swiped\",\"Contact\",\"Contactless\"] #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX | [optional] **TerminalCardCaptureCapability** | **string** | Indicates whether the terminal can capture the card. Possible values: - `1`: Terminal can capture card. - `0`: Terminal cannot capture card. For authorizations and credits, this field is supported only by these processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct Optional field. | [optional] **TerminalOutputCapability** | **string** | Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display - 5: Merchant terminal supports purchase only approvals This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX - VisaNet Optional field. | [optional] -**TerminalPinCapability** | **int?** | Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX Required field for authorization or credit of PIN transactions. | [optional] +**TerminalPinCapability** | **int?** | Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX - Visa Platform Connect Required field for authorization or credit of PIN transactions. | [optional] **PinEntrySolution** | **string** | This field will contain the type of Pin Pad the terminal has. Possible values: - PCI-SPoC: Where the pin is being put on screen - PCI-PTS: Where the pin is being put on actual hardware pin pad | [optional] **DeviceId** | **string** | Value created by the client software that uniquely identifies the POS device. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX. | [optional] **PinBlockEncodingFormat** | **int?** | Format that is used to encode the PIN block. This value is provided by the client software that is installed on the POS terminal. Possible values: - `0`: ISO 9564 format 0 - `1`: ISO 9564 format 1 - `2`: ISO 9564 format 2 - `3`: ISO 9564 format 3 #### Used by **Authorization, PIN Debit** - Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. - Required for PIN debit credit or PIN debit purchase. For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also supported by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | - -- | - -- | - -- | - -- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes | #### GPX For chip and online PIN transactions for authorization, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Offline PIN - Chip and Signature For PIN Debit Purchase and Credit Service transactions, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Online PIN | [optional] diff --git a/docs/Ptsv2paymentsProcessingInformation.md b/docs/Ptsv2paymentsProcessingInformation.md index 6e5fead9..664c7a49 100644 --- a/docs/Ptsv2paymentsProcessingInformation.md +++ b/docs/Ptsv2paymentsProcessingInformation.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ActionList** | **List<string>** | Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. | [optional] +**ActionList** | **List<string>** | Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service. | [optional] **EnableEscrowOption** | **bool?** | Indicates whether to use the customer’s escrow agreement. Possible values: - `true`: yes, use the customer’s escrow agreement. - `false`: no, do not use the customer’s escrow agreement. | [optional] **ActionTokenTypes** | **List<string>** | CyberSource tokens types you are performing a create on. If not supplied the default token type for the merchants token vault will be used. Valid values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress | [optional] **Capture** | **bool?** | Indicates whether to also include a capture in the submitted authorization request or not. Possible values: - `true`: Include a capture with an authorization request. - `false`: (default) Do not include a capture with an authorization request. #### Used by **Authorization and Capture** Optional field. | [optional] [default to false] diff --git a/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md b/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md index 9d6f22cd..2324a96c 100644 --- a/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md +++ b/docs/Ptsv2paymentsProcessingInformationAuthorizationOptions.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **DebtRecoveryIndicator** | **string** | Indicates if transaction is a debt recovery request Possible values: - **true** - **false** | [optional] **DeferredAuthIndicator** | **bool?** | Flag that indicates whether the authorization request was delayed because connectivity was interrupted. Possible values: - `true` (Deferred authorization) - `false` (default: Not a deferred authorization) | [optional] **CashAdvanceIndicator** | **bool?** | This API field enables the merchant to indicate that a given transaction is Cash Advance. Cash advance or Cash disbursement functionality allows a merchant to dispense cash at a point of sale. It provides the ability of a POS system to act like an ATM. These terminals are typically seen in bank branches where customers can use their card and withdraw cash or at merchant locations where ATMs are sparse. Possible values: - `true` (Cash advance is supported) - `false` (default: cash advance is not supported) | [optional] +**SplitPaymentTransaction** | **bool?** | #### Visa Platform Connect Indicates split payment transaction. A split payment allows the use of two payment methods for a single transaction. Possible values: - `true` (split payment transaction is supported) - `false` (default: split payment transaction is not supported) | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Ptsv2paymentsWatchlistScreeningInformation.md b/docs/Ptsv2paymentsWatchlistScreeningInformation.md new file mode 100644 index 00000000..5912f25c --- /dev/null +++ b/docs/Ptsv2paymentsWatchlistScreeningInformation.md @@ -0,0 +1,12 @@ +# CyberSource.Model.Ptsv2paymentsWatchlistScreeningInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AddressOperator** | **string** | Parts of the customer’s information that must match with an entry in the DPL (denied parties list) before a match occurs. This field can contain one of the following values: - AND: (default) The customer’s name or company and the customer’s address must appear in the database. - OR: The customer’s name must appear in the database. - IGNORE: You want the service to detect a match only of the customer’s name or company but not of the address. | [optional] +**Weights** | [**Ptsv2paymentsWatchlistScreeningInformationWeights**](Ptsv2paymentsWatchlistScreeningInformationWeights.md) | | [optional] +**SanctionLists** | **List<string>** | Use this field to specify which list(s) you want checked with the request. The reply will include the list name as well as the response data. To check against multiple lists, enter multiple list codes separated by a caret (^). For more information, see \"Restricted and Denied Parties List,\" page 68. | [optional] +**ProceedOnMatch** | **bool?** | Indicates whether the transaction should proceed if there is a match. Possible values: - `true`: Transaction proceeds even when match is found in the Denied Parties List. The match is noted in the response. - `false`: Normal watchlist screening behavior occurs. (Transaction stops if a match to DPL occurs. Transaction proceeds if no match.) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.md b/docs/Ptsv2paymentsWatchlistScreeningInformationWeights.md similarity index 95% rename from docs/Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.md rename to docs/Ptsv2paymentsWatchlistScreeningInformationWeights.md index 3c2635a3..3bc13104 100644 --- a/docs/Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.md +++ b/docs/Ptsv2paymentsWatchlistScreeningInformationWeights.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Riskv1exportcomplianceinquiriesExportComplianceInformationWeights +# CyberSource.Model.Ptsv2paymentsWatchlistScreeningInformationWeights ## Properties Name | Type | Description | Notes diff --git a/docs/Ptsv2payoutsProcessingInformationPayoutsOptions.md b/docs/Ptsv2payoutsProcessingInformationPayoutsOptions.md index 5be81904..c08cfcc5 100644 --- a/docs/Ptsv2payoutsProcessingInformationPayoutsOptions.md +++ b/docs/Ptsv2payoutsProcessingInformationPayoutsOptions.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **AcquirerBin** | **string** | This code identifies the financial institution acting as the acquirer of this customer transaction. The acquirer is the member or system user that signed the merchant or ADM or dispensed cash. This number is usually Visa-assigned. * Applicable only for CTV for Payouts. | [optional] **RetrievalReferenceNumber** | **string** | This field contains a number that is used with other data elements as a key to identify and track all messages related to a given cardholder transaction; that is, to a given transaction set. Format: Positions 1-4: The `yddd` equivalent of the date, where `y` = 0-9 and `ddd` = 001 – 366. Positions 5-12: A unique identification number generated by the merchant * Applicable only for CTV for Payouts. | [optional] **AccountFundingReferenceId** | **string** | Visa-generated transaction identifier (TID) that is unique for each original authorization and financial request. * Applicable only for CTV for Payouts. | [optional] +**DeferredDateTime** | **string** | #### Visa Platform Connect Contains date and time value indicating scheduled deferred OCT. Format is : 'yyyyMMddHHmm', where 'YYYY' = year 'MM' = month 'DD' = day 'hh' = hour 'mm' = minutes | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RiskV1DecisionsPost201Response.md b/docs/RiskV1DecisionsPost201Response.md index f87c1bd7..8fe4b510 100644 --- a/docs/RiskV1DecisionsPost201Response.md +++ b/docs/RiskV1DecisionsPost201Response.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **ClientReferenceInformation** | [**RiskV1DecisionsPost201ResponseClientReferenceInformation**](RiskV1DecisionsPost201ResponseClientReferenceInformation.md) | | [optional] **OrderInformation** | [**RiskV1DecisionsPost201ResponseOrderInformation**](RiskV1DecisionsPost201ResponseOrderInformation.md) | | [optional] **ConsumerAuthenticationInformation** | [**RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation**](RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation.md) | | [optional] +**WatchlistScreeningInformation** | [**PtsV2PaymentsPost201ResponseWatchlistScreeningInformation**](PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md) | | [optional] **ErrorInformation** | [**RiskV1DecisionsPost201ResponseErrorInformation**](RiskV1DecisionsPost201ResponseErrorInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RiskV1DecisionsPost201ResponseErrorInformation.md b/docs/RiskV1DecisionsPost201ResponseErrorInformation.md index d28e64e9..5dd8df70 100644 --- a/docs/RiskV1DecisionsPost201ResponseErrorInformation.md +++ b/docs/RiskV1DecisionsPost201ResponseErrorInformation.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Reason** | **string** | The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` | [optional] +**Reason** | **string** | The reason of the status. Possible values: - `EXPIRED_CARD` - `SCORE_EXCEEDS_THRESHOLD` - `DECISION_PROFILE_REVIEW` - `DECISION_PROFILE_REJECT` - `CONSUMER_AUTHENTICATION_REQUIRED` - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_FAILED` - `DECISION_PROFILE_CHALLENGE` - `CUSTOMER_WATCHLIST_MATCH` - `ADDRESS_COUNTRY_WATCHLIST_MATCH` - `EMAIL_COUNTRY_WATCHLIST_MATCH` - `IP_COUNTRY_WATCHLIST_MATCH` | [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/RiskV1ExportComplianceInquiriesPost201Response.md b/docs/RiskV1ExportComplianceInquiriesPost201Response.md index 21674460..0af18e7a 100644 --- a/docs/RiskV1ExportComplianceInquiriesPost201Response.md +++ b/docs/RiskV1ExportComplianceInquiriesPost201Response.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **Status** | **string** | The status for the call can be: - COMPLETED - INVALID_REQUEST - DECLINED | [optional] **Message** | **string** | The message describing the reason of the status. Value can be - The customer matched the Denied Parties List - The Export bill_country/ship_country match - Export email_country match - Export hostname_country/ip_country match | [optional] **ClientReferenceInformation** | [**RiskV1DecisionsPost201ResponseClientReferenceInformation**](RiskV1DecisionsPost201ResponseClientReferenceInformation.md) | | [optional] -**ExportComplianceInformation** | [**RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation**](RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation.md) | | [optional] +**ExportComplianceInformation** | [**PtsV2PaymentsPost201ResponseWatchlistScreeningInformation**](PtsV2PaymentsPost201ResponseWatchlistScreeningInformation.md) | | [optional] **ErrorInformation** | [**RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation**](RiskV1ExportComplianceInquiriesPost201ResponseErrorInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.md b/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.md deleted file mode 100644 index a0fdd02f..00000000 --- a/docs/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CyberSource.Model.RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Matches** | [**List<RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches>**](RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/Riskv1decisionsOrderInformationLineItems.md b/docs/Riskv1decisionsOrderInformationLineItems.md index e43c2c5d..e753595f 100644 --- a/docs/Riskv1decisionsOrderInformationLineItems.md +++ b/docs/Riskv1decisionsOrderInformationLineItems.md @@ -17,6 +17,8 @@ Name | Type | Description | Notes **Passenger** | [**Ptsv2paymentsOrderInformationPassenger**](Ptsv2paymentsOrderInformationPassenger.md) | | [optional] **ShippingDestinationTypes** | **string** | Destination to where the item will be shipped. Example: Commercial, Residential, Store | [optional] **TaxAmount** | **string** | Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. Optional field. #### Airlines processing Tax portion of the order amount. This value cannot exceed 99999999999999 (fourteen 9s). Format: English characters only. Optional request field for a line item. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Note if you send this field in your tax request, the value in the field will override the tax engine | [optional] +**AllowedExportCountries** | **List<string>** | | [optional] +**RestrictedExportCountries** | **List<string>** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Riskv1decisionsProcessingInformation.md b/docs/Riskv1decisionsProcessingInformation.md index e9295154..ad2f235d 100644 --- a/docs/Riskv1decisionsProcessingInformation.md +++ b/docs/Riskv1decisionsProcessingInformation.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ActionList** | **List<string>** | Use CONSUMER_AUTHENTICATION to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. | [optional] +**ActionList** | **List<string>** | - Use `CONSUMER_AUTHENTICATION` to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. - Use `WATCHLIST_SCREENING` when you want to call Watchlist Screening service. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Riskv1exportcomplianceinquiriesExportComplianceInformation.md b/docs/Riskv1exportcomplianceinquiriesExportComplianceInformation.md index c8962092..6ef10bc7 100644 --- a/docs/Riskv1exportcomplianceinquiriesExportComplianceInformation.md +++ b/docs/Riskv1exportcomplianceinquiriesExportComplianceInformation.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AddressOperator** | **string** | Parts of the customer’s information that must match with an entry in the DPL (denied parties list) before a match occurs. This field can contain one of the following values: - AND: (default) The customer’s name or company and the customer’s address must appear in the database. - OR: The customer’s name must appear in the database. - IGNORE: You want the service to detect a match only of the customer’s name or company but not of the address. | [optional] -**Weights** | [**Riskv1exportcomplianceinquiriesExportComplianceInformationWeights**](Riskv1exportcomplianceinquiriesExportComplianceInformationWeights.md) | | [optional] +**Weights** | [**Ptsv2paymentsWatchlistScreeningInformationWeights**](Ptsv2paymentsWatchlistScreeningInformationWeights.md) | | [optional] **SanctionLists** | **List<string>** | Use this field to specify which list(s) you want checked with the request. The reply will include the list name as well as the response data. To check against multiple lists, enter multiple list codes separated by a caret (^). For more information, see \"Restricted and Denied Parties List,\" page 68. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.md b/docs/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.md index 61952e02..6d1bfcd7 100644 --- a/docs/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.md +++ b/docs/TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Email** | **string** | Mapped Electronic Verification response code for the customer’s email address. For details, see `auth_ev_email` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **EmailRaw** | **string** | Raw Electronic Verification response code from the processor for the customer’s email address. | [optional] -**Name** | **string** | Mapped Electronic Verification response code for the customer’s name. | [optional] -**NameRaw** | **string** | Raw Electronic Verification response code from the processor for the customer’s name. | [optional] +**Name** | **string** | #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match | [optional] +**NameRaw** | **string** | #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match | [optional] **PhoneNumber** | **string** | Mapped Electronic Verification response code for the customer’s phone number. For details, see `auth_ev_phone_number` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **PhoneNumberRaw** | **string** | Raw Electronic Verification response code from the processor for the customer’s phone number. | [optional] **Street** | **string** | Mapped Electronic Verification response code for the customer’s street address. For details, see `auth_ev_street` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index 1b16aee1..4a2a0032 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -263,7 +263,7 @@ "categoryTagArray": [ { "name": "Payments", - "description": "For more information about Payments transactions, see the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html)." + "description": "For more information about Payments transactions, see the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html)." }, { "name": "Transaction_Batches", @@ -355,7 +355,7 @@ "/pts/v2/payments": { "post": { "summary": "Process a Payment", - "description": "A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc..\n\nA payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html).\n\nAuthorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.\n", + "description": "A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc..\n\nA payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html).\n\nAuthorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.\n", "tags": [ "payments" ], @@ -364,7 +364,7 @@ "categoryTag": "Payments", "testingTriggers": "https://developer.cybersource.com/hello-world/testing-guide.html", "responseCodes": "https://developer.cybersource.com/api/reference/response-codes.html", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -445,7 +445,7 @@ "properties": { "actionList": { "type": "array", - "description": "Array of actions (one or more) to be included in the payment to invoke bundled services along with payment.\n\nPossible values are one or more of follows:\n\n - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s).\n\n - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request.\n\n - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request.\n\n - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request.\n \n - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested.\n", + "description": "Array of actions (one or more) to be included in the payment to invoke bundled services along with payment.\n\nPossible values are one or more of follows:\n\n - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s).\n\n - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request.\n\n - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request.\n\n - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request.\n \n - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested.\n\n - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service.\n", "items": { "type": "string" } @@ -646,6 +646,10 @@ "cashAdvanceIndicator": { "type": "boolean", "description": "This API field enables the merchant to indicate that a given transaction is Cash Advance.\n\nCash advance or Cash disbursement functionality allows a merchant to dispense cash at a point of sale.\nIt provides the ability of a POS system to act like an ATM. These terminals are typically seen in bank\nbranches where customers can use their card and withdraw cash or at merchant locations where ATMs are sparse.\n\nPossible values:\n - `true` (Cash advance is supported)\n - `false` (default: cash advance is not supported)\n" + }, + "splitPaymentTransaction": { + "type": "boolean", + "description": "#### Visa Platform Connect\nIndicates split payment transaction. A split payment allows the use of two payment methods for a single transaction.\n\nPossible values:\n - `true` (split payment transaction is supported)\n - `false` (default: split payment transaction is not supported)\n" } } }, @@ -1032,7 +1036,7 @@ "assuranceLevel": { "type": "string", "maxLength": 2, - "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n" + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n\n**Note** Merchants supported for **CyberSource through VisaNet**/**Visa Platform Connect** are advised not to use this field.\n" }, "storageMethod": { "type": "string", @@ -1048,6 +1052,11 @@ "type": "string", "maxLength": 1, "description": "Indicates whether a CVN code was sent. Possible values:\n\n - `0` (default): CVN service not requested. This default value is used when you do not include\n `securityCode` field in the request.\n - `1` (default): CVN service requested and supported. This default value is used when you include\n `securityCode` field in the request.\n - `2`: CVN on credit card is illegible.\n - `9`: CVN was not imprinted on credit card.\n\n#### FDMS Nashville\nRequired for American Express cards; otherwise, optional.\n\n#### TSYS Acquiring Solutions\nOptional if `pointOfSaleInformation.entryMode=keyed`; otherwise, not used.\n\n#### All other processors\nOptional.\n" + }, + "assuranceMethod": { + "type": "string", + "maxLength": 2, + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **Visa Platform Connect**\n" } } }, @@ -1583,6 +1592,16 @@ "verificationStatus": { "type": "string", "description": "Whether buyer has verified their identity. Used in case of PayPal transactions.\n\nPossible Values:\n* VERIFIED\n* UNVERIFIED\n" + }, + "alternatePhoneNumber": { + "type": "string", + "maxLength": 15, + "description": "#### Visa Platform Connect\ncontains customer\u2019s alternate phone number.\n" + }, + "alternateEmail": { + "type": "string", + "maxLength": 255, + "description": "#### Visa Platform Connect\ncontains customer\u2019s alternate email address.\n" } } }, @@ -1909,6 +1928,20 @@ "description": "Passenger's nationality country. Use the two character [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf)." } } + }, + "allowedExportCountries": { + "type": "array", + "items": { + "type": "string", + "description": "Comma-separated list of ISO country codes for countries to which the product can be exported.\n\nFor all possible values, see the \"Country and Territory Postal System Categories\" section in the [CyberSource Verification Services Using the SCMP API.]\n(https://apps.cybersource.com/library/documentation/dev_guides/Verification_Svcs_SCMP_API/html/)\n\nIf country codes are not specified, or if this field is not included, the U.S. government\u2019s country\ncode list is used.\n\n**Note** The default list of countries restricted by the U.S. always applies. Any country not\nspecifically added to the export field is considered restricted.\n" + } + }, + "restrictedExportCountries": { + "type": "array", + "items": { + "type": "string", + "description": "Comma-separated list of ISO country codes for countries to which the product cannot be exported.\n\nFor all possible values, see the \"Country and Territory Postal System Categories\" section in the [CyberSource Verification Services Using the SCMP API.]\n(https://apps.cybersource.com/library/documentation/dev_guides/Verification_Svcs_SCMP_API/html/)\n\n**Note** If the export field is also present, the content of the `restrictedExportCountries`\nfield overrides the content of export.\n" + } } } } @@ -2313,6 +2346,11 @@ "type": "string", "maxLength": 2, "description": "#### Visa Platform Connect\nThis field will indicate merchant country of origin\n" + }, + "customerServicePhoneNumber": { + "type": "string", + "maxLength": 27, + "description": "#### Visa Platform Connect\nIndicates customer service phone number of Merchant.\n" } } }, @@ -2395,7 +2433,37 @@ "type": "string", "maxLength": 255, "minLength": 7, - "description": "URL for displaying payment results to the consumer (notifications) after the transaction is processed. Usually this URL belongs to merchant and its behavior is defined by merchant\n" + "description": "URL for displaying payment results to the consumer (notifications) after the transaction is processed. Usually\nthis URL belongs to merchant and its behavior is defined by merchant\n" + }, + "partnerIdCode": { + "type": "string", + "maxLength": 10, + "description": "#### Visa Platform Connect\nThis field may be used for transactions on accounts issued under co-branding agreements when one of the\nco-branding partners.\n" + }, + "serviceLocation": { + "type": "object", + "properties": { + "locality": { + "type": "string", + "maxLength": 20, + "description": "#### Visa Platform Connect\n\nMerchant\u2019s service location city name. When merchant provides services from a location other than the location identified as merchant location.\n" + }, + "countrySubdivisionCode": { + "type": "string", + "maxLength": 9, + "description": "#### Visa Platform Connect\n\nMerchant\u2019s service location country subdivision code. When merchant provides services from a location other than the location identified as merchant location.\n" + }, + "countryCode": { + "type": "string", + "maxLength": 3, + "description": "#### Visa Platform Connect\n\nMerchant\u2019s service location country code. When merchant provides services from a location other than the location identified as merchant location.\n" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "description": "#### Visa Platform Connect\n\nMerchant\u2019s service location postal code. When merchant provides services from a location other than the location identified as merchant location.\n" + } + } }, "merchantName": { "type": "string", @@ -2911,7 +2979,7 @@ }, "terminalPinCapability": { "type": "integer", - "description": "Maximum PIN length that the terminal can capture.\n\nPossible values:\n- 0: No PIN capture capability\n- 1: PIN capture capability unknown\n- 2: PIN Pad down\n- 4: Four characters\n- 5: Five characters\n- 6: Six characters\n- 7: Seven characters\n- 8: Eight characters\n- 9: Nine characters\n- 10: Ten characters\n- 11: Eleven characters\n- 12: Twelve characters\n\nThis field is supported for authorizations and credits only on the following processors:\n- American Express Direct\n- Credit Mutuel-CIC\n- OmniPay Direct\n- SIX\n\nRequired field for authorization or credit of PIN transactions.\n" + "description": "Maximum PIN length that the terminal can capture.\n\nPossible values:\n- 0: No PIN capture capability\n- 1: PIN capture capability unknown\n- 2: PIN Pad down\n- 4: Four characters\n- 5: Five characters\n- 6: Six characters\n- 7: Seven characters\n- 8: Eight characters\n- 9: Nine characters\n- 10: Ten characters\n- 11: Eleven characters\n- 12: Twelve characters\n\nThis field is supported for authorizations and credits only on the following processors:\n- American Express Direct\n- Credit Mutuel-CIC\n- OmniPay Direct\n- SIX\n- Visa Platform Connect\n\nRequired field for authorization or credit of PIN transactions.\n" }, "pinEntrySolution": { "type": "string", @@ -4326,6 +4394,47 @@ "description": "This will contain a unique reference number for the recurring payment transaction.\n" } } + }, + "watchlistScreeningInformation": { + "type": "object", + "properties": { + "addressOperator": { + "type": "string", + "description": "Parts of the customer\u2019s information that must match with an entry in the DPL (denied parties list)\nbefore a match occurs. This field can contain one of the following values:\n- AND: (default) The customer\u2019s name or company and the customer\u2019s address must appear in the database.\n- OR: The customer\u2019s name must appear in the database.\n- IGNORE: You want the service to detect a match only of the customer\u2019s name or company but not of the address.\n" + }, + "weights": { + "type": "object", + "properties": { + "address": { + "type": "string", + "maxLength": 6, + "description": "Degree of correlation between a customer\u2019s address and an entry in the DPL\nbefore a match occurs. This field can contain one of the following values:\n- exact: The address must be identical to the entry in the DPL.\n- high: (default) The address cannot differ significantly from the entry in the DPL.\n- medium: The address can differ slightly more from the entry in the DPL.\n- low: The address can differ significantly from the entry in the DPL.\n" + }, + "company": { + "type": "string", + "maxLength": 6, + "description": "Degree of correlation between a company address and an entry in the DPL\nbefore a match occurs. This field can contain one of the following values:\n- exact: The company name must be identical to the entry in the DPL.\n- high: (default) The company name cannot differ significantly from the entry in the DPL.\n- medium: The company name can differ slightly more from the entry in the DPL.\n- low: The company name can differ significantly from the entry in the DPL.\n" + }, + "name": { + "type": "string", + "maxLength": 6, + "description": "Degree of correlation between a customer\u2019s name and an entry in the DPL\nbefore a match occurs. This field can contain one of the following values:\n- exact: The name must be identical to the entry in the DPL.\n- high: (default) The name cannot differ significantly from the entry in the DPL.\n- medium: The name can differ slightly more from the entry in the DPL.\n- low: The name can differ significantly the entry in the DPL.\n" + } + } + }, + "sanctionLists": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Use this field to specify which list(s) you want checked with the request.\nThe reply will include the list name as well as the response data.\nTo check against multiple lists, enter multiple list codes separated by a caret (^).\nFor more information, see \"Restricted and Denied Parties List,\" page 68.\n" + }, + "proceedOnMatch": { + "type": "boolean", + "description": "Indicates whether the transaction should proceed if there is a match.\nPossible values:\n- `true`: Transaction proceeds even when match is found in the Denied Parties List. The match is noted in the response.\n- `false`: Normal watchlist screening behavior occurs. (Transaction stops if a match to DPL occurs. Transaction proceeds if no match.)\n" + } + } } }, "example": { @@ -4490,7 +4599,7 @@ "properties": { "reason": { "type": "string", - "description": "The reason of the status.\n\nPossible values:\n - AVS_FAILED\n - CONTACT_PROCESSOR\n - EXPIRED_CARD\n - PROCESSOR_DECLINED\n - INSUFFICIENT_FUND\n - STOLEN_LOST_CARD\n - ISSUER_UNAVAILABLE\n - UNAUTHORIZED_CARD\n - CVN_NOT_MATCH\n - EXCEEDS_CREDIT_LIMIT\n - INVALID_CVN\n - DECLINED_CHECK\n - BLACKLISTED_CUSTOMER\n - SUSPENDED_ACCOUNT\n - PAYMENT_REFUSED\n - CV_FAILED\n - INVALID_ACCOUNT\n - GENERAL_DECLINE\n - INVALID_MERCHANT_CONFIGURATION\n - DECISION_PROFILE_REJECT\n - SCORE_EXCEEDS_THRESHOLD\n - PENDING_AUTHENTICATION\n - ACH_VERIFICATION_FAILED\n - DECISION_PROFILE_REVIEW\n - CONSUMER_AUTHENTICATION_REQUIRED\n - CONSUMER_AUTHENTICATION_FAILED\n - ALLOWABLE_PIN_RETRIES_EXCEEDED\n - PROCESSOR_ERROR\n" + "description": "The reason of the status.\n\nPossible values:\n - AVS_FAILED\n - CONTACT_PROCESSOR\n - EXPIRED_CARD\n - PROCESSOR_DECLINED\n - INSUFFICIENT_FUND\n - STOLEN_LOST_CARD\n - ISSUER_UNAVAILABLE\n - UNAUTHORIZED_CARD\n - CVN_NOT_MATCH\n - EXCEEDS_CREDIT_LIMIT\n - INVALID_CVN\n - DECLINED_CHECK\n - BLACKLISTED_CUSTOMER\n - SUSPENDED_ACCOUNT\n - PAYMENT_REFUSED\n - CV_FAILED\n - INVALID_ACCOUNT\n - GENERAL_DECLINE\n - INVALID_MERCHANT_CONFIGURATION\n - DECISION_PROFILE_REJECT\n - SCORE_EXCEEDS_THRESHOLD\n - PENDING_AUTHENTICATION\n - ACH_VERIFICATION_FAILED\n - DECISION_PROFILE_REVIEW\n - CONSUMER_AUTHENTICATION_REQUIRED\n - CONSUMER_AUTHENTICATION_FAILED\n - ALLOWABLE_PIN_RETRIES_EXCEEDED\n - PROCESSOR_ERROR\n - CUSTOMER_WATCHLIST_MATCH\n - ADDRESS_COUNTRY_WATCHLIST_MATCH\n - EMAIL_COUNTRY_WATCHLIST_MATCH\n - IP_COUNTRY_WATCHLIST_MATCH\n - INVALID_MERCHANT_CONFIGURATION\n" }, "message": { "type": "string", @@ -4720,12 +4829,42 @@ "name": { "type": "string", "maxLength": 30, - "description": "Mapped Electronic Verification response code for the customer\u2019s name.\n" + "description": "#### Visa Platform Connect\nMapped Electronic Verification response code for the customer\u2019s name.\n\nValid values :\n\n'Y' Yes, the data Matches\n'N' No Match\n'O' Partial Match\n" }, "nameRaw": { "type": "string", "maxLength": 30, - "description": "Raw Electronic Verification response code from the processor for the customer\u2019s name.\n" + "description": "#### Visa Platform Connect\nRaw Electronic Verification response code from the processor for the customer\u2019s name.\n\nValid values :\n\n'01' Match\n'50' Partial Match\n'99' No Match\n" + }, + "firstNameRaw": { + "type": "string", + "maxLength": 2, + "description": "#### Visa Platform Connect\nRaw electronic verification response code from the processor for the customer\u2019s first name.\n\nValid values :\n\n'01' Match\n'50' Partial Match\n'99' No Match\n" + }, + "firstName": { + "type": "string", + "maxLength": 1, + "description": "#### Visa Platform Connect\nMapped electronic verification response code from the processor for the customer\u2019s first name.\n\nValid values :\n\n'Y' Yes, the data Matches\n'N' No Match\n'O' Partial Match\n" + }, + "middleNameRaw": { + "type": "string", + "maxLength": 2, + "description": "#### Visa Platform Connect\nRaw electronic verification response code from the processor for the customer\u2019s middle name.\n\nValid values :\n\n'01' Match\n'50' Partial Match\n'99' No Match\n" + }, + "middleName": { + "type": "string", + "maxLength": 1, + "description": "#### Visa Platform Connect\nMapped electronic verification response code from the processor for the customer\u2019s middle name.\n\nValid values :\n\n'Y' Yes, the data Matches\n'N' No Match\n'O' Partial Match\n" + }, + "lastNameRaw": { + "type": "string", + "maxLength": 2, + "description": "#### Visa Platform Connect\nRaw electronic verification response code from the processor for the customer\u2019s last name.\n\nValid values :\n\n'01' Match\n'50' Partial Match\n'99' No Match\n" + }, + "lastName": { + "type": "string", + "maxLength": 1, + "description": "#### Visa Platform Connect\nMapped electronic verification response code from the processor for the customer\u2019s last name.\n\nValid values :\n\n'Y' Yes, the data Matches\n'N' No Match\n'O' Partial Match\n" } } }, @@ -4976,7 +5115,7 @@ "assuranceLevel": { "type": "string", "maxLength": 2, - "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n" + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n\n**Note** Merchants supported for **CyberSource through VisaNet**/**Visa Platform Connect** are advised not to use this field.\n" }, "expirationMonth": { "type": "string", @@ -4992,6 +5131,11 @@ "type": "string", "maxLength": 11, "description": "Value that identifies your business and indicates that the cardholder\u2019s account number is tokenized. This value\nis assigned by the token service provider and is unique within the token service provider\u2019s database.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\n#### PIN debit\nOptional field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.\n" + }, + "assuranceMethod": { + "type": "string", + "maxLength": 2, + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **Visa Platform Connect**\n" } } }, @@ -5304,6 +5448,21 @@ "description": "The value of the remaining loyalty points after redumption in the default currency. Max characters is 12 excluding the \".\" symbol\nFor Example: Points, such as 20.00\n" } } + }, + "billTo": { + "type": "object", + "properties": { + "alternatePhoneNumberVerificationStatus": { + "type": "string", + "maxLength": 15, + "description": "#### Visa Platform Connect\nContains one of the following values that will identify the phone number result code in the account verification response message:\n\n'VERIFIED' - Customer verified\n\n'UNVERIFIED' - Customer not verified\n\n'FAILED' - Customer verification failed\n" + }, + "alternateEmailVerificationStatus": { + "type": "string", + "maxLength": 15, + "description": "#### Visa Platform Connect\nContains one of the following values that will identify the phone number result code in the account verification response message:\n\n'VERIFIED' - Customer verified\n\n'UNVERIFIED' - Customer not verified\n\n'FAILED' - Customer verification failed\n" + } + } } } }, @@ -6180,6 +6339,67 @@ "description": "Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor.\n\nPossible Values:\n\nY - 3DS Requestor is whitelisted by cardholder\n\nN - 3DS Requestor is not whitelisted by cardholder\n" } } + }, + "watchlistScreeningInformation": { + "type": "object", + "properties": { + "ipCountryConfidence": { + "type": "integer", + "minimum": -1, + "maximum": 100, + "description": "Likelihood that the country associated with the customer\u2019s IP address was identified correctly.\nReturns a value from 1\u2013100, where 100 indicates the highest likelihood.\nIf the country cannot be determined, the value is \u20131.\n" + }, + "infoCodes": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Returned when the Denied Parties List check (first two codes) or the export service (all others) would have\ndeclined the transaction. This field can contain one or more of these values:\n- `MATCH-DPC`: Denied Parties List match.\n- `UNV-DPC`: Denied Parties List unavailable.\n- `MATCH-BCO`: Billing country restricted.\n- `MATCH-EMCO`: Email country restricted.\n- `MATCH-HCO`: Host name country restricted.\n- `MATCH-IPCO`: IP country restricted.\n- `MATCH-SCO`: Shipping country restricted.\n" + }, + "watchList": { + "type": "object", + "properties": { + "matches": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addresses": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Address found on the list specified in export_matchN_list\nfor the entity (name and address) in the request.\n" + }, + "sanctionList": { + "type": "string", + "maxLength": 255, + "description": "List on which the first Denied Parties List check match appears.\nFor a list of codes, see \"Denied Parties List Check Codes,\" page 56.\n" + }, + "aliases": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Name found on the list specified in export_matchN_list for the entity (name and address) in the request.\n" + }, + "programs": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Sub-lists matched by the order data. List members are separated by carets (^)." + } + } + } + } + } + } + } } }, "example": { @@ -7784,7 +8004,7 @@ "pointOfSaleInformation": { "trackData": "%B4111111111111111^TEST/CYBS ^2412121019761100 00868000000?;", "cardPresent": "Y", - "catLevel": 1, + "catLevel": 7, "emv": { "cardSequenceNumber": 1, "tags": "9F3303204000950500000000009F3704518823719F100706011103A000009F26081E1756ED0E2134E29F36020015820200009C01009F1A0208409A030006219F02060000000020005F2A0208409F0306000000000000" @@ -7959,12 +8179,13 @@ "pointOfSaleInformation": { "trackData": "%B4111111111111111^TEST/CYBS ^2412121019761100 00868000000?;", "cardPresent": "Y", - "catLevel": 1, + "catLevel": 7, "emv": { + "tags": "9F3303204000950500000000009F3704518823719F100706011103A000009F26081E1756ED0E2134E29F36020015820200009C01009F1A0208409A030006219F02060000000020005F2A0208409F0306000000000000", "cardSequenceNumber": 0 }, "entryMode": "contact", - "terminalCapability": 1 + "terminalCapability": 4 }, "orderInformation": { "amountDetails": { @@ -8427,7 +8648,7 @@ "operationId": "incrementAuth", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -8882,7 +9103,7 @@ "operationId": "authReversal", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -9413,7 +9634,7 @@ "operationId": "mitReversal", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html", "isClientSideApi": true }, "parameters": [ @@ -9909,7 +10130,7 @@ "operationId": "capturePayment", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -10651,6 +10872,20 @@ "description": "Passenger's nationality country. Use the two character [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf)." } } + }, + "allowedExportCountries": { + "type": "array", + "items": { + "type": "string", + "description": "Comma-separated list of ISO country codes for countries to which the product can be exported.\n\nFor all possible values, see the \"Country and Territory Postal System Categories\" section in the [CyberSource Verification Services Using the SCMP API.]\n(https://apps.cybersource.com/library/documentation/dev_guides/Verification_Svcs_SCMP_API/html/)\n\nIf country codes are not specified, or if this field is not included, the U.S. government\u2019s country\ncode list is used.\n\n**Note** The default list of countries restricted by the U.S. always applies. Any country not\nspecifically added to the export field is considered restricted.\n" + } + }, + "restrictedExportCountries": { + "type": "array", + "items": { + "type": "string", + "description": "Comma-separated list of ISO country codes for countries to which the product cannot be exported.\n\nFor all possible values, see the \"Country and Territory Postal System Categories\" section in the [CyberSource Verification Services Using the SCMP API.]\n(https://apps.cybersource.com/library/documentation/dev_guides/Verification_Svcs_SCMP_API/html/)\n\n**Note** If the export field is also present, the content of the `restrictedExportCountries`\nfield overrides the content of export.\n" + } } } } @@ -10835,6 +11070,11 @@ "type": "string", "maxLength": 2, "description": "#### Visa Platform Connect\nThis field will indicate merchant country of origin\n" + }, + "customerServicePhoneNumber": { + "type": "string", + "maxLength": 27, + "description": "#### Visa Platform Connect\nIndicates customer service phone number of Merchant.\n" } } }, @@ -12572,7 +12812,7 @@ "operationId": "refundPayment", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -12878,7 +13118,7 @@ "assuranceLevel": { "type": "string", "maxLength": 2, - "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n" + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n\n**Note** Merchants supported for **CyberSource through VisaNet**/**Visa Platform Connect** are advised not to use this field.\n" }, "storageMethod": { "type": "string", @@ -12894,6 +13134,11 @@ "type": "string", "maxLength": 1, "description": "Indicates whether a CVN code was sent. Possible values:\n\n - `0` (default): CVN service not requested. This default value is used when you do not include\n `securityCode` field in the request.\n - `1` (default): CVN service requested and supported. This default value is used when you include\n `securityCode` field in the request.\n - `2`: CVN on credit card is illegible.\n - `9`: CVN was not imprinted on credit card.\n\n#### FDMS Nashville\nRequired for American Express cards; otherwise, optional.\n\n#### TSYS Acquiring Solutions\nOptional if `pointOfSaleInformation.entryMode=keyed`; otherwise, not used.\n\n#### All other processors\nOptional.\n" + }, + "assuranceMethod": { + "type": "string", + "maxLength": 2, + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **Visa Platform Connect**\n" } } }, @@ -13630,6 +13875,11 @@ "type": "string", "maxLength": 2, "description": "#### Visa Platform Connect\nThis field will indicate merchant country of origin\n" + }, + "customerServicePhoneNumber": { + "type": "string", + "maxLength": 27, + "description": "#### Visa Platform Connect\nIndicates customer service phone number of Merchant.\n" } } }, @@ -15068,7 +15318,7 @@ "operationId": "refundCapture", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -15374,7 +15624,7 @@ "assuranceLevel": { "type": "string", "maxLength": 2, - "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n" + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n\n**Note** Merchants supported for **CyberSource through VisaNet**/**Visa Platform Connect** are advised not to use this field.\n" }, "storageMethod": { "type": "string", @@ -15390,6 +15640,11 @@ "type": "string", "maxLength": 1, "description": "Indicates whether a CVN code was sent. Possible values:\n\n - `0` (default): CVN service not requested. This default value is used when you do not include\n `securityCode` field in the request.\n - `1` (default): CVN service requested and supported. This default value is used when you include\n `securityCode` field in the request.\n - `2`: CVN on credit card is illegible.\n - `9`: CVN was not imprinted on credit card.\n\n#### FDMS Nashville\nRequired for American Express cards; otherwise, optional.\n\n#### TSYS Acquiring Solutions\nOptional if `pointOfSaleInformation.entryMode=keyed`; otherwise, not used.\n\n#### All other processors\nOptional.\n" + }, + "assuranceMethod": { + "type": "string", + "maxLength": 2, + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **Visa Platform Connect**\n" } } }, @@ -16126,6 +16381,11 @@ "type": "string", "maxLength": 2, "description": "#### Visa Platform Connect\nThis field will indicate merchant country of origin\n" + }, + "customerServicePhoneNumber": { + "type": "string", + "maxLength": 27, + "description": "#### Visa Platform Connect\nIndicates customer service phone number of Merchant.\n" } } }, @@ -17542,7 +17802,7 @@ "operationId": "createCredit", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -17938,7 +18198,7 @@ "assuranceLevel": { "type": "string", "maxLength": 2, - "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n" + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.\n\nReturned by PIN debit credit or PIN debit purchase.\n\n**Note** Merchants supported for **CyberSource through VisaNet**/**Visa Platform Connect** are advised not to use this field.\n" }, "storageMethod": { "type": "string", @@ -17954,6 +18214,11 @@ "type": "string", "maxLength": 1, "description": "Indicates whether a CVN code was sent. Possible values:\n\n - `0` (default): CVN service not requested. This default value is used when you do not include\n `securityCode` field in the request.\n - `1` (default): CVN service requested and supported. This default value is used when you include\n `securityCode` field in the request.\n - `2`: CVN on credit card is illegible.\n - `9`: CVN was not imprinted on credit card.\n\n#### FDMS Nashville\nRequired for American Express cards; otherwise, optional.\n\n#### TSYS Acquiring Solutions\nOptional if `pointOfSaleInformation.entryMode=keyed`; otherwise, not used.\n\n#### All other processors\nOptional.\n" + }, + "assuranceMethod": { + "type": "string", + "maxLength": 2, + "description": "Confidence level of the tokenization. This value is assigned by the token service provider.\n\n**Note** This field is supported only for **Visa Platform Connect**\n" } } }, @@ -18690,6 +18955,11 @@ "type": "string", "maxLength": 2, "description": "#### Visa Platform Connect\nThis field will indicate merchant country of origin\n" + }, + "customerServicePhoneNumber": { + "type": "string", + "maxLength": 27, + "description": "#### Visa Platform Connect\nIndicates customer service phone number of Merchant.\n" } } }, @@ -18901,7 +19171,7 @@ }, "terminalPinCapability": { "type": "integer", - "description": "Maximum PIN length that the terminal can capture.\n\nPossible values:\n- 0: No PIN capture capability\n- 1: PIN capture capability unknown\n- 2: PIN Pad down\n- 4: Four characters\n- 5: Five characters\n- 6: Six characters\n- 7: Seven characters\n- 8: Eight characters\n- 9: Nine characters\n- 10: Ten characters\n- 11: Eleven characters\n- 12: Twelve characters\n\nThis field is supported for authorizations and credits only on the following processors:\n- American Express Direct\n- Credit Mutuel-CIC\n- OmniPay Direct\n- SIX\n\nRequired field for authorization or credit of PIN transactions.\n" + "description": "Maximum PIN length that the terminal can capture.\n\nPossible values:\n- 0: No PIN capture capability\n- 1: PIN capture capability unknown\n- 2: PIN Pad down\n- 4: Four characters\n- 5: Five characters\n- 6: Six characters\n- 7: Seven characters\n- 8: Eight characters\n- 9: Nine characters\n- 10: Ten characters\n- 11: Eleven characters\n- 12: Twelve characters\n\nThis field is supported for authorizations and credits only on the following processors:\n- American Express Direct\n- Credit Mutuel-CIC\n- OmniPay Direct\n- SIX\n- Visa Platform Connect\n\nRequired field for authorization or credit of PIN transactions.\n" }, "pinEntrySolution": { "type": "string", @@ -20637,7 +20907,7 @@ "operationId": "voidPayment", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -20975,7 +21245,7 @@ "operationId": "voidCapture", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -21313,7 +21583,7 @@ "operationId": "voidRefund", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -21651,7 +21921,7 @@ "operationId": "voidCredit", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -21989,7 +22259,7 @@ "operationId": "mitVoid", "x-devcenter-metaData": { "categoryTag": "Payments", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "x-example": { "example0": { @@ -23199,7 +23469,7 @@ "categoryTag": "Payments", "testingTriggers": "https://developer.cybersource.com/hello-world/testing-guide.html", "responseCodes": "https://developer.cybersource.com/api/reference/response-codes.html", - "developerGuides": "https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html" + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html" }, "parameters": [ { @@ -47975,11 +48245,11 @@ }, "processingInformation": { "type": "object", - "description": "Decides whether to call Payer Authentication along with DM or not", + "description": "Decides whether to call Payer Authentication or Watchlist Screening service along with DM or not", "properties": { "actionList": { "type": "array", - "description": "Use CONSUMER_AUTHENTICATION to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run.\n", + "description": "- Use `CONSUMER_AUTHENTICATION` to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run.\n- Use `WATCHLIST_SCREENING` when you want to call Watchlist Screening service.\n", "items": { "type": "string" } @@ -48372,6 +48642,20 @@ "type": "string", "maxLength": 15, "description": "Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must\nbe in the same currency. The tax amount field is additive.\n\nThe following example uses a two-exponent currency such as USD:\n\n 1. You include each line item in your request.\n ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80\n ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60\n 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included.\n\nOptional field.\n\n#### Airlines processing\nTax portion of the order amount. This value cannot exceed 99999999999999 (fourteen 9s).\nFormat: English characters only.\nOptional request field for a line item.\n\n#### Tax Calculation\nOptional field for U.S., Canadian, international tax, and value added taxes.\n\nNote if you send this field in your tax request, the value in the field will override the tax engine\n" + }, + "allowedExportCountries": { + "type": "array", + "items": { + "type": "string", + "description": "Comma-separated list of ISO country codes for countries to which the product can be exported.\n\nFor all possible values, see the \"Country and Territory Postal System Categories\" section in the [CyberSource Verification Services Using the SCMP API.]\n(https://apps.cybersource.com/library/documentation/dev_guides/Verification_Svcs_SCMP_API/html/)\n\nIf country codes are not specified, or if this field is not included, the U.S. government\u2019s country\ncode list is used.\n\n**Note** The default list of countries restricted by the U.S. always applies. Any country not\nspecifically added to the export field is considered restricted.\n" + } + }, + "restrictedExportCountries": { + "type": "array", + "items": { + "type": "string", + "description": "Comma-separated list of ISO country codes for countries to which the product cannot be exported.\n\nFor all possible values, see the \"Country and Territory Postal System Categories\" section in the [CyberSource Verification Services Using the SCMP API.]\n(https://apps.cybersource.com/library/documentation/dev_guides/Verification_Svcs_SCMP_API/html/)\n\n**Note** If the export field is also present, the content of the `restrictedExportCountries`\nfield overrides the content of export.\n" + } } } } @@ -49125,6 +49409,47 @@ "description": "Risk Assessment from Mastercard. This is to be sent by merchant if they would like to request a score" } } + }, + "watchlistScreeningInformation": { + "type": "object", + "properties": { + "addressOperator": { + "type": "string", + "description": "Parts of the customer\u2019s information that must match with an entry in the DPL (denied parties list)\nbefore a match occurs. This field can contain one of the following values:\n- AND: (default) The customer\u2019s name or company and the customer\u2019s address must appear in the database.\n- OR: The customer\u2019s name must appear in the database.\n- IGNORE: You want the service to detect a match only of the customer\u2019s name or company but not of the address.\n" + }, + "weights": { + "type": "object", + "properties": { + "address": { + "type": "string", + "maxLength": 6, + "description": "Degree of correlation between a customer\u2019s address and an entry in the DPL\nbefore a match occurs. This field can contain one of the following values:\n- exact: The address must be identical to the entry in the DPL.\n- high: (default) The address cannot differ significantly from the entry in the DPL.\n- medium: The address can differ slightly more from the entry in the DPL.\n- low: The address can differ significantly from the entry in the DPL.\n" + }, + "company": { + "type": "string", + "maxLength": 6, + "description": "Degree of correlation between a company address and an entry in the DPL\nbefore a match occurs. This field can contain one of the following values:\n- exact: The company name must be identical to the entry in the DPL.\n- high: (default) The company name cannot differ significantly from the entry in the DPL.\n- medium: The company name can differ slightly more from the entry in the DPL.\n- low: The company name can differ significantly from the entry in the DPL.\n" + }, + "name": { + "type": "string", + "maxLength": 6, + "description": "Degree of correlation between a customer\u2019s name and an entry in the DPL\nbefore a match occurs. This field can contain one of the following values:\n- exact: The name must be identical to the entry in the DPL.\n- high: (default) The name cannot differ significantly from the entry in the DPL.\n- medium: The name can differ slightly more from the entry in the DPL.\n- low: The name can differ significantly the entry in the DPL.\n" + } + } + }, + "sanctionLists": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Use this field to specify which list(s) you want checked with the request.\nThe reply will include the list name as well as the response data.\nTo check against multiple lists, enter multiple list codes separated by a caret (^).\nFor more information, see \"Restricted and Denied Parties List,\" page 68.\n" + }, + "proceedOnMatch": { + "type": "boolean", + "description": "Indicates whether the transaction should proceed if there is a match.\nPossible values:\n- `true`: Transaction proceeds even when match is found in the Denied Parties List. The match is noted in the response.\n- `false`: Normal watchlist screening behavior occurs. (Transaction stops if a match to DPL occurs. Transaction proceeds if no match.)\n" + } + } } } } @@ -49910,12 +50235,73 @@ } } }, + "watchlistScreeningInformation": { + "type": "object", + "properties": { + "ipCountryConfidence": { + "type": "integer", + "minimum": -1, + "maximum": 100, + "description": "Likelihood that the country associated with the customer\u2019s IP address was identified correctly.\nReturns a value from 1\u2013100, where 100 indicates the highest likelihood.\nIf the country cannot be determined, the value is \u20131.\n" + }, + "infoCodes": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Returned when the Denied Parties List check (first two codes) or the export service (all others) would have\ndeclined the transaction. This field can contain one or more of these values:\n- `MATCH-DPC`: Denied Parties List match.\n- `UNV-DPC`: Denied Parties List unavailable.\n- `MATCH-BCO`: Billing country restricted.\n- `MATCH-EMCO`: Email country restricted.\n- `MATCH-HCO`: Host name country restricted.\n- `MATCH-IPCO`: IP country restricted.\n- `MATCH-SCO`: Shipping country restricted.\n" + }, + "watchList": { + "type": "object", + "properties": { + "matches": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addresses": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Address found on the list specified in export_matchN_list\nfor the entity (name and address) in the request.\n" + }, + "sanctionList": { + "type": "string", + "maxLength": 255, + "description": "List on which the first Denied Parties List check match appears.\nFor a list of codes, see \"Denied Parties List Check Codes,\" page 56.\n" + }, + "aliases": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Name found on the list specified in export_matchN_list for the entity (name and address) in the request.\n" + }, + "programs": { + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + }, + "description": "Sub-lists matched by the order data. List members are separated by carets (^)." + } + } + } + } + } + } + } + }, "errorInformation": { "type": "object", "properties": { "reason": { "type": "string", - "description": "The reason of the status.\n\nPossible values:\n - `EXPIRED_CARD`\n - `SCORE_EXCEEDS_THRESHOLD`\n - `DECISION_PROFILE_REVIEW`\n - `DECISION_PROFILE_REJECT`\n - `CONSUMER_AUTHENTICATION_REQUIRED`\n - `INVALID_MERCHANT_CONFIGURATION`\n - `CONSUMER_AUTHENTICATION_FAILED`\n - `DECISION_PROFILE_CHALLENGE`\n" + "description": "The reason of the status.\n\nPossible values:\n - `EXPIRED_CARD`\n - `SCORE_EXCEEDS_THRESHOLD`\n - `DECISION_PROFILE_REVIEW`\n - `DECISION_PROFILE_REJECT`\n - `CONSUMER_AUTHENTICATION_REQUIRED`\n - `INVALID_MERCHANT_CONFIGURATION`\n - `CONSUMER_AUTHENTICATION_FAILED`\n - `DECISION_PROFILE_CHALLENGE`\n - `CUSTOMER_WATCHLIST_MATCH`\n - `ADDRESS_COUNTRY_WATCHLIST_MATCH`\n - `EMAIL_COUNTRY_WATCHLIST_MATCH`\n - `IP_COUNTRY_WATCHLIST_MATCH`\n" }, "message": { "type": "string", @@ -56636,6 +57022,11 @@ "type": "string", "maxLength": 15, "description": "Visa-generated transaction identifier (TID) that is unique for each original authorization and financial request.\n* Applicable only for CTV for Payouts.\n" + }, + "deferredDateTime": { + "type": "string", + "maxLength": 12, + "description": "#### Visa Platform Connect\n\nContains date and time value indicating scheduled deferred OCT.\n\nFormat is : 'yyyyMMddHHmm', where\n\n'YYYY' = year\n'MM' = month\n'DD' = day\n'hh' = hour\n'mm' = minutes\n" } } }, @@ -63568,12 +63959,12 @@ "name": { "type": "string", "maxLength": 30, - "description": "Mapped Electronic Verification response code for the customer\u2019s name.\n" + "description": "#### Visa Platform Connect\nMapped Electronic Verification response code for the customer\u2019s name.\n\nValid values :\n\n'Y' Yes, the data Matches\n'N' No Match\n'O' Partial Match\n" }, "nameRaw": { "type": "string", "maxLength": 30, - "description": "Raw Electronic Verification response code from the processor for the customer\u2019s name.\n" + "description": "#### Visa Platform Connect\nRaw Electronic Verification response code from the processor for the customer\u2019s name.\n\nValid values :\n\n'01' Match\n'50' Partial Match\n'99' No Match\n" }, "phoneNumber": { "type": "string", diff --git a/test/Model/CreateBundledDecisionManagerCaseRequestTests.cs b/test/Model/CreateBundledDecisionManagerCaseRequestTests.cs index bf64ed93..960105bc 100644 --- a/test/Model/CreateBundledDecisionManagerCaseRequestTests.cs +++ b/test/Model/CreateBundledDecisionManagerCaseRequestTests.cs @@ -176,6 +176,14 @@ public void ConsumerAuthenticationInformationTest() { // TODO unit test for the property 'ConsumerAuthenticationInformation' } + /// + /// Test the property 'WatchlistScreeningInformation' + /// + [Test] + public void WatchlistScreeningInformationTest() + { + // TODO unit test for the property 'WatchlistScreeningInformation' + } } diff --git a/test/Model/CreatePaymentRequestTests.cs b/test/Model/CreatePaymentRequestTests.cs index 740fe947..65fcce4d 100644 --- a/test/Model/CreatePaymentRequestTests.cs +++ b/test/Model/CreatePaymentRequestTests.cs @@ -248,6 +248,14 @@ public void RecurringPaymentInformationTest() { // TODO unit test for the property 'RecurringPaymentInformation' } + /// + /// Test the property 'WatchlistScreeningInformation' + /// + [Test] + public void WatchlistScreeningInformationTest() + { + // TODO unit test for the property 'WatchlistScreeningInformation' + } } diff --git a/test/Model/PtsV2PaymentsPost201ResponseOrderInformationBillToTests.cs b/test/Model/PtsV2PaymentsPost201ResponseOrderInformationBillToTests.cs new file mode 100644 index 00000000..bfd63d58 --- /dev/null +++ b/test/Model/PtsV2PaymentsPost201ResponseOrderInformationBillToTests.cs @@ -0,0 +1,86 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing PtsV2PaymentsPost201ResponseOrderInformationBillTo + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PtsV2PaymentsPost201ResponseOrderInformationBillToTests + { + // TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseOrderInformationBillTo + //private PtsV2PaymentsPost201ResponseOrderInformationBillTo instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PtsV2PaymentsPost201ResponseOrderInformationBillTo + //instance = new PtsV2PaymentsPost201ResponseOrderInformationBillTo(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PtsV2PaymentsPost201ResponseOrderInformationBillTo + /// + [Test] + public void PtsV2PaymentsPost201ResponseOrderInformationBillToInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseOrderInformationBillTo + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseOrderInformationBillTo"); + } + + /// + /// Test the property 'AlternatePhoneNumberVerificationStatus' + /// + [Test] + public void AlternatePhoneNumberVerificationStatusTest() + { + // TODO unit test for the property 'AlternatePhoneNumberVerificationStatus' + } + /// + /// Test the property 'AlternateEmailVerificationStatus' + /// + [Test] + public void AlternateEmailVerificationStatusTest() + { + // TODO unit test for the property 'AlternateEmailVerificationStatus' + } + + } + +} diff --git a/test/Model/PtsV2PaymentsPost201ResponseOrderInformationTests.cs b/test/Model/PtsV2PaymentsPost201ResponseOrderInformationTests.cs index f48e133c..0cfaf4b3 100644 --- a/test/Model/PtsV2PaymentsPost201ResponseOrderInformationTests.cs +++ b/test/Model/PtsV2PaymentsPost201ResponseOrderInformationTests.cs @@ -88,6 +88,14 @@ public void RewardPointsDetailsTest() { // TODO unit test for the property 'RewardPointsDetails' } + /// + /// Test the property 'BillTo' + /// + [Test] + public void BillToTest() + { + // TODO unit test for the property 'BillTo' + } } diff --git a/test/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCardTests.cs b/test/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCardTests.cs index 25fddad9..4b0261a8 100644 --- a/test/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCardTests.cs +++ b/test/Model/PtsV2PaymentsPost201ResponsePaymentInformationTokenizedCardTests.cs @@ -120,6 +120,14 @@ public void RequestorIdTest() { // TODO unit test for the property 'RequestorId' } + /// + /// Test the property 'AssuranceMethod' + /// + [Test] + public void AssuranceMethodTest() + { + // TODO unit test for the property 'AssuranceMethod' + } } diff --git a/test/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResultsTests.cs b/test/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResultsTests.cs index c88b9609..6538cf42 100644 --- a/test/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResultsTests.cs +++ b/test/Model/PtsV2PaymentsPost201ResponseProcessorInformationElectronicVerificationResultsTests.cs @@ -160,6 +160,54 @@ public void NameRawTest() { // TODO unit test for the property 'NameRaw' } + /// + /// Test the property 'FirstNameRaw' + /// + [Test] + public void FirstNameRawTest() + { + // TODO unit test for the property 'FirstNameRaw' + } + /// + /// Test the property 'FirstName' + /// + [Test] + public void FirstNameTest() + { + // TODO unit test for the property 'FirstName' + } + /// + /// Test the property 'MiddleNameRaw' + /// + [Test] + public void MiddleNameRawTest() + { + // TODO unit test for the property 'MiddleNameRaw' + } + /// + /// Test the property 'MiddleName' + /// + [Test] + public void MiddleNameTest() + { + // TODO unit test for the property 'MiddleName' + } + /// + /// Test the property 'LastNameRaw' + /// + [Test] + public void LastNameRawTest() + { + // TODO unit test for the property 'LastNameRaw' + } + /// + /// Test the property 'LastName' + /// + [Test] + public void LastNameTest() + { + // TODO unit test for the property 'LastName' + } } diff --git a/test/Model/PtsV2PaymentsPost201ResponseTests.cs b/test/Model/PtsV2PaymentsPost201ResponseTests.cs index 3117c243..6aa0bd61 100644 --- a/test/Model/PtsV2PaymentsPost201ResponseTests.cs +++ b/test/Model/PtsV2PaymentsPost201ResponseTests.cs @@ -224,6 +224,14 @@ public void ConsumerAuthenticationInformationTest() { // TODO unit test for the property 'ConsumerAuthenticationInformation' } + /// + /// Test the property 'WatchlistScreeningInformation' + /// + [Test] + public void WatchlistScreeningInformationTest() + { + // TODO unit test for the property 'WatchlistScreeningInformation' + } } diff --git a/test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationTests.cs b/test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationTests.cs similarity index 61% rename from test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationTests.cs rename to test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationTests.cs index 0f93ac48..3b209a90 100644 --- a/test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationTests.cs +++ b/test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation + /// Class for testing PtsV2PaymentsPost201ResponseWatchlistScreeningInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationTests + public class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationTests { - // TODO uncomment below to declare an instance variable for RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation - //private RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation instance; + // TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseWatchlistScreeningInformation + //private PtsV2PaymentsPost201ResponseWatchlistScreeningInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInfor [SetUp] public void Init() { - // TODO uncomment below to create an instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation - //instance = new RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation(); + // TODO uncomment below to create an instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformation + //instance = new PtsV2PaymentsPost201ResponseWatchlistScreeningInformation(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation + /// Test an instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformation /// [Test] - public void RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationInstanceTest() + public void PtsV2PaymentsPost201ResponseWatchlistScreeningInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation"); + // TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseWatchlistScreeningInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseWatchlistScreeningInformation"); } /// diff --git a/test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatchesTests.cs b/test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatchesTests.cs similarity index 60% rename from test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatchesTests.cs rename to test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatchesTests.cs index a27b72c8..faf528e8 100644 --- a/test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatchesTests.cs +++ b/test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatchesTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches + /// Class for testing PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatchesTests + public class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatchesTests { - // TODO uncomment below to declare an instance variable for RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches - //private RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches instance; + // TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches + //private PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInfor [SetUp] public void Init() { - // TODO uncomment below to create an instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches - //instance = new RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches(); + // TODO uncomment below to create an instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches + //instance = new PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches + /// Test an instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches /// [Test] - public void RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatchesInstanceTest() + public void PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatchesInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches - //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches"); + // TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches"); } /// diff --git a/test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListTests.cs b/test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListTests.cs similarity index 52% rename from test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListTests.cs rename to test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListTests.cs index 7383cbe7..00c99930 100644 --- a/test/Model/RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListTests.cs +++ b/test/Model/PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList + /// Class for testing PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListTests + public class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListTests { - // TODO uncomment below to declare an instance variable for RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList - //private RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList instance; + // TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList + //private PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInfor [SetUp] public void Init() { - // TODO uncomment below to create an instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList - //instance = new RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList(); + // TODO uncomment below to create an instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList + //instance = new PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList + /// Test an instance of PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList /// [Test] - public void RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListInstanceTest() + public void PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList - //Assert.IsInstanceOfType (instance, "variable 'instance' is a RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList"); + // TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList"); } /// diff --git a/test/Model/Ptsv2paymentsMerchantInformationMerchantDescriptorTests.cs b/test/Model/Ptsv2paymentsMerchantInformationMerchantDescriptorTests.cs index 2b68f8ae..0cde9d2c 100644 --- a/test/Model/Ptsv2paymentsMerchantInformationMerchantDescriptorTests.cs +++ b/test/Model/Ptsv2paymentsMerchantInformationMerchantDescriptorTests.cs @@ -152,6 +152,14 @@ public void CountryOfOriginTest() { // TODO unit test for the property 'CountryOfOrigin' } + /// + /// Test the property 'CustomerServicePhoneNumber' + /// + [Test] + public void CustomerServicePhoneNumberTest() + { + // TODO unit test for the property 'CustomerServicePhoneNumber' + } } diff --git a/test/Model/Ptsv2paymentsMerchantInformationServiceLocationTests.cs b/test/Model/Ptsv2paymentsMerchantInformationServiceLocationTests.cs new file mode 100644 index 00000000..90a24360 --- /dev/null +++ b/test/Model/Ptsv2paymentsMerchantInformationServiceLocationTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Ptsv2paymentsMerchantInformationServiceLocation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Ptsv2paymentsMerchantInformationServiceLocationTests + { + // TODO uncomment below to declare an instance variable for Ptsv2paymentsMerchantInformationServiceLocation + //private Ptsv2paymentsMerchantInformationServiceLocation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Ptsv2paymentsMerchantInformationServiceLocation + //instance = new Ptsv2paymentsMerchantInformationServiceLocation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Ptsv2paymentsMerchantInformationServiceLocation + /// + [Test] + public void Ptsv2paymentsMerchantInformationServiceLocationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Ptsv2paymentsMerchantInformationServiceLocation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Ptsv2paymentsMerchantInformationServiceLocation"); + } + + /// + /// Test the property 'Locality' + /// + [Test] + public void LocalityTest() + { + // TODO unit test for the property 'Locality' + } + /// + /// Test the property 'CountrySubdivisionCode' + /// + [Test] + public void CountrySubdivisionCodeTest() + { + // TODO unit test for the property 'CountrySubdivisionCode' + } + /// + /// Test the property 'CountryCode' + /// + [Test] + public void CountryCodeTest() + { + // TODO unit test for the property 'CountryCode' + } + /// + /// Test the property 'PostalCode' + /// + [Test] + public void PostalCodeTest() + { + // TODO unit test for the property 'PostalCode' + } + + } + +} diff --git a/test/Model/Ptsv2paymentsMerchantInformationTests.cs b/test/Model/Ptsv2paymentsMerchantInformationTests.cs index f32c1b8e..5729955f 100644 --- a/test/Model/Ptsv2paymentsMerchantInformationTests.cs +++ b/test/Model/Ptsv2paymentsMerchantInformationTests.cs @@ -177,6 +177,22 @@ public void ReturnUrlTest() // TODO unit test for the property 'ReturnUrl' } /// + /// Test the property 'PartnerIdCode' + /// + [Test] + public void PartnerIdCodeTest() + { + // TODO unit test for the property 'PartnerIdCode' + } + /// + /// Test the property 'ServiceLocation' + /// + [Test] + public void ServiceLocationTest() + { + // TODO unit test for the property 'ServiceLocation' + } + /// /// Test the property 'MerchantName' /// [Test] diff --git a/test/Model/Ptsv2paymentsOrderInformationBillToTests.cs b/test/Model/Ptsv2paymentsOrderInformationBillToTests.cs index b7e5d7c2..e66b6f9c 100644 --- a/test/Model/Ptsv2paymentsOrderInformationBillToTests.cs +++ b/test/Model/Ptsv2paymentsOrderInformationBillToTests.cs @@ -240,6 +240,22 @@ public void VerificationStatusTest() { // TODO unit test for the property 'VerificationStatus' } + /// + /// Test the property 'AlternatePhoneNumber' + /// + [Test] + public void AlternatePhoneNumberTest() + { + // TODO unit test for the property 'AlternatePhoneNumber' + } + /// + /// Test the property 'AlternateEmail' + /// + [Test] + public void AlternateEmailTest() + { + // TODO unit test for the property 'AlternateEmail' + } } diff --git a/test/Model/Ptsv2paymentsOrderInformationLineItemsTests.cs b/test/Model/Ptsv2paymentsOrderInformationLineItemsTests.cs index 0cb872be..6dff3ce2 100644 --- a/test/Model/Ptsv2paymentsOrderInformationLineItemsTests.cs +++ b/test/Model/Ptsv2paymentsOrderInformationLineItemsTests.cs @@ -312,6 +312,22 @@ public void PassengerTest() { // TODO unit test for the property 'Passenger' } + /// + /// Test the property 'AllowedExportCountries' + /// + [Test] + public void AllowedExportCountriesTest() + { + // TODO unit test for the property 'AllowedExportCountries' + } + /// + /// Test the property 'RestrictedExportCountries' + /// + [Test] + public void RestrictedExportCountriesTest() + { + // TODO unit test for the property 'RestrictedExportCountries' + } } diff --git a/test/Model/Ptsv2paymentsPaymentInformationTokenizedCardTests.cs b/test/Model/Ptsv2paymentsPaymentInformationTokenizedCardTests.cs index 428ba883..cb996cb4 100644 --- a/test/Model/Ptsv2paymentsPaymentInformationTokenizedCardTests.cs +++ b/test/Model/Ptsv2paymentsPaymentInformationTokenizedCardTests.cs @@ -152,6 +152,14 @@ public void SecurityCodeIndicatorTest() { // TODO unit test for the property 'SecurityCodeIndicator' } + /// + /// Test the property 'AssuranceMethod' + /// + [Test] + public void AssuranceMethodTest() + { + // TODO unit test for the property 'AssuranceMethod' + } } diff --git a/test/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsTests.cs b/test/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsTests.cs index 05cf6774..f6da9fc3 100644 --- a/test/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsTests.cs +++ b/test/Model/Ptsv2paymentsProcessingInformationAuthorizationOptionsTests.cs @@ -216,6 +216,14 @@ public void CashAdvanceIndicatorTest() { // TODO unit test for the property 'CashAdvanceIndicator' } + /// + /// Test the property 'SplitPaymentTransaction' + /// + [Test] + public void SplitPaymentTransactionTest() + { + // TODO unit test for the property 'SplitPaymentTransaction' + } } diff --git a/test/Model/Ptsv2paymentsWatchlistScreeningInformationTests.cs b/test/Model/Ptsv2paymentsWatchlistScreeningInformationTests.cs new file mode 100644 index 00000000..96f6cdb6 --- /dev/null +++ b/test/Model/Ptsv2paymentsWatchlistScreeningInformationTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing Ptsv2paymentsWatchlistScreeningInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Ptsv2paymentsWatchlistScreeningInformationTests + { + // TODO uncomment below to declare an instance variable for Ptsv2paymentsWatchlistScreeningInformation + //private Ptsv2paymentsWatchlistScreeningInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Ptsv2paymentsWatchlistScreeningInformation + //instance = new Ptsv2paymentsWatchlistScreeningInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Ptsv2paymentsWatchlistScreeningInformation + /// + [Test] + public void Ptsv2paymentsWatchlistScreeningInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Ptsv2paymentsWatchlistScreeningInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Ptsv2paymentsWatchlistScreeningInformation"); + } + + /// + /// Test the property 'AddressOperator' + /// + [Test] + public void AddressOperatorTest() + { + // TODO unit test for the property 'AddressOperator' + } + /// + /// Test the property 'Weights' + /// + [Test] + public void WeightsTest() + { + // TODO unit test for the property 'Weights' + } + /// + /// Test the property 'SanctionLists' + /// + [Test] + public void SanctionListsTest() + { + // TODO unit test for the property 'SanctionLists' + } + /// + /// Test the property 'ProceedOnMatch' + /// + [Test] + public void ProceedOnMatchTest() + { + // TODO unit test for the property 'ProceedOnMatch' + } + + } + +} diff --git a/test/Model/Riskv1exportcomplianceinquiriesExportComplianceInformationWeightsTests.cs b/test/Model/Ptsv2paymentsWatchlistScreeningInformationWeightsTests.cs similarity index 62% rename from test/Model/Riskv1exportcomplianceinquiriesExportComplianceInformationWeightsTests.cs rename to test/Model/Ptsv2paymentsWatchlistScreeningInformationWeightsTests.cs index 6a998400..bbb8789e 100644 --- a/test/Model/Riskv1exportcomplianceinquiriesExportComplianceInformationWeightsTests.cs +++ b/test/Model/Ptsv2paymentsWatchlistScreeningInformationWeightsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Riskv1exportcomplianceinquiriesExportComplianceInformationWeights + /// Class for testing Ptsv2paymentsWatchlistScreeningInformationWeights /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Riskv1exportcomplianceinquiriesExportComplianceInformationWeightsTests + public class Ptsv2paymentsWatchlistScreeningInformationWeightsTests { - // TODO uncomment below to declare an instance variable for Riskv1exportcomplianceinquiriesExportComplianceInformationWeights - //private Riskv1exportcomplianceinquiriesExportComplianceInformationWeights instance; + // TODO uncomment below to declare an instance variable for Ptsv2paymentsWatchlistScreeningInformationWeights + //private Ptsv2paymentsWatchlistScreeningInformationWeights instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Riskv1exportcomplianceinquiriesExportComplianceInformationWeightsTe [SetUp] public void Init() { - // TODO uncomment below to create an instance of Riskv1exportcomplianceinquiriesExportComplianceInformationWeights - //instance = new Riskv1exportcomplianceinquiriesExportComplianceInformationWeights(); + // TODO uncomment below to create an instance of Ptsv2paymentsWatchlistScreeningInformationWeights + //instance = new Ptsv2paymentsWatchlistScreeningInformationWeights(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Riskv1exportcomplianceinquiriesExportComplianceInformationWeights + /// Test an instance of Ptsv2paymentsWatchlistScreeningInformationWeights /// [Test] - public void Riskv1exportcomplianceinquiriesExportComplianceInformationWeightsInstanceTest() + public void Ptsv2paymentsWatchlistScreeningInformationWeightsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Riskv1exportcomplianceinquiriesExportComplianceInformationWeights - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Riskv1exportcomplianceinquiriesExportComplianceInformationWeights"); + // TODO uncomment below to test "IsInstanceOfType" Ptsv2paymentsWatchlistScreeningInformationWeights + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Ptsv2paymentsWatchlistScreeningInformationWeights"); } /// diff --git a/test/Model/Ptsv2payoutsProcessingInformationPayoutsOptionsTests.cs b/test/Model/Ptsv2payoutsProcessingInformationPayoutsOptionsTests.cs index c5c4c3ec..c84a8145 100644 --- a/test/Model/Ptsv2payoutsProcessingInformationPayoutsOptionsTests.cs +++ b/test/Model/Ptsv2payoutsProcessingInformationPayoutsOptionsTests.cs @@ -96,6 +96,14 @@ public void AccountFundingReferenceIdTest() { // TODO unit test for the property 'AccountFundingReferenceId' } + /// + /// Test the property 'DeferredDateTime' + /// + [Test] + public void DeferredDateTimeTest() + { + // TODO unit test for the property 'DeferredDateTime' + } } diff --git a/test/Model/RiskV1DecisionsPost201ResponseTests.cs b/test/Model/RiskV1DecisionsPost201ResponseTests.cs index c60986b8..a8afb93d 100644 --- a/test/Model/RiskV1DecisionsPost201ResponseTests.cs +++ b/test/Model/RiskV1DecisionsPost201ResponseTests.cs @@ -145,6 +145,14 @@ public void ConsumerAuthenticationInformationTest() // TODO unit test for the property 'ConsumerAuthenticationInformation' } /// + /// Test the property 'WatchlistScreeningInformation' + /// + [Test] + public void WatchlistScreeningInformationTest() + { + // TODO unit test for the property 'WatchlistScreeningInformation' + } + /// /// Test the property 'ErrorInformation' /// [Test] diff --git a/test/Model/Riskv1decisionsOrderInformationLineItemsTests.cs b/test/Model/Riskv1decisionsOrderInformationLineItemsTests.cs index 6700387d..5132b4a9 100644 --- a/test/Model/Riskv1decisionsOrderInformationLineItemsTests.cs +++ b/test/Model/Riskv1decisionsOrderInformationLineItemsTests.cs @@ -176,6 +176,22 @@ public void TaxAmountTest() { // TODO unit test for the property 'TaxAmount' } + /// + /// Test the property 'AllowedExportCountries' + /// + [Test] + public void AllowedExportCountriesTest() + { + // TODO unit test for the property 'AllowedExportCountries' + } + /// + /// Test the property 'RestrictedExportCountries' + /// + [Test] + public void RestrictedExportCountriesTest() + { + // TODO unit test for the property 'RestrictedExportCountries' + } } diff --git a/test/cybersource-rest-client-dotnet.Test.csproj b/test/cybersource-rest-client-dotnet.Test.csproj index c8b5c4d5..6af7c038 100644 --- a/test/cybersource-rest-client-dotnet.Test.csproj +++ b/test/cybersource-rest-client-dotnet.Test.csproj @@ -58,8 +58,8 @@ OpenAPI spec version: 0.0.1 ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll - - ..\packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll + + ..\packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll ..\packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll @@ -94,7 +94,7 @@ OpenAPI spec version: 0.0.1 - {6FEB21B8-F756-490B-8B2C-DBD84469CC78} + {060F0FE2-4715-444F-8C0C-3CB1064EB32E} cybersource-rest-client-dotnet From fca0ec3c47fd75ff81a8b03ce109f74774e2274b Mon Sep 17 00:00:00 2001 From: Gaurav Bansal Date: Mon, 24 Apr 2023 14:47:19 +0530 Subject: [PATCH 5/7] updated the version of System.Text.Encodings.Web & auth sdk in mustache files --- generator/cybersource-csharp-template/Project.mustache | 6 +++--- generator/cybersource-csharp-template/TestProject.mustache | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/generator/cybersource-csharp-template/Project.mustache b/generator/cybersource-csharp-template/Project.mustache index a6e66ef6..3740a2ee 100644 --- a/generator/cybersource-csharp-template/Project.mustache +++ b/generator/cybersource-csharp-template/Project.mustache @@ -81,8 +81,8 @@ packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll - - packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll + + packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll @@ -102,7 +102,7 @@ - packages\CyberSource.Authentication.0.0.0.15\lib\AuthenticationSdk.dll + packages\CyberSource.Authentication.0.0.0.16\lib\AuthenticationSdk.dll False diff --git a/generator/cybersource-csharp-template/TestProject.mustache b/generator/cybersource-csharp-template/TestProject.mustache index bb55ac54..deb8f179 100644 --- a/generator/cybersource-csharp-template/TestProject.mustache +++ b/generator/cybersource-csharp-template/TestProject.mustache @@ -70,8 +70,8 @@ ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll - - ..\packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll + + ..\packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll ..\packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll From d2cd552a4034c3810b67ece8dea46c365fb6e78e Mon Sep 17 00:00:00 2001 From: Gaurav Bansal Date: Mon, 24 Apr 2023 14:51:57 +0530 Subject: [PATCH 6/7] version of dependency updated --- cybersource-rest-client-dotnet.csproj | 6 +++--- test/cybersource-rest-client-dotnet.Test.csproj | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cybersource-rest-client-dotnet.csproj b/cybersource-rest-client-dotnet.csproj index ce63cd68..9bc9acd5 100644 --- a/cybersource-rest-client-dotnet.csproj +++ b/cybersource-rest-client-dotnet.csproj @@ -62,8 +62,8 @@ OpenAPI spec version: 0.0.1 packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll - - packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll + + packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll @@ -83,7 +83,7 @@ OpenAPI spec version: 0.0.1 - packages\CyberSource.Authentication.0.0.0.15\lib\AuthenticationSdk.dll + packages\CyberSource.Authentication.0.0.0.16\lib\AuthenticationSdk.dll False diff --git a/test/cybersource-rest-client-dotnet.Test.csproj b/test/cybersource-rest-client-dotnet.Test.csproj index 6af7c038..264126ad 100644 --- a/test/cybersource-rest-client-dotnet.Test.csproj +++ b/test/cybersource-rest-client-dotnet.Test.csproj @@ -58,8 +58,8 @@ OpenAPI spec version: 0.0.1 ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll - - ..\packages\System.Text.Encodings.Web.5.0.0\lib\net461\System.Text.Encodings.Web.dll + + ..\packages\System.Text.Encodings.Web.5.0.1\lib\net461\System.Text.Encodings.Web.dll ..\packages\System.Text.Json.5.0.1\lib\net461\System.Text.Json.dll From f90f74f0b8fdc88e426861021c0a790299c581a4 Mon Sep 17 00:00:00 2001 From: Gaurav Bansal Date: Tue, 2 May 2023 17:44:09 +0530 Subject: [PATCH 7/7] version update --- Properties/AssemblyInfo.cs | 4 ++-- cybersource-rest-client-dotnet.nuspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 0865c127..7dfe3d9c 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -28,5 +28,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.0.1.30")] -[assembly: AssemblyFileVersion("0.0.1.30")] +[assembly: AssemblyVersion("0.0.1.31")] +[assembly: AssemblyFileVersion("0.0.1.31")] diff --git a/cybersource-rest-client-dotnet.nuspec b/cybersource-rest-client-dotnet.nuspec index 904c18bf..0cad6ce9 100644 --- a/cybersource-rest-client-dotnet.nuspec +++ b/cybersource-rest-client-dotnet.nuspec @@ -2,7 +2,7 @@ CyberSource.Rest.Client - 0.0.1.30 + 0.0.1.31 CyberSource.Rest.Client CyberSource Corporation CyberSource