From 9b418c6856b7832e097ed1957778b5e592ab49fb Mon Sep 17 00:00:00 2001 From: monkumar Date: Wed, 18 Sep 2024 13:42:45 +0530 Subject: [PATCH 1/3] api spec changes sep24 --- Api/FlexAPIApi.cs | 415 ++ Api/ReplayWebhooksApi.cs | 1 - Model/CardProcessingConfigCommon.cs | 36 +- Model/CardProcessingConfigCommonAcquirer.cs | 36 +- ...nfigCommonMerchantDescriptorInformation.cs | 19 +- Model/CardProcessingConfigCommonProcessors.cs | 53 +- Model/Flexv2sessionsFields.cs | 144 + Model/Flexv2sessionsFieldsOrderInformation.cs | 160 + ...ionsFieldsOrderInformationAmountDetails.cs | 144 + ...rderInformationAmountDetailsTotalAmount.cs | 128 + ...xv2sessionsFieldsOrderInformationBillTo.cs | 320 + ...xv2sessionsFieldsOrderInformationShipTo.cs | 288 + .../Flexv2sessionsFieldsPaymentInformation.cs | 128 + ...xv2sessionsFieldsPaymentInformationCard.cs | 192 + Model/GenerateFlexAPICaptureContextRequest.cs | 128 + Model/InlineResponse4001.cs | 202 +- ...etails.cs => InlineResponse4001Details.cs} | 64 +- Model/InlineResponse4002.cs | 18 +- Model/InlineResponse4003.cs | 6 +- Model/InlineResponse4004.cs | 137 +- Model/InlineResponse4005.cs | 164 +- ...4Fields.cs => InlineResponse4005Fields.cs} | 16 +- Model/InlineResponse4006.cs | 195 +- Model/InlineResponse4006Details.cs | 48 +- Model/InlineResponse4041.cs | 4 +- Model/InlineResponse4221.cs | 4 +- Model/PatchInstrumentIdentifierRequest.cs | 4 +- ...stInstrumentIdentifierEnrollmentRequest.cs | 4 +- Model/PostInstrumentIdentifierRequest.cs | 4 +- ...ionPatch201ResponseProcessorInformation.cs | 19 +- .../PtsV2PaymentsReversalsPost201Response.cs | 6 +- ...tsv2paymentsRecurringPaymentInformation.cs | 9 +- ...sv2paymentsidClientReferenceInformation.cs | 19 +- ...authenticationresultsPaymentInformation.cs | 4 +- ...Riskv1authenticationsPaymentInformation.cs | 4 +- ...thenticationsPaymentInformationCustomer.cs | 151 + ...icationsetupsPaymentInformationCustomer.cs | 7 +- ...isionsConsumerAuthenticationInformation.cs | 19 +- Model/TmsEmbeddedInstrumentIdentifier.cs | 4 +- ...TokenizedCard.cs => Tmsv2TokenizedCard.cs} | 36 +- ...dCardCard.cs => Tmsv2TokenizedCardCard.cs} | 16 +- Model/Tmsv2TokenizedCardMetadata.cs | 128 + Model/Tmsv2TokenizedCardMetadataCardArt.cs | 223 + ...nizedCardMetadataCardArtBackgroundAsset.cs | 143 + ...CardMetadataCardArtBackgroundAssetLinks.cs | 128 + ...MetadataCardArtBackgroundAssetLinksSelf.cs | 128 + ...enizedCardMetadataCardArtBrandLogoAsset.cs | 143 + ...dCardMetadataCardArtBrandLogoAssetLinks.cs | 128 + ...dMetadataCardArtBrandLogoAssetLinksSelf.cs | 128 + ...izedCardMetadataCardArtCoBrandLogoAsset.cs | 143 + ...ardMetadataCardArtCoBrandLogoAssetLinks.cs | 128 + ...etadataCardArtCoBrandLogoAssetLinksSelf.cs | 128 + ...kenizedCardMetadataCardArtCombinedAsset.cs | 143 + ...edCardMetadataCardArtCombinedAssetLinks.cs | 128 + ...rdMetadataCardArtCombinedAssetLinksSelf.cs | 128 + ...v2TokenizedCardMetadataCardArtIconAsset.cs | 143 + ...enizedCardMetadataCardArtIconAssetLinks.cs | 128 + ...edCardMetadataCardArtIconAssetLinksSelf.cs | 128 + ...nizedCardMetadataCardArtIssuerLogoAsset.cs | 143 + ...CardMetadataCardArtIssuerLogoAssetLinks.cs | 128 + ...MetadataCardArtIssuerLogoAssetLinksSelf.cs | 128 + cybersource-rest-client-dotnet.csproj | 2 +- cybersource-rest-client-dotnet.sln | 10 +- docs/CardProcessingConfigCommon.md | 2 + docs/CardProcessingConfigCommonAcquirer.md | 2 + ...nfigCommonMerchantDescriptorInformation.md | 1 + docs/CardProcessingConfigCommonProcessors.md | 3 + docs/FlexAPIApi.md | 70 + docs/Flexv2sessionsFields.md | 10 + docs/Flexv2sessionsFieldsOrderInformation.md | 11 + ...ionsFieldsOrderInformationAmountDetails.md | 10 + ...rderInformationAmountDetailsTotalAmount.md | 9 + ...xv2sessionsFieldsOrderInformationBillTo.md | 21 + ...xv2sessionsFieldsOrderInformationShipTo.md | 19 + .../Flexv2sessionsFieldsPaymentInformation.md | 9 + ...xv2sessionsFieldsPaymentInformationCard.md | 13 + docs/GenerateFlexAPICaptureContextRequest.md | 9 + docs/InlineResponse4001.md | 10 +- docs/InlineResponse4001Details.md | 10 + docs/InlineResponse4002.md | 6 +- docs/InlineResponse4003.md | 2 +- docs/InlineResponse4004.md | 11 +- docs/InlineResponse4005.md | 11 +- ...4Fields.md => InlineResponse4005Fields.md} | 2 +- docs/InlineResponse4006.md | 8 +- docs/InlineResponse4006Details.md | 4 +- docs/InlineResponse4041.md | 2 +- docs/InlineResponse4221.md | 2 +- docs/PatchInstrumentIdentifierRequest.md | 2 +- ...stInstrumentIdentifierEnrollmentRequest.md | 2 +- docs/PostInstrumentIdentifierRequest.md | 2 +- ...ionPatch201ResponseProcessorInformation.md | 1 + docs/PtsV2PaymentsReversalsPost201Response.md | 2 +- ...tsv2paymentsRecurringPaymentInformation.md | 4 +- ...sv2paymentsidClientReferenceInformation.md | 1 + ...authenticationresultsPaymentInformation.md | 2 +- ...Riskv1authenticationsPaymentInformation.md | 2 +- ...thenticationsPaymentInformationCustomer.md | 10 + ...icationsetupsPaymentInformationCustomer.md | 2 +- ...isionsConsumerAuthenticationInformation.md | 1 - docs/TmsEmbeddedInstrumentIdentifier.md | 2 +- ...TokenizedCard.md => Tmsv2TokenizedCard.md} | 5 +- ...dCardCard.md => Tmsv2TokenizedCardCard.md} | 2 +- docs/Tmsv2TokenizedCardMetadata.md | 9 + docs/Tmsv2TokenizedCardMetadataCardArt.md | 15 + ...nizedCardMetadataCardArtBackgroundAsset.md | 10 + ...CardMetadataCardArtBackgroundAssetLinks.md | 9 + ...MetadataCardArtBackgroundAssetLinksSelf.md | 9 + ...enizedCardMetadataCardArtBrandLogoAsset.md | 10 + ...dCardMetadataCardArtBrandLogoAssetLinks.md | 9 + ...dMetadataCardArtBrandLogoAssetLinksSelf.md | 9 + ...izedCardMetadataCardArtCoBrandLogoAsset.md | 10 + ...ardMetadataCardArtCoBrandLogoAssetLinks.md | 9 + ...tadataCardArtCoBrandLogoAssetLinksSelf.md} | 5 +- ...kenizedCardMetadataCardArtCombinedAsset.md | 10 + ...edCardMetadataCardArtCombinedAssetLinks.md | 9 + ...rdMetadataCardArtCombinedAssetLinksSelf.md | 9 + ...v2TokenizedCardMetadataCardArtIconAsset.md | 10 + ...enizedCardMetadataCardArtIconAssetLinks.md | 9 + ...edCardMetadataCardArtIconAssetLinksSelf.md | 9 + ...nizedCardMetadataCardArtIssuerLogoAsset.md | 10 + ...CardMetadataCardArtIssuerLogoAssetLinks.md | 9 + ...MetadataCardArtIssuerLogoAssetLinksSelf.md | 9 + generator/cybersource-rest-spec.json | 6122 ++++++++++++++++- test/Api/FlexAPIApiTests.cs | 81 + ...CardProcessingConfigCommonAcquirerTests.cs | 16 + ...ommonMerchantDescriptorInformationTests.cs | 8 + ...rdProcessingConfigCommonProcessorsTests.cs | 24 + test/Model/CardProcessingConfigCommonTests.cs | 16 + ...ieldsOrderInformationAmountDetailsTests.cs | 86 + ...nformationAmountDetailsTotalAmountTests.cs | 78 + ...ssionsFieldsOrderInformationBillToTests.cs | 174 + ...ssionsFieldsOrderInformationShipToTests.cs | 158 + ...exv2sessionsFieldsOrderInformationTests.cs | 94 + ...ssionsFieldsPaymentInformationCardTests.cs | 110 + ...v2sessionsFieldsPaymentInformationTests.cs | 78 + test/Model/Flexv2sessionsFieldsTests.cs | 86 + ...nerateFlexAPICaptureContextRequestTests.cs | 78 + ...s.cs => InlineResponse4001DetailsTests.cs} | 32 +- test/Model/InlineResponse4001Tests.cs | 24 +- test/Model/InlineResponse4004Tests.cs | 38 +- ...ts.cs => InlineResponse4005FieldsTests.cs} | 20 +- test/Model/InlineResponse4005Tests.cs | 38 +- test/Model/InlineResponse4006DetailsTests.cs | 12 +- test/Model/InlineResponse4006Tests.cs | 24 +- ...tch201ResponseProcessorInformationTests.cs | 8 + ...ymentsidClientReferenceInformationTests.cs | 8 + ...icationsPaymentInformationCustomerTests.cs | 86 + ...sConsumerAuthenticationInformationTests.cs | 8 - ...ests.cs => Tmsv2TokenizedCardCardTests.cs} | 20 +- ...ataCardArtBackgroundAssetLinksSelfTests.cs | 78 + ...etadataCardArtBackgroundAssetLinksTests.cs | 78 + ...CardMetadataCardArtBackgroundAssetTests.cs | 86 + ...dataCardArtBrandLogoAssetLinksSelfTests.cs | 78 + ...MetadataCardArtBrandLogoAssetLinksTests.cs | 78 + ...dCardMetadataCardArtBrandLogoAssetTests.cs | 86 + ...taCardArtCoBrandLogoAssetLinksSelfTests.cs | 78 + ...tadataCardArtCoBrandLogoAssetLinksTests.cs | 78 + ...ardMetadataCardArtCoBrandLogoAssetTests.cs | 86 + ...adataCardArtCombinedAssetLinksSelfTests.cs | 78 + ...dMetadataCardArtCombinedAssetLinksTests.cs | 78 + ...edCardMetadataCardArtCombinedAssetTests.cs | 86 + ...dMetadataCardArtIconAssetLinksSelfTests.cs | 78 + ...dCardMetadataCardArtIconAssetLinksTests.cs | 78 + ...enizedCardMetadataCardArtIconAssetTests.cs | 86 + ...ataCardArtIssuerLogoAssetLinksSelfTests.cs | 78 + ...etadataCardArtIssuerLogoAssetLinksTests.cs | 78 + ...CardMetadataCardArtIssuerLogoAssetTests.cs | 86 + .../Tmsv2TokenizedCardMetadataCardArtTests.cs | 126 + test/Model/Tmsv2TokenizedCardMetadataTests.cs | 78 + ...ardTests.cs => Tmsv2TokenizedCardTests.cs} | 28 +- ...cybersource-rest-client-dotnet.Test.csproj | 2 +- 172 files changed, 15089 insertions(+), 722 deletions(-) create mode 100644 Api/FlexAPIApi.cs create mode 100644 Model/Flexv2sessionsFields.cs create mode 100644 Model/Flexv2sessionsFieldsOrderInformation.cs create mode 100644 Model/Flexv2sessionsFieldsOrderInformationAmountDetails.cs create mode 100644 Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.cs create mode 100644 Model/Flexv2sessionsFieldsOrderInformationBillTo.cs create mode 100644 Model/Flexv2sessionsFieldsOrderInformationShipTo.cs create mode 100644 Model/Flexv2sessionsFieldsPaymentInformation.cs create mode 100644 Model/Flexv2sessionsFieldsPaymentInformationCard.cs create mode 100644 Model/GenerateFlexAPICaptureContextRequest.cs rename Model/{InlineResponse4005Details.cs => InlineResponse4001Details.cs} (61%) rename Model/{InlineResponse4004Fields.cs => InlineResponse4005Fields.cs} (91%) create mode 100644 Model/Riskv1authenticationsPaymentInformationCustomer.cs rename Model/{TmsEmbeddedInstrumentIdentifierTokenizedCard.cs => Tmsv2TokenizedCard.cs} (90%) rename Model/{TmsEmbeddedInstrumentIdentifierTokenizedCardCard.cs => Tmsv2TokenizedCardCard.cs} (87%) create mode 100644 Model/Tmsv2TokenizedCardMetadata.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArt.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.cs create mode 100644 Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.cs create mode 100644 docs/FlexAPIApi.md create mode 100644 docs/Flexv2sessionsFields.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformation.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformationAmountDetails.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformationBillTo.md create mode 100644 docs/Flexv2sessionsFieldsOrderInformationShipTo.md create mode 100644 docs/Flexv2sessionsFieldsPaymentInformation.md create mode 100644 docs/Flexv2sessionsFieldsPaymentInformationCard.md create mode 100644 docs/GenerateFlexAPICaptureContextRequest.md create mode 100644 docs/InlineResponse4001Details.md rename docs/{InlineResponse4004Fields.md => InlineResponse4005Fields.md} (91%) create mode 100644 docs/Riskv1authenticationsPaymentInformationCustomer.md rename docs/{TmsEmbeddedInstrumentIdentifierTokenizedCard.md => Tmsv2TokenizedCard.md} (92%) rename docs/{TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md => Tmsv2TokenizedCardCard.md} (91%) create mode 100644 docs/Tmsv2TokenizedCardMetadata.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArt.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md rename docs/{InlineResponse4005Details.md => Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md} (54%) create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md create mode 100644 docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md create mode 100644 test/Api/FlexAPIApiTests.cs create mode 100644 test/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTests.cs create mode 100644 test/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountTests.cs create mode 100644 test/Model/Flexv2sessionsFieldsOrderInformationBillToTests.cs create mode 100644 test/Model/Flexv2sessionsFieldsOrderInformationShipToTests.cs create mode 100644 test/Model/Flexv2sessionsFieldsOrderInformationTests.cs create mode 100644 test/Model/Flexv2sessionsFieldsPaymentInformationCardTests.cs create mode 100644 test/Model/Flexv2sessionsFieldsPaymentInformationTests.cs create mode 100644 test/Model/Flexv2sessionsFieldsTests.cs create mode 100644 test/Model/GenerateFlexAPICaptureContextRequestTests.cs rename test/Model/{InlineResponse4005DetailsTests.cs => InlineResponse4001DetailsTests.cs} (64%) rename test/Model/{InlineResponse4004FieldsTests.cs => InlineResponse4005FieldsTests.cs} (78%) create mode 100644 test/Model/Riskv1authenticationsPaymentInformationCustomerTests.cs rename test/Model/{TmsEmbeddedInstrumentIdentifierTokenizedCardCardTests.cs => Tmsv2TokenizedCardCardTests.cs} (71%) create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelfTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelfTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelfTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelfTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelfTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelfTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataCardArtTests.cs create mode 100644 test/Model/Tmsv2TokenizedCardMetadataTests.cs rename test/Model/{TmsEmbeddedInstrumentIdentifierTokenizedCardTests.cs => Tmsv2TokenizedCardTests.cs} (83%) diff --git a/Api/FlexAPIApi.cs b/Api/FlexAPIApi.cs new file mode 100644 index 00000000..7357bd2d --- /dev/null +++ b/Api/FlexAPIApi.cs @@ -0,0 +1,415 @@ +/* + * 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.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using RestSharp; +using CyberSource.Client; +using CyberSource.Model; +using NLog; +using AuthenticationSdk.util; +using CyberSource.Utilities.Tracking; + +namespace CyberSource.Api +{ + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface IFlexAPIApi : IApiAccessor + { + #region Synchronous Operations + /// + /// Establish a Payment Session with a Capture Context + /// + /// + /// To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + /// + /// Thrown when fails to make API call + /// + /// string + string GenerateFlexAPICaptureContext (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest); + + /// + /// Establish a Payment Session with a Capture Context + /// + /// + /// To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + /// + /// Thrown when fails to make API call + /// + /// ApiResponse of string + ApiResponse GenerateFlexAPICaptureContextWithHttpInfo (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest); + #endregion Synchronous Operations + #region Asynchronous Operations + /// + /// Establish a Payment Session with a Capture Context + /// + /// + /// To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + /// + /// Thrown when fails to make API call + /// + /// Task of string + System.Threading.Tasks.Task GenerateFlexAPICaptureContextAsync (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest); + + /// + /// Establish a Payment Session with a Capture Context + /// + /// + /// To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + /// + /// Thrown when fails to make API call + /// + /// Task of ApiResponse (string) + System.Threading.Tasks.Task> GenerateFlexAPICaptureContextAsyncWithHttpInfo (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest); + #endregion Asynchronous Operations + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public partial class FlexAPIApi : IFlexAPIApi + { + private static Logger logger; + private ExceptionFactory _exceptionFactory = (name, response) => null; + private int? _statusCode; + + /// + /// Initializes a new instance of the class. + /// + /// + public FlexAPIApi(string basePath) + { + Configuration = new Configuration(new ApiClient(basePath)); + + ExceptionFactory = Configuration.DefaultExceptionFactory; + + // ensure API client has configuration ready + if (Configuration.ApiClient.Configuration == null) + { + Configuration.ApiClient.Configuration = Configuration; + } + + if (logger == null) + { + logger = LogManager.GetCurrentClassLogger(); + } + } + + /// + /// Initializes a new instance of the class + /// using Configuration object + /// + /// An instance of Configuration + /// + public FlexAPIApi(Configuration configuration = null) + { + if (configuration == null) // use the default one in Configuration + Configuration = Configuration.Default; + else + Configuration = configuration; + + ExceptionFactory = Configuration.DefaultExceptionFactory; + + Configuration.ApiClient.Configuration = Configuration; + + if (logger == null) + { + logger = LogManager.GetCurrentClassLogger(); + } + } + + /// + /// Gets the base path of the API client. + /// + /// The base path + public string GetBasePath() + { + return Configuration.ApiClient.RestClient.Options.BaseUrl.ToString(); + } + + /// + /// Sets the base path of the API client. + /// + /// The base path + [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")] + public void SetBasePath(string basePath) + { + // do nothing + } + + /// + /// Gets or sets the configuration object + /// + /// An instance of the Configuration + public Configuration Configuration { get; set; } + + /// + /// Provides a factory method hook for the creation of exceptions. + /// + public ExceptionFactory ExceptionFactory + { + get + { + if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1) + { + logger.Error("InvalidOperationException : Multicast delegate for ExceptionFactory is unsupported."); + throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported."); + } + return _exceptionFactory; + } + set { _exceptionFactory = value; } + } + + /// + /// Gets the default header. + /// + /// Dictionary of HTTP header + [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")] + public Dictionary DefaultHeader() + { + return Configuration.DefaultHeader; + } + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")] + public void AddDefaultHeader(string key, string value) + { + Configuration.AddDefaultHeader(key, value); + } + + /// + /// Retrieves the status code being set for the most recently executed API request. + /// + /// Status Code of previous request + public int GetStatusCode() + { + return this._statusCode == null ? 0 : (int) this._statusCode; + } + + /// + /// Sets the value of status code for the most recently executed API request, in order to be retrieved later. + /// + /// Status Code to be set + /// + public void SetStatusCode(int? statusCode) + { + this._statusCode = statusCode; + } + + /// + /// Establish a Payment Session with a Capture Context To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + /// + /// Thrown when fails to make API call + /// + /// string + public string GenerateFlexAPICaptureContext (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) + { + logger.Debug("CALLING API \"GenerateFlexAPICaptureContext\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = GenerateFlexAPICaptureContextWithHttpInfo(generateFlexAPICaptureContextRequest); + logger.Debug("CALLING API \"GenerateFlexAPICaptureContext\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Establish a Payment Session with a Capture Context To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + /// + /// Thrown when fails to make API call + /// + /// ApiResponse of string + public ApiResponse< string > GenerateFlexAPICaptureContextWithHttpInfo (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'generateFlexAPICaptureContextRequest' is set + if (generateFlexAPICaptureContextRequest == null) + { + logger.Error("ApiException : Missing required parameter 'generateFlexAPICaptureContextRequest' when calling FlexAPIApi->GenerateFlexAPICaptureContext"); + throw new ApiException(400, "Missing required parameter 'generateFlexAPICaptureContextRequest' when calling FlexAPIApi->GenerateFlexAPICaptureContext"); + } + + var localVarPath = $"/flex/v2/sessions"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/jwt" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (generateFlexAPICaptureContextRequest != null && generateFlexAPICaptureContextRequest.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + generateFlexAPICaptureContextRequest = (GenerateFlexAPICaptureContextRequest)sdkTracker.InsertDeveloperIdTracker(generateFlexAPICaptureContextRequest, generateFlexAPICaptureContextRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(generateFlexAPICaptureContextRequest); // http body (model) parameter + } + else + { + localVarPostBody = generateFlexAPICaptureContextRequest; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GenerateFlexAPICaptureContext", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), + (string) Configuration.ApiClient.Deserialize(localVarResponse, typeof(string))); // Return statement + } + + /// + /// Establish a Payment Session with a Capture Context To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + /// + /// Thrown when fails to make API call + /// + /// Task of string + public async System.Threading.Tasks.Task GenerateFlexAPICaptureContextAsync (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) + { + logger.Debug("CALLING API \"GenerateFlexAPICaptureContextAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = await GenerateFlexAPICaptureContextAsyncWithHttpInfo(generateFlexAPICaptureContextRequest); + logger.Debug("CALLING API \"GenerateFlexAPICaptureContextAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Establish a Payment Session with a Capture Context To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**<br> When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + /// + /// Thrown when fails to make API call + /// + /// Task of ApiResponse (string) + public async System.Threading.Tasks.Task> GenerateFlexAPICaptureContextAsyncWithHttpInfo (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'generateFlexAPICaptureContextRequest' is set + if (generateFlexAPICaptureContextRequest == null) + { + logger.Error("ApiException : Missing required parameter 'generateFlexAPICaptureContextRequest' when calling FlexAPIApi->GenerateFlexAPICaptureContext"); + throw new ApiException(400, "Missing required parameter 'generateFlexAPICaptureContextRequest' when calling FlexAPIApi->GenerateFlexAPICaptureContext"); + } + + var localVarPath = $"/flex/v2/sessions"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + object localVarPostBody = null; + + // to determine the Content-Type header + string[] localVarHttpContentTypes = new string[] { + "application/json;charset=utf-8" + }; + string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + string[] localVarHttpHeaderAccepts = new string[] { + "application/jwt" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (generateFlexAPICaptureContextRequest != null && generateFlexAPICaptureContextRequest.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + generateFlexAPICaptureContextRequest = (GenerateFlexAPICaptureContextRequest)sdkTracker.InsertDeveloperIdTracker(generateFlexAPICaptureContextRequest, generateFlexAPICaptureContextRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); + localVarPostBody = Configuration.ApiClient.Serialize(generateFlexAPICaptureContextRequest); // http body (model) parameter + } + else + { + localVarPostBody = generateFlexAPICaptureContextRequest; // byte array + } + + if (logUtility.IsMaskingEnabled(logger)) + { + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + } + else + { + logger.Debug($"HTTP Request Body :\n{localVarPostBody}"); + } + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GenerateFlexAPICaptureContext", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), + (string) Configuration.ApiClient.Deserialize(localVarResponse, typeof(string))); // Return statement + } + } +} diff --git a/Api/ReplayWebhooksApi.cs b/Api/ReplayWebhooksApi.cs index 4f77219d..728552d0 100644 --- a/Api/ReplayWebhooksApi.cs +++ b/Api/ReplayWebhooksApi.cs @@ -17,7 +17,6 @@ using NLog; using AuthenticationSdk.util; using CyberSource.Utilities.Tracking; -using CyberSource.Model; namespace CyberSource.Api { diff --git a/Model/CardProcessingConfigCommon.cs b/Model/CardProcessingConfigCommon.cs index ed22e686..8a7bc634 100644 --- a/Model/CardProcessingConfigCommon.cs +++ b/Model/CardProcessingConfigCommon.cs @@ -86,7 +86,9 @@ public enum DefaultAuthTypeCodeEnum /// Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> . /// It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors.. /// MerchantDescriptorInformation. - public CardProcessingConfigCommon(Dictionary Processors = default(Dictionary), string AmexVendorCode = default(string), DefaultAuthTypeCodeEnum? DefaultAuthTypeCode = default(DefaultAuthTypeCodeEnum?), string MasterCardAssignedId = default(string), bool? EnablePartialAuth = default(bool?), string MerchantCategoryCode = default(string), string SicCode = default(string), string FoodAndConsumerServiceId = default(string), bool? EnableSplitShipment = default(bool?), bool? EnableInterchangeOptimization = default(bool?), string VisaDelegatedAuthenticationId = default(string), string CreditCardRefundLimitPercent = default(string), string BusinessCenterCreditCardRefundLimitPercent = default(string), bool? AllowCapturesGreaterThanAuthorizations = default(bool?), bool? EnableDuplicateMerchantReferenceNumberBlocking = default(bool?), bool? DomesticMerchantId = default(bool?), string ProcessLevel3Data = default(string), string SubMerchantId = default(string), string SubMerchantBusinessName = default(string), bool? PreferCobadgedSecondaryBrand = default(bool?), CardProcessingConfigCommonMerchantDescriptorInformation MerchantDescriptorInformation = default(CardProcessingConfigCommonMerchantDescriptorInformation)) + /// Indicates whether the merchant is government controlled. Applicable for VPC processors.. + /// This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request.. + public CardProcessingConfigCommon(Dictionary Processors = default(Dictionary), string AmexVendorCode = default(string), DefaultAuthTypeCodeEnum? DefaultAuthTypeCode = default(DefaultAuthTypeCodeEnum?), string MasterCardAssignedId = default(string), bool? EnablePartialAuth = default(bool?), string MerchantCategoryCode = default(string), string SicCode = default(string), string FoodAndConsumerServiceId = default(string), bool? EnableSplitShipment = default(bool?), bool? EnableInterchangeOptimization = default(bool?), string VisaDelegatedAuthenticationId = default(string), string CreditCardRefundLimitPercent = default(string), string BusinessCenterCreditCardRefundLimitPercent = default(string), bool? AllowCapturesGreaterThanAuthorizations = default(bool?), bool? EnableDuplicateMerchantReferenceNumberBlocking = default(bool?), bool? DomesticMerchantId = default(bool?), string ProcessLevel3Data = default(string), string SubMerchantId = default(string), string SubMerchantBusinessName = default(string), bool? PreferCobadgedSecondaryBrand = default(bool?), CardProcessingConfigCommonMerchantDescriptorInformation MerchantDescriptorInformation = default(CardProcessingConfigCommonMerchantDescriptorInformation), bool? GovernmentControlled = default(bool?), bool? DropBillingInfo = default(bool?)) { this.Processors = Processors; this.AmexVendorCode = AmexVendorCode; @@ -109,6 +111,8 @@ public enum DefaultAuthTypeCodeEnum this.SubMerchantBusinessName = SubMerchantBusinessName; this.PreferCobadgedSecondaryBrand = PreferCobadgedSecondaryBrand; this.MerchantDescriptorInformation = MerchantDescriptorInformation; + this.GovernmentControlled = GovernmentControlled; + this.DropBillingInfo = DropBillingInfo; } /// @@ -251,6 +255,20 @@ public enum DefaultAuthTypeCodeEnum [DataMember(Name="merchantDescriptorInformation", EmitDefaultValue=false)] public CardProcessingConfigCommonMerchantDescriptorInformation MerchantDescriptorInformation { get; set; } + /// + /// Indicates whether the merchant is government controlled. Applicable for VPC processors. + /// + /// Indicates whether the merchant is government controlled. Applicable for VPC processors. + [DataMember(Name="governmentControlled", EmitDefaultValue=false)] + public bool? GovernmentControlled { get; set; } + + /// + /// This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request. + /// + /// This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request. + [DataMember(Name="dropBillingInfo", EmitDefaultValue=false)] + public bool? DropBillingInfo { get; set; } + /// /// Returns the string presentation of the object /// @@ -280,6 +298,8 @@ public override string ToString() sb.Append(" SubMerchantBusinessName: ").Append(SubMerchantBusinessName).Append("\n"); sb.Append(" PreferCobadgedSecondaryBrand: ").Append(PreferCobadgedSecondaryBrand).Append("\n"); sb.Append(" MerchantDescriptorInformation: ").Append(MerchantDescriptorInformation).Append("\n"); + sb.Append(" GovernmentControlled: ").Append(GovernmentControlled).Append("\n"); + sb.Append(" DropBillingInfo: ").Append(DropBillingInfo).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -420,6 +440,16 @@ public bool Equals(CardProcessingConfigCommon other) this.MerchantDescriptorInformation == other.MerchantDescriptorInformation || this.MerchantDescriptorInformation != null && this.MerchantDescriptorInformation.Equals(other.MerchantDescriptorInformation) + ) && + ( + this.GovernmentControlled == other.GovernmentControlled || + this.GovernmentControlled != null && + this.GovernmentControlled.Equals(other.GovernmentControlled) + ) && + ( + this.DropBillingInfo == other.DropBillingInfo || + this.DropBillingInfo != null && + this.DropBillingInfo.Equals(other.DropBillingInfo) ); } @@ -476,6 +506,10 @@ public override int GetHashCode() hash = hash * 59 + this.PreferCobadgedSecondaryBrand.GetHashCode(); if (this.MerchantDescriptorInformation != null) hash = hash * 59 + this.MerchantDescriptorInformation.GetHashCode(); + if (this.GovernmentControlled != null) + hash = hash * 59 + this.GovernmentControlled.GetHashCode(); + if (this.DropBillingInfo != null) + hash = hash * 59 + this.DropBillingInfo.GetHashCode(); return hash; } } diff --git a/Model/CardProcessingConfigCommonAcquirer.cs b/Model/CardProcessingConfigCommonAcquirer.cs index 90f9e6f9..cccbb277 100644 --- a/Model/CardProcessingConfigCommonAcquirer.cs +++ b/Model/CardProcessingConfigCommonAcquirer.cs @@ -36,13 +36,17 @@ public partial class CardProcessingConfigCommonAcquirer : IEquatableIdentifier of the acquirer. This number is usually assigned by Visa. Applicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>13</td><td>^[0-9]+$</td><td>1111</td></tr> </table> . /// Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors.. /// Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors.. + /// Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors.. + /// Assigned by Diners Club to identify the acquirer. Applicable for VPC processors.. /// ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors.. /// The BIN to which this capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors.. - public CardProcessingConfigCommonAcquirer(string InstitutionId = default(string), string InterbankCardAssociationId = default(string), string DiscoverInstitutionId = default(string), string CountryCode = default(string), string FileDestinationBin = default(string)) + public CardProcessingConfigCommonAcquirer(string InstitutionId = default(string), string InterbankCardAssociationId = default(string), string DiscoverInstitutionId = default(string), string UnionPayInstitutionId = default(string), string DinersClubInstitutionId = default(string), string CountryCode = default(string), string FileDestinationBin = default(string)) { this.InstitutionId = InstitutionId; this.InterbankCardAssociationId = InterbankCardAssociationId; this.DiscoverInstitutionId = DiscoverInstitutionId; + this.UnionPayInstitutionId = UnionPayInstitutionId; + this.DinersClubInstitutionId = DinersClubInstitutionId; this.CountryCode = CountryCode; this.FileDestinationBin = FileDestinationBin; } @@ -68,6 +72,20 @@ public partial class CardProcessingConfigCommonAcquirer : IEquatable + /// Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors. + /// + /// Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors. + [DataMember(Name="unionPayInstitutionId", EmitDefaultValue=false)] + public string UnionPayInstitutionId { get; set; } + + /// + /// Assigned by Diners Club to identify the acquirer. Applicable for VPC processors. + /// + /// Assigned by Diners Club to identify the acquirer. Applicable for VPC processors. + [DataMember(Name="dinersClubInstitutionId", EmitDefaultValue=false)] + public string DinersClubInstitutionId { get; set; } + /// /// ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors. /// @@ -93,6 +111,8 @@ public override string ToString() sb.Append(" InstitutionId: ").Append(InstitutionId).Append("\n"); sb.Append(" InterbankCardAssociationId: ").Append(InterbankCardAssociationId).Append("\n"); sb.Append(" DiscoverInstitutionId: ").Append(DiscoverInstitutionId).Append("\n"); + sb.Append(" UnionPayInstitutionId: ").Append(UnionPayInstitutionId).Append("\n"); + sb.Append(" DinersClubInstitutionId: ").Append(DinersClubInstitutionId).Append("\n"); sb.Append(" CountryCode: ").Append(CountryCode).Append("\n"); sb.Append(" FileDestinationBin: ").Append(FileDestinationBin).Append("\n"); sb.Append("}\n"); @@ -146,6 +166,16 @@ public bool Equals(CardProcessingConfigCommonAcquirer other) this.DiscoverInstitutionId != null && this.DiscoverInstitutionId.Equals(other.DiscoverInstitutionId) ) && + ( + this.UnionPayInstitutionId == other.UnionPayInstitutionId || + this.UnionPayInstitutionId != null && + this.UnionPayInstitutionId.Equals(other.UnionPayInstitutionId) + ) && + ( + this.DinersClubInstitutionId == other.DinersClubInstitutionId || + this.DinersClubInstitutionId != null && + this.DinersClubInstitutionId.Equals(other.DinersClubInstitutionId) + ) && ( this.CountryCode == other.CountryCode || this.CountryCode != null && @@ -175,6 +205,10 @@ public override int GetHashCode() hash = hash * 59 + this.InterbankCardAssociationId.GetHashCode(); if (this.DiscoverInstitutionId != null) hash = hash * 59 + this.DiscoverInstitutionId.GetHashCode(); + if (this.UnionPayInstitutionId != null) + hash = hash * 59 + this.UnionPayInstitutionId.GetHashCode(); + if (this.DinersClubInstitutionId != null) + hash = hash * 59 + this.DinersClubInstitutionId.GetHashCode(); if (this.CountryCode != null) hash = hash * 59 + this.CountryCode.GetHashCode(); if (this.FileDestinationBin != null) diff --git a/Model/CardProcessingConfigCommonMerchantDescriptorInformation.cs b/Model/CardProcessingConfigCommonMerchantDescriptorInformation.cs index 38b437b2..fc0448d0 100644 --- a/Model/CardProcessingConfigCommonMerchantDescriptorInformation.cs +++ b/Model/CardProcessingConfigCommonMerchantDescriptorInformation.cs @@ -41,7 +41,8 @@ public partial class CardProcessingConfigCommonMerchantDescriptorInformation : /// Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> . /// Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> . /// Applicable for RUPAY and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>40</td><td>URL</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>1</td><td>40</td><td>URL</td></tr> </table> . - public CardProcessingConfigCommonMerchantDescriptorInformation(string Name = default(string), string City = default(string), string Country = default(string), string Phone = default(string), string State = default(string), string Street = default(string), string Zip = default(string), string Url = default(string)) + /// Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute.. + public CardProcessingConfigCommonMerchantDescriptorInformation(string Name = default(string), string City = default(string), string Country = default(string), string Phone = default(string), string State = default(string), string Street = default(string), string Zip = default(string), string Url = default(string), string CountryOfOrigin = default(string)) { this.Name = Name; this.City = City; @@ -51,6 +52,7 @@ public partial class CardProcessingConfigCommonMerchantDescriptorInformation : this.Street = Street; this.Zip = Zip; this.Url = Url; + this.CountryOfOrigin = CountryOfOrigin; } /// @@ -109,6 +111,13 @@ public partial class CardProcessingConfigCommonMerchantDescriptorInformation : [DataMember(Name="url", EmitDefaultValue=false)] public string Url { get; set; } + /// + /// Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute. + /// + /// Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute. + [DataMember(Name="countryOfOrigin", EmitDefaultValue=false)] + public string CountryOfOrigin { get; set; } + /// /// Returns the string presentation of the object /// @@ -125,6 +134,7 @@ public override string ToString() sb.Append(" Street: ").Append(Street).Append("\n"); sb.Append(" Zip: ").Append(Zip).Append("\n"); sb.Append(" Url: ").Append(Url).Append("\n"); + sb.Append(" CountryOfOrigin: ").Append(CountryOfOrigin).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -200,6 +210,11 @@ public bool Equals(CardProcessingConfigCommonMerchantDescriptorInformation other this.Url == other.Url || this.Url != null && this.Url.Equals(other.Url) + ) && + ( + this.CountryOfOrigin == other.CountryOfOrigin || + this.CountryOfOrigin != null && + this.CountryOfOrigin.Equals(other.CountryOfOrigin) ); } @@ -230,6 +245,8 @@ public override int GetHashCode() hash = hash * 59 + this.Zip.GetHashCode(); if (this.Url != null) hash = hash * 59 + this.Url.GetHashCode(); + if (this.CountryOfOrigin != null) + hash = hash * 59 + this.CountryOfOrigin.GetHashCode(); return hash; } } diff --git a/Model/CardProcessingConfigCommonProcessors.cs b/Model/CardProcessingConfigCommonProcessors.cs index 4959089b..8ca41266 100644 --- a/Model/CardProcessingConfigCommonProcessors.cs +++ b/Model/CardProcessingConfigCommonProcessors.cs @@ -127,6 +127,9 @@ protected CardProcessingConfigCommonProcessors() { } /// The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table> . /// Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB . /// Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). + /// This field is used as aggregator Id when Visa payment type is selected. + /// This field is used as aggregator Id when Amex payment type is selected. + /// This field is used as aggregator Id when Master Card payment type is selected. /// The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.. /// Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> . /// Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors.. @@ -162,7 +165,7 @@ protected CardProcessingConfigCommonProcessors() { } /// 'POS Network Switching' or 'Alternate Routing' means merchant can process PIN Debit transactions without a PIN. Set the value to 'Yes' if it is supported. Applicable for FDI Global (fdiglobal) processor.. /// Enable dynamic currency conversion for a merchant.. /// Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors.. - public CardProcessingConfigCommonProcessors(string BatchGroup = default(string), string BusinessApplicationId = default(string), string MerchantVerificationValue = default(string), string AbaNumber = default(string), CardProcessingConfigCommonAcquirer Acquirer = default(CardProcessingConfigCommonAcquirer), string MerchantId = default(string), string TerminalId = default(string), Dictionary PaymentTypes = default(Dictionary), Dictionary Currencies = default(Dictionary), string SicCode = default(string), bool? AllowMultipleBills = default(bool?), bool? AllowMerchantDescriptorOverride = default(bool?), string EnhancedData = default(string), bool? FireSafetyIndicator = default(bool?), bool? QuasiCash = default(bool?), string AcquirerMerchantId = default(string), string AvsFormat = default(string), bool? EnableLongTransRefNo = default(bool?), bool? EnableLevel2 = default(bool?), bool? EnableMultipleTransactionAdviceAddendum = default(bool?), string AmexTransactionAdviceAddendum1 = default(string), bool? EnableMultiLineItems = default(bool?), bool? EnableTransactionReferenceNumber = default(bool?), bool? EnableAutoAuthReversalAfterVoid = default(bool?), bool? EnableExpresspayPanTranslation = default(bool?), bool? EnableCreditAuth = default(bool?), IndustryCodeEnum? IndustryCode = default(IndustryCodeEnum?), bool? SendAmexLevel2Data = default(bool?), string SoftDescriptorType = default(string), string VitalNumber = default(string), string BankNumber = default(string), string ChainNumber = default(string), string MerchantBinNumber = default(string), string MerchantLocationNumber = default(string), string StoreID = default(string), string TravelAgencyCode = default(string), string TravelAgencyName = default(string), string SettlementCurrency = default(string), bool? EnableLeastCostRouting = default(bool?), bool? EnableCVVResponseIndicator = default(bool?), string EnableMultiCurrencyProcessing = default(string), bool? EnablePosNetworkSwitching = default(bool?), bool? EnableDynamicCurrencyConversion = default(bool?), string MerchantTier = default(string)) + public CardProcessingConfigCommonProcessors(string BatchGroup = default(string), string BusinessApplicationId = default(string), string MerchantVerificationValue = default(string), string AbaNumber = default(string), CardProcessingConfigCommonAcquirer Acquirer = default(CardProcessingConfigCommonAcquirer), string MerchantId = default(string), string TerminalId = default(string), Dictionary PaymentTypes = default(Dictionary), Dictionary Currencies = default(Dictionary), string VisaAggregatorId = default(string), string AmexAggregatorId = default(string), string MasterCardAggregatorId = default(string), string SicCode = default(string), bool? AllowMultipleBills = default(bool?), bool? AllowMerchantDescriptorOverride = default(bool?), string EnhancedData = default(string), bool? FireSafetyIndicator = default(bool?), bool? QuasiCash = default(bool?), string AcquirerMerchantId = default(string), string AvsFormat = default(string), bool? EnableLongTransRefNo = default(bool?), bool? EnableLevel2 = default(bool?), bool? EnableMultipleTransactionAdviceAddendum = default(bool?), string AmexTransactionAdviceAddendum1 = default(string), bool? EnableMultiLineItems = default(bool?), bool? EnableTransactionReferenceNumber = default(bool?), bool? EnableAutoAuthReversalAfterVoid = default(bool?), bool? EnableExpresspayPanTranslation = default(bool?), bool? EnableCreditAuth = default(bool?), IndustryCodeEnum? IndustryCode = default(IndustryCodeEnum?), bool? SendAmexLevel2Data = default(bool?), string SoftDescriptorType = default(string), string VitalNumber = default(string), string BankNumber = default(string), string ChainNumber = default(string), string MerchantBinNumber = default(string), string MerchantLocationNumber = default(string), string StoreID = default(string), string TravelAgencyCode = default(string), string TravelAgencyName = default(string), string SettlementCurrency = default(string), bool? EnableLeastCostRouting = default(bool?), bool? EnableCVVResponseIndicator = default(bool?), string EnableMultiCurrencyProcessing = default(string), bool? EnablePosNetworkSwitching = default(bool?), bool? EnableDynamicCurrencyConversion = default(bool?), string MerchantTier = default(string)) { this.BatchGroup = BatchGroup; this.BusinessApplicationId = BusinessApplicationId; @@ -173,6 +176,9 @@ protected CardProcessingConfigCommonProcessors() { } this.TerminalId = TerminalId; this.PaymentTypes = PaymentTypes; this.Currencies = Currencies; + this.VisaAggregatorId = VisaAggregatorId; + this.AmexAggregatorId = AmexAggregatorId; + this.MasterCardAggregatorId = MasterCardAggregatorId; this.SicCode = SicCode; this.AllowMultipleBills = AllowMultipleBills; this.AllowMerchantDescriptorOverride = AllowMerchantDescriptorOverride; @@ -272,6 +278,27 @@ protected CardProcessingConfigCommonProcessors() { } [DataMember(Name="currencies", EmitDefaultValue=false)] public Dictionary Currencies { get; set; } + /// + /// This field is used as aggregator Id when Visa payment type is selected + /// + /// This field is used as aggregator Id when Visa payment type is selected + [DataMember(Name="visaAggregatorId", EmitDefaultValue=false)] + public string VisaAggregatorId { get; set; } + + /// + /// This field is used as aggregator Id when Amex payment type is selected + /// + /// This field is used as aggregator Id when Amex payment type is selected + [DataMember(Name="amexAggregatorId", EmitDefaultValue=false)] + public string AmexAggregatorId { get; set; } + + /// + /// This field is used as aggregator Id when Master Card payment type is selected + /// + /// This field is used as aggregator Id when Master Card payment type is selected + [DataMember(Name="masterCardAggregatorId", EmitDefaultValue=false)] + public string MasterCardAggregatorId { get; set; } + /// /// The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. /// @@ -528,6 +555,9 @@ public override string ToString() sb.Append(" TerminalId: ").Append(TerminalId).Append("\n"); sb.Append(" PaymentTypes: ").Append(PaymentTypes).Append("\n"); sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append(" VisaAggregatorId: ").Append(VisaAggregatorId).Append("\n"); + sb.Append(" AmexAggregatorId: ").Append(AmexAggregatorId).Append("\n"); + sb.Append(" MasterCardAggregatorId: ").Append(MasterCardAggregatorId).Append("\n"); sb.Append(" SicCode: ").Append(SicCode).Append("\n"); sb.Append(" AllowMultipleBills: ").Append(AllowMultipleBills).Append("\n"); sb.Append(" AllowMerchantDescriptorOverride: ").Append(AllowMerchantDescriptorOverride).Append("\n"); @@ -644,6 +674,21 @@ public bool Equals(CardProcessingConfigCommonProcessors other) this.Currencies != null && this.Currencies.SequenceEqual(other.Currencies) ) && + ( + this.VisaAggregatorId == other.VisaAggregatorId || + this.VisaAggregatorId != null && + this.VisaAggregatorId.Equals(other.VisaAggregatorId) + ) && + ( + this.AmexAggregatorId == other.AmexAggregatorId || + this.AmexAggregatorId != null && + this.AmexAggregatorId.Equals(other.AmexAggregatorId) + ) && + ( + this.MasterCardAggregatorId == other.MasterCardAggregatorId || + this.MasterCardAggregatorId != null && + this.MasterCardAggregatorId.Equals(other.MasterCardAggregatorId) + ) && ( this.SicCode == other.SicCode || this.SicCode != null && @@ -850,6 +895,12 @@ public override int GetHashCode() hash = hash * 59 + this.PaymentTypes.GetHashCode(); if (this.Currencies != null) hash = hash * 59 + this.Currencies.GetHashCode(); + if (this.VisaAggregatorId != null) + hash = hash * 59 + this.VisaAggregatorId.GetHashCode(); + if (this.AmexAggregatorId != null) + hash = hash * 59 + this.AmexAggregatorId.GetHashCode(); + if (this.MasterCardAggregatorId != null) + hash = hash * 59 + this.MasterCardAggregatorId.GetHashCode(); if (this.SicCode != null) hash = hash * 59 + this.SicCode.GetHashCode(); if (this.AllowMultipleBills != null) diff --git a/Model/Flexv2sessionsFields.cs b/Model/Flexv2sessionsFields.cs new file mode 100644 index 00000000..778a0d6d --- /dev/null +++ b/Model/Flexv2sessionsFields.cs @@ -0,0 +1,144 @@ +/* + * 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 +{ + /// + /// Flexv2sessionsFields + /// + [DataContract] + public partial class Flexv2sessionsFields : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// OrderInformation. + /// PaymentInformation. + public Flexv2sessionsFields(Flexv2sessionsFieldsOrderInformation OrderInformation = default(Flexv2sessionsFieldsOrderInformation), Flexv2sessionsFieldsPaymentInformation PaymentInformation = default(Flexv2sessionsFieldsPaymentInformation)) + { + this.OrderInformation = OrderInformation; + this.PaymentInformation = PaymentInformation; + } + + /// + /// Gets or Sets OrderInformation + /// + [DataMember(Name="orderInformation", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformation OrderInformation { get; set; } + + /// + /// Gets or Sets PaymentInformation + /// + [DataMember(Name="paymentInformation", EmitDefaultValue=false)] + public Flexv2sessionsFieldsPaymentInformation PaymentInformation { 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 Flexv2sessionsFields {\n"); + sb.Append(" OrderInformation: ").Append(OrderInformation).Append("\n"); + sb.Append(" PaymentInformation: ").Append(PaymentInformation).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 Flexv2sessionsFields); + } + + /// + /// Returns true if Flexv2sessionsFields instances are equal + /// + /// Instance of Flexv2sessionsFields to be compared + /// Boolean + public bool Equals(Flexv2sessionsFields other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.OrderInformation == other.OrderInformation || + this.OrderInformation != null && + this.OrderInformation.Equals(other.OrderInformation) + ) && + ( + this.PaymentInformation == other.PaymentInformation || + this.PaymentInformation != null && + this.PaymentInformation.Equals(other.PaymentInformation) + ); + } + + /// + /// 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.OrderInformation != null) + hash = hash * 59 + this.OrderInformation.GetHashCode(); + if (this.PaymentInformation != null) + hash = hash * 59 + this.PaymentInformation.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/Flexv2sessionsFieldsOrderInformation.cs b/Model/Flexv2sessionsFieldsOrderInformation.cs new file mode 100644 index 00000000..dfc1d59f --- /dev/null +++ b/Model/Flexv2sessionsFieldsOrderInformation.cs @@ -0,0 +1,160 @@ +/* + * 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 +{ + /// + /// Flexv2sessionsFieldsOrderInformation + /// + [DataContract] + public partial class Flexv2sessionsFieldsOrderInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// AmountDetails. + /// BillTo. + /// ShipTo. + public Flexv2sessionsFieldsOrderInformation(Flexv2sessionsFieldsOrderInformationAmountDetails AmountDetails = default(Flexv2sessionsFieldsOrderInformationAmountDetails), Flexv2sessionsFieldsOrderInformationBillTo BillTo = default(Flexv2sessionsFieldsOrderInformationBillTo), Flexv2sessionsFieldsOrderInformationShipTo ShipTo = default(Flexv2sessionsFieldsOrderInformationShipTo)) + { + this.AmountDetails = AmountDetails; + this.BillTo = BillTo; + this.ShipTo = ShipTo; + } + + /// + /// Gets or Sets AmountDetails + /// + [DataMember(Name="amountDetails", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetails AmountDetails { get; set; } + + /// + /// Gets or Sets BillTo + /// + [DataMember(Name="billTo", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationBillTo BillTo { get; set; } + + /// + /// Gets or Sets ShipTo + /// + [DataMember(Name="shipTo", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationShipTo ShipTo { 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 Flexv2sessionsFieldsOrderInformation {\n"); + sb.Append(" AmountDetails: ").Append(AmountDetails).Append("\n"); + sb.Append(" BillTo: ").Append(BillTo).Append("\n"); + sb.Append(" ShipTo: ").Append(ShipTo).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 Flexv2sessionsFieldsOrderInformation); + } + + /// + /// Returns true if Flexv2sessionsFieldsOrderInformation instances are equal + /// + /// Instance of Flexv2sessionsFieldsOrderInformation to be compared + /// Boolean + public bool Equals(Flexv2sessionsFieldsOrderInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AmountDetails == other.AmountDetails || + this.AmountDetails != null && + this.AmountDetails.Equals(other.AmountDetails) + ) && + ( + this.BillTo == other.BillTo || + this.BillTo != null && + this.BillTo.Equals(other.BillTo) + ) && + ( + this.ShipTo == other.ShipTo || + this.ShipTo != null && + this.ShipTo.Equals(other.ShipTo) + ); + } + + /// + /// 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.AmountDetails != null) + hash = hash * 59 + this.AmountDetails.GetHashCode(); + if (this.BillTo != null) + hash = hash * 59 + this.BillTo.GetHashCode(); + if (this.ShipTo != null) + hash = hash * 59 + this.ShipTo.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/Flexv2sessionsFieldsOrderInformationAmountDetails.cs b/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.cs new file mode 100644 index 00000000..615973a3 --- /dev/null +++ b/Model/Flexv2sessionsFieldsOrderInformationAmountDetails.cs @@ -0,0 +1,144 @@ +/* + * 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 +{ + /// + /// Flexv2sessionsFieldsOrderInformationAmountDetails + /// + [DataContract] + public partial class Flexv2sessionsFieldsOrderInformationAmountDetails : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TotalAmount. + /// Currency. + public Flexv2sessionsFieldsOrderInformationAmountDetails(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount TotalAmount = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Currency = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount)) + { + this.TotalAmount = TotalAmount; + this.Currency = Currency; + } + + /// + /// Gets or Sets TotalAmount + /// + [DataMember(Name="totalAmount", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount TotalAmount { get; set; } + + /// + /// Gets or Sets Currency + /// + [DataMember(Name="currency", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Currency { 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 Flexv2sessionsFieldsOrderInformationAmountDetails {\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" Currency: ").Append(Currency).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 Flexv2sessionsFieldsOrderInformationAmountDetails); + } + + /// + /// Returns true if Flexv2sessionsFieldsOrderInformationAmountDetails instances are equal + /// + /// Instance of Flexv2sessionsFieldsOrderInformationAmountDetails to be compared + /// Boolean + public bool Equals(Flexv2sessionsFieldsOrderInformationAmountDetails other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TotalAmount == other.TotalAmount || + this.TotalAmount != null && + this.TotalAmount.Equals(other.TotalAmount) + ) && + ( + this.Currency == other.Currency || + this.Currency != null && + this.Currency.Equals(other.Currency) + ); + } + + /// + /// 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.TotalAmount != null) + hash = hash * 59 + this.TotalAmount.GetHashCode(); + if (this.Currency != null) + hash = hash * 59 + this.Currency.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/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.cs b/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.cs new file mode 100644 index 00000000..d7140420 --- /dev/null +++ b/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount + /// + [DataContract] + public partial class Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Required. + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount(bool? Required = default(bool?)) + { + this.Required = Required; + } + + /// + /// Gets or Sets Required + /// + [DataMember(Name="required", EmitDefaultValue=false)] + public bool? Required { 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 Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount {\n"); + sb.Append(" Required: ").Append(Required).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 Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount); + } + + /// + /// Returns true if Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount instances are equal + /// + /// Instance of Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount to be compared + /// Boolean + public bool Equals(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Required == other.Required || + this.Required != null && + this.Required.Equals(other.Required) + ); + } + + /// + /// 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.Required != null) + hash = hash * 59 + this.Required.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/Flexv2sessionsFieldsOrderInformationBillTo.cs b/Model/Flexv2sessionsFieldsOrderInformationBillTo.cs new file mode 100644 index 00000000..cfcad2ab --- /dev/null +++ b/Model/Flexv2sessionsFieldsOrderInformationBillTo.cs @@ -0,0 +1,320 @@ +/* + * 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 +{ + /// + /// Flexv2sessionsFieldsOrderInformationBillTo + /// + [DataContract] + public partial class Flexv2sessionsFieldsOrderInformationBillTo : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Address1. + /// Address2. + /// AdministrativeArea. + /// BuildingNumber. + /// Country. + /// District. + /// Locality. + /// PostalCode. + /// Email. + /// FirstName. + /// LastName. + /// PhoneNumber. + /// Company. + public Flexv2sessionsFieldsOrderInformationBillTo(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Address1 = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Address2 = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount AdministrativeArea = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount BuildingNumber = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Country = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount District = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Locality = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount PostalCode = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Email = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount FirstName = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount LastName = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount PhoneNumber = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Company = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount)) + { + this.Address1 = Address1; + this.Address2 = Address2; + this.AdministrativeArea = AdministrativeArea; + this.BuildingNumber = BuildingNumber; + this.Country = Country; + this.District = District; + this.Locality = Locality; + this.PostalCode = PostalCode; + this.Email = Email; + this.FirstName = FirstName; + this.LastName = LastName; + this.PhoneNumber = PhoneNumber; + this.Company = Company; + } + + /// + /// Gets or Sets Address1 + /// + [DataMember(Name="address1", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Address1 { get; set; } + + /// + /// Gets or Sets Address2 + /// + [DataMember(Name="address2", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Address2 { get; set; } + + /// + /// Gets or Sets AdministrativeArea + /// + [DataMember(Name="administrativeArea", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount AdministrativeArea { get; set; } + + /// + /// Gets or Sets BuildingNumber + /// + [DataMember(Name="buildingNumber", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount BuildingNumber { get; set; } + + /// + /// Gets or Sets Country + /// + [DataMember(Name="country", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Country { get; set; } + + /// + /// Gets or Sets District + /// + [DataMember(Name="district", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount District { get; set; } + + /// + /// Gets or Sets Locality + /// + [DataMember(Name="locality", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Locality { get; set; } + + /// + /// Gets or Sets PostalCode + /// + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount PostalCode { get; set; } + + /// + /// Gets or Sets Email + /// + [DataMember(Name="email", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Email { get; set; } + + /// + /// Gets or Sets FirstName + /// + [DataMember(Name="firstName", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount FirstName { get; set; } + + /// + /// Gets or Sets LastName + /// + [DataMember(Name="lastName", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount LastName { get; set; } + + /// + /// Gets or Sets PhoneNumber + /// + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount PhoneNumber { get; set; } + + /// + /// Gets or Sets Company + /// + [DataMember(Name="company", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Company { 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 Flexv2sessionsFieldsOrderInformationBillTo {\n"); + sb.Append(" Address1: ").Append(Address1).Append("\n"); + sb.Append(" Address2: ").Append(Address2).Append("\n"); + sb.Append(" AdministrativeArea: ").Append(AdministrativeArea).Append("\n"); + sb.Append(" BuildingNumber: ").Append(BuildingNumber).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" District: ").Append(District).Append("\n"); + sb.Append(" Locality: ").Append(Locality).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); + sb.Append(" Company: ").Append(Company).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 Flexv2sessionsFieldsOrderInformationBillTo); + } + + /// + /// Returns true if Flexv2sessionsFieldsOrderInformationBillTo instances are equal + /// + /// Instance of Flexv2sessionsFieldsOrderInformationBillTo to be compared + /// Boolean + public bool Equals(Flexv2sessionsFieldsOrderInformationBillTo other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Address1 == other.Address1 || + this.Address1 != null && + this.Address1.Equals(other.Address1) + ) && + ( + this.Address2 == other.Address2 || + this.Address2 != null && + this.Address2.Equals(other.Address2) + ) && + ( + this.AdministrativeArea == other.AdministrativeArea || + this.AdministrativeArea != null && + this.AdministrativeArea.Equals(other.AdministrativeArea) + ) && + ( + this.BuildingNumber == other.BuildingNumber || + this.BuildingNumber != null && + this.BuildingNumber.Equals(other.BuildingNumber) + ) && + ( + this.Country == other.Country || + this.Country != null && + this.Country.Equals(other.Country) + ) && + ( + this.District == other.District || + this.District != null && + this.District.Equals(other.District) + ) && + ( + this.Locality == other.Locality || + this.Locality != null && + this.Locality.Equals(other.Locality) + ) && + ( + this.PostalCode == other.PostalCode || + this.PostalCode != null && + this.PostalCode.Equals(other.PostalCode) + ) && + ( + this.Email == other.Email || + this.Email != null && + this.Email.Equals(other.Email) + ) && + ( + this.FirstName == other.FirstName || + this.FirstName != null && + this.FirstName.Equals(other.FirstName) + ) && + ( + this.LastName == other.LastName || + this.LastName != null && + this.LastName.Equals(other.LastName) + ) && + ( + this.PhoneNumber == other.PhoneNumber || + this.PhoneNumber != null && + this.PhoneNumber.Equals(other.PhoneNumber) + ) && + ( + this.Company == other.Company || + this.Company != null && + this.Company.Equals(other.Company) + ); + } + + /// + /// 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.Address1 != null) + hash = hash * 59 + this.Address1.GetHashCode(); + if (this.Address2 != null) + hash = hash * 59 + this.Address2.GetHashCode(); + if (this.AdministrativeArea != null) + hash = hash * 59 + this.AdministrativeArea.GetHashCode(); + if (this.BuildingNumber != null) + hash = hash * 59 + this.BuildingNumber.GetHashCode(); + if (this.Country != null) + hash = hash * 59 + this.Country.GetHashCode(); + if (this.District != null) + hash = hash * 59 + this.District.GetHashCode(); + if (this.Locality != null) + hash = hash * 59 + this.Locality.GetHashCode(); + if (this.PostalCode != null) + hash = hash * 59 + this.PostalCode.GetHashCode(); + if (this.Email != null) + hash = hash * 59 + this.Email.GetHashCode(); + if (this.FirstName != null) + hash = hash * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hash = hash * 59 + this.LastName.GetHashCode(); + if (this.PhoneNumber != null) + hash = hash * 59 + this.PhoneNumber.GetHashCode(); + if (this.Company != null) + hash = hash * 59 + this.Company.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/Flexv2sessionsFieldsOrderInformationShipTo.cs b/Model/Flexv2sessionsFieldsOrderInformationShipTo.cs new file mode 100644 index 00000000..2f00837b --- /dev/null +++ b/Model/Flexv2sessionsFieldsOrderInformationShipTo.cs @@ -0,0 +1,288 @@ +/* + * 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 +{ + /// + /// Flexv2sessionsFieldsOrderInformationShipTo + /// + [DataContract] + public partial class Flexv2sessionsFieldsOrderInformationShipTo : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Address1. + /// Address2. + /// AdministrativeArea. + /// BuildingNumber. + /// Country. + /// District. + /// Locality. + /// PostalCode. + /// FirstName. + /// LastName. + /// Company. + public Flexv2sessionsFieldsOrderInformationShipTo(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Address1 = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Address2 = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount AdministrativeArea = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount BuildingNumber = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Country = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount District = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Locality = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount PostalCode = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount FirstName = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount LastName = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Company = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount)) + { + this.Address1 = Address1; + this.Address2 = Address2; + this.AdministrativeArea = AdministrativeArea; + this.BuildingNumber = BuildingNumber; + this.Country = Country; + this.District = District; + this.Locality = Locality; + this.PostalCode = PostalCode; + this.FirstName = FirstName; + this.LastName = LastName; + this.Company = Company; + } + + /// + /// Gets or Sets Address1 + /// + [DataMember(Name="address1", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Address1 { get; set; } + + /// + /// Gets or Sets Address2 + /// + [DataMember(Name="address2", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Address2 { get; set; } + + /// + /// Gets or Sets AdministrativeArea + /// + [DataMember(Name="administrativeArea", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount AdministrativeArea { get; set; } + + /// + /// Gets or Sets BuildingNumber + /// + [DataMember(Name="buildingNumber", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount BuildingNumber { get; set; } + + /// + /// Gets or Sets Country + /// + [DataMember(Name="country", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Country { get; set; } + + /// + /// Gets or Sets District + /// + [DataMember(Name="district", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount District { get; set; } + + /// + /// Gets or Sets Locality + /// + [DataMember(Name="locality", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Locality { get; set; } + + /// + /// Gets or Sets PostalCode + /// + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount PostalCode { get; set; } + + /// + /// Gets or Sets FirstName + /// + [DataMember(Name="firstName", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount FirstName { get; set; } + + /// + /// Gets or Sets LastName + /// + [DataMember(Name="lastName", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount LastName { get; set; } + + /// + /// Gets or Sets Company + /// + [DataMember(Name="company", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Company { 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 Flexv2sessionsFieldsOrderInformationShipTo {\n"); + sb.Append(" Address1: ").Append(Address1).Append("\n"); + sb.Append(" Address2: ").Append(Address2).Append("\n"); + sb.Append(" AdministrativeArea: ").Append(AdministrativeArea).Append("\n"); + sb.Append(" BuildingNumber: ").Append(BuildingNumber).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" District: ").Append(District).Append("\n"); + sb.Append(" Locality: ").Append(Locality).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" Company: ").Append(Company).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 Flexv2sessionsFieldsOrderInformationShipTo); + } + + /// + /// Returns true if Flexv2sessionsFieldsOrderInformationShipTo instances are equal + /// + /// Instance of Flexv2sessionsFieldsOrderInformationShipTo to be compared + /// Boolean + public bool Equals(Flexv2sessionsFieldsOrderInformationShipTo other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Address1 == other.Address1 || + this.Address1 != null && + this.Address1.Equals(other.Address1) + ) && + ( + this.Address2 == other.Address2 || + this.Address2 != null && + this.Address2.Equals(other.Address2) + ) && + ( + this.AdministrativeArea == other.AdministrativeArea || + this.AdministrativeArea != null && + this.AdministrativeArea.Equals(other.AdministrativeArea) + ) && + ( + this.BuildingNumber == other.BuildingNumber || + this.BuildingNumber != null && + this.BuildingNumber.Equals(other.BuildingNumber) + ) && + ( + this.Country == other.Country || + this.Country != null && + this.Country.Equals(other.Country) + ) && + ( + this.District == other.District || + this.District != null && + this.District.Equals(other.District) + ) && + ( + this.Locality == other.Locality || + this.Locality != null && + this.Locality.Equals(other.Locality) + ) && + ( + this.PostalCode == other.PostalCode || + this.PostalCode != null && + this.PostalCode.Equals(other.PostalCode) + ) && + ( + this.FirstName == other.FirstName || + this.FirstName != null && + this.FirstName.Equals(other.FirstName) + ) && + ( + this.LastName == other.LastName || + this.LastName != null && + this.LastName.Equals(other.LastName) + ) && + ( + this.Company == other.Company || + this.Company != null && + this.Company.Equals(other.Company) + ); + } + + /// + /// 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.Address1 != null) + hash = hash * 59 + this.Address1.GetHashCode(); + if (this.Address2 != null) + hash = hash * 59 + this.Address2.GetHashCode(); + if (this.AdministrativeArea != null) + hash = hash * 59 + this.AdministrativeArea.GetHashCode(); + if (this.BuildingNumber != null) + hash = hash * 59 + this.BuildingNumber.GetHashCode(); + if (this.Country != null) + hash = hash * 59 + this.Country.GetHashCode(); + if (this.District != null) + hash = hash * 59 + this.District.GetHashCode(); + if (this.Locality != null) + hash = hash * 59 + this.Locality.GetHashCode(); + if (this.PostalCode != null) + hash = hash * 59 + this.PostalCode.GetHashCode(); + if (this.FirstName != null) + hash = hash * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hash = hash * 59 + this.LastName.GetHashCode(); + if (this.Company != null) + hash = hash * 59 + this.Company.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/Flexv2sessionsFieldsPaymentInformation.cs b/Model/Flexv2sessionsFieldsPaymentInformation.cs new file mode 100644 index 00000000..e36c6258 --- /dev/null +++ b/Model/Flexv2sessionsFieldsPaymentInformation.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Flexv2sessionsFieldsPaymentInformation + /// + [DataContract] + public partial class Flexv2sessionsFieldsPaymentInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Card. + public Flexv2sessionsFieldsPaymentInformation(Flexv2sessionsFieldsPaymentInformationCard Card = default(Flexv2sessionsFieldsPaymentInformationCard)) + { + this.Card = Card; + } + + /// + /// Gets or Sets Card + /// + [DataMember(Name="card", EmitDefaultValue=false)] + public Flexv2sessionsFieldsPaymentInformationCard Card { 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 Flexv2sessionsFieldsPaymentInformation {\n"); + sb.Append(" Card: ").Append(Card).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 Flexv2sessionsFieldsPaymentInformation); + } + + /// + /// Returns true if Flexv2sessionsFieldsPaymentInformation instances are equal + /// + /// Instance of Flexv2sessionsFieldsPaymentInformation to be compared + /// Boolean + public bool Equals(Flexv2sessionsFieldsPaymentInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Card == other.Card || + this.Card != null && + this.Card.Equals(other.Card) + ); + } + + /// + /// 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.Card != null) + hash = hash * 59 + this.Card.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/Flexv2sessionsFieldsPaymentInformationCard.cs b/Model/Flexv2sessionsFieldsPaymentInformationCard.cs new file mode 100644 index 00000000..1fbe6620 --- /dev/null +++ b/Model/Flexv2sessionsFieldsPaymentInformationCard.cs @@ -0,0 +1,192 @@ +/* + * 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 +{ + /// + /// Flexv2sessionsFieldsPaymentInformationCard + /// + [DataContract] + public partial class Flexv2sessionsFieldsPaymentInformationCard : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Number. + /// Type. + /// SecurityCode. + /// ExpirationMonth. + /// ExpirationYear. + public Flexv2sessionsFieldsPaymentInformationCard(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Number = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Type = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount SecurityCode = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount ExpirationMonth = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount), Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount ExpirationYear = default(Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount)) + { + this.Number = Number; + this.Type = Type; + this.SecurityCode = SecurityCode; + this.ExpirationMonth = ExpirationMonth; + this.ExpirationYear = ExpirationYear; + } + + /// + /// Gets or Sets Number + /// + [DataMember(Name="number", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Number { get; set; } + + /// + /// Gets or Sets Type + /// + [DataMember(Name="type", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount Type { get; set; } + + /// + /// Gets or Sets SecurityCode + /// + [DataMember(Name="securityCode", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount SecurityCode { get; set; } + + /// + /// Gets or Sets ExpirationMonth + /// + [DataMember(Name="expirationMonth", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount ExpirationMonth { get; set; } + + /// + /// Gets or Sets ExpirationYear + /// + [DataMember(Name="expirationYear", EmitDefaultValue=false)] + public Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount ExpirationYear { 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 Flexv2sessionsFieldsPaymentInformationCard {\n"); + sb.Append(" Number: ").Append(Number).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" SecurityCode: ").Append(SecurityCode).Append("\n"); + sb.Append(" ExpirationMonth: ").Append(ExpirationMonth).Append("\n"); + sb.Append(" ExpirationYear: ").Append(ExpirationYear).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 Flexv2sessionsFieldsPaymentInformationCard); + } + + /// + /// Returns true if Flexv2sessionsFieldsPaymentInformationCard instances are equal + /// + /// Instance of Flexv2sessionsFieldsPaymentInformationCard to be compared + /// Boolean + public bool Equals(Flexv2sessionsFieldsPaymentInformationCard other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Number == other.Number || + this.Number != null && + this.Number.Equals(other.Number) + ) && + ( + this.Type == other.Type || + this.Type != null && + this.Type.Equals(other.Type) + ) && + ( + this.SecurityCode == other.SecurityCode || + this.SecurityCode != null && + this.SecurityCode.Equals(other.SecurityCode) + ) && + ( + this.ExpirationMonth == other.ExpirationMonth || + this.ExpirationMonth != null && + this.ExpirationMonth.Equals(other.ExpirationMonth) + ) && + ( + this.ExpirationYear == other.ExpirationYear || + this.ExpirationYear != null && + this.ExpirationYear.Equals(other.ExpirationYear) + ); + } + + /// + /// 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.Number != null) + hash = hash * 59 + this.Number.GetHashCode(); + if (this.Type != null) + hash = hash * 59 + this.Type.GetHashCode(); + if (this.SecurityCode != null) + hash = hash * 59 + this.SecurityCode.GetHashCode(); + if (this.ExpirationMonth != null) + hash = hash * 59 + this.ExpirationMonth.GetHashCode(); + if (this.ExpirationYear != null) + hash = hash * 59 + this.ExpirationYear.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/GenerateFlexAPICaptureContextRequest.cs b/Model/GenerateFlexAPICaptureContextRequest.cs new file mode 100644 index 00000000..21b9dd7c --- /dev/null +++ b/Model/GenerateFlexAPICaptureContextRequest.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// GenerateFlexAPICaptureContextRequest + /// + [DataContract] + public partial class GenerateFlexAPICaptureContextRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Fields. + public GenerateFlexAPICaptureContextRequest(Flexv2sessionsFields Fields = default(Flexv2sessionsFields)) + { + this.Fields = Fields; + } + + /// + /// Gets or Sets Fields + /// + [DataMember(Name="fields", EmitDefaultValue=false)] + public Flexv2sessionsFields Fields { 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 GenerateFlexAPICaptureContextRequest {\n"); + sb.Append(" Fields: ").Append(Fields).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 GenerateFlexAPICaptureContextRequest); + } + + /// + /// Returns true if GenerateFlexAPICaptureContextRequest instances are equal + /// + /// Instance of GenerateFlexAPICaptureContextRequest to be compared + /// Boolean + public bool Equals(GenerateFlexAPICaptureContextRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Fields == other.Fields || + this.Fields != null && + this.Fields.Equals(other.Fields) + ); + } + + /// + /// 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.Fields != null) + hash = hash * 59 + this.Fields.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/InlineResponse4001.cs b/Model/InlineResponse4001.cs index fbf26b20..fcfe615e 100644 --- a/Model/InlineResponse4001.cs +++ b/Model/InlineResponse4001.cs @@ -30,56 +30,154 @@ namespace CyberSource.Model [DataContract] public partial class InlineResponse4001 : IEquatable, IValidatableObject { + /// + /// Gets or Sets Reason + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum ReasonEnum + { + + /// + /// Enum INVALIDAPIKEY for "INVALID_APIKEY" + /// + [EnumMember(Value = "INVALID_APIKEY")] + INVALIDAPIKEY, + + /// + /// Enum INVALIDSHIPPINGINPUTPARAMS for "INVALID_SHIPPING_INPUT_PARAMS" + /// + [EnumMember(Value = "INVALID_SHIPPING_INPUT_PARAMS")] + INVALIDSHIPPINGINPUTPARAMS, + + /// + /// Enum CAPTURECONTEXTINVALID for "CAPTURE_CONTEXT_INVALID" + /// + [EnumMember(Value = "CAPTURE_CONTEXT_INVALID")] + CAPTURECONTEXTINVALID, + + /// + /// Enum CAPTURECONTEXTEXPIRED for "CAPTURE_CONTEXT_EXPIRED" + /// + [EnumMember(Value = "CAPTURE_CONTEXT_EXPIRED")] + CAPTURECONTEXTEXPIRED, + + /// + /// Enum SDKXHRERROR for "SDK_XHR_ERROR" + /// + [EnumMember(Value = "SDK_XHR_ERROR")] + SDKXHRERROR, + + /// + /// Enum UNIFIEDPAYMENTSVALIDATIONPARAMS for "UNIFIEDPAYMENTS_VALIDATION_PARAMS" + /// + [EnumMember(Value = "UNIFIEDPAYMENTS_VALIDATION_PARAMS")] + UNIFIEDPAYMENTSVALIDATIONPARAMS, + + /// + /// Enum UNIFIEDPAYMENTSVALIDATIONFIELDS for "UNIFIEDPAYMENTS_VALIDATION_FIELDS" + /// + [EnumMember(Value = "UNIFIEDPAYMENTS_VALIDATION_FIELDS")] + UNIFIEDPAYMENTSVALIDATIONFIELDS, + + /// + /// Enum UNIFIEDPAYMENTPAYMENTPARAMITERS for "UNIFIEDPAYMENT_PAYMENT_PARAMITERS" + /// + [EnumMember(Value = "UNIFIEDPAYMENT_PAYMENT_PARAMITERS")] + UNIFIEDPAYMENTPAYMENTPARAMITERS, + + /// + /// Enum CREATETOKENTIMEOUT for "CREATE_TOKEN_TIMEOUT" + /// + [EnumMember(Value = "CREATE_TOKEN_TIMEOUT")] + CREATETOKENTIMEOUT, + + /// + /// Enum CREATETOKENXHRERROR for "CREATE_TOKEN_XHR_ERROR" + /// + [EnumMember(Value = "CREATE_TOKEN_XHR_ERROR")] + CREATETOKENXHRERROR, + + /// + /// Enum SHOWLOADCONTAINERSELECTOR for "SHOW_LOAD_CONTAINER_SELECTOR" + /// + [EnumMember(Value = "SHOW_LOAD_CONTAINER_SELECTOR")] + SHOWLOADCONTAINERSELECTOR, + + /// + /// Enum SHOWLOADINVALIDCONTAINER for "SHOW_LOAD_INVALID_CONTAINER" + /// + [EnumMember(Value = "SHOW_LOAD_INVALID_CONTAINER")] + SHOWLOADINVALIDCONTAINER, + + /// + /// Enum SHOWTOKENTIMEOUT for "SHOW_TOKEN_TIMEOUT" + /// + [EnumMember(Value = "SHOW_TOKEN_TIMEOUT")] + SHOWTOKENTIMEOUT, + + /// + /// Enum SHOWTOKENXHRERROR for "SHOW_TOKEN_XHR_ERROR" + /// + [EnumMember(Value = "SHOW_TOKEN_XHR_ERROR")] + SHOWTOKENXHRERROR, + + /// + /// Enum SHOWPAYMENTTIMEOUT for "SHOW_PAYMENT_TIMEOUT" + /// + [EnumMember(Value = "SHOW_PAYMENT_TIMEOUT")] + SHOWPAYMENTTIMEOUT + } + /// + /// Gets or Sets Reason + /// + [DataMember(Name="reason", EmitDefaultValue=false)] + public ReasonEnum? Reason { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected InlineResponse4001() { } /// /// Initializes a new instance of the class. /// - /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. . - /// The status of the submitted transaction. Possible values: - `INVALID_REQUEST` . - /// The reason of the status. Possible Values: - `INVALID_DATA` . - /// Input request error.. + /// CorrelationId. /// Details. - public InlineResponse4001(string SubmitTimeUtc = default(string), string Status = default(string), string Reason = default(string), string Message = default(string), List Details = default(List)) + /// InformationLink. + /// Message (required). + /// Reason (required). + public InlineResponse4001(string CorrelationId = default(string), List Details = default(List), string InformationLink = default(string), string Message = default(string), ReasonEnum? Reason = default(ReasonEnum?)) { - this.SubmitTimeUtc = SubmitTimeUtc; - this.Status = Status; - this.Reason = Reason; - this.Message = Message; + this.CorrelationId = CorrelationId; this.Details = Details; + this.InformationLink = InformationLink; + this.Message = Message; + this.Reason = Reason; } /// - /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. + /// Gets or Sets CorrelationId /// - /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. - [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] - public string SubmitTimeUtc { get; set; } + [DataMember(Name="correlationId", EmitDefaultValue=false)] + public string CorrelationId { get; set; } /// - /// The status of the submitted transaction. Possible values: - `INVALID_REQUEST` + /// Gets or Sets Details /// - /// The status of the submitted transaction. Possible values: - `INVALID_REQUEST` - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } /// - /// The reason of the status. Possible Values: - `INVALID_DATA` + /// Gets or Sets InformationLink /// - /// The reason of the status. Possible Values: - `INVALID_DATA` - [DataMember(Name="reason", EmitDefaultValue=false)] - public string Reason { get; set; } + [DataMember(Name="informationLink", EmitDefaultValue=false)] + public string InformationLink { get; set; } /// - /// Input request error. + /// Gets or Sets Message /// - /// Input request error. [DataMember(Name="message", EmitDefaultValue=false)] public string Message { get; set; } - /// - /// Gets or Sets Details - /// - [DataMember(Name="details", EmitDefaultValue=false)] - public List Details { get; set; } /// /// Returns the string presentation of the object @@ -89,11 +187,11 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse4001 {\n"); - sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); - sb.Append(" Status: ").Append(Status).Append("\n"); - sb.Append(" Reason: ").Append(Reason).Append("\n"); - sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" CorrelationId: ").Append(CorrelationId).Append("\n"); sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append(" InformationLink: ").Append(InformationLink).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -131,19 +229,19 @@ public bool Equals(InlineResponse4001 other) return ( - this.SubmitTimeUtc == other.SubmitTimeUtc || - this.SubmitTimeUtc != null && - this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + this.CorrelationId == other.CorrelationId || + this.CorrelationId != null && + this.CorrelationId.Equals(other.CorrelationId) ) && ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) ) && ( - this.Reason == other.Reason || - this.Reason != null && - this.Reason.Equals(other.Reason) + this.InformationLink == other.InformationLink || + this.InformationLink != null && + this.InformationLink.Equals(other.InformationLink) ) && ( this.Message == other.Message || @@ -151,9 +249,9 @@ public bool Equals(InlineResponse4001 other) this.Message.Equals(other.Message) ) && ( - this.Details == other.Details || - this.Details != null && - this.Details.SequenceEqual(other.Details) + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) ); } @@ -168,16 +266,16 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.SubmitTimeUtc != null) - hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); - if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); - if (this.Reason != null) - hash = hash * 59 + this.Reason.GetHashCode(); - if (this.Message != null) - hash = hash * 59 + this.Message.GetHashCode(); + if (this.CorrelationId != null) + hash = hash * 59 + this.CorrelationId.GetHashCode(); if (this.Details != null) hash = hash * 59 + this.Details.GetHashCode(); + if (this.InformationLink != null) + hash = hash * 59 + this.InformationLink.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse4005Details.cs b/Model/InlineResponse4001Details.cs similarity index 61% rename from Model/InlineResponse4005Details.cs rename to Model/InlineResponse4001Details.cs index 428ecb9e..f5c2c39f 100644 --- a/Model/InlineResponse4005Details.cs +++ b/Model/InlineResponse4001Details.cs @@ -25,35 +25,33 @@ namespace CyberSource.Model { /// - /// InlineResponse4005Details + /// InlineResponse4001Details /// [DataContract] - public partial class InlineResponse4005Details : IEquatable, IValidatableObject + public partial class InlineResponse4001Details : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - /// This is the flattened JSON object field name/path that is either missing or invalid.. - /// Possible reasons for the error.. - public InlineResponse4005Details(string Field = default(string), string Reason = default(string)) + /// Location. + /// Message. + public InlineResponse4001Details(string Location = default(string), string Message = default(string)) { - this.Field = Field; - this.Reason = Reason; + this.Location = Location; + this.Message = Message; } /// - /// This is the flattened JSON object field name/path that is either missing or invalid. + /// Gets or Sets Location /// - /// This is the flattened JSON object field name/path that is either missing or invalid. - [DataMember(Name="field", EmitDefaultValue=false)] - public string Field { get; set; } + [DataMember(Name="location", EmitDefaultValue=false)] + public string Location { get; set; } /// - /// Possible reasons for the error. + /// Gets or Sets Message /// - /// Possible reasons for the error. - [DataMember(Name="reason", EmitDefaultValue=false)] - public string Reason { get; set; } + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } /// /// Returns the string presentation of the object @@ -62,9 +60,9 @@ public partial class InlineResponse4005Details : IEquatable - /// Returns true if InlineResponse4005Details instances are equal + /// Returns true if InlineResponse4001Details instances are equal /// - /// Instance of InlineResponse4005Details to be compared + /// Instance of InlineResponse4001Details to be compared /// Boolean - public bool Equals(InlineResponse4005Details other) + public bool Equals(InlineResponse4001Details other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) @@ -102,14 +100,14 @@ public bool Equals(InlineResponse4005Details other) return ( - this.Field == other.Field || - this.Field != null && - this.Field.Equals(other.Field) + this.Location == other.Location || + this.Location != null && + this.Location.Equals(other.Location) ) && ( - this.Reason == other.Reason || - this.Reason != null && - this.Reason.Equals(other.Reason) + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) ); } @@ -124,10 +122,10 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Field != null) - hash = hash * 59 + this.Field.GetHashCode(); - if (this.Reason != null) - hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Location != null) + hash = hash * 59 + this.Location.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse4002.cs b/Model/InlineResponse4002.cs index f431f4ec..7c47b384 100644 --- a/Model/InlineResponse4002.cs +++ b/Model/InlineResponse4002.cs @@ -34,9 +34,9 @@ public partial class InlineResponse4002 : IEquatable, IVali /// Initializes a new instance of the class. /// /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. . - /// The status of the submitted transaction. Possible values: - INVALID_REQUEST . - /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION . - /// The detail message related to the status and reason listed above.. + /// The status of the submitted transaction. Possible values: - `INVALID_REQUEST` . + /// The reason of the status. Possible Values: - `INVALID_DATA` . + /// Input request error.. /// Details. public InlineResponse4002(string SubmitTimeUtc = default(string), string Status = default(string), string Reason = default(string), string Message = default(string), List Details = default(List)) { @@ -55,23 +55,23 @@ public partial class InlineResponse4002 : IEquatable, IVali public string SubmitTimeUtc { get; set; } /// - /// The status of the submitted transaction. Possible values: - INVALID_REQUEST + /// The status of the submitted transaction. Possible values: - `INVALID_REQUEST` /// - /// The status of the submitted transaction. Possible values: - INVALID_REQUEST + /// The status of the submitted transaction. Possible values: - `INVALID_REQUEST` [DataMember(Name="status", EmitDefaultValue=false)] public string Status { get; set; } /// - /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION + /// The reason of the status. Possible Values: - `INVALID_DATA` /// - /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION + /// The reason of the status. Possible Values: - `INVALID_DATA` [DataMember(Name="reason", EmitDefaultValue=false)] public string Reason { get; set; } /// - /// The detail message related to the status and reason listed above. + /// Input request error. /// - /// The detail message related to the status and reason listed above. + /// Input request error. [DataMember(Name="message", EmitDefaultValue=false)] public string Message { get; set; } diff --git a/Model/InlineResponse4003.cs b/Model/InlineResponse4003.cs index a5bba894..8833a926 100644 --- a/Model/InlineResponse4003.cs +++ b/Model/InlineResponse4003.cs @@ -35,7 +35,7 @@ public partial class InlineResponse4003 : IEquatable, IVali /// /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. . /// The status of the submitted transaction. Possible values: - INVALID_REQUEST . - /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE . + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION . /// The detail message related to the status and reason listed above.. /// Details. public InlineResponse4003(string SubmitTimeUtc = default(string), string Status = default(string), string Reason = default(string), string Message = default(string), List Details = default(List)) @@ -62,9 +62,9 @@ public partial class InlineResponse4003 : IEquatable, IVali public string Status { get; set; } /// - /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION /// - /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION [DataMember(Name="reason", EmitDefaultValue=false)] public string Reason { get; set; } diff --git a/Model/InlineResponse4004.cs b/Model/InlineResponse4004.cs index cf07ec7a..8ea41758 100644 --- a/Model/InlineResponse4004.cs +++ b/Model/InlineResponse4004.cs @@ -25,7 +25,7 @@ namespace CyberSource.Model { /// - /// Error Bean + /// InlineResponse4004 /// [DataContract] public partial class InlineResponse4004 : IEquatable, IValidatableObject @@ -33,68 +33,53 @@ public partial class InlineResponse4004 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - [JsonConstructorAttribute] - protected InlineResponse4004() { } - /// - /// Initializes a new instance of the class. - /// - /// Error code (required). - /// Error message (required). - /// Localization Key Name. - /// Correlation Id. - /// Error Detail. - /// Error fields List. - public InlineResponse4004(string Code = default(string), string Message = default(string), string LocalizationKey = default(string), string CorrelationId = default(string), string Detail = default(string), List Fields = default(List)) + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. . + /// The status of the submitted transaction. Possible values: - INVALID_REQUEST . + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE . + /// The detail message related to the status and reason listed above.. + /// Details. + public InlineResponse4004(string SubmitTimeUtc = default(string), string Status = default(string), string Reason = default(string), string Message = default(string), List Details = default(List)) { - this.Code = Code; + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.Reason = Reason; this.Message = Message; - this.LocalizationKey = LocalizationKey; - this.CorrelationId = CorrelationId; - this.Detail = Detail; - this.Fields = Fields; + this.Details = Details; } /// - /// Error code + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. /// - /// Error code - [DataMember(Name="code", EmitDefaultValue=false)] - public string Code { get; set; } + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + public string SubmitTimeUtc { get; set; } /// - /// Error message + /// The status of the submitted transaction. Possible values: - INVALID_REQUEST /// - /// Error message - [DataMember(Name="message", EmitDefaultValue=false)] - public string Message { get; set; } + /// The status of the submitted transaction. Possible values: - INVALID_REQUEST + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } /// - /// Localization Key Name + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE /// - /// Localization Key Name - [DataMember(Name="localizationKey", EmitDefaultValue=false)] - public string LocalizationKey { get; set; } + /// The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE + [DataMember(Name="reason", EmitDefaultValue=false)] + public string Reason { get; set; } /// - /// Correlation Id + /// The detail message related to the status and reason listed above. /// - /// Correlation Id - [DataMember(Name="correlationId", EmitDefaultValue=false)] - public string CorrelationId { get; set; } - - /// - /// Error Detail - /// - /// Error Detail - [DataMember(Name="detail", EmitDefaultValue=false)] - public string Detail { get; set; } + /// The detail message related to the status and reason listed above. + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } /// - /// Error fields List + /// Gets or Sets Details /// - /// Error fields List - [DataMember(Name="fields", EmitDefaultValue=false)] - public List Fields { get; set; } + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } /// /// Returns the string presentation of the object @@ -104,12 +89,11 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse4004 {\n"); - sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); sb.Append(" Message: ").Append(Message).Append("\n"); - sb.Append(" LocalizationKey: ").Append(LocalizationKey).Append("\n"); - sb.Append(" CorrelationId: ").Append(CorrelationId).Append("\n"); - sb.Append(" Detail: ").Append(Detail).Append("\n"); - sb.Append(" Fields: ").Append(Fields).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -147,34 +131,29 @@ public bool Equals(InlineResponse4004 other) return ( - this.Code == other.Code || - this.Code != null && - this.Code.Equals(other.Code) + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) ) && ( - this.Message == other.Message || - this.Message != null && - this.Message.Equals(other.Message) + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) ) && ( - this.LocalizationKey == other.LocalizationKey || - this.LocalizationKey != null && - this.LocalizationKey.Equals(other.LocalizationKey) + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) ) && ( - this.CorrelationId == other.CorrelationId || - this.CorrelationId != null && - this.CorrelationId.Equals(other.CorrelationId) - ) && - ( - this.Detail == other.Detail || - this.Detail != null && - this.Detail.Equals(other.Detail) + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) ) && ( - this.Fields == other.Fields || - this.Fields != null && - this.Fields.SequenceEqual(other.Fields) + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) ); } @@ -189,18 +168,16 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Code != null) - hash = hash * 59 + this.Code.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); if (this.Message != null) hash = hash * 59 + this.Message.GetHashCode(); - if (this.LocalizationKey != null) - hash = hash * 59 + this.LocalizationKey.GetHashCode(); - if (this.CorrelationId != null) - hash = hash * 59 + this.CorrelationId.GetHashCode(); - if (this.Detail != null) - hash = hash * 59 + this.Detail.GetHashCode(); - if (this.Fields != null) - hash = hash * 59 + this.Fields.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse4005.cs b/Model/InlineResponse4005.cs index 6270b658..7dca4709 100644 --- a/Model/InlineResponse4005.cs +++ b/Model/InlineResponse4005.cs @@ -25,88 +25,76 @@ namespace CyberSource.Model { /// - /// InlineResponse4005 + /// Error Bean /// [DataContract] public partial class InlineResponse4005 : IEquatable, IValidatableObject { /// - /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' - /// - /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' - [JsonConverter(typeof(StringEnumConverter))] - public enum ReasonEnum - { - - /// - /// Enum INVALIDDATA for "INVALID_DATA" - /// - [EnumMember(Value = "INVALID_DATA")] - INVALIDDATA, - - /// - /// Enum SYSTEMERROR for "SYSTEM_ERROR" - /// - [EnumMember(Value = "SYSTEM_ERROR")] - SYSTEMERROR, - - /// - /// Enum RESOURCENOTFOUND for "RESOURCE_NOT_FOUND" - /// - [EnumMember(Value = "RESOURCE_NOT_FOUND")] - RESOURCENOTFOUND - } - /// - /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' + /// Initializes a new instance of the class. /// - /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' - [DataMember(Name="reason", EmitDefaultValue=false)] - public ReasonEnum? Reason { get; set; } + [JsonConstructorAttribute] + protected InlineResponse4005() { } /// /// Initializes a new instance of the class. /// - /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . - /// The http status description of the submitted request.. - /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' . - /// Descriptive message for the error.. - /// Details. - public InlineResponse4005(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) + /// Error code (required). + /// Error message (required). + /// Localization Key Name. + /// Correlation Id. + /// Error Detail. + /// Error fields List. + public InlineResponse4005(string Code = default(string), string Message = default(string), string LocalizationKey = default(string), string CorrelationId = default(string), string Detail = default(string), List Fields = default(List)) { - this.SubmitTimeUtc = SubmitTimeUtc; - this.Status = Status; - this.Reason = Reason; + this.Code = Code; this.Message = Message; - this.Details = Details; + this.LocalizationKey = LocalizationKey; + this.CorrelationId = CorrelationId; + this.Detail = Detail; + this.Fields = Fields; } /// - /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + /// Error code /// - /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. - [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] - [JsonConverter(typeof(SwaggerDateConverter))] - public DateTime? SubmitTimeUtc { get; set; } + /// Error code + [DataMember(Name="code", EmitDefaultValue=false)] + public string Code { get; set; } /// - /// The http status description of the submitted request. + /// Error message /// - /// The http status description of the submitted request. - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } + /// Error message + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + /// + /// Localization Key Name + /// + /// Localization Key Name + [DataMember(Name="localizationKey", EmitDefaultValue=false)] + public string LocalizationKey { get; set; } /// - /// Descriptive message for the error. + /// Correlation Id /// - /// Descriptive message for the error. - [DataMember(Name="message", EmitDefaultValue=false)] - public string Message { get; set; } + /// Correlation Id + [DataMember(Name="correlationId", EmitDefaultValue=false)] + public string CorrelationId { get; set; } /// - /// Gets or Sets Details + /// Error Detail /// - [DataMember(Name="details", EmitDefaultValue=false)] - public List Details { get; set; } + /// Error Detail + [DataMember(Name="detail", EmitDefaultValue=false)] + public string Detail { get; set; } + + /// + /// Error fields List + /// + /// Error fields List + [DataMember(Name="fields", EmitDefaultValue=false)] + public List Fields { get; set; } /// /// Returns the string presentation of the object @@ -116,11 +104,12 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse4005 {\n"); - sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); - sb.Append(" Status: ").Append(Status).Append("\n"); - sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); sb.Append(" Message: ").Append(Message).Append("\n"); - sb.Append(" Details: ").Append(Details).Append("\n"); + sb.Append(" LocalizationKey: ").Append(LocalizationKey).Append("\n"); + sb.Append(" CorrelationId: ").Append(CorrelationId).Append("\n"); + sb.Append(" Detail: ").Append(Detail).Append("\n"); + sb.Append(" Fields: ").Append(Fields).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -158,29 +147,34 @@ public bool Equals(InlineResponse4005 other) return ( - this.SubmitTimeUtc == other.SubmitTimeUtc || - this.SubmitTimeUtc != null && - this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + this.Code == other.Code || + this.Code != null && + this.Code.Equals(other.Code) ) && ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) ) && ( - this.Reason == other.Reason || - this.Reason != null && - this.Reason.Equals(other.Reason) + this.LocalizationKey == other.LocalizationKey || + this.LocalizationKey != null && + this.LocalizationKey.Equals(other.LocalizationKey) ) && ( - this.Message == other.Message || - this.Message != null && - this.Message.Equals(other.Message) + this.CorrelationId == other.CorrelationId || + this.CorrelationId != null && + this.CorrelationId.Equals(other.CorrelationId) + ) && + ( + this.Detail == other.Detail || + this.Detail != null && + this.Detail.Equals(other.Detail) ) && ( - this.Details == other.Details || - this.Details != null && - this.Details.SequenceEqual(other.Details) + this.Fields == other.Fields || + this.Fields != null && + this.Fields.SequenceEqual(other.Fields) ); } @@ -195,16 +189,18 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.SubmitTimeUtc != null) - hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); - if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); - if (this.Reason != null) - hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Code != null) + hash = hash * 59 + this.Code.GetHashCode(); if (this.Message != null) hash = hash * 59 + this.Message.GetHashCode(); - if (this.Details != null) - hash = hash * 59 + this.Details.GetHashCode(); + if (this.LocalizationKey != null) + hash = hash * 59 + this.LocalizationKey.GetHashCode(); + if (this.CorrelationId != null) + hash = hash * 59 + this.CorrelationId.GetHashCode(); + if (this.Detail != null) + hash = hash * 59 + this.Detail.GetHashCode(); + if (this.Fields != null) + hash = hash * 59 + this.Fields.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse4004Fields.cs b/Model/InlineResponse4005Fields.cs similarity index 91% rename from Model/InlineResponse4004Fields.cs rename to Model/InlineResponse4005Fields.cs index 2dfb3461..e0733372 100644 --- a/Model/InlineResponse4004Fields.cs +++ b/Model/InlineResponse4005Fields.cs @@ -28,15 +28,15 @@ namespace CyberSource.Model /// Provide validation failed input field details /// [DataContract] - public partial class InlineResponse4004Fields : IEquatable, IValidatableObject + public partial class InlineResponse4005Fields : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Path of the failed property. /// Error description about validation failed field. /// Localized Key Name. - public InlineResponse4004Fields(string Path = default(string), string Message = default(string), string LocalizationKey = default(string)) + public InlineResponse4005Fields(string Path = default(string), string Message = default(string), string LocalizationKey = default(string)) { this.Path = Path; this.Message = Message; @@ -71,7 +71,7 @@ public partial class InlineResponse4004Fields : IEquatable - /// Returns true if InlineResponse4004Fields instances are equal + /// Returns true if InlineResponse4005Fields instances are equal /// - /// Instance of InlineResponse4004Fields to be compared + /// Instance of InlineResponse4005Fields to be compared /// Boolean - public bool Equals(InlineResponse4004Fields other) + public bool Equals(InlineResponse4005Fields other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/InlineResponse4006.cs b/Model/InlineResponse4006.cs index 69e313fe..8f2974b0 100644 --- a/Model/InlineResponse4006.cs +++ b/Model/InlineResponse4006.cs @@ -31,153 +31,82 @@ namespace CyberSource.Model public partial class InlineResponse4006 : IEquatable, IValidatableObject { /// - /// Gets or Sets Reason + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' [JsonConverter(typeof(StringEnumConverter))] public enum ReasonEnum { /// - /// Enum INVALIDAPIKEY for "INVALID_APIKEY" + /// Enum INVALIDDATA for "INVALID_DATA" /// - [EnumMember(Value = "INVALID_APIKEY")] - INVALIDAPIKEY, + [EnumMember(Value = "INVALID_DATA")] + INVALIDDATA, /// - /// Enum INVALIDSHIPPINGINPUTPARAMS for "INVALID_SHIPPING_INPUT_PARAMS" + /// Enum SYSTEMERROR for "SYSTEM_ERROR" /// - [EnumMember(Value = "INVALID_SHIPPING_INPUT_PARAMS")] - INVALIDSHIPPINGINPUTPARAMS, + [EnumMember(Value = "SYSTEM_ERROR")] + SYSTEMERROR, /// - /// Enum CAPTURECONTEXTINVALID for "CAPTURE_CONTEXT_INVALID" + /// Enum RESOURCENOTFOUND for "RESOURCE_NOT_FOUND" /// - [EnumMember(Value = "CAPTURE_CONTEXT_INVALID")] - CAPTURECONTEXTINVALID, - - /// - /// Enum CAPTURECONTEXTEXPIRED for "CAPTURE_CONTEXT_EXPIRED" - /// - [EnumMember(Value = "CAPTURE_CONTEXT_EXPIRED")] - CAPTURECONTEXTEXPIRED, - - /// - /// Enum SDKXHRERROR for "SDK_XHR_ERROR" - /// - [EnumMember(Value = "SDK_XHR_ERROR")] - SDKXHRERROR, - - /// - /// Enum UNIFIEDPAYMENTSVALIDATIONPARAMS for "UNIFIEDPAYMENTS_VALIDATION_PARAMS" - /// - [EnumMember(Value = "UNIFIEDPAYMENTS_VALIDATION_PARAMS")] - UNIFIEDPAYMENTSVALIDATIONPARAMS, - - /// - /// Enum UNIFIEDPAYMENTSVALIDATIONFIELDS for "UNIFIEDPAYMENTS_VALIDATION_FIELDS" - /// - [EnumMember(Value = "UNIFIEDPAYMENTS_VALIDATION_FIELDS")] - UNIFIEDPAYMENTSVALIDATIONFIELDS, - - /// - /// Enum UNIFIEDPAYMENTPAYMENTPARAMITERS for "UNIFIEDPAYMENT_PAYMENT_PARAMITERS" - /// - [EnumMember(Value = "UNIFIEDPAYMENT_PAYMENT_PARAMITERS")] - UNIFIEDPAYMENTPAYMENTPARAMITERS, - - /// - /// Enum CREATETOKENTIMEOUT for "CREATE_TOKEN_TIMEOUT" - /// - [EnumMember(Value = "CREATE_TOKEN_TIMEOUT")] - CREATETOKENTIMEOUT, - - /// - /// Enum CREATETOKENXHRERROR for "CREATE_TOKEN_XHR_ERROR" - /// - [EnumMember(Value = "CREATE_TOKEN_XHR_ERROR")] - CREATETOKENXHRERROR, - - /// - /// Enum SHOWLOADCONTAINERSELECTOR for "SHOW_LOAD_CONTAINER_SELECTOR" - /// - [EnumMember(Value = "SHOW_LOAD_CONTAINER_SELECTOR")] - SHOWLOADCONTAINERSELECTOR, - - /// - /// Enum SHOWLOADINVALIDCONTAINER for "SHOW_LOAD_INVALID_CONTAINER" - /// - [EnumMember(Value = "SHOW_LOAD_INVALID_CONTAINER")] - SHOWLOADINVALIDCONTAINER, - - /// - /// Enum SHOWTOKENTIMEOUT for "SHOW_TOKEN_TIMEOUT" - /// - [EnumMember(Value = "SHOW_TOKEN_TIMEOUT")] - SHOWTOKENTIMEOUT, - - /// - /// Enum SHOWTOKENXHRERROR for "SHOW_TOKEN_XHR_ERROR" - /// - [EnumMember(Value = "SHOW_TOKEN_XHR_ERROR")] - SHOWTOKENXHRERROR, - - /// - /// Enum SHOWPAYMENTTIMEOUT for "SHOW_PAYMENT_TIMEOUT" - /// - [EnumMember(Value = "SHOW_PAYMENT_TIMEOUT")] - SHOWPAYMENTTIMEOUT + [EnumMember(Value = "RESOURCE_NOT_FOUND")] + RESOURCENOTFOUND } /// - /// Gets or Sets Reason + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' /// + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' [DataMember(Name="reason", EmitDefaultValue=false)] public ReasonEnum? Reason { get; set; } /// /// Initializes a new instance of the class. /// - [JsonConstructorAttribute] - protected InlineResponse4006() { } - /// - /// Initializes a new instance of the class. - /// - /// CorrelationId. + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. . + /// The http status description of the submitted request.. + /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' . + /// Descriptive message for the error.. /// Details. - /// InformationLink. - /// Message (required). - /// Reason (required). - public InlineResponse4006(string CorrelationId = default(string), List Details = default(List), string InformationLink = default(string), string Message = default(string), ReasonEnum? Reason = default(ReasonEnum?)) + public InlineResponse4006(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) { - this.CorrelationId = CorrelationId; - this.Details = Details; - this.InformationLink = InformationLink; - this.Message = Message; + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; this.Reason = Reason; + this.Message = Message; + this.Details = Details; } /// - /// Gets or Sets CorrelationId + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. /// - [DataMember(Name="correlationId", EmitDefaultValue=false)] - public string CorrelationId { get; set; } + /// Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + [JsonConverter(typeof(SwaggerDateConverter))] + public DateTime? SubmitTimeUtc { get; set; } /// - /// Gets or Sets Details + /// The http status description of the submitted request. /// - [DataMember(Name="details", EmitDefaultValue=false)] - public List Details { get; set; } + /// The http status description of the submitted request. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } - /// - /// Gets or Sets InformationLink - /// - [DataMember(Name="informationLink", EmitDefaultValue=false)] - public string InformationLink { get; set; } /// - /// Gets or Sets Message + /// Descriptive message for the error. /// + /// Descriptive message for the error. [DataMember(Name="message", EmitDefaultValue=false)] public string Message { get; set; } + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { get; set; } /// /// Returns the string presentation of the object @@ -187,11 +116,11 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse4006 {\n"); - sb.Append(" CorrelationId: ").Append(CorrelationId).Append("\n"); - sb.Append(" Details: ").Append(Details).Append("\n"); - sb.Append(" InformationLink: ").Append(InformationLink).Append("\n"); - sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Details: ").Append(Details).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -229,19 +158,19 @@ public bool Equals(InlineResponse4006 other) return ( - this.CorrelationId == other.CorrelationId || - this.CorrelationId != null && - this.CorrelationId.Equals(other.CorrelationId) + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) ) && ( - this.Details == other.Details || - this.Details != null && - this.Details.SequenceEqual(other.Details) + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) ) && ( - this.InformationLink == other.InformationLink || - this.InformationLink != null && - this.InformationLink.Equals(other.InformationLink) + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) ) && ( this.Message == other.Message || @@ -249,9 +178,9 @@ public bool Equals(InlineResponse4006 other) this.Message.Equals(other.Message) ) && ( - this.Reason == other.Reason || - this.Reason != null && - this.Reason.Equals(other.Reason) + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) ); } @@ -266,16 +195,16 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.CorrelationId != null) - hash = hash * 59 + this.CorrelationId.GetHashCode(); - if (this.Details != null) - hash = hash * 59 + this.Details.GetHashCode(); - if (this.InformationLink != null) - hash = hash * 59 + this.InformationLink.GetHashCode(); - if (this.Message != null) - hash = hash * 59 + this.Message.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); if (this.Reason != null) hash = hash * 59 + this.Reason.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse4006Details.cs b/Model/InlineResponse4006Details.cs index 0e439c6d..74beb1bf 100644 --- a/Model/InlineResponse4006Details.cs +++ b/Model/InlineResponse4006Details.cs @@ -33,25 +33,27 @@ public partial class InlineResponse4006Details : IEquatable /// Initializes a new instance of the class. /// - /// Location. - /// Message. - public InlineResponse4006Details(string Location = default(string), string Message = default(string)) + /// This is the flattened JSON object field name/path that is either missing or invalid.. + /// Possible reasons for the error.. + public InlineResponse4006Details(string Field = default(string), string Reason = default(string)) { - this.Location = Location; - this.Message = Message; + this.Field = Field; + this.Reason = Reason; } /// - /// Gets or Sets Location + /// This is the flattened JSON object field name/path that is either missing or invalid. /// - [DataMember(Name="location", EmitDefaultValue=false)] - public string Location { get; set; } + /// This is the flattened JSON object field name/path that is either missing or invalid. + [DataMember(Name="field", EmitDefaultValue=false)] + public string Field { get; set; } /// - /// Gets or Sets Message + /// Possible reasons for the error. /// - [DataMember(Name="message", EmitDefaultValue=false)] - public string Message { get; set; } + /// Possible reasons for the error. + [DataMember(Name="reason", EmitDefaultValue=false)] + public string Reason { get; set; } /// /// Returns the string presentation of the object @@ -61,8 +63,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse4006Details {\n"); - sb.Append(" Location: ").Append(Location).Append("\n"); - sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" Field: ").Append(Field).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -100,14 +102,14 @@ public bool Equals(InlineResponse4006Details other) return ( - this.Location == other.Location || - this.Location != null && - this.Location.Equals(other.Location) + this.Field == other.Field || + this.Field != null && + this.Field.Equals(other.Field) ) && ( - this.Message == other.Message || - this.Message != null && - this.Message.Equals(other.Message) + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) ); } @@ -122,10 +124,10 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Location != null) - hash = hash * 59 + this.Location.GetHashCode(); - if (this.Message != null) - hash = hash * 59 + this.Message.GetHashCode(); + if (this.Field != null) + hash = hash * 59 + this.Field.GetHashCode(); + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); return hash; } } diff --git a/Model/InlineResponse4041.cs b/Model/InlineResponse4041.cs index b51e8518..0e0404ba 100644 --- a/Model/InlineResponse4041.cs +++ b/Model/InlineResponse4041.cs @@ -58,7 +58,7 @@ public enum ReasonEnum /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' . /// Descriptive message for the error.. /// Details. - public InlineResponse4041(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) + public InlineResponse4041(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) { this.SubmitTimeUtc = SubmitTimeUtc; this.Status = Status; @@ -94,7 +94,7 @@ public enum ReasonEnum /// Gets or Sets Details /// [DataMember(Name="details", EmitDefaultValue=false)] - public List Details { get; set; } + public List Details { get; set; } /// /// Returns the string presentation of the object diff --git a/Model/InlineResponse4221.cs b/Model/InlineResponse4221.cs index 7a67fbf8..84773f88 100644 --- a/Model/InlineResponse4221.cs +++ b/Model/InlineResponse4221.cs @@ -58,7 +58,7 @@ public enum ReasonEnum /// Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' . /// Descriptive message for the error.. /// Details. - public InlineResponse4221(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) + public InlineResponse4221(DateTime? SubmitTimeUtc = default(DateTime?), string Status = default(string), ReasonEnum? Reason = default(ReasonEnum?), string Message = default(string), List Details = default(List)) { this.SubmitTimeUtc = SubmitTimeUtc; this.Status = Status; @@ -94,7 +94,7 @@ public enum ReasonEnum /// Gets or Sets Details /// [DataMember(Name="details", EmitDefaultValue=false)] - public List Details { get; set; } + public List Details { get; set; } /// /// Returns the string presentation of the object diff --git a/Model/PatchInstrumentIdentifierRequest.cs b/Model/PatchInstrumentIdentifierRequest.cs index 8f2e0c18..fff4ff6e 100644 --- a/Model/PatchInstrumentIdentifierRequest.cs +++ b/Model/PatchInstrumentIdentifierRequest.cs @@ -44,7 +44,7 @@ public partial class PatchInstrumentIdentifierRequest : IEquatableProcessingInformation. /// BillTo. /// Metadata. - public PatchInstrumentIdentifierRequest(TmsEmbeddedInstrumentIdentifierLinks Links = default(TmsEmbeddedInstrumentIdentifierLinks), string Id = default(string), string Type = default(string), Ptsv2paymentsTokenInformationTokenProvisioningInformation TokenProvisioningInformation = default(Ptsv2paymentsTokenInformationTokenProvisioningInformation), TmsEmbeddedInstrumentIdentifierCard Card = default(TmsEmbeddedInstrumentIdentifierCard), TmsEmbeddedInstrumentIdentifierBankAccount BankAccount = default(TmsEmbeddedInstrumentIdentifierBankAccount), TmsEmbeddedInstrumentIdentifierTokenizedCard TokenizedCard = default(TmsEmbeddedInstrumentIdentifierTokenizedCard), TmsEmbeddedInstrumentIdentifierIssuer Issuer = default(TmsEmbeddedInstrumentIdentifierIssuer), TmsEmbeddedInstrumentIdentifierProcessingInformation ProcessingInformation = default(TmsEmbeddedInstrumentIdentifierProcessingInformation), TmsEmbeddedInstrumentIdentifierBillTo BillTo = default(TmsEmbeddedInstrumentIdentifierBillTo), TmsEmbeddedInstrumentIdentifierMetadata Metadata = default(TmsEmbeddedInstrumentIdentifierMetadata)) + public PatchInstrumentIdentifierRequest(TmsEmbeddedInstrumentIdentifierLinks Links = default(TmsEmbeddedInstrumentIdentifierLinks), string Id = default(string), string Type = default(string), Ptsv2paymentsTokenInformationTokenProvisioningInformation TokenProvisioningInformation = default(Ptsv2paymentsTokenInformationTokenProvisioningInformation), TmsEmbeddedInstrumentIdentifierCard Card = default(TmsEmbeddedInstrumentIdentifierCard), TmsEmbeddedInstrumentIdentifierBankAccount BankAccount = default(TmsEmbeddedInstrumentIdentifierBankAccount), Tmsv2TokenizedCard TokenizedCard = default(Tmsv2TokenizedCard), TmsEmbeddedInstrumentIdentifierIssuer Issuer = default(TmsEmbeddedInstrumentIdentifierIssuer), TmsEmbeddedInstrumentIdentifierProcessingInformation ProcessingInformation = default(TmsEmbeddedInstrumentIdentifierProcessingInformation), TmsEmbeddedInstrumentIdentifierBillTo BillTo = default(TmsEmbeddedInstrumentIdentifierBillTo), TmsEmbeddedInstrumentIdentifierMetadata Metadata = default(TmsEmbeddedInstrumentIdentifierMetadata)) { this.Links = Links; this.Id = Id; @@ -115,7 +115,7 @@ public partial class PatchInstrumentIdentifierRequest : IEquatable [DataMember(Name="tokenizedCard", EmitDefaultValue=false)] - public TmsEmbeddedInstrumentIdentifierTokenizedCard TokenizedCard { get; set; } + public Tmsv2TokenizedCard TokenizedCard { get; set; } /// /// Gets or Sets Issuer diff --git a/Model/PostInstrumentIdentifierEnrollmentRequest.cs b/Model/PostInstrumentIdentifierEnrollmentRequest.cs index 22eb46c0..f18b3187 100644 --- a/Model/PostInstrumentIdentifierEnrollmentRequest.cs +++ b/Model/PostInstrumentIdentifierEnrollmentRequest.cs @@ -44,7 +44,7 @@ public partial class PostInstrumentIdentifierEnrollmentRequest : IEquatableProcessingInformation. /// BillTo. /// Metadata. - public PostInstrumentIdentifierEnrollmentRequest(TmsEmbeddedInstrumentIdentifierLinks Links = default(TmsEmbeddedInstrumentIdentifierLinks), string Id = default(string), string Type = default(string), Ptsv2paymentsTokenInformationTokenProvisioningInformation TokenProvisioningInformation = default(Ptsv2paymentsTokenInformationTokenProvisioningInformation), TmsEmbeddedInstrumentIdentifierCard Card = default(TmsEmbeddedInstrumentIdentifierCard), TmsEmbeddedInstrumentIdentifierBankAccount BankAccount = default(TmsEmbeddedInstrumentIdentifierBankAccount), TmsEmbeddedInstrumentIdentifierTokenizedCard TokenizedCard = default(TmsEmbeddedInstrumentIdentifierTokenizedCard), TmsEmbeddedInstrumentIdentifierIssuer Issuer = default(TmsEmbeddedInstrumentIdentifierIssuer), TmsEmbeddedInstrumentIdentifierProcessingInformation ProcessingInformation = default(TmsEmbeddedInstrumentIdentifierProcessingInformation), TmsEmbeddedInstrumentIdentifierBillTo BillTo = default(TmsEmbeddedInstrumentIdentifierBillTo), TmsEmbeddedInstrumentIdentifierMetadata Metadata = default(TmsEmbeddedInstrumentIdentifierMetadata)) + public PostInstrumentIdentifierEnrollmentRequest(TmsEmbeddedInstrumentIdentifierLinks Links = default(TmsEmbeddedInstrumentIdentifierLinks), string Id = default(string), string Type = default(string), Ptsv2paymentsTokenInformationTokenProvisioningInformation TokenProvisioningInformation = default(Ptsv2paymentsTokenInformationTokenProvisioningInformation), TmsEmbeddedInstrumentIdentifierCard Card = default(TmsEmbeddedInstrumentIdentifierCard), TmsEmbeddedInstrumentIdentifierBankAccount BankAccount = default(TmsEmbeddedInstrumentIdentifierBankAccount), Tmsv2TokenizedCard TokenizedCard = default(Tmsv2TokenizedCard), TmsEmbeddedInstrumentIdentifierIssuer Issuer = default(TmsEmbeddedInstrumentIdentifierIssuer), TmsEmbeddedInstrumentIdentifierProcessingInformation ProcessingInformation = default(TmsEmbeddedInstrumentIdentifierProcessingInformation), TmsEmbeddedInstrumentIdentifierBillTo BillTo = default(TmsEmbeddedInstrumentIdentifierBillTo), TmsEmbeddedInstrumentIdentifierMetadata Metadata = default(TmsEmbeddedInstrumentIdentifierMetadata)) { this.Links = Links; this.Id = Id; @@ -115,7 +115,7 @@ public partial class PostInstrumentIdentifierEnrollmentRequest : IEquatable [DataMember(Name="tokenizedCard", EmitDefaultValue=false)] - public TmsEmbeddedInstrumentIdentifierTokenizedCard TokenizedCard { get; set; } + public Tmsv2TokenizedCard TokenizedCard { get; set; } /// /// Gets or Sets Issuer diff --git a/Model/PostInstrumentIdentifierRequest.cs b/Model/PostInstrumentIdentifierRequest.cs index 67e2075c..b316d156 100644 --- a/Model/PostInstrumentIdentifierRequest.cs +++ b/Model/PostInstrumentIdentifierRequest.cs @@ -44,7 +44,7 @@ public partial class PostInstrumentIdentifierRequest : IEquatableProcessingInformation. /// BillTo. /// Metadata. - public PostInstrumentIdentifierRequest(TmsEmbeddedInstrumentIdentifierLinks Links = default(TmsEmbeddedInstrumentIdentifierLinks), string Id = default(string), string Type = default(string), Ptsv2paymentsTokenInformationTokenProvisioningInformation TokenProvisioningInformation = default(Ptsv2paymentsTokenInformationTokenProvisioningInformation), TmsEmbeddedInstrumentIdentifierCard Card = default(TmsEmbeddedInstrumentIdentifierCard), TmsEmbeddedInstrumentIdentifierBankAccount BankAccount = default(TmsEmbeddedInstrumentIdentifierBankAccount), TmsEmbeddedInstrumentIdentifierTokenizedCard TokenizedCard = default(TmsEmbeddedInstrumentIdentifierTokenizedCard), TmsEmbeddedInstrumentIdentifierIssuer Issuer = default(TmsEmbeddedInstrumentIdentifierIssuer), TmsEmbeddedInstrumentIdentifierProcessingInformation ProcessingInformation = default(TmsEmbeddedInstrumentIdentifierProcessingInformation), TmsEmbeddedInstrumentIdentifierBillTo BillTo = default(TmsEmbeddedInstrumentIdentifierBillTo), TmsEmbeddedInstrumentIdentifierMetadata Metadata = default(TmsEmbeddedInstrumentIdentifierMetadata)) + public PostInstrumentIdentifierRequest(TmsEmbeddedInstrumentIdentifierLinks Links = default(TmsEmbeddedInstrumentIdentifierLinks), string Id = default(string), string Type = default(string), Ptsv2paymentsTokenInformationTokenProvisioningInformation TokenProvisioningInformation = default(Ptsv2paymentsTokenInformationTokenProvisioningInformation), TmsEmbeddedInstrumentIdentifierCard Card = default(TmsEmbeddedInstrumentIdentifierCard), TmsEmbeddedInstrumentIdentifierBankAccount BankAccount = default(TmsEmbeddedInstrumentIdentifierBankAccount), Tmsv2TokenizedCard TokenizedCard = default(Tmsv2TokenizedCard), TmsEmbeddedInstrumentIdentifierIssuer Issuer = default(TmsEmbeddedInstrumentIdentifierIssuer), TmsEmbeddedInstrumentIdentifierProcessingInformation ProcessingInformation = default(TmsEmbeddedInstrumentIdentifierProcessingInformation), TmsEmbeddedInstrumentIdentifierBillTo BillTo = default(TmsEmbeddedInstrumentIdentifierBillTo), TmsEmbeddedInstrumentIdentifierMetadata Metadata = default(TmsEmbeddedInstrumentIdentifierMetadata)) { this.Links = Links; this.Id = Id; @@ -115,7 +115,7 @@ public partial class PostInstrumentIdentifierRequest : IEquatable [DataMember(Name="tokenizedCard", EmitDefaultValue=false)] - public TmsEmbeddedInstrumentIdentifierTokenizedCard TokenizedCard { get; set; } + public Tmsv2TokenizedCard TokenizedCard { get; set; } /// /// Gets or Sets Issuer diff --git a/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.cs b/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.cs index f5259762..925efea9 100644 --- a/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.cs +++ b/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.cs @@ -35,15 +35,17 @@ public partial class PtsV2IncrementalAuthorizationPatch201ResponseProcessorInfor /// /// Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000. . /// Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"processorInformation.networkTransactionId\" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003 . + /// Same value as `processorInformation.transactionId`. /// For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3) . /// This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt. . /// This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. . /// MerchantAdvice. /// SellerProtection. - public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation(string ApprovalCode = default(string), string TransactionId = default(string), string ResponseCode = default(string), string SystemTraceAuditNumber = default(string), string ResponseDetails = default(string), PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice MerchantAdvice = default(PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice), PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection SellerProtection = default(PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection)) + public PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation(string ApprovalCode = default(string), string TransactionId = default(string), string NetworkTransactionId = default(string), string ResponseCode = default(string), string SystemTraceAuditNumber = default(string), string ResponseDetails = default(string), PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice MerchantAdvice = default(PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice), PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection SellerProtection = default(PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection)) { this.ApprovalCode = ApprovalCode; this.TransactionId = TransactionId; + this.NetworkTransactionId = NetworkTransactionId; this.ResponseCode = ResponseCode; this.SystemTraceAuditNumber = SystemTraceAuditNumber; this.ResponseDetails = ResponseDetails; @@ -65,6 +67,13 @@ public partial class PtsV2IncrementalAuthorizationPatch201ResponseProcessorInfor [DataMember(Name="transactionId", EmitDefaultValue=false)] public string TransactionId { get; set; } + /// + /// Same value as `processorInformation.transactionId` + /// + /// Same value as `processorInformation.transactionId` + [DataMember(Name="networkTransactionId", EmitDefaultValue=false)] + public string NetworkTransactionId { get; set; } + /// /// For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3) /// @@ -108,6 +117,7 @@ public override string ToString() sb.Append("class PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation {\n"); sb.Append(" ApprovalCode: ").Append(ApprovalCode).Append("\n"); sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" NetworkTransactionId: ").Append(NetworkTransactionId).Append("\n"); sb.Append(" ResponseCode: ").Append(ResponseCode).Append("\n"); sb.Append(" SystemTraceAuditNumber: ").Append(SystemTraceAuditNumber).Append("\n"); sb.Append(" ResponseDetails: ").Append(ResponseDetails).Append("\n"); @@ -159,6 +169,11 @@ public bool Equals(PtsV2IncrementalAuthorizationPatch201ResponseProcessorInforma this.TransactionId != null && this.TransactionId.Equals(other.TransactionId) ) && + ( + this.NetworkTransactionId == other.NetworkTransactionId || + this.NetworkTransactionId != null && + this.NetworkTransactionId.Equals(other.NetworkTransactionId) + ) && ( this.ResponseCode == other.ResponseCode || this.ResponseCode != null && @@ -201,6 +216,8 @@ public override int GetHashCode() hash = hash * 59 + this.ApprovalCode.GetHashCode(); if (this.TransactionId != null) hash = hash * 59 + this.TransactionId.GetHashCode(); + if (this.NetworkTransactionId != null) + hash = hash * 59 + this.NetworkTransactionId.GetHashCode(); if (this.ResponseCode != null) hash = hash * 59 + this.ResponseCode.GetHashCode(); if (this.SystemTraceAuditNumber != null) diff --git a/Model/PtsV2PaymentsReversalsPost201Response.cs b/Model/PtsV2PaymentsReversalsPost201Response.cs index fc19b302..2f86d3f9 100644 --- a/Model/PtsV2PaymentsReversalsPost201Response.cs +++ b/Model/PtsV2PaymentsReversalsPost201Response.cs @@ -36,7 +36,7 @@ public partial class PtsV2PaymentsReversalsPost201Response : IEquatableLinks. /// An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. . /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. . - /// The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED . + /// The status of the submitted transaction. Possible values: - REVERSED . /// Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response. . /// ClientReferenceInformation. /// ReversalAmountDetails. @@ -80,9 +80,9 @@ public partial class PtsV2PaymentsReversalsPost201Response : IEquatable - /// The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED + /// The status of the submitted transaction. Possible values: - REVERSED /// - /// The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED + /// The status of the submitted transaction. Possible values: - REVERSED [DataMember(Name="status", EmitDefaultValue=false)] public string Status { get; set; } diff --git a/Model/Ptsv2paymentsRecurringPaymentInformation.cs b/Model/Ptsv2paymentsRecurringPaymentInformation.cs index caf21789..9ae61300 100644 --- a/Model/Ptsv2paymentsRecurringPaymentInformation.cs +++ b/Model/Ptsv2paymentsRecurringPaymentInformation.cs @@ -33,8 +33,13 @@ public partial class Ptsv2paymentsRecurringPaymentInformation : IEquatable /// Initializes a new instance of the class. /// - /// The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. . - /// Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. . + [JsonConstructorAttribute] + protected Ptsv2paymentsRecurringPaymentInformation() { } + /// + /// Initializes a new instance of the class. + /// + /// The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. (required). + /// Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. (required). /// Total number of payments for the duration of the recurring subscription. . /// Date of original purchase. Required for recurring transactions. Format: `YYYY-MM-DDTHH:MM:SSZ` **Note**: If this field is empty, the current date is used. . /// This field is mandatory for Cartes Bancaires recurring transactions on Credit Mutuel-CIC. This field records recurring sequence, e.g. 1st for initial, 2 for subsequent, 3 etc . diff --git a/Model/Ptsv2paymentsidClientReferenceInformation.cs b/Model/Ptsv2paymentsidClientReferenceInformation.cs index 2fae615b..df4b04d1 100644 --- a/Model/Ptsv2paymentsidClientReferenceInformation.cs +++ b/Model/Ptsv2paymentsidClientReferenceInformation.cs @@ -38,13 +38,15 @@ public partial class Ptsv2paymentsidClientReferenceInformation : IEquatableThe name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. . /// Version of the CyberSource application or integration used for a transaction. . /// The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. . - public Ptsv2paymentsidClientReferenceInformation(string Code = default(string), Ptsv2paymentsidClientReferenceInformationPartner Partner = default(Ptsv2paymentsidClientReferenceInformationPartner), string ApplicationName = default(string), string ApplicationVersion = default(string), string ApplicationUser = default(string)) + /// Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests. . + public Ptsv2paymentsidClientReferenceInformation(string Code = default(string), Ptsv2paymentsidClientReferenceInformationPartner Partner = default(Ptsv2paymentsidClientReferenceInformationPartner), string ApplicationName = default(string), string ApplicationVersion = default(string), string ApplicationUser = default(string), string TransactionId = default(string)) { this.Code = Code; this.Partner = Partner; this.ApplicationName = ApplicationName; this.ApplicationVersion = ApplicationVersion; this.ApplicationUser = ApplicationUser; + this.TransactionId = TransactionId; } /// @@ -81,6 +83,13 @@ public partial class Ptsv2paymentsidClientReferenceInformation : IEquatable + /// Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests. + /// + /// Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests. + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + /// /// Returns the string presentation of the object /// @@ -94,6 +103,7 @@ public override string ToString() sb.Append(" ApplicationName: ").Append(ApplicationName).Append("\n"); sb.Append(" ApplicationVersion: ").Append(ApplicationVersion).Append("\n"); sb.Append(" ApplicationUser: ").Append(ApplicationUser).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -154,6 +164,11 @@ public bool Equals(Ptsv2paymentsidClientReferenceInformation other) this.ApplicationUser == other.ApplicationUser || this.ApplicationUser != null && this.ApplicationUser.Equals(other.ApplicationUser) + ) && + ( + this.TransactionId == other.TransactionId || + this.TransactionId != null && + this.TransactionId.Equals(other.TransactionId) ); } @@ -178,6 +193,8 @@ public override int GetHashCode() hash = hash * 59 + this.ApplicationVersion.GetHashCode(); if (this.ApplicationUser != null) hash = hash * 59 + this.ApplicationUser.GetHashCode(); + if (this.TransactionId != null) + hash = hash * 59 + this.TransactionId.GetHashCode(); return hash; } } diff --git a/Model/Riskv1authenticationresultsPaymentInformation.cs b/Model/Riskv1authenticationresultsPaymentInformation.cs index 64a9284d..9c7326cb 100644 --- a/Model/Riskv1authenticationresultsPaymentInformation.cs +++ b/Model/Riskv1authenticationresultsPaymentInformation.cs @@ -37,7 +37,7 @@ public partial class Riskv1authenticationresultsPaymentInformation : IEquatable /// TokenizedCard. /// FluidData. /// Customer. - public Riskv1authenticationresultsPaymentInformation(Riskv1authenticationresultsPaymentInformationCard Card = default(Riskv1authenticationresultsPaymentInformationCard), Riskv1authenticationresultsPaymentInformationTokenizedCard TokenizedCard = default(Riskv1authenticationresultsPaymentInformationTokenizedCard), Riskv1authenticationresultsPaymentInformationFluidData FluidData = default(Riskv1authenticationresultsPaymentInformationFluidData), Ptsv2paymentsPaymentInformationCustomer Customer = default(Ptsv2paymentsPaymentInformationCustomer)) + public Riskv1authenticationresultsPaymentInformation(Riskv1authenticationresultsPaymentInformationCard Card = default(Riskv1authenticationresultsPaymentInformationCard), Riskv1authenticationresultsPaymentInformationTokenizedCard TokenizedCard = default(Riskv1authenticationresultsPaymentInformationTokenizedCard), Riskv1authenticationresultsPaymentInformationFluidData FluidData = default(Riskv1authenticationresultsPaymentInformationFluidData), Riskv1authenticationsPaymentInformationCustomer Customer = default(Riskv1authenticationsPaymentInformationCustomer)) { this.Card = Card; this.TokenizedCard = TokenizedCard; @@ -67,7 +67,7 @@ public partial class Riskv1authenticationresultsPaymentInformation : IEquatable /// Gets or Sets Customer /// [DataMember(Name="customer", EmitDefaultValue=false)] - public Ptsv2paymentsPaymentInformationCustomer Customer { get; set; } + public Riskv1authenticationsPaymentInformationCustomer Customer { get; set; } /// /// Returns the string presentation of the object diff --git a/Model/Riskv1authenticationsPaymentInformation.cs b/Model/Riskv1authenticationsPaymentInformation.cs index d8ed551c..dccbf079 100644 --- a/Model/Riskv1authenticationsPaymentInformation.cs +++ b/Model/Riskv1authenticationsPaymentInformation.cs @@ -37,7 +37,7 @@ public partial class Riskv1authenticationsPaymentInformation : IEquatableTokenizedCard. /// FluidData. /// Customer. - public Riskv1authenticationsPaymentInformation(Riskv1authenticationsetupsPaymentInformationCard Card = default(Riskv1authenticationsetupsPaymentInformationCard), Riskv1authenticationsPaymentInformationTokenizedCard TokenizedCard = default(Riskv1authenticationsPaymentInformationTokenizedCard), Riskv1authenticationsetupsPaymentInformationFluidData FluidData = default(Riskv1authenticationsetupsPaymentInformationFluidData), Ptsv2paymentsPaymentInformationCustomer Customer = default(Ptsv2paymentsPaymentInformationCustomer)) + public Riskv1authenticationsPaymentInformation(Riskv1authenticationsetupsPaymentInformationCard Card = default(Riskv1authenticationsetupsPaymentInformationCard), Riskv1authenticationsPaymentInformationTokenizedCard TokenizedCard = default(Riskv1authenticationsPaymentInformationTokenizedCard), Riskv1authenticationsetupsPaymentInformationFluidData FluidData = default(Riskv1authenticationsetupsPaymentInformationFluidData), Riskv1authenticationsPaymentInformationCustomer Customer = default(Riskv1authenticationsPaymentInformationCustomer)) { this.Card = Card; this.TokenizedCard = TokenizedCard; @@ -67,7 +67,7 @@ public partial class Riskv1authenticationsPaymentInformation : IEquatable [DataMember(Name="customer", EmitDefaultValue=false)] - public Ptsv2paymentsPaymentInformationCustomer Customer { get; set; } + public Riskv1authenticationsPaymentInformationCustomer Customer { get; set; } /// /// Returns the string presentation of the object diff --git a/Model/Riskv1authenticationsPaymentInformationCustomer.cs b/Model/Riskv1authenticationsPaymentInformationCustomer.cs new file mode 100644 index 00000000..8b9f84ae --- /dev/null +++ b/Model/Riskv1authenticationsPaymentInformationCustomer.cs @@ -0,0 +1,151 @@ +/* + * 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 +{ + /// + /// Riskv1authenticationsPaymentInformationCustomer + /// + [DataContract] + public partial class Riskv1authenticationsPaymentInformationCustomer : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Riskv1authenticationsPaymentInformationCustomer() { } + /// + /// Initializes a new instance of the class. + /// + /// Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. (required). + /// Unique identifier for the Customer token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. . + public Riskv1authenticationsPaymentInformationCustomer(string CustomerId = default(string), string Id = default(string)) + { + this.CustomerId = CustomerId; + this.Id = Id; + } + + /// + /// Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. + /// + /// Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// Unique identifier for the Customer token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. + /// + /// Unique identifier for the Customer token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { 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 Riskv1authenticationsPaymentInformationCustomer {\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" Id: ").Append(Id).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 Riskv1authenticationsPaymentInformationCustomer); + } + + /// + /// Returns true if Riskv1authenticationsPaymentInformationCustomer instances are equal + /// + /// Instance of Riskv1authenticationsPaymentInformationCustomer to be compared + /// Boolean + public bool Equals(Riskv1authenticationsPaymentInformationCustomer other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CustomerId == other.CustomerId || + this.CustomerId != null && + this.CustomerId.Equals(other.CustomerId) + ) && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ); + } + + /// + /// 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.CustomerId != null) + hash = hash * 59 + this.CustomerId.GetHashCode(); + if (this.Id != null) + hash = hash * 59 + this.Id.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/Riskv1authenticationsetupsPaymentInformationCustomer.cs b/Model/Riskv1authenticationsetupsPaymentInformationCustomer.cs index 825321bd..582b9741 100644 --- a/Model/Riskv1authenticationsetupsPaymentInformationCustomer.cs +++ b/Model/Riskv1authenticationsetupsPaymentInformationCustomer.cs @@ -33,7 +33,12 @@ public partial class Riskv1authenticationsetupsPaymentInformationCustomer : IEq /// /// Initializes a new instance of the class. /// - /// Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. . + [JsonConstructorAttribute] + protected Riskv1authenticationsetupsPaymentInformationCustomer() { } + /// + /// Initializes a new instance of the class. + /// + /// Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. (required). public Riskv1authenticationsetupsPaymentInformationCustomer(string CustomerId = default(string)) { this.CustomerId = CustomerId; diff --git a/Model/Riskv1decisionsConsumerAuthenticationInformation.cs b/Model/Riskv1decisionsConsumerAuthenticationInformation.cs index 890caf1f..c8b05123 100644 --- a/Model/Riskv1decisionsConsumerAuthenticationInformation.cs +++ b/Model/Riskv1decisionsConsumerAuthenticationInformation.cs @@ -46,7 +46,6 @@ protected Riskv1decisionsConsumerAuthenticationInformation() { } /// The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS . /// Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service. . /// This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW- Transaction performed at domestic merchant. 02:TW- Transaction performed at domestic merchant along with Token provisioning. 03:IT- Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. 08:GC- Guest Checkout 09:ST- SI Authentication Transaction only 10:SW- SI Authorization along with token provisioning . - /// An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK . /// Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. . /// The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used. . /// An alias that uniquely identifies the customer's account and credit card on file. Note This field is required if Tokenization is enabled in the merchant profile settings. . @@ -79,7 +78,7 @@ protected Riskv1decisionsConsumerAuthenticationInformation() { } /// Transaction mode identifier. Identifies the channel from which the transaction originates. Possible values: - `M`: MOTO (Mail Order Telephone Order) - `R`: Retail - `S`: eCommerce - `P`: Mobile Device - `T`: Tablet . /// Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor. Possible Values: Y - 3DS Requestor is whitelisted by cardholder N - 3DS Requestor is not whitelisted by cardholder . /// Risk Assessment from Mastercard. This is to be sent by merchant if they would like to request a score. - public Riskv1decisionsConsumerAuthenticationInformation(Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication StrongAuthentication = default(Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication), string AcsWindowSize = default(string), string AlternateAuthenticationData = default(string), string AlternateAuthenticationDate = default(string), string AlternateAuthenticationMethod = default(string), string AuthenticationDate = default(string), string AuthenticationTransactionId = default(string), int? TransactionFlowIndicator = default(int?), string ChallengeCancelCode = default(string), string ChallengeCode = default(string), string ChallengeStatus = default(string), string CustomerCardAlias = default(string), string DecoupledAuthenticationIndicator = default(string), string DecoupledAuthenticationMaxTime = default(string), bool? DefaultCard = default(bool?), string DeviceChannel = default(string), int? InstallmentTotalCount = default(int?), string MerchantFraudRate = default(string), bool? MarketingOptIn = default(bool?), string MarketingSource = default(string), string Mcc = default(string), int? MerchantScore = default(int?), string MessageCategory = default(string), string NpaCode = default(string), string OverridePaymentMethod = default(string), string OverrideCountryCode = default(string), string PriorAuthenticationData = default(string), string PriorAuthenticationMethod = default(string), string PriorAuthenticationReferenceId = default(string), string PriorAuthenticationTime = default(string), string ProductCode = default(string), string ReturnUrl = default(string), string RequestorId = default(string), string RequestorInitiatedAuthenticationIndicator = default(string), string RequestorName = default(string), string ReferenceId = default(string), string SdkMaxTimeout = default(string), string SecureCorporatePaymentIndicator = default(string), string TransactionMode = default(string), string WhiteListStatus = default(string), int? ScoreRequest = default(int?)) + public Riskv1decisionsConsumerAuthenticationInformation(Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication StrongAuthentication = default(Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication), string AcsWindowSize = default(string), string AlternateAuthenticationData = default(string), string AlternateAuthenticationDate = default(string), string AlternateAuthenticationMethod = default(string), string AuthenticationDate = default(string), string AuthenticationTransactionId = default(string), int? TransactionFlowIndicator = default(int?), string ChallengeCode = default(string), string ChallengeStatus = default(string), string CustomerCardAlias = default(string), string DecoupledAuthenticationIndicator = default(string), string DecoupledAuthenticationMaxTime = default(string), bool? DefaultCard = default(bool?), string DeviceChannel = default(string), int? InstallmentTotalCount = default(int?), string MerchantFraudRate = default(string), bool? MarketingOptIn = default(bool?), string MarketingSource = default(string), string Mcc = default(string), int? MerchantScore = default(int?), string MessageCategory = default(string), string NpaCode = default(string), string OverridePaymentMethod = default(string), string OverrideCountryCode = default(string), string PriorAuthenticationData = default(string), string PriorAuthenticationMethod = default(string), string PriorAuthenticationReferenceId = default(string), string PriorAuthenticationTime = default(string), string ProductCode = default(string), string ReturnUrl = default(string), string RequestorId = default(string), string RequestorInitiatedAuthenticationIndicator = default(string), string RequestorName = default(string), string ReferenceId = default(string), string SdkMaxTimeout = default(string), string SecureCorporatePaymentIndicator = default(string), string TransactionMode = default(string), string WhiteListStatus = default(string), int? ScoreRequest = default(int?)) { this.StrongAuthentication = StrongAuthentication; this.AcsWindowSize = AcsWindowSize; @@ -89,7 +88,6 @@ protected Riskv1decisionsConsumerAuthenticationInformation() { } this.AuthenticationDate = AuthenticationDate; this.AuthenticationTransactionId = AuthenticationTransactionId; this.TransactionFlowIndicator = TransactionFlowIndicator; - this.ChallengeCancelCode = ChallengeCancelCode; this.ChallengeCode = ChallengeCode; this.ChallengeStatus = ChallengeStatus; this.CustomerCardAlias = CustomerCardAlias; @@ -179,13 +177,6 @@ protected Riskv1decisionsConsumerAuthenticationInformation() { } [DataMember(Name="transactionFlowIndicator", EmitDefaultValue=false)] public int? TransactionFlowIndicator { get; set; } - /// - /// An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK - /// - /// An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK - [DataMember(Name="challengeCancelCode", EmitDefaultValue=false)] - public string ChallengeCancelCode { get; set; } - /// /// Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. /// @@ -426,7 +417,6 @@ public override string ToString() sb.Append(" AuthenticationDate: ").Append(AuthenticationDate).Append("\n"); sb.Append(" AuthenticationTransactionId: ").Append(AuthenticationTransactionId).Append("\n"); sb.Append(" TransactionFlowIndicator: ").Append(TransactionFlowIndicator).Append("\n"); - sb.Append(" ChallengeCancelCode: ").Append(ChallengeCancelCode).Append("\n"); sb.Append(" ChallengeCode: ").Append(ChallengeCode).Append("\n"); sb.Append(" ChallengeStatus: ").Append(ChallengeStatus).Append("\n"); sb.Append(" CustomerCardAlias: ").Append(CustomerCardAlias).Append("\n"); @@ -535,11 +525,6 @@ public bool Equals(Riskv1decisionsConsumerAuthenticationInformation other) this.TransactionFlowIndicator != null && this.TransactionFlowIndicator.Equals(other.TransactionFlowIndicator) ) && - ( - this.ChallengeCancelCode == other.ChallengeCancelCode || - this.ChallengeCancelCode != null && - this.ChallengeCancelCode.Equals(other.ChallengeCancelCode) - ) && ( this.ChallengeCode == other.ChallengeCode || this.ChallengeCode != null && @@ -729,8 +714,6 @@ public override int GetHashCode() hash = hash * 59 + this.AuthenticationTransactionId.GetHashCode(); if (this.TransactionFlowIndicator != null) hash = hash * 59 + this.TransactionFlowIndicator.GetHashCode(); - if (this.ChallengeCancelCode != null) - hash = hash * 59 + this.ChallengeCancelCode.GetHashCode(); if (this.ChallengeCode != null) hash = hash * 59 + this.ChallengeCode.GetHashCode(); if (this.ChallengeStatus != null) diff --git a/Model/TmsEmbeddedInstrumentIdentifier.cs b/Model/TmsEmbeddedInstrumentIdentifier.cs index ffab3bc0..065b2435 100644 --- a/Model/TmsEmbeddedInstrumentIdentifier.cs +++ b/Model/TmsEmbeddedInstrumentIdentifier.cs @@ -44,7 +44,7 @@ public partial class TmsEmbeddedInstrumentIdentifier : IEquatableProcessingInformation. /// BillTo. /// Metadata. - public TmsEmbeddedInstrumentIdentifier(TmsEmbeddedInstrumentIdentifierLinks Links = default(TmsEmbeddedInstrumentIdentifierLinks), string Id = default(string), string Type = default(string), Ptsv2paymentsTokenInformationTokenProvisioningInformation TokenProvisioningInformation = default(Ptsv2paymentsTokenInformationTokenProvisioningInformation), TmsEmbeddedInstrumentIdentifierCard Card = default(TmsEmbeddedInstrumentIdentifierCard), TmsEmbeddedInstrumentIdentifierBankAccount BankAccount = default(TmsEmbeddedInstrumentIdentifierBankAccount), TmsEmbeddedInstrumentIdentifierTokenizedCard TokenizedCard = default(TmsEmbeddedInstrumentIdentifierTokenizedCard), TmsEmbeddedInstrumentIdentifierIssuer Issuer = default(TmsEmbeddedInstrumentIdentifierIssuer), TmsEmbeddedInstrumentIdentifierProcessingInformation ProcessingInformation = default(TmsEmbeddedInstrumentIdentifierProcessingInformation), TmsEmbeddedInstrumentIdentifierBillTo BillTo = default(TmsEmbeddedInstrumentIdentifierBillTo), TmsEmbeddedInstrumentIdentifierMetadata Metadata = default(TmsEmbeddedInstrumentIdentifierMetadata)) + public TmsEmbeddedInstrumentIdentifier(TmsEmbeddedInstrumentIdentifierLinks Links = default(TmsEmbeddedInstrumentIdentifierLinks), string Id = default(string), string Type = default(string), Ptsv2paymentsTokenInformationTokenProvisioningInformation TokenProvisioningInformation = default(Ptsv2paymentsTokenInformationTokenProvisioningInformation), TmsEmbeddedInstrumentIdentifierCard Card = default(TmsEmbeddedInstrumentIdentifierCard), TmsEmbeddedInstrumentIdentifierBankAccount BankAccount = default(TmsEmbeddedInstrumentIdentifierBankAccount), Tmsv2TokenizedCard TokenizedCard = default(Tmsv2TokenizedCard), TmsEmbeddedInstrumentIdentifierIssuer Issuer = default(TmsEmbeddedInstrumentIdentifierIssuer), TmsEmbeddedInstrumentIdentifierProcessingInformation ProcessingInformation = default(TmsEmbeddedInstrumentIdentifierProcessingInformation), TmsEmbeddedInstrumentIdentifierBillTo BillTo = default(TmsEmbeddedInstrumentIdentifierBillTo), TmsEmbeddedInstrumentIdentifierMetadata Metadata = default(TmsEmbeddedInstrumentIdentifierMetadata)) { this.Links = Links; this.Id = Id; @@ -115,7 +115,7 @@ public partial class TmsEmbeddedInstrumentIdentifier : IEquatable [DataMember(Name="tokenizedCard", EmitDefaultValue=false)] - public TmsEmbeddedInstrumentIdentifierTokenizedCard TokenizedCard { get; set; } + public Tmsv2TokenizedCard TokenizedCard { get; set; } /// /// Gets or Sets Issuer diff --git a/Model/TmsEmbeddedInstrumentIdentifierTokenizedCard.cs b/Model/Tmsv2TokenizedCard.cs similarity index 90% rename from Model/TmsEmbeddedInstrumentIdentifierTokenizedCard.cs rename to Model/Tmsv2TokenizedCard.cs index f23e7339..1113e036 100644 --- a/Model/TmsEmbeddedInstrumentIdentifierTokenizedCard.cs +++ b/Model/Tmsv2TokenizedCard.cs @@ -25,18 +25,20 @@ namespace CyberSource.Model { /// - /// TmsEmbeddedInstrumentIdentifierTokenizedCard + /// Tmsv2TokenizedCard /// [DataContract] - public partial class TmsEmbeddedInstrumentIdentifierTokenizedCard : IEquatable, IValidatableObject + public partial class Tmsv2TokenizedCard : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Card. - public TmsEmbeddedInstrumentIdentifierTokenizedCard(TmsEmbeddedInstrumentIdentifierTokenizedCardCard Card = default(TmsEmbeddedInstrumentIdentifierTokenizedCardCard)) + /// Metadata. + public Tmsv2TokenizedCard(Tmsv2TokenizedCardCard Card = default(Tmsv2TokenizedCardCard), Tmsv2TokenizedCardMetadata Metadata = default(Tmsv2TokenizedCardMetadata)) { this.Card = Card; + this.Metadata = Metadata; } /// @@ -113,7 +115,13 @@ public partial class TmsEmbeddedInstrumentIdentifierTokenizedCard : IEquatable< /// Gets or Sets Card /// [DataMember(Name="card", EmitDefaultValue=false)] - public TmsEmbeddedInstrumentIdentifierTokenizedCardCard Card { get; set; } + public Tmsv2TokenizedCardCard Card { get; set; } + + /// + /// Gets or Sets Metadata + /// + [DataMember(Name="metadata", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadata Metadata { get; set; } /// /// Returns the string presentation of the object @@ -122,7 +130,7 @@ public partial class TmsEmbeddedInstrumentIdentifierTokenizedCard : IEquatable< public override string ToString() { var sb = new StringBuilder(); - sb.Append("class TmsEmbeddedInstrumentIdentifierTokenizedCard {\n"); + sb.Append("class Tmsv2TokenizedCard {\n"); sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append(" Source: ").Append(Source).Append("\n"); sb.Append(" State: ").Append(State).Append("\n"); @@ -134,6 +142,7 @@ public override string ToString() sb.Append(" ExpirationYear: ").Append(ExpirationYear).Append("\n"); sb.Append(" Cryptogram: ").Append(Cryptogram).Append("\n"); sb.Append(" Card: ").Append(Card).Append("\n"); + sb.Append(" Metadata: ").Append(Metadata).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -155,15 +164,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as TmsEmbeddedInstrumentIdentifierTokenizedCard); + return this.Equals(obj as Tmsv2TokenizedCard); } /// - /// Returns true if TmsEmbeddedInstrumentIdentifierTokenizedCard instances are equal + /// Returns true if Tmsv2TokenizedCard instances are equal /// - /// Instance of TmsEmbeddedInstrumentIdentifierTokenizedCard to be compared + /// Instance of Tmsv2TokenizedCard to be compared /// Boolean - public bool Equals(TmsEmbeddedInstrumentIdentifierTokenizedCard other) + public bool Equals(Tmsv2TokenizedCard other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) @@ -224,6 +233,11 @@ public bool Equals(TmsEmbeddedInstrumentIdentifierTokenizedCard other) this.Card == other.Card || this.Card != null && this.Card.Equals(other.Card) + ) && + ( + this.Metadata == other.Metadata || + this.Metadata != null && + this.Metadata.Equals(other.Metadata) ); } @@ -260,6 +274,8 @@ public override int GetHashCode() hash = hash * 59 + this.Cryptogram.GetHashCode(); if (this.Card != null) hash = hash * 59 + this.Card.GetHashCode(); + if (this.Metadata != null) + hash = hash * 59 + this.Metadata.GetHashCode(); return hash; } } diff --git a/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.cs b/Model/Tmsv2TokenizedCardCard.cs similarity index 87% rename from Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.cs rename to Model/Tmsv2TokenizedCardCard.cs index 0ba9f4fc..a5ab2e7d 100644 --- a/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.cs +++ b/Model/Tmsv2TokenizedCardCard.cs @@ -28,13 +28,13 @@ namespace CyberSource.Model /// The latest card details associated with the network token /// [DataContract] - public partial class TmsEmbeddedInstrumentIdentifierTokenizedCardCard : IEquatable, IValidatableObject + public partial class Tmsv2TokenizedCardCard : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public TmsEmbeddedInstrumentIdentifierTokenizedCardCard() + public Tmsv2TokenizedCardCard() { } @@ -66,7 +66,7 @@ public TmsEmbeddedInstrumentIdentifierTokenizedCardCard() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class TmsEmbeddedInstrumentIdentifierTokenizedCardCard {\n"); + sb.Append("class Tmsv2TokenizedCardCard {\n"); sb.Append(" Suffix: ").Append(Suffix).Append("\n"); sb.Append(" ExpirationMonth: ").Append(ExpirationMonth).Append("\n"); sb.Append(" ExpirationYear: ").Append(ExpirationYear).Append("\n"); @@ -91,15 +91,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as TmsEmbeddedInstrumentIdentifierTokenizedCardCard); + return this.Equals(obj as Tmsv2TokenizedCardCard); } /// - /// Returns true if TmsEmbeddedInstrumentIdentifierTokenizedCardCard instances are equal + /// Returns true if Tmsv2TokenizedCardCard instances are equal /// - /// Instance of TmsEmbeddedInstrumentIdentifierTokenizedCardCard to be compared + /// Instance of Tmsv2TokenizedCardCard to be compared /// Boolean - public bool Equals(TmsEmbeddedInstrumentIdentifierTokenizedCardCard other) + public bool Equals(Tmsv2TokenizedCardCard other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/Model/Tmsv2TokenizedCardMetadata.cs b/Model/Tmsv2TokenizedCardMetadata.cs new file mode 100644 index 00000000..20f2a128 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadata.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadata + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadata : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CardArt. + public Tmsv2TokenizedCardMetadata(Tmsv2TokenizedCardMetadataCardArt CardArt = default(Tmsv2TokenizedCardMetadataCardArt)) + { + this.CardArt = CardArt; + } + + /// + /// Gets or Sets CardArt + /// + [DataMember(Name="cardArt", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArt CardArt { 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 Tmsv2TokenizedCardMetadata {\n"); + sb.Append(" CardArt: ").Append(CardArt).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 Tmsv2TokenizedCardMetadata); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadata instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadata to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadata other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CardArt == other.CardArt || + this.CardArt != null && + this.CardArt.Equals(other.CardArt) + ); + } + + /// + /// 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.CardArt != null) + hash = hash * 59 + this.CardArt.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/Tmsv2TokenizedCardMetadataCardArt.cs b/Model/Tmsv2TokenizedCardMetadataCardArt.cs new file mode 100644 index 00000000..973047ee --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArt.cs @@ -0,0 +1,223 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArt + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArt : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CombinedAsset. + /// BrandLogoAsset. + /// CoBrandLogoAsset. + /// IssuerLogoAsset. + /// IconAsset. + /// BackgroundAsset. + public Tmsv2TokenizedCardMetadataCardArt(Tmsv2TokenizedCardMetadataCardArtCombinedAsset CombinedAsset = default(Tmsv2TokenizedCardMetadataCardArtCombinedAsset), Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset BrandLogoAsset = default(Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset), Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset CoBrandLogoAsset = default(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset), Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset IssuerLogoAsset = default(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset), Tmsv2TokenizedCardMetadataCardArtIconAsset IconAsset = default(Tmsv2TokenizedCardMetadataCardArtIconAsset), Tmsv2TokenizedCardMetadataCardArtBackgroundAsset BackgroundAsset = default(Tmsv2TokenizedCardMetadataCardArtBackgroundAsset)) + { + this.CombinedAsset = CombinedAsset; + this.BrandLogoAsset = BrandLogoAsset; + this.CoBrandLogoAsset = CoBrandLogoAsset; + this.IssuerLogoAsset = IssuerLogoAsset; + this.IconAsset = IconAsset; + this.BackgroundAsset = BackgroundAsset; + } + + /// + /// Gets or Sets CombinedAsset + /// + [DataMember(Name="combinedAsset", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtCombinedAsset CombinedAsset { get; set; } + + /// + /// Gets or Sets BrandLogoAsset + /// + [DataMember(Name="brandLogoAsset", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset BrandLogoAsset { get; set; } + + /// + /// Gets or Sets CoBrandLogoAsset + /// + [DataMember(Name="coBrandLogoAsset", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset CoBrandLogoAsset { get; set; } + + /// + /// Gets or Sets IssuerLogoAsset + /// + [DataMember(Name="issuerLogoAsset", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset IssuerLogoAsset { get; set; } + + /// + /// Gets or Sets IconAsset + /// + [DataMember(Name="iconAsset", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtIconAsset IconAsset { get; set; } + + /// + /// The foreground color of the brand logo asset. + /// + /// The foreground color of the brand logo asset. + [DataMember(Name="foregroundColor", EmitDefaultValue=false)] + public string ForegroundColor { get; private set; } + + /// + /// Gets or Sets BackgroundAsset + /// + [DataMember(Name="backgroundAsset", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtBackgroundAsset BackgroundAsset { 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 Tmsv2TokenizedCardMetadataCardArt {\n"); + sb.Append(" CombinedAsset: ").Append(CombinedAsset).Append("\n"); + sb.Append(" BrandLogoAsset: ").Append(BrandLogoAsset).Append("\n"); + sb.Append(" CoBrandLogoAsset: ").Append(CoBrandLogoAsset).Append("\n"); + sb.Append(" IssuerLogoAsset: ").Append(IssuerLogoAsset).Append("\n"); + sb.Append(" IconAsset: ").Append(IconAsset).Append("\n"); + sb.Append(" ForegroundColor: ").Append(ForegroundColor).Append("\n"); + sb.Append(" BackgroundAsset: ").Append(BackgroundAsset).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 Tmsv2TokenizedCardMetadataCardArt); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArt instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArt to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArt other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CombinedAsset == other.CombinedAsset || + this.CombinedAsset != null && + this.CombinedAsset.Equals(other.CombinedAsset) + ) && + ( + this.BrandLogoAsset == other.BrandLogoAsset || + this.BrandLogoAsset != null && + this.BrandLogoAsset.Equals(other.BrandLogoAsset) + ) && + ( + this.CoBrandLogoAsset == other.CoBrandLogoAsset || + this.CoBrandLogoAsset != null && + this.CoBrandLogoAsset.Equals(other.CoBrandLogoAsset) + ) && + ( + this.IssuerLogoAsset == other.IssuerLogoAsset || + this.IssuerLogoAsset != null && + this.IssuerLogoAsset.Equals(other.IssuerLogoAsset) + ) && + ( + this.IconAsset == other.IconAsset || + this.IconAsset != null && + this.IconAsset.Equals(other.IconAsset) + ) && + ( + this.ForegroundColor == other.ForegroundColor || + this.ForegroundColor != null && + this.ForegroundColor.Equals(other.ForegroundColor) + ) && + ( + this.BackgroundAsset == other.BackgroundAsset || + this.BackgroundAsset != null && + this.BackgroundAsset.Equals(other.BackgroundAsset) + ); + } + + /// + /// 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.CombinedAsset != null) + hash = hash * 59 + this.CombinedAsset.GetHashCode(); + if (this.BrandLogoAsset != null) + hash = hash * 59 + this.BrandLogoAsset.GetHashCode(); + if (this.CoBrandLogoAsset != null) + hash = hash * 59 + this.CoBrandLogoAsset.GetHashCode(); + if (this.IssuerLogoAsset != null) + hash = hash * 59 + this.IssuerLogoAsset.GetHashCode(); + if (this.IconAsset != null) + hash = hash * 59 + this.IconAsset.GetHashCode(); + if (this.ForegroundColor != null) + hash = hash * 59 + this.ForegroundColor.GetHashCode(); + if (this.BackgroundAsset != null) + hash = hash * 59 + this.BackgroundAsset.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/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.cs b/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.cs new file mode 100644 index 00000000..8b356374 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.cs @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtBackgroundAsset : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + public Tmsv2TokenizedCardMetadataCardArtBackgroundAsset(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks Links = default(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks)) + { + this.Links = Links; + } + + /// + /// The Id of the icon asset. + /// + /// The Id of the icon asset. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; private set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks Links { 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 Tmsv2TokenizedCardMetadataCardArtBackgroundAsset {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Links: ").Append(Links).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 Tmsv2TokenizedCardMetadataCardArtBackgroundAsset); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtBackgroundAsset instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAsset to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtBackgroundAsset other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) + ); + } + + /// + /// 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.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.Links != null) + hash = hash * 59 + this.Links.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/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.cs b/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.cs new file mode 100644 index 00000000..2ac3f0e5 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Self. + public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf Self = default(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf)) + { + this.Self = Self; + } + + /// + /// Gets or Sets Self + /// + [DataMember(Name="self", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf Self { 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 Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks {\n"); + sb.Append(" Self: ").Append(Self).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 Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Self == other.Self || + this.Self != null && + this.Self.Equals(other.Self) + ); + } + + /// + /// 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.Self != null) + hash = hash * 59 + this.Self.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/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.cs b/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.cs new file mode 100644 index 00000000..50d64a79 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf() + { + } + + /// + /// Link to the background asset. + /// + /// Link to the background asset. + [DataMember(Name="href", EmitDefaultValue=false)] + public string Href { get; private set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf {\n"); + sb.Append(" Href: ").Append(Href).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 Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Href == other.Href || + this.Href != null && + this.Href.Equals(other.Href) + ); + } + + /// + /// 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.Href != null) + hash = hash * 59 + this.Href.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/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.cs b/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.cs new file mode 100644 index 00000000..0ef9e78b --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.cs @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks Links = default(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks)) + { + this.Links = Links; + } + + /// + /// The Id of the brand logo asset. + /// + /// The Id of the brand logo asset. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; private set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks Links { 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 Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Links: ").Append(Links).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 Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) + ); + } + + /// + /// 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.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.Links != null) + hash = hash * 59 + this.Links.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/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.cs b/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.cs new file mode 100644 index 00000000..d271dc88 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Self. + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf Self = default(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf)) + { + this.Self = Self; + } + + /// + /// Gets or Sets Self + /// + [DataMember(Name="self", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf Self { 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 Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks {\n"); + sb.Append(" Self: ").Append(Self).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 Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Self == other.Self || + this.Self != null && + this.Self.Equals(other.Self) + ); + } + + /// + /// 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.Self != null) + hash = hash * 59 + this.Self.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/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.cs b/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.cs new file mode 100644 index 00000000..26fec6b5 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf() + { + } + + /// + /// Link to the brand logo asset. + /// + /// Link to the brand logo asset. + [DataMember(Name="href", EmitDefaultValue=false)] + public string Href { get; private set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf {\n"); + sb.Append(" Href: ").Append(Href).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 Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Href == other.Href || + this.Href != null && + this.Href.Equals(other.Href) + ); + } + + /// + /// 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.Href != null) + hash = hash * 59 + this.Href.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/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.cs b/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.cs new file mode 100644 index 00000000..3879813c --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.cs @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks Links = default(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks)) + { + this.Links = Links; + } + + /// + /// The Id of the co-brand logo asset. + /// + /// The Id of the co-brand logo asset. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; private set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks Links { 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 Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Links: ").Append(Links).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 Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) + ); + } + + /// + /// 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.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.Links != null) + hash = hash * 59 + this.Links.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/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.cs b/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.cs new file mode 100644 index 00000000..cd390b8f --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Self. + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf Self = default(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf)) + { + this.Self = Self; + } + + /// + /// Gets or Sets Self + /// + [DataMember(Name="self", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf Self { 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 Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks {\n"); + sb.Append(" Self: ").Append(Self).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 Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Self == other.Self || + this.Self != null && + this.Self.Equals(other.Self) + ); + } + + /// + /// 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.Self != null) + hash = hash * 59 + this.Self.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/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.cs b/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.cs new file mode 100644 index 00000000..ab3a81d1 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf() + { + } + + /// + /// Link to the co-brand logo asset. + /// + /// Link to the co-brand logo asset. + [DataMember(Name="href", EmitDefaultValue=false)] + public string Href { get; private set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf {\n"); + sb.Append(" Href: ").Append(Href).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 Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Href == other.Href || + this.Href != null && + this.Href.Equals(other.Href) + ); + } + + /// + /// 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.Href != null) + hash = hash * 59 + this.Href.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/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.cs b/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.cs new file mode 100644 index 00000000..3c3f270c --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.cs @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtCombinedAsset + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtCombinedAsset : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + public Tmsv2TokenizedCardMetadataCardArtCombinedAsset(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks Links = default(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks)) + { + this.Links = Links; + } + + /// + /// The Id of the combined asset. + /// + /// The Id of the combined asset. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; private set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks Links { 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 Tmsv2TokenizedCardMetadataCardArtCombinedAsset {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Links: ").Append(Links).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 Tmsv2TokenizedCardMetadataCardArtCombinedAsset); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtCombinedAsset instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtCombinedAsset to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtCombinedAsset other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) + ); + } + + /// + /// 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.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.Links != null) + hash = hash * 59 + this.Links.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/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.cs b/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.cs new file mode 100644 index 00000000..e54b2702 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Self. + public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf Self = default(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf)) + { + this.Self = Self; + } + + /// + /// Gets or Sets Self + /// + [DataMember(Name="self", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf Self { 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 Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks {\n"); + sb.Append(" Self: ").Append(Self).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 Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Self == other.Self || + this.Self != null && + this.Self.Equals(other.Self) + ); + } + + /// + /// 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.Self != null) + hash = hash * 59 + this.Self.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/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.cs b/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.cs new file mode 100644 index 00000000..6fd670d2 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf() + { + } + + /// + /// Link to the combined asset. + /// + /// Link to the combined asset. + [DataMember(Name="href", EmitDefaultValue=false)] + public string Href { get; private set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf {\n"); + sb.Append(" Href: ").Append(Href).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 Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Href == other.Href || + this.Href != null && + this.Href.Equals(other.Href) + ); + } + + /// + /// 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.Href != null) + hash = hash * 59 + this.Href.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/Tmsv2TokenizedCardMetadataCardArtIconAsset.cs b/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.cs new file mode 100644 index 00000000..fb9e9b25 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtIconAsset.cs @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtIconAsset + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtIconAsset : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + public Tmsv2TokenizedCardMetadataCardArtIconAsset(Tmsv2TokenizedCardMetadataCardArtIconAssetLinks Links = default(Tmsv2TokenizedCardMetadataCardArtIconAssetLinks)) + { + this.Links = Links; + } + + /// + /// The Id of the icon asset. + /// + /// The Id of the icon asset. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; private set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtIconAssetLinks Links { 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 Tmsv2TokenizedCardMetadataCardArtIconAsset {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Links: ").Append(Links).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 Tmsv2TokenizedCardMetadataCardArtIconAsset); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtIconAsset instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtIconAsset to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtIconAsset other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) + ); + } + + /// + /// 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.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.Links != null) + hash = hash * 59 + this.Links.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/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.cs b/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.cs new file mode 100644 index 00000000..f63dea7b --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtIconAssetLinks : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Self. + public Tmsv2TokenizedCardMetadataCardArtIconAssetLinks(Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf Self = default(Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf)) + { + this.Self = Self; + } + + /// + /// Gets or Sets Self + /// + [DataMember(Name="self", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf Self { 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 Tmsv2TokenizedCardMetadataCardArtIconAssetLinks {\n"); + sb.Append(" Self: ").Append(Self).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 Tmsv2TokenizedCardMetadataCardArtIconAssetLinks); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtIconAssetLinks instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtIconAssetLinks to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtIconAssetLinks other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Self == other.Self || + this.Self != null && + this.Self.Equals(other.Self) + ); + } + + /// + /// 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.Self != null) + hash = hash * 59 + this.Self.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/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.cs b/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.cs new file mode 100644 index 00000000..21da4160 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf() + { + } + + /// + /// Link to the icon asset. + /// + /// Link to the icon asset. + [DataMember(Name="href", EmitDefaultValue=false)] + public string Href { get; private set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf {\n"); + sb.Append(" Href: ").Append(Href).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 Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Href == other.Href || + this.Href != null && + this.Href.Equals(other.Href) + ); + } + + /// + /// 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.Href != null) + hash = hash * 59 + this.Href.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/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.cs b/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.cs new file mode 100644 index 00000000..e9a2dff5 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.cs @@ -0,0 +1,143 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks Links = default(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks)) + { + this.Links = Links; + } + + /// + /// The Id of the issuer logo asset. + /// + /// The Id of the issuer logo asset. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; private set; } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks Links { 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 Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Links: ").Append(Links).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 Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) + ); + } + + /// + /// 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.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.Links != null) + hash = hash * 59 + this.Links.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/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.cs b/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.cs new file mode 100644 index 00000000..8f914ce1 --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Self. + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf Self = default(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf)) + { + this.Self = Self; + } + + /// + /// Gets or Sets Self + /// + [DataMember(Name="self", EmitDefaultValue=false)] + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf Self { 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 Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks {\n"); + sb.Append(" Self: ").Append(Self).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 Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Self == other.Self || + this.Self != null && + this.Self.Equals(other.Self) + ); + } + + /// + /// 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.Self != null) + hash = hash * 59 + this.Self.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/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.cs b/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.cs new file mode 100644 index 00000000..200f16fd --- /dev/null +++ b/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.cs @@ -0,0 +1,128 @@ +/* + * 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 +{ + /// + /// Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf + /// + [DataContract] + public partial class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf() + { + } + + /// + /// Link to the issuer logo asset. + /// + /// Link to the issuer logo asset. + [DataMember(Name="href", EmitDefaultValue=false)] + public string Href { get; private set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf {\n"); + sb.Append(" Href: ").Append(Href).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 Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf); + } + + /// + /// Returns true if Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf instances are equal + /// + /// Instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf to be compared + /// Boolean + public bool Equals(Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Href == other.Href || + this.Href != null && + this.Href.Equals(other.Href) + ); + } + + /// + /// 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.Href != null) + hash = hash * 59 + this.Href.GetHashCode(); + return hash; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/cybersource-rest-client-dotnet.csproj b/cybersource-rest-client-dotnet.csproj index f786a48c..58b218cf 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 - {1A3C7333-707C-4375-A6B7-4C743529A86F} + {38D4AFC8-DAAB-48CF-8FB2-B221B2EBF218} Library Properties CyberSource diff --git a/cybersource-rest-client-dotnet.sln b/cybersource-rest-client-dotnet.sln index 9313d3e1..da3cf305 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", "{1A3C7333-707C-4375-A6B7-4C743529A86F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{38D4AFC8-DAAB-48CF-8FB2-B221B2EBF218}" 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 - {1A3C7333-707C-4375-A6B7-4C743529A86F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1A3C7333-707C-4375-A6B7-4C743529A86F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1A3C7333-707C-4375-A6B7-4C743529A86F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1A3C7333-707C-4375-A6B7-4C743529A86F}.Release|Any CPU.Build.0 = Release|Any CPU + {38D4AFC8-DAAB-48CF-8FB2-B221B2EBF218}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {38D4AFC8-DAAB-48CF-8FB2-B221B2EBF218}.Debug|Any CPU.Build.0 = Debug|Any CPU + {38D4AFC8-DAAB-48CF-8FB2-B221B2EBF218}.Release|Any CPU.ActiveCfg = Release|Any CPU + {38D4AFC8-DAAB-48CF-8FB2-B221B2EBF218}.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/CardProcessingConfigCommon.md b/docs/CardProcessingConfigCommon.md index f2ce5366..ed6b9195 100644 --- a/docs/CardProcessingConfigCommon.md +++ b/docs/CardProcessingConfigCommon.md @@ -24,6 +24,8 @@ Name | Type | Description | Notes **SubMerchantBusinessName** | **string** | Sub-merchant's business name. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>37</td><td>^[0-9a-zA-Z&#92;-&#92;_&#92;,\\s.]+$</td></tr> </table> | [optional] **PreferCobadgedSecondaryBrand** | **bool?** | It denotes merchant's preference on secondary brand for routing in case of co-branded cards. Applicable for EFTPOS processors. | [optional] **MerchantDescriptorInformation** | [**CardProcessingConfigCommonMerchantDescriptorInformation**](CardProcessingConfigCommonMerchantDescriptorInformation.md) | | [optional] +**GovernmentControlled** | **bool?** | Indicates whether the merchant is government controlled. Applicable for VPC processors. | [optional] +**DropBillingInfo** | **bool?** | This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request. | [optional] [[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/CardProcessingConfigCommonAcquirer.md b/docs/CardProcessingConfigCommonAcquirer.md index 446f1b5a..6f7b8bc6 100644 --- a/docs/CardProcessingConfigCommonAcquirer.md +++ b/docs/CardProcessingConfigCommonAcquirer.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes **InstitutionId** | **string** | Identifier of the acquirer. This number is usually assigned by Visa. Applicable for VPC, GPX (gpx), CMCIC (cmcic), EFTPOS, CB2A, CUP, American Express Direct (amexdirect) and Six (six) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>13</td><td>^[0-9]+$</td><td>1111</td></tr> </table> | [optional] **InterbankCardAssociationId** | **string** | Number assigned by MasterCard to banks to identify the member in transactions. Applicable for VPC and GPX (gpx) processors. | [optional] **DiscoverInstitutionId** | **string** | Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors. | [optional] +**UnionPayInstitutionId** | **string** | Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors. | [optional] +**DinersClubInstitutionId** | **string** | Assigned by Diners Club to identify the acquirer. Applicable for VPC processors. | [optional] **CountryCode** | **string** | ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors. | [optional] **FileDestinationBin** | **string** | The BIN to which this capturefile is sent. This field must contain a valid BIN. Applicable for VPC and GPX (gpx) processors. | [optional] diff --git a/docs/CardProcessingConfigCommonMerchantDescriptorInformation.md b/docs/CardProcessingConfigCommonMerchantDescriptorInformation.md index eddb3588..95a64e3d 100644 --- a/docs/CardProcessingConfigCommonMerchantDescriptorInformation.md +++ b/docs/CardProcessingConfigCommonMerchantDescriptorInformation.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **Street** | **string** | Applicable for American Express Direct (amexdirect), TSYS (tsys) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>38</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] **Zip** | **string** | Applicable for Elavon Americas (elavonamericas), RUPAY, American Express Direct (amexdirect) and TSYS (tsys) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z\\s]+$</td></tr> </table> | [optional] **Url** | **string** | Applicable for RUPAY and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>40</td><td>URL</td></tr> <tr><td>American Express Direct</td><td>cp</td><td>No</td><td>1</td><td>40</td><td>URL</td></tr> </table> | [optional] +**CountryOfOrigin** | **string** | Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute. | [optional] [[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/CardProcessingConfigCommonProcessors.md b/docs/CardProcessingConfigCommonProcessors.md index 193c4450..f654c4b2 100644 --- a/docs/CardProcessingConfigCommonProcessors.md +++ b/docs/CardProcessingConfigCommonProcessors.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **TerminalId** | **string** | The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table> | [optional] **PaymentTypes** | [**Dictionary<string, CardProcessingConfigCommonPaymentTypes>**](CardProcessingConfigCommonPaymentTypes.md) | Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB | [optional] **Currencies** | [**Dictionary<string, CardProcessingConfigCommonCurrencies1>**](CardProcessingConfigCommonCurrencies1.md) | Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) | [optional] +**VisaAggregatorId** | **string** | This field is used as aggregator Id when Visa payment type is selected | [optional] +**AmexAggregatorId** | **string** | This field is used as aggregator Id when Amex payment type is selected | [optional] +**MasterCardAggregatorId** | **string** | This field is used as aggregator Id when Master Card payment type is selected | [optional] **SicCode** | **string** | The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors. | [optional] **AllowMultipleBills** | **bool?** | Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table> | [optional] **AllowMerchantDescriptorOverride** | **bool?** | Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors. | [optional] diff --git a/docs/FlexAPIApi.md b/docs/FlexAPIApi.md new file mode 100644 index 00000000..5421439c --- /dev/null +++ b/docs/FlexAPIApi.md @@ -0,0 +1,70 @@ +# CyberSource.Api.FlexAPIApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GenerateFlexAPICaptureContext**](FlexAPIApi.md#generateflexapicapturecontext) | **POST** /flex/v2/sessions | Establish a Payment Session with a Capture Context + + + +# **GenerateFlexAPICaptureContext** +> string GenerateFlexAPICaptureContext (GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest) + +Establish a Payment Session with a Capture Context + +To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. To determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session. **Capture Context Fields**
When making a session request, any fields that you request to be added to the capture context are required by default. However, you can choose to make a field optional by setting the required parameter to false. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class GenerateFlexAPICaptureContextExample + { + public void main() + { + var apiInstance = new FlexAPIApi(); + var generateFlexAPICaptureContextRequest = new GenerateFlexAPICaptureContextRequest(); // GenerateFlexAPICaptureContextRequest | + + try + { + // Establish a Payment Session with a Capture Context + string result = apiInstance.GenerateFlexAPICaptureContext(generateFlexAPICaptureContextRequest); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling FlexAPIApi.GenerateFlexAPICaptureContext: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **generateFlexAPICaptureContextRequest** | [**GenerateFlexAPICaptureContextRequest**](GenerateFlexAPICaptureContextRequest.md)| | + +### Return type + +**string** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/jwt + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/Flexv2sessionsFields.md b/docs/Flexv2sessionsFields.md new file mode 100644 index 00000000..04a5ae66 --- /dev/null +++ b/docs/Flexv2sessionsFields.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Flexv2sessionsFields +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OrderInformation** | [**Flexv2sessionsFieldsOrderInformation**](Flexv2sessionsFieldsOrderInformation.md) | | [optional] +**PaymentInformation** | [**Flexv2sessionsFieldsPaymentInformation**](Flexv2sessionsFieldsPaymentInformation.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/Flexv2sessionsFieldsOrderInformation.md b/docs/Flexv2sessionsFieldsOrderInformation.md new file mode 100644 index 00000000..994a7442 --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformation.md @@ -0,0 +1,11 @@ +# CyberSource.Model.Flexv2sessionsFieldsOrderInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AmountDetails** | [**Flexv2sessionsFieldsOrderInformationAmountDetails**](Flexv2sessionsFieldsOrderInformationAmountDetails.md) | | [optional] +**BillTo** | [**Flexv2sessionsFieldsOrderInformationBillTo**](Flexv2sessionsFieldsOrderInformationBillTo.md) | | [optional] +**ShipTo** | [**Flexv2sessionsFieldsOrderInformationShipTo**](Flexv2sessionsFieldsOrderInformationShipTo.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/Flexv2sessionsFieldsOrderInformationAmountDetails.md b/docs/Flexv2sessionsFieldsOrderInformationAmountDetails.md new file mode 100644 index 00000000..27d1f73e --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformationAmountDetails.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Flexv2sessionsFieldsOrderInformationAmountDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TotalAmount** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Currency** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.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/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md b/docs/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md new file mode 100644 index 00000000..1d7b911f --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Required** | **bool?** | | [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/Flexv2sessionsFieldsOrderInformationBillTo.md b/docs/Flexv2sessionsFieldsOrderInformationBillTo.md new file mode 100644 index 00000000..9b31c9e6 --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformationBillTo.md @@ -0,0 +1,21 @@ +# CyberSource.Model.Flexv2sessionsFieldsOrderInformationBillTo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address1** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Address2** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**AdministrativeArea** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**BuildingNumber** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Country** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**District** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Locality** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**PostalCode** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Email** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**FirstName** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**LastName** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**PhoneNumber** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Company** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] + +[[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/Flexv2sessionsFieldsOrderInformationShipTo.md b/docs/Flexv2sessionsFieldsOrderInformationShipTo.md new file mode 100644 index 00000000..16f1bc8f --- /dev/null +++ b/docs/Flexv2sessionsFieldsOrderInformationShipTo.md @@ -0,0 +1,19 @@ +# CyberSource.Model.Flexv2sessionsFieldsOrderInformationShipTo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address1** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Address2** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**AdministrativeArea** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**BuildingNumber** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Country** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**District** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Locality** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**PostalCode** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**FirstName** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**LastName** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Company** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] + +[[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/Flexv2sessionsFieldsPaymentInformation.md b/docs/Flexv2sessionsFieldsPaymentInformation.md new file mode 100644 index 00000000..4cc271f6 --- /dev/null +++ b/docs/Flexv2sessionsFieldsPaymentInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Flexv2sessionsFieldsPaymentInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Card** | [**Flexv2sessionsFieldsPaymentInformationCard**](Flexv2sessionsFieldsPaymentInformationCard.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/Flexv2sessionsFieldsPaymentInformationCard.md b/docs/Flexv2sessionsFieldsPaymentInformationCard.md new file mode 100644 index 00000000..2358a30d --- /dev/null +++ b/docs/Flexv2sessionsFieldsPaymentInformationCard.md @@ -0,0 +1,13 @@ +# CyberSource.Model.Flexv2sessionsFieldsPaymentInformationCard +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Number** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**Type** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**SecurityCode** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**ExpirationMonth** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] +**ExpirationYear** | [**Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount**](Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount.md) | | [optional] + +[[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/GenerateFlexAPICaptureContextRequest.md b/docs/GenerateFlexAPICaptureContextRequest.md new file mode 100644 index 00000000..31cd08be --- /dev/null +++ b/docs/GenerateFlexAPICaptureContextRequest.md @@ -0,0 +1,9 @@ +# CyberSource.Model.GenerateFlexAPICaptureContextRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Fields** | [**Flexv2sessionsFields**](Flexv2sessionsFields.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/InlineResponse4001.md b/docs/InlineResponse4001.md index b485b133..9c763024 100644 --- a/docs/InlineResponse4001.md +++ b/docs/InlineResponse4001.md @@ -3,11 +3,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] -**Status** | **string** | The status of the submitted transaction. Possible values: - `INVALID_REQUEST` | [optional] -**Reason** | **string** | The reason of the status. Possible Values: - `INVALID_DATA` | [optional] -**Message** | **string** | Input request error. | [optional] -**Details** | [**List<PtsV2PaymentsPost201ResponseErrorInformationDetails>**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional] +**CorrelationId** | **string** | | [optional] +**Details** | [**List<InlineResponse4001Details>**](InlineResponse4001Details.md) | | [optional] +**InformationLink** | **string** | | [optional] +**Message** | **string** | | +**Reason** | **string** | | [[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/InlineResponse4001Details.md b/docs/InlineResponse4001Details.md new file mode 100644 index 00000000..11827756 --- /dev/null +++ b/docs/InlineResponse4001Details.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse4001Details +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Location** | **string** | | [optional] +**Message** | **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/InlineResponse4002.md b/docs/InlineResponse4002.md index 2157a0e7..744144c7 100644 --- a/docs/InlineResponse4002.md +++ b/docs/InlineResponse4002.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] -**Status** | **string** | The status of the submitted transaction. Possible values: - INVALID_REQUEST | [optional] -**Reason** | **string** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION | [optional] -**Message** | **string** | The detail message related to the status and reason listed above. | [optional] +**Status** | **string** | The status of the submitted transaction. Possible values: - `INVALID_REQUEST` | [optional] +**Reason** | **string** | The reason of the status. Possible Values: - `INVALID_DATA` | [optional] +**Message** | **string** | Input request error. | [optional] **Details** | [**List<PtsV2PaymentsPost201ResponseErrorInformationDetails>**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional] [[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/InlineResponse4003.md b/docs/InlineResponse4003.md index 3774f134..fdde9402 100644 --- a/docs/InlineResponse4003.md +++ b/docs/InlineResponse4003.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] **Status** | **string** | The status of the submitted transaction. Possible values: - INVALID_REQUEST | [optional] -**Reason** | **string** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE | [optional] +**Reason** | **string** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION | [optional] **Message** | **string** | The detail message related to the status and reason listed above. | [optional] **Details** | [**List<PtsV2PaymentsPost201ResponseErrorInformationDetails>**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional] diff --git a/docs/InlineResponse4004.md b/docs/InlineResponse4004.md index a387e611..4980c154 100644 --- a/docs/InlineResponse4004.md +++ b/docs/InlineResponse4004.md @@ -3,12 +3,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Code** | **string** | Error code | -**Message** | **string** | Error message | -**LocalizationKey** | **string** | Localization Key Name | [optional] -**CorrelationId** | **string** | Correlation Id | [optional] -**Detail** | **string** | Error Detail | [optional] -**Fields** | [**List<InlineResponse4004Fields>**](InlineResponse4004Fields.md) | Error fields List | [optional] +**SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] +**Status** | **string** | The status of the submitted transaction. Possible values: - INVALID_REQUEST | [optional] +**Reason** | **string** | The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_CARD_TYPE | [optional] +**Message** | **string** | The detail message related to the status and reason listed above. | [optional] +**Details** | [**List<PtsV2PaymentsPost201ResponseErrorInformationDetails>**](PtsV2PaymentsPost201ResponseErrorInformationDetails.md) | | [optional] [[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/InlineResponse4005.md b/docs/InlineResponse4005.md index 719d96a3..5f5086d2 100644 --- a/docs/InlineResponse4005.md +++ b/docs/InlineResponse4005.md @@ -3,11 +3,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] -**Status** | **string** | The http status description of the submitted request. | [optional] -**Reason** | **string** | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' | [optional] -**Message** | **string** | Descriptive message for the error. | [optional] -**Details** | [**List<InlineResponse4005Details>**](InlineResponse4005Details.md) | | [optional] +**Code** | **string** | Error code | +**Message** | **string** | Error message | +**LocalizationKey** | **string** | Localization Key Name | [optional] +**CorrelationId** | **string** | Correlation Id | [optional] +**Detail** | **string** | Error Detail | [optional] +**Fields** | [**List<InlineResponse4005Fields>**](InlineResponse4005Fields.md) | Error fields List | [optional] [[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/InlineResponse4004Fields.md b/docs/InlineResponse4005Fields.md similarity index 91% rename from docs/InlineResponse4004Fields.md rename to docs/InlineResponse4005Fields.md index 75ed830c..9d289652 100644 --- a/docs/InlineResponse4004Fields.md +++ b/docs/InlineResponse4005Fields.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse4004Fields +# CyberSource.Model.InlineResponse4005Fields ## Properties Name | Type | Description | Notes diff --git a/docs/InlineResponse4006.md b/docs/InlineResponse4006.md index 5e84191e..624c27a6 100644 --- a/docs/InlineResponse4006.md +++ b/docs/InlineResponse4006.md @@ -3,11 +3,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CorrelationId** | **string** | | [optional] +**SubmitTimeUtc** | **DateTime?** | Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. | [optional] +**Status** | **string** | The http status description of the submitted request. | [optional] +**Reason** | **string** | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' - 'SYSTEM_ERROR' - 'RESOURCE_NOT_FOUND' | [optional] +**Message** | **string** | Descriptive message for the error. | [optional] **Details** | [**List<InlineResponse4006Details>**](InlineResponse4006Details.md) | | [optional] -**InformationLink** | **string** | | [optional] -**Message** | **string** | | -**Reason** | **string** | | [[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/InlineResponse4006Details.md b/docs/InlineResponse4006Details.md index 8cdb04cd..4648fada 100644 --- a/docs/InlineResponse4006Details.md +++ b/docs/InlineResponse4006Details.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Location** | **string** | | [optional] -**Message** | **string** | | [optional] +**Field** | **string** | This is the flattened JSON object field name/path that is either missing or invalid. | [optional] +**Reason** | **string** | Possible reasons for the error. | [optional] [[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/InlineResponse4041.md b/docs/InlineResponse4041.md index 8e7c798e..8b1116df 100644 --- a/docs/InlineResponse4041.md +++ b/docs/InlineResponse4041.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Status** | **string** | The http status description of the submitted request. | [optional] **Reason** | **string** | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'RESOURCE_NOT_FOUND' | [optional] **Message** | **string** | Descriptive message for the error. | [optional] -**Details** | [**List<InlineResponse4005Details>**](InlineResponse4005Details.md) | | [optional] +**Details** | [**List<InlineResponse4006Details>**](InlineResponse4006Details.md) | | [optional] [[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/InlineResponse4221.md b/docs/InlineResponse4221.md index 88a233ed..c9443a41 100644 --- a/docs/InlineResponse4221.md +++ b/docs/InlineResponse4221.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Status** | **string** | The http status description of the submitted request. | [optional] **Reason** | **string** | Documented reason codes. Client should be able to use the key for generating their own error message Possible Values: - 'INVALID_DATA' | [optional] **Message** | **string** | Descriptive message for the error. | [optional] -**Details** | [**List<InlineResponse4005Details>**](InlineResponse4005Details.md) | | [optional] +**Details** | [**List<InlineResponse4006Details>**](InlineResponse4006Details.md) | | [optional] [[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/PatchInstrumentIdentifierRequest.md b/docs/PatchInstrumentIdentifierRequest.md index e0a02570..0525aa85 100644 --- a/docs/PatchInstrumentIdentifierRequest.md +++ b/docs/PatchInstrumentIdentifierRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **TokenProvisioningInformation** | [**Ptsv2paymentsTokenInformationTokenProvisioningInformation**](Ptsv2paymentsTokenInformationTokenProvisioningInformation.md) | | [optional] **Card** | [**TmsEmbeddedInstrumentIdentifierCard**](TmsEmbeddedInstrumentIdentifierCard.md) | | [optional] **BankAccount** | [**TmsEmbeddedInstrumentIdentifierBankAccount**](TmsEmbeddedInstrumentIdentifierBankAccount.md) | | [optional] -**TokenizedCard** | [**TmsEmbeddedInstrumentIdentifierTokenizedCard**](TmsEmbeddedInstrumentIdentifierTokenizedCard.md) | | [optional] +**TokenizedCard** | [**Tmsv2TokenizedCard**](Tmsv2TokenizedCard.md) | | [optional] **Issuer** | [**TmsEmbeddedInstrumentIdentifierIssuer**](TmsEmbeddedInstrumentIdentifierIssuer.md) | | [optional] **ProcessingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **BillTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] diff --git a/docs/PostInstrumentIdentifierEnrollmentRequest.md b/docs/PostInstrumentIdentifierEnrollmentRequest.md index 18376d6d..0233ee3b 100644 --- a/docs/PostInstrumentIdentifierEnrollmentRequest.md +++ b/docs/PostInstrumentIdentifierEnrollmentRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **TokenProvisioningInformation** | [**Ptsv2paymentsTokenInformationTokenProvisioningInformation**](Ptsv2paymentsTokenInformationTokenProvisioningInformation.md) | | [optional] **Card** | [**TmsEmbeddedInstrumentIdentifierCard**](TmsEmbeddedInstrumentIdentifierCard.md) | | [optional] **BankAccount** | [**TmsEmbeddedInstrumentIdentifierBankAccount**](TmsEmbeddedInstrumentIdentifierBankAccount.md) | | [optional] -**TokenizedCard** | [**TmsEmbeddedInstrumentIdentifierTokenizedCard**](TmsEmbeddedInstrumentIdentifierTokenizedCard.md) | | [optional] +**TokenizedCard** | [**Tmsv2TokenizedCard**](Tmsv2TokenizedCard.md) | | [optional] **Issuer** | [**TmsEmbeddedInstrumentIdentifierIssuer**](TmsEmbeddedInstrumentIdentifierIssuer.md) | | [optional] **ProcessingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **BillTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] diff --git a/docs/PostInstrumentIdentifierRequest.md b/docs/PostInstrumentIdentifierRequest.md index d5eb8749..a10e0ddd 100644 --- a/docs/PostInstrumentIdentifierRequest.md +++ b/docs/PostInstrumentIdentifierRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **TokenProvisioningInformation** | [**Ptsv2paymentsTokenInformationTokenProvisioningInformation**](Ptsv2paymentsTokenInformationTokenProvisioningInformation.md) | | [optional] **Card** | [**TmsEmbeddedInstrumentIdentifierCard**](TmsEmbeddedInstrumentIdentifierCard.md) | | [optional] **BankAccount** | [**TmsEmbeddedInstrumentIdentifierBankAccount**](TmsEmbeddedInstrumentIdentifierBankAccount.md) | | [optional] -**TokenizedCard** | [**TmsEmbeddedInstrumentIdentifierTokenizedCard**](TmsEmbeddedInstrumentIdentifierTokenizedCard.md) | | [optional] +**TokenizedCard** | [**Tmsv2TokenizedCard**](Tmsv2TokenizedCard.md) | | [optional] **Issuer** | [**TmsEmbeddedInstrumentIdentifierIssuer**](TmsEmbeddedInstrumentIdentifierIssuer.md) | | [optional] **ProcessingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **BillTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] diff --git a/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md b/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md index 6d2984e9..6f443981 100644 --- a/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md +++ b/docs/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ApprovalCode** | **string** | Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000. | [optional] **TransactionId** | **string** | Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"processorInformation.networkTransactionId\" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003 | [optional] +**NetworkTransactionId** | **string** | Same value as `processorInformation.transactionId` | [optional] **ResponseCode** | **string** | For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3) | [optional] **SystemTraceAuditNumber** | **string** | This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt. | [optional] **ResponseDetails** | **string** | This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**. | [optional] diff --git a/docs/PtsV2PaymentsReversalsPost201Response.md b/docs/PtsV2PaymentsReversalsPost201Response.md index e2601010..6dccb81a 100644 --- a/docs/PtsV2PaymentsReversalsPost201Response.md +++ b/docs/PtsV2PaymentsReversalsPost201Response.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Links** | [**PtsV2IncrementalAuthorizationPatch201ResponseLinks**](PtsV2IncrementalAuthorizationPatch201ResponseLinks.md) | | [optional] **Id** | **string** | An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. | [optional] **SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. | [optional] -**Status** | **string** | The status of the submitted transaction. Possible values: - REVERSED - PARTIALLY_REVERSED | [optional] +**Status** | **string** | The status of the submitted transaction. Possible values: - REVERSED | [optional] **ReconciliationId** | **string** | Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response. | [optional] **ClientReferenceInformation** | [**PtsV2PaymentsPost201ResponseClientReferenceInformation**](PtsV2PaymentsPost201ResponseClientReferenceInformation.md) | | [optional] **ReversalAmountDetails** | [**PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails**](PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails.md) | | [optional] diff --git a/docs/Ptsv2paymentsRecurringPaymentInformation.md b/docs/Ptsv2paymentsRecurringPaymentInformation.md index 8efc9b19..bc5d06f5 100644 --- a/docs/Ptsv2paymentsRecurringPaymentInformation.md +++ b/docs/Ptsv2paymentsRecurringPaymentInformation.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**EndDate** | **string** | The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. | [optional] -**Frequency** | **int?** | Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. | [optional] +**EndDate** | **string** | The date after which no further recurring authorizations should be performed. Format: `YYYY-MM-DD` **Note** This field is required for recurring transactions. | +**Frequency** | **int?** | Integer value indicating the minimum number of days between recurring authorizations. A frequency of monthly is indicated by the value 28. Multiple of 28 days will be used to indicate months. Example: 6 months = 168 Example values accepted (31 days): - 31 - 031 - 0031 **Note** This field is required for recurring transactions. | **NumberOfPayments** | **int?** | Total number of payments for the duration of the recurring subscription. | [optional] **OriginalPurchaseDate** | **string** | Date of original purchase. Required for recurring transactions. Format: `YYYY-MM-DDTHH:MM:SSZ` **Note**: If this field is empty, the current date is used. | [optional] **SequenceNumber** | **int?** | This field is mandatory for Cartes Bancaires recurring transactions on Credit Mutuel-CIC. This field records recurring sequence, e.g. 1st for initial, 2 for subsequent, 3 etc | [optional] diff --git a/docs/Ptsv2paymentsidClientReferenceInformation.md b/docs/Ptsv2paymentsidClientReferenceInformation.md index 0e581c0c..b49753b2 100644 --- a/docs/Ptsv2paymentsidClientReferenceInformation.md +++ b/docs/Ptsv2paymentsidClientReferenceInformation.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **ApplicationName** | **string** | The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. | [optional] **ApplicationVersion** | **string** | Version of the CyberSource application or integration used for a transaction. | [optional] **ApplicationUser** | **string** | The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. | [optional] +**TransactionId** | **string** | Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests. | [optional] [[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/Riskv1authenticationresultsPaymentInformation.md b/docs/Riskv1authenticationresultsPaymentInformation.md index 2e6eed7e..229e19f2 100644 --- a/docs/Riskv1authenticationresultsPaymentInformation.md +++ b/docs/Riskv1authenticationresultsPaymentInformation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Card** | [**Riskv1authenticationresultsPaymentInformationCard**](Riskv1authenticationresultsPaymentInformationCard.md) | | [optional] **TokenizedCard** | [**Riskv1authenticationresultsPaymentInformationTokenizedCard**](Riskv1authenticationresultsPaymentInformationTokenizedCard.md) | | [optional] **FluidData** | [**Riskv1authenticationresultsPaymentInformationFluidData**](Riskv1authenticationresultsPaymentInformationFluidData.md) | | [optional] -**Customer** | [**Ptsv2paymentsPaymentInformationCustomer**](Ptsv2paymentsPaymentInformationCustomer.md) | | [optional] +**Customer** | [**Riskv1authenticationsPaymentInformationCustomer**](Riskv1authenticationsPaymentInformationCustomer.md) | | [optional] [[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/Riskv1authenticationsPaymentInformation.md b/docs/Riskv1authenticationsPaymentInformation.md index 522c66d9..011609ce 100644 --- a/docs/Riskv1authenticationsPaymentInformation.md +++ b/docs/Riskv1authenticationsPaymentInformation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Card** | [**Riskv1authenticationsetupsPaymentInformationCard**](Riskv1authenticationsetupsPaymentInformationCard.md) | | [optional] **TokenizedCard** | [**Riskv1authenticationsPaymentInformationTokenizedCard**](Riskv1authenticationsPaymentInformationTokenizedCard.md) | | [optional] **FluidData** | [**Riskv1authenticationsetupsPaymentInformationFluidData**](Riskv1authenticationsetupsPaymentInformationFluidData.md) | | [optional] -**Customer** | [**Ptsv2paymentsPaymentInformationCustomer**](Ptsv2paymentsPaymentInformationCustomer.md) | | [optional] +**Customer** | [**Riskv1authenticationsPaymentInformationCustomer**](Riskv1authenticationsPaymentInformationCustomer.md) | | [optional] [[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/Riskv1authenticationsPaymentInformationCustomer.md b/docs/Riskv1authenticationsPaymentInformationCustomer.md new file mode 100644 index 00000000..b89c290f --- /dev/null +++ b/docs/Riskv1authenticationsPaymentInformationCustomer.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Riskv1authenticationsPaymentInformationCustomer +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CustomerId** | **string** | Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | +**Id** | **string** | Unique identifier for the Customer token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | [optional] + +[[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/Riskv1authenticationsetupsPaymentInformationCustomer.md b/docs/Riskv1authenticationsetupsPaymentInformationCustomer.md index 63b74097..645adf60 100644 --- a/docs/Riskv1authenticationsetupsPaymentInformationCustomer.md +++ b/docs/Riskv1authenticationsetupsPaymentInformationCustomer.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CustomerId** | **string** | Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | [optional] +**CustomerId** | **string** | Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | [[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/Riskv1decisionsConsumerAuthenticationInformation.md b/docs/Riskv1decisionsConsumerAuthenticationInformation.md index 8dcd8289..e852a5dd 100644 --- a/docs/Riskv1decisionsConsumerAuthenticationInformation.md +++ b/docs/Riskv1decisionsConsumerAuthenticationInformation.md @@ -11,7 +11,6 @@ Name | Type | Description | Notes **AuthenticationDate** | **string** | The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS | [optional] **AuthenticationTransactionId** | **string** | Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service. | [optional] **TransactionFlowIndicator** | **int?** | This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values. 01:NW- Transaction performed at domestic merchant. 02:TW- Transaction performed at domestic merchant along with Token provisioning. 03:IT- Transaction performed at International merchant. 04:AT- Authentication Transaction Only. 05:AW- Authentication transaction for provisioning. 06:DI- Domestic InApp Transaction. 07:II- International InApp transaction. 08:GC- Guest Checkout 09:ST- SI Authentication Transaction only 10:SW- SI Authorization along with token provisioning | [optional] -**ChallengeCancelCode** | **string** | An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK | [optional] **ChallengeCode** | **string** | Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. | [optional] **ChallengeStatus** | **string** | The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used. | [optional] **CustomerCardAlias** | **string** | An alias that uniquely identifies the customer's account and credit card on file. Note This field is required if Tokenization is enabled in the merchant profile settings. | [optional] diff --git a/docs/TmsEmbeddedInstrumentIdentifier.md b/docs/TmsEmbeddedInstrumentIdentifier.md index 7ea85eaa..de700f1f 100644 --- a/docs/TmsEmbeddedInstrumentIdentifier.md +++ b/docs/TmsEmbeddedInstrumentIdentifier.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **TokenProvisioningInformation** | [**Ptsv2paymentsTokenInformationTokenProvisioningInformation**](Ptsv2paymentsTokenInformationTokenProvisioningInformation.md) | | [optional] **Card** | [**TmsEmbeddedInstrumentIdentifierCard**](TmsEmbeddedInstrumentIdentifierCard.md) | | [optional] **BankAccount** | [**TmsEmbeddedInstrumentIdentifierBankAccount**](TmsEmbeddedInstrumentIdentifierBankAccount.md) | | [optional] -**TokenizedCard** | [**TmsEmbeddedInstrumentIdentifierTokenizedCard**](TmsEmbeddedInstrumentIdentifierTokenizedCard.md) | | [optional] +**TokenizedCard** | [**Tmsv2TokenizedCard**](Tmsv2TokenizedCard.md) | | [optional] **Issuer** | [**TmsEmbeddedInstrumentIdentifierIssuer**](TmsEmbeddedInstrumentIdentifierIssuer.md) | | [optional] **ProcessingInformation** | [**TmsEmbeddedInstrumentIdentifierProcessingInformation**](TmsEmbeddedInstrumentIdentifierProcessingInformation.md) | | [optional] **BillTo** | [**TmsEmbeddedInstrumentIdentifierBillTo**](TmsEmbeddedInstrumentIdentifierBillTo.md) | | [optional] diff --git a/docs/TmsEmbeddedInstrumentIdentifierTokenizedCard.md b/docs/Tmsv2TokenizedCard.md similarity index 92% rename from docs/TmsEmbeddedInstrumentIdentifierTokenizedCard.md rename to docs/Tmsv2TokenizedCard.md index 7df3197e..aafe9a1d 100644 --- a/docs/TmsEmbeddedInstrumentIdentifierTokenizedCard.md +++ b/docs/Tmsv2TokenizedCard.md @@ -1,4 +1,4 @@ -# CyberSource.Model.TmsEmbeddedInstrumentIdentifierTokenizedCard +# CyberSource.Model.Tmsv2TokenizedCard ## Properties Name | Type | Description | Notes @@ -13,7 +13,8 @@ Name | Type | Description | Notes **ExpirationMonth** | **string** | Two-digit month in which the network token expires. Format: `MM`. Possible Values: `01` through `12`. | [optional] **ExpirationYear** | **string** | Four-digit year in which the network token expires. Format: `YYYY`. | [optional] **Cryptogram** | **string** | Generated value used in conjunction with the network token for making a payment. | [optional] -**Card** | [**TmsEmbeddedInstrumentIdentifierTokenizedCardCard**](TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md) | | [optional] +**Card** | [**Tmsv2TokenizedCardCard**](Tmsv2TokenizedCardCard.md) | | [optional] +**Metadata** | [**Tmsv2TokenizedCardMetadata**](Tmsv2TokenizedCardMetadata.md) | | [optional] [[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/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md b/docs/Tmsv2TokenizedCardCard.md similarity index 91% rename from docs/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md rename to docs/Tmsv2TokenizedCardCard.md index a3edb30a..40dfc624 100644 --- a/docs/TmsEmbeddedInstrumentIdentifierTokenizedCardCard.md +++ b/docs/Tmsv2TokenizedCardCard.md @@ -1,4 +1,4 @@ -# CyberSource.Model.TmsEmbeddedInstrumentIdentifierTokenizedCardCard +# CyberSource.Model.Tmsv2TokenizedCardCard ## Properties Name | Type | Description | Notes diff --git a/docs/Tmsv2TokenizedCardMetadata.md b/docs/Tmsv2TokenizedCardMetadata.md new file mode 100644 index 00000000..e5085419 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadata.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadata +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardArt** | [**Tmsv2TokenizedCardMetadataCardArt**](Tmsv2TokenizedCardMetadataCardArt.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/Tmsv2TokenizedCardMetadataCardArt.md b/docs/Tmsv2TokenizedCardMetadataCardArt.md new file mode 100644 index 00000000..4f38283f --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArt.md @@ -0,0 +1,15 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArt +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CombinedAsset** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAsset**](Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md) | | [optional] +**BrandLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md) | | [optional] +**CoBrandLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md) | | [optional] +**IssuerLogoAsset** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md) | | [optional] +**IconAsset** | [**Tmsv2TokenizedCardMetadataCardArtIconAsset**](Tmsv2TokenizedCardMetadataCardArtIconAsset.md) | | [optional] +**ForegroundColor** | **string** | The foreground color of the brand logo asset. | [optional] +**BackgroundAsset** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAsset**](Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md) | | [optional] + +[[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/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md new file mode 100644 index 00000000..eec16fc3 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAsset.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAsset +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | The Id of the icon asset. | [optional] +**Links** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks**](Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.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/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md new file mode 100644 index 00000000..fc804597 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.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/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md new file mode 100644 index 00000000..f12699c1 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Href** | **string** | Link to the background asset. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md new file mode 100644 index 00000000..9464f76b --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | The Id of the brand logo asset. | [optional] +**Links** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.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/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md new file mode 100644 index 00000000..af951ebc --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.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/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md new file mode 100644 index 00000000..09bccc05 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Href** | **string** | Link to the brand logo asset. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md new file mode 100644 index 00000000..bffb596a --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | The Id of the co-brand logo asset. | [optional] +**Links** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.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/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md new file mode 100644 index 00000000..03386083 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.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/InlineResponse4005Details.md b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md similarity index 54% rename from docs/InlineResponse4005Details.md rename to docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md index 2aa6613f..4e08bcfe 100644 --- a/docs/InlineResponse4005Details.md +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf.md @@ -1,10 +1,9 @@ -# CyberSource.Model.InlineResponse4005Details +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Field** | **string** | This is the flattened JSON object field name/path that is either missing or invalid. | [optional] -**Reason** | **string** | Possible reasons for the error. | [optional] +**Href** | **string** | Link to the co-brand logo asset. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md new file mode 100644 index 00000000..62614747 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAsset.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtCombinedAsset +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | The Id of the combined asset. | [optional] +**Links** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks**](Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.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/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md new file mode 100644 index 00000000..7539ce29 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.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/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md new file mode 100644 index 00000000..b4517040 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Href** | **string** | Link to the combined asset. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md new file mode 100644 index 00000000..712ada62 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIconAsset.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtIconAsset +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | The Id of the icon asset. | [optional] +**Links** | [**Tmsv2TokenizedCardMetadataCardArtIconAssetLinks**](Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.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/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md new file mode 100644 index 00000000..29f1f7bf --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinks.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtIconAssetLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.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/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md new file mode 100644 index 00000000..62e69967 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Href** | **string** | Link to the icon asset. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md new file mode 100644 index 00000000..f29bd40e --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | The Id of the issuer logo asset. | [optional] +**Links** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.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/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md new file mode 100644 index 00000000..f4b45f52 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf**](Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.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/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md new file mode 100644 index 00000000..66149e58 --- /dev/null +++ b/docs/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Href** | **string** | Link to the issuer logo asset. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index 571dcfef..4ba142be 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -88,6 +88,10 @@ { "name": "Microform Integration" }, + { + "name": "Flex API", + "description": "The Flex API enables merchants to securely accept customer payment information captured within a server-side application using a set of APIs.\nThese APIs protect your customer's primary account number (PAN), card verification number (CVN), and other payment information by embedding it within a transient token.\nThis allows payment data to be stored and transported and complies with the Payment Card Industry Data Security Standard (PCI DSS) policies and procedures. These transient tokens can be validated by the receiver to ensure the data integrity and protect against data injection attacks.\n\n**Warning:** Flex API is intended for server-side applications only. Do not use the Flex API in client-side applications. To add secure payments directly into client-side code, use Unified Checkout.\n\n**How It Works**
\nFollow these steps to capture payments using the Flex API:\n* Establish a payment session with a predefined customer context.\n* Validate the JSON Web Token.\n* Populate the JSON Web Token with customer information.\n\n**Customer Context**
\nAn important benefit of the Flex API is managing Personal Identifiable Information (PII). You can set up your customer context to include all PII associated with transactions, protecting this information from third parties.\n" + }, { "name": "Decision Manager", "description": "REST API for the Decision Manager Service" @@ -285,6 +289,10 @@ "name": "Flex_Microform", "description": "Microform Integration is a lightweight acceptance solution designed to safely and securely accept payment information within your web page. Microform is designed to a be embedded seamlessly within your existing webpage experience, blending in with your existing acceptance form. This solution allows for the replacement of sensitive payment date with a transient token (a short lived reference to the sensitive payment data). For more information about Flex Microform transactions, see the [Flex Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-flex/SAFlexibleToken.html). For examples on how to integrate Flex Microform within your webpage please see our [GitHub Flex Samples](https://github.com/CyberSource?q=flex&type=&language=)" }, + { + "name": "Flex_API", + "description": "For more information about Flex API, please see [Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/digital-accept-flex/developer/all/rest/digital-accept-flex/da-flex-api-intro.html)." + }, { "name": "Risk_Management" }, @@ -4830,6 +4838,10 @@ "recurringPaymentInformation": { "type": "object", "description": "This object contains recurring payment information.", + "required": [ + "frequency", + "endDate" + ], "properties": { "endDate": { "type": "string", @@ -8660,7 +8672,8 @@ "address1": "34 Orchard Grove", "locality": "Southampton", "postalCode": "DE6 1BE", - "country": "UK" + "country": "GB", + "email": "test@cybs.com" }, "amountDetails": { "totalAmount": "28.00", @@ -8682,7 +8695,7 @@ "lastName": "Root", "address1": "34 Orchard Grove", "locality": "Southampton", - "countryCode": "UK" + "countryCode": "GB" }, "recipientInformation": { "firstName": "Ben", @@ -10164,6 +10177,388 @@ } }, "parentTag": "Card Present with Visa Platform Connect" + }, + "example67": { + "summary": "CIT Initiating Recurring Subscription", + "sample-name": "CIT Initiating Recurring Subscription", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "vbv", + "authorizationOptions": { + "initiator": { + "credentialStoredOnFile": true + } + }, + "recurringOptions": { + "firstRecurringPayment": true + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "consumerAuthenticationInformation": { + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + } + }, + "parentTag": "MIT Framework" + }, + "example68": { + "summary": "MIT Recurring", + "sample-name": "MIT Recurring", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "recurring", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + }, + "parentTag": "MIT Framework" + }, + "example69": { + "summary": "CIT Initiating Instalment Subscription - UK", + "sample-name": "CIT Initiating Instalment Subscription - UK", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "vbv", + "authorizationOptions": { + "initiator": { + "credentialStoredOnFile": true + } + }, + "recurringOptions": { + "firstRecurringPayment": true + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "consumerAuthenticationInformation": { + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + } + }, + "parentTag": "MIT Framework" + }, + "example70": { + "summary": "MIT Instalment", + "sample-name": "MIT Instalment", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "install", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + }, + "parentTag": "MIT Framework" + }, + "example71": { + "summary": "CIT Placing Credential on File", + "sample-name": "CIT Placing Credential on File", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "vbv", + "authorizationOptions": { + "initiator": { + "credentialStoredOnFile": true + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "consumerAuthenticationInformation": { + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=" + } + }, + "parentTag": "MIT Framework" + }, + "example72": { + "summary": "MIT Unscheduled Credential on File", + "sample-name": "MIT Unscheduled Credential on File", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "internet", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + }, + "parentTag": "MIT Framework" + }, + "example73": { + "summary": "MIT Industry Practice - Resubmission", + "sample-name": "MIT Industry Practice - Resubmission", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "moto", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "reason": "1", + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + } + }, + "parentTag": "MIT Framework" + }, + "example74": { + "summary": "MIT Industry Practice - Delayed Charge - 3RI Visa", + "sample-name": "MIT Industry Practice - Delayed Charge - 3RI Visa", + "value": { + "clientReferenceInformation": { + "code": "TC50171_3" + }, + "processingInformation": { + "commerceIndicator": "vbv", + "authorizationOptions": { + "initiator": { + "type": "merchant", + "storedCredentialUsed": true, + "merchantInitiatedTransaction": { + "reason": "2", + "previousTransactionId": "123456789012345" + } + } + } + }, + "paymentInformation": { + "card": { + "number": "4111111111111111", + "expirationMonth": "12", + "expirationYear": "2031", + "type": "001" + } + }, + "orderInformation": { + "amountDetails": { + "totalAmount": "102.21", + "currency": "GBP" + }, + "billTo": { + "firstName": "John", + "lastName": "Doe", + "address1": "1 Market St", + "locality": "san francisco", + "administrativeArea": "CA", + "postalCode": "94105", + "country": "US", + "email": "test@cybs.com", + "phoneNumber": "4158880000" + } + }, + "consumerAuthenticationInformation": { + "cavv": "EHuWW9PiBkWvqE5juRwDzAUFBAk=", + "paresStatus": "Y" + } + }, + "parentTag": "MIT Framework" } } } @@ -10234,6 +10629,11 @@ "applicationUser": { "type": "string", "description": "The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.\n" + }, + "transactionId": { + "type": "string", + "maxLength": 30, + "description": "Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request.\n\n**Note** Use this field only if you want to support merchant-initiated reversal and void operations.\n\n#### Used by\n**Authorization, Authorization Reversal, Capture, Credit, and Void**\nOptional field.\n\n#### PIN Debit\nFor a PIN debit reversal, your request must include a request ID or a merchant transaction identifier.\nOptional field for PIN debit purchase or credit requests.\n" } } }, @@ -10419,6 +10819,10 @@ "maxLength": 50, "description": "Network transaction identifier (TID). You can use this value to identify a specific transaction when you are\ndiscussing the transaction with your processor. Not all processors provide this value.\n\nReturned by the authorization service.\n\n#### PIN debit\nTransaction identifier generated by the processor.\n\nReturned by PIN debit credit.\n\n#### GPX\nProcessor transaction ID.\n\n#### Cielo\nFor Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank.\n\n#### Comercio Latino\nFor Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank.\n\n#### CyberSource through VisaNet and GPN\nFor details about this value for CyberSource through VisaNet and GPN, see \"processorInformation.networkTransactionId\" in [REST API Fields](https://developer.cybersource.com/content/dam/docs/cybs/en-us/apifields/reference/all/rest/api-fields.pdf)\n\n#### Moneris\nThis value identifies the transaction on a host system. It contains the following information:\n- Terminal used to process the transaction\n- Shift during which the transaction took place\n- Batch number\n- Transaction number within the batch\nYou must store this value. If you give the customer a receipt, display this value on the receipt.\n\n**Example** For the value\n66012345001069003:\n- Terminal ID = 66012345\n- Shift number = 001\n- Batch number = 069\n- Transaction number = 003\n" }, + "networkTransactionId": { + "type": "string", + "description": "Same value as `processorInformation.transactionId`" + }, "responseCode": { "type": "string", "maxLength": 10, @@ -10986,7 +11390,7 @@ }, "status": { "type": "string", - "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n - PARTIALLY_REVERSED\n" + "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n" }, "reconciliationId": { "type": "string", @@ -11557,7 +11961,7 @@ }, "status": { "type": "string", - "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n - PARTIALLY_REVERSED\n" + "description": "The status of the submitted transaction.\n\nPossible values:\n - REVERSED\n" }, "reconciliationId": { "type": "string", @@ -33361,6 +33765,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -33445,6 +33850,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -34258,6 +34845,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -34342,6 +34930,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -35473,6 +36243,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -35557,6 +36328,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -36685,6 +37638,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -36769,6 +37723,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -37591,6 +38727,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -37675,6 +38812,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -42027,6 +43346,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -42111,6 +43431,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -42672,6 +44174,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -42756,6 +44259,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -43850,6 +45535,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -43934,6 +45620,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -44843,6 +46711,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -44927,6 +46796,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -45799,6 +47850,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -45883,6 +47935,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -46440,6 +48674,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -46524,6 +48759,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -47932,6 +50349,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -48016,6 +50434,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -48559,6 +51159,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -48643,6 +51244,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -49587,6 +52370,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -49671,6 +52455,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -50534,6 +53500,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -50618,6 +53585,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -51175,6 +54324,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -51259,6 +54409,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -52232,6 +55564,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -52316,6 +55649,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -52552,6 +56067,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -52636,6 +56152,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -52860,6 +56558,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -52944,6 +56643,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -53514,6 +57395,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -53598,6 +57480,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -54155,6 +58219,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -54239,6 +58304,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -54489,6 +58736,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -54573,6 +58821,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -56014,6 +60444,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -56098,6 +60529,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -56657,6 +61270,7 @@ } }, "tokenizedCard": { + "title": "tmsv2TokenizedCard", "type": "object", "readOnly": true, "properties": { @@ -56741,6 +61355,188 @@ "description": "Four-digit year in which the customer's latest payment card expires.\n\nFormat: `YYYY`.\n" } } + }, + "metadata": { + "type": "object", + "readOnly": true, + "properties": { + "cardArt": { + "readOnly": true, + "type": "object", + "properties": { + "combinedAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the combined asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the combined asset.\n" + } + } + } + } + } + } + }, + "brandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the brand logo asset.\n" + } + } + } + } + } + } + }, + "coBrandLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the co-brand logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the co-brand logo asset.\n" + } + } + } + } + } + } + }, + "issuerLogoAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the issuer logo asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the issuer logo asset.\n" + } + } + } + } + } + } + }, + "iconAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the icon asset.\n" + } + } + } + } + } + } + }, + "foregroundColor": { + "readOnly": true, + "type": "string", + "description": "The foreground color of the brand logo asset.\n" + }, + "backgroundAsset": { + "readOnly": true, + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Id of the icon asset.\n" + }, + "_links": { + "readOnly": true, + "type": "object", + "properties": { + "self": { + "readOnly": true, + "type": "object", + "properties": { + "href": { + "readOnly": true, + "type": "string", + "description": "Link to the background asset.\n" + } + } + } + } + } + } + } + } + } + } } } }, @@ -57839,6 +62635,613 @@ "x-sampleResponse": "eyJraWQiOiJ6dSIsImFsZyI6IlJTMjU2In0.eyJmbHgiOnsicGF0aCI6Ii9mbGV4L3YyL3Rva2VucyIsImRhdGEiOiJVUmIycEtZa2xhU0M4OW43ai9CWEJCQUFFQ1ZjVjRlU0xoTThvdDc5anRFREp4Vk1PdUFDRCtaUU03UGEydEhkbm5ENzh0MjBYcktCZVFnaUI4dysrZ0hNbHpBOUxqTng1K2MxNlo2VzJ2bGNaWGJyUmEydkUyRWFyaldlUUc0Q1pieEwiLCJvcmlnaW4iOiJodHRwczovL3Rlc3RmbGV4LmN5YmVyc291cmNlLmNvbSIsImp3ayI6eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsInVzZSI6ImVuYyIsIm4iOiJod3VBT0NWcG5YWk9mTXNHWWJ6dUQyYW81dndvZGNPMVVqa2RpS3RXdEh5dmMybS1iY1hwUTRGRTk3UDk3NV9KMVJwMWJiZW5jWjNCZW1lbUJ5aU9VajlHRVVkV25raXVyNE5VWmVkQVpzelFkbFFaSlAzdzZQWVoxREFUY05ZekZwYjRXbnQzQkpKSm9XM2p3aTlMLTY1cWNuYU5SWFppRTV1V0FlQnFQY085UmNDU1BtR3lsT3REUWEzT0d5ZXFESDl0S3piU2lKNGxHMW9FcExVRWw2N003V0xXeXR1R2tsOExXUExncmkybldoaEdLS2d5cFA3bEp5Qk5IX2FxUHVOT3A3YUFVYTlvZVRqV2t0WVpqUzNqbTFjTDVkazJ6VkFGU3JkRGdTYzd1VXMtZVdkZThOYW1zZHhZTHFzX3BFSW1XU3FteDVvc2tpenZWR1A3anciLCJraWQiOiIwNzZSRjlmMEZMdVRLaU9jZkhiNU1TSkZwZzZqODY2YSJ9fSwiY3R4IjpbeyJkYXRhIjp7ImNsaWVudExpYnJhcnkiOiJodHRwczovL3Rlc3RmbGV4LmN5YmVyc291cmNlLmNvbS9taWNyb2Zvcm0vYnVuZGxlL3YxL2ZsZXgtbWljcm9mb3JtLm1pbi5qcyIsInRhcmdldE9yaWdpbnMiOlsiaHR0cHM6Ly93d3cuY3liZXJzb3VyY2UtbWVyY2hhbnQuY29tIl0sIm1mT3JpZ2luIjoiaHR0cHM6Ly90ZXN0ZmxleC5jeWJlcnNvdXJjZS5jb20ifSwidHlwZSI6Im1mLTEuMC4wIn1dLCJpc3MiOiJGbGV4IEFQSSIsImV4cCI6MTY2NDkyNzM5NywiaWF0IjoxNjY0OTI2NDk3LCJqdGkiOiJybXBWQ0NCSW9sdWhYQ2E0In0.LlunfxI-deZ_Tqypz4ucNhhF_IYsB6ZhlKndgWdJe1vv91ekePZBU6icq6aDVUAFuDR5MmjCQc7IsQNhCiZGf6uqV9YFLokhEZdnHOHkpwE1viH9GoddsdiSvBcJrYJ4FsV49JK2xRNvGTxNKR62wiO2YqPhNm934b2bbsjyYyDByw2wEZhJyAPBIDJk6IF2IvR4kq1lNyAtFs4EXVO2tqBATvj1nahqHMqUlrTsOGY96XioXl1YKnqeM1g5lREqoxR3M8HsWm2kCSsGyirIWLEaOYYEvWcKNBmkhW410XEYfb3hrg-H7irLe0_4OICdV1FyY-AsjbzO7mO17BENQg" } }, + "/flex/v2/sessions": { + "post": { + "summary": "Establish a Payment Session with a Capture Context", + "description": "To establish a payment session, include the API fields you plan to use in that session in the body of the request. The system then returns a JSON Web Token (JWT) that includes the capture context. \nTo determine which fields to include in your capture context, identify the personal information that you wish to isolate from the payment session.\n\n**Capture Context Fields**
\nWhen making a session request, any fields that you request to be added to the capture context are required by default. \nHowever, you can choose to make a field optional by setting the required parameter to false.\n", + "parameters": [ + { + "in": "body", + "name": "generateFlexAPICaptureContextRequest", + "required": true, + "schema": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "properties": { + "orderInformation": { + "type": "object", + "properties": { + "amountDetails": { + "type": "object", + "properties": { + "totalAmount": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "currency": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + } + } + }, + "billTo": { + "type": "object", + "properties": { + "address1": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "address2": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "administrativeArea": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "buildingNumber": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "country": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "district": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "locality": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "postalCode": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "email": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "firstName": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "lastName": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "phoneNumber": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "company": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + } + } + }, + "shipTo": { + "type": "object", + "properties": { + "address1": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "address2": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "administrativeArea": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "buildingNumber": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "country": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "district": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "locality": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "postalCode": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "firstName": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "lastName": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "company": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + } + } + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "number": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "type": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "securityCode": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "expirationMonth": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + }, + "expirationYear": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + } + } + } + } + } + } + } + } + } + } + } + } + ], + "tags": [ + "Flex API" + ], + "operationId": "generateFlexAPICaptureContext", + "x-devcenter-metaData": { + "categoryTag": "Flex_API", + "firstLevelApiLifeCycle": "hidden", + "secondLevelApiLifeCycle": "hidden", + "apiLifeCycle": "hidden", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/digital-accept-flex/developer/all/rest/digital-accept-flex/da-flex-api-intro.html", + "disableProcessorDropDown": true + }, + "produces": [ + "application/jwt" + ], + "x-example": { + "example0": { + "summary": "Generate Capture Context specifying the set of fields to be provided in JWE sent to /v2/tokens endpoint.", + "value": { + "fields": { + "orderInformation": { + "amountDetails": { + "totalAmount": { + "required": true + }, + "currency": { + "required": true + } + }, + "billTo": { + "address1": { + "required": true + }, + "address2": { + "required": false + }, + "administrativeArea": { + "required": true + }, + "buildingNumber": { + "required": true + }, + "country": { + "required": true + }, + "district": { + "required": false + }, + "locality": { + "required": true + }, + "postalCode": { + "required": true + }, + "email": { + "required": true + }, + "firstName": { + "required": true + }, + "lastName": { + "required": true + }, + "phoneNumber": { + "required": true + }, + "company": { + "required": false + } + }, + "shipTo": { + "address1": { + "required": true + }, + "address2": { + "required": false + }, + "administrativeArea": { + "required": false + }, + "buildingNumber": { + "required": true + }, + "country": { + "required": true + }, + "district": { + "required": false + }, + "locality": { + "required": true + }, + "postalCode": { + "required": true + }, + "email": { + "required": true + }, + "firstName": { + "required": true + }, + "lastName": { + "required": true + }, + "phoneNumber": { + "required": true + }, + "company": { + "required": false + } + } + }, + "paymentInformation": { + "card": { + "number": { + "required": true + }, + "type": { + "required": true + }, + "securityCode": { + "required": false + }, + "expirationMonth": { + "required": true + }, + "expirationYear": { + "required": true + } + } + } + } + } + }, + "example1": { + "summary": "Generate Capture Context (Simple)", + "value": { + "fields": { + "paymentInformation": { + "card": { + "number": { + "required": true + }, + "type": { + "required": true + }, + "securityCode": { + "required": false + }, + "expirationMonth": { + "required": true + }, + "expirationYear": { + "required": true + } + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Capture Context Created", + "examples": { + "application/jwt": "eyJraWQiOiJ6dSIsImFsZyI6IlJTMjU2In0.eyJmbHgiOnsicGF0aCI6Ii9mbGV4L3YyL3Rva2VucyIsImRhdGEiOiJaNHVqZEZ3S1dsVWlGUTFWQWtydmF4QUFFQzdTOGJOVWs2ZWgzbXVXZm51U0dxM2FHdEdTUUsrS1dXMlNtaVg5RlBMWE5sc3VjbXV2SHk3R1A5eFR1Q3hXRXFlU3ZIWHMrYkhhWUhMcGhaVnZpb0lcdTAwM2QiLCJvcmlnaW4iOiJodHRwczovL3Rlc3RmbGV4LmN5YmVyc291cmNlLmNvbSIsImp3ayI6eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsInVzZSI6ImVuYyIsIm4iOiJpMHZtSDBmQTNVaTZWN0NvbmhvVHdwV01PeFhWdk5aUlVpWWFZSjktR0hKbmZlMUdYVERTLXk5bG1ibVFVUGZpMlVRakNoU3EyclNrZ2pxTExtRzFsRkZ5TjFINVFLSkVlUzhXWEdmeWdVNDBPc05YdDd2X1g0Mmo0a0RXVmNuV0xucGlsYndYZjhwRTh4NmUyWHBoVG5tRmZMR1phbGtUN21PYXVPdmNwdFlXUVZlVGU3bmZrWlZYZTFFN0ZmZ2taNXFkMnY1OVJ2Z1NhQmhkMko4ankyUVZidE5RNTZxMTlfc2h3bEJIYWc3dFdxbzg2S1Iwd0V3dkQyWmNENTFvZGtteFdudFVJaU1tT3VXUUFGTmVaQXBDYklySlc1SFVSdTNHM1g4M2pLM3h1NHZVQjI0WGRIdlExS215dW13RlJJWFRLZFB1TmtTOUtWRHMyemZvaVEiLCJraWQiOiIwOHhzd05TV2xDUnVzeWFHQklJRkVSOEN5M0JTNXB6ZCJ9fSwiY3R4IjpbeyJkYXRhIjp7ImFsbG93ZWRQYXltZW50VHlwZXMiOlt7InBhZ2UiOjEsInR5cGUiOiJQQU5FTlRSWSJ9LHsicGFnZSI6MiwidHlwZSI6IlNSQ1ZJU0EifSx7InBhZ2UiOjMsInR5cGUiOiJTUkNNQVNURVJDQVJEIn1dLCJwYXltZW50Q29uZmlndXJhdGlvbnMiOnsiU1JDVklTQSI6eyJvcmlnaW4iOiJodHRwczovL3NhbmRib3gtYXNzZXRzLnNlY3VyZS5jaGVja291dC52aXNhLmNvbSIsInBhdGgiOiIvY2hlY2tvdXQtd2lkZ2V0L3Jlc291cmNlcy9qcy9zcmMtaS1hZGFwdGVyL3Zpc2FTZGsuanMiLCJwYW5FbmNyeXB0aW9uS2V5Ijp7ImtpZCI6IlY2WVBMMERGSjJWNTZISUg2UTNGMTMzZmJaV3lBeUlIaldWU2VjeDZLTUY2aVRIR00iLCJlIjoiQVFBQiIsIm4iOiJzWlBJdXNEZjd5UW5uaEJrVTltdTE0Vk9PM0NydWkzYjdyQWYyS1llb2JVUm1YQTE3YjFKWDlqZzBDZC12Z3BtdXlUcnhCVVNjLTRiMC1VUGdTd0dGcVBXVXB4MDhFeHFyd1BET3ZGb2pCb3Uyd2x5cThiY3kwVXMtQmZlQ3pTRTVsTVZkU1hUWFhYY05xdS1xYjIyakNDQ0pBTHB4c0Fyc2JvTU9Yc0xlZGgzTTRYTlE1WEdBdFJmN2ItLXVUWTVEcjlLTFl5VXZaS0FuWTA0TUtKUEVPNTRZaUlGTTVEVEFoTk9tczA4OWpkTWR4LVVSSUtKalBVMi1ScEhHMXU4TENHMDI4UlRJcFBzTmJSYW51UzVUQVlfemx4RGdiMWhLSjM2WWJaRU5ITGc5UFhUQmhkT01sVTkwRFRMbGZjYkxUYS1EN0RnbGpBYVdDdXZ6TFBhR3cifSwicGFyYW1ldGVycyI6eyJzcmNJbml0aWF0b3JJZCI6IkpGQ1o4UVZPSkE3Nk5YWjY4RlpEMjFSWUl4ajN5UFpkaVV4a2ROdWliQmx4Z3dhUDQiLCJzcmNpRHBhSWQiOiJiOTIyY2VmMC0yOGQ5LTQ3OWUtYWFhZi0wOGI2MWYzM2VlN2IiLCJzcmNpVHJhbnNhY3Rpb25JZCI6ImJjOWZmNzgyLTM3NTctNDEyMS1hNGM4LTdkMDhkOGY3ZGQ4NiIsImRwYVRyYW5zYWN0aW9uT3B0aW9ucyI6eyJkcGFMb2NhbGUiOiJlbl9VUyIsInBheWxvYWRUeXBlSW5kaWNhdG9yIjoiRlVMTCIsInJldmlld0FjdGlvbiI6ImNvbnRpbnVlIiwiZHBhQWNjZXB0ZWRCaWxsaW5nQ291bnRyaWVzIjpbXSwiZHBhQWNjZXB0ZWRTaGlwcGluZ0NvdW50cmllcyI6WyJVUyIsIkdCIl0sImRwYUJpbGxpbmdQcmVmZXJlbmNlIjoiQUxMIiwiZHBhU2hpcHBpbmdQcmVmZXJlbmNlIjoiQUxMIiwiY29uc3VtZXJOYW1lUmVxdWVzdGVkIjp0cnVlLCJjb25zdW1lckVtYWlsQWRkcmVzc1JlcXVlc3RlZCI6dHJ1ZSwiY29uc3VtZXJQaG9uZU51bWJlclJlcXVlc3RlZCI6dHJ1ZSwidHJhbnNhY3Rpb25BbW91bnQiOnsidHJhbnNhY3Rpb25BbW91bnQiOiIyMS4wMCIsInRyYW5zYWN0aW9uQ3VycmVuY3lDb2RlIjoiVVNEIn0sInBheW1lbnRPcHRpb25zIjp7ImRwYVBhblJlcXVlc3RlZCI6dHJ1ZX19fX0sIlNSQ01BU1RFUkNBUkQiOnsib3JpZ2luIjoiaHR0cHM6Ly9zYW5kYm94LnNyYy5tYXN0ZXJjYXJkLmNvbSIsInBhdGgiOiIvc2RrL3NyY3Nkay5tYXN0ZXJjYXJkLmpzIiwicGFuRW5jcnlwdGlvbktleSI6eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsInVzZSI6ImVuYyIsImtpZCI6IjE0OTEyMy1zcmMtZnBhbi1lbmNyeXB0aW9uIiwia2V5X29wcyI6WyJ3cmFwS2V5IiwiZW5jcnlwdCJdLCJhbGciOiJSU0EtT0FFUC0yNTYiLCJuIjoidnQ0bkRTUFN0VGxNMU5OY3ljdklxVWY0eDE0STRqaVRxTVRLUGpHdGF5MHlmYTF2QnlOQ2htdXBwRHdFVDVnR0dscEw4Y2NqM1lWc0JpOV9iV29lX2FwcGtQd2h4ZDd3UjlSeXdWM3ptV3VNSWhNd2xrMGxuSEFNTDY1bnNIVk0zb0VwRXZDZkFQczFOWGx0VHlmam5rZ0ZFTkkzdEhxdHdkdE04ZVAwMnBwMGp2VzY5ZnlidnlWaEx6WHdTT2dKbnRqdGpSVjdoUXI1bGVkX2pXYjV6elhJNDhPVlRUX0Y5aWluRGR0WDV5M0UtaWY1V3RHWlVGRVRiX3RaRlpZbk1MYUxsSHd2YjZaa3I4NFJTd3dzTWYybkFMXzR6UDJVYWhNd3phbWhCb09TYXF5eEd4RXE2N0hyMVU4ekFDNWhsOUQ4TmJnU3dwV3hzT0RVckh4OXJ3In0sInBhcmFtZXRlcnMiOnsic3JjaVRyYW5zYWN0aW9uSWQiOiJiYzlmZjc4Mi0zNzU3LTQxMjEtYTRjOC03ZDA4ZDhmN2RkODYiLCJzcmNpRHBhSWQiOiJiOTIyY2VmMC0yOGQ5LTQ3OWUtYWFhZi0wOGI2MWYzM2VlN2IiLCJzcmNJbml0aWF0b3JJZCI6Ijg0NGY3ZTNkLTA3ZjAtNDRiMS1hMjM3LWU2NDI0NDRlMDUxMiIsImRwYVRyYW5zYWN0aW9uT3B0aW9ucyI6eyJ0cmFuc2FjdGlvblR5cGUiOiJQVVJDSEFTRSIsImRwYUxvY2FsZSI6ImVuX1VTIiwiZHBhQWNjZXB0ZWRTaGlwcGluZ0NvdW50cmllcyI6WyJVUyIsIkdCIl0sImNvbnN1bWVyRW1haWxBZGRyZXNzUmVxdWVzdGVkIjp0cnVlLCJjb25zdW1lclBob25lTnVtYmVyUmVxdWVzdGVkIjp0cnVlLCJ0cmFuc2FjdGlvbkFtb3VudCI6eyJ0cmFuc2FjdGlvbkFtb3VudCI6IjIxLjAwIiwidHJhbnNhY3Rpb25DdXJyZW5jeUNvZGUiOiJVU0QifSwiZHBhQWNjZXB0ZWRCaWxsaW5nQ291bnRyaWVzIjpbXSwiZHBhQmlsbGluZ1ByZWZlcmVuY2UiOiJGVUxMIiwiZHBhU2hpcHBpbmdQcmVmZXJlbmNlIjoiRlVMTCIsImNvbnN1bWVyTmFtZVJlcXVlc3RlZCI6dHJ1ZSwicGF5bG9hZFR5cGVJbmRpY2F0b3IiOiJGVUxMIn19fX0sImNhcHR1cmVNYW5kYXRlIjp7ImJpbGxpbmdUeXBlIjoiRlVMTCIsInJlcXVlc3RFbWFpbCI6dHJ1ZSwicmVxdWVzdFBob25lIjp0cnVlLCJyZXF1ZXN0U2hpcHBpbmciOnRydWUsInNoaXBUb0NvdW50cmllcyI6WyJVUyIsIkdCIl0sInNob3dBY2NlcHRlZE5ldHdvcmtJY29ucyI6dHJ1ZX0sIm9yZGVySW5mb3JtYXRpb24iOnsiYW1vdW50RGV0YWlscyI6eyJ0b3RhbEFtb3VudCI6IjIxLjAwIiwiY3VycmVuY3kiOiJVU0QifSwiYmlsbFRvIjp7ImFkZHJlc3MxIjoiMjc3IFBhcmsgQXZlbnVlIiwiYWRkcmVzczIiOiI1MHRoIEZsb29yIiwiYWRkcmVzczMiOiJEZXNrIE5ZLTUwMTEwIiwiYWRkcmVzczQiOiJhZGRyZXNzNCIsImFkbWluaXN0cmF0aXZlQXJlYSI6Ik5ZIiwiYnVpbGRpbmdOdW1iZXIiOiJidWlsZGluZ051bWJlciIsImNvdW50cnkiOiJVUyIsImRpc3RyaWN0IjoiZGlzdHJpY3QiLCJsb2NhbGl0eSI6Ik5ldyBZb3JrIiwicG9zdGFsQ29kZSI6IjEwMTcyIiwiY29tcGFueSI6eyJhZGRyZXNzMSI6IjkwMCBNZXRybyBDZW50ZXIgQmx2ZCIsImFkZHJlc3MyIjoiYWRkcmVzczIiLCJhZGRyZXNzMyI6ImFkZHJlc3MzIiwiYWRkcmVzczQiOiJhZGRyZXNzNCIsImFkbWluaXN0cmF0aXZlQXJlYSI6IkNBIiwiYnVpbGRpbmdOdW1iZXIiOiIxIiwiY291bnRyeSI6IlVTIiwiZGlzdHJpY3QiOiJkaXN0cmljdCIsImxvY2FsaXR5IjoiRm9zdGVyIENpdHkiLCJwb3N0YWxDb2RlIjoiOTQ0MDQiLCJuYW1lIjoiVmlzYSBJbmMifSwiZW1haWwiOiJqb2huLmRvZUB2aXNhLmNvbSIsImZpcnN0TmFtZSI6IkpvaG4iLCJsYXN0TmFtZSI6IkRvZSIsIm1pZGRsZU5hbWUiOiJGIiwibmFtZVN1ZmZpeCI6IkpyIiwidGl0bGUiOiJNciIsInBob25lTnVtYmVyIjoiMTIzNDU2Nzg5MCIsInBob25lVHlwZSI6InBob25lVHlwZSJ9LCJzaGlwVG8iOnsiYWRkcmVzczEiOiJDeWJlclNvdXJjZSIsImFkZHJlc3MyIjoiVmljdG9yaWEgSG91c2UiLCJhZGRyZXNzMyI6IjE1LTE3IEdsb3VjZXN0ZXIgU3RyZWV0IiwiYWRkcmVzczQiOiJzdHJpbmciLCJhZG1pbmlzdHJhdGl2ZUFyZWEiOiJDQSIsImJ1aWxkaW5nTnVtYmVyIjoic3RyaW5nIiwiY291bnRyeSI6IkdCIiwiZGlzdHJpY3QiOiJzdHJpbmciLCJsb2NhbGl0eSI6IkJlbGZhc3QiLCJwb3N0YWxDb2RlIjoiQlQxIDRMUyIsImZpcnN0TmFtZSI6IkpvZSIsImxhc3ROYW1lIjoiU29hcCJ9fSwidGFyZ2V0T3JpZ2lucyI6WyJodHRwczovL3RoZS11cC1kZW1vLmFwcHNwb3QuY29tIl0sImlmcmFtZXMiOnsibWNlIjoiL21jZS9pZnJhbWUuaHRtbCIsImJ1dHRvbnMiOiIvYnV0dG9ubGlzdC9pZnJhbWUuaHRtbCIsInNyYyI6Ii9zZWN1cmUtcmVtb3RlLWNvbW1lcmNlL3NyYy5odG1sIiwiZ29vZ2xlcGF5IjoiL2dvb2dsZXBheS9nb29nbGVwYXkuaHRtbCJ9LCJjbGllbnRWZXJzaW9uIjoiMC4xMSIsImNvdW50cnkiOiJVUyIsImxvY2FsZSI6ImVuX1VTIiwiYWxsb3dlZENhcmROZXR3b3JrcyI6WyJWSVNBIiwiTUFTVEVSQ0FSRCIsIkFNRVgiXSwiY3IiOiJaX1c0NldGZlNqWXFZY3FCb19sZGVnQ0Z4RUpnUzlKNWJZT2c2cmtZd2VkaEhpV3M2elowaFZEbU5mMmgxVUQ0eWx6OWJsOThUb0c1SC10bFZjQm54YnZZc0dBSVRDT0g5LTNNZHYyc1g0X3ZFMVY2eFpCeVU5SVcwaFEiLCJzZXJ2aWNlT3JpZ2luIjoiaHR0cHM6Ly9hcGl0ZXN0LmN5YmVyc291cmNlLmNvbSIsImNsaWVudExpYnJhcnkiOiJodHRwczovL2FwaXRlc3QuY3liZXJzb3VyY2UuY29tL3VwL3YxL2Fzc2V0cy8wLjExLjAvU2VjdXJlQWNjZXB0YW5jZS5qcyIsImFzc2V0c1BhdGgiOiIvdXAvdjEvYXNzZXRzLzAuMTEuMCIsImNsaWVudExpYnJhcnlJbnRlZ3JpdHkiOiJzaGEyNTYtSm1SY1QxVFpPaThpWlRTMEZWSFdOanR2REorN1ZsdnNPTXRTZ0tMZUtLTVx1MDAzZCJ9LCJ0eXBlIjoiZ2RhLTAuNy4wIn1dLCJpc3MiOiJGbGV4IEFQSSIsImV4cCI6MTY1OTEyMTk2MSwiaWF0IjoxNjU5MTIxMDYxLCJqdGkiOiJjZ0dBaG9hSFBhbWsxM2d3In0.GSYHGM3941-HLPFjSQT2m6Zus19L4H7tSJIHLuFCKRH_bY1bxFIZRGaI-994BdmhKgzlcE6XK8HQd2lJaD7JnJXAHkmjitg0XV0NVYGbrK7V4cOvT8VKWbMV794NWAAY26_UTjLAR5PGOvyTVOyRuHsItmVMgZ0TFc7x6LeWmjyveN1VeeRemkZHh02nETXh2NpqMk_5a_vXOgoOr56MClo4OqqvSHinXZhxNjIH4h6QwksmuIHKpvoXMWsghozn3va4VEXjp4OJ96NvHkcXGAWcPpLUQOAMks4fd7EoQz4-aFOcrqnV9Ut9p82CmoclWGhvjrakB_MUAabykcmXDA" + }, + "schema": { + "type": "string" + } + }, + "400": { + "description": "Bad Request: e.g. Merchant APIKey is invalid.", + "examples": { + "application/json": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "details": { + "location": "", + "message": "" + }, + "informationLink": "https://vdp.visa.com/docs/errors/invalid_merchant_configuration", + "message": "Merchant APIKEY is invalid", + "reason": "INVALID_APIKEY" + } + }, + "schema": { + "properties": { + "correlationId": { + "type": "string" + }, + "details": { + "items": { + "properties": { + "location": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "informationLink": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "enum": [ + "INVALID_APIKEY", + "INVALID_SHIPPING_INPUT_PARAMS", + "CAPTURE_CONTEXT_INVALID", + "CAPTURE_CONTEXT_EXPIRED", + "SDK_XHR_ERROR", + "UNIFIEDPAYMENTS_VALIDATION_PARAMS", + "UNIFIEDPAYMENTS_VALIDATION_FIELDS", + "UNIFIEDPAYMENT_PAYMENT_PARAMITERS", + "CREATE_TOKEN_TIMEOUT", + "CREATE_TOKEN_XHR_ERROR", + "SHOW_LOAD_CONTAINER_SELECTOR", + "SHOW_LOAD_INVALID_CONTAINER", + "SHOW_TOKEN_TIMEOUT", + "SHOW_TOKEN_XHR_ERROR", + "SHOW_PAYMENT_TIMEOUT" + ], + "type": "string" + } + }, + "required": [ + "message", + "reason" + ], + "type": "object" + } + }, + "500": { + "description": "Internal error.", + "examples": { + "application/json": { + "correlationId": "08b69ffe-f79b-4e09-991f-b030058e21f4", + "details": { + "location": "", + "message": "" + }, + "informationLink": null, + "message": "The capture context has expired", + "reason": "CAPTURE_CONTEXT_EXPIRED" + } + }, + "schema": { + "properties": { + "correlationId": { + "type": "string" + }, + "details": { + "items": { + "properties": { + "location": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "informationLink": { + "type": "string" + }, + "message": { + "type": "string" + }, + "reason": { + "enum": [ + "INVALID_APIKEY", + "INVALID_SHIPPING_INPUT_PARAMS", + "CAPTURE_CONTEXT_INVALID", + "CAPTURE_CONTEXT_EXPIRED", + "SDK_XHR_ERROR", + "UNIFIEDPAYMENTS_VALIDATION_PARAMS", + "UNIFIEDPAYMENTS_VALIDATION_FIELDS", + "UNIFIEDPAYMENT_PAYMENT_PARAMITERS", + "CREATE_TOKEN_TIMEOUT", + "CREATE_TOKEN_XHR_ERROR", + "SHOW_LOAD_CONTAINER_SELECTOR", + "SHOW_LOAD_INVALID_CONTAINER", + "SHOW_TOKEN_TIMEOUT", + "SHOW_TOKEN_XHR_ERROR", + "SHOW_PAYMENT_TIMEOUT" + ], + "type": "string" + } + }, + "required": [ + "message", + "reason" + ], + "type": "object" + } + } + } + } + }, "/risk/v1/decisions": { "post": { "summary": "Create Decision Manager", @@ -58840,6 +64243,10 @@ "recurringPaymentInformation": { "type": "object", "description": "This object contains recurring payment information.", + "required": [ + "frequency", + "endDate" + ], "properties": { "endDate": { "type": "string", @@ -58948,11 +64355,6 @@ "maxLength": 2, "description": "This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values.\n01:NW- Transaction performed at domestic merchant.\n02:TW- Transaction performed at domestic merchant along with Token provisioning.\n03:IT- Transaction performed at International merchant.\n04:AT- Authentication Transaction Only.\n05:AW- Authentication transaction for provisioning.\n06:DI- Domestic InApp Transaction.\n07:II- International InApp transaction.\n08:GC- Guest Checkout\n09:ST- SI Authentication Transaction only\n10:SW- SI Authorization along with token provisioning\n" }, - "challengeCancelCode": { - "type": "string", - "maxLength": 2, - "description": "An indicator as to why the transaction was canceled.\nPossible Values:\n\n- `01`: Cardholder selected Cancel.\n- `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo).\n- `03`: Transaction Timed Out\u2014Decoupled Authentication\n- `04`: Transaction timed out at ACS\u2014other timeouts\n- `05`: Transaction Timed out at ACS - First CReq not received by ACS\n- `06`: Transaction Error\n- `07`: Unknown\n- `08`: Transaction Timed Out at SDK\n" - }, "challengeCode": { "type": "string", "description": "Possible values:\n- `01`: No preference\n- `02`: No challenge request\n- `03`: Challenge requested (3D Secure requestor preference)\n- `04`: Challenge requested (mandate)\n- `05`: No challenge requested (transactional risk analysis is already performed)\n- `06`: No challenge requested (Data share only)\n- `07`: No challenge requested (strong consumer authentication is already performed)\n- `08`: No challenge requested (utilize whitelist exemption if no challenge required)\n- `09`: Challenge requested (whitelist prompt requested if challenge required)\n**Note** This field will default to `01` on merchant configuration and can be overridden by the merchant.\nEMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`.\n" @@ -60790,7 +66192,8 @@ "application/hal+json;charset=utf-8" ], "x-devcenter-metaData": { - "categoryTag": "Payer_Authentication" + "categoryTag": "Payer_Authentication", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html" }, "parameters": [ { @@ -60932,6 +66335,9 @@ }, "customer": { "type": "object", + "required": [ + "customerId" + ], "properties": { "customerId": { "type": "string", @@ -61179,9 +66585,6 @@ "example1": { "summary": "Setup Completion with Fluid Data Value and Payment Solution", "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, "paymentInformation": { "fluidData": { "value": "eyJkYXRhIjoiOFJTK2o1a2ZLRjZkTnkzNVwvOTluR3ZEVis0WUVlaStBb2VmUUNMXC9SNTN0TnVMeHJxTzh4b1g2SnBScm9WWUVUOUNvUkhIWFZMRjJNSVNIZlVtM25UczltdGFPTUdqcW1oeWdjTFpWVWI3OHhxYVVUT2JwWUxLelY0dFR1QmhvRkV4UVJ1d2lvTmo2bXJsRlRjUm5LNzdcL2lCR01yYVlZcXZTVnhGK3ViK1JXK3BGeTRDNUVUOVhmcHBkS2xHYXVpODdzcTBtYVlYVk9qOGFaNTFMWjZvS1NKZkR1clhvWEtLNHRqd1wvaDVRK1dcL0x2dnJxSUhmZmVhK21MZXVRY3RHK0k3UUN6MTRpVmdROUFEMW1oWFUrbVdwZXRUQWZ5WXhoVituZlh1NlpISGRDWFV1cUp6djQydHg4UlwvN0lvdld5OWx6Z0N3YnpuclVsY3pUcThkb3JtV3A4eXhYQklDNnJHRTdlTVJrS3oxZFwvUFFDXC9DS2J1NDhNK0R4XC9VejNoUFwvZ1NnRGoxakJNcUllUUZiRWFzcTRWTUV1ZG9FNUh1UjBcLzRQMXJmdG9EVlpwNnhFdnF1STY5dkt2YnZHcXpmTkpUNjVnPT0iLCJ2ZXJzaW9uIjoiRUNfdjEiLCJoZWFkZXIiOnsiYXBwbGljYXRpb25EYXRhIjoiNzQ2NTczNzQ2MTcwNzA2QzY5NjM2MTc0Njk2RjZFNjQ2MTc0NjEiLCJ0cmFuc2FjdGlvbklkIjoiNzQ2NTczNzQ3NDcyNjE2RTczNjE2Mzc0Njk2RjZFNjk2NCIsImVwaGVtZXJhbFB1YmxpY0tleSI6Ik1JSUJTekNDQVFNR0J5cUdTTTQ5QWdFd2dmY0NBUUV3TEFZSEtvWkl6ajBCQVFJaEFQXC9cL1wvXC84QUFBQUJBQUFBQUFBQUFBQUFBQUFBXC9cL1wvXC9cL1wvXC9cL1wvXC9cL1wvXC9cL1wvXC9NRnNFSVBcL1wvXC9cLzhBQUFBQkFBQUFBQUFBQUFBQUFBQUFcL1wvXC9cL1wvXC9cL1wvXC9cL1wvXC9cL1wvXC84QkNCYXhqWFlxanFUNTdQcnZWVjJtSWE4WlIwR3NNeFRzUFk3emp3K0o5SmdTd01WQU1TZE5naUc1d1NUYW1aNDRST2RKcmVCbjM2UUJFRUVheGZSOHVFc1FrZjR2T2JsWTZSQThuY0RmWUV0NnpPZzlLRTVSZGlZd3BaUDQwTGlcL2hwXC9tNDduNjBwOEQ1NFdLODR6VjJzeFhzN0x0a0JvTjc5UjlRSWhBUFwvXC9cL1wvOEFBQUFBXC9cL1wvXC9cL1wvXC9cL1wvXC8rODV2cXRweGVlaFBPNXlzTDhZeVZSQWdFQkEwSUFCQmJHK2xtTHJIWWtKSVwvSUUwcTU3dEN0bE5jK2pBWHNudVMrSnFlOFVcLzc0cSs5NVRnbzVFRjBZNks3b01LTUt5cTMwY3VQbmtIenkwMjVpU1BGdWczRT0iLCJwdWJsaWNLZXlIYXNoIjoieCtQbUhHMzdUNjdBWUFIenVqbGJyaW1JdzZZaFlYaVpjYjV3WnJCNGpRdz0ifSwic2lnbmF0dXJlIjoiTUlJRFFnWUpLb1pJaHZjTkFRY0NvSUlETXpDQ0F5OENBUUV4Q3pBSkJnVXJEZ01DR2dVQU1Bc0dDU3FHU0liM0RRRUhBYUNDQWlzd2dnSW5NSUlCbEtBREFnRUNBaEJjbCtQZjMrVTRwazEzblZEOW53UVFNQWtHQlNzT0F3SWRCUUF3SnpFbE1DTUdBMVVFQXg0Y0FHTUFhQUJ0QUdFQWFRQkFBSFlBYVFCekFHRUFMZ0JqQUc4QWJUQWVGdzB4TkRBeE1ERXdOakF3TURCYUZ3MHlOREF4TURFd05qQXdNREJhTUNjeEpUQWpCZ05WQkFNZUhBQmpBR2dBYlFCaEFHa0FRQUIyQUdrQWN3QmhBQzRBWXdCdkFHMHdnWjh3RFFZSktvWklodmNOQVFFQkJRQURnWTBBTUlHSkFvR0JBTkM4K2tndGdtdldGMU96amdETnJqVEVCUnVvXC81TUt2bE0xNDZwQWY3R3g0MWJsRTl3NGZJWEpBRDdGZk83UUtqSVhZTnQzOXJMeXk3eER3YlwvNUlrWk02MFRaMmlJMXBqNTVVYzhmZDRmek9wazNmdFphUUdYTkxZcHRHMWQ5VjdJUzgyT3VwOU1NbzFCUFZyWFRQSE5jc005OUVQVW5QcWRiZUdjODdtMHJBZ01CQUFHalhEQmFNRmdHQTFVZEFRUlJNRStBRUhaV1ByV3RKZDdZWjQzMWhDZzdZRlNoS1RBbk1TVXdJd1lEVlFRREhod0FZd0JvQUcwQVlRQnBBRUFBZGdCcEFITUFZUUF1QUdNQWJ3QnRnaEJjbCtQZjMrVTRwazEzblZEOW53UVFNQWtHQlNzT0F3SWRCUUFEZ1lFQWJVS1lDa3VJS1M5UVEybUZjTVlSRUltMmwrWGc4XC9KWHYrR0JWUUprT0tvc2NZNGlOREZBXC9iUWxvZ2Y5TExVODRUSHdOUm5zdlYzUHJ2N1JUWTgxZ3EwZHRDOHpZY0FhQWtDSElJM3lxTW5KNEFPdTZFT1c5a0prMjMyZ1NFN1dsQ3RIYmZMU0tmdVNnUVg4S1hRWXVaTGsyUnI2M044QXBYc1h3QkwzY0oweGdlQXdnZDBDQVFFd096QW5NU1V3SXdZRFZRUURIaHdBWXdCb0FHMEFZUUJwQUVBQWRnQnBBSE1BWVFBdUFHTUFid0J0QWhCY2wrUGYzK1U0cGsxM25WRDlud1FRTUFrR0JTc09Bd0lhQlFBd0RRWUpLb1pJaHZjTkFRRUJCUUFFZ1lBMG9MXC9KSWFTN0tra1RFNG1pOGRmU2tQVVwvdlp2cVwva2NYZ1pUdGJZbENtTFM4YzNuS2VZNVE0c2s4MXJnZkI1ampBMWJRZldhUHBKc05tVWNSS3gzS0FGUEtpNzE0WWVYdGUrcmc2V1k4MnVxcnlwRERiTkhqSWVpNjVqV0dvcGRZUEx6TEk5c1Z3NDh5OHlqSXY3SjFaQVlycnp6YjBwNzUzcUJUQ0ZEN1p3PT0ifQ==" @@ -61209,12 +66612,9 @@ "example3": { "summary": "Setup Completion with TMS Token", "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, "paymentInformation": { "customer": { - "customerId": "9CADDE97CC9254EBE0534136CF0AB358" + "customerId": "21607EACE092FD29E063A2598D0A01B8" } } } @@ -61222,9 +66622,6 @@ "example4": { "summary": "Setup Completion with Visa Checkout", "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, "paymentInformation": { "visaCheckoutId": "4768462067836455354", "paymentSolution": "visacheckout" @@ -61234,24 +66631,8 @@ "example5": { "summary": "Setup Completion with Flex Transient Token", "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, "tokenInformation": { - "transientToken": "1D5ZX4HMOV20FKEBE3IO240JWYJ0NJ90B4V9XQ6SCK4BDN0W96E65E2A39052056" - } - } - }, - "example6": { - "summary": "Setup Completion with Secure Storage Token", - "value": { - "clientReferenceInformation": { - "code": "cybs_test" - }, - "paymentInformation": { - "customer": { - "customerId": "5795045921830181636348" - } + "jti": "1D5ZX4HMOV20FKEBE3IO240JWYJ0NJ90B4V9XQ6SCK4BDN0W96E65E2A39052056" } } } @@ -61270,7 +66651,8 @@ "application/hal+json;charset=utf-8" ], "x-devcenter-metaData": { - "categoryTag": "Payer_Authentication" + "categoryTag": "Payer_Authentication", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html" }, "parameters": [ { @@ -61763,10 +67145,15 @@ }, "customer": { "type": "object", + "required": [ + "customerId" + ], "properties": { "customerId": { "type": "string", - "description": "Unique identifier for the customer's card and billing information.\n\nWhen you use Payment Tokenization or Recurring Billing and you include this value in\nyour request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n\n**NOTE** When you use Payment Tokenization or Recurring Billing, the value for the Customer ID is actually the Cybersource payment token for a customer. This token stores information such as the consumer's card number so it can be applied towards bill payments, recurring payments, or one-time payments. By using this token in a payment API request, the merchant doesn't need to pass in data such as the card number or expiration date in the request itself.\n" + "description": "Unique identifier for the legacy Secure Storage token used in the transaction.\nWhen you include this value in your request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n", + "minLength": 1, + "maxLength": 32 }, "id": { "type": "string", @@ -61993,6 +67380,10 @@ "recurringPaymentInformation": { "type": "object", "description": "This object contains recurring payment information.", + "required": [ + "frequency", + "endDate" + ], "properties": { "endDate": { "type": "string", @@ -62101,11 +67492,6 @@ "maxLength": 2, "description": "This field is only applicable to Rupay and is optional. Merchant will have to pass a valid value from 01 through 07 which indicates the transaction flow. Below are the possible values.\n01:NW- Transaction performed at domestic merchant.\n02:TW- Transaction performed at domestic merchant along with Token provisioning.\n03:IT- Transaction performed at International merchant.\n04:AT- Authentication Transaction Only.\n05:AW- Authentication transaction for provisioning.\n06:DI- Domestic InApp Transaction.\n07:II- International InApp transaction.\n08:GC- Guest Checkout\n09:ST- SI Authentication Transaction only\n10:SW- SI Authorization along with token provisioning\n" }, - "challengeCancelCode": { - "type": "string", - "maxLength": 2, - "description": "An indicator as to why the transaction was canceled.\nPossible Values:\n\n- `01`: Cardholder selected Cancel.\n- `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo).\n- `03`: Transaction Timed Out\u2014Decoupled Authentication\n- `04`: Transaction timed out at ACS\u2014other timeouts\n- `05`: Transaction Timed out at ACS - First CReq not received by ACS\n- `06`: Transaction Error\n- `07`: Unknown\n- `08`: Transaction Timed Out at SDK\n" - }, "challengeCode": { "type": "string", "description": "Possible values:\n- `01`: No preference\n- `02`: No challenge request\n- `03`: Challenge requested (3D Secure requestor preference)\n- `04`: Challenge requested (mandate)\n- `05`: No challenge requested (transactional risk analysis is already performed)\n- `06`: No challenge requested (Data share only)\n- `07`: No challenge requested (strong consumer authentication is already performed)\n- `08`: No challenge requested (utilize whitelist exemption if no challenge required)\n- `09`: Challenge requested (whitelist prompt requested if challenge required)\n**Note** This field will default to `01` on merchant configuration and can be overridden by the merchant.\nEMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`.\n" @@ -63156,21 +68542,15 @@ "example5": { "summary": "Enroll with customerId as payment information", "value": { - "clientReferenceInformation": { - "code": "UNKNOWN" - }, "orderInformation": { "billTo": { "firstName": "John", "lastName": "Doe", - "address2": "Address 2", "address1": "1 Market St", "postalCode": "94105", "locality": "san francisco", "administrativeArea": "CA", "country": "US", - "phoneNumber": "4158880000", - "company": "Visa", "email": "test@cybs.com" }, "amountDetails": { @@ -63180,17 +68560,28 @@ }, "paymentInformation": { "customer": { - "customerId": "9CADDE97CC9254EBE0534136CF0AB358" + "customerId": "21607EACE092FD29E063A2598D0A01B8" } + }, + "deviceInformation": { + "httpAcceptContent": "all", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "userAgentBrowserValue": "chrome" + }, + "consumerAuthenticationInformation": { + "deviceChannel": "Browser", + "referenceId": "CybsCruiseTester-6259e7e2" } } }, "example6": { "summary": "Enroll with transient token", "value": { - "clientReferenceInformation": { - "code": "UNKNOWN" - }, "orderInformation": { "billTo": { "firstName": "John", @@ -63210,8 +68601,555 @@ "currency": "USD" } }, + "consumerAuthenticationInformation": { + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "Browser" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, "tokenInformation": { - "transientToken": "1D5ZX4HMOV20FKEBE3IO240JWYJ0NJ90B4V9XQ6SCK4BDN0W96E65E2A39052056" + "jti": "1D5ZX4HMOV20FKEBE3IO240JWYJ0NJ90B4V9XQ6SCK4BDN0W96E65E2A39052056" + } + } + }, + "example7": { + "summary": "First Recurring Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + } + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002805", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "02" + }, + "messageCategory": "01", + "challengeCode": "03", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "Browser" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example8": { + "summary": "Subsequent Recurring Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002235", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "02" + }, + "requestorInitiatedAuthenticationIndicator": "01", + "priorAuthenticationData": "bf67e7e6-c8cf-4b93-a211-3f4f60b07524", + "messageCategory": "01", + "authenticationDate": "20190829154531", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example9": { + "summary": "Customer Initiated Installment Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002805", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "03" + }, + "messageCategory": "01", + "authenticationDate": "20190829154531", + "referenceId": "CybsCruiseTester-2551acb2", + "deviceChannel": "Browser", + "installmentTotalCount": "2" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example10": { + "summary": "Split/Partial Shipment Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002235", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "02" + }, + "requestorInitiatedAuthenticationIndicator": "06", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "priorAuthenticationData": "bf67e7e6-c8cf-4b93-a211-3f4f60b07524", + "messageCategory": "01", + "challengeCode": "03", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example11": { + "summary": "Split/Delayed Shipment Transaction", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "4000000000002701", + "expirationMonth": "12", + "type": "001" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "01" + }, + "requestorInitiatedAuthenticationIndicator": "06", + "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "messageCategory": "01", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + } + } + }, + "example12": { + "summary": "Multi-Party Commerce or OTA Frictionless", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "4000000000002701", + "expirationMonth": "12", + "type": "001" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "01" + }, + "requestorInitiatedAuthenticationIndicator": "11", + "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "messageCategory": "01", + "referenceId": "CybsCruiseTester-ddb08174", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + } + } + }, + "example13": { + "summary": "Customer Initiated Multi-Party Commerce or OTA", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002805", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "85" + }, + "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "messageCategory": "01", + "challengeCode": "03", + "referenceId": "CybsCruiseTester-500582d1", + "deviceChannel": "Browser" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + }, + "recurringPaymentInformation": { + "sequenceNumber": "1", + "numberOfPayments": "1", + "originalPurchaseDate": "2024080511243877", + "frequency": "31", + "endDate": "20240906" + } + } + }, + "example14": { + "summary": "Merchant Initiated Multi-Party Commerce or OTA", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "5200000000002235", + "expirationMonth": "12", + "type": "002" + } + }, + "consumerAuthenticationInformation": { + "strongAuthentication": { + "authenticationIndicator": "85" + }, + "requestorInitiatedAuthenticationIndicator": "85", + "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", + "priorAuthenticationTime": "202408051124", + "priorAuthenticationMethod": "02", + "messageCategory": "01", + "referenceId": "CybsCruiseTester-8e9d566d", + "deviceChannel": "3RI" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" + } + } + }, + "example15": { + "summary": "3RI Transaction Not Supported", + "value": { + "orderInformation": { + "billTo": { + "country": "US", + "lastName": "VDP", + "address1": "201 S. Division St.", + "postalCode": "48104-2201", + "locality": "Ann Arbor", + "administrativeArea": "MI", + "firstName": "RTS", + "email": "test@cybs.com" + }, + "amountDetails": { + "totalAmount": "100.00", + "currency": "eur" + }, + "lineItems": [ + { + "unitPrice": "120.00" + } + ] + }, + "paymentInformation": { + "card": { + "expirationYear": "2027", + "number": "4000000000002248", + "expirationMonth": "12", + "type": "001" + } + }, + "consumerAuthenticationInformation": { + "requestorInitiatedAuthenticationIndicator": "01", + "messageCategory": "02", + "referenceId": "CybsCruiseTester-500582d1", + "deviceChannel": "Browser" + }, + "deviceInformation": { + "userAgentBrowserValue": "chrome", + "httpBrowserLanguage": "en", + "httpBrowserJavaEnabled": "y", + "httpBrowserColorDepth": 1, + "httpBrowserScreenHeight": 1, + "httpBrowserScreenWidth": 1, + "httpBrowserTimeDifference": 5, + "httpAcceptContent": "all", + "httpAcceptHeader": "all" } } } @@ -63227,7 +69165,8 @@ ], "operationId": "validateAuthenticationResults", "x-devcenter-metaData": { - "categoryTag": "Payer_Authentication" + "categoryTag": "Payer_Authentication", + "developerGuides": "https://developer.cybersource.com/docs/cybs/en-us/payer-authentication/developer/all/rest/payer-auth/pa-about-guide.html" }, "parameters": [ { @@ -63390,10 +69329,15 @@ }, "customer": { "type": "object", + "required": [ + "customerId" + ], "properties": { "customerId": { "type": "string", - "description": "Unique identifier for the customer's card and billing information.\n\nWhen you use Payment Tokenization or Recurring Billing and you include this value in\nyour request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n\n**NOTE** When you use Payment Tokenization or Recurring Billing, the value for the Customer ID is actually the Cybersource payment token for a customer. This token stores information such as the consumer's card number so it can be applied towards bill payments, recurring payments, or one-time payments. By using this token in a payment API request, the merchant doesn't need to pass in data such as the card number or expiration date in the request itself.\n" + "description": "Unique identifier for the legacy Secure Storage token used in the transaction.\nWhen you include this value in your request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n", + "minLength": 1, + "maxLength": 32 }, "id": { "type": "string", @@ -91548,6 +97492,14 @@ "type": "string", "description": "Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors." }, + "unionPayInstitutionId": { + "type": "string", + "description": "Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors." + }, + "dinersClubInstitutionId": { + "type": "string", + "description": "Assigned by Diners Club to identify the acquirer. Applicable for VPC processors." + }, "countryCode": { "type": "string", "description": "ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors." @@ -91990,6 +97942,18 @@ } } }, + "visaAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Visa payment type is selected" + }, + "amexAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Amex payment type is selected" + }, + "masterCardAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Master Card payment type is selected" + }, "sicCode": { "type": "string", "description": "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors." @@ -92268,8 +98232,20 @@ "url": { "type": "string", "description": "Applicable for RUPAY and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, hybridYes140URL
American Express DirectcpNo140URL
\n" + }, + "countryOfOrigin": { + "type": "string", + "description": "Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute." } } + }, + "governmentControlled": { + "type": "boolean", + "description": "Indicates whether the merchant is government controlled. Applicable for VPC processors." + }, + "dropBillingInfo": { + "type": "boolean", + "description": "This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request." } } }, @@ -100765,6 +106741,14 @@ "type": "string", "description": "Assigned by Discover to identify the acquirer. Applicable for VPC and GPX (gpx) processors." }, + "unionPayInstitutionId": { + "type": "string", + "description": "Assigned by China Union Pay to identify the acquirer. Applicable for VPC processors." + }, + "dinersClubInstitutionId": { + "type": "string", + "description": "Assigned by Diners Club to identify the acquirer. Applicable for VPC processors." + }, "countryCode": { "type": "string", "description": "ISO 4217 format. Applicable for VPC, GPX (gpx), EFTPOS, RUPAY, Prisma (prisma) and CUP processors." @@ -101207,6 +107191,18 @@ } } }, + "visaAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Visa payment type is selected" + }, + "amexAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Amex payment type is selected" + }, + "masterCardAggregatorId": { + "type": "string", + "description": "This field is used as aggregator Id when Master Card payment type is selected" + }, "sicCode": { "type": "string", "description": "The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors." @@ -101485,8 +107481,20 @@ "url": { "type": "string", "description": "Applicable for RUPAY and American Express Direct (amexdirect) processors.\n\nValidation details (for selected processors)...\n\n\n\n\n\n
ProcessorAcceptance TypeRequiredMin. LengthMax. LengthRegex
American Express Directcnp, hybridYes140URL
American Express DirectcpNo140URL
\n" + }, + "countryOfOrigin": { + "type": "string", + "description": "Country Cf Origin of merchant is applicable for VPC Processors and is dependent on governmentControlled attribute." } } + }, + "governmentControlled": { + "type": "boolean", + "description": "Indicates whether the merchant is government controlled. Applicable for VPC processors." + }, + "dropBillingInfo": { + "type": "boolean", + "description": "This field is used to indicate whether the merchant wants to drop the billing information from the request. If this field is set to true, then the billing information will be dropped from the request. If this field is set to false, then the billing information will be sent in the request." } } }, diff --git a/test/Api/FlexAPIApiTests.cs b/test/Api/FlexAPIApiTests.cs new file mode 100644 index 00000000..32479433 --- /dev/null +++ b/test/Api/FlexAPIApiTests.cs @@ -0,0 +1,81 @@ +/* + * 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.IO; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Reflection; +using RestSharp; +using NUnit.Framework; + +using CyberSource.Client; +using CyberSource.Api; +using CyberSource.Model; + +namespace CyberSource.Test +{ + /// + /// Class for testing FlexAPIApi + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the API endpoint. + /// + [TestFixture] + public class FlexAPIApiTests + { + private FlexAPIApi instance; + + /// + /// Setup before each unit test + /// + [SetUp] + public void Init() + { + instance = new FlexAPIApi(); + } + + /// + /// Clean up after each unit test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of FlexAPIApi + /// + [Test] + public void InstanceTest() + { + // TODO uncomment below to test 'IsInstanceOfType' FlexAPIApi + //Assert.IsInstanceOfType(typeof(FlexAPIApi), instance, "instance is a FlexAPIApi"); + } + + + /// + /// Test GenerateFlexAPICaptureContext + /// + [Test] + public void GenerateFlexAPICaptureContextTest() + { + // TODO uncomment below to test the method and replace null with proper value + //GenerateFlexAPICaptureContextRequest generateFlexAPICaptureContextRequest = null; + //var response = instance.GenerateFlexAPICaptureContext(generateFlexAPICaptureContextRequest); + //Assert.IsInstanceOf (response, "response is string"); + } + + } + +} diff --git a/test/Model/CardProcessingConfigCommonAcquirerTests.cs b/test/Model/CardProcessingConfigCommonAcquirerTests.cs index ced63e5a..ee7af764 100644 --- a/test/Model/CardProcessingConfigCommonAcquirerTests.cs +++ b/test/Model/CardProcessingConfigCommonAcquirerTests.cs @@ -89,6 +89,22 @@ public void DiscoverInstitutionIdTest() // TODO unit test for the property 'DiscoverInstitutionId' } /// + /// Test the property 'UnionPayInstitutionId' + /// + [Test] + public void UnionPayInstitutionIdTest() + { + // TODO unit test for the property 'UnionPayInstitutionId' + } + /// + /// Test the property 'DinersClubInstitutionId' + /// + [Test] + public void DinersClubInstitutionIdTest() + { + // TODO unit test for the property 'DinersClubInstitutionId' + } + /// /// Test the property 'CountryCode' /// [Test] diff --git a/test/Model/CardProcessingConfigCommonMerchantDescriptorInformationTests.cs b/test/Model/CardProcessingConfigCommonMerchantDescriptorInformationTests.cs index be89eda9..cbaec609 100644 --- a/test/Model/CardProcessingConfigCommonMerchantDescriptorInformationTests.cs +++ b/test/Model/CardProcessingConfigCommonMerchantDescriptorInformationTests.cs @@ -128,6 +128,14 @@ public void UrlTest() { // TODO unit test for the property 'Url' } + /// + /// Test the property 'CountryOfOrigin' + /// + [Test] + public void CountryOfOriginTest() + { + // TODO unit test for the property 'CountryOfOrigin' + } } diff --git a/test/Model/CardProcessingConfigCommonProcessorsTests.cs b/test/Model/CardProcessingConfigCommonProcessorsTests.cs index bbfb37bd..2bfb05f5 100644 --- a/test/Model/CardProcessingConfigCommonProcessorsTests.cs +++ b/test/Model/CardProcessingConfigCommonProcessorsTests.cs @@ -137,6 +137,30 @@ public void CurrenciesTest() // TODO unit test for the property 'Currencies' } /// + /// Test the property 'VisaAggregatorId' + /// + [Test] + public void VisaAggregatorIdTest() + { + // TODO unit test for the property 'VisaAggregatorId' + } + /// + /// Test the property 'AmexAggregatorId' + /// + [Test] + public void AmexAggregatorIdTest() + { + // TODO unit test for the property 'AmexAggregatorId' + } + /// + /// Test the property 'MasterCardAggregatorId' + /// + [Test] + public void MasterCardAggregatorIdTest() + { + // TODO unit test for the property 'MasterCardAggregatorId' + } + /// /// Test the property 'SicCode' /// [Test] diff --git a/test/Model/CardProcessingConfigCommonTests.cs b/test/Model/CardProcessingConfigCommonTests.cs index fd509089..f6b0a572 100644 --- a/test/Model/CardProcessingConfigCommonTests.cs +++ b/test/Model/CardProcessingConfigCommonTests.cs @@ -232,6 +232,22 @@ public void MerchantDescriptorInformationTest() { // TODO unit test for the property 'MerchantDescriptorInformation' } + /// + /// Test the property 'GovernmentControlled' + /// + [Test] + public void GovernmentControlledTest() + { + // TODO unit test for the property 'GovernmentControlled' + } + /// + /// Test the property 'DropBillingInfo' + /// + [Test] + public void DropBillingInfoTest() + { + // TODO unit test for the property 'DropBillingInfo' + } } diff --git a/test/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTests.cs b/test/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTests.cs new file mode 100644 index 00000000..752d17ec --- /dev/null +++ b/test/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTests.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 Flexv2sessionsFieldsOrderInformationAmountDetails + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Flexv2sessionsFieldsOrderInformationAmountDetailsTests + { + // TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformationAmountDetails + //private Flexv2sessionsFieldsOrderInformationAmountDetails instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Flexv2sessionsFieldsOrderInformationAmountDetails + //instance = new Flexv2sessionsFieldsOrderInformationAmountDetails(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Flexv2sessionsFieldsOrderInformationAmountDetails + /// + [Test] + public void Flexv2sessionsFieldsOrderInformationAmountDetailsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformationAmountDetails + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformationAmountDetails"); + } + + /// + /// Test the property 'TotalAmount' + /// + [Test] + public void TotalAmountTest() + { + // TODO unit test for the property 'TotalAmount' + } + /// + /// Test the property 'Currency' + /// + [Test] + public void CurrencyTest() + { + // TODO unit test for the property 'Currency' + } + + } + +} diff --git a/test/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountTests.cs b/test/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountTests.cs new file mode 100644 index 00000000..91719f0b --- /dev/null +++ b/test/Model/Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountTests + { + // TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount + //private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount + //instance = new Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount + /// + [Test] + public void Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount"); + } + + /// + /// Test the property 'Required' + /// + [Test] + public void RequiredTest() + { + // TODO unit test for the property 'Required' + } + + } + +} diff --git a/test/Model/Flexv2sessionsFieldsOrderInformationBillToTests.cs b/test/Model/Flexv2sessionsFieldsOrderInformationBillToTests.cs new file mode 100644 index 00000000..03b71ad0 --- /dev/null +++ b/test/Model/Flexv2sessionsFieldsOrderInformationBillToTests.cs @@ -0,0 +1,174 @@ +/* + * 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 Flexv2sessionsFieldsOrderInformationBillTo + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Flexv2sessionsFieldsOrderInformationBillToTests + { + // TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformationBillTo + //private Flexv2sessionsFieldsOrderInformationBillTo instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Flexv2sessionsFieldsOrderInformationBillTo + //instance = new Flexv2sessionsFieldsOrderInformationBillTo(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Flexv2sessionsFieldsOrderInformationBillTo + /// + [Test] + public void Flexv2sessionsFieldsOrderInformationBillToInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformationBillTo + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformationBillTo"); + } + + /// + /// Test the property 'Address1' + /// + [Test] + public void Address1Test() + { + // TODO unit test for the property 'Address1' + } + /// + /// Test the property 'Address2' + /// + [Test] + public void Address2Test() + { + // TODO unit test for the property 'Address2' + } + /// + /// Test the property 'AdministrativeArea' + /// + [Test] + public void AdministrativeAreaTest() + { + // TODO unit test for the property 'AdministrativeArea' + } + /// + /// Test the property 'BuildingNumber' + /// + [Test] + public void BuildingNumberTest() + { + // TODO unit test for the property 'BuildingNumber' + } + /// + /// Test the property 'Country' + /// + [Test] + public void CountryTest() + { + // TODO unit test for the property 'Country' + } + /// + /// Test the property 'District' + /// + [Test] + public void DistrictTest() + { + // TODO unit test for the property 'District' + } + /// + /// Test the property 'Locality' + /// + [Test] + public void LocalityTest() + { + // TODO unit test for the property 'Locality' + } + /// + /// Test the property 'PostalCode' + /// + [Test] + public void PostalCodeTest() + { + // TODO unit test for the property 'PostalCode' + } + /// + /// Test the property 'Email' + /// + [Test] + public void EmailTest() + { + // TODO unit test for the property 'Email' + } + /// + /// Test the property 'FirstName' + /// + [Test] + public void FirstNameTest() + { + // TODO unit test for the property 'FirstName' + } + /// + /// Test the property 'LastName' + /// + [Test] + public void LastNameTest() + { + // TODO unit test for the property 'LastName' + } + /// + /// Test the property 'PhoneNumber' + /// + [Test] + public void PhoneNumberTest() + { + // TODO unit test for the property 'PhoneNumber' + } + /// + /// Test the property 'Company' + /// + [Test] + public void CompanyTest() + { + // TODO unit test for the property 'Company' + } + + } + +} diff --git a/test/Model/Flexv2sessionsFieldsOrderInformationShipToTests.cs b/test/Model/Flexv2sessionsFieldsOrderInformationShipToTests.cs new file mode 100644 index 00000000..4fbb8227 --- /dev/null +++ b/test/Model/Flexv2sessionsFieldsOrderInformationShipToTests.cs @@ -0,0 +1,158 @@ +/* + * 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 Flexv2sessionsFieldsOrderInformationShipTo + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Flexv2sessionsFieldsOrderInformationShipToTests + { + // TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformationShipTo + //private Flexv2sessionsFieldsOrderInformationShipTo instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Flexv2sessionsFieldsOrderInformationShipTo + //instance = new Flexv2sessionsFieldsOrderInformationShipTo(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Flexv2sessionsFieldsOrderInformationShipTo + /// + [Test] + public void Flexv2sessionsFieldsOrderInformationShipToInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformationShipTo + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformationShipTo"); + } + + /// + /// Test the property 'Address1' + /// + [Test] + public void Address1Test() + { + // TODO unit test for the property 'Address1' + } + /// + /// Test the property 'Address2' + /// + [Test] + public void Address2Test() + { + // TODO unit test for the property 'Address2' + } + /// + /// Test the property 'AdministrativeArea' + /// + [Test] + public void AdministrativeAreaTest() + { + // TODO unit test for the property 'AdministrativeArea' + } + /// + /// Test the property 'BuildingNumber' + /// + [Test] + public void BuildingNumberTest() + { + // TODO unit test for the property 'BuildingNumber' + } + /// + /// Test the property 'Country' + /// + [Test] + public void CountryTest() + { + // TODO unit test for the property 'Country' + } + /// + /// Test the property 'District' + /// + [Test] + public void DistrictTest() + { + // TODO unit test for the property 'District' + } + /// + /// Test the property 'Locality' + /// + [Test] + public void LocalityTest() + { + // TODO unit test for the property 'Locality' + } + /// + /// Test the property 'PostalCode' + /// + [Test] + public void PostalCodeTest() + { + // TODO unit test for the property 'PostalCode' + } + /// + /// Test the property 'FirstName' + /// + [Test] + public void FirstNameTest() + { + // TODO unit test for the property 'FirstName' + } + /// + /// Test the property 'LastName' + /// + [Test] + public void LastNameTest() + { + // TODO unit test for the property 'LastName' + } + /// + /// Test the property 'Company' + /// + [Test] + public void CompanyTest() + { + // TODO unit test for the property 'Company' + } + + } + +} diff --git a/test/Model/Flexv2sessionsFieldsOrderInformationTests.cs b/test/Model/Flexv2sessionsFieldsOrderInformationTests.cs new file mode 100644 index 00000000..1be44a1f --- /dev/null +++ b/test/Model/Flexv2sessionsFieldsOrderInformationTests.cs @@ -0,0 +1,94 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 Flexv2sessionsFieldsOrderInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Flexv2sessionsFieldsOrderInformationTests + { + // TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformation + //private Flexv2sessionsFieldsOrderInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Flexv2sessionsFieldsOrderInformation + //instance = new Flexv2sessionsFieldsOrderInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Flexv2sessionsFieldsOrderInformation + /// + [Test] + public void Flexv2sessionsFieldsOrderInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformation"); + } + + /// + /// Test the property 'AmountDetails' + /// + [Test] + public void AmountDetailsTest() + { + // TODO unit test for the property 'AmountDetails' + } + /// + /// Test the property 'BillTo' + /// + [Test] + public void BillToTest() + { + // TODO unit test for the property 'BillTo' + } + /// + /// Test the property 'ShipTo' + /// + [Test] + public void ShipToTest() + { + // TODO unit test for the property 'ShipTo' + } + + } + +} diff --git a/test/Model/Flexv2sessionsFieldsPaymentInformationCardTests.cs b/test/Model/Flexv2sessionsFieldsPaymentInformationCardTests.cs new file mode 100644 index 00000000..7fd410bc --- /dev/null +++ b/test/Model/Flexv2sessionsFieldsPaymentInformationCardTests.cs @@ -0,0 +1,110 @@ +/* + * 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 Flexv2sessionsFieldsPaymentInformationCard + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Flexv2sessionsFieldsPaymentInformationCardTests + { + // TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsPaymentInformationCard + //private Flexv2sessionsFieldsPaymentInformationCard instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Flexv2sessionsFieldsPaymentInformationCard + //instance = new Flexv2sessionsFieldsPaymentInformationCard(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Flexv2sessionsFieldsPaymentInformationCard + /// + [Test] + public void Flexv2sessionsFieldsPaymentInformationCardInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsPaymentInformationCard + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Flexv2sessionsFieldsPaymentInformationCard"); + } + + /// + /// Test the property 'Number' + /// + [Test] + public void NumberTest() + { + // TODO unit test for the property 'Number' + } + /// + /// Test the property 'Type' + /// + [Test] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + /// + /// Test the property 'SecurityCode' + /// + [Test] + public void SecurityCodeTest() + { + // TODO unit test for the property 'SecurityCode' + } + /// + /// Test the property 'ExpirationMonth' + /// + [Test] + public void ExpirationMonthTest() + { + // TODO unit test for the property 'ExpirationMonth' + } + /// + /// Test the property 'ExpirationYear' + /// + [Test] + public void ExpirationYearTest() + { + // TODO unit test for the property 'ExpirationYear' + } + + } + +} diff --git a/test/Model/Flexv2sessionsFieldsPaymentInformationTests.cs b/test/Model/Flexv2sessionsFieldsPaymentInformationTests.cs new file mode 100644 index 00000000..b8f75b81 --- /dev/null +++ b/test/Model/Flexv2sessionsFieldsPaymentInformationTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Flexv2sessionsFieldsPaymentInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Flexv2sessionsFieldsPaymentInformationTests + { + // TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsPaymentInformation + //private Flexv2sessionsFieldsPaymentInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Flexv2sessionsFieldsPaymentInformation + //instance = new Flexv2sessionsFieldsPaymentInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Flexv2sessionsFieldsPaymentInformation + /// + [Test] + public void Flexv2sessionsFieldsPaymentInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsPaymentInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Flexv2sessionsFieldsPaymentInformation"); + } + + /// + /// Test the property 'Card' + /// + [Test] + public void CardTest() + { + // TODO unit test for the property 'Card' + } + + } + +} diff --git a/test/Model/Flexv2sessionsFieldsTests.cs b/test/Model/Flexv2sessionsFieldsTests.cs new file mode 100644 index 00000000..774a71fa --- /dev/null +++ b/test/Model/Flexv2sessionsFieldsTests.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 Flexv2sessionsFields + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Flexv2sessionsFieldsTests + { + // TODO uncomment below to declare an instance variable for Flexv2sessionsFields + //private Flexv2sessionsFields instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Flexv2sessionsFields + //instance = new Flexv2sessionsFields(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Flexv2sessionsFields + /// + [Test] + public void Flexv2sessionsFieldsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFields + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Flexv2sessionsFields"); + } + + /// + /// Test the property 'OrderInformation' + /// + [Test] + public void OrderInformationTest() + { + // TODO unit test for the property 'OrderInformation' + } + /// + /// Test the property 'PaymentInformation' + /// + [Test] + public void PaymentInformationTest() + { + // TODO unit test for the property 'PaymentInformation' + } + + } + +} diff --git a/test/Model/GenerateFlexAPICaptureContextRequestTests.cs b/test/Model/GenerateFlexAPICaptureContextRequestTests.cs new file mode 100644 index 00000000..eee28809 --- /dev/null +++ b/test/Model/GenerateFlexAPICaptureContextRequestTests.cs @@ -0,0 +1,78 @@ +/* + * 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 GenerateFlexAPICaptureContextRequest + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class GenerateFlexAPICaptureContextRequestTests + { + // TODO uncomment below to declare an instance variable for GenerateFlexAPICaptureContextRequest + //private GenerateFlexAPICaptureContextRequest instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of GenerateFlexAPICaptureContextRequest + //instance = new GenerateFlexAPICaptureContextRequest(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of GenerateFlexAPICaptureContextRequest + /// + [Test] + public void GenerateFlexAPICaptureContextRequestInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" GenerateFlexAPICaptureContextRequest + //Assert.IsInstanceOfType (instance, "variable 'instance' is a GenerateFlexAPICaptureContextRequest"); + } + + /// + /// Test the property 'Fields' + /// + [Test] + public void FieldsTest() + { + // TODO unit test for the property 'Fields' + } + + } + +} diff --git a/test/Model/InlineResponse4005DetailsTests.cs b/test/Model/InlineResponse4001DetailsTests.cs similarity index 64% rename from test/Model/InlineResponse4005DetailsTests.cs rename to test/Model/InlineResponse4001DetailsTests.cs index edff1b55..97df2bb3 100644 --- a/test/Model/InlineResponse4005DetailsTests.cs +++ b/test/Model/InlineResponse4001DetailsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse4005Details + /// Class for testing InlineResponse4001Details /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse4005DetailsTests + public class InlineResponse4001DetailsTests { - // TODO uncomment below to declare an instance variable for InlineResponse4005Details - //private InlineResponse4005Details instance; + // TODO uncomment below to declare an instance variable for InlineResponse4001Details + //private InlineResponse4001Details instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse4005DetailsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse4005Details - //instance = new InlineResponse4005Details(); + // TODO uncomment below to create an instance of InlineResponse4001Details + //instance = new InlineResponse4001Details(); } /// @@ -55,30 +55,30 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse4005Details + /// Test an instance of InlineResponse4001Details /// [Test] - public void InlineResponse4005DetailsInstanceTest() + public void InlineResponse4001DetailsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse4005Details - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4005Details"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse4001Details + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4001Details"); } /// - /// Test the property 'Field' + /// Test the property 'Location' /// [Test] - public void FieldTest() + public void LocationTest() { - // TODO unit test for the property 'Field' + // TODO unit test for the property 'Location' } /// - /// Test the property 'Reason' + /// Test the property 'Message' /// [Test] - public void ReasonTest() + public void MessageTest() { - // TODO unit test for the property 'Reason' + // TODO unit test for the property 'Message' } } diff --git a/test/Model/InlineResponse4001Tests.cs b/test/Model/InlineResponse4001Tests.cs index 9d665282..1feedb6a 100644 --- a/test/Model/InlineResponse4001Tests.cs +++ b/test/Model/InlineResponse4001Tests.cs @@ -65,28 +65,28 @@ public void InlineResponse4001InstanceTest() } /// - /// Test the property 'SubmitTimeUtc' + /// Test the property 'CorrelationId' /// [Test] - public void SubmitTimeUtcTest() + public void CorrelationIdTest() { - // TODO unit test for the property 'SubmitTimeUtc' + // TODO unit test for the property 'CorrelationId' } /// - /// Test the property 'Status' + /// Test the property 'Details' /// [Test] - public void StatusTest() + public void DetailsTest() { - // TODO unit test for the property 'Status' + // TODO unit test for the property 'Details' } /// - /// Test the property 'Reason' + /// Test the property 'InformationLink' /// [Test] - public void ReasonTest() + public void InformationLinkTest() { - // TODO unit test for the property 'Reason' + // TODO unit test for the property 'InformationLink' } /// /// Test the property 'Message' @@ -97,12 +97,12 @@ public void MessageTest() // TODO unit test for the property 'Message' } /// - /// Test the property 'Details' + /// Test the property 'Reason' /// [Test] - public void DetailsTest() + public void ReasonTest() { - // TODO unit test for the property 'Details' + // TODO unit test for the property 'Reason' } } diff --git a/test/Model/InlineResponse4004Tests.cs b/test/Model/InlineResponse4004Tests.cs index 601f8864..9911f905 100644 --- a/test/Model/InlineResponse4004Tests.cs +++ b/test/Model/InlineResponse4004Tests.cs @@ -65,52 +65,44 @@ public void InlineResponse4004InstanceTest() } /// - /// Test the property 'Code' + /// Test the property 'SubmitTimeUtc' /// [Test] - public void CodeTest() + public void SubmitTimeUtcTest() { - // TODO unit test for the property 'Code' + // TODO unit test for the property 'SubmitTimeUtc' } /// - /// Test the property 'Message' + /// Test the property 'Status' /// [Test] - public void MessageTest() + public void StatusTest() { - // TODO unit test for the property 'Message' + // TODO unit test for the property 'Status' } /// - /// Test the property 'LocalizationKey' + /// Test the property 'Reason' /// [Test] - public void LocalizationKeyTest() + public void ReasonTest() { - // TODO unit test for the property 'LocalizationKey' + // TODO unit test for the property 'Reason' } /// - /// Test the property 'CorrelationId' - /// - [Test] - public void CorrelationIdTest() - { - // TODO unit test for the property 'CorrelationId' - } - /// - /// Test the property 'Detail' + /// Test the property 'Message' /// [Test] - public void DetailTest() + public void MessageTest() { - // TODO unit test for the property 'Detail' + // TODO unit test for the property 'Message' } /// - /// Test the property 'Fields' + /// Test the property 'Details' /// [Test] - public void FieldsTest() + public void DetailsTest() { - // TODO unit test for the property 'Fields' + // TODO unit test for the property 'Details' } } diff --git a/test/Model/InlineResponse4004FieldsTests.cs b/test/Model/InlineResponse4005FieldsTests.cs similarity index 78% rename from test/Model/InlineResponse4004FieldsTests.cs rename to test/Model/InlineResponse4005FieldsTests.cs index a898089c..f74fb872 100644 --- a/test/Model/InlineResponse4004FieldsTests.cs +++ b/test/Model/InlineResponse4005FieldsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse4004Fields + /// Class for testing InlineResponse4005Fields /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse4004FieldsTests + public class InlineResponse4005FieldsTests { - // TODO uncomment below to declare an instance variable for InlineResponse4004Fields - //private InlineResponse4004Fields instance; + // TODO uncomment below to declare an instance variable for InlineResponse4005Fields + //private InlineResponse4005Fields instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse4004FieldsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse4004Fields - //instance = new InlineResponse4004Fields(); + // TODO uncomment below to create an instance of InlineResponse4005Fields + //instance = new InlineResponse4005Fields(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse4004Fields + /// Test an instance of InlineResponse4005Fields /// [Test] - public void InlineResponse4004FieldsInstanceTest() + public void InlineResponse4005FieldsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse4004Fields - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4004Fields"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse4005Fields + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse4005Fields"); } /// diff --git a/test/Model/InlineResponse4005Tests.cs b/test/Model/InlineResponse4005Tests.cs index 756a46d8..90eca16f 100644 --- a/test/Model/InlineResponse4005Tests.cs +++ b/test/Model/InlineResponse4005Tests.cs @@ -65,44 +65,52 @@ public void InlineResponse4005InstanceTest() } /// - /// Test the property 'SubmitTimeUtc' + /// Test the property 'Code' /// [Test] - public void SubmitTimeUtcTest() + public void CodeTest() { - // TODO unit test for the property 'SubmitTimeUtc' + // TODO unit test for the property 'Code' } /// - /// Test the property 'Status' + /// Test the property 'Message' /// [Test] - public void StatusTest() + public void MessageTest() { - // TODO unit test for the property 'Status' + // TODO unit test for the property 'Message' } /// - /// Test the property 'Reason' + /// Test the property 'LocalizationKey' /// [Test] - public void ReasonTest() + public void LocalizationKeyTest() { - // TODO unit test for the property 'Reason' + // TODO unit test for the property 'LocalizationKey' } /// - /// Test the property 'Message' + /// Test the property 'CorrelationId' /// [Test] - public void MessageTest() + public void CorrelationIdTest() { - // TODO unit test for the property 'Message' + // TODO unit test for the property 'CorrelationId' + } + /// + /// Test the property 'Detail' + /// + [Test] + public void DetailTest() + { + // TODO unit test for the property 'Detail' } /// - /// Test the property 'Details' + /// Test the property 'Fields' /// [Test] - public void DetailsTest() + public void FieldsTest() { - // TODO unit test for the property 'Details' + // TODO unit test for the property 'Fields' } } diff --git a/test/Model/InlineResponse4006DetailsTests.cs b/test/Model/InlineResponse4006DetailsTests.cs index 2e2584b7..ae57b7aa 100644 --- a/test/Model/InlineResponse4006DetailsTests.cs +++ b/test/Model/InlineResponse4006DetailsTests.cs @@ -65,20 +65,20 @@ public void InlineResponse4006DetailsInstanceTest() } /// - /// Test the property 'Location' + /// Test the property 'Field' /// [Test] - public void LocationTest() + public void FieldTest() { - // TODO unit test for the property 'Location' + // TODO unit test for the property 'Field' } /// - /// Test the property 'Message' + /// Test the property 'Reason' /// [Test] - public void MessageTest() + public void ReasonTest() { - // TODO unit test for the property 'Message' + // TODO unit test for the property 'Reason' } } diff --git a/test/Model/InlineResponse4006Tests.cs b/test/Model/InlineResponse4006Tests.cs index fc84603e..d2db13fe 100644 --- a/test/Model/InlineResponse4006Tests.cs +++ b/test/Model/InlineResponse4006Tests.cs @@ -65,28 +65,28 @@ public void InlineResponse4006InstanceTest() } /// - /// Test the property 'CorrelationId' + /// Test the property 'SubmitTimeUtc' /// [Test] - public void CorrelationIdTest() + public void SubmitTimeUtcTest() { - // TODO unit test for the property 'CorrelationId' + // TODO unit test for the property 'SubmitTimeUtc' } /// - /// Test the property 'Details' + /// Test the property 'Status' /// [Test] - public void DetailsTest() + public void StatusTest() { - // TODO unit test for the property 'Details' + // TODO unit test for the property 'Status' } /// - /// Test the property 'InformationLink' + /// Test the property 'Reason' /// [Test] - public void InformationLinkTest() + public void ReasonTest() { - // TODO unit test for the property 'InformationLink' + // TODO unit test for the property 'Reason' } /// /// Test the property 'Message' @@ -97,12 +97,12 @@ public void MessageTest() // TODO unit test for the property 'Message' } /// - /// Test the property 'Reason' + /// Test the property 'Details' /// [Test] - public void ReasonTest() + public void DetailsTest() { - // TODO unit test for the property 'Reason' + // TODO unit test for the property 'Details' } } diff --git a/test/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformationTests.cs b/test/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformationTests.cs index 1a626b76..c9ba8ecb 100644 --- a/test/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformationTests.cs +++ b/test/Model/PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformationTests.cs @@ -81,6 +81,14 @@ public void TransactionIdTest() // TODO unit test for the property 'TransactionId' } /// + /// Test the property 'NetworkTransactionId' + /// + [Test] + public void NetworkTransactionIdTest() + { + // TODO unit test for the property 'NetworkTransactionId' + } + /// /// Test the property 'ResponseCode' /// [Test] diff --git a/test/Model/Ptsv2paymentsidClientReferenceInformationTests.cs b/test/Model/Ptsv2paymentsidClientReferenceInformationTests.cs index b80ac83b..b6c6e8ad 100644 --- a/test/Model/Ptsv2paymentsidClientReferenceInformationTests.cs +++ b/test/Model/Ptsv2paymentsidClientReferenceInformationTests.cs @@ -104,6 +104,14 @@ public void ApplicationUserTest() { // TODO unit test for the property 'ApplicationUser' } + /// + /// Test the property 'TransactionId' + /// + [Test] + public void TransactionIdTest() + { + // TODO unit test for the property 'TransactionId' + } } diff --git a/test/Model/Riskv1authenticationsPaymentInformationCustomerTests.cs b/test/Model/Riskv1authenticationsPaymentInformationCustomerTests.cs new file mode 100644 index 00000000..0fb66440 --- /dev/null +++ b/test/Model/Riskv1authenticationsPaymentInformationCustomerTests.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 Riskv1authenticationsPaymentInformationCustomer + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Riskv1authenticationsPaymentInformationCustomerTests + { + // TODO uncomment below to declare an instance variable for Riskv1authenticationsPaymentInformationCustomer + //private Riskv1authenticationsPaymentInformationCustomer instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Riskv1authenticationsPaymentInformationCustomer + //instance = new Riskv1authenticationsPaymentInformationCustomer(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Riskv1authenticationsPaymentInformationCustomer + /// + [Test] + public void Riskv1authenticationsPaymentInformationCustomerInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Riskv1authenticationsPaymentInformationCustomer + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Riskv1authenticationsPaymentInformationCustomer"); + } + + /// + /// Test the property 'CustomerId' + /// + [Test] + public void CustomerIdTest() + { + // TODO unit test for the property 'CustomerId' + } + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + + } + +} diff --git a/test/Model/Riskv1decisionsConsumerAuthenticationInformationTests.cs b/test/Model/Riskv1decisionsConsumerAuthenticationInformationTests.cs index 26f168d1..fca201ed 100644 --- a/test/Model/Riskv1decisionsConsumerAuthenticationInformationTests.cs +++ b/test/Model/Riskv1decisionsConsumerAuthenticationInformationTests.cs @@ -129,14 +129,6 @@ public void TransactionFlowIndicatorTest() // TODO unit test for the property 'TransactionFlowIndicator' } /// - /// Test the property 'ChallengeCancelCode' - /// - [Test] - public void ChallengeCancelCodeTest() - { - // TODO unit test for the property 'ChallengeCancelCode' - } - /// /// Test the property 'ChallengeCode' /// [Test] diff --git a/test/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCardTests.cs b/test/Model/Tmsv2TokenizedCardCardTests.cs similarity index 71% rename from test/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCardTests.cs rename to test/Model/Tmsv2TokenizedCardCardTests.cs index b73e51bf..d5ef8981 100644 --- a/test/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardCardTests.cs +++ b/test/Model/Tmsv2TokenizedCardCardTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing TmsEmbeddedInstrumentIdentifierTokenizedCardCard + /// Class for testing Tmsv2TokenizedCardCard /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class TmsEmbeddedInstrumentIdentifierTokenizedCardCardTests + public class Tmsv2TokenizedCardCardTests { - // TODO uncomment below to declare an instance variable for TmsEmbeddedInstrumentIdentifierTokenizedCardCard - //private TmsEmbeddedInstrumentIdentifierTokenizedCardCard instance; + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardCard + //private Tmsv2TokenizedCardCard instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class TmsEmbeddedInstrumentIdentifierTokenizedCardCardTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of TmsEmbeddedInstrumentIdentifierTokenizedCardCard - //instance = new TmsEmbeddedInstrumentIdentifierTokenizedCardCard(); + // TODO uncomment below to create an instance of Tmsv2TokenizedCardCard + //instance = new Tmsv2TokenizedCardCard(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of TmsEmbeddedInstrumentIdentifierTokenizedCardCard + /// Test an instance of Tmsv2TokenizedCardCard /// [Test] - public void TmsEmbeddedInstrumentIdentifierTokenizedCardCardInstanceTest() + public void Tmsv2TokenizedCardCardInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" TmsEmbeddedInstrumentIdentifierTokenizedCardCard - //Assert.IsInstanceOfType (instance, "variable 'instance' is a TmsEmbeddedInstrumentIdentifierTokenizedCardCard"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardCard + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardCard"); } /// diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelfTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelfTests.cs new file mode 100644 index 00000000..56460f82 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelfTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelfTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + //private Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + //instance = new Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelfInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksSelf"); + } + + /// + /// Test the property 'Href' + /// + [Test] + public void HrefTest() + { + // TODO unit test for the property 'Href' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksTests.cs new file mode 100644 index 00000000..0085ef58 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + //private Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + //instance = new Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinksInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtBackgroundAssetLinks"); + } + + /// + /// Test the property 'Self' + /// + [Test] + public void SelfTest() + { + // TODO unit test for the property 'Self' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetTests.cs new file mode 100644 index 00000000..015fe16e --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtBackgroundAssetTests.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 Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtBackgroundAssetTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + //private Tmsv2TokenizedCardMetadataCardArtBackgroundAsset instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + //instance = new Tmsv2TokenizedCardMetadataCardArtBackgroundAsset(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtBackgroundAssetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtBackgroundAsset + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtBackgroundAsset"); + } + + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelfTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelfTests.cs new file mode 100644 index 00000000..f99476bd --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelfTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelfTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + //private Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + //instance = new Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelfInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksSelf"); + } + + /// + /// Test the property 'Href' + /// + [Test] + public void HrefTest() + { + // TODO unit test for the property 'Href' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksTests.cs new file mode 100644 index 00000000..1e36116f --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + //private Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + //instance = new Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinksInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetLinks"); + } + + /// + /// Test the property 'Self' + /// + [Test] + public void SelfTest() + { + // TODO unit test for the property 'Self' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetTests.cs new file mode 100644 index 00000000..3f248890 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetTests.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 Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + //private Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + //instance = new Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtBrandLogoAssetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtBrandLogoAsset"); + } + + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelfTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelfTests.cs new file mode 100644 index 00000000..67140cd5 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelfTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelfTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + //private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + //instance = new Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelfInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksSelf"); + } + + /// + /// Test the property 'Href' + /// + [Test] + public void HrefTest() + { + // TODO unit test for the property 'Href' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksTests.cs new file mode 100644 index 00000000..77795a45 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + //private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + //instance = new Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinksInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetLinks"); + } + + /// + /// Test the property 'Self' + /// + [Test] + public void SelfTest() + { + // TODO unit test for the property 'Self' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetTests.cs new file mode 100644 index 00000000..da62c02b --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetTests.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 Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset + //private Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset + //instance = new Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAssetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtCoBrandLogoAsset"); + } + + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelfTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelfTests.cs new file mode 100644 index 00000000..13d61b68 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelfTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelfTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + //private Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + //instance = new Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelfInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksSelf"); + } + + /// + /// Test the property 'Href' + /// + [Test] + public void HrefTest() + { + // TODO unit test for the property 'Href' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksTests.cs new file mode 100644 index 00000000..7660843b --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + //private Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + //instance = new Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinksInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtCombinedAssetLinks"); + } + + /// + /// Test the property 'Self' + /// + [Test] + public void SelfTest() + { + // TODO unit test for the property 'Self' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetTests.cs new file mode 100644 index 00000000..6a57ac43 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtCombinedAssetTests.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 Tmsv2TokenizedCardMetadataCardArtCombinedAsset + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtCombinedAssetTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtCombinedAsset + //private Tmsv2TokenizedCardMetadataCardArtCombinedAsset instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtCombinedAsset + //instance = new Tmsv2TokenizedCardMetadataCardArtCombinedAsset(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtCombinedAsset + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtCombinedAssetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtCombinedAsset + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtCombinedAsset"); + } + + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelfTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelfTests.cs new file mode 100644 index 00000000..2762eb33 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelfTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelfTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + //private Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + //instance = new Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelfInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtIconAssetLinksSelf"); + } + + /// + /// Test the property 'Href' + /// + [Test] + public void HrefTest() + { + // TODO unit test for the property 'Href' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksTests.cs new file mode 100644 index 00000000..210d67a9 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetLinksTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtIconAssetLinksTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + //private Tmsv2TokenizedCardMetadataCardArtIconAssetLinks instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + //instance = new Tmsv2TokenizedCardMetadataCardArtIconAssetLinks(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtIconAssetLinksInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtIconAssetLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtIconAssetLinks"); + } + + /// + /// Test the property 'Self' + /// + [Test] + public void SelfTest() + { + // TODO unit test for the property 'Self' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetTests.cs new file mode 100644 index 00000000..e85e380a --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtIconAssetTests.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 Tmsv2TokenizedCardMetadataCardArtIconAsset + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtIconAssetTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtIconAsset + //private Tmsv2TokenizedCardMetadataCardArtIconAsset instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtIconAsset + //instance = new Tmsv2TokenizedCardMetadataCardArtIconAsset(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtIconAsset + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtIconAssetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtIconAsset + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtIconAsset"); + } + + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelfTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelfTests.cs new file mode 100644 index 00000000..5575e49f --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelfTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelfTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf + //private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf + //instance = new Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelfInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksSelf"); + } + + /// + /// Test the property 'Href' + /// + [Test] + public void HrefTest() + { + // TODO unit test for the property 'Href' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksTests.cs new file mode 100644 index 00000000..a25a7285 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + //private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + //instance = new Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinksInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetLinks"); + } + + /// + /// Test the property 'Self' + /// + [Test] + public void SelfTest() + { + // TODO unit test for the property 'Self' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetTests.cs new file mode 100644 index 00000000..6c85d723 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetTests.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 Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset + //private Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset + //instance = new Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtIssuerLogoAssetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArtIssuerLogoAsset"); + } + + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataCardArtTests.cs b/test/Model/Tmsv2TokenizedCardMetadataCardArtTests.cs new file mode 100644 index 00000000..f2296fd9 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataCardArtTests.cs @@ -0,0 +1,126 @@ +/* + * 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 Tmsv2TokenizedCardMetadataCardArt + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataCardArtTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadataCardArt + //private Tmsv2TokenizedCardMetadataCardArt instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadataCardArt + //instance = new Tmsv2TokenizedCardMetadataCardArt(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadataCardArt + /// + [Test] + public void Tmsv2TokenizedCardMetadataCardArtInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadataCardArt + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadataCardArt"); + } + + /// + /// Test the property 'CombinedAsset' + /// + [Test] + public void CombinedAssetTest() + { + // TODO unit test for the property 'CombinedAsset' + } + /// + /// Test the property 'BrandLogoAsset' + /// + [Test] + public void BrandLogoAssetTest() + { + // TODO unit test for the property 'BrandLogoAsset' + } + /// + /// Test the property 'CoBrandLogoAsset' + /// + [Test] + public void CoBrandLogoAssetTest() + { + // TODO unit test for the property 'CoBrandLogoAsset' + } + /// + /// Test the property 'IssuerLogoAsset' + /// + [Test] + public void IssuerLogoAssetTest() + { + // TODO unit test for the property 'IssuerLogoAsset' + } + /// + /// Test the property 'IconAsset' + /// + [Test] + public void IconAssetTest() + { + // TODO unit test for the property 'IconAsset' + } + /// + /// Test the property 'ForegroundColor' + /// + [Test] + public void ForegroundColorTest() + { + // TODO unit test for the property 'ForegroundColor' + } + /// + /// Test the property 'BackgroundAsset' + /// + [Test] + public void BackgroundAssetTest() + { + // TODO unit test for the property 'BackgroundAsset' + } + + } + +} diff --git a/test/Model/Tmsv2TokenizedCardMetadataTests.cs b/test/Model/Tmsv2TokenizedCardMetadataTests.cs new file mode 100644 index 00000000..8b5c0665 --- /dev/null +++ b/test/Model/Tmsv2TokenizedCardMetadataTests.cs @@ -0,0 +1,78 @@ +/* + * 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 Tmsv2TokenizedCardMetadata + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2TokenizedCardMetadataTests + { + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCardMetadata + //private Tmsv2TokenizedCardMetadata instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2TokenizedCardMetadata + //instance = new Tmsv2TokenizedCardMetadata(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2TokenizedCardMetadata + /// + [Test] + public void Tmsv2TokenizedCardMetadataInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCardMetadata + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCardMetadata"); + } + + /// + /// Test the property 'CardArt' + /// + [Test] + public void CardArtTest() + { + // TODO unit test for the property 'CardArt' + } + + } + +} diff --git a/test/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardTests.cs b/test/Model/Tmsv2TokenizedCardTests.cs similarity index 83% rename from test/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardTests.cs rename to test/Model/Tmsv2TokenizedCardTests.cs index e7a55569..d83ddd5a 100644 --- a/test/Model/TmsEmbeddedInstrumentIdentifierTokenizedCardTests.cs +++ b/test/Model/Tmsv2TokenizedCardTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing TmsEmbeddedInstrumentIdentifierTokenizedCard + /// Class for testing Tmsv2TokenizedCard /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class TmsEmbeddedInstrumentIdentifierTokenizedCardTests + public class Tmsv2TokenizedCardTests { - // TODO uncomment below to declare an instance variable for TmsEmbeddedInstrumentIdentifierTokenizedCard - //private TmsEmbeddedInstrumentIdentifierTokenizedCard instance; + // TODO uncomment below to declare an instance variable for Tmsv2TokenizedCard + //private Tmsv2TokenizedCard instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class TmsEmbeddedInstrumentIdentifierTokenizedCardTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of TmsEmbeddedInstrumentIdentifierTokenizedCard - //instance = new TmsEmbeddedInstrumentIdentifierTokenizedCard(); + // TODO uncomment below to create an instance of Tmsv2TokenizedCard + //instance = new Tmsv2TokenizedCard(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of TmsEmbeddedInstrumentIdentifierTokenizedCard + /// Test an instance of Tmsv2TokenizedCard /// [Test] - public void TmsEmbeddedInstrumentIdentifierTokenizedCardInstanceTest() + public void Tmsv2TokenizedCardInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" TmsEmbeddedInstrumentIdentifierTokenizedCard - //Assert.IsInstanceOfType (instance, "variable 'instance' is a TmsEmbeddedInstrumentIdentifierTokenizedCard"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2TokenizedCard + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2TokenizedCard"); } /// @@ -152,6 +152,14 @@ public void CardTest() { // TODO unit test for the property 'Card' } + /// + /// Test the property 'Metadata' + /// + [Test] + public void MetadataTest() + { + // TODO unit test for the property 'Metadata' + } } diff --git a/test/cybersource-rest-client-dotnet.Test.csproj b/test/cybersource-rest-client-dotnet.Test.csproj index 171ce72a..f2b4ecd7 100644 --- a/test/cybersource-rest-client-dotnet.Test.csproj +++ b/test/cybersource-rest-client-dotnet.Test.csproj @@ -94,7 +94,7 @@ OpenAPI spec version: 0.0.1 - {1A3C7333-707C-4375-A6B7-4C743529A86F} + {38D4AFC8-DAAB-48CF-8FB2-B221B2EBF218} cybersource-rest-client-dotnet From 484329375284ecf4b03aeabdaf9d9503320f6cac Mon Sep 17 00:00:00 2001 From: monkumar Date: Thu, 19 Sep 2024 14:13:55 +0530 Subject: [PATCH 2/3] adding missing using statement --- Api/ReplayWebhooksApi.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Api/ReplayWebhooksApi.cs b/Api/ReplayWebhooksApi.cs index 728552d0..4f77219d 100644 --- a/Api/ReplayWebhooksApi.cs +++ b/Api/ReplayWebhooksApi.cs @@ -17,6 +17,7 @@ using NLog; using AuthenticationSdk.util; using CyberSource.Utilities.Tracking; +using CyberSource.Model; namespace CyberSource.Api { From 5c93fe876d61fedba8b2b15f2faf81e16a88960f Mon Sep 17 00:00:00 2001 From: monkumar Date: Wed, 25 Sep 2024 13:23:41 +0530 Subject: [PATCH 3/3] 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 b094aeb2..937e047a 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.45")] -[assembly: AssemblyFileVersion("0.0.1.45")] +[assembly: AssemblyVersion("0.0.1.46")] +[assembly: AssemblyFileVersion("0.0.1.46")] diff --git a/cybersource-rest-client-dotnet.nuspec b/cybersource-rest-client-dotnet.nuspec index b2606f99..f3044b54 100644 --- a/cybersource-rest-client-dotnet.nuspec +++ b/cybersource-rest-client-dotnet.nuspec @@ -2,7 +2,7 @@ CyberSource.Rest.Client - 0.0.1.45 + 0.0.1.46 CyberSource.Rest.Client CyberSource Corporation CyberSource