From a2d9c138294fffc5f397bd2ce05da41315d3f1f0 Mon Sep 17 00:00:00 2001 From: "Goel, Aastvik" Date: Thu, 13 Nov 2025 14:59:36 +0530 Subject: [PATCH 1/7] added JWT Utility and Caching --- .../AuthenticationSdk.csproj | 1 + .../AuthenticationSdk/util/Cache.cs | 27 +++ .../AuthenticationSdk/util/Constants.cs | 2 + .../AuthenticationSdk/util/JWTUtility.cs | 155 ++++++++++++++++++ 4 files changed, 185 insertions(+) create mode 100644 cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/JWTUtility.cs diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj index 09258205..2dff2cbb 100644 --- a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj @@ -36,6 +36,7 @@ + diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Cache.cs b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Cache.cs index 43517fd2..93898da6 100644 --- a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Cache.cs +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Cache.cs @@ -236,5 +236,32 @@ private static X509Certificate2Collection FetchCertificateCollectionFromP12File( //return all certs in p12 return certificates; } + + public static void AddPublicKeyToCache(string publickey, string runEnvironment, string kid) + { + // Construct cache key similar to PHP logic + string cacheKey = $"{Constants.PUBLIC_KEY_CACHE_IDENTIFIER}_{runEnvironment}_{kid}"; + + ObjectCache cache = MemoryCache.Default; + + var policy = new CacheItemPolicy(); + // Optionally, set expiration or change monitors if needed + + lock (mutex) + { + cache.Set(cacheKey, publickey, policy); + } + } + public static string GetPublicKeyFromCache(string runEnvironment, string keyId) + { + string cacheKey = $"{Constants.PUBLIC_KEY_CACHE_IDENTIFIER}_{runEnvironment}_{keyId}"; + ObjectCache cache = MemoryCache.Default; + + if (cache.Contains(cacheKey)) + { + return cache.Get(cacheKey) as string; + } + throw new Exception($"Public key not found in cache for [RunEnvironment: {runEnvironment}, KeyId: {keyId}]"); + } } } diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Constants.cs b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Constants.cs index 65861570..a16fa1eb 100644 --- a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Constants.cs +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Constants.cs @@ -51,5 +51,7 @@ public static class Constants public static readonly string MLE_CACHE_IDENTIFIER_FOR_CONFIG_CERT = "mleCertFromMerchantConfig"; public static readonly string MLE_CACHE_IDENTIFIER_FOR_P12_CERT = "mleCertFromP12"; + + public static readonly string PUBLIC_KEY_CACHE_IDENTIFIER = "FlexV2PublicKeys"; } } diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/JWTUtility.cs b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/JWTUtility.cs new file mode 100644 index 00000000..a455525a --- /dev/null +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/JWTUtility.cs @@ -0,0 +1,155 @@ +using System; +using System.Collections.Generic; +using System.Security.Cryptography; +using Jose; +using Microsoft.IdentityModel.Tokens; +using Newtonsoft.Json; + +namespace AuthenticationSdk.util +{ + public static class JWTUtility + { + + + /// + /// Parses a JWT token to verify its structure and decodes its payload, without performing signature validation. + /// This is useful for inspecting the token's claims before verifying its authenticity. + /// + /// The JWT token string to parse. + /// The JSON payload of the token as a string if the token is structurally valid. + /// Thrown if the token is null, empty, malformed, or not a valid JWT structure. + public static string Parse(string jwtToken) + { + if (string.IsNullOrWhiteSpace(jwtToken)) + { + throw new ArgumentException("JWT token cannot be null, empty, or whitespace.", nameof(jwtToken)); + } + + try + { + // The jose-jwt library's Payload method handles splitting the token and Base64Url decoding the payload part. + // It will throw an exception if the token does not have three parts or if the payload is not valid Base64Url. + string payloadJson = JWT.Payload(jwtToken); + + // The JWT specification requires the payload (Claims Set) to be a JSON object. + // We'll verify this to ensure the token is fully compliant. + try + { + JsonConvert.DeserializeObject(payloadJson); + } + catch (JsonException jsonEx) + { + throw new ArgumentException("Invalid JWT: The payload is not a valid JSON object.", jsonEx); + } + + // For completeness, we can also ensure the header is valid. JWT.Headers does this. + JWT.Headers(jwtToken); + + // If all checks pass, return the decoded payload. + return payloadJson; + } + catch (Exception ex) + { + // If the exception is one we already threw, don't re-wrap it. + if (ex is ArgumentException) + { + throw; + } + + // Catch exceptions from JWT.Payload() or JWT.Headers() (e.g., malformed token) + // and wrap them in a standard ArgumentException for consistency. + throw new ArgumentException("The provided string is not a structurally valid JWT.", nameof(jwtToken), ex); + } + } + + /// + /// Verifies a JWT token against a public key provided as a JWK string. + /// + /// The JWT token to verify. + /// The public key in JWK JSON format. + /// Returns true if the token is successfully verified. + /// + /// Throws an exception if verification fails due to an invalid signature, + /// a malformed token, a missing algorithm header, or other errors. + /// + public static bool VerifyJWT(string jwtValue, string publicKey) + { + try + { + // Step 1: Convert the JWK string into RSA parameters. + RSAParameters rsaParameters = ConvertJwkToRsaParameters(publicKey); + + // Step 2: Create an RSACryptoServiceProvider and import the public key. + var rsa = new RSACryptoServiceProvider(); + rsa.ImportParameters(rsaParameters); + + // Step 3: Dynamically determine the algorithm from the JWT's header. + var headers = JWT.Headers(jwtValue); + if (!headers.TryGetValue("alg", out var alg)) + { + throw new ArgumentException("JWT header is missing the 'alg' parameter."); + } + + string algStr = alg as string; + var supportedRsaAlgorithms = new[] { "RS256", "RS384", "RS512" }; + if (Array.IndexOf(supportedRsaAlgorithms, algStr) < 0) + { + throw new ArgumentException($"The algorithm in the JWT token is not RSA. Only {string.Join(", ", supportedRsaAlgorithms)} are supported."); + } + + // Parse the string algorithm into the JwsAlgorithm enum. + var jwsAlgorithm = (JwsAlgorithm)Enum.Parse(typeof(JwsAlgorithm), algStr); + + // Step 4: Decode and verify the token. + // The JWT.Decode method will perform signature validation and throw + // a Jose.IntegrityException if the signature is invalid. + JWT.Decode(jwtValue, rsa, jwsAlgorithm); + + // Step 5: If JWT.Decode completes without throwing an exception, verification is successful. + return true; + } + catch (JoseException ex) + { + // This will catch signature validation errors (IntegrityException) + // or other JWT-specific issues from the jose-jwt library. + // Re-throwing as a general exception to signal verification failure. + throw new Exception("JWT verification failed. See inner exception for details.", ex); + } + catch (Exception ex) + { + // This catches other potential errors, such as from JWK conversion + // or invalid algorithm parsing. + throw new Exception("An unexpected error occurred during JWT verification.", ex); + } + } + + /// + /// Converts a JSON Web Key (JWK) string into RSAParameters. + /// This method is designed for RSA public keys. + /// + /// The JWK in JSON string format. + /// An RSAParameters object containing the public key. + /// + /// Thrown if the JWK is invalid, not an RSA key, or missing required fields. + /// + private static RSAParameters ConvertJwkToRsaParameters(string jwkJson) + { + var jwk = JsonConvert.DeserializeObject>(jwkJson); + + if (jwk == null || !jwk.ContainsKey("kty") || jwk["kty"] != "RSA" || !jwk.ContainsKey("n") || !jwk.ContainsKey("e")) + { + throw new ArgumentException("Invalid JWK: Must be an RSA key with 'kty', 'n', and 'e' values."); + } + + // Use the standard library for Base64Url decoding + byte[] modulus = Base64UrlEncoder.DecodeBytes(jwk["n"]); + byte[] exponent = Base64UrlEncoder.DecodeBytes(jwk["e"]); + + return new RSAParameters + { + Modulus = modulus, + Exponent = exponent + }; + } + } +} \ No newline at end of file From 539e706c1fc203e4ce7bc57cb8dfc91b9434bda6 Mon Sep 17 00:00:00 2001 From: "Goel, Aastvik" Date: Thu, 13 Nov 2025 15:08:38 +0530 Subject: [PATCH 2/7] added CaptureContextParsing Util and related code --- .../CaptureContextParsingUtility.cs | 88 +++++++++++++++++++ .../CaptureContext/PublicKeyApiController.cs | 32 +++++++ ...cybersource-rest-client-netstandard.csproj | 1 + 3 files changed, 121 insertions(+) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/PublicKeyApiController.cs diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs new file mode 100644 index 00000000..fdcf8341 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs @@ -0,0 +1,88 @@ +using System; +using Newtonsoft.Json.Linq; +using CyberSource.Client; +using Jose; +using System.Threading.Tasks; +using AuthenticationSdk.util; + +namespace CyberSource.Utilities.CaptureContext +{ + public static class CaptureContextParsingUtility + { + public static JObject parseCaptureContextResponse(string jwtToken, Configuration config, bool verifyJWT) + { + // Parse JWT Token for any malformations + + JWTUtility.Parse(jwtToken); + if (!verifyJWT) + { + return JObject.Parse(JWT.Payload(jwtToken)); + } + // Extract 'kid' from JWT header + var header = JWT.Headers(jwtToken); + var kid = header.ContainsKey("kid") ? header["kid"].ToString() : null; + var runEnvironment = config.MerchantConfigDictionaryObj.ContainsKey("runEnvironment") ? config.MerchantConfigDictionaryObj["runEnvironment"] : Constants.HostName; + if (string.IsNullOrEmpty(kid)) + { + throw new Exception("JWT token does not contain 'kid' in header"); + } + + string publicKey = ""; + bool isPublicKeyFromCache = false; + bool isJWTVerified = false; + + try + { + publicKey = Cache.GetPublicKeyFromCache(runEnvironment, kid); + isPublicKeyFromCache = true; + } + catch (Exception) + { + publicKey = FetchPublicKeyFromApi(kid, runEnvironment).GetAwaiter().GetResult(); + } + + // After fetching publicKey (from cache or API), verify JWT signature + try + { + if (publicKey == null) + { + throw new Exception("Public key is null. No public key is available in the cache or could be retrieved from the API for the specified KID."); + } + + isJWTVerified = JWTUtility.VerifyJWT(jwtToken, publicKey); + } + catch (Exception) + { + if (isPublicKeyFromCache) + { + // Try to fetch fresh public key from API and re-verify + publicKey = FetchPublicKeyFromApi(kid, runEnvironment).GetAwaiter().GetResult(); + isJWTVerified = JWTUtility.VerifyJWT(jwtToken, publicKey); + } + } + + if (!isJWTVerified) + { + throw new Exception("JWT signature verification failed"); + } + + return JObject.Parse(JWT.Payload(jwtToken)); + } + + private static async Task FetchPublicKeyFromApi(string kid, string runEnvironment) + { + string publicKey = null; + try + { + publicKey = await PublicKeyApiController.FetchPublicKeyAsync(kid, runEnvironment); + } + catch + { + throw new Exception("Failed to fetch public key from API"); + } + + Cache.AddPublicKeyToCache(publicKey, runEnvironment, kid); + return publicKey; + } + } +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/PublicKeyApiController.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/PublicKeyApiController.cs new file mode 100644 index 00000000..fc16887e --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/PublicKeyApiController.cs @@ -0,0 +1,32 @@ +using System; +using System.Net.Http; +using System.Threading.Tasks; + +namespace CyberSource.Utilities.CaptureContext +{ + public static class PublicKeyApiController + { + /// + /// Fetches the public key JSON from the specified endpoint. + /// + /// The key ID. + /// The environment domain (e.g., "apitest.cybersource.com"). + /// JSON string of the public key. + public static async Task FetchPublicKeyAsync(string kid, string runEnvironment) + { + if (string.IsNullOrWhiteSpace(kid)) + throw new ArgumentException("Key ID (kid) must not be null or empty.", nameof(kid)); + if (string.IsNullOrWhiteSpace(runEnvironment)) + throw new ArgumentException("Run environment must not be null or empty.", nameof(runEnvironment)); + + var url = $"https://{runEnvironment}/flex/v2/public-keys/{kid}"; + + using (var client = new HttpClient()) + using (var response = await client.GetAsync(url).ConfigureAwait(false)) + { + response.EnsureSuccessStatusCode(); + return await response.Content.ReadAsStringAsync().ConfigureAwait(false); + } + } + } +} \ No newline at end of file diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj index aea48e0a..3466cbf1 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj @@ -26,6 +26,7 @@ + From 3a4bba931356c464cefb1b374b515c24babf7377 Mon Sep 17 00:00:00 2001 From: "Goel, Aastvik" Date: Wed, 19 Nov 2025 20:17:40 +0530 Subject: [PATCH 3/7] review comment changes --- .../AuthenticationSdk/util/JWTUtility.cs | 71 +++++++++++++------ .../util/jwtExceptions/InvalidJwkException.cs | 14 ++++ .../util/jwtExceptions/InvalidJwtException.cs | 14 ++++ .../JwtSignatureValidationException.cs | 14 ++++ .../CaptureContextParsingUtility.cs | 64 +++++++++++------ .../CaptureContext/PublicKeyApiController.cs | 24 +++++-- ...cybersource-rest-client-netstandard.csproj | 1 - 7 files changed, 149 insertions(+), 53 deletions(-) create mode 100644 cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/InvalidJwkException.cs create mode 100644 cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/InvalidJwtException.cs create mode 100644 cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/JwtSignatureValidationException.cs diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/JWTUtility.cs b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/JWTUtility.cs index a455525a..1937fa79 100644 --- a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/JWTUtility.cs +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/JWTUtility.cs @@ -4,6 +4,7 @@ using Jose; using Microsoft.IdentityModel.Tokens; using Newtonsoft.Json; +using AuthenticationSdk.util.jwtExceptions; namespace AuthenticationSdk.util { @@ -22,7 +23,7 @@ public static string Parse(string jwtToken) { if (string.IsNullOrWhiteSpace(jwtToken)) { - throw new ArgumentException("JWT token cannot be null, empty, or whitespace.", nameof(jwtToken)); + throw new InvalidJwtException("JWT token cannot be null, empty, or whitespace."); } try @@ -39,29 +40,29 @@ public static string Parse(string jwtToken) } catch (JsonException jsonEx) { - throw new ArgumentException("Invalid JWT: The payload is not a valid JSON object.", jsonEx); + throw new JsonException("Invalid JWT: The payload is not a valid JSON object.", jsonEx); } - // For completeness, we can also ensure the header is valid. JWT.Headers does this. - JWT.Headers(jwtToken); - // If all checks pass, return the decoded payload. return payloadJson; } + catch (JsonException) + { + // Rethrow JSON exceptions as they are. + throw; + } catch (Exception ex) { - // If the exception is one we already threw, don't re-wrap it. - if (ex is ArgumentException) - { - throw; - } - - // Catch exceptions from JWT.Payload() or JWT.Headers() (e.g., malformed token) - // and wrap them in a standard ArgumentException for consistency. - throw new ArgumentException("The provided string is not a structurally valid JWT.", nameof(jwtToken), ex); + // Catch exceptions from JWT.Payload() (e.g., malformed token) + throw new InvalidJwtException("The provided JWT is malformed.", ex); } } + public static IDictionary GetJwtHeaders(string jwtToken) + { + return JWT.Headers(jwtToken); + } + /// /// Verifies a JWT token against a public key provided as a JWK string. /// @@ -72,7 +73,16 @@ public static string Parse(string jwtToken) /// Throws an exception if verification fails due to an invalid signature, /// a malformed token, a missing algorithm header, or other errors. /// - public static bool VerifyJWT(string jwtValue, string publicKey) + /// + /// Thrown if verification fails due to an invalid signature, malformed token, missing algorithm header, or other errors. + /// + /// + /// Thrown if the JWT header is missing the 'alg' parameter or the algorithm is not supported. + /// + /// + /// Thrown if the JWK is invalid, not an RSA key, or missing required fields. + /// + public static bool VerifyJwt(string jwtValue, string publicKey) { try { @@ -113,13 +123,20 @@ public static bool VerifyJWT(string jwtValue, string publicKey) // This will catch signature validation errors (IntegrityException) // or other JWT-specific issues from the jose-jwt library. // Re-throwing as a general exception to signal verification failure. - throw new Exception("JWT verification failed. See inner exception for details.", ex); + throw new JwtSignatureValidationException("JWT verification failed. See inner exception for details.", ex); + } + catch (ArgumentException) + { + throw; + } + catch (InvalidJwkException) + { + throw; } catch (Exception ex) { - // This catches other potential errors, such as from JWK conversion - // or invalid algorithm parsing. - throw new Exception("An unexpected error occurred during JWT verification.", ex); + // This catches other potential errors, such as from JWK conversion or invalid algorithm parsing. + throw new JwtSignatureValidationException("An unexpected error occurred during JWT verification.", ex); } } @@ -129,16 +146,24 @@ public static bool VerifyJWT(string jwtValue, string publicKey) /// /// The JWK in JSON string format. /// An RSAParameters object containing the public key. - /// + /// /// Thrown if the JWK is invalid, not an RSA key, or missing required fields. /// private static RSAParameters ConvertJwkToRsaParameters(string jwkJson) { - var jwk = JsonConvert.DeserializeObject>(jwkJson); + Dictionary jwk; + try + { + jwk = JsonConvert.DeserializeObject>(jwkJson); + } + catch (JsonException ex) + { + throw new InvalidJwkException("Malformed JWK: Not valid JSON format", ex); + } if (jwk == null || !jwk.ContainsKey("kty") || jwk["kty"] != "RSA" || !jwk.ContainsKey("n") || !jwk.ContainsKey("e")) { - throw new ArgumentException("Invalid JWK: Must be an RSA key with 'kty', 'n', and 'e' values."); + throw new InvalidJwkException("Invalid JWK: Must be an RSA key with 'kty', 'n', and 'e' values."); } // Use the standard library for Base64Url decoding @@ -152,4 +177,4 @@ private static RSAParameters ConvertJwkToRsaParameters(string jwkJson) }; } } -} \ No newline at end of file +} diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/InvalidJwkException.cs b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/InvalidJwkException.cs new file mode 100644 index 00000000..e7124665 --- /dev/null +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/InvalidJwkException.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AuthenticationSdk.util.jwtExceptions +{ + public class InvalidJwkException : Exception + { + public InvalidJwkException(string message) : base(message) { } + public InvalidJwkException(string message, Exception cause) : base(message, cause) { } + } +} diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/InvalidJwtException.cs b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/InvalidJwtException.cs new file mode 100644 index 00000000..0f732f70 --- /dev/null +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/InvalidJwtException.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AuthenticationSdk.util.jwtExceptions +{ + public class InvalidJwtException : Exception + { + public InvalidJwtException(string message) : base(message) { } + public InvalidJwtException(string message, Exception cause) : base(message, cause) { } + } +} diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/JwtSignatureValidationException.cs b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/JwtSignatureValidationException.cs new file mode 100644 index 00000000..962b7cec --- /dev/null +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/jwtExceptions/JwtSignatureValidationException.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AuthenticationSdk.util.jwtExceptions +{ + public class JwtSignatureValidationException : Exception + { + public JwtSignatureValidationException(string message) : base(message) { } + public JwtSignatureValidationException(string message, Exception cause) : base(message, cause) { } + } +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs index fdcf8341..a67a0707 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs @@ -1,9 +1,10 @@ using System; using Newtonsoft.Json.Linq; using CyberSource.Client; -using Jose; +using CyberSource.Utilities.CaptureContext; using System.Threading.Tasks; using AuthenticationSdk.util; +using AuthenticationSdk.util.jwtExceptions; namespace CyberSource.Utilities.CaptureContext { @@ -13,20 +14,23 @@ public static JObject parseCaptureContextResponse(string jwtToken, Configuration { // Parse JWT Token for any malformations - JWTUtility.Parse(jwtToken); + string payLoad = JWTUtility.Parse(jwtToken); + var jsonPayLoad = JObject.Parse(payLoad); if (!verifyJWT) { - return JObject.Parse(JWT.Payload(jwtToken)); + return jsonPayLoad; } // Extract 'kid' from JWT header - var header = JWT.Headers(jwtToken); + + var header = JWTUtility.GetJwtHeaders(jwtToken); var kid = header.ContainsKey("kid") ? header["kid"].ToString() : null; - var runEnvironment = config.MerchantConfigDictionaryObj.ContainsKey("runEnvironment") ? config.MerchantConfigDictionaryObj["runEnvironment"] : Constants.HostName; if (string.IsNullOrEmpty(kid)) { throw new Exception("JWT token does not contain 'kid' in header"); } + var runEnvironment = config.MerchantConfigDictionaryObj.ContainsKey("runEnvironment") ? config.MerchantConfigDictionaryObj["runEnvironment"] : Constants.HostName; + string publicKey = ""; bool isPublicKeyFromCache = false; bool isJWTVerified = false; @@ -44,29 +48,44 @@ public static JObject parseCaptureContextResponse(string jwtToken, Configuration // After fetching publicKey (from cache or API), verify JWT signature try { - if (publicKey == null) + try { - throw new Exception("Public key is null. No public key is available in the cache or could be retrieved from the API for the specified KID."); + if (publicKey == null) + { + throw new Exception("Public key is null. No public key is available in the cache or could be retrieved from the API for the specified KID."); + } + + isJWTVerified = JWTUtility.VerifyJwt(jwtToken, publicKey); + } + catch (Exception) + { + if (isPublicKeyFromCache) + { + // Try to fetch fresh public key from API and re-verify + publicKey = FetchPublicKeyFromApi(kid, runEnvironment).GetAwaiter().GetResult(); + isJWTVerified = JWTUtility.VerifyJwt(jwtToken, publicKey); + } } - isJWTVerified = JWTUtility.VerifyJWT(jwtToken, publicKey); - } - catch (Exception) - { - if (isPublicKeyFromCache) + if (!isJWTVerified) { - // Try to fetch fresh public key from API and re-verify - publicKey = FetchPublicKeyFromApi(kid, runEnvironment).GetAwaiter().GetResult(); - isJWTVerified = JWTUtility.VerifyJWT(jwtToken, publicKey); + throw new JwtSignatureValidationException("JWT signature verification has failed"); } } - - if (!isJWTVerified) + catch (JwtSignatureValidationException) + { + throw; + } + catch (InvalidJwkException) + { + throw; + } + catch (Exception) { - throw new Exception("JWT signature verification failed"); + throw; } - return JObject.Parse(JWT.Payload(jwtToken)); + return jsonPayLoad; } private static async Task FetchPublicKeyFromApi(string kid, string runEnvironment) @@ -76,13 +95,14 @@ private static async Task FetchPublicKeyFromApi(string kid, string runEn { publicKey = await PublicKeyApiController.FetchPublicKeyAsync(kid, runEnvironment); } - catch + catch (Exception ex) { - throw new Exception("Failed to fetch public key from API"); + Console.WriteLine(ex); + throw; } Cache.AddPublicKeyToCache(publicKey, runEnvironment, kid); return publicKey; } } -} +} \ No newline at end of file diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/PublicKeyApiController.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/PublicKeyApiController.cs index fc16887e..c5a4ad49 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/PublicKeyApiController.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/PublicKeyApiController.cs @@ -1,13 +1,13 @@ using System; -using System.Net.Http; using System.Threading.Tasks; +using RestSharp; namespace CyberSource.Utilities.CaptureContext { public static class PublicKeyApiController { /// - /// Fetches the public key JSON from the specified endpoint. + /// Fetches the public key JSON from the specified endpoint using RestSharp. /// /// The key ID. /// The environment domain (e.g., "apitest.cybersource.com"). @@ -15,18 +15,28 @@ public static class PublicKeyApiController public static async Task FetchPublicKeyAsync(string kid, string runEnvironment) { if (string.IsNullOrWhiteSpace(kid)) + { throw new ArgumentException("Key ID (kid) must not be null or empty.", nameof(kid)); + } + if (string.IsNullOrWhiteSpace(runEnvironment)) + { throw new ArgumentException("Run environment must not be null or empty.", nameof(runEnvironment)); + } var url = $"https://{runEnvironment}/flex/v2/public-keys/{kid}"; - using (var client = new HttpClient()) - using (var response = await client.GetAsync(url).ConfigureAwait(false)) + var client = new RestClient(url); + var request = new RestRequest("", Method.Get); + + var response = await client.ExecuteAsync(request).ConfigureAwait(false); + + if (!response.IsSuccessful) { - response.EnsureSuccessStatusCode(); - return await response.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new InvalidOperationException($"Failed to fetch public key. Status: {response.StatusCode}, Error: {response.ErrorMessage}"); } + + return response.Content; } } -} \ No newline at end of file +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj index 3466cbf1..aea48e0a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj @@ -26,7 +26,6 @@ - From c0b753aca75749bc8fae67ed10113bdb122456e7 Mon Sep 17 00:00:00 2001 From: "Goel, Aastvik" Date: Mon, 24 Nov 2025 10:40:20 +0530 Subject: [PATCH 4/7] updated spec and generated code --- .../Api/BankAccountValidationApiTests.cs | 2 +- .../Api/BatchesApiTests.cs | 6 +- .../Api/CreateNewWebhooksApiTests.cs | 2 +- .../Api/DecisionManagerApiTests.cs | 2 +- .../Api/DeviceDeAssociationApiTests.cs | 2 +- .../Api/DeviceSearchApiTests.cs | 4 +- .../Api/ManageWebhooksApiTests.cs | 4 +- .../Api/MerchantBoardingApiTests.cs | 2 +- .../Api/MerchantDefinedFieldsApiTests.cs | 6 +- .../Api/OffersApiTests.cs | 2 +- .../Api/SubscriptionsApiTests.cs | 4 +- .../Api/TokenApiTests.cs | 2 +- .../Api/TokenizeApiTests.cs | 82 + .../Api/TokenizedCardApiTests.cs | 14 + .../Model/CreatePlanRequestTests.cs | 8 - .../Model/CreateSubscriptionResponseTests.cs | 8 + ...ifiedCheckoutCaptureContextRequestTests.cs | 8 + ...ResponseClientReferenceInformationTests.cs | 78 + ...SubscriptionsResponseSubscriptionsTests.cs | 8 + ...ionResponseReactivationInformationTests.cs | 12 +- .../Model/GetSubscriptionResponseTests.cs | 8 + ....cs => InlineResponse20010DevicesTests.cs} | 20 +- ...0010PaymentProcessorToTerminalMapTests.cs} | 20 +- .../Model/InlineResponse20010Tests.cs | 32 +- ...nlineResponse20011EmbeddedBatchesTests.cs} | 20 +- ...Response20011EmbeddedLinksReportsTests.cs} | 20 +- ... InlineResponse20011EmbeddedLinksTests.cs} | 20 +- ...cs => InlineResponse20011EmbeddedTests.cs} | 20 +- ...InlineResponse20011EmbeddedTotalsTests.cs} | 20 +- .../Model/InlineResponse20011LinksTests.cs | 12 +- .../Model/InlineResponse20011Tests.cs | 60 +- ....cs => InlineResponse20012BillingTests.cs} | 20 +- ...=> InlineResponse20012LinksReportTests.cs} | 20 +- ...ts.cs => InlineResponse20012LinksTests.cs} | 32 +- .../Model/InlineResponse20012Tests.cs | 42 +- ....cs => InlineResponse20013RecordsTests.cs} | 20 +- ...13ResponseRecordAdditionalUpdatesTests.cs} | 20 +- ...InlineResponse20013ResponseRecordTests.cs} | 20 +- ...> InlineResponse20013SourceRecordTests.cs} | 20 +- .../Model/InlineResponse20013Tests.cs | 72 +- .../Model/InlineResponse20014Tests.cs | 28 +- ...se20015ClientReferenceInformationTests.cs} | 20 +- .../Model/InlineResponse20015Tests.cs | 118 + ...s.cs => InlineResponse2001ContentTests.cs} | 20 +- .../Model/InlineResponse2001Tests.cs | 18 +- ...ponse2002EmbeddedCaptureLinksSelfTests.cs} | 20 +- ...eResponse2002EmbeddedCaptureLinksTests.cs} | 20 +- ...InlineResponse2002EmbeddedCaptureTests.cs} | 20 +- ...onse2002EmbeddedReversalLinksSelfTests.cs} | 20 +- ...Response2002EmbeddedReversalLinksTests.cs} | 20 +- ...nlineResponse2002EmbeddedReversalTests.cs} | 20 +- ....cs => InlineResponse2002EmbeddedTests.cs} | 20 +- .../Model/InlineResponse2002Tests.cs | 82 +- .../Model/InlineResponse2003Tests.cs | 82 +- ...onInformationTenantConfigurationsTests.cs} | 20 +- ...esponse2004IntegrationInformationTests.cs} | 20 +- .../Model/InlineResponse2004Tests.cs | 50 +- .../Model/InlineResponse2005Tests.cs | 90 +- .../Model/InlineResponse2006Tests.cs | 8 - .../Model/InlineResponse2007Tests.cs | 92 +- ...s.cs => InlineResponse2008DevicesTests.cs} | 20 +- .../Model/InlineResponse2008Tests.cs | 38 +- .../Model/InlineResponse2009Tests.cs | 38 +- .../Model/InlineResponse200DetailsTests.cs | 86 + .../Model/InlineResponse200ErrorsTests.cs | 94 + .../Model/InlineResponse200ResponsesTests.cs | 102 + .../Model/InlineResponse200Tests.cs | 30 +- .../InlineResponse2013SetupsPaymentsTests.cs | 8 + .../Model/PaymentsProductsTests.cs | 8 + ...stIssuerLifeCycleSimulationRequestTests.cs | 94 + .../Model/PostTokenizeRequestTests.cs | 86 + ...Ptsv2paymentsAggregatorInformationTests.cs | 8 + ...sv1plansClientReferenceInformationTests.cs | 110 - ...sClientReferenceInformationPartnerTests.cs | 86 - ...riptionsClientReferenceInformationTests.cs | 118 - ...hantInformationMerchantDescriptorTests.cs} | 26 +- ...ests.cs => TmsMerchantInformationTests.cs} | 26 +- ...chantInformationMerchantDescriptorTests.cs | 78 - ...ymentInstrumentMerchantInformationTests.cs | 78 - ...Tmsv2tokenizeProcessingInformationTests.cs | 86 + ...formationCustomerBuyerInformationTests.cs} | 20 +- ...CustomerClientReferenceInformationTests.cs | 78 + ...nCustomerDefaultPaymentInstrumentTests.cs} | 20 +- ...ionCustomerDefaultShippingAddressTests.cs} | 20 +- ...faultPaymentInstrumentBankAccountTests.cs} | 20 +- ...dedDefaultPaymentInstrumentBillToTests.cs} | 20 +- ...nstrumentBuyerInformationIssuedByTests.cs} | 20 +- ...InformationPersonalIdentificationTests.cs} | 20 +- ...PaymentInstrumentBuyerInformationTests.cs} | 20 +- ...eddedDefaultPaymentInstrumentCardTests.cs} | 20 +- ...nstrumentCardTokenizedInformationTests.cs} | 20 +- ...dDefaultPaymentInstrumentEmbeddedTests.cs} | 20 +- ...entInstrumentInstrumentIdentifierTests.cs} | 20 +- ...DefaultPaymentInstrumentLinksSelfTests.cs} | 20 +- ...ddedDefaultPaymentInstrumentLinksTests.cs} | 20 +- ...dDefaultPaymentInstrumentMetadataTests.cs} | 20 +- ...rEmbeddedDefaultPaymentInstrumentTests.cs} | 20 +- ...efaultShippingAddressLinksCustomerTests.cs | 78 + ...edDefaultShippingAddressLinksSelfTests.cs} | 20 +- ...beddedDefaultShippingAddressLinksTests.cs} | 20 +- ...dedDefaultShippingAddressMetadataTests.cs} | 20 +- ...eddedDefaultShippingAddressShipToTests.cs} | 20 +- ...merEmbeddedDefaultShippingAddressTests.cs} | 20 +- ...eTokenInformationCustomerEmbeddedTests.cs} | 20 +- ...onCustomerLinksPaymentInstrumentsTests.cs} | 20 +- ...TokenInformationCustomerLinksSelfTests.cs} | 20 +- ...ationCustomerLinksShippingAddressTests.cs} | 20 +- ...nizeTokenInformationCustomerLinksTests.cs} | 20 +- ...ustomerMerchantDefinedInformationTests.cs} | 20 +- ...eTokenInformationCustomerMetadataTests.cs} | 20 +- ...ormationCustomerObjectInformationTests.cs} | 20 +- ...v2tokenizeTokenInformationCustomerTests.cs | 150 + .../Tmsv2tokenizeTokenInformationTests.cs | 118 + ...ssuerlifecycleeventsimulationsCardTests.cs | 94 + ...ationsMetadataCardArtCombinedAssetTests.cs | 78 + ...cleeventsimulationsMetadataCardArtTests.cs | 78 + ...rlifecycleeventsimulationsMetadataTests.cs | 78 + ...apturecontextsDataBuyerInformationTests.cs | 16 + ...aConsumerAuthenticationInformationTests.cs | 8 + ...pturecontextsDataDeviceInformationTests.cs | 78 + ...chantInformationMerchantDescriptorTests.cs | 56 + ...InformationAmountDetailsTaxDetailsTests.cs | 86 + ...sDataOrderInformationAmountDetailsTests.cs | 8 + ...DataOrderInformationInvoiceDetailsTests.cs | 86 + ...apturecontextsDataOrderInformationTests.cs | 8 + ...contextsDataPaymentInformationCardTests.cs | 78 + ...turecontextsDataPaymentInformationTests.cs | 78 + ...ingInformationAuthorizationOptionsTests.cs | 40 + ...recontextsDataRecipientInformationTests.cs | 16 + .../Model/Upv1capturecontextsDataTests.cs | 16 + .../Api/BankAccountValidationApi.cs | 44 +- .../Api/BatchesApi.cs | 132 +- .../Api/CreateNewWebhooksApi.cs | 44 +- .../Api/CustomerApi.cs | 8 +- .../Api/CustomerPaymentInstrumentApi.cs | 8 +- .../Api/CustomerShippingAddressApi.cs | 8 +- .../Api/DecisionManagerApi.cs | 44 +- .../Api/DeviceDeAssociationApi.cs | 44 +- .../Api/DeviceSearchApi.cs | 88 +- .../Api/InstrumentIdentifierApi.cs | 12 +- .../Api/ManageWebhooksApi.cs | 88 +- .../Api/MerchantBoardingApi.cs | 44 +- .../Api/MerchantDefinedFieldsApi.cs | 132 +- .../Api/OffersApi.cs | 44 +- .../Api/PaymentInstrumentApi.cs | 8 +- .../Api/SubscriptionsApi.cs | 84 +- .../Api/TokenApi.cs | 48 +- .../Api/TokenizeApi.cs | 449 + .../Api/TokenizedCardApi.cs | 316 +- .../Model/CreatePlanRequest.cs | 18 +- .../Model/CreateSubscriptionRequest.cs | 4 +- .../Model/CreateSubscriptionRequest1.cs | 4 +- .../Model/CreateSubscriptionResponse.cs | 18 +- ...ateUnifiedCheckoutCaptureContextRequest.cs | 25 +- ...tionsResponseClientReferenceInformation.cs | 129 + ...etAllSubscriptionsResponseSubscriptions.cs | 18 +- .../Model/GetSubscriptionResponse.cs | 18 +- ...tSubscriptionResponse1PaymentInstrument.cs | 4 +- ...ponse1PaymentInstrumentBuyerInformation.cs | 4 +- ...GetSubscriptionResponse1ShippingAddress.cs | 4 +- ...criptionResponseReactivationInformation.cs | 46 +- .../Model/InlineResponse200.cs | 78 +- .../Model/InlineResponse2001.cs | 81 +- .../Model/InlineResponse20010.cs | 110 +- ...vices.cs => InlineResponse20010Devices.cs} | 20 +- ...onse20010PaymentProcessorToTerminalMap.cs} | 16 +- .../Model/InlineResponse20011.cs | 191 +- ...dded.cs => InlineResponse20011Embedded.cs} | 20 +- ... => InlineResponse20011EmbeddedBatches.cs} | 22 +- ...cs => InlineResponse20011EmbeddedLinks.cs} | 20 +- ...nlineResponse20011EmbeddedLinksReports.cs} | 16 +- ...s => InlineResponse20011EmbeddedTotals.cs} | 18 +- .../Model/InlineResponse20011Links.cs | 47 +- .../Model/InlineResponse20012.cs | 142 +- ...lling.cs => InlineResponse20012Billing.cs} | 18 +- .../Model/InlineResponse20012Links.cs | 144 + ...t.cs => InlineResponse20012LinksReport.cs} | 18 +- .../Model/InlineResponse20013.cs | 193 +- ...cords.cs => InlineResponse20013Records.cs} | 22 +- ...s => InlineResponse20013ResponseRecord.cs} | 20 +- ...se20013ResponseRecordAdditionalUpdates.cs} | 18 +- ....cs => InlineResponse20013SourceRecord.cs} | 18 +- .../Model/InlineResponse20014.cs | 94 +- .../Model/InlineResponse20015.cs | 216 + ...esponse20015ClientReferenceInformation.cs} | 18 +- ...ontent.cs => InlineResponse2001Content.cs} | 18 +- .../Model/InlineResponse2002.cs | 205 +- ...edded.cs => InlineResponse2002Embedded.cs} | 20 +- ...s => InlineResponse2002EmbeddedCapture.cs} | 18 +- ...InlineResponse2002EmbeddedCaptureLinks.cs} | 18 +- ...neResponse2002EmbeddedCaptureLinksSelf.cs} | 16 +- ... => InlineResponse2002EmbeddedReversal.cs} | 18 +- ...nlineResponse2002EmbeddedReversalLinks.cs} | 18 +- ...eResponse2002EmbeddedReversalLinksSelf.cs} | 16 +- .../Model/InlineResponse2003.cs | 236 +- .../Model/InlineResponse2004.cs | 134 +- ...lineResponse2004IntegrationInformation.cs} | 20 +- ...grationInformationTenantConfigurations.cs} | 18 +- .../Model/InlineResponse2005.cs | 239 +- .../Model/InlineResponse2006.cs | 19 +- .../Model/InlineResponse2007.cs | 278 +- .../Model/InlineResponse2008.cs | 101 +- ...evices.cs => InlineResponse2008Devices.cs} | 18 +- .../Model/InlineResponse2009.cs | 101 +- ...10Links.cs => InlineResponse200Details.cs} | 62 +- .../Model/InlineResponse200Errors.cs | 160 + .../Model/InlineResponse200Responses.cs | 179 + .../Model/InlineResponse2013SetupsPayments.cs | 18 +- .../PatchCustomerPaymentInstrumentRequest.cs | 20 +- .../Model/PatchCustomerRequest.cs | 20 +- .../PatchCustomerShippingAddressRequest.cs | 8 +- .../Model/PatchPaymentInstrumentRequest.cs | 20 +- ...strumentList1EmbeddedPaymentInstruments.cs | 18 +- .../Model/PaymentInstrumentListEmbedded.cs | 2 +- .../Model/PaymentsProducts.cs | 18 +- .../PostCustomerPaymentInstrumentRequest.cs | 20 +- .../Model/PostCustomerRequest.cs | 20 +- .../PostCustomerShippingAddressRequest.cs | 8 +- .../PostIssuerLifeCycleSimulationRequest.cs | 161 + .../Model/PostPaymentInstrumentRequest.cs | 20 +- .../Model/PostTokenizeRequest.cs | 144 + .../Ptsv2paymentsAggregatorInformation.cs | 19 +- .../Rbsv1plansClientReferenceInformation.cs | 196 - ...subscriptionsClientReferenceInformation.cs | 213 - ...ptionsClientReferenceInformationPartner.cs | 146 - .../ShippingAddressListForCustomerEmbedded.cs | 2 +- ...formation.cs => TmsMerchantInformation.cs} | 20 +- ...sMerchantInformationMerchantDescriptor.cs} | 18 +- .../Tmsv2tokenizeProcessingInformation.cs | 146 + .../Model/Tmsv2tokenizeTokenInformation.cs | 210 + .../Tmsv2tokenizeTokenInformationCustomer.cs | 274 + ...kenInformationCustomerBuyerInformation.cs} | 18 +- ...tionCustomerClientReferenceInformation.cs} | 18 +- ...mationCustomerDefaultPaymentInstrument.cs} | 18 +- ...ormationCustomerDefaultShippingAddress.cs} | 18 +- ...kenizeTokenInformationCustomerEmbedded.cs} | 20 +- ...stomerEmbeddedDefaultPaymentInstrument.cs} | 36 +- ...dedDefaultPaymentInstrumentBankAccount.cs} | 18 +- ...EmbeddedDefaultPaymentInstrumentBillTo.cs} | 18 +- ...faultPaymentInstrumentBuyerInformation.cs} | 20 +- ...mentInstrumentBuyerInformationIssuedBy.cs} | 18 +- ...BuyerInformationPersonalIdentification.cs} | 20 +- ...erEmbeddedDefaultPaymentInstrumentCard.cs} | 20 +- ...mentInstrumentCardTokenizedInformation.cs} | 18 +- ...beddedDefaultPaymentInstrumentEmbedded.cs} | 16 +- ...tPaymentInstrumentInstrumentIdentifier.cs} | 18 +- ...rEmbeddedDefaultPaymentInstrumentLinks.cs} | 22 +- ...eddedDefaultPaymentInstrumentLinksSelf.cs} | 18 +- ...beddedDefaultPaymentInstrumentMetadata.cs} | 18 +- ...CustomerEmbeddedDefaultShippingAddress.cs} | 24 +- ...merEmbeddedDefaultShippingAddressLinks.cs} | 22 +- ...dedDefaultShippingAddressLinksCustomer.cs} | 18 +- ...mbeddedDefaultShippingAddressLinksSelf.cs} | 18 +- ...EmbeddedDefaultShippingAddressMetadata.cs} | 18 +- ...erEmbeddedDefaultShippingAddressShipTo.cs} | 18 +- ...2tokenizeTokenInformationCustomerLinks.cs} | 24 +- ...rmationCustomerLinksPaymentInstruments.cs} | 18 +- ...enizeTokenInformationCustomerLinksSelf.cs} | 18 +- ...nformationCustomerLinksShippingAddress.cs} | 18 +- ...tionCustomerMerchantDefinedInformation.cs} | 18 +- ...kenizeTokenInformationCustomerMetadata.cs} | 18 +- ...enInformationCustomerObjectInformation.cs} | 18 +- ...rdIdissuerlifecycleeventsimulationsCard.cs | 163 + ...issuerlifecycleeventsimulationsMetadata.cs | 128 + ...ifecycleeventsimulationsMetadataCardArt.cs | 128 + ...simulationsMetadataCardArtCombinedAsset.cs | 129 + .../Model/UpdateSubscription.cs | 4 +- .../Model/Upv1capturecontextsData.cs | 34 +- ...Upv1capturecontextsDataBuyerInformation.cs | 46 +- ...aBuyerInformationPersonalIdentification.cs | 5 +- ...tsDataClientReferenceInformationPartner.cs | 2 +- ...tsDataConsumerAuthenticationInformation.cs | 29 +- ...pv1capturecontextsDataDeviceInformation.cs | 129 + ...taMerchantInformationMerchantDescriptor.cs | 121 +- ...Upv1capturecontextsDataOrderInformation.cs | 18 +- ...ntextsDataOrderInformationAmountDetails.cs | 18 +- ...OrderInformationAmountDetailsTaxDetails.cs | 146 + ...textsDataOrderInformationInvoiceDetails.cs | 146 + ...recontextsDataOrderInformationLineItems.cs | 150 +- ...sDataOrderInformationLineItemsPassenger.cs | 40 +- ...DataOrderInformationLineItemsTaxDetails.cs | 35 +- ...v1capturecontextsDataPaymentInformation.cs | 128 + ...pturecontextsDataPaymentInformationCard.cs | 129 + ...apturecontextsDataProcessingInformation.cs | 5 +- ...ocessingInformationAuthorizationOptions.cs | 97 +- ...nformationAuthorizationOptionsInitiator.cs | 5 +- ...capturecontextsDataRecipientInformation.cs | 36 +- .../Upv1capturecontextsOrderInformation.cs | 2 +- .../docs/BankAccountValidationApi.md | 6 +- .../docs/BatchesApi.md | 18 +- .../docs/CreateNewWebhooksApi.md | 6 +- .../docs/CreatePlanRequest.md | 1 - .../docs/CreateSubscriptionRequest.md | 2 +- .../docs/CreateSubscriptionRequest1.md | 2 +- .../docs/CreateSubscriptionResponse.md | 1 + .../docs/DecisionManagerApi.md | 6 +- .../docs/DeviceDeAssociationApi.md | 6 +- .../docs/DeviceSearchApi.md | 12 +- ...ateUnifiedCheckoutCaptureContextRequest.md | 3 +- ...tionsResponseClientReferenceInformation.md | 9 + ...etAllSubscriptionsResponseSubscriptions.md | 1 + .../docs/GetSubscriptionResponse.md | 1 + ...tSubscriptionResponse1PaymentInstrument.md | 2 +- ...ponse1PaymentInstrumentBuyerInformation.md | 2 +- ...GetSubscriptionResponse1ShippingAddress.md | 2 +- ...criptionResponseReactivationInformation.md | 4 +- .../docs/InlineResponse200.md | 5 +- .../docs/InlineResponse2001.md | 8 +- .../docs/InlineResponse20010.md | 13 +- ...vices.md => InlineResponse20010Devices.md} | 4 +- ...onse20010PaymentProcessorToTerminalMap.md} | 2 +- .../docs/InlineResponse20011.md | 17 +- ...dded.md => InlineResponse20011Embedded.md} | 4 +- ... => InlineResponse20011EmbeddedBatches.md} | 6 +- ...md => InlineResponse20011EmbeddedLinks.md} | 4 +- ...nlineResponse20011EmbeddedLinksReports.md} | 2 +- ...d => InlineResponse20011EmbeddedTotals.md} | 2 +- .../docs/InlineResponse20011Links.md | 4 +- .../docs/InlineResponse20012.md | 14 +- ...lling.md => InlineResponse20012Billing.md} | 2 +- .../docs/InlineResponse20012Links.md | 10 + ...t.md => InlineResponse20012LinksReport.md} | 2 +- .../docs/InlineResponse20013.md | 14 +- ...cords.md => InlineResponse20013Records.md} | 6 +- ...d => InlineResponse20013ResponseRecord.md} | 4 +- ...se20013ResponseRecordAdditionalUpdates.md} | 2 +- ....md => InlineResponse20013SourceRecord.md} | 2 +- .../docs/InlineResponse20014.md | 10 +- .../docs/InlineResponse20015.md | 14 + ...esponse20015ClientReferenceInformation.md} | 2 +- ...ontent.md => InlineResponse2001Content.md} | 2 +- .../docs/InlineResponse2001Embedded.md | 10 - .../InlineResponse2001EmbeddedCaptureLinks.md | 9 - ...InlineResponse2001EmbeddedReversalLinks.md | 9 - .../docs/InlineResponse2002.md | 16 +- .../docs/InlineResponse2002Embedded.md | 10 + ...d => InlineResponse2002EmbeddedCapture.md} | 4 +- ...InlineResponse2002EmbeddedCaptureLinks.md} | 5 +- ...neResponse2002EmbeddedCaptureLinksSelf.md} | 2 +- ... => InlineResponse2002EmbeddedReversal.md} | 4 +- ...InlineResponse2002EmbeddedReversalLinks.md | 9 + ...eResponse2002EmbeddedReversalLinksSelf.md} | 2 +- .../docs/InlineResponse2003.md | 19 +- .../docs/InlineResponse2004.md | 10 +- ...lineResponse2004IntegrationInformation.md} | 4 +- ...grationInformationTenantConfigurations.md} | 2 +- .../docs/InlineResponse2005.md | 15 +- .../docs/InlineResponse2006.md | 1 - .../docs/InlineResponse2007.md | 19 +- .../docs/InlineResponse2008.md | 8 +- ...evices.md => InlineResponse2008Devices.md} | 2 +- .../docs/InlineResponse2009.md | 8 +- .../docs/InlineResponse200Details.md | 10 + .../docs/InlineResponse200Errors.md | 11 + .../docs/InlineResponse200Responses.md | 12 + .../docs/InlineResponse2013SetupsPayments.md | 1 + .../docs/ManageWebhooksApi.md | 12 +- .../docs/MerchantBoardingApi.md | 6 +- .../docs/MerchantDefinedFieldsApi.md | 18 +- .../docs/OffersApi.md | 6 +- .../PatchCustomerPaymentInstrumentRequest.md | 18 +- .../docs/PatchCustomerRequest.md | 18 +- .../PatchCustomerShippingAddressRequest.md | 6 +- .../docs/PatchPaymentInstrumentRequest.md | 18 +- ...strumentList1EmbeddedPaymentInstruments.md | 16 +- .../docs/PaymentInstrumentListEmbedded.md | 2 +- .../docs/PaymentsProducts.md | 1 + .../PostCustomerPaymentInstrumentRequest.md | 18 +- .../docs/PostCustomerRequest.md | 18 +- .../PostCustomerShippingAddressRequest.md | 6 +- .../PostIssuerLifeCycleSimulationRequest.md | 11 + .../docs/PostPaymentInstrumentRequest.md | 18 +- .../docs/PostTokenizeRequest.md | 10 + .../Ptsv2paymentsAggregatorInformation.md | 1 + .../Rbsv1plansClientReferenceInformation.md | 13 - ...subscriptionsClientReferenceInformation.md | 14 - ...ptionsClientReferenceInformationPartner.md | 10 - .../ShippingAddressListForCustomerEmbedded.md | 2 +- .../docs/SubscriptionsApi.md | 18 +- .../docs/TmsMerchantInformation.md | 9 + ...sMerchantInformationMerchantDescriptor.md} | 2 +- .../docs/Tmsv2customersEmbedded.md | 10 - ...stomersEmbeddedDefaultPaymentInstrument.md | 23 - ...rsEmbeddedDefaultPaymentInstrumentLinks.md | 10 - ...ultPaymentInstrumentMerchantInformation.md | 9 - ...customersEmbeddedDefaultShippingAddress.md | 13 - ...mersEmbeddedDefaultShippingAddressLinks.md | 10 - .../docs/Tmsv2customersLinks.md | 11 - .../Tmsv2tokenizeProcessingInformation.md | 10 + .../docs/Tmsv2tokenizeTokenInformation.md | 14 + .../Tmsv2tokenizeTokenInformationCustomer.md | 18 + ...kenInformationCustomerBuyerInformation.md} | 2 +- ...tionCustomerClientReferenceInformation.md} | 2 +- ...mationCustomerDefaultPaymentInstrument.md} | 2 +- ...ormationCustomerDefaultShippingAddress.md} | 2 +- ...okenizeTokenInformationCustomerEmbedded.md | 10 + ...ustomerEmbeddedDefaultPaymentInstrument.md | 23 + ...dedDefaultPaymentInstrumentBankAccount.md} | 2 +- ...EmbeddedDefaultPaymentInstrumentBillTo.md} | 2 +- ...faultPaymentInstrumentBuyerInformation.md} | 4 +- ...mentInstrumentBuyerInformationIssuedBy.md} | 2 +- ...BuyerInformationPersonalIdentification.md} | 4 +- ...erEmbeddedDefaultPaymentInstrumentCard.md} | 4 +- ...mentInstrumentCardTokenizedInformation.md} | 2 +- ...beddedDefaultPaymentInstrumentEmbedded.md} | 2 +- ...tPaymentInstrumentInstrumentIdentifier.md} | 2 +- ...erEmbeddedDefaultPaymentInstrumentLinks.md | 10 + ...eddedDefaultPaymentInstrumentLinksSelf.md} | 2 +- ...beddedDefaultPaymentInstrumentMetadata.md} | 2 +- ...nCustomerEmbeddedDefaultShippingAddress.md | 13 + ...omerEmbeddedDefaultShippingAddressLinks.md | 10 + ...dedDefaultShippingAddressLinksCustomer.md} | 2 +- ...mbeddedDefaultShippingAddressLinksSelf.md} | 2 +- ...EmbeddedDefaultShippingAddressMetadata.md} | 2 +- ...erEmbeddedDefaultShippingAddressShipTo.md} | 2 +- ...v2tokenizeTokenInformationCustomerLinks.md | 11 + ...rmationCustomerLinksPaymentInstruments.md} | 2 +- ...enizeTokenInformationCustomerLinksSelf.md} | 2 +- ...nformationCustomerLinksShippingAddress.md} | 2 +- ...tionCustomerMerchantDefinedInformation.md} | 2 +- ...kenizeTokenInformationCustomerMetadata.md} | 2 +- ...enInformationCustomerObjectInformation.md} | 2 +- ...rdIdissuerlifecycleeventsimulationsCard.md | 11 + ...issuerlifecycleeventsimulationsMetadata.md | 9 + ...ifecycleeventsimulationsMetadataCardArt.md | 9 + ...simulationsMetadataCardArtCombinedAsset.md | 9 + .../docs/TokenApi.md | 6 +- .../docs/TokenizeApi.md | 72 + .../docs/TokenizedCardApi.md | 65 + .../docs/UpdateSubscription.md | 2 +- .../docs/Upv1capturecontextsData.md | 2 + ...Upv1capturecontextsDataBuyerInformation.md | 6 +- ...aBuyerInformationPersonalIdentification.md | 2 +- ...tsDataConsumerAuthenticationInformation.md | 5 +- ...pv1capturecontextsDataDeviceInformation.md | 9 + ...taMerchantInformationMerchantDescriptor.md | 7 + ...Upv1capturecontextsDataOrderInformation.md | 1 + ...ntextsDataOrderInformationAmountDetails.md | 1 + ...OrderInformationAmountDetailsTaxDetails.md | 10 + ...textsDataOrderInformationInvoiceDetails.md | 10 + ...recontextsDataOrderInformationLineItems.md | 60 +- ...sDataOrderInformationLineItemsPassenger.md | 16 +- ...DataOrderInformationLineItemsTaxDetails.md | 14 +- ...v1capturecontextsDataPaymentInformation.md | 9 + ...pturecontextsDataPaymentInformationCard.md | 9 + ...apturecontextsDataProcessingInformation.md | 2 +- ...ocessingInformationAuthorizationOptions.md | 9 +- ...nformationAuthorizationOptionsInitiator.md | 2 +- ...capturecontextsDataRecipientInformation.md | 2 + .../cybersource-rest-spec-netstandard.json | 7494 ++++++++++++++--- .../generator/cybersource-rest-spec.json | 7494 ++++++++++++++--- 451 files changed, 23169 insertions(+), 7464 deletions(-) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizeApiTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetAllSubscriptionsResponseClientReferenceInformationTests.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2009DevicesTests.cs => InlineResponse20010DevicesTests.cs} (88%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2009PaymentProcessorToTerminalMapTests.cs => InlineResponse20010PaymentProcessorToTerminalMapTests.cs} (68%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20010EmbeddedBatchesTests.cs => InlineResponse20011EmbeddedBatchesTests.cs} (86%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20010EmbeddedLinksReportsTests.cs => InlineResponse20011EmbeddedLinksReportsTests.cs} (73%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20010EmbeddedLinksTests.cs => InlineResponse20011EmbeddedLinksTests.cs} (72%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20010EmbeddedTests.cs => InlineResponse20011EmbeddedTests.cs} (73%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20010EmbeddedTotalsTests.cs => InlineResponse20011EmbeddedTotalsTests.cs} (82%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20011BillingTests.cs => InlineResponse20012BillingTests.cs} (79%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20011LinksReportTests.cs => InlineResponse20012LinksReportTests.cs} (72%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20010LinksTests.cs => InlineResponse20012LinksTests.cs} (65%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20012RecordsTests.cs => InlineResponse20013RecordsTests.cs} (78%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20012ResponseRecordAdditionalUpdatesTests.cs => InlineResponse20013ResponseRecordAdditionalUpdatesTests.cs} (79%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20012ResponseRecordTests.cs => InlineResponse20013ResponseRecordTests.cs} (86%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20012SourceRecordTests.cs => InlineResponse20013SourceRecordTests.cs} (84%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse20014ClientReferenceInformationTests.cs => InlineResponse20015ClientReferenceInformationTests.cs} (80%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20015Tests.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse200ContentTests.cs => InlineResponse2001ContentTests.cs} (79%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2001EmbeddedCaptureLinksSelfTests.cs => InlineResponse2002EmbeddedCaptureLinksSelfTests.cs} (75%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2001EmbeddedCaptureLinksTests.cs => InlineResponse2002EmbeddedCaptureLinksTests.cs} (73%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2001EmbeddedCaptureTests.cs => InlineResponse2002EmbeddedCaptureTests.cs} (74%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2001EmbeddedReversalLinksSelfTests.cs => InlineResponse2002EmbeddedReversalLinksSelfTests.cs} (74%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2001EmbeddedReversalLinksTests.cs => InlineResponse2002EmbeddedReversalLinksTests.cs} (73%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2001EmbeddedReversalTests.cs => InlineResponse2002EmbeddedReversalTests.cs} (76%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2001EmbeddedTests.cs => InlineResponse2002EmbeddedTests.cs} (76%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2003IntegrationInformationTenantConfigurationsTests.cs => InlineResponse2004IntegrationInformationTenantConfigurationsTests.cs} (79%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2003IntegrationInformationTests.cs => InlineResponse2004IntegrationInformationTests.cs} (75%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{InlineResponse2007DevicesTests.cs => InlineResponse2008DevicesTests.cs} (85%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200DetailsTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ErrorsTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ResponsesTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PostIssuerLifeCycleSimulationRequestTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PostTokenizeRequestTests.cs delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1plansClientReferenceInformationTests.cs delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1subscriptionsClientReferenceInformationPartnerTests.cs delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1subscriptionsClientReferenceInformationTests.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersClientReferenceInformationTests.cs => TmsMerchantInformationMerchantDescriptorTests.cs} (62%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersLinksSelfTests.cs => TmsMerchantInformationTests.cs} (67%) delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptorTests.cs delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeProcessingInformationTests.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersBuyerInformationTests.cs => Tmsv2tokenizeTokenInformationCustomerBuyerInformationTests.cs} (67%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformationTests.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersDefaultPaymentInstrumentTests.cs => Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrumentTests.cs} (61%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersDefaultShippingAddressTests.cs => Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddressTests.cs} (62%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccountTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccountTests.cs} (57%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBillToTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillToTests.cs} (77%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests.cs} (56%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests.cs} (58%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationTests.cs} (65%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTests.cs} (75%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests.cs} (59%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbeddedTests.cs} (59%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests.cs} (56%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelfTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelfTests.cs} (58%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksTests.cs} (62%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadataTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadataTests.cs} (58%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentTests.cs} (81%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomerTests.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultShippingAddressLinksSelfTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelfTests.cs} (58%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultShippingAddressLinksTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksTests.cs} (62%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultShippingAddressMetadataTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadataTests.cs} (59%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultShippingAddressShipToTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipToTests.cs} (77%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultShippingAddressTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressTests.cs} (70%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedTests.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedTests.cs} (70%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersLinksPaymentInstrumentsTests.cs => Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstrumentsTests.cs} (62%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersLinksShippingAddressTests.cs => Tmsv2tokenizeTokenInformationCustomerLinksSelfTests.cs} (66%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomerTests.cs => Tmsv2tokenizeTokenInformationCustomerLinksShippingAddressTests.cs} (63%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersLinksTests.cs => Tmsv2tokenizeTokenInformationCustomerLinksTests.cs} (73%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersMerchantDefinedInformationTests.cs => Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformationTests.cs} (64%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersMetadataTests.cs => Tmsv2tokenizeTokenInformationCustomerMetadataTests.cs} (66%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/{Tmsv2customersObjectInformationTests.cs => Tmsv2tokenizeTokenInformationCustomerObjectInformationTests.cs} (66%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCardTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAssetTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataDeviceInformationTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetailsTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationInvoiceDetailsTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataPaymentInformationCardTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataPaymentInformationTests.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenizeApi.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetAllSubscriptionsResponseClientReferenceInformation.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2009Devices.cs => InlineResponse20010Devices.cs} (91%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2009PaymentProcessorToTerminalMap.cs => InlineResponse20010PaymentProcessorToTerminalMap.cs} (84%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20010Embedded.cs => InlineResponse20011Embedded.cs} (84%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20010EmbeddedBatches.cs => InlineResponse20011EmbeddedBatches.cs} (93%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20010EmbeddedLinks.cs => InlineResponse20011EmbeddedLinks.cs} (83%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20010EmbeddedLinksReports.cs => InlineResponse20011EmbeddedLinksReports.cs} (87%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20010EmbeddedTotals.cs => InlineResponse20011EmbeddedTotals.cs} (92%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20011Billing.cs => InlineResponse20012Billing.cs} (90%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Links.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20011LinksReport.cs => InlineResponse20012LinksReport.cs} (86%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20012Records.cs => InlineResponse20013Records.cs} (85%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20012ResponseRecord.cs => InlineResponse20013ResponseRecord.cs} (93%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20012ResponseRecordAdditionalUpdates.cs => InlineResponse20013ResponseRecordAdditionalUpdates.cs} (91%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20012SourceRecord.cs => InlineResponse20013SourceRecord.cs} (94%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20015.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20014ClientReferenceInformation.cs => InlineResponse20015ClientReferenceInformation.cs} (93%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse200Content.cs => InlineResponse2001Content.cs} (89%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2001Embedded.cs => InlineResponse2002Embedded.cs} (84%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2001EmbeddedCapture.cs => InlineResponse2002EmbeddedCapture.cs} (86%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2001EmbeddedCaptureLinks.cs => InlineResponse2002EmbeddedCaptureLinks.cs} (84%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2001EmbeddedCaptureLinksSelf.cs => InlineResponse2002EmbeddedCaptureLinksSelf.cs} (90%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2001EmbeddedReversal.cs => InlineResponse2002EmbeddedReversal.cs} (86%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2001EmbeddedReversalLinks.cs => InlineResponse2002EmbeddedReversalLinks.cs} (84%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2001EmbeddedReversalLinksSelf.cs => InlineResponse2002EmbeddedReversalLinksSelf.cs} (90%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2003IntegrationInformation.cs => InlineResponse2004IntegrationInformation.cs} (86%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2003IntegrationInformationTenantConfigurations.cs => InlineResponse2004IntegrationInformationTenantConfigurations.cs} (93%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse2007Devices.cs => InlineResponse2008Devices.cs} (94%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{InlineResponse20010Links.cs => InlineResponse200Details.cs} (63%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Errors.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Responses.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostIssuerLifeCycleSimulationRequest.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostTokenizeRequest.cs delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1plansClientReferenceInformation.cs delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1subscriptionsClientReferenceInformation.cs delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1subscriptionsClientReferenceInformationPartner.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.cs => TmsMerchantInformation.cs} (73%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.cs => TmsMerchantInformationMerchantDescriptor.cs} (78%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeProcessingInformation.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformation.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomer.cs rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersBuyerInformation.cs => Tmsv2tokenizeTokenInformationCustomerBuyerInformation.cs} (82%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersClientReferenceInformation.cs => Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.cs} (78%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersDefaultPaymentInstrument.cs => Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.cs} (78%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersDefaultShippingAddress.cs => Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.cs} (78%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbedded.cs => Tmsv2tokenizeTokenInformationCustomerEmbedded.cs} (77%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrument.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.cs} (78%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.cs} (77%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.cs} (89%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.cs} (83%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.cs} (75%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.cs} (73%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.cs} (91%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.cs} (81%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.cs} (76%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.cs} (74%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultShippingAddressLinks.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.cs} (71%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.cs} (75%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.cs} (75%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultShippingAddress.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.cs} (77%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.cs} (71%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.cs} (75%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.cs} (75%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultShippingAddressMetadata.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.cs} (76%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersEmbeddedDefaultShippingAddressShipTo.cs => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.cs} (90%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersLinks.cs => Tmsv2tokenizeTokenInformationCustomerLinks.cs} (76%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersLinksPaymentInstruments.cs => Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.cs} (78%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersLinksSelf.cs => Tmsv2tokenizeTokenInformationCustomerLinksSelf.cs} (80%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersLinksShippingAddress.cs => Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.cs} (79%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersMerchantDefinedInformation.cs => Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.cs} (88%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersMetadata.cs => Tmsv2tokenizeTokenInformationCustomerMetadata.cs} (81%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/{Tmsv2customersObjectInformation.cs => Tmsv2tokenizeTokenInformationCustomerObjectInformation.cs} (81%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataDeviceInformation.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationInvoiceDetails.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataPaymentInformation.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataPaymentInformationCard.cs create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetAllSubscriptionsResponseClientReferenceInformation.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2009Devices.md => InlineResponse20010Devices.md} (84%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2009PaymentProcessorToTerminalMap.md => InlineResponse20010PaymentProcessorToTerminalMap.md} (84%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20010Embedded.md => InlineResponse20011Embedded.md} (61%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20010EmbeddedBatches.md => InlineResponse20011EmbeddedBatches.md} (81%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20010EmbeddedLinks.md => InlineResponse20011EmbeddedLinks.md} (60%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20010EmbeddedLinksReports.md => InlineResponse20011EmbeddedLinksReports.md} (83%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20010EmbeddedTotals.md => InlineResponse20011EmbeddedTotals.md} (90%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20011Billing.md => InlineResponse20012Billing.md} (89%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Links.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20011LinksReport.md => InlineResponse20012LinksReport.md} (85%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20012Records.md => InlineResponse20013Records.md} (53%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20012ResponseRecord.md => InlineResponse20013ResponseRecord.md} (82%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20012ResponseRecordAdditionalUpdates.md => InlineResponse20013ResponseRecordAdditionalUpdates.md} (89%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20012SourceRecord.md => InlineResponse20013SourceRecord.md} (92%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20015.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20014ClientReferenceInformation.md => InlineResponse20015ClientReferenceInformation.md} (94%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse200Content.md => InlineResponse2001Content.md} (92%) delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001Embedded.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCaptureLinks.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversalLinks.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002Embedded.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2001EmbeddedCapture.md => InlineResponse2002EmbeddedCapture.md} (68%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse20010Links.md => InlineResponse2002EmbeddedCaptureLinks.md} (59%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2001EmbeddedCaptureLinksSelf.md => InlineResponse2002EmbeddedCaptureLinksSelf.md} (89%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2001EmbeddedReversal.md => InlineResponse2002EmbeddedReversal.md} (68%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversalLinks.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2001EmbeddedReversalLinksSelf.md => InlineResponse2002EmbeddedReversalLinksSelf.md} (89%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2003IntegrationInformation.md => InlineResponse2004IntegrationInformation.md} (76%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2003IntegrationInformationTenantConfigurations.md => InlineResponse2004IntegrationInformationTenantConfigurations.md} (94%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{InlineResponse2007Devices.md => InlineResponse2008Devices.md} (94%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Details.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Errors.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Responses.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostIssuerLifeCycleSimulationRequest.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostTokenizeRequest.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1plansClientReferenceInformation.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1subscriptionsClientReferenceInformation.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TmsMerchantInformation.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md => TmsMerchantInformationMerchantDescriptor.md} (86%) delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbedded.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md delete mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinks.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeProcessingInformation.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformation.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomer.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersBuyerInformation.md => Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md} (86%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersClientReferenceInformation.md => Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md} (81%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersDefaultPaymentInstrument.md => Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md} (81%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersDefaultShippingAddress.md => Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md} (81%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md} (83%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md} (94%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md} (79%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md} (81%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md} (56%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md} (91%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md} (89%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md} (80%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md} (77%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md} (77%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md} (78%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md} (76%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md} (78%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md} (78%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md => Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md} (95%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersLinksPaymentInstruments.md => Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md} (81%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersLinksSelf.md => Tmsv2tokenizeTokenInformationCustomerLinksSelf.md} (83%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersLinksShippingAddress.md => Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md} (81%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersMerchantDefinedInformation.md => Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md} (95%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersMetadata.md => Tmsv2tokenizeTokenInformationCustomerMetadata.md} (83%) rename cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/{Tmsv2customersObjectInformation.md => Tmsv2tokenizeTokenInformationCustomerObjectInformation.md} (85%) create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenizeApi.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataDeviceInformation.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataPaymentInformation.md create mode 100644 cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataPaymentInformationCard.md diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BankAccountValidationApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BankAccountValidationApiTests.cs index 193989b0..fed234b0 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BankAccountValidationApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BankAccountValidationApiTests.cs @@ -73,7 +73,7 @@ public void BankAccountValidationRequestTest() // TODO uncomment below to test the method and replace null with proper value //AccountValidationsRequest accountValidationsRequest = null; //var response = instance.BankAccountValidationRequest(accountValidationsRequest); - //Assert.IsInstanceOf (response, "response is InlineResponse20013"); + //Assert.IsInstanceOf (response, "response is InlineResponse20014"); } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BatchesApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BatchesApiTests.cs index 71a63fe6..09cb45b2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BatchesApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BatchesApiTests.cs @@ -73,7 +73,7 @@ public void GetBatchReportTest() // TODO uncomment below to test the method and replace null with proper value //string batchId = null; //var response = instance.GetBatchReport(batchId); - //Assert.IsInstanceOf (response, "response is InlineResponse20012"); + //Assert.IsInstanceOf (response, "response is InlineResponse20013"); } /// @@ -85,7 +85,7 @@ public void GetBatchStatusTest() // TODO uncomment below to test the method and replace null with proper value //string batchId = null; //var response = instance.GetBatchStatus(batchId); - //Assert.IsInstanceOf (response, "response is InlineResponse20011"); + //Assert.IsInstanceOf (response, "response is InlineResponse20012"); } /// @@ -100,7 +100,7 @@ public void GetBatchesListTest() //string fromDate = null; //string toDate = null; //var response = instance.GetBatchesList(offset, limit, fromDate, toDate); - //Assert.IsInstanceOf (response, "response is InlineResponse20010"); + //Assert.IsInstanceOf (response, "response is InlineResponse20011"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/CreateNewWebhooksApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/CreateNewWebhooksApiTests.cs index 061e0cfe..767932de 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/CreateNewWebhooksApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/CreateNewWebhooksApiTests.cs @@ -73,7 +73,7 @@ public void FindProductsToSubscribeTest() // TODO uncomment below to test the method and replace null with proper value //string organizationId = null; //var response = instance.FindProductsToSubscribe(organizationId); - //Assert.IsInstanceOf> (response, "response is List"); + //Assert.IsInstanceOf> (response, "response is List"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DecisionManagerApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DecisionManagerApiTests.cs index ba87392d..a3907c93 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DecisionManagerApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DecisionManagerApiTests.cs @@ -74,7 +74,7 @@ public void ActionDecisionManagerCaseTest() //string id = null; //CaseManagementActionsRequest caseManagementActionsRequest = null; //var response = instance.ActionDecisionManagerCase(id, caseManagementActionsRequest); - //Assert.IsInstanceOf (response, "response is InlineResponse2001"); + //Assert.IsInstanceOf (response, "response is InlineResponse2002"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceDeAssociationApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceDeAssociationApiTests.cs index deb9b41f..46b23c26 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceDeAssociationApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceDeAssociationApiTests.cs @@ -85,7 +85,7 @@ public void PostDeAssociateV3TerminalTest() // TODO uncomment below to test the method and replace null with proper value //List deviceDeAssociateV3Request = null; //var response = instance.PostDeAssociateV3Terminal(deviceDeAssociateV3Request); - //Assert.IsInstanceOf> (response, "response is List"); + //Assert.IsInstanceOf> (response, "response is List"); } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceSearchApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceSearchApiTests.cs index e4977f84..1c7e8165 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceSearchApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceSearchApiTests.cs @@ -73,7 +73,7 @@ public void PostSearchQueryTest() // TODO uncomment below to test the method and replace null with proper value //PostDeviceSearchRequest postDeviceSearchRequest = null; //var response = instance.PostSearchQuery(postDeviceSearchRequest); - //Assert.IsInstanceOf (response, "response is InlineResponse2007"); + //Assert.IsInstanceOf (response, "response is InlineResponse2008"); } /// @@ -85,7 +85,7 @@ public void PostSearchQueryV3Test() // TODO uncomment below to test the method and replace null with proper value //PostDeviceSearchRequestV3 postDeviceSearchRequestV3 = null; //var response = instance.PostSearchQueryV3(postDeviceSearchRequestV3); - //Assert.IsInstanceOf (response, "response is InlineResponse2009"); + //Assert.IsInstanceOf (response, "response is InlineResponse20010"); } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/ManageWebhooksApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/ManageWebhooksApiTests.cs index 6f907771..f5c8f72d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/ManageWebhooksApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/ManageWebhooksApiTests.cs @@ -99,7 +99,7 @@ public void GetWebhookSubscriptionsByOrgTest() //string productId = null; //string eventType = null; //var response = instance.GetWebhookSubscriptionsByOrg(organizationId, productId, eventType); - //Assert.IsInstanceOf> (response, "response is List"); + //Assert.IsInstanceOf> (response, "response is List"); } /// @@ -124,7 +124,7 @@ public void NotificationSubscriptionsV2WebhooksWebhookIdPatchTest() //string webhookId = null; //UpdateWebhook updateWebhook = null; //var response = instance.NotificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); - //Assert.IsInstanceOf (response, "response is InlineResponse2006"); + //Assert.IsInstanceOf (response, "response is InlineResponse2007"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantBoardingApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantBoardingApiTests.cs index 98d5537e..4a14a559 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantBoardingApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantBoardingApiTests.cs @@ -73,7 +73,7 @@ public void GetRegistrationTest() // TODO uncomment below to test the method and replace null with proper value //string registrationId = null; //var response = instance.GetRegistration(registrationId); - //Assert.IsInstanceOf (response, "response is InlineResponse2003"); + //Assert.IsInstanceOf (response, "response is InlineResponse2004"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantDefinedFieldsApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantDefinedFieldsApiTests.cs index 59f7fbf1..3b24e8f1 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantDefinedFieldsApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantDefinedFieldsApiTests.cs @@ -74,7 +74,7 @@ public void CreateMerchantDefinedFieldDefinitionTest() //string referenceType = null; //MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest = null; //var response = instance.CreateMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); - //Assert.IsInstanceOf> (response, "response is List"); + //Assert.IsInstanceOf> (response, "response is List"); } /// @@ -99,7 +99,7 @@ public void GetMerchantDefinedFieldsDefinitionsTest() // TODO uncomment below to test the method and replace null with proper value //string referenceType = null; //var response = instance.GetMerchantDefinedFieldsDefinitions(referenceType); - //Assert.IsInstanceOf> (response, "response is List"); + //Assert.IsInstanceOf> (response, "response is List"); } /// @@ -113,7 +113,7 @@ public void PutMerchantDefinedFieldsDefinitionsTest() //long? id = null; //MerchantDefinedFieldCore merchantDefinedFieldCore = null; //var response = instance.PutMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore); - //Assert.IsInstanceOf> (response, "response is List"); + //Assert.IsInstanceOf> (response, "response is List"); } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/OffersApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/OffersApiTests.cs index 98612635..daedf40b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/OffersApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/OffersApiTests.cs @@ -95,7 +95,7 @@ public void GetOfferTest() //string vCOrganizationId = null; //string id = null; //var response = instance.GetOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); - //Assert.IsInstanceOf (response, "response is InlineResponse20014"); + //Assert.IsInstanceOf (response, "response is InlineResponse20015"); } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/SubscriptionsApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/SubscriptionsApiTests.cs index 8e7001d7..6ac78995 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/SubscriptionsApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/SubscriptionsApiTests.cs @@ -72,8 +72,8 @@ public void ActivateSubscriptionTest() { // TODO uncomment below to test the method and replace null with proper value //string id = null; - //bool? processSkippedPayments = null; - //var response = instance.ActivateSubscription(id, processSkippedPayments); + //bool? processMissedPayments = null; + //var response = instance.ActivateSubscription(id, processMissedPayments); //Assert.IsInstanceOf (response, "response is ActivateSubscriptionResponse"); } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenApiTests.cs index 9a14cd67..0648c394 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenApiTests.cs @@ -75,7 +75,7 @@ public void GetCardArtAssetTest() //string tokenProvider = null; //string assetType = null; //var response = instance.GetCardArtAsset(instrumentIdentifierId, tokenProvider, assetType); - //Assert.IsInstanceOf (response, "response is InlineResponse200"); + //Assert.IsInstanceOf (response, "response is InlineResponse2001"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizeApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizeApiTests.cs new file mode 100644 index 00000000..43a7011e --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizeApiTests.cs @@ -0,0 +1,82 @@ +/* + * 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 TokenizeApi + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the API endpoint. + /// + [TestFixture] + public class TokenizeApiTests + { + private TokenizeApi instance; + + /// + /// Setup before each unit test + /// + [SetUp] + public void Init() + { + instance = new TokenizeApi(); + } + + /// + /// Clean up after each unit test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of TokenizeApi + /// + [Test] + public void InstanceTest() + { + // TODO uncomment below to test 'IsInstanceOfType' TokenizeApi + //Assert.IsInstanceOfType(typeof(TokenizeApi), instance, "instance is a TokenizeApi"); + } + + + /// + /// Test Tokenize + /// + [Test] + public void TokenizeTest() + { + // TODO uncomment below to test the method and replace null with proper value + //PostTokenizeRequest postTokenizeRequest = null; + //string profileId = null; + //var response = instance.Tokenize(postTokenizeRequest, profileId); + //Assert.IsInstanceOf (response, "response is InlineResponse200"); + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizedCardApiTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizedCardApiTests.cs index e0c1e3f1..a1f8b3c5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizedCardApiTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizedCardApiTests.cs @@ -90,6 +90,20 @@ public void GetTokenizedCardTest() //Assert.IsInstanceOf (response, "response is TokenizedcardRequest"); } + /// + /// Test PostIssuerLifeCycleSimulation + /// + [Test] + public void PostIssuerLifeCycleSimulationTest() + { + // TODO uncomment below to test the method and replace null with proper value + //string profileId = null; + //string tokenizedCardId = null; + //PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest = null; + //instance.PostIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); + + } + /// /// Test PostTokenizedCard /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreatePlanRequestTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreatePlanRequestTests.cs index 23df0c78..59fceeb0 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreatePlanRequestTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreatePlanRequestTests.cs @@ -64,14 +64,6 @@ public void CreatePlanRequestInstanceTest() //Assert.IsInstanceOfType (instance, "variable 'instance' is a CreatePlanRequest"); } - /// - /// Test the property 'ClientReferenceInformation' - /// - [Test] - public void ClientReferenceInformationTest() - { - // TODO unit test for the property 'ClientReferenceInformation' - } /// /// Test the property 'PlanInformation' /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreateSubscriptionResponseTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreateSubscriptionResponseTests.cs index 70a8b3f4..8f0da5e1 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreateSubscriptionResponseTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreateSubscriptionResponseTests.cs @@ -104,6 +104,14 @@ public void SubscriptionInformationTest() { // TODO unit test for the property 'SubscriptionInformation' } + /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GenerateUnifiedCheckoutCaptureContextRequestTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GenerateUnifiedCheckoutCaptureContextRequestTests.cs index dff81790..1a03ae01 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GenerateUnifiedCheckoutCaptureContextRequestTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GenerateUnifiedCheckoutCaptureContextRequestTests.cs @@ -113,6 +113,14 @@ public void LocaleTest() // TODO unit test for the property 'Locale' } /// + /// Test the property 'ButtonType' + /// + [Test] + public void ButtonTypeTest() + { + // TODO unit test for the property 'ButtonType' + } + /// /// Test the property 'CaptureMandate' /// [Test] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetAllSubscriptionsResponseClientReferenceInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetAllSubscriptionsResponseClientReferenceInformationTests.cs new file mode 100644 index 00000000..ce19522c --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetAllSubscriptionsResponseClientReferenceInformationTests.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 GetAllSubscriptionsResponseClientReferenceInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class GetAllSubscriptionsResponseClientReferenceInformationTests + { + // TODO uncomment below to declare an instance variable for GetAllSubscriptionsResponseClientReferenceInformation + //private GetAllSubscriptionsResponseClientReferenceInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of GetAllSubscriptionsResponseClientReferenceInformation + //instance = new GetAllSubscriptionsResponseClientReferenceInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of GetAllSubscriptionsResponseClientReferenceInformation + /// + [Test] + public void GetAllSubscriptionsResponseClientReferenceInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" GetAllSubscriptionsResponseClientReferenceInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a GetAllSubscriptionsResponseClientReferenceInformation"); + } + + /// + /// Test the property 'Code' + /// + [Test] + public void CodeTest() + { + // TODO unit test for the property 'Code' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetAllSubscriptionsResponseSubscriptionsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetAllSubscriptionsResponseSubscriptionsTests.cs index e98acbbb..ffad0a52 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetAllSubscriptionsResponseSubscriptionsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetAllSubscriptionsResponseSubscriptionsTests.cs @@ -97,6 +97,14 @@ public void SubscriptionInformationTest() // TODO unit test for the property 'SubscriptionInformation' } /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } + /// /// Test the property 'PaymentInformation' /// [Test] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetSubscriptionResponseReactivationInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetSubscriptionResponseReactivationInformationTests.cs index 8a181937..99bee7ab 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetSubscriptionResponseReactivationInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetSubscriptionResponseReactivationInformationTests.cs @@ -65,20 +65,20 @@ public void GetSubscriptionResponseReactivationInformationInstanceTest() } /// - /// Test the property 'SkippedPaymentsCount' + /// Test the property 'MissedPaymentsCount' /// [Test] - public void SkippedPaymentsCountTest() + public void MissedPaymentsCountTest() { - // TODO unit test for the property 'SkippedPaymentsCount' + // TODO unit test for the property 'MissedPaymentsCount' } /// - /// Test the property 'SkippedPaymentsTotalAmount' + /// Test the property 'MissedPaymentsTotalAmount' /// [Test] - public void SkippedPaymentsTotalAmountTest() + public void MissedPaymentsTotalAmountTest() { - // TODO unit test for the property 'SkippedPaymentsTotalAmount' + // TODO unit test for the property 'MissedPaymentsTotalAmount' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetSubscriptionResponseTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetSubscriptionResponseTests.cs index af566de5..cdf98b4e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetSubscriptionResponseTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/GetSubscriptionResponseTests.cs @@ -121,6 +121,14 @@ public void OrderInformationTest() // TODO unit test for the property 'OrderInformation' } /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } + /// /// Test the property 'ReactivationInformation' /// [Test] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009DevicesTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010DevicesTests.cs similarity index 88% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009DevicesTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010DevicesTests.cs index 2b105ca8..cb425e54 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009DevicesTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010DevicesTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2009Devices + /// Class for testing InlineResponse20010Devices /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2009DevicesTests + public class InlineResponse20010DevicesTests { - // TODO uncomment below to declare an instance variable for InlineResponse2009Devices - //private InlineResponse2009Devices instance; + // TODO uncomment below to declare an instance variable for InlineResponse20010Devices + //private InlineResponse20010Devices instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2009DevicesTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2009Devices - //instance = new InlineResponse2009Devices(); + // TODO uncomment below to create an instance of InlineResponse20010Devices + //instance = new InlineResponse20010Devices(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2009Devices + /// Test an instance of InlineResponse20010Devices /// [Test] - public void InlineResponse2009DevicesInstanceTest() + public void InlineResponse20010DevicesInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2009Devices - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2009Devices"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20010Devices + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20010Devices"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009PaymentProcessorToTerminalMapTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010PaymentProcessorToTerminalMapTests.cs similarity index 68% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009PaymentProcessorToTerminalMapTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010PaymentProcessorToTerminalMapTests.cs index 08e6ab62..c0c54b5b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009PaymentProcessorToTerminalMapTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010PaymentProcessorToTerminalMapTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2009PaymentProcessorToTerminalMap + /// Class for testing InlineResponse20010PaymentProcessorToTerminalMap /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2009PaymentProcessorToTerminalMapTests + public class InlineResponse20010PaymentProcessorToTerminalMapTests { - // TODO uncomment below to declare an instance variable for InlineResponse2009PaymentProcessorToTerminalMap - //private InlineResponse2009PaymentProcessorToTerminalMap instance; + // TODO uncomment below to declare an instance variable for InlineResponse20010PaymentProcessorToTerminalMap + //private InlineResponse20010PaymentProcessorToTerminalMap instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2009PaymentProcessorToTerminalMapTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2009PaymentProcessorToTerminalMap - //instance = new InlineResponse2009PaymentProcessorToTerminalMap(); + // TODO uncomment below to create an instance of InlineResponse20010PaymentProcessorToTerminalMap + //instance = new InlineResponse20010PaymentProcessorToTerminalMap(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2009PaymentProcessorToTerminalMap + /// Test an instance of InlineResponse20010PaymentProcessorToTerminalMap /// [Test] - public void InlineResponse2009PaymentProcessorToTerminalMapInstanceTest() + public void InlineResponse20010PaymentProcessorToTerminalMapInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2009PaymentProcessorToTerminalMap - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2009PaymentProcessorToTerminalMap"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20010PaymentProcessorToTerminalMap + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20010PaymentProcessorToTerminalMap"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010Tests.cs index be3be860..90afffee 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010Tests.cs @@ -65,20 +65,12 @@ public void InlineResponse20010InstanceTest() } /// - /// Test the property 'Links' + /// Test the property 'TotalCount' /// [Test] - public void LinksTest() + public void TotalCountTest() { - // TODO unit test for the property 'Links' - } - /// - /// Test the property 'Object' - /// - [Test] - public void ObjectTest() - { - // TODO unit test for the property 'Object' + // TODO unit test for the property 'TotalCount' } /// /// Test the property 'Offset' @@ -97,28 +89,28 @@ public void LimitTest() // TODO unit test for the property 'Limit' } /// - /// Test the property 'Count' + /// Test the property 'Sort' /// [Test] - public void CountTest() + public void SortTest() { - // TODO unit test for the property 'Count' + // TODO unit test for the property 'Sort' } /// - /// Test the property 'Total' + /// Test the property 'Count' /// [Test] - public void TotalTest() + public void CountTest() { - // TODO unit test for the property 'Total' + // TODO unit test for the property 'Count' } /// - /// Test the property 'Embedded' + /// Test the property 'Devices' /// [Test] - public void EmbeddedTest() + public void DevicesTest() { - // TODO unit test for the property 'Embedded' + // TODO unit test for the property 'Devices' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedBatchesTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedBatchesTests.cs similarity index 86% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedBatchesTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedBatchesTests.cs index ea0b1813..2bb51f7a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedBatchesTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedBatchesTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20010EmbeddedBatches + /// Class for testing InlineResponse20011EmbeddedBatches /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20010EmbeddedBatchesTests + public class InlineResponse20011EmbeddedBatchesTests { - // TODO uncomment below to declare an instance variable for InlineResponse20010EmbeddedBatches - //private InlineResponse20010EmbeddedBatches instance; + // TODO uncomment below to declare an instance variable for InlineResponse20011EmbeddedBatches + //private InlineResponse20011EmbeddedBatches instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20010EmbeddedBatchesTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20010EmbeddedBatches - //instance = new InlineResponse20010EmbeddedBatches(); + // TODO uncomment below to create an instance of InlineResponse20011EmbeddedBatches + //instance = new InlineResponse20011EmbeddedBatches(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20010EmbeddedBatches + /// Test an instance of InlineResponse20011EmbeddedBatches /// [Test] - public void InlineResponse20010EmbeddedBatchesInstanceTest() + public void InlineResponse20011EmbeddedBatchesInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20010EmbeddedBatches - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20010EmbeddedBatches"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20011EmbeddedBatches + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20011EmbeddedBatches"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedLinksReportsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedLinksReportsTests.cs similarity index 73% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedLinksReportsTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedLinksReportsTests.cs index 55a286db..73251a4b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedLinksReportsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedLinksReportsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20010EmbeddedLinksReports + /// Class for testing InlineResponse20011EmbeddedLinksReports /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20010EmbeddedLinksReportsTests + public class InlineResponse20011EmbeddedLinksReportsTests { - // TODO uncomment below to declare an instance variable for InlineResponse20010EmbeddedLinksReports - //private InlineResponse20010EmbeddedLinksReports instance; + // TODO uncomment below to declare an instance variable for InlineResponse20011EmbeddedLinksReports + //private InlineResponse20011EmbeddedLinksReports instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20010EmbeddedLinksReportsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20010EmbeddedLinksReports - //instance = new InlineResponse20010EmbeddedLinksReports(); + // TODO uncomment below to create an instance of InlineResponse20011EmbeddedLinksReports + //instance = new InlineResponse20011EmbeddedLinksReports(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20010EmbeddedLinksReports + /// Test an instance of InlineResponse20011EmbeddedLinksReports /// [Test] - public void InlineResponse20010EmbeddedLinksReportsInstanceTest() + public void InlineResponse20011EmbeddedLinksReportsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20010EmbeddedLinksReports - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20010EmbeddedLinksReports"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20011EmbeddedLinksReports + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20011EmbeddedLinksReports"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedLinksTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedLinksTests.cs similarity index 72% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedLinksTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedLinksTests.cs index eee49c12..9a63892e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedLinksTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedLinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20010EmbeddedLinks + /// Class for testing InlineResponse20011EmbeddedLinks /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20010EmbeddedLinksTests + public class InlineResponse20011EmbeddedLinksTests { - // TODO uncomment below to declare an instance variable for InlineResponse20010EmbeddedLinks - //private InlineResponse20010EmbeddedLinks instance; + // TODO uncomment below to declare an instance variable for InlineResponse20011EmbeddedLinks + //private InlineResponse20011EmbeddedLinks instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20010EmbeddedLinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20010EmbeddedLinks - //instance = new InlineResponse20010EmbeddedLinks(); + // TODO uncomment below to create an instance of InlineResponse20011EmbeddedLinks + //instance = new InlineResponse20011EmbeddedLinks(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20010EmbeddedLinks + /// Test an instance of InlineResponse20011EmbeddedLinks /// [Test] - public void InlineResponse20010EmbeddedLinksInstanceTest() + public void InlineResponse20011EmbeddedLinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20010EmbeddedLinks - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20010EmbeddedLinks"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20011EmbeddedLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20011EmbeddedLinks"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedTests.cs similarity index 73% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedTests.cs index 733f142a..672029ad 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20010Embedded + /// Class for testing InlineResponse20011Embedded /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20010EmbeddedTests + public class InlineResponse20011EmbeddedTests { - // TODO uncomment below to declare an instance variable for InlineResponse20010Embedded - //private InlineResponse20010Embedded instance; + // TODO uncomment below to declare an instance variable for InlineResponse20011Embedded + //private InlineResponse20011Embedded instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20010EmbeddedTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20010Embedded - //instance = new InlineResponse20010Embedded(); + // TODO uncomment below to create an instance of InlineResponse20011Embedded + //instance = new InlineResponse20011Embedded(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20010Embedded + /// Test an instance of InlineResponse20011Embedded /// [Test] - public void InlineResponse20010EmbeddedInstanceTest() + public void InlineResponse20011EmbeddedInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20010Embedded - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20010Embedded"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20011Embedded + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20011Embedded"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedTotalsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedTotalsTests.cs similarity index 82% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedTotalsTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedTotalsTests.cs index 72889fa1..5bfb6f0b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010EmbeddedTotalsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011EmbeddedTotalsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20010EmbeddedTotals + /// Class for testing InlineResponse20011EmbeddedTotals /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20010EmbeddedTotalsTests + public class InlineResponse20011EmbeddedTotalsTests { - // TODO uncomment below to declare an instance variable for InlineResponse20010EmbeddedTotals - //private InlineResponse20010EmbeddedTotals instance; + // TODO uncomment below to declare an instance variable for InlineResponse20011EmbeddedTotals + //private InlineResponse20011EmbeddedTotals instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20010EmbeddedTotalsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20010EmbeddedTotals - //instance = new InlineResponse20010EmbeddedTotals(); + // TODO uncomment below to create an instance of InlineResponse20011EmbeddedTotals + //instance = new InlineResponse20011EmbeddedTotals(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20010EmbeddedTotals + /// Test an instance of InlineResponse20011EmbeddedTotals /// [Test] - public void InlineResponse20010EmbeddedTotalsInstanceTest() + public void InlineResponse20011EmbeddedTotalsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20010EmbeddedTotals - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20010EmbeddedTotals"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20011EmbeddedTotals + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20011EmbeddedTotals"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011LinksTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011LinksTests.cs index 5216fcac..8fe8805c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011LinksTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011LinksTests.cs @@ -65,20 +65,20 @@ public void InlineResponse20011LinksInstanceTest() } /// - /// Test the property 'Self' + /// Test the property 'Rel' /// [Test] - public void SelfTest() + public void RelTest() { - // TODO unit test for the property 'Self' + // TODO unit test for the property 'Rel' } /// - /// Test the property 'Report' + /// Test the property 'Href' /// [Test] - public void ReportTest() + public void HrefTest() { - // TODO unit test for the property 'Report' + // TODO unit test for the property 'Href' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011Tests.cs index e5d11f32..09913d01 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011Tests.cs @@ -73,76 +73,52 @@ public void LinksTest() // TODO unit test for the property 'Links' } /// - /// Test the property 'BatchId' + /// Test the property 'Object' /// [Test] - public void BatchIdTest() + public void ObjectTest() { - // TODO unit test for the property 'BatchId' + // TODO unit test for the property 'Object' } /// - /// Test the property 'BatchCreatedDate' + /// Test the property 'Offset' /// [Test] - public void BatchCreatedDateTest() + public void OffsetTest() { - // TODO unit test for the property 'BatchCreatedDate' + // TODO unit test for the property 'Offset' } /// - /// Test the property 'BatchSource' + /// Test the property 'Limit' /// [Test] - public void BatchSourceTest() + public void LimitTest() { - // TODO unit test for the property 'BatchSource' + // TODO unit test for the property 'Limit' } /// - /// Test the property 'MerchantReference' + /// Test the property 'Count' /// [Test] - public void MerchantReferenceTest() + public void CountTest() { - // TODO unit test for the property 'MerchantReference' + // TODO unit test for the property 'Count' } /// - /// Test the property 'BatchCaEndpoints' + /// Test the property 'Total' /// [Test] - public void BatchCaEndpointsTest() + public void TotalTest() { - // TODO unit test for the property 'BatchCaEndpoints' + // TODO unit test for the property 'Total' } /// - /// Test the property 'Status' + /// Test the property 'Embedded' /// [Test] - public void StatusTest() + public void EmbeddedTest() { - // TODO unit test for the property 'Status' - } - /// - /// Test the property 'Totals' - /// - [Test] - public void TotalsTest() - { - // TODO unit test for the property 'Totals' - } - /// - /// Test the property 'Billing' - /// - [Test] - public void BillingTest() - { - // TODO unit test for the property 'Billing' - } - /// - /// Test the property 'Description' - /// - [Test] - public void DescriptionTest() - { - // TODO unit test for the property 'Description' + // TODO unit test for the property 'Embedded' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011BillingTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012BillingTests.cs similarity index 79% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011BillingTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012BillingTests.cs index 14c05ff9..4283ce1a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011BillingTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012BillingTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20011Billing + /// Class for testing InlineResponse20012Billing /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20011BillingTests + public class InlineResponse20012BillingTests { - // TODO uncomment below to declare an instance variable for InlineResponse20011Billing - //private InlineResponse20011Billing instance; + // TODO uncomment below to declare an instance variable for InlineResponse20012Billing + //private InlineResponse20012Billing instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20011BillingTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20011Billing - //instance = new InlineResponse20011Billing(); + // TODO uncomment below to create an instance of InlineResponse20012Billing + //instance = new InlineResponse20012Billing(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20011Billing + /// Test an instance of InlineResponse20012Billing /// [Test] - public void InlineResponse20011BillingInstanceTest() + public void InlineResponse20012BillingInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20011Billing - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20011Billing"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20012Billing + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20012Billing"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011LinksReportTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012LinksReportTests.cs similarity index 72% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011LinksReportTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012LinksReportTests.cs index 1e5f3623..77019a55 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20011LinksReportTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012LinksReportTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20011LinksReport + /// Class for testing InlineResponse20012LinksReport /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20011LinksReportTests + public class InlineResponse20012LinksReportTests { - // TODO uncomment below to declare an instance variable for InlineResponse20011LinksReport - //private InlineResponse20011LinksReport instance; + // TODO uncomment below to declare an instance variable for InlineResponse20012LinksReport + //private InlineResponse20012LinksReport instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20011LinksReportTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20011LinksReport - //instance = new InlineResponse20011LinksReport(); + // TODO uncomment below to create an instance of InlineResponse20012LinksReport + //instance = new InlineResponse20012LinksReport(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20011LinksReport + /// Test an instance of InlineResponse20012LinksReport /// [Test] - public void InlineResponse20011LinksReportInstanceTest() + public void InlineResponse20012LinksReportInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20011LinksReport - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20011LinksReport"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20012LinksReport + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20012LinksReport"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010LinksTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012LinksTests.cs similarity index 65% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010LinksTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012LinksTests.cs index 028ff6b0..7bee0e0b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20010LinksTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012LinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20010Links + /// Class for testing InlineResponse20012Links /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20010LinksTests + public class InlineResponse20012LinksTests { - // TODO uncomment below to declare an instance variable for InlineResponse20010Links - //private InlineResponse20010Links instance; + // TODO uncomment below to declare an instance variable for InlineResponse20012Links + //private InlineResponse20012Links instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20010LinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20010Links - //instance = new InlineResponse20010Links(); + // TODO uncomment below to create an instance of InlineResponse20012Links + //instance = new InlineResponse20012Links(); } /// @@ -55,30 +55,30 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20010Links + /// Test an instance of InlineResponse20012Links /// [Test] - public void InlineResponse20010LinksInstanceTest() + public void InlineResponse20012LinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20010Links - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20010Links"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20012Links + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20012Links"); } /// - /// Test the property 'Rel' + /// Test the property 'Self' /// [Test] - public void RelTest() + public void SelfTest() { - // TODO unit test for the property 'Rel' + // TODO unit test for the property 'Self' } /// - /// Test the property 'Href' + /// Test the property 'Report' /// [Test] - public void HrefTest() + public void ReportTest() { - // TODO unit test for the property 'Href' + // TODO unit test for the property 'Report' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012Tests.cs index 90a28490..521a333e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012Tests.cs @@ -65,28 +65,28 @@ public void InlineResponse20012InstanceTest() } /// - /// Test the property 'Version' + /// Test the property 'Links' /// [Test] - public void VersionTest() + public void LinksTest() { - // TODO unit test for the property 'Version' + // TODO unit test for the property 'Links' } /// - /// Test the property 'ReportCreatedDate' + /// Test the property 'BatchId' /// [Test] - public void ReportCreatedDateTest() + public void BatchIdTest() { - // TODO unit test for the property 'ReportCreatedDate' + // TODO unit test for the property 'BatchId' } /// - /// Test the property 'BatchId' + /// Test the property 'BatchCreatedDate' /// [Test] - public void BatchIdTest() + public void BatchCreatedDateTest() { - // TODO unit test for the property 'BatchId' + // TODO unit test for the property 'BatchCreatedDate' } /// /// Test the property 'BatchSource' @@ -97,28 +97,28 @@ public void BatchSourceTest() // TODO unit test for the property 'BatchSource' } /// - /// Test the property 'BatchCaEndpoints' + /// Test the property 'MerchantReference' /// [Test] - public void BatchCaEndpointsTest() + public void MerchantReferenceTest() { - // TODO unit test for the property 'BatchCaEndpoints' + // TODO unit test for the property 'MerchantReference' } /// - /// Test the property 'BatchCreatedDate' + /// Test the property 'BatchCaEndpoints' /// [Test] - public void BatchCreatedDateTest() + public void BatchCaEndpointsTest() { - // TODO unit test for the property 'BatchCreatedDate' + // TODO unit test for the property 'BatchCaEndpoints' } /// - /// Test the property 'MerchantReference' + /// Test the property 'Status' /// [Test] - public void MerchantReferenceTest() + public void StatusTest() { - // TODO unit test for the property 'MerchantReference' + // TODO unit test for the property 'Status' } /// /// Test the property 'Totals' @@ -137,12 +137,12 @@ public void BillingTest() // TODO unit test for the property 'Billing' } /// - /// Test the property 'Records' + /// Test the property 'Description' /// [Test] - public void RecordsTest() + public void DescriptionTest() { - // TODO unit test for the property 'Records' + // TODO unit test for the property 'Description' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012RecordsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013RecordsTests.cs similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012RecordsTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013RecordsTests.cs index b74814eb..9a948d97 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012RecordsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013RecordsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20012Records + /// Class for testing InlineResponse20013Records /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20012RecordsTests + public class InlineResponse20013RecordsTests { - // TODO uncomment below to declare an instance variable for InlineResponse20012Records - //private InlineResponse20012Records instance; + // TODO uncomment below to declare an instance variable for InlineResponse20013Records + //private InlineResponse20013Records instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20012RecordsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20012Records - //instance = new InlineResponse20012Records(); + // TODO uncomment below to create an instance of InlineResponse20013Records + //instance = new InlineResponse20013Records(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20012Records + /// Test an instance of InlineResponse20013Records /// [Test] - public void InlineResponse20012RecordsInstanceTest() + public void InlineResponse20013RecordsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20012Records - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20012Records"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20013Records + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20013Records"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012ResponseRecordAdditionalUpdatesTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013ResponseRecordAdditionalUpdatesTests.cs similarity index 79% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012ResponseRecordAdditionalUpdatesTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013ResponseRecordAdditionalUpdatesTests.cs index 375fdfb0..94027d27 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012ResponseRecordAdditionalUpdatesTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013ResponseRecordAdditionalUpdatesTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20012ResponseRecordAdditionalUpdates + /// Class for testing InlineResponse20013ResponseRecordAdditionalUpdates /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20012ResponseRecordAdditionalUpdatesTests + public class InlineResponse20013ResponseRecordAdditionalUpdatesTests { - // TODO uncomment below to declare an instance variable for InlineResponse20012ResponseRecordAdditionalUpdates - //private InlineResponse20012ResponseRecordAdditionalUpdates instance; + // TODO uncomment below to declare an instance variable for InlineResponse20013ResponseRecordAdditionalUpdates + //private InlineResponse20013ResponseRecordAdditionalUpdates instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20012ResponseRecordAdditionalUpdatesTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20012ResponseRecordAdditionalUpdates - //instance = new InlineResponse20012ResponseRecordAdditionalUpdates(); + // TODO uncomment below to create an instance of InlineResponse20013ResponseRecordAdditionalUpdates + //instance = new InlineResponse20013ResponseRecordAdditionalUpdates(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20012ResponseRecordAdditionalUpdates + /// Test an instance of InlineResponse20013ResponseRecordAdditionalUpdates /// [Test] - public void InlineResponse20012ResponseRecordAdditionalUpdatesInstanceTest() + public void InlineResponse20013ResponseRecordAdditionalUpdatesInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20012ResponseRecordAdditionalUpdates - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20012ResponseRecordAdditionalUpdates"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20013ResponseRecordAdditionalUpdates + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20013ResponseRecordAdditionalUpdates"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012ResponseRecordTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013ResponseRecordTests.cs similarity index 86% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012ResponseRecordTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013ResponseRecordTests.cs index b74d3a7d..e609a785 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012ResponseRecordTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013ResponseRecordTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20012ResponseRecord + /// Class for testing InlineResponse20013ResponseRecord /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20012ResponseRecordTests + public class InlineResponse20013ResponseRecordTests { - // TODO uncomment below to declare an instance variable for InlineResponse20012ResponseRecord - //private InlineResponse20012ResponseRecord instance; + // TODO uncomment below to declare an instance variable for InlineResponse20013ResponseRecord + //private InlineResponse20013ResponseRecord instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20012ResponseRecordTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20012ResponseRecord - //instance = new InlineResponse20012ResponseRecord(); + // TODO uncomment below to create an instance of InlineResponse20013ResponseRecord + //instance = new InlineResponse20013ResponseRecord(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20012ResponseRecord + /// Test an instance of InlineResponse20013ResponseRecord /// [Test] - public void InlineResponse20012ResponseRecordInstanceTest() + public void InlineResponse20013ResponseRecordInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20012ResponseRecord - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20012ResponseRecord"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20013ResponseRecord + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20013ResponseRecord"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012SourceRecordTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013SourceRecordTests.cs similarity index 84% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012SourceRecordTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013SourceRecordTests.cs index 3fa1d853..7ce1fb83 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20012SourceRecordTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013SourceRecordTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20012SourceRecord + /// Class for testing InlineResponse20013SourceRecord /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20012SourceRecordTests + public class InlineResponse20013SourceRecordTests { - // TODO uncomment below to declare an instance variable for InlineResponse20012SourceRecord - //private InlineResponse20012SourceRecord instance; + // TODO uncomment below to declare an instance variable for InlineResponse20013SourceRecord + //private InlineResponse20013SourceRecord instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20012SourceRecordTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20012SourceRecord - //instance = new InlineResponse20012SourceRecord(); + // TODO uncomment below to create an instance of InlineResponse20013SourceRecord + //instance = new InlineResponse20013SourceRecord(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20012SourceRecord + /// Test an instance of InlineResponse20013SourceRecord /// [Test] - public void InlineResponse20012SourceRecordInstanceTest() + public void InlineResponse20013SourceRecordInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20012SourceRecord - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20012SourceRecord"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20013SourceRecord + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20013SourceRecord"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013Tests.cs index 2f7cc3d6..58db9890 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20013Tests.cs @@ -65,36 +65,84 @@ public void InlineResponse20013InstanceTest() } /// - /// Test the property 'ClientReferenceInformation' + /// Test the property 'Version' /// [Test] - public void ClientReferenceInformationTest() + public void VersionTest() { - // TODO unit test for the property 'ClientReferenceInformation' + // TODO unit test for the property 'Version' } /// - /// Test the property 'RequestId' + /// Test the property 'ReportCreatedDate' /// [Test] - public void RequestIdTest() + public void ReportCreatedDateTest() { - // TODO unit test for the property 'RequestId' + // TODO unit test for the property 'ReportCreatedDate' } /// - /// Test the property 'SubmitTimeUtc' + /// Test the property 'BatchId' /// [Test] - public void SubmitTimeUtcTest() + public void BatchIdTest() { - // TODO unit test for the property 'SubmitTimeUtc' + // TODO unit test for the property 'BatchId' } /// - /// Test the property 'BankAccountValidation' + /// Test the property 'BatchSource' /// [Test] - public void BankAccountValidationTest() + public void BatchSourceTest() { - // TODO unit test for the property 'BankAccountValidation' + // TODO unit test for the property 'BatchSource' + } + /// + /// Test the property 'BatchCaEndpoints' + /// + [Test] + public void BatchCaEndpointsTest() + { + // TODO unit test for the property 'BatchCaEndpoints' + } + /// + /// Test the property 'BatchCreatedDate' + /// + [Test] + public void BatchCreatedDateTest() + { + // TODO unit test for the property 'BatchCreatedDate' + } + /// + /// Test the property 'MerchantReference' + /// + [Test] + public void MerchantReferenceTest() + { + // TODO unit test for the property 'MerchantReference' + } + /// + /// Test the property 'Totals' + /// + [Test] + public void TotalsTest() + { + // TODO unit test for the property 'Totals' + } + /// + /// Test the property 'Billing' + /// + [Test] + public void BillingTest() + { + // TODO unit test for the property 'Billing' + } + /// + /// Test the property 'Records' + /// + [Test] + public void RecordsTest() + { + // TODO unit test for the property 'Records' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20014Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20014Tests.cs index fe9ad18a..545cccfd 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20014Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20014Tests.cs @@ -73,12 +73,12 @@ public void ClientReferenceInformationTest() // TODO unit test for the property 'ClientReferenceInformation' } /// - /// Test the property 'Id' + /// Test the property 'RequestId' /// [Test] - public void IdTest() + public void RequestIdTest() { - // TODO unit test for the property 'Id' + // TODO unit test for the property 'RequestId' } /// /// Test the property 'SubmitTimeUtc' @@ -89,28 +89,12 @@ public void SubmitTimeUtcTest() // TODO unit test for the property 'SubmitTimeUtc' } /// - /// Test the property 'Status' + /// Test the property 'BankAccountValidation' /// [Test] - public void StatusTest() + public void BankAccountValidationTest() { - // TODO unit test for the property 'Status' - } - /// - /// Test the property 'ErrorInformation' - /// - [Test] - public void ErrorInformationTest() - { - // TODO unit test for the property 'ErrorInformation' - } - /// - /// Test the property 'OrderInformation' - /// - [Test] - public void OrderInformationTest() - { - // TODO unit test for the property 'OrderInformation' + // TODO unit test for the property 'BankAccountValidation' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20014ClientReferenceInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20015ClientReferenceInformationTests.cs similarity index 80% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20014ClientReferenceInformationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20015ClientReferenceInformationTests.cs index 4be9e18a..91cd605d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20014ClientReferenceInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20015ClientReferenceInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse20014ClientReferenceInformation + /// Class for testing InlineResponse20015ClientReferenceInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse20014ClientReferenceInformationTests + public class InlineResponse20015ClientReferenceInformationTests { - // TODO uncomment below to declare an instance variable for InlineResponse20014ClientReferenceInformation - //private InlineResponse20014ClientReferenceInformation instance; + // TODO uncomment below to declare an instance variable for InlineResponse20015ClientReferenceInformation + //private InlineResponse20015ClientReferenceInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse20014ClientReferenceInformationTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse20014ClientReferenceInformation - //instance = new InlineResponse20014ClientReferenceInformation(); + // TODO uncomment below to create an instance of InlineResponse20015ClientReferenceInformation + //instance = new InlineResponse20015ClientReferenceInformation(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse20014ClientReferenceInformation + /// Test an instance of InlineResponse20015ClientReferenceInformation /// [Test] - public void InlineResponse20014ClientReferenceInformationInstanceTest() + public void InlineResponse20015ClientReferenceInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse20014ClientReferenceInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20014ClientReferenceInformation"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20015ClientReferenceInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20015ClientReferenceInformation"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20015Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20015Tests.cs new file mode 100644 index 00000000..2f371956 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse20015Tests.cs @@ -0,0 +1,118 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 InlineResponse20015 + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse20015Tests + { + // TODO uncomment below to declare an instance variable for InlineResponse20015 + //private InlineResponse20015 instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse20015 + //instance = new InlineResponse20015(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse20015 + /// + [Test] + public void InlineResponse20015InstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse20015 + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse20015"); + } + + /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'SubmitTimeUtc' + /// + [Test] + public void SubmitTimeUtcTest() + { + // TODO unit test for the property 'SubmitTimeUtc' + } + /// + /// Test the property 'Status' + /// + [Test] + public void StatusTest() + { + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'ErrorInformation' + /// + [Test] + public void ErrorInformationTest() + { + // TODO unit test for the property 'ErrorInformation' + } + /// + /// Test the property 'OrderInformation' + /// + [Test] + public void OrderInformationTest() + { + // TODO unit test for the property 'OrderInformation' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ContentTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001ContentTests.cs similarity index 79% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ContentTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001ContentTests.cs index 16bb102a..4276019c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ContentTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001ContentTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse200Content + /// Class for testing InlineResponse2001Content /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse200ContentTests + public class InlineResponse2001ContentTests { - // TODO uncomment below to declare an instance variable for InlineResponse200Content - //private InlineResponse200Content instance; + // TODO uncomment below to declare an instance variable for InlineResponse2001Content + //private InlineResponse2001Content instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse200ContentTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse200Content - //instance = new InlineResponse200Content(); + // TODO uncomment below to create an instance of InlineResponse2001Content + //instance = new InlineResponse2001Content(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse200Content + /// Test an instance of InlineResponse2001Content /// [Test] - public void InlineResponse200ContentInstanceTest() + public void InlineResponse2001ContentInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse200Content - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse200Content"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2001Content + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2001Content"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001Tests.cs index 17254384..fcc864fe 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001Tests.cs @@ -73,28 +73,28 @@ public void IdTest() // TODO unit test for the property 'Id' } /// - /// Test the property 'SubmitTimeUtc' + /// Test the property 'Type' /// [Test] - public void SubmitTimeUtcTest() + public void TypeTest() { - // TODO unit test for the property 'SubmitTimeUtc' + // TODO unit test for the property 'Type' } /// - /// Test the property 'Status' + /// Test the property 'Provider' /// [Test] - public void StatusTest() + public void ProviderTest() { - // TODO unit test for the property 'Status' + // TODO unit test for the property 'Provider' } /// - /// Test the property 'Embedded' + /// Test the property 'Content' /// [Test] - public void EmbeddedTest() + public void ContentTest() { - // TODO unit test for the property 'Embedded' + // TODO unit test for the property 'Content' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureLinksSelfTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureLinksSelfTests.cs similarity index 75% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureLinksSelfTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureLinksSelfTests.cs index bf63064b..93914fc1 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureLinksSelfTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureLinksSelfTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2001EmbeddedCaptureLinksSelf + /// Class for testing InlineResponse2002EmbeddedCaptureLinksSelf /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2001EmbeddedCaptureLinksSelfTests + public class InlineResponse2002EmbeddedCaptureLinksSelfTests { - // TODO uncomment below to declare an instance variable for InlineResponse2001EmbeddedCaptureLinksSelf - //private InlineResponse2001EmbeddedCaptureLinksSelf instance; + // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedCaptureLinksSelf + //private InlineResponse2002EmbeddedCaptureLinksSelf instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2001EmbeddedCaptureLinksSelfTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2001EmbeddedCaptureLinksSelf - //instance = new InlineResponse2001EmbeddedCaptureLinksSelf(); + // TODO uncomment below to create an instance of InlineResponse2002EmbeddedCaptureLinksSelf + //instance = new InlineResponse2002EmbeddedCaptureLinksSelf(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2001EmbeddedCaptureLinksSelf + /// Test an instance of InlineResponse2002EmbeddedCaptureLinksSelf /// [Test] - public void InlineResponse2001EmbeddedCaptureLinksSelfInstanceTest() + public void InlineResponse2002EmbeddedCaptureLinksSelfInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2001EmbeddedCaptureLinksSelf - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2001EmbeddedCaptureLinksSelf"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedCaptureLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedCaptureLinksSelf"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureLinksTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureLinksTests.cs similarity index 73% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureLinksTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureLinksTests.cs index 7a230f27..16630e1d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureLinksTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureLinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2001EmbeddedCaptureLinks + /// Class for testing InlineResponse2002EmbeddedCaptureLinks /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2001EmbeddedCaptureLinksTests + public class InlineResponse2002EmbeddedCaptureLinksTests { - // TODO uncomment below to declare an instance variable for InlineResponse2001EmbeddedCaptureLinks - //private InlineResponse2001EmbeddedCaptureLinks instance; + // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedCaptureLinks + //private InlineResponse2002EmbeddedCaptureLinks instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2001EmbeddedCaptureLinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2001EmbeddedCaptureLinks - //instance = new InlineResponse2001EmbeddedCaptureLinks(); + // TODO uncomment below to create an instance of InlineResponse2002EmbeddedCaptureLinks + //instance = new InlineResponse2002EmbeddedCaptureLinks(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2001EmbeddedCaptureLinks + /// Test an instance of InlineResponse2002EmbeddedCaptureLinks /// [Test] - public void InlineResponse2001EmbeddedCaptureLinksInstanceTest() + public void InlineResponse2002EmbeddedCaptureLinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2001EmbeddedCaptureLinks - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2001EmbeddedCaptureLinks"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedCaptureLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedCaptureLinks"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureTests.cs similarity index 74% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureTests.cs index ad6a88ce..37adaf2c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedCaptureTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedCaptureTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2001EmbeddedCapture + /// Class for testing InlineResponse2002EmbeddedCapture /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2001EmbeddedCaptureTests + public class InlineResponse2002EmbeddedCaptureTests { - // TODO uncomment below to declare an instance variable for InlineResponse2001EmbeddedCapture - //private InlineResponse2001EmbeddedCapture instance; + // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedCapture + //private InlineResponse2002EmbeddedCapture instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2001EmbeddedCaptureTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2001EmbeddedCapture - //instance = new InlineResponse2001EmbeddedCapture(); + // TODO uncomment below to create an instance of InlineResponse2002EmbeddedCapture + //instance = new InlineResponse2002EmbeddedCapture(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2001EmbeddedCapture + /// Test an instance of InlineResponse2002EmbeddedCapture /// [Test] - public void InlineResponse2001EmbeddedCaptureInstanceTest() + public void InlineResponse2002EmbeddedCaptureInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2001EmbeddedCapture - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2001EmbeddedCapture"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedCapture + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedCapture"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalLinksSelfTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalLinksSelfTests.cs similarity index 74% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalLinksSelfTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalLinksSelfTests.cs index 3ddc5ccb..95794fe1 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalLinksSelfTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalLinksSelfTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2001EmbeddedReversalLinksSelf + /// Class for testing InlineResponse2002EmbeddedReversalLinksSelf /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2001EmbeddedReversalLinksSelfTests + public class InlineResponse2002EmbeddedReversalLinksSelfTests { - // TODO uncomment below to declare an instance variable for InlineResponse2001EmbeddedReversalLinksSelf - //private InlineResponse2001EmbeddedReversalLinksSelf instance; + // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedReversalLinksSelf + //private InlineResponse2002EmbeddedReversalLinksSelf instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2001EmbeddedReversalLinksSelfTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2001EmbeddedReversalLinksSelf - //instance = new InlineResponse2001EmbeddedReversalLinksSelf(); + // TODO uncomment below to create an instance of InlineResponse2002EmbeddedReversalLinksSelf + //instance = new InlineResponse2002EmbeddedReversalLinksSelf(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2001EmbeddedReversalLinksSelf + /// Test an instance of InlineResponse2002EmbeddedReversalLinksSelf /// [Test] - public void InlineResponse2001EmbeddedReversalLinksSelfInstanceTest() + public void InlineResponse2002EmbeddedReversalLinksSelfInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2001EmbeddedReversalLinksSelf - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2001EmbeddedReversalLinksSelf"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedReversalLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedReversalLinksSelf"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalLinksTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalLinksTests.cs similarity index 73% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalLinksTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalLinksTests.cs index 09cdadef..91f44bf4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalLinksTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalLinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2001EmbeddedReversalLinks + /// Class for testing InlineResponse2002EmbeddedReversalLinks /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2001EmbeddedReversalLinksTests + public class InlineResponse2002EmbeddedReversalLinksTests { - // TODO uncomment below to declare an instance variable for InlineResponse2001EmbeddedReversalLinks - //private InlineResponse2001EmbeddedReversalLinks instance; + // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedReversalLinks + //private InlineResponse2002EmbeddedReversalLinks instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2001EmbeddedReversalLinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2001EmbeddedReversalLinks - //instance = new InlineResponse2001EmbeddedReversalLinks(); + // TODO uncomment below to create an instance of InlineResponse2002EmbeddedReversalLinks + //instance = new InlineResponse2002EmbeddedReversalLinks(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2001EmbeddedReversalLinks + /// Test an instance of InlineResponse2002EmbeddedReversalLinks /// [Test] - public void InlineResponse2001EmbeddedReversalLinksInstanceTest() + public void InlineResponse2002EmbeddedReversalLinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2001EmbeddedReversalLinks - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2001EmbeddedReversalLinks"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedReversalLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedReversalLinks"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalTests.cs similarity index 76% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalTests.cs index 032d819c..7f6c30d9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedReversalTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedReversalTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2001EmbeddedReversal + /// Class for testing InlineResponse2002EmbeddedReversal /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2001EmbeddedReversalTests + public class InlineResponse2002EmbeddedReversalTests { - // TODO uncomment below to declare an instance variable for InlineResponse2001EmbeddedReversal - //private InlineResponse2001EmbeddedReversal instance; + // TODO uncomment below to declare an instance variable for InlineResponse2002EmbeddedReversal + //private InlineResponse2002EmbeddedReversal instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2001EmbeddedReversalTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2001EmbeddedReversal - //instance = new InlineResponse2001EmbeddedReversal(); + // TODO uncomment below to create an instance of InlineResponse2002EmbeddedReversal + //instance = new InlineResponse2002EmbeddedReversal(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2001EmbeddedReversal + /// Test an instance of InlineResponse2002EmbeddedReversal /// [Test] - public void InlineResponse2001EmbeddedReversalInstanceTest() + public void InlineResponse2002EmbeddedReversalInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2001EmbeddedReversal - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2001EmbeddedReversal"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002EmbeddedReversal + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002EmbeddedReversal"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedTests.cs similarity index 76% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedTests.cs index 581e75f2..1f24ca43 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001EmbeddedTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002EmbeddedTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2001Embedded + /// Class for testing InlineResponse2002Embedded /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2001EmbeddedTests + public class InlineResponse2002EmbeddedTests { - // TODO uncomment below to declare an instance variable for InlineResponse2001Embedded - //private InlineResponse2001Embedded instance; + // TODO uncomment below to declare an instance variable for InlineResponse2002Embedded + //private InlineResponse2002Embedded instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2001EmbeddedTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2001Embedded - //instance = new InlineResponse2001Embedded(); + // TODO uncomment below to create an instance of InlineResponse2002Embedded + //instance = new InlineResponse2002Embedded(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2001Embedded + /// Test an instance of InlineResponse2002Embedded /// [Test] - public void InlineResponse2001EmbeddedInstanceTest() + public void InlineResponse2002EmbeddedInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2001Embedded - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2001Embedded"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2002Embedded + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2002Embedded"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002Tests.cs index ca8ef2d5..7ed8c265 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2002Tests.cs @@ -73,92 +73,28 @@ public void IdTest() // TODO unit test for the property 'Id' } /// - /// Test the property 'FieldType' + /// Test the property 'SubmitTimeUtc' /// [Test] - public void FieldTypeTest() + public void SubmitTimeUtcTest() { - // TODO unit test for the property 'FieldType' + // TODO unit test for the property 'SubmitTimeUtc' } /// - /// Test the property 'Label' + /// Test the property 'Status' /// [Test] - public void LabelTest() + public void StatusTest() { - // TODO unit test for the property 'Label' + // TODO unit test for the property 'Status' } /// - /// Test the property 'CustomerVisible' + /// Test the property 'Embedded' /// [Test] - public void CustomerVisibleTest() + public void EmbeddedTest() { - // TODO unit test for the property 'CustomerVisible' - } - /// - /// Test the property 'TextMinLength' - /// - [Test] - public void TextMinLengthTest() - { - // TODO unit test for the property 'TextMinLength' - } - /// - /// Test the property 'TextMaxLength' - /// - [Test] - public void TextMaxLengthTest() - { - // TODO unit test for the property 'TextMaxLength' - } - /// - /// Test the property 'PossibleValues' - /// - [Test] - public void PossibleValuesTest() - { - // TODO unit test for the property 'PossibleValues' - } - /// - /// Test the property 'TextDefaultValue' - /// - [Test] - public void TextDefaultValueTest() - { - // TODO unit test for the property 'TextDefaultValue' - } - /// - /// Test the property 'MerchantId' - /// - [Test] - public void MerchantIdTest() - { - // TODO unit test for the property 'MerchantId' - } - /// - /// Test the property 'ReferenceType' - /// - [Test] - public void ReferenceTypeTest() - { - // TODO unit test for the property 'ReferenceType' - } - /// - /// Test the property 'ReadOnly' - /// - [Test] - public void ReadOnlyTest() - { - // TODO unit test for the property 'ReadOnly' - } - /// - /// Test the property 'MerchantDefinedDataIndex' - /// - [Test] - public void MerchantDefinedDataIndexTest() - { - // TODO unit test for the property 'MerchantDefinedDataIndex' + // TODO unit test for the property 'Embedded' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003Tests.cs index 91b8e9e4..f7ee529b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003Tests.cs @@ -65,60 +65,100 @@ public void InlineResponse2003InstanceTest() } /// - /// Test the property 'RegistrationInformation' + /// Test the property 'Id' /// [Test] - public void RegistrationInformationTest() + public void IdTest() { - // TODO unit test for the property 'RegistrationInformation' + // TODO unit test for the property 'Id' } /// - /// Test the property 'IntegrationInformation' + /// Test the property 'FieldType' /// [Test] - public void IntegrationInformationTest() + public void FieldTypeTest() { - // TODO unit test for the property 'IntegrationInformation' + // TODO unit test for the property 'FieldType' } /// - /// Test the property 'OrganizationInformation' + /// Test the property 'Label' /// [Test] - public void OrganizationInformationTest() + public void LabelTest() { - // TODO unit test for the property 'OrganizationInformation' + // TODO unit test for the property 'Label' } /// - /// Test the property 'ProductInformation' + /// Test the property 'CustomerVisible' /// [Test] - public void ProductInformationTest() + public void CustomerVisibleTest() { - // TODO unit test for the property 'ProductInformation' + // TODO unit test for the property 'CustomerVisible' } /// - /// Test the property 'ProductInformationSetups' + /// Test the property 'TextMinLength' /// [Test] - public void ProductInformationSetupsTest() + public void TextMinLengthTest() { - // TODO unit test for the property 'ProductInformationSetups' + // TODO unit test for the property 'TextMinLength' } /// - /// Test the property 'DocumentInformation' + /// Test the property 'TextMaxLength' /// [Test] - public void DocumentInformationTest() + public void TextMaxLengthTest() { - // TODO unit test for the property 'DocumentInformation' + // TODO unit test for the property 'TextMaxLength' } /// - /// Test the property 'Details' + /// Test the property 'PossibleValues' /// [Test] - public void DetailsTest() + public void PossibleValuesTest() { - // TODO unit test for the property 'Details' + // TODO unit test for the property 'PossibleValues' + } + /// + /// Test the property 'TextDefaultValue' + /// + [Test] + public void TextDefaultValueTest() + { + // TODO unit test for the property 'TextDefaultValue' + } + /// + /// Test the property 'MerchantId' + /// + [Test] + public void MerchantIdTest() + { + // TODO unit test for the property 'MerchantId' + } + /// + /// Test the property 'ReferenceType' + /// + [Test] + public void ReferenceTypeTest() + { + // TODO unit test for the property 'ReferenceType' + } + /// + /// Test the property 'ReadOnly' + /// + [Test] + public void ReadOnlyTest() + { + // TODO unit test for the property 'ReadOnly' + } + /// + /// Test the property 'MerchantDefinedDataIndex' + /// + [Test] + public void MerchantDefinedDataIndexTest() + { + // TODO unit test for the property 'MerchantDefinedDataIndex' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003IntegrationInformationTenantConfigurationsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004IntegrationInformationTenantConfigurationsTests.cs similarity index 79% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003IntegrationInformationTenantConfigurationsTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004IntegrationInformationTenantConfigurationsTests.cs index 1ff3762d..6ed5c121 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003IntegrationInformationTenantConfigurationsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004IntegrationInformationTenantConfigurationsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2003IntegrationInformationTenantConfigurations + /// Class for testing InlineResponse2004IntegrationInformationTenantConfigurations /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2003IntegrationInformationTenantConfigurationsTests + public class InlineResponse2004IntegrationInformationTenantConfigurationsTests { - // TODO uncomment below to declare an instance variable for InlineResponse2003IntegrationInformationTenantConfigurations - //private InlineResponse2003IntegrationInformationTenantConfigurations instance; + // TODO uncomment below to declare an instance variable for InlineResponse2004IntegrationInformationTenantConfigurations + //private InlineResponse2004IntegrationInformationTenantConfigurations instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2003IntegrationInformationTenantConfigurationsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2003IntegrationInformationTenantConfigurations - //instance = new InlineResponse2003IntegrationInformationTenantConfigurations(); + // TODO uncomment below to create an instance of InlineResponse2004IntegrationInformationTenantConfigurations + //instance = new InlineResponse2004IntegrationInformationTenantConfigurations(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2003IntegrationInformationTenantConfigurations + /// Test an instance of InlineResponse2004IntegrationInformationTenantConfigurations /// [Test] - public void InlineResponse2003IntegrationInformationTenantConfigurationsInstanceTest() + public void InlineResponse2004IntegrationInformationTenantConfigurationsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2003IntegrationInformationTenantConfigurations - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2003IntegrationInformationTenantConfigurations"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2004IntegrationInformationTenantConfigurations + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2004IntegrationInformationTenantConfigurations"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003IntegrationInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004IntegrationInformationTests.cs similarity index 75% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003IntegrationInformationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004IntegrationInformationTests.cs index 77a159a0..3f4fce57 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2003IntegrationInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004IntegrationInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2003IntegrationInformation + /// Class for testing InlineResponse2004IntegrationInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2003IntegrationInformationTests + public class InlineResponse2004IntegrationInformationTests { - // TODO uncomment below to declare an instance variable for InlineResponse2003IntegrationInformation - //private InlineResponse2003IntegrationInformation instance; + // TODO uncomment below to declare an instance variable for InlineResponse2004IntegrationInformation + //private InlineResponse2004IntegrationInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2003IntegrationInformationTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2003IntegrationInformation - //instance = new InlineResponse2003IntegrationInformation(); + // TODO uncomment below to create an instance of InlineResponse2004IntegrationInformation + //instance = new InlineResponse2004IntegrationInformation(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2003IntegrationInformation + /// Test an instance of InlineResponse2004IntegrationInformation /// [Test] - public void InlineResponse2003IntegrationInformationInstanceTest() + public void InlineResponse2004IntegrationInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2003IntegrationInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2003IntegrationInformation"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2004IntegrationInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2004IntegrationInformation"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004Tests.cs index 6c6c256e..f50cbcc9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2004Tests.cs @@ -65,28 +65,60 @@ public void InlineResponse2004InstanceTest() } /// - /// Test the property 'ProductId' + /// Test the property 'RegistrationInformation' /// [Test] - public void ProductIdTest() + public void RegistrationInformationTest() { - // TODO unit test for the property 'ProductId' + // TODO unit test for the property 'RegistrationInformation' } /// - /// Test the property 'ProductName' + /// Test the property 'IntegrationInformation' /// [Test] - public void ProductNameTest() + public void IntegrationInformationTest() { - // TODO unit test for the property 'ProductName' + // TODO unit test for the property 'IntegrationInformation' } /// - /// Test the property 'EventTypes' + /// Test the property 'OrganizationInformation' /// [Test] - public void EventTypesTest() + public void OrganizationInformationTest() { - // TODO unit test for the property 'EventTypes' + // TODO unit test for the property 'OrganizationInformation' + } + /// + /// Test the property 'ProductInformation' + /// + [Test] + public void ProductInformationTest() + { + // TODO unit test for the property 'ProductInformation' + } + /// + /// Test the property 'ProductInformationSetups' + /// + [Test] + public void ProductInformationSetupsTest() + { + // TODO unit test for the property 'ProductInformationSetups' + } + /// + /// Test the property 'DocumentInformation' + /// + [Test] + public void DocumentInformationTest() + { + // TODO unit test for the property 'DocumentInformation' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2005Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2005Tests.cs index 6030fe82..8098550a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2005Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2005Tests.cs @@ -65,100 +65,28 @@ public void InlineResponse2005InstanceTest() } /// - /// Test the property 'WebhookId' + /// Test the property 'ProductId' /// [Test] - public void WebhookIdTest() + public void ProductIdTest() { - // TODO unit test for the property 'WebhookId' + // TODO unit test for the property 'ProductId' } /// - /// Test the property 'OrganizationId' + /// Test the property 'ProductName' /// [Test] - public void OrganizationIdTest() + public void ProductNameTest() { - // TODO unit test for the property 'OrganizationId' + // TODO unit test for the property 'ProductName' } /// - /// Test the property 'Products' + /// Test the property 'EventTypes' /// [Test] - public void ProductsTest() + public void EventTypesTest() { - // TODO unit test for the property 'Products' - } - /// - /// Test the property 'WebhookUrl' - /// - [Test] - public void WebhookUrlTest() - { - // TODO unit test for the property 'WebhookUrl' - } - /// - /// Test the property 'HealthCheckUrl' - /// - [Test] - public void HealthCheckUrlTest() - { - // TODO unit test for the property 'HealthCheckUrl' - } - /// - /// Test the property 'Status' - /// - [Test] - public void StatusTest() - { - // TODO unit test for the property 'Status' - } - /// - /// Test the property 'Name' - /// - [Test] - public void NameTest() - { - // TODO unit test for the property 'Name' - } - /// - /// Test the property 'Description' - /// - [Test] - public void DescriptionTest() - { - // TODO unit test for the property 'Description' - } - /// - /// Test the property 'RetryPolicy' - /// - [Test] - public void RetryPolicyTest() - { - // TODO unit test for the property 'RetryPolicy' - } - /// - /// Test the property 'SecurityPolicy' - /// - [Test] - public void SecurityPolicyTest() - { - // TODO unit test for the property 'SecurityPolicy' - } - /// - /// Test the property 'CreatedOn' - /// - [Test] - public void CreatedOnTest() - { - // TODO unit test for the property 'CreatedOn' - } - /// - /// Test the property 'NotificationScope' - /// - [Test] - public void NotificationScopeTest() - { - // TODO unit test for the property 'NotificationScope' + // TODO unit test for the property 'EventTypes' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2006Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2006Tests.cs index deead87b..779c078e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2006Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2006Tests.cs @@ -153,14 +153,6 @@ public void CreatedOnTest() // TODO unit test for the property 'CreatedOn' } /// - /// Test the property 'UpdatedOn' - /// - [Test] - public void UpdatedOnTest() - { - // TODO unit test for the property 'UpdatedOn' - } - /// /// Test the property 'NotificationScope' /// [Test] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2007Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2007Tests.cs index ff9f8bc2..5762692f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2007Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2007Tests.cs @@ -65,52 +65,108 @@ public void InlineResponse2007InstanceTest() } /// - /// Test the property 'TotalCount' + /// Test the property 'WebhookId' /// [Test] - public void TotalCountTest() + public void WebhookIdTest() { - // TODO unit test for the property 'TotalCount' + // TODO unit test for the property 'WebhookId' } /// - /// Test the property 'Offset' + /// Test the property 'OrganizationId' /// [Test] - public void OffsetTest() + public void OrganizationIdTest() { - // TODO unit test for the property 'Offset' + // TODO unit test for the property 'OrganizationId' } /// - /// Test the property 'Limit' + /// Test the property 'Products' /// [Test] - public void LimitTest() + public void ProductsTest() { - // TODO unit test for the property 'Limit' + // TODO unit test for the property 'Products' } /// - /// Test the property 'Sort' + /// Test the property 'WebhookUrl' /// [Test] - public void SortTest() + public void WebhookUrlTest() { - // TODO unit test for the property 'Sort' + // TODO unit test for the property 'WebhookUrl' } /// - /// Test the property 'Count' + /// Test the property 'HealthCheckUrl' /// [Test] - public void CountTest() + public void HealthCheckUrlTest() { - // TODO unit test for the property 'Count' + // TODO unit test for the property 'HealthCheckUrl' } /// - /// Test the property 'Devices' + /// Test the property 'Status' /// [Test] - public void DevicesTest() + public void StatusTest() { - // TODO unit test for the property 'Devices' + // TODO unit test for the property 'Status' + } + /// + /// Test the property 'Name' + /// + [Test] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'Description' + /// + [Test] + public void DescriptionTest() + { + // TODO unit test for the property 'Description' + } + /// + /// Test the property 'RetryPolicy' + /// + [Test] + public void RetryPolicyTest() + { + // TODO unit test for the property 'RetryPolicy' + } + /// + /// Test the property 'SecurityPolicy' + /// + [Test] + public void SecurityPolicyTest() + { + // TODO unit test for the property 'SecurityPolicy' + } + /// + /// Test the property 'CreatedOn' + /// + [Test] + public void CreatedOnTest() + { + // TODO unit test for the property 'CreatedOn' + } + /// + /// Test the property 'UpdatedOn' + /// + [Test] + public void UpdatedOnTest() + { + // TODO unit test for the property 'UpdatedOn' + } + /// + /// Test the property 'NotificationScope' + /// + [Test] + public void NotificationScopeTest() + { + // TODO unit test for the property 'NotificationScope' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2007DevicesTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2008DevicesTests.cs similarity index 85% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2007DevicesTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2008DevicesTests.cs index e15b87e5..2b1c4689 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2007DevicesTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2008DevicesTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing InlineResponse2007Devices + /// Class for testing InlineResponse2008Devices /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class InlineResponse2007DevicesTests + public class InlineResponse2008DevicesTests { - // TODO uncomment below to declare an instance variable for InlineResponse2007Devices - //private InlineResponse2007Devices instance; + // TODO uncomment below to declare an instance variable for InlineResponse2008Devices + //private InlineResponse2008Devices instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class InlineResponse2007DevicesTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of InlineResponse2007Devices - //instance = new InlineResponse2007Devices(); + // TODO uncomment below to create an instance of InlineResponse2008Devices + //instance = new InlineResponse2008Devices(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of InlineResponse2007Devices + /// Test an instance of InlineResponse2008Devices /// [Test] - public void InlineResponse2007DevicesInstanceTest() + public void InlineResponse2008DevicesInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" InlineResponse2007Devices - //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2007Devices"); + // TODO uncomment below to test "IsInstanceOfType" InlineResponse2008Devices + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse2008Devices"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2008Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2008Tests.cs index 549400d1..0d09c83b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2008Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2008Tests.cs @@ -65,12 +65,44 @@ public void InlineResponse2008InstanceTest() } /// - /// Test the property 'Status' + /// Test the property 'TotalCount' /// [Test] - public void StatusTest() + public void TotalCountTest() { - // TODO unit test for the property 'Status' + // TODO unit test for the property 'TotalCount' + } + /// + /// Test the property 'Offset' + /// + [Test] + public void OffsetTest() + { + // TODO unit test for the property 'Offset' + } + /// + /// Test the property 'Limit' + /// + [Test] + public void LimitTest() + { + // TODO unit test for the property 'Limit' + } + /// + /// Test the property 'Sort' + /// + [Test] + public void SortTest() + { + // TODO unit test for the property 'Sort' + } + /// + /// Test the property 'Count' + /// + [Test] + public void CountTest() + { + // TODO unit test for the property 'Count' } /// /// Test the property 'Devices' diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009Tests.cs index dbf42377..260ed39a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2009Tests.cs @@ -65,44 +65,12 @@ public void InlineResponse2009InstanceTest() } /// - /// Test the property 'TotalCount' + /// Test the property 'Status' /// [Test] - public void TotalCountTest() + public void StatusTest() { - // TODO unit test for the property 'TotalCount' - } - /// - /// Test the property 'Offset' - /// - [Test] - public void OffsetTest() - { - // TODO unit test for the property 'Offset' - } - /// - /// Test the property 'Limit' - /// - [Test] - public void LimitTest() - { - // TODO unit test for the property 'Limit' - } - /// - /// Test the property 'Sort' - /// - [Test] - public void SortTest() - { - // TODO unit test for the property 'Sort' - } - /// - /// Test the property 'Count' - /// - [Test] - public void CountTest() - { - // TODO unit test for the property 'Count' + // TODO unit test for the property 'Status' } /// /// Test the property 'Devices' diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200DetailsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200DetailsTests.cs new file mode 100644 index 00000000..fa2cf5f1 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200DetailsTests.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 InlineResponse200Details + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse200DetailsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse200Details + //private InlineResponse200Details instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse200Details + //instance = new InlineResponse200Details(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse200Details + /// + [Test] + public void InlineResponse200DetailsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse200Details + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse200Details"); + } + + /// + /// Test the property 'Name' + /// + [Test] + public void NameTest() + { + // TODO unit test for the property 'Name' + } + /// + /// Test the property 'Location' + /// + [Test] + public void LocationTest() + { + // TODO unit test for the property 'Location' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ErrorsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ErrorsTests.cs new file mode 100644 index 00000000..fcad4414 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ErrorsTests.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 InlineResponse200Errors + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse200ErrorsTests + { + // TODO uncomment below to declare an instance variable for InlineResponse200Errors + //private InlineResponse200Errors instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse200Errors + //instance = new InlineResponse200Errors(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse200Errors + /// + [Test] + public void InlineResponse200ErrorsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse200Errors + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse200Errors"); + } + + /// + /// Test the property 'Type' + /// + [Test] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + /// + /// Test the property 'Message' + /// + [Test] + public void MessageTest() + { + // TODO unit test for the property 'Message' + } + /// + /// Test the property 'Details' + /// + [Test] + public void DetailsTest() + { + // TODO unit test for the property 'Details' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ResponsesTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ResponsesTests.cs new file mode 100644 index 00000000..d0641ec9 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200ResponsesTests.cs @@ -0,0 +1,102 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using NUnit.Framework; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using CyberSource.Api; +using CyberSource.Model; +using CyberSource.Client; +using System.Reflection; + +namespace CyberSource.Test +{ + /// + /// Class for testing InlineResponse200Responses + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class InlineResponse200ResponsesTests + { + // TODO uncomment below to declare an instance variable for InlineResponse200Responses + //private InlineResponse200Responses instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of InlineResponse200Responses + //instance = new InlineResponse200Responses(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of InlineResponse200Responses + /// + [Test] + public void InlineResponse200ResponsesInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" InlineResponse200Responses + //Assert.IsInstanceOfType (instance, "variable 'instance' is a InlineResponse200Responses"); + } + + /// + /// Test the property 'Resource' + /// + [Test] + public void ResourceTest() + { + // TODO unit test for the property 'Resource' + } + /// + /// Test the property 'HttpStatus' + /// + [Test] + public void HttpStatusTest() + { + // TODO unit test for the property 'HttpStatus' + } + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'Errors' + /// + [Test] + public void ErrorsTest() + { + // TODO unit test for the property 'Errors' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200Tests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200Tests.cs index a366076b..22e826e4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200Tests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse200Tests.cs @@ -65,36 +65,12 @@ public void InlineResponse200InstanceTest() } /// - /// Test the property 'Id' + /// Test the property 'Responses' /// [Test] - public void IdTest() + public void ResponsesTest() { - // TODO unit test for the property 'Id' - } - /// - /// Test the property 'Type' - /// - [Test] - public void TypeTest() - { - // TODO unit test for the property 'Type' - } - /// - /// Test the property 'Provider' - /// - [Test] - public void ProviderTest() - { - // TODO unit test for the property 'Provider' - } - /// - /// Test the property 'Content' - /// - [Test] - public void ContentTest() - { - // TODO unit test for the property 'Content' + // TODO unit test for the property 'Responses' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2013SetupsPaymentsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2013SetupsPaymentsTests.cs index 3a11c1c9..d7424c40 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2013SetupsPaymentsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2013SetupsPaymentsTests.cs @@ -216,6 +216,14 @@ public void ServiceFeeTest() { // TODO unit test for the property 'ServiceFee' } + /// + /// Test the property 'BatchUpload' + /// + [Test] + public void BatchUploadTest() + { + // TODO unit test for the property 'BatchUpload' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PaymentsProductsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PaymentsProductsTests.cs index 57d1252d..6f8bc51b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PaymentsProductsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PaymentsProductsTests.cs @@ -224,6 +224,14 @@ public void ServiceFeeTest() { // TODO unit test for the property 'ServiceFee' } + /// + /// Test the property 'BatchUpload' + /// + [Test] + public void BatchUploadTest() + { + // TODO unit test for the property 'BatchUpload' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PostIssuerLifeCycleSimulationRequestTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PostIssuerLifeCycleSimulationRequestTests.cs new file mode 100644 index 00000000..495f6bd7 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PostIssuerLifeCycleSimulationRequestTests.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 PostIssuerLifeCycleSimulationRequest + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PostIssuerLifeCycleSimulationRequestTests + { + // TODO uncomment below to declare an instance variable for PostIssuerLifeCycleSimulationRequest + //private PostIssuerLifeCycleSimulationRequest instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PostIssuerLifeCycleSimulationRequest + //instance = new PostIssuerLifeCycleSimulationRequest(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PostIssuerLifeCycleSimulationRequest + /// + [Test] + public void PostIssuerLifeCycleSimulationRequestInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PostIssuerLifeCycleSimulationRequest + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PostIssuerLifeCycleSimulationRequest"); + } + + /// + /// Test the property 'State' + /// + [Test] + public void StateTest() + { + // TODO unit test for the property 'State' + } + /// + /// Test the property 'Card' + /// + [Test] + 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/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PostTokenizeRequestTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PostTokenizeRequestTests.cs new file mode 100644 index 00000000..65e00e03 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PostTokenizeRequestTests.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 PostTokenizeRequest + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class PostTokenizeRequestTests + { + // TODO uncomment below to declare an instance variable for PostTokenizeRequest + //private PostTokenizeRequest instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of PostTokenizeRequest + //instance = new PostTokenizeRequest(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of PostTokenizeRequest + /// + [Test] + public void PostTokenizeRequestInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" PostTokenizeRequest + //Assert.IsInstanceOfType (instance, "variable 'instance' is a PostTokenizeRequest"); + } + + /// + /// Test the property 'ProcessingInformation' + /// + [Test] + public void ProcessingInformationTest() + { + // TODO unit test for the property 'ProcessingInformation' + } + /// + /// Test the property 'TokenInformation' + /// + [Test] + public void TokenInformationTest() + { + // TODO unit test for the property 'TokenInformation' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Ptsv2paymentsAggregatorInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Ptsv2paymentsAggregatorInformationTests.cs index fae5c75a..c27a9398 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Ptsv2paymentsAggregatorInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Ptsv2paymentsAggregatorInformationTests.cs @@ -128,6 +128,14 @@ public void CountryTest() { // TODO unit test for the property 'Country' } + /// + /// Test the property 'ServiceProvidername' + /// + [Test] + public void ServiceProvidernameTest() + { + // TODO unit test for the property 'ServiceProvidername' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1plansClientReferenceInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1plansClientReferenceInformationTests.cs deleted file mode 100644 index 0d85547f..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1plansClientReferenceInformationTests.cs +++ /dev/null @@ -1,110 +0,0 @@ -/* - * 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 Rbsv1plansClientReferenceInformation - /// - /// - /// This file is automatically generated by Swagger Codegen. - /// Please update the test case below to test the model. - /// - [TestFixture] - public class Rbsv1plansClientReferenceInformationTests - { - // TODO uncomment below to declare an instance variable for Rbsv1plansClientReferenceInformation - //private Rbsv1plansClientReferenceInformation instance; - - /// - /// Setup before each test - /// - [SetUp] - public void Init() - { - // TODO uncomment below to create an instance of Rbsv1plansClientReferenceInformation - //instance = new Rbsv1plansClientReferenceInformation(); - } - - /// - /// Clean up after each test - /// - [TearDown] - public void Cleanup() - { - - } - - /// - /// Test an instance of Rbsv1plansClientReferenceInformation - /// - [Test] - public void Rbsv1plansClientReferenceInformationInstanceTest() - { - // TODO uncomment below to test "IsInstanceOfType" Rbsv1plansClientReferenceInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Rbsv1plansClientReferenceInformation"); - } - - /// - /// Test the property 'Comments' - /// - [Test] - public void CommentsTest() - { - // TODO unit test for the property 'Comments' - } - /// - /// Test the property 'Partner' - /// - [Test] - public void PartnerTest() - { - // TODO unit test for the property 'Partner' - } - /// - /// Test the property 'ApplicationName' - /// - [Test] - public void ApplicationNameTest() - { - // TODO unit test for the property 'ApplicationName' - } - /// - /// Test the property 'ApplicationVersion' - /// - [Test] - public void ApplicationVersionTest() - { - // TODO unit test for the property 'ApplicationVersion' - } - /// - /// Test the property 'ApplicationUser' - /// - [Test] - public void ApplicationUserTest() - { - // TODO unit test for the property 'ApplicationUser' - } - - } - -} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1subscriptionsClientReferenceInformationPartnerTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1subscriptionsClientReferenceInformationPartnerTests.cs deleted file mode 100644 index 746e1bd7..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1subscriptionsClientReferenceInformationPartnerTests.cs +++ /dev/null @@ -1,86 +0,0 @@ -/* - * 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 Rbsv1subscriptionsClientReferenceInformationPartner - /// - /// - /// This file is automatically generated by Swagger Codegen. - /// Please update the test case below to test the model. - /// - [TestFixture] - public class Rbsv1subscriptionsClientReferenceInformationPartnerTests - { - // TODO uncomment below to declare an instance variable for Rbsv1subscriptionsClientReferenceInformationPartner - //private Rbsv1subscriptionsClientReferenceInformationPartner instance; - - /// - /// Setup before each test - /// - [SetUp] - public void Init() - { - // TODO uncomment below to create an instance of Rbsv1subscriptionsClientReferenceInformationPartner - //instance = new Rbsv1subscriptionsClientReferenceInformationPartner(); - } - - /// - /// Clean up after each test - /// - [TearDown] - public void Cleanup() - { - - } - - /// - /// Test an instance of Rbsv1subscriptionsClientReferenceInformationPartner - /// - [Test] - public void Rbsv1subscriptionsClientReferenceInformationPartnerInstanceTest() - { - // TODO uncomment below to test "IsInstanceOfType" Rbsv1subscriptionsClientReferenceInformationPartner - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Rbsv1subscriptionsClientReferenceInformationPartner"); - } - - /// - /// Test the property 'DeveloperId' - /// - [Test] - public void DeveloperIdTest() - { - // TODO unit test for the property 'DeveloperId' - } - /// - /// Test the property 'SolutionId' - /// - [Test] - public void SolutionIdTest() - { - // TODO unit test for the property 'SolutionId' - } - - } - -} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1subscriptionsClientReferenceInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1subscriptionsClientReferenceInformationTests.cs deleted file mode 100644 index a62d1995..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Rbsv1subscriptionsClientReferenceInformationTests.cs +++ /dev/null @@ -1,118 +0,0 @@ -/* - * 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 Rbsv1subscriptionsClientReferenceInformation - /// - /// - /// This file is automatically generated by Swagger Codegen. - /// Please update the test case below to test the model. - /// - [TestFixture] - public class Rbsv1subscriptionsClientReferenceInformationTests - { - // TODO uncomment below to declare an instance variable for Rbsv1subscriptionsClientReferenceInformation - //private Rbsv1subscriptionsClientReferenceInformation instance; - - /// - /// Setup before each test - /// - [SetUp] - public void Init() - { - // TODO uncomment below to create an instance of Rbsv1subscriptionsClientReferenceInformation - //instance = new Rbsv1subscriptionsClientReferenceInformation(); - } - - /// - /// Clean up after each test - /// - [TearDown] - public void Cleanup() - { - - } - - /// - /// Test an instance of Rbsv1subscriptionsClientReferenceInformation - /// - [Test] - public void Rbsv1subscriptionsClientReferenceInformationInstanceTest() - { - // TODO uncomment below to test "IsInstanceOfType" Rbsv1subscriptionsClientReferenceInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Rbsv1subscriptionsClientReferenceInformation"); - } - - /// - /// Test the property 'Code' - /// - [Test] - public void CodeTest() - { - // TODO unit test for the property 'Code' - } - /// - /// Test the property 'Comments' - /// - [Test] - public void CommentsTest() - { - // TODO unit test for the property 'Comments' - } - /// - /// Test the property 'Partner' - /// - [Test] - public void PartnerTest() - { - // TODO unit test for the property 'Partner' - } - /// - /// Test the property 'ApplicationName' - /// - [Test] - public void ApplicationNameTest() - { - // TODO unit test for the property 'ApplicationName' - } - /// - /// Test the property 'ApplicationVersion' - /// - [Test] - public void ApplicationVersionTest() - { - // TODO unit test for the property 'ApplicationVersion' - } - /// - /// Test the property 'ApplicationUser' - /// - [Test] - public void ApplicationUserTest() - { - // TODO unit test for the property 'ApplicationUser' - } - - } - -} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersClientReferenceInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/TmsMerchantInformationMerchantDescriptorTests.cs similarity index 62% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersClientReferenceInformationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/TmsMerchantInformationMerchantDescriptorTests.cs index fd2ad9a9..ebe26a60 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersClientReferenceInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/TmsMerchantInformationMerchantDescriptorTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersClientReferenceInformation + /// Class for testing TmsMerchantInformationMerchantDescriptor /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersClientReferenceInformationTests + public class TmsMerchantInformationMerchantDescriptorTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersClientReferenceInformation - //private Tmsv2customersClientReferenceInformation instance; + // TODO uncomment below to declare an instance variable for TmsMerchantInformationMerchantDescriptor + //private TmsMerchantInformationMerchantDescriptor instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersClientReferenceInformationTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersClientReferenceInformation - //instance = new Tmsv2customersClientReferenceInformation(); + // TODO uncomment below to create an instance of TmsMerchantInformationMerchantDescriptor + //instance = new TmsMerchantInformationMerchantDescriptor(); } /// @@ -55,22 +55,22 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersClientReferenceInformation + /// Test an instance of TmsMerchantInformationMerchantDescriptor /// [Test] - public void Tmsv2customersClientReferenceInformationInstanceTest() + public void TmsMerchantInformationMerchantDescriptorInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersClientReferenceInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersClientReferenceInformation"); + // TODO uncomment below to test "IsInstanceOfType" TmsMerchantInformationMerchantDescriptor + //Assert.IsInstanceOfType (instance, "variable 'instance' is a TmsMerchantInformationMerchantDescriptor"); } /// - /// Test the property 'Code' + /// Test the property 'AlternateName' /// [Test] - public void CodeTest() + public void AlternateNameTest() { - // TODO unit test for the property 'Code' + // TODO unit test for the property 'AlternateName' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksSelfTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/TmsMerchantInformationTests.cs similarity index 67% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksSelfTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/TmsMerchantInformationTests.cs index f1b46a9a..4ba2d9a8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksSelfTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/TmsMerchantInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersLinksSelf + /// Class for testing TmsMerchantInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersLinksSelfTests + public class TmsMerchantInformationTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersLinksSelf - //private Tmsv2customersLinksSelf instance; + // TODO uncomment below to declare an instance variable for TmsMerchantInformation + //private TmsMerchantInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersLinksSelfTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersLinksSelf - //instance = new Tmsv2customersLinksSelf(); + // TODO uncomment below to create an instance of TmsMerchantInformation + //instance = new TmsMerchantInformation(); } /// @@ -55,22 +55,22 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersLinksSelf + /// Test an instance of TmsMerchantInformation /// [Test] - public void Tmsv2customersLinksSelfInstanceTest() + public void TmsMerchantInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersLinksSelf - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersLinksSelf"); + // TODO uncomment below to test "IsInstanceOfType" TmsMerchantInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a TmsMerchantInformation"); } /// - /// Test the property 'Href' + /// Test the property 'MerchantDescriptor' /// [Test] - public void HrefTest() + public void MerchantDescriptorTest() { - // TODO unit test for the property 'Href' + // TODO unit test for the property 'MerchantDescriptor' } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptorTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptorTests.cs deleted file mode 100644 index e56400ac..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptorTests.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* - * 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 Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor - /// - /// - /// This file is automatically generated by Swagger Codegen. - /// Please update the test case below to test the model. - /// - [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptorTests - { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor instance; - - /// - /// Setup before each test - /// - [SetUp] - public void Init() - { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor(); - } - - /// - /// Clean up after each test - /// - [TearDown] - public void Cleanup() - { - - } - - /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor - /// - [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptorInstanceTest() - { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor"); - } - - /// - /// Test the property 'AlternateName' - /// - [Test] - public void AlternateNameTest() - { - // TODO unit test for the property 'AlternateName' - } - - } - -} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationTests.cs deleted file mode 100644 index 1af959c8..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationTests.cs +++ /dev/null @@ -1,78 +0,0 @@ -/* - * 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 Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - /// - /// - /// This file is automatically generated by Swagger Codegen. - /// Please update the test case below to test the model. - /// - [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationTests - { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation instance; - - /// - /// Setup before each test - /// - [SetUp] - public void Init() - { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation(); - } - - /// - /// Clean up after each test - /// - [TearDown] - public void Cleanup() - { - - } - - /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - /// - [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationInstanceTest() - { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation"); - } - - /// - /// Test the property 'MerchantDescriptor' - /// - [Test] - public void MerchantDescriptorTest() - { - // TODO unit test for the property 'MerchantDescriptor' - } - - } - -} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeProcessingInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeProcessingInformationTests.cs new file mode 100644 index 00000000..ebac35ea --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeProcessingInformationTests.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 Tmsv2tokenizeProcessingInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizeProcessingInformationTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeProcessingInformation + //private Tmsv2tokenizeProcessingInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizeProcessingInformation + //instance = new Tmsv2tokenizeProcessingInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizeProcessingInformation + /// + [Test] + public void Tmsv2tokenizeProcessingInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeProcessingInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeProcessingInformation"); + } + + /// + /// Test the property 'ActionList' + /// + [Test] + public void ActionListTest() + { + // TODO unit test for the property 'ActionList' + } + /// + /// Test the property 'ActionTokenTypes' + /// + [Test] + public void ActionTokenTypesTest() + { + // TODO unit test for the property 'ActionTokenTypes' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersBuyerInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformationTests.cs similarity index 67% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersBuyerInformationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformationTests.cs index 6f29fd47..40ed35b2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersBuyerInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersBuyerInformation + /// Class for testing Tmsv2tokenizeTokenInformationCustomerBuyerInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersBuyerInformationTests + public class Tmsv2tokenizeTokenInformationCustomerBuyerInformationTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersBuyerInformation - //private Tmsv2customersBuyerInformation instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerBuyerInformation + //private Tmsv2tokenizeTokenInformationCustomerBuyerInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersBuyerInformationTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersBuyerInformation - //instance = new Tmsv2customersBuyerInformation(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerBuyerInformation + //instance = new Tmsv2tokenizeTokenInformationCustomerBuyerInformation(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersBuyerInformation + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerBuyerInformation /// [Test] - public void Tmsv2customersBuyerInformationInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerBuyerInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersBuyerInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersBuyerInformation"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerBuyerInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerBuyerInformation"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformationTests.cs new file mode 100644 index 00000000..1536345b --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformationTests.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 Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizeTokenInformationCustomerClientReferenceInformationTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + //private Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + //instance = new Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + /// + [Test] + public void Tmsv2tokenizeTokenInformationCustomerClientReferenceInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation"); + } + + /// + /// Test the property 'Code' + /// + [Test] + public void CodeTest() + { + // TODO unit test for the property 'Code' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersDefaultPaymentInstrumentTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrumentTests.cs similarity index 61% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersDefaultPaymentInstrumentTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrumentTests.cs index f1861534..1e1cc615 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersDefaultPaymentInstrumentTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrumentTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersDefaultPaymentInstrument + /// Class for testing Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersDefaultPaymentInstrumentTests + public class Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrumentTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersDefaultPaymentInstrument - //private Tmsv2customersDefaultPaymentInstrument instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument + //private Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersDefaultPaymentInstrumentTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersDefaultPaymentInstrument - //instance = new Tmsv2customersDefaultPaymentInstrument(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument + //instance = new Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersDefaultPaymentInstrument + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument /// [Test] - public void Tmsv2customersDefaultPaymentInstrumentInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrumentInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersDefaultPaymentInstrument - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersDefaultPaymentInstrument"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersDefaultShippingAddressTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddressTests.cs similarity index 62% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersDefaultShippingAddressTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddressTests.cs index 44be90f6..9d10f8e1 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersDefaultShippingAddressTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddressTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersDefaultShippingAddress + /// Class for testing Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersDefaultShippingAddressTests + public class Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddressTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersDefaultShippingAddress - //private Tmsv2customersDefaultShippingAddress instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress + //private Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersDefaultShippingAddressTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersDefaultShippingAddress - //instance = new Tmsv2customersDefaultShippingAddress(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress + //instance = new Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersDefaultShippingAddress + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress /// [Test] - public void Tmsv2customersDefaultShippingAddressInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddressInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersDefaultShippingAddress - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersDefaultShippingAddress"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccountTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccountTests.cs similarity index 57% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccountTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccountTests.cs index ebe7474c..85d139c3 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccountTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccountTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccountTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccountTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccountTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccountInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccountInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillToTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillToTests.cs similarity index 77% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillToTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillToTests.cs index 74d8dbb1..2918904b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillToTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillToTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillToTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillToTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillToTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentBillToInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillToInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests.cs similarity index 56% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests.cs index 3e4c12a4..594214f3 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssue [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedByInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests.cs similarity index 58% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests.cs index feddacc9..284b7cbf 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPerso [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentificationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationTests.cs similarity index 65% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationTests.cs index d3641d77..3dd847e5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTests.cs similarity index 75% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTests.cs index 2028a9e8..9d52c4e8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentCard - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentCard instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentCard - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentCard(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentCardInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentCard - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentCard"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests.cs similarity index 59% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests.cs index 7afa1ca3..a4455958 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformationTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformat [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformationInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbeddedTests.cs similarity index 59% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbeddedTests.cs index 79a91dc1..82f67715 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbeddedTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbeddedTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbeddedInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests.cs similarity index 56% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests.cs index 4a03efe9..9b3a1c70 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifierTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifierT [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifierInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifierInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelfTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelfTests.cs similarity index 58% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelfTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelfTests.cs index fdfdf176..e22cc293 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelfTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelfTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelfTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelfTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelfTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelfInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelfInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksTests.cs similarity index 62% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksTests.cs index aaf1a7cf..8ed6b9dd 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadataTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadataTests.cs similarity index 58% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadataTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadataTests.cs index fd3006c5..b5154b76 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadataTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadataTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadataTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadataTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata - //private Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadataTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadataInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadataInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentTests.cs similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentTests.cs index 4764528d..3397bca5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultPaymentInstrument + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultPaymentInstrumentTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultPaymentInstrument - //private Tmsv2customersEmbeddedDefaultPaymentInstrument instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultPaymentInstrumentTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultPaymentInstrument - //instance = new Tmsv2customersEmbeddedDefaultPaymentInstrument(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultPaymentInstrument + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument /// [Test] - public void Tmsv2customersEmbeddedDefaultPaymentInstrumentInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultPaymentInstrument - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultPaymentInstrument"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomerTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomerTests.cs new file mode 100644 index 00000000..3cdbcd4c --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomerTests.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 Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomerTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer + /// + [Test] + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomerInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer"); + } + + /// + /// Test the property 'Href' + /// + [Test] + public void HrefTest() + { + // TODO unit test for the property 'Href' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelfTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelfTests.cs similarity index 58% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelfTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelfTests.cs index a9c0579f..79692bd5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelfTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelfTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelfTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelfTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf - //private Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelfTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf - //instance = new Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf /// [Test] - public void Tmsv2customersEmbeddedDefaultShippingAddressLinksSelfInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelfInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksTests.cs similarity index 62% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksTests.cs index e1ed6abe..7babf50f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultShippingAddressLinks + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultShippingAddressLinksTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultShippingAddressLinks - //private Tmsv2customersEmbeddedDefaultShippingAddressLinks instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultShippingAddressLinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultShippingAddressLinks - //instance = new Tmsv2customersEmbeddedDefaultShippingAddressLinks(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultShippingAddressLinks + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks /// [Test] - public void Tmsv2customersEmbeddedDefaultShippingAddressLinksInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultShippingAddressLinks - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultShippingAddressLinks"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadataTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadataTests.cs similarity index 59% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadataTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadataTests.cs index c0d6ec70..26b016d4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadataTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadataTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultShippingAddressMetadata + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultShippingAddressMetadataTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadataTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultShippingAddressMetadata - //private Tmsv2customersEmbeddedDefaultShippingAddressMetadata instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultShippingAddressMetadataTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultShippingAddressMetadata - //instance = new Tmsv2customersEmbeddedDefaultShippingAddressMetadata(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultShippingAddressMetadata + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata /// [Test] - public void Tmsv2customersEmbeddedDefaultShippingAddressMetadataInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadataInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultShippingAddressMetadata - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultShippingAddressMetadata"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipToTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipToTests.cs similarity index 77% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipToTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipToTests.cs index 8011a119..47537969 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipToTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipToTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultShippingAddressShipTo + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultShippingAddressShipToTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipToTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultShippingAddressShipTo - //private Tmsv2customersEmbeddedDefaultShippingAddressShipTo instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultShippingAddressShipToTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultShippingAddressShipTo - //instance = new Tmsv2customersEmbeddedDefaultShippingAddressShipTo(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultShippingAddressShipTo + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo /// [Test] - public void Tmsv2customersEmbeddedDefaultShippingAddressShipToInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipToInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultShippingAddressShipTo - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultShippingAddressShipTo"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressTests.cs similarity index 70% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressTests.cs index c197f84c..4c34cdef 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultShippingAddress + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultShippingAddressTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultShippingAddress - //private Tmsv2customersEmbeddedDefaultShippingAddress instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + //private Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultShippingAddressTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultShippingAddress - //instance = new Tmsv2customersEmbeddedDefaultShippingAddress(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultShippingAddress + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress /// [Test] - public void Tmsv2customersEmbeddedDefaultShippingAddressInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultShippingAddress - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultShippingAddress"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedTests.cs similarity index 70% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedTests.cs index 53774a36..97fe4916 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbedded + /// Class for testing Tmsv2tokenizeTokenInformationCustomerEmbedded /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedTests + public class Tmsv2tokenizeTokenInformationCustomerEmbeddedTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbedded - //private Tmsv2customersEmbedded instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerEmbedded + //private Tmsv2tokenizeTokenInformationCustomerEmbedded instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbedded - //instance = new Tmsv2customersEmbedded(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerEmbedded + //instance = new Tmsv2tokenizeTokenInformationCustomerEmbedded(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbedded + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerEmbedded /// [Test] - public void Tmsv2customersEmbeddedInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerEmbeddedInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbedded - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbedded"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerEmbedded + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerEmbedded"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksPaymentInstrumentsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstrumentsTests.cs similarity index 62% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksPaymentInstrumentsTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstrumentsTests.cs index 56f0cc6d..39275766 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksPaymentInstrumentsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstrumentsTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersLinksPaymentInstruments + /// Class for testing Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersLinksPaymentInstrumentsTests + public class Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstrumentsTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersLinksPaymentInstruments - //private Tmsv2customersLinksPaymentInstruments instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments + //private Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersLinksPaymentInstrumentsTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersLinksPaymentInstruments - //instance = new Tmsv2customersLinksPaymentInstruments(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments + //instance = new Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersLinksPaymentInstruments + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments /// [Test] - public void Tmsv2customersLinksPaymentInstrumentsInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstrumentsInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersLinksPaymentInstruments - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersLinksPaymentInstruments"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksShippingAddressTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelfTests.cs similarity index 66% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksShippingAddressTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelfTests.cs index dc955b71..7ec6cbec 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksShippingAddressTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelfTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersLinksShippingAddress + /// Class for testing Tmsv2tokenizeTokenInformationCustomerLinksSelf /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersLinksShippingAddressTests + public class Tmsv2tokenizeTokenInformationCustomerLinksSelfTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersLinksShippingAddress - //private Tmsv2customersLinksShippingAddress instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerLinksSelf + //private Tmsv2tokenizeTokenInformationCustomerLinksSelf instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersLinksShippingAddressTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersLinksShippingAddress - //instance = new Tmsv2customersLinksShippingAddress(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerLinksSelf + //instance = new Tmsv2tokenizeTokenInformationCustomerLinksSelf(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersLinksShippingAddress + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerLinksSelf /// [Test] - public void Tmsv2customersLinksShippingAddressInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerLinksSelfInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersLinksShippingAddress - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersLinksShippingAddress"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerLinksSelf + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerLinksSelf"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomerTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddressTests.cs similarity index 63% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomerTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddressTests.cs index 41779279..9b1b63b9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomerTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddressTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer + /// Class for testing Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomerTests + public class Tmsv2tokenizeTokenInformationCustomerLinksShippingAddressTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer - //private Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress + //private Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomerTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer - //instance = new Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress + //instance = new Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress /// [Test] - public void Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomerInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerLinksShippingAddressInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksTests.cs similarity index 73% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksTests.cs index d678116d..a9ffb62c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersLinksTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerLinksTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersLinks + /// Class for testing Tmsv2tokenizeTokenInformationCustomerLinks /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersLinksTests + public class Tmsv2tokenizeTokenInformationCustomerLinksTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersLinks - //private Tmsv2customersLinks instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerLinks + //private Tmsv2tokenizeTokenInformationCustomerLinks instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersLinksTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersLinks - //instance = new Tmsv2customersLinks(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerLinks + //instance = new Tmsv2tokenizeTokenInformationCustomerLinks(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersLinks + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerLinks /// [Test] - public void Tmsv2customersLinksInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerLinksInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersLinks - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersLinks"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerLinks + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerLinks"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersMerchantDefinedInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformationTests.cs similarity index 64% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersMerchantDefinedInformationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformationTests.cs index 924f3a58..46d6ed88 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersMerchantDefinedInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersMerchantDefinedInformation + /// Class for testing Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersMerchantDefinedInformationTests + public class Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformationTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersMerchantDefinedInformation - //private Tmsv2customersMerchantDefinedInformation instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation + //private Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersMerchantDefinedInformationTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersMerchantDefinedInformation - //instance = new Tmsv2customersMerchantDefinedInformation(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation + //instance = new Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersMerchantDefinedInformation + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation /// [Test] - public void Tmsv2customersMerchantDefinedInformationInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersMerchantDefinedInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersMerchantDefinedInformation"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersMetadataTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerMetadataTests.cs similarity index 66% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersMetadataTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerMetadataTests.cs index 6e359917..28554a27 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersMetadataTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerMetadataTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersMetadata + /// Class for testing Tmsv2tokenizeTokenInformationCustomerMetadata /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersMetadataTests + public class Tmsv2tokenizeTokenInformationCustomerMetadataTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersMetadata - //private Tmsv2customersMetadata instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerMetadata + //private Tmsv2tokenizeTokenInformationCustomerMetadata instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersMetadataTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersMetadata - //instance = new Tmsv2customersMetadata(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerMetadata + //instance = new Tmsv2tokenizeTokenInformationCustomerMetadata(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersMetadata + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerMetadata /// [Test] - public void Tmsv2customersMetadataInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerMetadataInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersMetadata - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersMetadata"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerMetadata + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerMetadata"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersObjectInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformationTests.cs similarity index 66% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersObjectInformationTests.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformationTests.cs index f5531a8f..c5c88792 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2customersObjectInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformationTests.cs @@ -23,17 +23,17 @@ namespace CyberSource.Test { /// - /// Class for testing Tmsv2customersObjectInformation + /// Class for testing Tmsv2tokenizeTokenInformationCustomerObjectInformation /// /// /// This file is automatically generated by Swagger Codegen. /// Please update the test case below to test the model. /// [TestFixture] - public class Tmsv2customersObjectInformationTests + public class Tmsv2tokenizeTokenInformationCustomerObjectInformationTests { - // TODO uncomment below to declare an instance variable for Tmsv2customersObjectInformation - //private Tmsv2customersObjectInformation instance; + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomerObjectInformation + //private Tmsv2tokenizeTokenInformationCustomerObjectInformation instance; /// /// Setup before each test @@ -41,8 +41,8 @@ public class Tmsv2customersObjectInformationTests [SetUp] public void Init() { - // TODO uncomment below to create an instance of Tmsv2customersObjectInformation - //instance = new Tmsv2customersObjectInformation(); + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomerObjectInformation + //instance = new Tmsv2tokenizeTokenInformationCustomerObjectInformation(); } /// @@ -55,13 +55,13 @@ public void Cleanup() } /// - /// Test an instance of Tmsv2customersObjectInformation + /// Test an instance of Tmsv2tokenizeTokenInformationCustomerObjectInformation /// [Test] - public void Tmsv2customersObjectInformationInstanceTest() + public void Tmsv2tokenizeTokenInformationCustomerObjectInformationInstanceTest() { - // TODO uncomment below to test "IsInstanceOfType" Tmsv2customersObjectInformation - //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2customersObjectInformation"); + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomerObjectInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomerObjectInformation"); } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerTests.cs new file mode 100644 index 00000000..9bca9cbe --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationCustomerTests.cs @@ -0,0 +1,150 @@ +/* + * 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 Tmsv2tokenizeTokenInformationCustomer + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizeTokenInformationCustomerTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformationCustomer + //private Tmsv2tokenizeTokenInformationCustomer instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformationCustomer + //instance = new Tmsv2tokenizeTokenInformationCustomer(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizeTokenInformationCustomer + /// + [Test] + public void Tmsv2tokenizeTokenInformationCustomerInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformationCustomer + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformationCustomer"); + } + + /// + /// Test the property 'Links' + /// + [Test] + public void LinksTest() + { + // TODO unit test for the property 'Links' + } + /// + /// Test the property 'Id' + /// + [Test] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + /// + /// Test the property 'ObjectInformation' + /// + [Test] + public void ObjectInformationTest() + { + // TODO unit test for the property 'ObjectInformation' + } + /// + /// Test the property 'BuyerInformation' + /// + [Test] + public void BuyerInformationTest() + { + // TODO unit test for the property 'BuyerInformation' + } + /// + /// Test the property 'ClientReferenceInformation' + /// + [Test] + public void ClientReferenceInformationTest() + { + // TODO unit test for the property 'ClientReferenceInformation' + } + /// + /// Test the property 'MerchantDefinedInformation' + /// + [Test] + public void MerchantDefinedInformationTest() + { + // TODO unit test for the property 'MerchantDefinedInformation' + } + /// + /// Test the property 'DefaultPaymentInstrument' + /// + [Test] + public void DefaultPaymentInstrumentTest() + { + // TODO unit test for the property 'DefaultPaymentInstrument' + } + /// + /// Test the property 'DefaultShippingAddress' + /// + [Test] + public void DefaultShippingAddressTest() + { + // TODO unit test for the property 'DefaultShippingAddress' + } + /// + /// Test the property 'Metadata' + /// + [Test] + public void MetadataTest() + { + // TODO unit test for the property 'Metadata' + } + /// + /// Test the property 'Embedded' + /// + [Test] + public void EmbeddedTest() + { + // TODO unit test for the property 'Embedded' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationTests.cs new file mode 100644 index 00000000..15c2b9d6 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizeTokenInformationTests.cs @@ -0,0 +1,118 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * 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 Tmsv2tokenizeTokenInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizeTokenInformationTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizeTokenInformation + //private Tmsv2tokenizeTokenInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizeTokenInformation + //instance = new Tmsv2tokenizeTokenInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizeTokenInformation + /// + [Test] + public void Tmsv2tokenizeTokenInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizeTokenInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizeTokenInformation"); + } + + /// + /// Test the property 'Jti' + /// + [Test] + public void JtiTest() + { + // TODO unit test for the property 'Jti' + } + /// + /// Test the property 'TransientTokenJwt' + /// + [Test] + public void TransientTokenJwtTest() + { + // TODO unit test for the property 'TransientTokenJwt' + } + /// + /// Test the property 'Customer' + /// + [Test] + public void CustomerTest() + { + // TODO unit test for the property 'Customer' + } + /// + /// Test the property 'ShippingAddress' + /// + [Test] + public void ShippingAddressTest() + { + // TODO unit test for the property 'ShippingAddress' + } + /// + /// Test the property 'PaymentInstrument' + /// + [Test] + public void PaymentInstrumentTest() + { + // TODO unit test for the property 'PaymentInstrument' + } + /// + /// Test the property 'InstrumentIdentifier' + /// + [Test] + public void InstrumentIdentifierTest() + { + // TODO unit test for the property 'InstrumentIdentifier' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCardTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCardTests.cs new file mode 100644 index 00000000..7618ab2c --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCardTests.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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCardTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + //private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + //instance = new Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + /// + [Test] + public void Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCardInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard"); + } + + /// + /// Test the property 'Last4' + /// + [Test] + public void Last4Test() + { + // TODO unit test for the property 'Last4' + } + /// + /// 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/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAssetTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAssetTests.cs new file mode 100644 index 00000000..65eceed2 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAssetTests.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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAssetTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + //private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + //instance = new Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + /// + [Test] + public void Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAssetInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset"); + } + + /// + /// Test the property 'Update' + /// + [Test] + public void UpdateTest() + { + // TODO unit test for the property 'Update' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtTests.cs new file mode 100644 index 00000000..8cec051c --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtTests.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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + //private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + //instance = new Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + /// + [Test] + public void Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt"); + } + + /// + /// Test the property 'CombinedAsset' + /// + [Test] + public void CombinedAssetTest() + { + // TODO unit test for the property 'CombinedAsset' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataTests.cs new file mode 100644 index 00000000..2f0c4e2d --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataTests.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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataTests + { + // TODO uncomment below to declare an instance variable for Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + //private Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + //instance = new Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + /// + [Test] + public void Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata"); + } + + /// + /// Test the property 'CardArt' + /// + [Test] + public void CardArtTest() + { + // TODO unit test for the property 'CardArt' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataBuyerInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataBuyerInformationTests.cs index 209cb536..35517bae 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataBuyerInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataBuyerInformationTests.cs @@ -88,6 +88,22 @@ public void CompanyTaxIdTest() { // TODO unit test for the property 'CompanyTaxId' } + /// + /// Test the property 'DateOfBirth' + /// + [Test] + public void DateOfBirthTest() + { + // TODO unit test for the property 'DateOfBirth' + } + /// + /// Test the property 'Language' + /// + [Test] + public void LanguageTest() + { + // TODO unit test for the property 'Language' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataConsumerAuthenticationInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataConsumerAuthenticationInformationTests.cs index 39af4d4d..89ea2f62 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataConsumerAuthenticationInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataConsumerAuthenticationInformationTests.cs @@ -80,6 +80,14 @@ public void MessageCategoryTest() { // TODO unit test for the property 'MessageCategory' } + /// + /// Test the property 'AcsWindowSize' + /// + [Test] + public void AcsWindowSizeTest() + { + // TODO unit test for the property 'AcsWindowSize' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataDeviceInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataDeviceInformationTests.cs new file mode 100644 index 00000000..e95bc6a5 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataDeviceInformationTests.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 Upv1capturecontextsDataDeviceInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Upv1capturecontextsDataDeviceInformationTests + { + // TODO uncomment below to declare an instance variable for Upv1capturecontextsDataDeviceInformation + //private Upv1capturecontextsDataDeviceInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Upv1capturecontextsDataDeviceInformation + //instance = new Upv1capturecontextsDataDeviceInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Upv1capturecontextsDataDeviceInformation + /// + [Test] + public void Upv1capturecontextsDataDeviceInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Upv1capturecontextsDataDeviceInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Upv1capturecontextsDataDeviceInformation"); + } + + /// + /// Test the property 'IpAddress' + /// + [Test] + public void IpAddressTest() + { + // TODO unit test for the property 'IpAddress' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptorTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptorTests.cs index 15b54da7..3e973b14 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptorTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptorTests.cs @@ -72,6 +72,62 @@ public void NameTest() { // TODO unit test for the property 'Name' } + /// + /// Test the property 'AlternateName' + /// + [Test] + public void AlternateNameTest() + { + // TODO unit test for the property 'AlternateName' + } + /// + /// Test the property 'Locality' + /// + [Test] + public void LocalityTest() + { + // TODO unit test for the property 'Locality' + } + /// + /// Test the property 'Phone' + /// + [Test] + public void PhoneTest() + { + // TODO unit test for the property 'Phone' + } + /// + /// Test the property 'Country' + /// + [Test] + public void CountryTest() + { + // TODO unit test for the property 'Country' + } + /// + /// Test the property 'PostalCode' + /// + [Test] + public void PostalCodeTest() + { + // TODO unit test for the property 'PostalCode' + } + /// + /// Test the property 'AdministrativeArea' + /// + [Test] + public void AdministrativeAreaTest() + { + // TODO unit test for the property 'AdministrativeArea' + } + /// + /// Test the property 'Address1' + /// + [Test] + public void Address1Test() + { + // TODO unit test for the property 'Address1' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetailsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetailsTests.cs new file mode 100644 index 00000000..0b6c4f09 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetailsTests.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 Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetailsTests + { + // TODO uncomment below to declare an instance variable for Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + //private Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + //instance = new Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + /// + [Test] + public void Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetailsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails"); + } + + /// + /// Test the property 'TaxId' + /// + [Test] + public void TaxIdTest() + { + // TODO unit test for the property 'TaxId' + } + /// + /// Test the property 'Type' + /// + [Test] + public void TypeTest() + { + // TODO unit test for the property 'Type' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTests.cs index a88a631b..50c09118 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTests.cs @@ -120,6 +120,14 @@ public void TaxAmountTest() { // TODO unit test for the property 'TaxAmount' } + /// + /// Test the property 'TaxDetails' + /// + [Test] + public void TaxDetailsTest() + { + // TODO unit test for the property 'TaxDetails' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationInvoiceDetailsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationInvoiceDetailsTests.cs new file mode 100644 index 00000000..2c6661fc --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationInvoiceDetailsTests.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 Upv1capturecontextsDataOrderInformationInvoiceDetails + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Upv1capturecontextsDataOrderInformationInvoiceDetailsTests + { + // TODO uncomment below to declare an instance variable for Upv1capturecontextsDataOrderInformationInvoiceDetails + //private Upv1capturecontextsDataOrderInformationInvoiceDetails instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Upv1capturecontextsDataOrderInformationInvoiceDetails + //instance = new Upv1capturecontextsDataOrderInformationInvoiceDetails(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Upv1capturecontextsDataOrderInformationInvoiceDetails + /// + [Test] + public void Upv1capturecontextsDataOrderInformationInvoiceDetailsInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Upv1capturecontextsDataOrderInformationInvoiceDetails + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Upv1capturecontextsDataOrderInformationInvoiceDetails"); + } + + /// + /// Test the property 'InvoiceNumber' + /// + [Test] + public void InvoiceNumberTest() + { + // TODO unit test for the property 'InvoiceNumber' + } + /// + /// Test the property 'ProductDescription' + /// + [Test] + public void ProductDescriptionTest() + { + // TODO unit test for the property 'ProductDescription' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationTests.cs index 3e9d670a..c80a334b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataOrderInformationTests.cs @@ -96,6 +96,14 @@ public void LineItemsTest() { // TODO unit test for the property 'LineItems' } + /// + /// Test the property 'InvoiceDetails' + /// + [Test] + public void InvoiceDetailsTest() + { + // TODO unit test for the property 'InvoiceDetails' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataPaymentInformationCardTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataPaymentInformationCardTests.cs new file mode 100644 index 00000000..42b02257 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataPaymentInformationCardTests.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 Upv1capturecontextsDataPaymentInformationCard + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Upv1capturecontextsDataPaymentInformationCardTests + { + // TODO uncomment below to declare an instance variable for Upv1capturecontextsDataPaymentInformationCard + //private Upv1capturecontextsDataPaymentInformationCard instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Upv1capturecontextsDataPaymentInformationCard + //instance = new Upv1capturecontextsDataPaymentInformationCard(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Upv1capturecontextsDataPaymentInformationCard + /// + [Test] + public void Upv1capturecontextsDataPaymentInformationCardInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Upv1capturecontextsDataPaymentInformationCard + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Upv1capturecontextsDataPaymentInformationCard"); + } + + /// + /// Test the property 'TypeSelectionIndicator' + /// + [Test] + public void TypeSelectionIndicatorTest() + { + // TODO unit test for the property 'TypeSelectionIndicator' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataPaymentInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataPaymentInformationTests.cs new file mode 100644 index 00000000..65e99780 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataPaymentInformationTests.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 Upv1capturecontextsDataPaymentInformation + /// + /// + /// This file is automatically generated by Swagger Codegen. + /// Please update the test case below to test the model. + /// + [TestFixture] + public class Upv1capturecontextsDataPaymentInformationTests + { + // TODO uncomment below to declare an instance variable for Upv1capturecontextsDataPaymentInformation + //private Upv1capturecontextsDataPaymentInformation instance; + + /// + /// Setup before each test + /// + [SetUp] + public void Init() + { + // TODO uncomment below to create an instance of Upv1capturecontextsDataPaymentInformation + //instance = new Upv1capturecontextsDataPaymentInformation(); + } + + /// + /// Clean up after each test + /// + [TearDown] + public void Cleanup() + { + + } + + /// + /// Test an instance of Upv1capturecontextsDataPaymentInformation + /// + [Test] + public void Upv1capturecontextsDataPaymentInformationInstanceTest() + { + // TODO uncomment below to test "IsInstanceOfType" Upv1capturecontextsDataPaymentInformation + //Assert.IsInstanceOfType (instance, "variable 'instance' is a Upv1capturecontextsDataPaymentInformation"); + } + + /// + /// Test the property 'Card' + /// + [Test] + public void CardTest() + { + // TODO unit test for the property 'Card' + } + + } + +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsTests.cs index e7c641f4..01ab184d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsTests.cs @@ -73,6 +73,30 @@ public void AftIndicatorTest() // TODO unit test for the property 'AftIndicator' } /// + /// Test the property 'AuthIndicator' + /// + [Test] + public void AuthIndicatorTest() + { + // TODO unit test for the property 'AuthIndicator' + } + /// + /// Test the property 'IgnoreCvResult' + /// + [Test] + public void IgnoreCvResultTest() + { + // TODO unit test for the property 'IgnoreCvResult' + } + /// + /// Test the property 'IgnoreAvsResult' + /// + [Test] + public void IgnoreAvsResultTest() + { + // TODO unit test for the property 'IgnoreAvsResult' + } + /// /// Test the property 'Initiator' /// [Test] @@ -88,6 +112,22 @@ public void BusinessApplicationIdTest() { // TODO unit test for the property 'BusinessApplicationId' } + /// + /// Test the property 'CommerceIndicator' + /// + [Test] + public void CommerceIndicatorTest() + { + // TODO unit test for the property 'CommerceIndicator' + } + /// + /// Test the property 'ProcessingInstruction' + /// + [Test] + public void ProcessingInstructionTest() + { + // TODO unit test for the property 'ProcessingInstruction' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataRecipientInformationTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataRecipientInformationTests.cs index 03aa3e50..aef5d8d2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataRecipientInformationTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataRecipientInformationTests.cs @@ -120,6 +120,22 @@ public void AccountTypeTest() { // TODO unit test for the property 'AccountType' } + /// + /// Test the property 'DateOfBirth' + /// + [Test] + public void DateOfBirthTest() + { + // TODO unit test for the property 'DateOfBirth' + } + /// + /// Test the property 'PostalCode' + /// + [Test] + public void PostalCodeTest() + { + // TODO unit test for the property 'PostalCode' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataTests.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataTests.cs index 9e3690f7..23481ff9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataTests.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Upv1capturecontextsDataTests.cs @@ -128,6 +128,22 @@ public void MerchantDefinedInformationTest() { // TODO unit test for the property 'MerchantDefinedInformation' } + /// + /// Test the property 'DeviceInformation' + /// + [Test] + public void DeviceInformationTest() + { + // TODO unit test for the property 'DeviceInformation' + } + /// + /// Test the property 'PaymentInformation' + /// + [Test] + public void PaymentInformationTest() + { + // TODO unit test for the property 'PaymentInformation' + } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/BankAccountValidationApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/BankAccountValidationApi.cs index b167a97a..6761d2f3 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/BankAccountValidationApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/BankAccountValidationApi.cs @@ -37,8 +37,8 @@ public interface IBankAccountValidationApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// InlineResponse20013 - InlineResponse20013 BankAccountValidationRequest (AccountValidationsRequest accountValidationsRequest); + /// InlineResponse20014 + InlineResponse20014 BankAccountValidationRequest (AccountValidationsRequest accountValidationsRequest); /// /// Visa Bank Account Validation Service @@ -48,8 +48,8 @@ public interface IBankAccountValidationApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// ApiResponse of InlineResponse20013 - ApiResponse BankAccountValidationRequestWithHttpInfo (AccountValidationsRequest accountValidationsRequest); + /// ApiResponse of InlineResponse20014 + ApiResponse BankAccountValidationRequestWithHttpInfo (AccountValidationsRequest accountValidationsRequest); #endregion Synchronous Operations #region Asynchronous Operations /// @@ -60,8 +60,8 @@ public interface IBankAccountValidationApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// Task of InlineResponse20013 - System.Threading.Tasks.Task BankAccountValidationRequestAsync (AccountValidationsRequest accountValidationsRequest); + /// Task of InlineResponse20014 + System.Threading.Tasks.Task BankAccountValidationRequestAsync (AccountValidationsRequest accountValidationsRequest); /// /// Visa Bank Account Validation Service @@ -71,8 +71,8 @@ public interface IBankAccountValidationApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// Task of ApiResponse (InlineResponse20013) - System.Threading.Tasks.Task> BankAccountValidationRequestAsyncWithHttpInfo (AccountValidationsRequest accountValidationsRequest); + /// Task of ApiResponse (InlineResponse20014) + System.Threading.Tasks.Task> BankAccountValidationRequestAsyncWithHttpInfo (AccountValidationsRequest accountValidationsRequest); #endregion Asynchronous Operations } @@ -218,13 +218,13 @@ public void SetStatusCode(int? statusCode) /// /// Thrown when fails to make API call /// - /// InlineResponse20013 + /// InlineResponse20014 /// DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS. - public InlineResponse20013 BankAccountValidationRequest (AccountValidationsRequest accountValidationsRequest) + public InlineResponse20014 BankAccountValidationRequest (AccountValidationsRequest accountValidationsRequest) { logger.Debug("CALLING API \"BankAccountValidationRequest\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = BankAccountValidationRequestWithHttpInfo(accountValidationsRequest); + ApiResponse localVarResponse = BankAccountValidationRequestWithHttpInfo(accountValidationsRequest); logger.Debug("CALLING API \"BankAccountValidationRequest\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -235,8 +235,8 @@ public InlineResponse20013 BankAccountValidationRequest (AccountValidationsReque /// /// Thrown when fails to make API call /// - /// ApiResponse of InlineResponse20013 - public ApiResponse< InlineResponse20013 > BankAccountValidationRequestWithHttpInfo (AccountValidationsRequest accountValidationsRequest) + /// ApiResponse of InlineResponse20014 + public ApiResponse< InlineResponse20014 > BankAccountValidationRequestWithHttpInfo (AccountValidationsRequest accountValidationsRequest) { LogUtility logUtility = new LogUtility(); @@ -317,9 +317,9 @@ public ApiResponse< InlineResponse20013 > BankAccountValidationRequestWithHttpIn } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20013) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20013))); // Return statement + (InlineResponse20014) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20014))); // Return statement } /// @@ -327,12 +327,12 @@ public ApiResponse< InlineResponse20013 > BankAccountValidationRequestWithHttpIn /// /// Thrown when fails to make API call /// - /// Task of InlineResponse20013 - public async System.Threading.Tasks.Task BankAccountValidationRequestAsync (AccountValidationsRequest accountValidationsRequest) + /// Task of InlineResponse20014 + public async System.Threading.Tasks.Task BankAccountValidationRequestAsync (AccountValidationsRequest accountValidationsRequest) { logger.Debug("CALLING API \"BankAccountValidationRequestAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await BankAccountValidationRequestAsyncWithHttpInfo(accountValidationsRequest); + ApiResponse localVarResponse = await BankAccountValidationRequestAsyncWithHttpInfo(accountValidationsRequest); logger.Debug("CALLING API \"BankAccountValidationRequestAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -344,8 +344,8 @@ public async System.Threading.Tasks.Task BankAccountValidat /// /// Thrown when fails to make API call /// - /// Task of ApiResponse (InlineResponse20013) - public async System.Threading.Tasks.Task> BankAccountValidationRequestAsyncWithHttpInfo (AccountValidationsRequest accountValidationsRequest) + /// Task of ApiResponse (InlineResponse20014) + public async System.Threading.Tasks.Task> BankAccountValidationRequestAsyncWithHttpInfo (AccountValidationsRequest accountValidationsRequest) { LogUtility logUtility = new LogUtility(); @@ -426,9 +426,9 @@ public async System.Threading.Tasks.Task> BankA } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20013) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20013))); // Return statement + (InlineResponse20014) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20014))); // Return statement } } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/BatchesApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/BatchesApi.cs index 9c3729bf..b86ce638 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/BatchesApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/BatchesApi.cs @@ -37,8 +37,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// InlineResponse20012 - InlineResponse20012 GetBatchReport (string batchId); + /// InlineResponse20013 + InlineResponse20013 GetBatchReport (string batchId); /// /// Retrieve a Batch Report @@ -48,8 +48,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// ApiResponse of InlineResponse20012 - ApiResponse GetBatchReportWithHttpInfo (string batchId); + /// ApiResponse of InlineResponse20013 + ApiResponse GetBatchReportWithHttpInfo (string batchId); /// /// Retrieve a Batch Status /// @@ -58,8 +58,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// InlineResponse20011 - InlineResponse20011 GetBatchStatus (string batchId); + /// InlineResponse20012 + InlineResponse20012 GetBatchStatus (string batchId); /// /// Retrieve a Batch Status @@ -69,8 +69,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// ApiResponse of InlineResponse20011 - ApiResponse GetBatchStatusWithHttpInfo (string batchId); + /// ApiResponse of InlineResponse20012 + ApiResponse GetBatchStatusWithHttpInfo (string batchId); /// /// List Batches /// @@ -82,8 +82,8 @@ public interface IBatchesApi : IApiAccessor /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// InlineResponse20010 - InlineResponse20010 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); + /// InlineResponse20011 + InlineResponse20011 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); /// /// List Batches @@ -96,8 +96,8 @@ public interface IBatchesApi : IApiAccessor /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// ApiResponse of InlineResponse20010 - ApiResponse GetBatchesListWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); + /// ApiResponse of InlineResponse20011 + ApiResponse GetBatchesListWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); /// /// Create a Batch /// @@ -129,8 +129,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of InlineResponse20012 - System.Threading.Tasks.Task GetBatchReportAsync (string batchId); + /// Task of InlineResponse20013 + System.Threading.Tasks.Task GetBatchReportAsync (string batchId); /// /// Retrieve a Batch Report @@ -140,8 +140,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of ApiResponse (InlineResponse20012) - System.Threading.Tasks.Task> GetBatchReportAsyncWithHttpInfo (string batchId); + /// Task of ApiResponse (InlineResponse20013) + System.Threading.Tasks.Task> GetBatchReportAsyncWithHttpInfo (string batchId); /// /// Retrieve a Batch Status /// @@ -150,8 +150,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of InlineResponse20011 - System.Threading.Tasks.Task GetBatchStatusAsync (string batchId); + /// Task of InlineResponse20012 + System.Threading.Tasks.Task GetBatchStatusAsync (string batchId); /// /// Retrieve a Batch Status @@ -161,8 +161,8 @@ public interface IBatchesApi : IApiAccessor /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of ApiResponse (InlineResponse20011) - System.Threading.Tasks.Task> GetBatchStatusAsyncWithHttpInfo (string batchId); + /// Task of ApiResponse (InlineResponse20012) + System.Threading.Tasks.Task> GetBatchStatusAsyncWithHttpInfo (string batchId); /// /// List Batches /// @@ -174,8 +174,8 @@ public interface IBatchesApi : IApiAccessor /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// Task of InlineResponse20010 - System.Threading.Tasks.Task GetBatchesListAsync (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); + /// Task of InlineResponse20011 + System.Threading.Tasks.Task GetBatchesListAsync (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); /// /// List Batches @@ -188,8 +188,8 @@ public interface IBatchesApi : IApiAccessor /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// Task of ApiResponse (InlineResponse20010) - System.Threading.Tasks.Task> GetBatchesListAsyncWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); + /// Task of ApiResponse (InlineResponse20011) + System.Threading.Tasks.Task> GetBatchesListAsyncWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null); /// /// Create a Batch /// @@ -356,12 +356,12 @@ public void SetStatusCode(int? statusCode) /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// InlineResponse20012 - public InlineResponse20012 GetBatchReport (string batchId) + /// InlineResponse20013 + public InlineResponse20013 GetBatchReport (string batchId) { logger.Debug("CALLING API \"GetBatchReport\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetBatchReportWithHttpInfo(batchId); + ApiResponse localVarResponse = GetBatchReportWithHttpInfo(batchId); logger.Debug("CALLING API \"GetBatchReport\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -372,8 +372,8 @@ public InlineResponse20012 GetBatchReport (string batchId) /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// ApiResponse of InlineResponse20012 - public ApiResponse< InlineResponse20012 > GetBatchReportWithHttpInfo (string batchId) + /// ApiResponse of InlineResponse20013 + public ApiResponse< InlineResponse20013 > GetBatchReportWithHttpInfo (string batchId) { LogUtility logUtility = new LogUtility(); @@ -462,9 +462,9 @@ public ApiResponse< InlineResponse20012 > GetBatchReportWithHttpInfo (string bat } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20012) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20012))); // Return statement + (InlineResponse20013) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20013))); // Return statement } /// @@ -472,12 +472,12 @@ public ApiResponse< InlineResponse20012 > GetBatchReportWithHttpInfo (string bat /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of InlineResponse20012 - public async System.Threading.Tasks.Task GetBatchReportAsync (string batchId) + /// Task of InlineResponse20013 + public async System.Threading.Tasks.Task GetBatchReportAsync (string batchId) { logger.Debug("CALLING API \"GetBatchReportAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetBatchReportAsyncWithHttpInfo(batchId); + ApiResponse localVarResponse = await GetBatchReportAsyncWithHttpInfo(batchId); logger.Debug("CALLING API \"GetBatchReportAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -489,8 +489,8 @@ public async System.Threading.Tasks.Task GetBatchReportAsyn /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of ApiResponse (InlineResponse20012) - public async System.Threading.Tasks.Task> GetBatchReportAsyncWithHttpInfo (string batchId) + /// Task of ApiResponse (InlineResponse20013) + public async System.Threading.Tasks.Task> GetBatchReportAsyncWithHttpInfo (string batchId) { LogUtility logUtility = new LogUtility(); @@ -579,21 +579,21 @@ public async System.Threading.Tasks.Task> GetBa } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20012) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20012))); // Return statement + (InlineResponse20013) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20013))); // Return statement } /// /// Retrieve a Batch Status **Get Batch Status**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// InlineResponse20011 - public InlineResponse20011 GetBatchStatus (string batchId) + /// InlineResponse20012 + public InlineResponse20012 GetBatchStatus (string batchId) { logger.Debug("CALLING API \"GetBatchStatus\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetBatchStatusWithHttpInfo(batchId); + ApiResponse localVarResponse = GetBatchStatusWithHttpInfo(batchId); logger.Debug("CALLING API \"GetBatchStatus\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -604,8 +604,8 @@ public InlineResponse20011 GetBatchStatus (string batchId) /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// ApiResponse of InlineResponse20011 - public ApiResponse< InlineResponse20011 > GetBatchStatusWithHttpInfo (string batchId) + /// ApiResponse of InlineResponse20012 + public ApiResponse< InlineResponse20012 > GetBatchStatusWithHttpInfo (string batchId) { LogUtility logUtility = new LogUtility(); @@ -694,9 +694,9 @@ public ApiResponse< InlineResponse20011 > GetBatchStatusWithHttpInfo (string bat } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20011) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20011))); // Return statement + (InlineResponse20012) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20012))); // Return statement } /// @@ -704,12 +704,12 @@ public ApiResponse< InlineResponse20011 > GetBatchStatusWithHttpInfo (string bat /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of InlineResponse20011 - public async System.Threading.Tasks.Task GetBatchStatusAsync (string batchId) + /// Task of InlineResponse20012 + public async System.Threading.Tasks.Task GetBatchStatusAsync (string batchId) { logger.Debug("CALLING API \"GetBatchStatusAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetBatchStatusAsyncWithHttpInfo(batchId); + ApiResponse localVarResponse = await GetBatchStatusAsyncWithHttpInfo(batchId); logger.Debug("CALLING API \"GetBatchStatusAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -721,8 +721,8 @@ public async System.Threading.Tasks.Task GetBatchStatusAsyn /// /// Thrown when fails to make API call /// Unique identification number assigned to the submitted request. - /// Task of ApiResponse (InlineResponse20011) - public async System.Threading.Tasks.Task> GetBatchStatusAsyncWithHttpInfo (string batchId) + /// Task of ApiResponse (InlineResponse20012) + public async System.Threading.Tasks.Task> GetBatchStatusAsyncWithHttpInfo (string batchId) { LogUtility logUtility = new LogUtility(); @@ -811,9 +811,9 @@ public async System.Threading.Tasks.Task> GetBa } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20011) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20011))); // Return statement + (InlineResponse20012) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20012))); // Return statement } /// /// List Batches **List Batches**<br>This resource accepts a optional date range, record offset and limit, returning a paginated response of batches containing: - The batch id. - The batch status. - The batch created / modified dates. - The total number of accepted, rejected, updated records. - The total number of card association responses. @@ -823,12 +823,12 @@ public async System.Threading.Tasks.Task> GetBa /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// InlineResponse20010 - public InlineResponse20010 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) + /// InlineResponse20011 + public InlineResponse20011 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) { logger.Debug("CALLING API \"GetBatchesList\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetBatchesListWithHttpInfo(offset, limit, fromDate, toDate); + ApiResponse localVarResponse = GetBatchesListWithHttpInfo(offset, limit, fromDate, toDate); logger.Debug("CALLING API \"GetBatchesList\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -842,8 +842,8 @@ public InlineResponse20010 GetBatchesList (long? offset = null, long? limit = nu /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// ApiResponse of InlineResponse20010 - public ApiResponse< InlineResponse20010 > GetBatchesListWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) + /// ApiResponse of InlineResponse20011 + public ApiResponse< InlineResponse20011 > GetBatchesListWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) { LogUtility logUtility = new LogUtility(); @@ -941,9 +941,9 @@ public ApiResponse< InlineResponse20010 > GetBatchesListWithHttpInfo (long? offs } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20010) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20010))); // Return statement + (InlineResponse20011) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20011))); // Return statement } /// @@ -954,12 +954,12 @@ public ApiResponse< InlineResponse20010 > GetBatchesListWithHttpInfo (long? offs /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// Task of InlineResponse20010 - public async System.Threading.Tasks.Task GetBatchesListAsync (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) + /// Task of InlineResponse20011 + public async System.Threading.Tasks.Task GetBatchesListAsync (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) { logger.Debug("CALLING API \"GetBatchesListAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetBatchesListAsyncWithHttpInfo(offset, limit, fromDate, toDate); + ApiResponse localVarResponse = await GetBatchesListAsyncWithHttpInfo(offset, limit, fromDate, toDate); logger.Debug("CALLING API \"GetBatchesListAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -974,8 +974,8 @@ public async System.Threading.Tasks.Task GetBatchesListAsyn /// The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) /// ISO-8601 format: yyyyMMddTHHmmssZ (optional) - /// Task of ApiResponse (InlineResponse20010) - public async System.Threading.Tasks.Task> GetBatchesListAsyncWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) + /// Task of ApiResponse (InlineResponse20011) + public async System.Threading.Tasks.Task> GetBatchesListAsyncWithHttpInfo (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) { LogUtility logUtility = new LogUtility(); @@ -1073,9 +1073,9 @@ public async System.Threading.Tasks.Task> GetBa } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20010) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20010))); // Return statement + (InlineResponse20011) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20011))); // Return statement } /// /// Create a Batch **Create a Batch**<br>This resource accepts TMS tokens ids of a Customer, Payment Instrument or Instrument Identifier. <br> The card numbers for the supplied tokens ids are then sent to the relevant card associations to check for updates.<br>The following type of batches can be submitted: - **oneOff** batch containing tokens id for Visa or MasterCard card numbers. - **amexRegistration** batch containing tokens id for Amex card numbers. A batch id will be returned on a successful response which can be used to get the batch status and the batch report. The availability of API features for a merchant may depend on the portfolio configuration and may need to be enabled at the portfolio level before they can be added to merchant accounts. diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CreateNewWebhooksApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CreateNewWebhooksApi.cs index f76601df..37121479 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CreateNewWebhooksApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CreateNewWebhooksApi.cs @@ -37,8 +37,8 @@ public interface ICreateNewWebhooksApi : IApiAccessor /// /// Thrown when fails to make API call /// The Organization Identifier. - /// List<InlineResponse2004> - List FindProductsToSubscribe (string organizationId); + /// List<InlineResponse2005> + List FindProductsToSubscribe (string organizationId); /// /// Find Products You Can Subscribe To @@ -48,8 +48,8 @@ public interface ICreateNewWebhooksApi : IApiAccessor /// /// Thrown when fails to make API call /// The Organization Identifier. - /// ApiResponse of List<InlineResponse2004> - ApiResponse> FindProductsToSubscribeWithHttpInfo (string organizationId); + /// ApiResponse of List<InlineResponse2005> + ApiResponse> FindProductsToSubscribeWithHttpInfo (string organizationId); /// /// Create a New Webhook Subscription /// @@ -108,8 +108,8 @@ public interface ICreateNewWebhooksApi : IApiAccessor /// /// Thrown when fails to make API call /// The Organization Identifier. - /// Task of List<InlineResponse2004> - System.Threading.Tasks.Task> FindProductsToSubscribeAsync (string organizationId); + /// Task of List<InlineResponse2005> + System.Threading.Tasks.Task> FindProductsToSubscribeAsync (string organizationId); /// /// Find Products You Can Subscribe To @@ -119,8 +119,8 @@ public interface ICreateNewWebhooksApi : IApiAccessor /// /// Thrown when fails to make API call /// The Organization Identifier. - /// Task of ApiResponse (List<InlineResponse2004>) - System.Threading.Tasks.Task>> FindProductsToSubscribeAsyncWithHttpInfo (string organizationId); + /// Task of ApiResponse (List<InlineResponse2005>) + System.Threading.Tasks.Task>> FindProductsToSubscribeAsyncWithHttpInfo (string organizationId); /// /// Create a New Webhook Subscription /// @@ -314,12 +314,12 @@ public void SetStatusCode(int? statusCode) /// /// Thrown when fails to make API call /// The Organization Identifier. - /// List<InlineResponse2004> - public List FindProductsToSubscribe (string organizationId) + /// List<InlineResponse2005> + public List FindProductsToSubscribe (string organizationId) { logger.Debug("CALLING API \"FindProductsToSubscribe\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = FindProductsToSubscribeWithHttpInfo(organizationId); + ApiResponse> localVarResponse = FindProductsToSubscribeWithHttpInfo(organizationId); logger.Debug("CALLING API \"FindProductsToSubscribe\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -330,8 +330,8 @@ public List FindProductsToSubscribe (string organizationId) /// /// Thrown when fails to make API call /// The Organization Identifier. - /// ApiResponse of List<InlineResponse2004> - public ApiResponse< List > FindProductsToSubscribeWithHttpInfo (string organizationId) + /// ApiResponse of List<InlineResponse2005> + public ApiResponse< List > FindProductsToSubscribeWithHttpInfo (string organizationId) { LogUtility logUtility = new LogUtility(); @@ -420,9 +420,9 @@ public ApiResponse< List > FindProductsToSubscribeWithHttpIn } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// @@ -430,12 +430,12 @@ public ApiResponse< List > FindProductsToSubscribeWithHttpIn /// /// Thrown when fails to make API call /// The Organization Identifier. - /// Task of List<InlineResponse2004> - public async System.Threading.Tasks.Task> FindProductsToSubscribeAsync (string organizationId) + /// Task of List<InlineResponse2005> + public async System.Threading.Tasks.Task> FindProductsToSubscribeAsync (string organizationId) { logger.Debug("CALLING API \"FindProductsToSubscribeAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = await FindProductsToSubscribeAsyncWithHttpInfo(organizationId); + ApiResponse> localVarResponse = await FindProductsToSubscribeAsyncWithHttpInfo(organizationId); logger.Debug("CALLING API \"FindProductsToSubscribeAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -447,8 +447,8 @@ public async System.Threading.Tasks.Task> FindProductsT /// /// Thrown when fails to make API call /// The Organization Identifier. - /// Task of ApiResponse (List<InlineResponse2004>) - public async System.Threading.Tasks.Task>> FindProductsToSubscribeAsyncWithHttpInfo (string organizationId) + /// Task of ApiResponse (List<InlineResponse2005>) + public async System.Threading.Tasks.Task>> FindProductsToSubscribeAsyncWithHttpInfo (string organizationId) { LogUtility logUtility = new LogUtility(); @@ -537,9 +537,9 @@ public async System.Threading.Tasks.Task>> } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// /// Create a New Webhook Subscription Create a new webhook subscription. Before creating a webhook, ensure that a signature key has been created. For the example \"Create Webhook using oAuth with Client Credentials\" - for clients who have more than one oAuth Provider and have different client secrets that they would like to config for a given webhook, they may do so by overriding the keyId inside security config of webhook subscription. See the Developer Center examples section titled \"Webhook Security - Create or Store Egress Symmetric Key - Store oAuth Credentials For Symmetric Key\" to store these oAuth credentials that CYBS will need for oAuth. For JWT authentication, attach your oAuth details to the webhook subscription. See the example \"Create Webhook using oAuth with JWT\" diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CustomerApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CustomerApi.cs index eb7261a4..9ef72bf8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CustomerApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CustomerApi.cs @@ -940,7 +940,7 @@ public ApiResponse< PatchCustomerRequest > PatchCustomerWithHttpInfo (string cus localVarPostBody = patchCustomerRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PatchCustomer,PatchCustomerAsync,PatchCustomerWithHttpInfo,PatchCustomerAsyncWithHttpInfo")) { @@ -1074,7 +1074,7 @@ public async System.Threading.Tasks.Task> Patc localVarPostBody = patchCustomerRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PatchCustomer,PatchCustomerAsync,PatchCustomerWithHttpInfo,PatchCustomerAsyncWithHttpInfo")) { @@ -1187,7 +1187,7 @@ public ApiResponse< PostCustomerRequest > PostCustomerWithHttpInfo (PostCustomer localVarPostBody = postCustomerRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostCustomer,PostCustomerAsync,PostCustomerWithHttpInfo,PostCustomerAsyncWithHttpInfo")) { @@ -1302,7 +1302,7 @@ public async System.Threading.Tasks.Task> PostC localVarPostBody = postCustomerRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostCustomer,PostCustomerAsync,PostCustomerWithHttpInfo,PostCustomerAsyncWithHttpInfo")) { diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CustomerPaymentInstrumentApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CustomerPaymentInstrumentApi.cs index 3b7eb3c7..8a0b7fc5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CustomerPaymentInstrumentApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/CustomerPaymentInstrumentApi.cs @@ -1347,7 +1347,7 @@ public ApiResponse< PatchCustomerPaymentInstrumentRequest > PatchCustomersPaymen localVarPostBody = patchCustomerPaymentInstrumentRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PatchCustomersPaymentInstrument,PatchCustomersPaymentInstrumentAsync,PatchCustomersPaymentInstrumentWithHttpInfo,PatchCustomersPaymentInstrumentAsyncWithHttpInfo")) { @@ -1494,7 +1494,7 @@ public async System.Threading.Tasks.Task PostCustomerPaymentIn localVarPostBody = postCustomerPaymentInstrumentRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostCustomerPaymentInstrument,PostCustomerPaymentInstrumentAsync,PostCustomerPaymentInstrumentWithHttpInfo,PostCustomerPaymentInstrumentAsyncWithHttpInfo")) { @@ -1748,7 +1748,7 @@ public async System.Threading.Tasks.Task PatchCustomersShipping localVarPostBody = patchCustomerShippingAddressRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PatchCustomersShippingAddress,PatchCustomersShippingAddressAsync,PatchCustomersShippingAddressWithHttpInfo,PatchCustomersShippingAddressAsyncWithHttpInfo")) { @@ -1494,7 +1494,7 @@ public async System.Threading.Tasks.Task PostCustomerShippingAdd localVarPostBody = postCustomerShippingAddressRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostCustomerShippingAddress,PostCustomerShippingAddressAsync,PostCustomerShippingAddressWithHttpInfo,PostCustomerShippingAddressAsyncWithHttpInfo")) { @@ -1748,7 +1748,7 @@ public async System.Threading.Tasks.TaskThrown when fails to make API call /// An unique identification number generated by Cybersource to identify the submitted request. /// - /// InlineResponse2001 - InlineResponse2001 ActionDecisionManagerCase (string id, CaseManagementActionsRequest caseManagementActionsRequest); + /// InlineResponse2002 + InlineResponse2002 ActionDecisionManagerCase (string id, CaseManagementActionsRequest caseManagementActionsRequest); /// /// Take action on a DM post-transactional case @@ -50,8 +50,8 @@ public interface IDecisionManagerApi : IApiAccessor /// Thrown when fails to make API call /// An unique identification number generated by Cybersource to identify the submitted request. /// - /// ApiResponse of InlineResponse2001 - ApiResponse ActionDecisionManagerCaseWithHttpInfo (string id, CaseManagementActionsRequest caseManagementActionsRequest); + /// ApiResponse of InlineResponse2002 + ApiResponse ActionDecisionManagerCaseWithHttpInfo (string id, CaseManagementActionsRequest caseManagementActionsRequest); /// /// List Management /// @@ -153,8 +153,8 @@ public interface IDecisionManagerApi : IApiAccessor /// Thrown when fails to make API call /// An unique identification number generated by Cybersource to identify the submitted request. /// - /// Task of InlineResponse2001 - System.Threading.Tasks.Task ActionDecisionManagerCaseAsync (string id, CaseManagementActionsRequest caseManagementActionsRequest); + /// Task of InlineResponse2002 + System.Threading.Tasks.Task ActionDecisionManagerCaseAsync (string id, CaseManagementActionsRequest caseManagementActionsRequest); /// /// Take action on a DM post-transactional case @@ -165,8 +165,8 @@ public interface IDecisionManagerApi : IApiAccessor /// Thrown when fails to make API call /// An unique identification number generated by Cybersource to identify the submitted request. /// - /// Task of ApiResponse (InlineResponse2001) - System.Threading.Tasks.Task> ActionDecisionManagerCaseAsyncWithHttpInfo (string id, CaseManagementActionsRequest caseManagementActionsRequest); + /// Task of ApiResponse (InlineResponse2002) + System.Threading.Tasks.Task> ActionDecisionManagerCaseAsyncWithHttpInfo (string id, CaseManagementActionsRequest caseManagementActionsRequest); /// /// List Management /// @@ -403,12 +403,12 @@ public void SetStatusCode(int? statusCode) /// Thrown when fails to make API call /// An unique identification number generated by Cybersource to identify the submitted request. /// - /// InlineResponse2001 - public InlineResponse2001 ActionDecisionManagerCase (string id, CaseManagementActionsRequest caseManagementActionsRequest) + /// InlineResponse2002 + public InlineResponse2002 ActionDecisionManagerCase (string id, CaseManagementActionsRequest caseManagementActionsRequest) { logger.Debug("CALLING API \"ActionDecisionManagerCase\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = ActionDecisionManagerCaseWithHttpInfo(id, caseManagementActionsRequest); + ApiResponse localVarResponse = ActionDecisionManagerCaseWithHttpInfo(id, caseManagementActionsRequest); logger.Debug("CALLING API \"ActionDecisionManagerCase\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -420,8 +420,8 @@ public InlineResponse2001 ActionDecisionManagerCase (string id, CaseManagementAc /// Thrown when fails to make API call /// An unique identification number generated by Cybersource to identify the submitted request. /// - /// ApiResponse of InlineResponse2001 - public ApiResponse< InlineResponse2001 > ActionDecisionManagerCaseWithHttpInfo (string id, CaseManagementActionsRequest caseManagementActionsRequest) + /// ApiResponse of InlineResponse2002 + public ApiResponse< InlineResponse2002 > ActionDecisionManagerCaseWithHttpInfo (string id, CaseManagementActionsRequest caseManagementActionsRequest) { LogUtility logUtility = new LogUtility(); @@ -513,9 +513,9 @@ public ApiResponse< InlineResponse2001 > ActionDecisionManagerCaseWithHttpInfo ( } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2001) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2001))); // Return statement + (InlineResponse2002) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2002))); // Return statement } /// @@ -524,12 +524,12 @@ public ApiResponse< InlineResponse2001 > ActionDecisionManagerCaseWithHttpInfo ( /// Thrown when fails to make API call /// An unique identification number generated by Cybersource to identify the submitted request. /// - /// Task of InlineResponse2001 - public async System.Threading.Tasks.Task ActionDecisionManagerCaseAsync (string id, CaseManagementActionsRequest caseManagementActionsRequest) + /// Task of InlineResponse2002 + public async System.Threading.Tasks.Task ActionDecisionManagerCaseAsync (string id, CaseManagementActionsRequest caseManagementActionsRequest) { logger.Debug("CALLING API \"ActionDecisionManagerCaseAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await ActionDecisionManagerCaseAsyncWithHttpInfo(id, caseManagementActionsRequest); + ApiResponse localVarResponse = await ActionDecisionManagerCaseAsyncWithHttpInfo(id, caseManagementActionsRequest); logger.Debug("CALLING API \"ActionDecisionManagerCaseAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -542,8 +542,8 @@ public async System.Threading.Tasks.Task ActionDecisionManag /// Thrown when fails to make API call /// An unique identification number generated by Cybersource to identify the submitted request. /// - /// Task of ApiResponse (InlineResponse2001) - public async System.Threading.Tasks.Task> ActionDecisionManagerCaseAsyncWithHttpInfo (string id, CaseManagementActionsRequest caseManagementActionsRequest) + /// Task of ApiResponse (InlineResponse2002) + public async System.Threading.Tasks.Task> ActionDecisionManagerCaseAsyncWithHttpInfo (string id, CaseManagementActionsRequest caseManagementActionsRequest) { LogUtility logUtility = new LogUtility(); @@ -635,9 +635,9 @@ public async System.Threading.Tasks.Task> Action } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2001) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2001))); // Return statement + (InlineResponse2002) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2002))); // Return statement } /// /// List Management This call adds/deletes/converts the request information in the negative list. Provide the list to be updated as the path parameter. This value can be 'postiive', 'negative' or 'review'. diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/DeviceDeAssociationApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/DeviceDeAssociationApi.cs index 8cd45f8d..55229b42 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/DeviceDeAssociationApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/DeviceDeAssociationApi.cs @@ -58,8 +58,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor /// /// Thrown when fails to make API call /// deviceId that has to be de-associated to the destination organizationId. - /// List<InlineResponse2008> - List PostDeAssociateV3Terminal (List deviceDeAssociateV3Request); + /// List<InlineResponse2009> + List PostDeAssociateV3Terminal (List deviceDeAssociateV3Request); /// /// De-associate a device from merchant to account or reseller and from account to reseller @@ -69,8 +69,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor /// /// Thrown when fails to make API call /// deviceId that has to be de-associated to the destination organizationId. - /// ApiResponse of List<InlineResponse2008> - ApiResponse> PostDeAssociateV3TerminalWithHttpInfo (List deviceDeAssociateV3Request); + /// ApiResponse of List<InlineResponse2009> + ApiResponse> PostDeAssociateV3TerminalWithHttpInfo (List deviceDeAssociateV3Request); #endregion Synchronous Operations #region Asynchronous Operations /// @@ -102,8 +102,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor /// /// Thrown when fails to make API call /// deviceId that has to be de-associated to the destination organizationId. - /// Task of List<InlineResponse2008> - System.Threading.Tasks.Task> PostDeAssociateV3TerminalAsync (List deviceDeAssociateV3Request); + /// Task of List<InlineResponse2009> + System.Threading.Tasks.Task> PostDeAssociateV3TerminalAsync (List deviceDeAssociateV3Request); /// /// De-associate a device from merchant to account or reseller and from account to reseller @@ -113,8 +113,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor /// /// Thrown when fails to make API call /// deviceId that has to be de-associated to the destination organizationId. - /// Task of ApiResponse (List<InlineResponse2008>) - System.Threading.Tasks.Task>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List deviceDeAssociateV3Request); + /// Task of ApiResponse (List<InlineResponse2009>) + System.Threading.Tasks.Task>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List deviceDeAssociateV3Request); #endregion Asynchronous Operations } @@ -472,12 +472,12 @@ public async System.Threading.Tasks.Task> DeleteTerminalAsso /// /// Thrown when fails to make API call /// deviceId that has to be de-associated to the destination organizationId. - /// List<InlineResponse2008> - public List PostDeAssociateV3Terminal (List deviceDeAssociateV3Request) + /// List<InlineResponse2009> + public List PostDeAssociateV3Terminal (List deviceDeAssociateV3Request) { logger.Debug("CALLING API \"PostDeAssociateV3Terminal\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = PostDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request); + ApiResponse> localVarResponse = PostDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request); logger.Debug("CALLING API \"PostDeAssociateV3Terminal\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -488,8 +488,8 @@ public List PostDeAssociateV3Terminal (List /// Thrown when fails to make API call /// deviceId that has to be de-associated to the destination organizationId. - /// ApiResponse of List<InlineResponse2008> - public ApiResponse< List > PostDeAssociateV3TerminalWithHttpInfo (List deviceDeAssociateV3Request) + /// ApiResponse of List<InlineResponse2009> + public ApiResponse< List > PostDeAssociateV3TerminalWithHttpInfo (List deviceDeAssociateV3Request) { LogUtility logUtility = new LogUtility(); @@ -570,9 +570,9 @@ public ApiResponse< List > PostDeAssociateV3TerminalWithHttp } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// @@ -580,12 +580,12 @@ public ApiResponse< List > PostDeAssociateV3TerminalWithHttp /// /// Thrown when fails to make API call /// deviceId that has to be de-associated to the destination organizationId. - /// Task of List<InlineResponse2008> - public async System.Threading.Tasks.Task> PostDeAssociateV3TerminalAsync (List deviceDeAssociateV3Request) + /// Task of List<InlineResponse2009> + public async System.Threading.Tasks.Task> PostDeAssociateV3TerminalAsync (List deviceDeAssociateV3Request) { logger.Debug("CALLING API \"PostDeAssociateV3TerminalAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = await PostDeAssociateV3TerminalAsyncWithHttpInfo(deviceDeAssociateV3Request); + ApiResponse> localVarResponse = await PostDeAssociateV3TerminalAsyncWithHttpInfo(deviceDeAssociateV3Request); logger.Debug("CALLING API \"PostDeAssociateV3TerminalAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -597,8 +597,8 @@ public async System.Threading.Tasks.Task> PostDeAssocia /// /// Thrown when fails to make API call /// deviceId that has to be de-associated to the destination organizationId. - /// Task of ApiResponse (List<InlineResponse2008>) - public async System.Threading.Tasks.Task>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List deviceDeAssociateV3Request) + /// Task of ApiResponse (List<InlineResponse2009>) + public async System.Threading.Tasks.Task>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List deviceDeAssociateV3Request) { LogUtility logUtility = new LogUtility(); @@ -679,9 +679,9 @@ public async System.Threading.Tasks.Task>> } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/DeviceSearchApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/DeviceSearchApi.cs index f56c8f36..3ec1bfe3 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/DeviceSearchApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/DeviceSearchApi.cs @@ -37,8 +37,8 @@ public interface IDeviceSearchApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// InlineResponse2007 - InlineResponse2007 PostSearchQuery (PostDeviceSearchRequest postDeviceSearchRequest); + /// InlineResponse2008 + InlineResponse2008 PostSearchQuery (PostDeviceSearchRequest postDeviceSearchRequest); /// /// Retrieve List of Devices for a given search query V2 @@ -48,8 +48,8 @@ public interface IDeviceSearchApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// ApiResponse of InlineResponse2007 - ApiResponse PostSearchQueryWithHttpInfo (PostDeviceSearchRequest postDeviceSearchRequest); + /// ApiResponse of InlineResponse2008 + ApiResponse PostSearchQueryWithHttpInfo (PostDeviceSearchRequest postDeviceSearchRequest); /// /// Retrieve List of Devices for a given search query /// @@ -58,8 +58,8 @@ public interface IDeviceSearchApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// InlineResponse2009 - InlineResponse2009 PostSearchQueryV3 (PostDeviceSearchRequestV3 postDeviceSearchRequestV3); + /// InlineResponse20010 + InlineResponse20010 PostSearchQueryV3 (PostDeviceSearchRequestV3 postDeviceSearchRequestV3); /// /// Retrieve List of Devices for a given search query @@ -69,8 +69,8 @@ public interface IDeviceSearchApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// ApiResponse of InlineResponse2009 - ApiResponse PostSearchQueryV3WithHttpInfo (PostDeviceSearchRequestV3 postDeviceSearchRequestV3); + /// ApiResponse of InlineResponse20010 + ApiResponse PostSearchQueryV3WithHttpInfo (PostDeviceSearchRequestV3 postDeviceSearchRequestV3); #endregion Synchronous Operations #region Asynchronous Operations /// @@ -81,8 +81,8 @@ public interface IDeviceSearchApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// Task of InlineResponse2007 - System.Threading.Tasks.Task PostSearchQueryAsync (PostDeviceSearchRequest postDeviceSearchRequest); + /// Task of InlineResponse2008 + System.Threading.Tasks.Task PostSearchQueryAsync (PostDeviceSearchRequest postDeviceSearchRequest); /// /// Retrieve List of Devices for a given search query V2 @@ -92,8 +92,8 @@ public interface IDeviceSearchApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// Task of ApiResponse (InlineResponse2007) - System.Threading.Tasks.Task> PostSearchQueryAsyncWithHttpInfo (PostDeviceSearchRequest postDeviceSearchRequest); + /// Task of ApiResponse (InlineResponse2008) + System.Threading.Tasks.Task> PostSearchQueryAsyncWithHttpInfo (PostDeviceSearchRequest postDeviceSearchRequest); /// /// Retrieve List of Devices for a given search query /// @@ -102,8 +102,8 @@ public interface IDeviceSearchApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// Task of InlineResponse2009 - System.Threading.Tasks.Task PostSearchQueryV3Async (PostDeviceSearchRequestV3 postDeviceSearchRequestV3); + /// Task of InlineResponse20010 + System.Threading.Tasks.Task PostSearchQueryV3Async (PostDeviceSearchRequestV3 postDeviceSearchRequestV3); /// /// Retrieve List of Devices for a given search query @@ -113,8 +113,8 @@ public interface IDeviceSearchApi : IApiAccessor /// /// Thrown when fails to make API call /// - /// Task of ApiResponse (InlineResponse2009) - System.Threading.Tasks.Task> PostSearchQueryV3AsyncWithHttpInfo (PostDeviceSearchRequestV3 postDeviceSearchRequestV3); + /// Task of ApiResponse (InlineResponse20010) + System.Threading.Tasks.Task> PostSearchQueryV3AsyncWithHttpInfo (PostDeviceSearchRequestV3 postDeviceSearchRequestV3); #endregion Asynchronous Operations } @@ -260,12 +260,12 @@ public void SetStatusCode(int? statusCode) /// /// Thrown when fails to make API call /// - /// InlineResponse2007 - public InlineResponse2007 PostSearchQuery (PostDeviceSearchRequest postDeviceSearchRequest) + /// InlineResponse2008 + public InlineResponse2008 PostSearchQuery (PostDeviceSearchRequest postDeviceSearchRequest) { logger.Debug("CALLING API \"PostSearchQuery\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = PostSearchQueryWithHttpInfo(postDeviceSearchRequest); + ApiResponse localVarResponse = PostSearchQueryWithHttpInfo(postDeviceSearchRequest); logger.Debug("CALLING API \"PostSearchQuery\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -276,8 +276,8 @@ public InlineResponse2007 PostSearchQuery (PostDeviceSearchRequest postDeviceSea /// /// Thrown when fails to make API call /// - /// ApiResponse of InlineResponse2007 - public ApiResponse< InlineResponse2007 > PostSearchQueryWithHttpInfo (PostDeviceSearchRequest postDeviceSearchRequest) + /// ApiResponse of InlineResponse2008 + public ApiResponse< InlineResponse2008 > PostSearchQueryWithHttpInfo (PostDeviceSearchRequest postDeviceSearchRequest) { LogUtility logUtility = new LogUtility(); @@ -358,9 +358,9 @@ public ApiResponse< InlineResponse2007 > PostSearchQueryWithHttpInfo (PostDevice } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2007) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2007))); // Return statement + (InlineResponse2008) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2008))); // Return statement } /// @@ -368,12 +368,12 @@ public ApiResponse< InlineResponse2007 > PostSearchQueryWithHttpInfo (PostDevice /// /// Thrown when fails to make API call /// - /// Task of InlineResponse2007 - public async System.Threading.Tasks.Task PostSearchQueryAsync (PostDeviceSearchRequest postDeviceSearchRequest) + /// Task of InlineResponse2008 + public async System.Threading.Tasks.Task PostSearchQueryAsync (PostDeviceSearchRequest postDeviceSearchRequest) { logger.Debug("CALLING API \"PostSearchQueryAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await PostSearchQueryAsyncWithHttpInfo(postDeviceSearchRequest); + ApiResponse localVarResponse = await PostSearchQueryAsyncWithHttpInfo(postDeviceSearchRequest); logger.Debug("CALLING API \"PostSearchQueryAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -385,8 +385,8 @@ public async System.Threading.Tasks.Task PostSearchQueryAsyn /// /// Thrown when fails to make API call /// - /// Task of ApiResponse (InlineResponse2007) - public async System.Threading.Tasks.Task> PostSearchQueryAsyncWithHttpInfo (PostDeviceSearchRequest postDeviceSearchRequest) + /// Task of ApiResponse (InlineResponse2008) + public async System.Threading.Tasks.Task> PostSearchQueryAsyncWithHttpInfo (PostDeviceSearchRequest postDeviceSearchRequest) { LogUtility logUtility = new LogUtility(); @@ -467,21 +467,21 @@ public async System.Threading.Tasks.Task> PostSe } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2007) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2007))); // Return statement + (InlineResponse2008) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2008))); // Return statement } /// /// Retrieve List of Devices for a given search query Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated. /// /// Thrown when fails to make API call /// - /// InlineResponse2009 - public InlineResponse2009 PostSearchQueryV3 (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) + /// InlineResponse20010 + public InlineResponse20010 PostSearchQueryV3 (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) { logger.Debug("CALLING API \"PostSearchQueryV3\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = PostSearchQueryV3WithHttpInfo(postDeviceSearchRequestV3); + ApiResponse localVarResponse = PostSearchQueryV3WithHttpInfo(postDeviceSearchRequestV3); logger.Debug("CALLING API \"PostSearchQueryV3\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -492,8 +492,8 @@ public InlineResponse2009 PostSearchQueryV3 (PostDeviceSearchRequestV3 postDevic /// /// Thrown when fails to make API call /// - /// ApiResponse of InlineResponse2009 - public ApiResponse< InlineResponse2009 > PostSearchQueryV3WithHttpInfo (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) + /// ApiResponse of InlineResponse20010 + public ApiResponse< InlineResponse20010 > PostSearchQueryV3WithHttpInfo (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) { LogUtility logUtility = new LogUtility(); @@ -574,9 +574,9 @@ public ApiResponse< InlineResponse2009 > PostSearchQueryV3WithHttpInfo (PostDevi } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2009) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2009))); // Return statement + (InlineResponse20010) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20010))); // Return statement } /// @@ -584,12 +584,12 @@ public ApiResponse< InlineResponse2009 > PostSearchQueryV3WithHttpInfo (PostDevi /// /// Thrown when fails to make API call /// - /// Task of InlineResponse2009 - public async System.Threading.Tasks.Task PostSearchQueryV3Async (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) + /// Task of InlineResponse20010 + public async System.Threading.Tasks.Task PostSearchQueryV3Async (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) { logger.Debug("CALLING API \"PostSearchQueryV3Async\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await PostSearchQueryV3AsyncWithHttpInfo(postDeviceSearchRequestV3); + ApiResponse localVarResponse = await PostSearchQueryV3AsyncWithHttpInfo(postDeviceSearchRequestV3); logger.Debug("CALLING API \"PostSearchQueryV3Async\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -601,8 +601,8 @@ public async System.Threading.Tasks.Task PostSearchQueryV3As /// /// Thrown when fails to make API call /// - /// Task of ApiResponse (InlineResponse2009) - public async System.Threading.Tasks.Task> PostSearchQueryV3AsyncWithHttpInfo (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) + /// Task of ApiResponse (InlineResponse20010) + public async System.Threading.Tasks.Task> PostSearchQueryV3AsyncWithHttpInfo (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) { LogUtility logUtility = new LogUtility(); @@ -683,9 +683,9 @@ public async System.Threading.Tasks.Task> PostSe } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2009) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2009))); // Return statement + (InlineResponse20010) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20010))); // Return statement } } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/InstrumentIdentifierApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/InstrumentIdentifierApi.cs index 50bca029..b51f7577 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/InstrumentIdentifierApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/InstrumentIdentifierApi.cs @@ -1367,7 +1367,7 @@ public ApiResponse< PatchInstrumentIdentifierRequest > PatchInstrumentIdentifier localVarPostBody = patchInstrumentIdentifierRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PatchInstrumentIdentifier,PatchInstrumentIdentifierAsync,PatchInstrumentIdentifierWithHttpInfo,PatchInstrumentIdentifierAsyncWithHttpInfo")) { @@ -1508,7 +1508,7 @@ public async System.Threading.Tasks.Task PostInstrumentIdentifierWi localVarPostBody = postInstrumentIdentifierRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostInstrumentIdentifier,PostInstrumentIdentifierAsync,PostInstrumentIdentifierWithHttpInfo,PostInstrumentIdentifierAsyncWithHttpInfo")) { @@ -1750,7 +1750,7 @@ public async System.Threading.Tasks.Task PostInstrumentIdentifierEnrollmentWithHttpInfo (strin localVarPostBody = postInstrumentIdentifierEnrollmentRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostInstrumentIdentifierEnrollment,PostInstrumentIdentifierEnrollmentAsync,PostInstrumentIdentifierEnrollmentWithHttpInfo,PostInstrumentIdentifierEnrollmentAsyncWithHttpInfo")) { @@ -1999,7 +1999,7 @@ public async System.Threading.Tasks.Task> PostInstrumentIden localVarPostBody = postInstrumentIdentifierEnrollmentRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostInstrumentIdentifierEnrollment,PostInstrumentIdentifierEnrollmentAsync,PostInstrumentIdentifierEnrollmentWithHttpInfo,PostInstrumentIdentifierEnrollmentAsyncWithHttpInfo")) { diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/ManageWebhooksApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/ManageWebhooksApi.cs index c7fe1ec8..de9259fb 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/ManageWebhooksApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/ManageWebhooksApi.cs @@ -81,8 +81,8 @@ public interface IManageWebhooksApi : IApiAccessor /// The Organization Identifier. /// The Product Identifier. (optional) /// The Event Type. (optional) - /// List<InlineResponse2005> - List GetWebhookSubscriptionsByOrg (string organizationId, string productId = null, string eventType = null); + /// List<InlineResponse2006> + List GetWebhookSubscriptionsByOrg (string organizationId, string productId = null, string eventType = null); /// /// Get Details On All Created Webhooks @@ -94,8 +94,8 @@ public interface IManageWebhooksApi : IApiAccessor /// The Organization Identifier. /// The Product Identifier. (optional) /// The Event Type. (optional) - /// ApiResponse of List<InlineResponse2005> - ApiResponse> GetWebhookSubscriptionsByOrgWithHttpInfo (string organizationId, string productId = null, string eventType = null); + /// ApiResponse of List<InlineResponse2006> + ApiResponse> GetWebhookSubscriptionsByOrgWithHttpInfo (string organizationId, string productId = null, string eventType = null); /// /// Test a Webhook Configuration /// @@ -126,8 +126,8 @@ public interface IManageWebhooksApi : IApiAccessor /// Thrown when fails to make API call /// The Webhook Identifier. /// The webhook payload or changes to apply. (optional) - /// InlineResponse2006 - InlineResponse2006 NotificationSubscriptionsV2WebhooksWebhookIdPatch (string webhookId, UpdateWebhook updateWebhook = null); + /// InlineResponse2007 + InlineResponse2007 NotificationSubscriptionsV2WebhooksWebhookIdPatch (string webhookId, UpdateWebhook updateWebhook = null); /// /// Update a Webhook Subscription @@ -138,8 +138,8 @@ public interface IManageWebhooksApi : IApiAccessor /// Thrown when fails to make API call /// The Webhook Identifier. /// The webhook payload or changes to apply. (optional) - /// ApiResponse of InlineResponse2006 - ApiResponse NotificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null); + /// ApiResponse of InlineResponse2007 + ApiResponse NotificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null); /// /// Update a Webhook Status /// @@ -244,8 +244,8 @@ public interface IManageWebhooksApi : IApiAccessor /// The Organization Identifier. /// The Product Identifier. (optional) /// The Event Type. (optional) - /// Task of List<InlineResponse2005> - System.Threading.Tasks.Task> GetWebhookSubscriptionsByOrgAsync (string organizationId, string productId = null, string eventType = null); + /// Task of List<InlineResponse2006> + System.Threading.Tasks.Task> GetWebhookSubscriptionsByOrgAsync (string organizationId, string productId = null, string eventType = null); /// /// Get Details On All Created Webhooks @@ -257,8 +257,8 @@ public interface IManageWebhooksApi : IApiAccessor /// The Organization Identifier. /// The Product Identifier. (optional) /// The Event Type. (optional) - /// Task of ApiResponse (List<InlineResponse2005>) - System.Threading.Tasks.Task>> GetWebhookSubscriptionsByOrgAsyncWithHttpInfo (string organizationId, string productId = null, string eventType = null); + /// Task of ApiResponse (List<InlineResponse2006>) + System.Threading.Tasks.Task>> GetWebhookSubscriptionsByOrgAsyncWithHttpInfo (string organizationId, string productId = null, string eventType = null); /// /// Test a Webhook Configuration /// @@ -289,8 +289,8 @@ public interface IManageWebhooksApi : IApiAccessor /// Thrown when fails to make API call /// The Webhook Identifier. /// The webhook payload or changes to apply. (optional) - /// Task of InlineResponse2006 - System.Threading.Tasks.Task NotificationSubscriptionsV2WebhooksWebhookIdPatchAsync (string webhookId, UpdateWebhook updateWebhook = null); + /// Task of InlineResponse2007 + System.Threading.Tasks.Task NotificationSubscriptionsV2WebhooksWebhookIdPatchAsync (string webhookId, UpdateWebhook updateWebhook = null); /// /// Update a Webhook Subscription @@ -301,8 +301,8 @@ public interface IManageWebhooksApi : IApiAccessor /// Thrown when fails to make API call /// The Webhook Identifier. /// The webhook payload or changes to apply. (optional) - /// Task of ApiResponse (InlineResponse2006) - System.Threading.Tasks.Task> NotificationSubscriptionsV2WebhooksWebhookIdPatchAsyncWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null); + /// Task of ApiResponse (InlineResponse2007) + System.Threading.Tasks.Task> NotificationSubscriptionsV2WebhooksWebhookIdPatchAsyncWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null); /// /// Update a Webhook Status /// @@ -960,12 +960,12 @@ public async System.Threading.Tasks.Task> GetWeb /// The Organization Identifier. /// The Product Identifier. (optional) /// The Event Type. (optional) - /// List<InlineResponse2005> - public List GetWebhookSubscriptionsByOrg (string organizationId, string productId = null, string eventType = null) + /// List<InlineResponse2006> + public List GetWebhookSubscriptionsByOrg (string organizationId, string productId = null, string eventType = null) { logger.Debug("CALLING API \"GetWebhookSubscriptionsByOrg\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = GetWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType); + ApiResponse> localVarResponse = GetWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType); logger.Debug("CALLING API \"GetWebhookSubscriptionsByOrg\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -978,8 +978,8 @@ public List GetWebhookSubscriptionsByOrg (string organizatio /// The Organization Identifier. /// The Product Identifier. (optional) /// The Event Type. (optional) - /// ApiResponse of List<InlineResponse2005> - public ApiResponse< List > GetWebhookSubscriptionsByOrgWithHttpInfo (string organizationId, string productId = null, string eventType = null) + /// ApiResponse of List<InlineResponse2006> + public ApiResponse< List > GetWebhookSubscriptionsByOrgWithHttpInfo (string organizationId, string productId = null, string eventType = null) { LogUtility logUtility = new LogUtility(); @@ -1078,9 +1078,9 @@ public ApiResponse< List > GetWebhookSubscriptionsByOrgWithH } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// @@ -1090,12 +1090,12 @@ public ApiResponse< List > GetWebhookSubscriptionsByOrgWithH /// The Organization Identifier. /// The Product Identifier. (optional) /// The Event Type. (optional) - /// Task of List<InlineResponse2005> - public async System.Threading.Tasks.Task> GetWebhookSubscriptionsByOrgAsync (string organizationId, string productId = null, string eventType = null) + /// Task of List<InlineResponse2006> + public async System.Threading.Tasks.Task> GetWebhookSubscriptionsByOrgAsync (string organizationId, string productId = null, string eventType = null) { logger.Debug("CALLING API \"GetWebhookSubscriptionsByOrgAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = await GetWebhookSubscriptionsByOrgAsyncWithHttpInfo(organizationId, productId, eventType); + ApiResponse> localVarResponse = await GetWebhookSubscriptionsByOrgAsyncWithHttpInfo(organizationId, productId, eventType); logger.Debug("CALLING API \"GetWebhookSubscriptionsByOrgAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -1109,8 +1109,8 @@ public async System.Threading.Tasks.Task> GetWebhookSub /// The Organization Identifier. /// The Product Identifier. (optional) /// The Event Type. (optional) - /// Task of ApiResponse (List<InlineResponse2005>) - public async System.Threading.Tasks.Task>> GetWebhookSubscriptionsByOrgAsyncWithHttpInfo (string organizationId, string productId = null, string eventType = null) + /// Task of ApiResponse (List<InlineResponse2006>) + public async System.Threading.Tasks.Task>> GetWebhookSubscriptionsByOrgAsyncWithHttpInfo (string organizationId, string productId = null, string eventType = null) { LogUtility logUtility = new LogUtility(); @@ -1209,9 +1209,9 @@ public async System.Threading.Tasks.Task>> } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// /// Test a Webhook Configuration Test the webhook configuration by sending a sample webhook. Calling this endpoint sends a sample webhook to the endpoint identified in the user's subscription. It will contain sample values for the product & eventType based on values present in your subscription along with a sample message in the payload. Based on the webhook response users can make any necessary modifications or rest assured knowing their setup is configured correctly. @@ -1451,12 +1451,12 @@ public async System.Threading.Tasks.Task> Notifi /// Thrown when fails to make API call /// The Webhook Identifier. /// The webhook payload or changes to apply. (optional) - /// InlineResponse2006 - public InlineResponse2006 NotificationSubscriptionsV2WebhooksWebhookIdPatch (string webhookId, UpdateWebhook updateWebhook = null) + /// InlineResponse2007 + public InlineResponse2007 NotificationSubscriptionsV2WebhooksWebhookIdPatch (string webhookId, UpdateWebhook updateWebhook = null) { logger.Debug("CALLING API \"NotificationSubscriptionsV2WebhooksWebhookIdPatch\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = NotificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(webhookId, updateWebhook); + ApiResponse localVarResponse = NotificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(webhookId, updateWebhook); logger.Debug("CALLING API \"NotificationSubscriptionsV2WebhooksWebhookIdPatch\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -1468,8 +1468,8 @@ public InlineResponse2006 NotificationSubscriptionsV2WebhooksWebhookIdPatch (str /// Thrown when fails to make API call /// The Webhook Identifier. /// The webhook payload or changes to apply. (optional) - /// ApiResponse of InlineResponse2006 - public ApiResponse< InlineResponse2006 > NotificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null) + /// ApiResponse of InlineResponse2007 + public ApiResponse< InlineResponse2007 > NotificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null) { LogUtility logUtility = new LogUtility(); @@ -1555,9 +1555,9 @@ public ApiResponse< InlineResponse2006 > NotificationSubscriptionsV2WebhooksWebh } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2006) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2006))); // Return statement + (InlineResponse2007) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2007))); // Return statement } /// @@ -1566,12 +1566,12 @@ public ApiResponse< InlineResponse2006 > NotificationSubscriptionsV2WebhooksWebh /// Thrown when fails to make API call /// The Webhook Identifier. /// The webhook payload or changes to apply. (optional) - /// Task of InlineResponse2006 - public async System.Threading.Tasks.Task NotificationSubscriptionsV2WebhooksWebhookIdPatchAsync (string webhookId, UpdateWebhook updateWebhook = null) + /// Task of InlineResponse2007 + public async System.Threading.Tasks.Task NotificationSubscriptionsV2WebhooksWebhookIdPatchAsync (string webhookId, UpdateWebhook updateWebhook = null) { logger.Debug("CALLING API \"NotificationSubscriptionsV2WebhooksWebhookIdPatchAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await NotificationSubscriptionsV2WebhooksWebhookIdPatchAsyncWithHttpInfo(webhookId, updateWebhook); + ApiResponse localVarResponse = await NotificationSubscriptionsV2WebhooksWebhookIdPatchAsyncWithHttpInfo(webhookId, updateWebhook); logger.Debug("CALLING API \"NotificationSubscriptionsV2WebhooksWebhookIdPatchAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -1584,8 +1584,8 @@ public async System.Threading.Tasks.Task NotificationSubscri /// Thrown when fails to make API call /// The Webhook Identifier. /// The webhook payload or changes to apply. (optional) - /// Task of ApiResponse (InlineResponse2006) - public async System.Threading.Tasks.Task> NotificationSubscriptionsV2WebhooksWebhookIdPatchAsyncWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null) + /// Task of ApiResponse (InlineResponse2007) + public async System.Threading.Tasks.Task> NotificationSubscriptionsV2WebhooksWebhookIdPatchAsyncWithHttpInfo (string webhookId, UpdateWebhook updateWebhook = null) { LogUtility logUtility = new LogUtility(); @@ -1671,9 +1671,9 @@ public async System.Threading.Tasks.Task> Notifi } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2006) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2006))); // Return statement + (InlineResponse2007) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2007))); // Return statement } /// /// Update a Webhook Status Users can update the status of a webhook subscription by calling this endpoint. The webhookId parameter in the URL path identifies the specific webhook subscription to be updated. The request body accepts the values ACTIVE or INACTIVE. If the subscription is set to INACTIVE, webhooks will not be delivered until the subscription is activated again. diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/MerchantBoardingApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/MerchantBoardingApi.cs index 67b2cfe1..2b1bd081 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/MerchantBoardingApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/MerchantBoardingApi.cs @@ -37,8 +37,8 @@ public interface IMerchantBoardingApi : IApiAccessor /// /// Thrown when fails to make API call /// Identifies the boarding registration to be updated - /// InlineResponse2003 - InlineResponse2003 GetRegistration (string registrationId); + /// InlineResponse2004 + InlineResponse2004 GetRegistration (string registrationId); /// /// Gets all the information on a boarding registration @@ -48,8 +48,8 @@ public interface IMerchantBoardingApi : IApiAccessor /// /// Thrown when fails to make API call /// Identifies the boarding registration to be updated - /// ApiResponse of InlineResponse2003 - ApiResponse GetRegistrationWithHttpInfo (string registrationId); + /// ApiResponse of InlineResponse2004 + ApiResponse GetRegistrationWithHttpInfo (string registrationId); /// /// Create a boarding registration /// @@ -83,8 +83,8 @@ public interface IMerchantBoardingApi : IApiAccessor /// /// Thrown when fails to make API call /// Identifies the boarding registration to be updated - /// Task of InlineResponse2003 - System.Threading.Tasks.Task GetRegistrationAsync (string registrationId); + /// Task of InlineResponse2004 + System.Threading.Tasks.Task GetRegistrationAsync (string registrationId); /// /// Gets all the information on a boarding registration @@ -94,8 +94,8 @@ public interface IMerchantBoardingApi : IApiAccessor /// /// Thrown when fails to make API call /// Identifies the boarding registration to be updated - /// Task of ApiResponse (InlineResponse2003) - System.Threading.Tasks.Task> GetRegistrationAsyncWithHttpInfo (string registrationId); + /// Task of ApiResponse (InlineResponse2004) + System.Threading.Tasks.Task> GetRegistrationAsyncWithHttpInfo (string registrationId); /// /// Create a boarding registration /// @@ -264,12 +264,12 @@ public void SetStatusCode(int? statusCode) /// /// Thrown when fails to make API call /// Identifies the boarding registration to be updated - /// InlineResponse2003 - public InlineResponse2003 GetRegistration (string registrationId) + /// InlineResponse2004 + public InlineResponse2004 GetRegistration (string registrationId) { logger.Debug("CALLING API \"GetRegistration\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetRegistrationWithHttpInfo(registrationId); + ApiResponse localVarResponse = GetRegistrationWithHttpInfo(registrationId); logger.Debug("CALLING API \"GetRegistration\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -280,8 +280,8 @@ public InlineResponse2003 GetRegistration (string registrationId) /// /// Thrown when fails to make API call /// Identifies the boarding registration to be updated - /// ApiResponse of InlineResponse2003 - public ApiResponse< InlineResponse2003 > GetRegistrationWithHttpInfo (string registrationId) + /// ApiResponse of InlineResponse2004 + public ApiResponse< InlineResponse2004 > GetRegistrationWithHttpInfo (string registrationId) { LogUtility logUtility = new LogUtility(); @@ -370,9 +370,9 @@ public ApiResponse< InlineResponse2003 > GetRegistrationWithHttpInfo (string reg } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2003) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2003))); // Return statement + (InlineResponse2004) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2004))); // Return statement } /// @@ -380,12 +380,12 @@ public ApiResponse< InlineResponse2003 > GetRegistrationWithHttpInfo (string reg /// /// Thrown when fails to make API call /// Identifies the boarding registration to be updated - /// Task of InlineResponse2003 - public async System.Threading.Tasks.Task GetRegistrationAsync (string registrationId) + /// Task of InlineResponse2004 + public async System.Threading.Tasks.Task GetRegistrationAsync (string registrationId) { logger.Debug("CALLING API \"GetRegistrationAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetRegistrationAsyncWithHttpInfo(registrationId); + ApiResponse localVarResponse = await GetRegistrationAsyncWithHttpInfo(registrationId); logger.Debug("CALLING API \"GetRegistrationAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -397,8 +397,8 @@ public async System.Threading.Tasks.Task GetRegistrationAsyn /// /// Thrown when fails to make API call /// Identifies the boarding registration to be updated - /// Task of ApiResponse (InlineResponse2003) - public async System.Threading.Tasks.Task> GetRegistrationAsyncWithHttpInfo (string registrationId) + /// Task of ApiResponse (InlineResponse2004) + public async System.Threading.Tasks.Task> GetRegistrationAsyncWithHttpInfo (string registrationId) { LogUtility logUtility = new LogUtility(); @@ -487,9 +487,9 @@ public async System.Threading.Tasks.Task> GetReg } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse2003) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2003))); // Return statement + (InlineResponse2004) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2004))); // Return statement } /// /// Create a boarding registration Boarding Product is specifically for resellers who onboard merchants to resell their services to merchants and help integrate REST API into their systems. The Boarding API is designed to simplify and streamline the onboarding process of merchants by enabling administrators and developers to: 1. Enable and Configure Products: The API helps in adding new products to an existing organization and configuring them to suit specific needs. 2. Update Merchant Information: The API allows for updating an organization's information efficiently. 3. Manage Payment Integration: It provides templates for secure payment integration and management. diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/MerchantDefinedFieldsApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/MerchantDefinedFieldsApi.cs index d48dd866..51fc8667 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/MerchantDefinedFieldsApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/MerchantDefinedFieldsApi.cs @@ -38,8 +38,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation /// - /// List<InlineResponse2002> - List CreateMerchantDefinedFieldDefinition (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest); + /// List<InlineResponse2003> + List CreateMerchantDefinedFieldDefinition (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest); /// /// Create merchant defined field for a given reference type @@ -50,8 +50,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation /// - /// ApiResponse of List<InlineResponse2002> - ApiResponse> CreateMerchantDefinedFieldDefinitionWithHttpInfo (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest); + /// ApiResponse of List<InlineResponse2003> + ApiResponse> CreateMerchantDefinedFieldDefinitionWithHttpInfo (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest); /// /// Delete a MerchantDefinedField by ID /// @@ -83,8 +83,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation - /// List<InlineResponse2002> - List GetMerchantDefinedFieldsDefinitions (string referenceType); + /// List<InlineResponse2003> + List GetMerchantDefinedFieldsDefinitions (string referenceType); /// /// Get all merchant defined fields for a given reference type @@ -94,8 +94,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation - /// ApiResponse of List<InlineResponse2002> - ApiResponse> GetMerchantDefinedFieldsDefinitionsWithHttpInfo (string referenceType); + /// ApiResponse of List<InlineResponse2003> + ApiResponse> GetMerchantDefinedFieldsDefinitionsWithHttpInfo (string referenceType); /// /// Update a MerchantDefinedField by ID /// @@ -106,8 +106,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// /// /// - /// List<InlineResponse2002> - List PutMerchantDefinedFieldsDefinitions (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore); + /// List<InlineResponse2003> + List PutMerchantDefinedFieldsDefinitions (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore); /// /// Update a MerchantDefinedField by ID @@ -119,8 +119,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// /// /// - /// ApiResponse of List<InlineResponse2002> - ApiResponse> PutMerchantDefinedFieldsDefinitionsWithHttpInfo (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore); + /// ApiResponse of List<InlineResponse2003> + ApiResponse> PutMerchantDefinedFieldsDefinitionsWithHttpInfo (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore); #endregion Synchronous Operations #region Asynchronous Operations /// @@ -132,8 +132,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation /// - /// Task of List<InlineResponse2002> - System.Threading.Tasks.Task> CreateMerchantDefinedFieldDefinitionAsync (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest); + /// Task of List<InlineResponse2003> + System.Threading.Tasks.Task> CreateMerchantDefinedFieldDefinitionAsync (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest); /// /// Create merchant defined field for a given reference type @@ -144,8 +144,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation /// - /// Task of ApiResponse (List<InlineResponse2002>) - System.Threading.Tasks.Task>> CreateMerchantDefinedFieldDefinitionAsyncWithHttpInfo (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest); + /// Task of ApiResponse (List<InlineResponse2003>) + System.Threading.Tasks.Task>> CreateMerchantDefinedFieldDefinitionAsyncWithHttpInfo (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest); /// /// Delete a MerchantDefinedField by ID /// @@ -177,8 +177,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation - /// Task of List<InlineResponse2002> - System.Threading.Tasks.Task> GetMerchantDefinedFieldsDefinitionsAsync (string referenceType); + /// Task of List<InlineResponse2003> + System.Threading.Tasks.Task> GetMerchantDefinedFieldsDefinitionsAsync (string referenceType); /// /// Get all merchant defined fields for a given reference type @@ -188,8 +188,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation - /// Task of ApiResponse (List<InlineResponse2002>) - System.Threading.Tasks.Task>> GetMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo (string referenceType); + /// Task of ApiResponse (List<InlineResponse2003>) + System.Threading.Tasks.Task>> GetMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo (string referenceType); /// /// Update a MerchantDefinedField by ID /// @@ -200,8 +200,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// /// /// - /// Task of List<InlineResponse2002> - System.Threading.Tasks.Task> PutMerchantDefinedFieldsDefinitionsAsync (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore); + /// Task of List<InlineResponse2003> + System.Threading.Tasks.Task> PutMerchantDefinedFieldsDefinitionsAsync (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore); /// /// Update a MerchantDefinedField by ID @@ -213,8 +213,8 @@ public interface IMerchantDefinedFieldsApi : IApiAccessor /// /// /// - /// Task of ApiResponse (List<InlineResponse2002>) - System.Threading.Tasks.Task>> PutMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore); + /// Task of ApiResponse (List<InlineResponse2003>) + System.Threading.Tasks.Task>> PutMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore); #endregion Asynchronous Operations } @@ -361,12 +361,12 @@ public void SetStatusCode(int? statusCode) /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation /// - /// List<InlineResponse2002> - public List CreateMerchantDefinedFieldDefinition (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) + /// List<InlineResponse2003> + public List CreateMerchantDefinedFieldDefinition (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) { logger.Debug("CALLING API \"CreateMerchantDefinedFieldDefinition\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = CreateMerchantDefinedFieldDefinitionWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest); + ApiResponse> localVarResponse = CreateMerchantDefinedFieldDefinitionWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest); logger.Debug("CALLING API \"CreateMerchantDefinedFieldDefinition\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -378,8 +378,8 @@ public List CreateMerchantDefinedFieldDefinition (string ref /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation /// - /// ApiResponse of List<InlineResponse2002> - public ApiResponse< List > CreateMerchantDefinedFieldDefinitionWithHttpInfo (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) + /// ApiResponse of List<InlineResponse2003> + public ApiResponse< List > CreateMerchantDefinedFieldDefinitionWithHttpInfo (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) { LogUtility logUtility = new LogUtility(); @@ -471,9 +471,9 @@ public ApiResponse< List > CreateMerchantDefinedFieldDefinit } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// @@ -482,12 +482,12 @@ public ApiResponse< List > CreateMerchantDefinedFieldDefinit /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation /// - /// Task of List<InlineResponse2002> - public async System.Threading.Tasks.Task> CreateMerchantDefinedFieldDefinitionAsync (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) + /// Task of List<InlineResponse2003> + public async System.Threading.Tasks.Task> CreateMerchantDefinedFieldDefinitionAsync (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) { logger.Debug("CALLING API \"CreateMerchantDefinedFieldDefinitionAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = await CreateMerchantDefinedFieldDefinitionAsyncWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest); + ApiResponse> localVarResponse = await CreateMerchantDefinedFieldDefinitionAsyncWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest); logger.Debug("CALLING API \"CreateMerchantDefinedFieldDefinitionAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -500,8 +500,8 @@ public async System.Threading.Tasks.Task> CreateMerchan /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation /// - /// Task of ApiResponse (List<InlineResponse2002>) - public async System.Threading.Tasks.Task>> CreateMerchantDefinedFieldDefinitionAsyncWithHttpInfo (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) + /// Task of ApiResponse (List<InlineResponse2003>) + public async System.Threading.Tasks.Task>> CreateMerchantDefinedFieldDefinitionAsyncWithHttpInfo (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) { LogUtility logUtility = new LogUtility(); @@ -593,9 +593,9 @@ public async System.Threading.Tasks.Task>> } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// /// Delete a MerchantDefinedField by ID @@ -856,12 +856,12 @@ public async System.Threading.Tasks.Task> DeleteMerchantDefi /// /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation - /// List<InlineResponse2002> - public List GetMerchantDefinedFieldsDefinitions (string referenceType) + /// List<InlineResponse2003> + public List GetMerchantDefinedFieldsDefinitions (string referenceType) { logger.Debug("CALLING API \"GetMerchantDefinedFieldsDefinitions\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = GetMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType); + ApiResponse> localVarResponse = GetMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType); logger.Debug("CALLING API \"GetMerchantDefinedFieldsDefinitions\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -872,8 +872,8 @@ public List GetMerchantDefinedFieldsDefinitions (string refe /// /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation - /// ApiResponse of List<InlineResponse2002> - public ApiResponse< List > GetMerchantDefinedFieldsDefinitionsWithHttpInfo (string referenceType) + /// ApiResponse of List<InlineResponse2003> + public ApiResponse< List > GetMerchantDefinedFieldsDefinitionsWithHttpInfo (string referenceType) { LogUtility logUtility = new LogUtility(); @@ -962,9 +962,9 @@ public ApiResponse< List > GetMerchantDefinedFieldsDefinitio } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// @@ -972,12 +972,12 @@ public ApiResponse< List > GetMerchantDefinedFieldsDefinitio /// /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation - /// Task of List<InlineResponse2002> - public async System.Threading.Tasks.Task> GetMerchantDefinedFieldsDefinitionsAsync (string referenceType) + /// Task of List<InlineResponse2003> + public async System.Threading.Tasks.Task> GetMerchantDefinedFieldsDefinitionsAsync (string referenceType) { logger.Debug("CALLING API \"GetMerchantDefinedFieldsDefinitionsAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = await GetMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo(referenceType); + ApiResponse> localVarResponse = await GetMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo(referenceType); logger.Debug("CALLING API \"GetMerchantDefinedFieldsDefinitionsAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -989,8 +989,8 @@ public async System.Threading.Tasks.Task> GetMerchantDe /// /// Thrown when fails to make API call /// The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation - /// Task of ApiResponse (List<InlineResponse2002>) - public async System.Threading.Tasks.Task>> GetMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo (string referenceType) + /// Task of ApiResponse (List<InlineResponse2003>) + public async System.Threading.Tasks.Task>> GetMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo (string referenceType) { LogUtility logUtility = new LogUtility(); @@ -1079,9 +1079,9 @@ public async System.Threading.Tasks.Task>> } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// /// Update a MerchantDefinedField by ID @@ -1090,12 +1090,12 @@ public async System.Threading.Tasks.Task>> /// /// /// - /// List<InlineResponse2002> - public List PutMerchantDefinedFieldsDefinitions (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) + /// List<InlineResponse2003> + public List PutMerchantDefinedFieldsDefinitions (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) { logger.Debug("CALLING API \"PutMerchantDefinedFieldsDefinitions\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = PutMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType, id, merchantDefinedFieldCore); + ApiResponse> localVarResponse = PutMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType, id, merchantDefinedFieldCore); logger.Debug("CALLING API \"PutMerchantDefinedFieldsDefinitions\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -1108,8 +1108,8 @@ public List PutMerchantDefinedFieldsDefinitions (string refe /// /// /// - /// ApiResponse of List<InlineResponse2002> - public ApiResponse< List > PutMerchantDefinedFieldsDefinitionsWithHttpInfo (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) + /// ApiResponse of List<InlineResponse2003> + public ApiResponse< List > PutMerchantDefinedFieldsDefinitionsWithHttpInfo (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) { LogUtility logUtility = new LogUtility(); @@ -1212,9 +1212,9 @@ public ApiResponse< List > PutMerchantDefinedFieldsDefinitio } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } /// @@ -1224,12 +1224,12 @@ public ApiResponse< List > PutMerchantDefinedFieldsDefinitio /// /// /// - /// Task of List<InlineResponse2002> - public async System.Threading.Tasks.Task> PutMerchantDefinedFieldsDefinitionsAsync (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) + /// Task of List<InlineResponse2003> + public async System.Threading.Tasks.Task> PutMerchantDefinedFieldsDefinitionsAsync (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) { logger.Debug("CALLING API \"PutMerchantDefinedFieldsDefinitionsAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse> localVarResponse = await PutMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo(referenceType, id, merchantDefinedFieldCore); + ApiResponse> localVarResponse = await PutMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo(referenceType, id, merchantDefinedFieldCore); logger.Debug("CALLING API \"PutMerchantDefinedFieldsDefinitionsAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -1243,8 +1243,8 @@ public async System.Threading.Tasks.Task> PutMerchantDe /// /// /// - /// Task of ApiResponse (List<InlineResponse2002>) - public async System.Threading.Tasks.Task>> PutMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) + /// Task of ApiResponse (List<InlineResponse2003>) + public async System.Threading.Tasks.Task>> PutMerchantDefinedFieldsDefinitionsAsyncWithHttpInfo (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) { LogUtility logUtility = new LogUtility(); @@ -1347,9 +1347,9 @@ public async System.Threading.Tasks.Task>> } } - return new ApiResponse>(localVarStatusCode, + return new ApiResponse>(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement + (List) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List))); // Return statement } } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/OffersApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/OffersApi.cs index 0b4e8bfc..4c102de3 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/OffersApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/OffersApi.cs @@ -73,8 +73,8 @@ public interface IOffersApi : IApiAccessor /// /// /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id - /// InlineResponse20014 - InlineResponse20014 GetOffer (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id); + /// InlineResponse20015 + InlineResponse20015 GetOffer (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id); /// /// Retrieve an Offer @@ -89,8 +89,8 @@ public interface IOffersApi : IApiAccessor /// /// /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id - /// ApiResponse of InlineResponse20014 - ApiResponse GetOfferWithHttpInfo (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id); + /// ApiResponse of InlineResponse20015 + ApiResponse GetOfferWithHttpInfo (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id); #endregion Synchronous Operations #region Asynchronous Operations /// @@ -137,8 +137,8 @@ public interface IOffersApi : IApiAccessor /// /// /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id - /// Task of InlineResponse20014 - System.Threading.Tasks.Task GetOfferAsync (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id); + /// Task of InlineResponse20015 + System.Threading.Tasks.Task GetOfferAsync (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id); /// /// Retrieve an Offer @@ -153,8 +153,8 @@ public interface IOffersApi : IApiAccessor /// /// /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id - /// Task of ApiResponse (InlineResponse20014) - System.Threading.Tasks.Task> GetOfferAsyncWithHttpInfo (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id); + /// Task of ApiResponse (InlineResponse20015) + System.Threading.Tasks.Task> GetOfferAsyncWithHttpInfo (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id); #endregion Asynchronous Operations } @@ -641,12 +641,12 @@ public async System.Threading.Tasks.Task> Create /// /// /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id - /// InlineResponse20014 - public InlineResponse20014 GetOffer (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) + /// InlineResponse20015 + public InlineResponse20015 GetOffer (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) { logger.Debug("CALLING API \"GetOffer\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetOfferWithHttpInfo(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); + ApiResponse localVarResponse = GetOfferWithHttpInfo(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); logger.Debug("CALLING API \"GetOffer\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -662,8 +662,8 @@ public InlineResponse20014 GetOffer (string contentType, string xRequestid, stri /// /// /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id - /// ApiResponse of InlineResponse20014 - public ApiResponse< InlineResponse20014 > GetOfferWithHttpInfo (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) + /// ApiResponse of InlineResponse20015 + public ApiResponse< InlineResponse20015 > GetOfferWithHttpInfo (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) { LogUtility logUtility = new LogUtility(); @@ -802,9 +802,9 @@ public ApiResponse< InlineResponse20014 > GetOfferWithHttpInfo (string contentTy } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20014) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20014))); // Return statement + (InlineResponse20015) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20015))); // Return statement } /// @@ -817,12 +817,12 @@ public ApiResponse< InlineResponse20014 > GetOfferWithHttpInfo (string contentTy /// /// /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id - /// Task of InlineResponse20014 - public async System.Threading.Tasks.Task GetOfferAsync (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) + /// Task of InlineResponse20015 + public async System.Threading.Tasks.Task GetOfferAsync (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) { logger.Debug("CALLING API \"GetOfferAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetOfferAsyncWithHttpInfo(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); + ApiResponse localVarResponse = await GetOfferAsyncWithHttpInfo(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); logger.Debug("CALLING API \"GetOfferAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -839,8 +839,8 @@ public async System.Threading.Tasks.Task GetOfferAsync (str /// /// /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id - /// Task of ApiResponse (InlineResponse20014) - public async System.Threading.Tasks.Task> GetOfferAsyncWithHttpInfo (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) + /// Task of ApiResponse (InlineResponse20015) + public async System.Threading.Tasks.Task> GetOfferAsyncWithHttpInfo (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) { LogUtility logUtility = new LogUtility(); @@ -979,9 +979,9 @@ public async System.Threading.Tasks.Task> GetOf } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse20014) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20014))); // Return statement + (InlineResponse20015) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse20015))); // Return statement } } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/PaymentInstrumentApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/PaymentInstrumentApi.cs index 8050944b..ce59605d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/PaymentInstrumentApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/PaymentInstrumentApi.cs @@ -973,7 +973,7 @@ public ApiResponse< PatchPaymentInstrumentRequest > PatchPaymentInstrumentWithHt localVarPostBody = patchPaymentInstrumentRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PatchPaymentInstrument,PatchPaymentInstrumentAsync,PatchPaymentInstrumentWithHttpInfo,PatchPaymentInstrumentAsyncWithHttpInfo")) { @@ -1114,7 +1114,7 @@ public async System.Threading.Tasks.Task PostPaymentInstrumentWithHttp localVarPostBody = postPaymentInstrumentRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostPaymentInstrument,PostPaymentInstrumentAsync,PostPaymentInstrumentWithHttpInfo,PostPaymentInstrumentAsyncWithHttpInfo")) { @@ -1356,7 +1356,7 @@ public async System.Threading.Tasks.Task - /// Activate a Subscription + /// Reactivating a Suspended Subscription /// /// - /// Activate a `SUSPENDED` Subscription + /// # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). /// /// Thrown when fails to make API call /// Subscription Id - /// Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + /// Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) /// ActivateSubscriptionResponse - ActivateSubscriptionResponse ActivateSubscription (string id, bool? processSkippedPayments = null); + ActivateSubscriptionResponse ActivateSubscription (string id, bool? processMissedPayments = null); /// - /// Activate a Subscription + /// Reactivating a Suspended Subscription /// /// - /// Activate a `SUSPENDED` Subscription + /// # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). /// /// Thrown when fails to make API call /// Subscription Id - /// Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + /// Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) /// ApiResponse of ActivateSubscriptionResponse - ApiResponse ActivateSubscriptionWithHttpInfo (string id, bool? processSkippedPayments = null); + ApiResponse ActivateSubscriptionWithHttpInfo (string id, bool? processMissedPayments = null); /// /// Cancel a Subscription /// @@ -165,7 +165,7 @@ public interface ISubscriptionsApi : IApiAccessor /// Suspend a Subscription /// /// - /// Suspend a Subscription + /// Suspend a Subscription /// /// Thrown when fails to make API call /// Subscription Id @@ -176,7 +176,7 @@ public interface ISubscriptionsApi : IApiAccessor /// Suspend a Subscription /// /// - /// Suspend a Subscription + /// Suspend a Subscription /// /// Thrown when fails to make API call /// Subscription Id @@ -208,28 +208,28 @@ public interface ISubscriptionsApi : IApiAccessor #endregion Synchronous Operations #region Asynchronous Operations /// - /// Activate a Subscription + /// Reactivating a Suspended Subscription /// /// - /// Activate a `SUSPENDED` Subscription + /// # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). /// /// Thrown when fails to make API call /// Subscription Id - /// Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + /// Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) /// Task of ActivateSubscriptionResponse - System.Threading.Tasks.Task ActivateSubscriptionAsync (string id, bool? processSkippedPayments = null); + System.Threading.Tasks.Task ActivateSubscriptionAsync (string id, bool? processMissedPayments = null); /// - /// Activate a Subscription + /// Reactivating a Suspended Subscription /// /// - /// Activate a `SUSPENDED` Subscription + /// # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). /// /// Thrown when fails to make API call /// Subscription Id - /// Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + /// Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) /// Task of ApiResponse (ActivateSubscriptionResponse) - System.Threading.Tasks.Task> ActivateSubscriptionAsyncWithHttpInfo (string id, bool? processSkippedPayments = null); + System.Threading.Tasks.Task> ActivateSubscriptionAsyncWithHttpInfo (string id, bool? processMissedPayments = null); /// /// Cancel a Subscription /// @@ -343,7 +343,7 @@ public interface ISubscriptionsApi : IApiAccessor /// Suspend a Subscription /// /// - /// Suspend a Subscription + /// Suspend a Subscription /// /// Thrown when fails to make API call /// Subscription Id @@ -354,7 +354,7 @@ public interface ISubscriptionsApi : IApiAccessor /// Suspend a Subscription /// /// - /// Suspend a Subscription + /// Suspend a Subscription /// /// Thrown when fails to make API call /// Subscription Id @@ -524,30 +524,30 @@ public void SetStatusCode(int? statusCode) } /// - /// Activate a Subscription Activate a `SUSPENDED` Subscription + /// Reactivating a Suspended Subscription # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). /// /// Thrown when fails to make API call /// Subscription Id - /// Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + /// Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) /// ActivateSubscriptionResponse - public ActivateSubscriptionResponse ActivateSubscription (string id, bool? processSkippedPayments = null) + public ActivateSubscriptionResponse ActivateSubscription (string id, bool? processMissedPayments = null) { logger.Debug("CALLING API \"ActivateSubscription\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = ActivateSubscriptionWithHttpInfo(id, processSkippedPayments); + ApiResponse localVarResponse = ActivateSubscriptionWithHttpInfo(id, processMissedPayments); logger.Debug("CALLING API \"ActivateSubscription\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; } /// - /// Activate a Subscription Activate a `SUSPENDED` Subscription + /// Reactivating a Suspended Subscription # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). /// /// Thrown when fails to make API call /// Subscription Id - /// Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + /// Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) /// ApiResponse of ActivateSubscriptionResponse - public ApiResponse< ActivateSubscriptionResponse > ActivateSubscriptionWithHttpInfo (string id, bool? processSkippedPayments = null) + public ApiResponse< ActivateSubscriptionResponse > ActivateSubscriptionWithHttpInfo (string id, bool? processMissedPayments = null) { LogUtility logUtility = new LogUtility(); @@ -590,9 +590,9 @@ public ApiResponse< ActivateSubscriptionResponse > ActivateSubscriptionWithHttpI localVarPathParams.Add("id", Configuration.ApiClient.ParameterToString(id)); // path parameter } logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); - if (processSkippedPayments != null) + if (processMissedPayments != null) { - localVarQueryParams.Add("processSkippedPayments", Configuration.ApiClient.ParameterToString(processSkippedPayments)); // query parameter + localVarQueryParams.Add("processMissedPayments", Configuration.ApiClient.ParameterToString(processMissedPayments)); // query parameter } logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarQueryParams)}"); if (Method.Post == Method.Post) @@ -650,17 +650,17 @@ public ApiResponse< ActivateSubscriptionResponse > ActivateSubscriptionWithHttpI } /// - /// Activate a Subscription Activate a `SUSPENDED` Subscription + /// Reactivating a Suspended Subscription # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). /// /// Thrown when fails to make API call /// Subscription Id - /// Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + /// Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) /// Task of ActivateSubscriptionResponse - public async System.Threading.Tasks.Task ActivateSubscriptionAsync (string id, bool? processSkippedPayments = null) + public async System.Threading.Tasks.Task ActivateSubscriptionAsync (string id, bool? processMissedPayments = null) { logger.Debug("CALLING API \"ActivateSubscriptionAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await ActivateSubscriptionAsyncWithHttpInfo(id, processSkippedPayments); + ApiResponse localVarResponse = await ActivateSubscriptionAsyncWithHttpInfo(id, processMissedPayments); logger.Debug("CALLING API \"ActivateSubscriptionAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -668,13 +668,13 @@ public async System.Threading.Tasks.Task ActivateS } /// - /// Activate a Subscription Activate a `SUSPENDED` Subscription + /// Reactivating a Suspended Subscription # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). /// /// Thrown when fails to make API call /// Subscription Id - /// Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true) + /// Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true) /// Task of ApiResponse (ActivateSubscriptionResponse) - public async System.Threading.Tasks.Task> ActivateSubscriptionAsyncWithHttpInfo (string id, bool? processSkippedPayments = null) + public async System.Threading.Tasks.Task> ActivateSubscriptionAsyncWithHttpInfo (string id, bool? processMissedPayments = null) { LogUtility logUtility = new LogUtility(); @@ -717,9 +717,9 @@ public async System.Threading.Tasks.Task - /// Suspend a Subscription Suspend a Subscription + /// Suspend a Subscription Suspend a Subscription /// /// Thrown when fails to make API call /// Subscription Id @@ -1970,7 +1970,7 @@ public SuspendSubscriptionResponse SuspendSubscription (string id) } /// - /// Suspend a Subscription Suspend a Subscription + /// Suspend a Subscription Suspend a Subscription /// /// Thrown when fails to make API call /// Subscription Id @@ -2073,7 +2073,7 @@ public ApiResponse< SuspendSubscriptionResponse > SuspendSubscriptionWithHttpInf } /// - /// Suspend a Subscription Suspend a Subscription + /// Suspend a Subscription Suspend a Subscription /// /// Thrown when fails to make API call /// Subscription Id @@ -2090,7 +2090,7 @@ public async System.Threading.Tasks.Task SuspendSub } /// - /// Suspend a Subscription Suspend a Subscription + /// Suspend a Subscription Suspend a Subscription /// /// Thrown when fails to make API call /// Subscription Id diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenApi.cs index cca4cd9e..224cbbf8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenApi.cs @@ -39,8 +39,8 @@ public interface ITokenApi : IApiAccessor /// The Id of an Instrument Identifier. /// The token provider. /// The type of asset. - /// InlineResponse200 - InlineResponse200 GetCardArtAsset (string instrumentIdentifierId, string tokenProvider, string assetType); + /// InlineResponse2001 + InlineResponse2001 GetCardArtAsset (string instrumentIdentifierId, string tokenProvider, string assetType); /// /// Retrieve Card Art @@ -52,8 +52,8 @@ public interface ITokenApi : IApiAccessor /// The Id of an Instrument Identifier. /// The token provider. /// The type of asset. - /// ApiResponse of InlineResponse200 - ApiResponse GetCardArtAssetWithHttpInfo (string instrumentIdentifierId, string tokenProvider, string assetType); + /// ApiResponse of InlineResponse2001 + ApiResponse GetCardArtAssetWithHttpInfo (string instrumentIdentifierId, string tokenProvider, string assetType); /// /// Generate Payment Credentials for a TMS Token /// @@ -91,8 +91,8 @@ public interface ITokenApi : IApiAccessor /// The Id of an Instrument Identifier. /// The token provider. /// The type of asset. - /// Task of InlineResponse200 - System.Threading.Tasks.Task GetCardArtAssetAsync (string instrumentIdentifierId, string tokenProvider, string assetType); + /// Task of InlineResponse2001 + System.Threading.Tasks.Task GetCardArtAssetAsync (string instrumentIdentifierId, string tokenProvider, string assetType); /// /// Retrieve Card Art @@ -104,8 +104,8 @@ public interface ITokenApi : IApiAccessor /// The Id of an Instrument Identifier. /// The token provider. /// The type of asset. - /// Task of ApiResponse (InlineResponse200) - System.Threading.Tasks.Task> GetCardArtAssetAsyncWithHttpInfo (string instrumentIdentifierId, string tokenProvider, string assetType); + /// Task of ApiResponse (InlineResponse2001) + System.Threading.Tasks.Task> GetCardArtAssetAsyncWithHttpInfo (string instrumentIdentifierId, string tokenProvider, string assetType); /// /// Generate Payment Credentials for a TMS Token /// @@ -278,12 +278,12 @@ public void SetStatusCode(int? statusCode) /// The Id of an Instrument Identifier. /// The token provider. /// The type of asset. - /// InlineResponse200 - public InlineResponse200 GetCardArtAsset (string instrumentIdentifierId, string tokenProvider, string assetType) + /// InlineResponse2001 + public InlineResponse2001 GetCardArtAsset (string instrumentIdentifierId, string tokenProvider, string assetType) { logger.Debug("CALLING API \"GetCardArtAsset\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = GetCardArtAssetWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType); + ApiResponse localVarResponse = GetCardArtAssetWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType); logger.Debug("CALLING API \"GetCardArtAsset\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -296,8 +296,8 @@ public InlineResponse200 GetCardArtAsset (string instrumentIdentifierId, string /// The Id of an Instrument Identifier. /// The token provider. /// The type of asset. - /// ApiResponse of InlineResponse200 - public ApiResponse< InlineResponse200 > GetCardArtAssetWithHttpInfo (string instrumentIdentifierId, string tokenProvider, string assetType) + /// ApiResponse of InlineResponse2001 + public ApiResponse< InlineResponse2001 > GetCardArtAssetWithHttpInfo (string instrumentIdentifierId, string tokenProvider, string assetType) { LogUtility logUtility = new LogUtility(); @@ -408,9 +408,9 @@ public ApiResponse< InlineResponse200 > GetCardArtAssetWithHttpInfo (string inst } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse200) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse200))); // Return statement + (InlineResponse2001) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2001))); // Return statement } /// @@ -420,12 +420,12 @@ public ApiResponse< InlineResponse200 > GetCardArtAssetWithHttpInfo (string inst /// The Id of an Instrument Identifier. /// The token provider. /// The type of asset. - /// Task of InlineResponse200 - public async System.Threading.Tasks.Task GetCardArtAssetAsync (string instrumentIdentifierId, string tokenProvider, string assetType) + /// Task of InlineResponse2001 + public async System.Threading.Tasks.Task GetCardArtAssetAsync (string instrumentIdentifierId, string tokenProvider, string assetType) { logger.Debug("CALLING API \"GetCardArtAssetAsync\" STARTED"); this.SetStatusCode(null); - ApiResponse localVarResponse = await GetCardArtAssetAsyncWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType); + ApiResponse localVarResponse = await GetCardArtAssetAsyncWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType); logger.Debug("CALLING API \"GetCardArtAssetAsync\" ENDED"); this.SetStatusCode(localVarResponse.StatusCode); return localVarResponse.Data; @@ -439,8 +439,8 @@ public async System.Threading.Tasks.Task GetCardArtAssetAsync /// The Id of an Instrument Identifier. /// The token provider. /// The type of asset. - /// Task of ApiResponse (InlineResponse200) - public async System.Threading.Tasks.Task> GetCardArtAssetAsyncWithHttpInfo (string instrumentIdentifierId, string tokenProvider, string assetType) + /// Task of ApiResponse (InlineResponse2001) + public async System.Threading.Tasks.Task> GetCardArtAssetAsyncWithHttpInfo (string instrumentIdentifierId, string tokenProvider, string assetType) { LogUtility logUtility = new LogUtility(); @@ -551,9 +551,9 @@ public async System.Threading.Tasks.Task> GetCard } } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), - (InlineResponse200) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse200))); // Return statement + (InlineResponse2001) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse2001))); // Return statement } /// /// Generate Payment Credentials for a TMS Token | | | | | - -- | - -- | - -- | |**Token**<br>A Token can represent your tokenized Customer, Payment Instrument, Instrument Identifier or Tokenized Card information.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Credentials**<br>Contains payment information such as the network token, generated cryptogram for Visa & MasterCard or dynamic CVV for Amex in a JSON Web Encryption (JWE) response.<br>Your system can use this API to retrieve the Payment Credentials for an existing Customer, Payment Instrument, Instrument Identifier or Tokenized Card.<br>Optionally, **authenticated identities** information from Passkey authentication can be provided to potentially achieve liability shift, which may result in the return of an e-commerce indicator of 5 if successful. @@ -642,7 +642,7 @@ public ApiResponse< string > PostTokenPaymentCredentialsWithHttpInfo (string tok localVarPostBody = postPaymentCredentialsRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostTokenPaymentCredentials,PostTokenPaymentCredentialsAsync,PostTokenPaymentCredentialsWithHttpInfo,PostTokenPaymentCredentialsAsyncWithHttpInfo")) { @@ -770,7 +770,7 @@ public async System.Threading.Tasks.Task> PostTokenPaymentCr localVarPostBody = postPaymentCredentialsRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostTokenPaymentCredentials,PostTokenPaymentCredentialsAsync,PostTokenPaymentCredentialsWithHttpInfo,PostTokenPaymentCredentialsAsyncWithHttpInfo")) { diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenizeApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenizeApi.cs new file mode 100644 index 00000000..6cf46ae0 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenizeApi.cs @@ -0,0 +1,449 @@ +/* + * 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; +using AuthenticationSdk.core; +using CyberSource.Utilities; + +namespace CyberSource.Api +{ + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface ITokenizeApi : IApiAccessor + { + #region Synchronous Operations + /// + /// Tokenize + /// + /// + /// | | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + /// + /// Thrown when fails to make API call + /// + /// The Id of a profile containing user specific TMS configuration. (optional) + /// InlineResponse200 + InlineResponse200 Tokenize (PostTokenizeRequest postTokenizeRequest, string profileId = null); + + /// + /// Tokenize + /// + /// + /// | | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + /// + /// Thrown when fails to make API call + /// + /// The Id of a profile containing user specific TMS configuration. (optional) + /// ApiResponse of InlineResponse200 + ApiResponse TokenizeWithHttpInfo (PostTokenizeRequest postTokenizeRequest, string profileId = null); + #endregion Synchronous Operations + #region Asynchronous Operations + /// + /// Tokenize + /// + /// + /// | | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + /// + /// Thrown when fails to make API call + /// + /// The Id of a profile containing user specific TMS configuration. (optional) + /// Task of InlineResponse200 + System.Threading.Tasks.Task TokenizeAsync (PostTokenizeRequest postTokenizeRequest, string profileId = null); + + /// + /// Tokenize + /// + /// + /// | | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + /// + /// Thrown when fails to make API call + /// + /// The Id of a profile containing user specific TMS configuration. (optional) + /// Task of ApiResponse (InlineResponse200) + System.Threading.Tasks.Task> TokenizeAsyncWithHttpInfo (PostTokenizeRequest postTokenizeRequest, string profileId = null); + #endregion Asynchronous Operations + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public partial class TokenizeApi : ITokenizeApi + { + private static Logger logger; + private ExceptionFactory _exceptionFactory = (name, response) => null; + private int? _statusCode; + + /// + /// Initializes a new instance of the class. + /// + /// + public TokenizeApi(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 TokenizeApi(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; + } + + /// + /// Tokenize | | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + /// + /// Thrown when fails to make API call + /// + /// The Id of a profile containing user specific TMS configuration. (optional) + /// InlineResponse200 + public InlineResponse200 Tokenize (PostTokenizeRequest postTokenizeRequest, string profileId = null) + { + logger.Debug("CALLING API \"Tokenize\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = TokenizeWithHttpInfo(postTokenizeRequest, profileId); + logger.Debug("CALLING API \"Tokenize\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + } + + /// + /// Tokenize | | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + /// + /// Thrown when fails to make API call + /// + /// The Id of a profile containing user specific TMS configuration. (optional) + /// ApiResponse of InlineResponse200 + public ApiResponse< InlineResponse200 > TokenizeWithHttpInfo (PostTokenizeRequest postTokenizeRequest, string profileId = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'postTokenizeRequest' is set + if (postTokenizeRequest == null) + { + logger.Error("ApiException : Missing required parameter 'postTokenizeRequest' when calling TokenizeApi->Tokenize"); + throw new ApiException(400, "Missing required parameter 'postTokenizeRequest' when calling TokenizeApi->Tokenize"); + } + + var localVarPath = $"/tms/v2/tokenize"; + 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/json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (profileId != null) + { + localVarHeaderParams.Add("profile-id", Configuration.ApiClient.ParameterToString(profileId)); // header parameter + } + if (postTokenizeRequest != null && postTokenizeRequest.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + postTokenizeRequest = (PostTokenizeRequest)sdkTracker.InsertDeveloperIdTracker(postTokenizeRequest, postTokenizeRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"], Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj.ContainsKey("defaultDeveloperId")? Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["defaultDeveloperId"]:""); + localVarPostBody = Configuration.ApiClient.Serialize(postTokenizeRequest); // http body (model) parameter + } + else + { + localVarPostBody = postTokenizeRequest; // byte array + } + + string inboundMLEStatus = "mandatory"; + MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); + if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "Tokenize,TokenizeAsync,TokenizeWithHttpInfo,TokenizeAsyncWithHttpInfo")) + { + try + { + localVarPostBody = MLEUtility.EncryptRequestPayload(merchantConfig, localVarPostBody); + } + catch (Exception e) + { + logger.Error("Failed to encrypt request body {}", e.Message, e); + throw new ApiException(400,"Failed to encrypt request body : " + e.Message); + } + } + + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + + + // 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("Tokenize", 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()))), + (InlineResponse200) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse200))); // Return statement + } + + /// + /// Tokenize | | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + /// + /// Thrown when fails to make API call + /// + /// The Id of a profile containing user specific TMS configuration. (optional) + /// Task of InlineResponse200 + public async System.Threading.Tasks.Task TokenizeAsync (PostTokenizeRequest postTokenizeRequest, string profileId = null) + { + logger.Debug("CALLING API \"TokenizeAsync\" STARTED"); + this.SetStatusCode(null); + ApiResponse localVarResponse = await TokenizeAsyncWithHttpInfo(postTokenizeRequest, profileId); + logger.Debug("CALLING API \"TokenizeAsync\" ENDED"); + this.SetStatusCode(localVarResponse.StatusCode); + return localVarResponse.Data; + + } + + /// + /// Tokenize | | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + /// + /// Thrown when fails to make API call + /// + /// The Id of a profile containing user specific TMS configuration. (optional) + /// Task of ApiResponse (InlineResponse200) + public async System.Threading.Tasks.Task> TokenizeAsyncWithHttpInfo (PostTokenizeRequest postTokenizeRequest, string profileId = null) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'postTokenizeRequest' is set + if (postTokenizeRequest == null) + { + logger.Error("ApiException : Missing required parameter 'postTokenizeRequest' when calling TokenizeApi->Tokenize"); + throw new ApiException(400, "Missing required parameter 'postTokenizeRequest' when calling TokenizeApi->Tokenize"); + } + + var localVarPath = $"/tms/v2/tokenize"; + 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/json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (profileId != null) + { + localVarHeaderParams.Add("profile-id", Configuration.ApiClient.ParameterToString(profileId)); // header parameter + } + if (postTokenizeRequest != null && postTokenizeRequest.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + postTokenizeRequest = (PostTokenizeRequest)sdkTracker.InsertDeveloperIdTracker(postTokenizeRequest, postTokenizeRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"], Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj.ContainsKey("defaultDeveloperId")? Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["defaultDeveloperId"]:""); + localVarPostBody = Configuration.ApiClient.Serialize(postTokenizeRequest); // http body (model) parameter + } + else + { + localVarPostBody = postTokenizeRequest; // byte array + } + + string inboundMLEStatus = "mandatory"; + MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); + if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "Tokenize,TokenizeAsync,TokenizeWithHttpInfo,TokenizeAsyncWithHttpInfo")) + { + try + { + localVarPostBody = MLEUtility.EncryptRequestPayload(merchantConfig, localVarPostBody); + } + catch (Exception e) + { + logger.Error("Failed to encrypt request body {}", e.Message, e); + throw new ApiException(400,"Failed to encrypt request body : " + e.Message); + } + } + + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + + + // 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("Tokenize", 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()))), + (InlineResponse200) Configuration.ApiClient.Deserialize(localVarResponse, typeof(InlineResponse200))); // Return statement + } + } +} diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenizedCardApi.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenizedCardApi.cs index e19bb8c3..a6a11da2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenizedCardApi.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Api/TokenizedCardApi.cs @@ -76,6 +76,31 @@ public interface ITokenizedCardApi : IApiAccessor /// ApiResponse of TokenizedcardRequest ApiResponse GetTokenizedCardWithHttpInfo (string tokenizedCardId, string profileId = null); /// + /// Simulate Issuer Life Cycle Management Events + /// + /// + /// **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + /// + /// Thrown when fails to make API call + /// The Id of a profile containing user specific TMS configuration. + /// The Id of a tokenized card. + /// + /// + void PostIssuerLifeCycleSimulation (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest); + + /// + /// Simulate Issuer Life Cycle Management Events + /// + /// + /// **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + /// + /// Thrown when fails to make API call + /// The Id of a profile containing user specific TMS configuration. + /// The Id of a tokenized card. + /// + /// ApiResponse of Object(void) + ApiResponse PostIssuerLifeCycleSimulationWithHttpInfo (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest); + /// /// Create a Tokenized Card /// /// @@ -147,6 +172,31 @@ public interface ITokenizedCardApi : IApiAccessor /// Task of ApiResponse (TokenizedcardRequest) System.Threading.Tasks.Task> GetTokenizedCardAsyncWithHttpInfo (string tokenizedCardId, string profileId = null); /// + /// Simulate Issuer Life Cycle Management Events + /// + /// + /// **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + /// + /// Thrown when fails to make API call + /// The Id of a profile containing user specific TMS configuration. + /// The Id of a tokenized card. + /// + /// Task of void + System.Threading.Tasks.Task PostIssuerLifeCycleSimulationAsync (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest); + + /// + /// Simulate Issuer Life Cycle Management Events + /// + /// + /// **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + /// + /// Thrown when fails to make API call + /// The Id of a profile containing user specific TMS configuration. + /// The Id of a tokenized card. + /// + /// Task of ApiResponse + System.Threading.Tasks.Task> PostIssuerLifeCycleSimulationAsyncWithHttpInfo (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest); + /// /// Create a Tokenized Card /// /// @@ -794,6 +844,268 @@ public async System.Threading.Tasks.Task> GetT (TokenizedcardRequest) Configuration.ApiClient.Deserialize(localVarResponse, typeof(TokenizedcardRequest))); // Return statement } /// + /// Simulate Issuer Life Cycle Management Events **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + /// + /// Thrown when fails to make API call + /// The Id of a profile containing user specific TMS configuration. + /// The Id of a tokenized card. + /// + /// + public void PostIssuerLifeCycleSimulation (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) + { + logger.Debug("CALLING API \"PostIssuerLifeCycleSimulation\" STARTED"); + this.SetStatusCode(null); + PostIssuerLifeCycleSimulationWithHttpInfo(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); + } + + /// + /// Simulate Issuer Life Cycle Management Events **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + /// + /// Thrown when fails to make API call + /// The Id of a profile containing user specific TMS configuration. + /// The Id of a tokenized card. + /// + /// ApiResponse of Object(void) + public ApiResponse PostIssuerLifeCycleSimulationWithHttpInfo (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'profileId' is set + if (profileId == null) + { + logger.Error("ApiException : Missing required parameter 'profileId' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + throw new ApiException(400, "Missing required parameter 'profileId' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + } + // verify the required parameter 'tokenizedCardId' is set + if (tokenizedCardId == null) + { + logger.Error("ApiException : Missing required parameter 'tokenizedCardId' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + throw new ApiException(400, "Missing required parameter 'tokenizedCardId' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + } + // verify the required parameter 'postIssuerLifeCycleSimulationRequest' is set + if (postIssuerLifeCycleSimulationRequest == null) + { + logger.Error("ApiException : Missing required parameter 'postIssuerLifeCycleSimulationRequest' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + throw new ApiException(400, "Missing required parameter 'postIssuerLifeCycleSimulationRequest' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + } + + var localVarPath = $"/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations"; + 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/json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (tokenizedCardId != null) + { + localVarPathParams.Add("tokenizedCardId", Configuration.ApiClient.ParameterToString(tokenizedCardId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (profileId != null) + { + localVarHeaderParams.Add("profile-id", Configuration.ApiClient.ParameterToString(profileId)); // header parameter + } + if (postIssuerLifeCycleSimulationRequest != null && postIssuerLifeCycleSimulationRequest.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + postIssuerLifeCycleSimulationRequest = (PostIssuerLifeCycleSimulationRequest)sdkTracker.InsertDeveloperIdTracker(postIssuerLifeCycleSimulationRequest, postIssuerLifeCycleSimulationRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"], Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj.ContainsKey("defaultDeveloperId")? Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["defaultDeveloperId"]:""); + localVarPostBody = Configuration.ApiClient.Serialize(postIssuerLifeCycleSimulationRequest); // http body (model) parameter + } + else + { + localVarPostBody = postIssuerLifeCycleSimulationRequest; // byte array + } + + string inboundMLEStatus = "false"; + MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); + if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostIssuerLifeCycleSimulation,PostIssuerLifeCycleSimulationAsync,PostIssuerLifeCycleSimulationWithHttpInfo,PostIssuerLifeCycleSimulationAsyncWithHttpInfo")) + { + try + { + localVarPostBody = MLEUtility.EncryptRequestPayload(merchantConfig, localVarPostBody); + } + catch (Exception e) + { + logger.Error("Failed to encrypt request body {}", e.Message, e); + throw new ApiException(400,"Failed to encrypt request body : " + e.Message); + } + } + + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + + + // 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("PostIssuerLifeCycleSimulation", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + this.SetStatusCode(localVarStatusCode); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), + localVarResponse.Content); // Return statement + } + + /// + /// Simulate Issuer Life Cycle Management Events **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + /// + /// Thrown when fails to make API call + /// The Id of a profile containing user specific TMS configuration. + /// The Id of a tokenized card. + /// + /// Task of void + public async System.Threading.Tasks.Task PostIssuerLifeCycleSimulationAsync (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) + { + logger.Debug("CALLING API \"PostIssuerLifeCycleSimulationAsync\" STARTED"); + this.SetStatusCode(null); + await PostIssuerLifeCycleSimulationAsyncWithHttpInfo(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); + + } + + /// + /// Simulate Issuer Life Cycle Management Events **Lifecycle Management Events**<br>Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + /// + /// Thrown when fails to make API call + /// The Id of a profile containing user specific TMS configuration. + /// The Id of a tokenized card. + /// + /// Task of ApiResponse + public async System.Threading.Tasks.Task> PostIssuerLifeCycleSimulationAsyncWithHttpInfo (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) + { + LogUtility logUtility = new LogUtility(); + + // verify the required parameter 'profileId' is set + if (profileId == null) + { + logger.Error("ApiException : Missing required parameter 'profileId' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + throw new ApiException(400, "Missing required parameter 'profileId' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + } + // verify the required parameter 'tokenizedCardId' is set + if (tokenizedCardId == null) + { + logger.Error("ApiException : Missing required parameter 'tokenizedCardId' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + throw new ApiException(400, "Missing required parameter 'tokenizedCardId' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + } + // verify the required parameter 'postIssuerLifeCycleSimulationRequest' is set + if (postIssuerLifeCycleSimulationRequest == null) + { + logger.Error("ApiException : Missing required parameter 'postIssuerLifeCycleSimulationRequest' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + throw new ApiException(400, "Missing required parameter 'postIssuerLifeCycleSimulationRequest' when calling TokenizedCardApi->PostIssuerLifeCycleSimulation"); + } + + var localVarPath = $"/tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations"; + 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/json;charset=utf-8" + }; + string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + { + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + } + + if (tokenizedCardId != null) + { + localVarPathParams.Add("tokenizedCardId", Configuration.ApiClient.ParameterToString(tokenizedCardId)); // path parameter + } + logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); + if (profileId != null) + { + localVarHeaderParams.Add("profile-id", Configuration.ApiClient.ParameterToString(profileId)); // header parameter + } + if (postIssuerLifeCycleSimulationRequest != null && postIssuerLifeCycleSimulationRequest.GetType() != typeof(byte[])) + { + SdkTracker sdkTracker = new SdkTracker(); + postIssuerLifeCycleSimulationRequest = (PostIssuerLifeCycleSimulationRequest)sdkTracker.InsertDeveloperIdTracker(postIssuerLifeCycleSimulationRequest, postIssuerLifeCycleSimulationRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"], Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj.ContainsKey("defaultDeveloperId")? Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["defaultDeveloperId"]:""); + localVarPostBody = Configuration.ApiClient.Serialize(postIssuerLifeCycleSimulationRequest); // http body (model) parameter + } + else + { + localVarPostBody = postIssuerLifeCycleSimulationRequest; // byte array + } + + string inboundMLEStatus = "false"; + MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); + if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostIssuerLifeCycleSimulation,PostIssuerLifeCycleSimulationAsync,PostIssuerLifeCycleSimulationWithHttpInfo,PostIssuerLifeCycleSimulationAsyncWithHttpInfo")) + { + try + { + localVarPostBody = MLEUtility.EncryptRequestPayload(merchantConfig, localVarPostBody); + } + catch (Exception e) + { + logger.Error("Failed to encrypt request body {}", e.Message, e); + throw new ApiException(400,"Failed to encrypt request body : " + e.Message); + } + } + + logger.Debug($"HTTP Request Body :\n{logUtility.MaskSensitiveData(localVarPostBody.ToString())}"); + + + // 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("PostIssuerLifeCycleSimulation", localVarResponse); + if (exception != null) + { + logger.Error($"Exception : {exception.Message}"); + throw exception; + } + } + + this.SetStatusCode(localVarStatusCode); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))), + localVarResponse.Content); // Return statement + } + /// /// Create a Tokenized Card | | | | | - -- | - -- | - -- | |**Tokenized cards**<br>A Tokenized card represents a network token. Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires. /// /// Thrown when fails to make API call @@ -867,7 +1179,7 @@ public ApiResponse< TokenizedcardRequest > PostTokenizedCardWithHttpInfo (Tokeni localVarPostBody = tokenizedcardRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostTokenizedCard,PostTokenizedCardAsync,PostTokenizedCardWithHttpInfo,PostTokenizedCardAsyncWithHttpInfo")) { @@ -982,7 +1294,7 @@ public async System.Threading.Tasks.Task> Post localVarPostBody = tokenizedcardRequest; // byte array } - string inboundMLEStatus = "false"; + string inboundMLEStatus = "optional"; MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI); if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostTokenizedCard,PostTokenizedCardAsync,PostTokenizedCardWithHttpInfo,PostTokenizedCardAsyncWithHttpInfo")) { diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreatePlanRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreatePlanRequest.cs index 87357a8d..199e37e4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreatePlanRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreatePlanRequest.cs @@ -33,22 +33,14 @@ public partial class CreatePlanRequest : IEquatable, IValida /// /// Initializes a new instance of the class. /// - /// ClientReferenceInformation. /// PlanInformation. /// OrderInformation. - public CreatePlanRequest(Rbsv1plansClientReferenceInformation ClientReferenceInformation = default(Rbsv1plansClientReferenceInformation), Rbsv1plansPlanInformation PlanInformation = default(Rbsv1plansPlanInformation), Rbsv1plansOrderInformation OrderInformation = default(Rbsv1plansOrderInformation)) + public CreatePlanRequest(Rbsv1plansPlanInformation PlanInformation = default(Rbsv1plansPlanInformation), Rbsv1plansOrderInformation OrderInformation = default(Rbsv1plansOrderInformation)) { - this.ClientReferenceInformation = ClientReferenceInformation; this.PlanInformation = PlanInformation; this.OrderInformation = OrderInformation; } - /// - /// Gets or Sets ClientReferenceInformation - /// - [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] - public Rbsv1plansClientReferenceInformation ClientReferenceInformation { get; set; } - /// /// Gets or Sets PlanInformation /// @@ -69,7 +61,6 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class CreatePlanRequest {\n"); - if (ClientReferenceInformation != null) sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); if (PlanInformation != null) sb.Append(" PlanInformation: ").Append(PlanInformation).Append("\n"); if (OrderInformation != null) sb.Append(" OrderInformation: ").Append(OrderInformation).Append("\n"); sb.Append("}\n"); @@ -108,11 +99,6 @@ public bool Equals(CreatePlanRequest other) return false; return - ( - this.ClientReferenceInformation == other.ClientReferenceInformation || - this.ClientReferenceInformation != null && - this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) - ) && ( this.PlanInformation == other.PlanInformation || this.PlanInformation != null && @@ -136,8 +122,6 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.ClientReferenceInformation != null) - hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); if (this.PlanInformation != null) hash = hash * 59 + this.PlanInformation.GetHashCode(); if (this.OrderInformation != null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionRequest.cs index e6522a56..90aad0db 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionRequest.cs @@ -39,7 +39,7 @@ public partial class CreateSubscriptionRequest : IEquatableSubscriptionInformation. /// PaymentInformation. /// OrderInformation. - public CreateSubscriptionRequest(Rbsv1subscriptionsClientReferenceInformation ClientReferenceInformation = default(Rbsv1subscriptionsClientReferenceInformation), Rbsv1subscriptionsProcessingInformation ProcessingInformation = default(Rbsv1subscriptionsProcessingInformation), Rbsv1subscriptionsPlanInformation PlanInformation = default(Rbsv1subscriptionsPlanInformation), Rbsv1subscriptionsSubscriptionInformation SubscriptionInformation = default(Rbsv1subscriptionsSubscriptionInformation), Rbsv1subscriptionsPaymentInformation PaymentInformation = default(Rbsv1subscriptionsPaymentInformation), GetAllPlansResponseOrderInformation OrderInformation = default(GetAllPlansResponseOrderInformation)) + public CreateSubscriptionRequest(GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation = default(GetAllSubscriptionsResponseClientReferenceInformation), Rbsv1subscriptionsProcessingInformation ProcessingInformation = default(Rbsv1subscriptionsProcessingInformation), Rbsv1subscriptionsPlanInformation PlanInformation = default(Rbsv1subscriptionsPlanInformation), Rbsv1subscriptionsSubscriptionInformation SubscriptionInformation = default(Rbsv1subscriptionsSubscriptionInformation), Rbsv1subscriptionsPaymentInformation PaymentInformation = default(Rbsv1subscriptionsPaymentInformation), GetAllPlansResponseOrderInformation OrderInformation = default(GetAllPlansResponseOrderInformation)) { this.ClientReferenceInformation = ClientReferenceInformation; this.ProcessingInformation = ProcessingInformation; @@ -53,7 +53,7 @@ public partial class CreateSubscriptionRequest : IEquatable [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] - public Rbsv1subscriptionsClientReferenceInformation ClientReferenceInformation { get; set; } + public GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation { get; set; } /// /// Gets or Sets ProcessingInformation diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionRequest1.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionRequest1.cs index bfc32745..564ee077 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionRequest1.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionRequest1.cs @@ -38,7 +38,7 @@ public partial class CreateSubscriptionRequest1 : IEquatablePlanInformation. /// SubscriptionInformation. /// OrderInformation. - public CreateSubscriptionRequest1(Rbsv1subscriptionsClientReferenceInformation ClientReferenceInformation = default(Rbsv1subscriptionsClientReferenceInformation), Rbsv1subscriptionsProcessingInformation ProcessingInformation = default(Rbsv1subscriptionsProcessingInformation), Rbsv1subscriptionsPlanInformation PlanInformation = default(Rbsv1subscriptionsPlanInformation), Rbsv1subscriptionsSubscriptionInformation SubscriptionInformation = default(Rbsv1subscriptionsSubscriptionInformation), GetAllPlansResponseOrderInformation OrderInformation = default(GetAllPlansResponseOrderInformation)) + public CreateSubscriptionRequest1(GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation = default(GetAllSubscriptionsResponseClientReferenceInformation), Rbsv1subscriptionsProcessingInformation ProcessingInformation = default(Rbsv1subscriptionsProcessingInformation), Rbsv1subscriptionsPlanInformation PlanInformation = default(Rbsv1subscriptionsPlanInformation), Rbsv1subscriptionsSubscriptionInformation SubscriptionInformation = default(Rbsv1subscriptionsSubscriptionInformation), GetAllPlansResponseOrderInformation OrderInformation = default(GetAllPlansResponseOrderInformation)) { this.ClientReferenceInformation = ClientReferenceInformation; this.ProcessingInformation = ProcessingInformation; @@ -51,7 +51,7 @@ public partial class CreateSubscriptionRequest1 : IEquatable [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] - public Rbsv1subscriptionsClientReferenceInformation ClientReferenceInformation { get; set; } + public GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation { get; set; } /// /// Gets or Sets ProcessingInformation diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionResponse.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionResponse.cs index 9af439b2..de081bba 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionResponse.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/CreateSubscriptionResponse.cs @@ -38,13 +38,15 @@ public partial class CreateSubscriptionResponse : IEquatableTime 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: - COMPLETED - PENDING_REVIEW - DECLINED - INVALID_REQUEST . /// SubscriptionInformation. - public CreateSubscriptionResponse(CreateSubscriptionResponseLinks Links = default(CreateSubscriptionResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), CreateSubscriptionResponseSubscriptionInformation SubscriptionInformation = default(CreateSubscriptionResponseSubscriptionInformation)) + /// ClientReferenceInformation. + public CreateSubscriptionResponse(CreateSubscriptionResponseLinks Links = default(CreateSubscriptionResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), CreateSubscriptionResponseSubscriptionInformation SubscriptionInformation = default(CreateSubscriptionResponseSubscriptionInformation), GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation = default(GetAllSubscriptionsResponseClientReferenceInformation)) { this.Links = Links; this.Id = Id; this.SubmitTimeUtc = SubmitTimeUtc; this.Status = Status; this.SubscriptionInformation = SubscriptionInformation; + this.ClientReferenceInformation = ClientReferenceInformation; } /// @@ -80,6 +82,12 @@ public partial class CreateSubscriptionResponse : IEquatable + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation { get; set; } + /// /// Returns the string presentation of the object /// @@ -93,6 +101,7 @@ public override string ToString() if (SubmitTimeUtc != null) sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); if (SubscriptionInformation != null) sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + if (ClientReferenceInformation != null) sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -153,6 +162,11 @@ public bool Equals(CreateSubscriptionResponse other) this.SubscriptionInformation == other.SubscriptionInformation || this.SubscriptionInformation != null && this.SubscriptionInformation.Equals(other.SubscriptionInformation) + ) && + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) ); } @@ -177,6 +191,8 @@ public override int GetHashCode() hash = hash * 59 + this.Status.GetHashCode(); if (this.SubscriptionInformation != null) hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GenerateUnifiedCheckoutCaptureContextRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GenerateUnifiedCheckoutCaptureContextRequest.cs index e1097998..9c3f902b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GenerateUnifiedCheckoutCaptureContextRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GenerateUnifiedCheckoutCaptureContextRequest.cs @@ -36,15 +36,16 @@ public partial class GenerateUnifiedCheckoutCaptureContextRequest : IEquatable< /// Specify the version of Unified Checkout that you want to use.. /// The [target origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the website on which you will be launching Unified Checkout is defined by the scheme (protocol), hostname (domain) and port number (if used). You must use https://hostname (unless you use http://localhost) Wildcards are NOT supported. Ensure that subdomains are included. Any valid top-level domain is supported (e.g. .com, .co.uk, .gov.br etc) Examples: - https://example.com - https://subdomain.example.com - https://example.com:8080<br><br> If you are embedding within multiple nested iframes you need to specify the origins of all the browser contexts used, for example: targetOrigins: [ \"https://example.com\", \"https://basket.example.com\", \"https://ecom.example.com\" ] . /// The list of card networks you want to use for this Unified Checkout transaction. Unified Checkout currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JAYWAN - JCB - JCREW - KCP - MADA - MAESTRO - MEEZA - PAYPAK - UATP . - /// The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. . + /// The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)<br><br> Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)<br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. . /// Country the purchase is originating from (e.g. country of the merchant). Use the two-character ISO Standard . /// Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code. Please refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html) . + /// Changes the label on the payment button within Unified Checkout .<br><br> Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD<br><br> This is an optional field, . /// CaptureMandate. /// CompleteMandate. /// TransientTokenResponseOptions. /// Data. /// OrderInformation. - public GenerateUnifiedCheckoutCaptureContextRequest(string ClientVersion = default(string), List TargetOrigins = default(List), List AllowedCardNetworks = default(List), List AllowedPaymentTypes = default(List), string Country = default(string), string Locale = default(string), Upv1capturecontextsCaptureMandate CaptureMandate = default(Upv1capturecontextsCaptureMandate), Upv1capturecontextsCompleteMandate CompleteMandate = default(Upv1capturecontextsCompleteMandate), Microformv2sessionsTransientTokenResponseOptions TransientTokenResponseOptions = default(Microformv2sessionsTransientTokenResponseOptions), Upv1capturecontextsData Data = default(Upv1capturecontextsData), Upv1capturecontextsOrderInformation OrderInformation = default(Upv1capturecontextsOrderInformation)) + public GenerateUnifiedCheckoutCaptureContextRequest(string ClientVersion = default(string), List TargetOrigins = default(List), List AllowedCardNetworks = default(List), List AllowedPaymentTypes = default(List), string Country = default(string), string Locale = default(string), string ButtonType = default(string), Upv1capturecontextsCaptureMandate CaptureMandate = default(Upv1capturecontextsCaptureMandate), Upv1capturecontextsCompleteMandate CompleteMandate = default(Upv1capturecontextsCompleteMandate), Microformv2sessionsTransientTokenResponseOptions TransientTokenResponseOptions = default(Microformv2sessionsTransientTokenResponseOptions), Upv1capturecontextsData Data = default(Upv1capturecontextsData), Upv1capturecontextsOrderInformation OrderInformation = default(Upv1capturecontextsOrderInformation)) { this.ClientVersion = ClientVersion; this.TargetOrigins = TargetOrigins; @@ -52,6 +53,7 @@ public partial class GenerateUnifiedCheckoutCaptureContextRequest : IEquatable< this.AllowedPaymentTypes = AllowedPaymentTypes; this.Country = Country; this.Locale = Locale; + this.ButtonType = ButtonType; this.CaptureMandate = CaptureMandate; this.CompleteMandate = CompleteMandate; this.TransientTokenResponseOptions = TransientTokenResponseOptions; @@ -81,9 +83,9 @@ public partial class GenerateUnifiedCheckoutCaptureContextRequest : IEquatable< public List AllowedCardNetworks { get; set; } /// - /// The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. + /// The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)<br><br> Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)<br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. /// - /// The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. + /// The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)<br><br> Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)<br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. [DataMember(Name="allowedPaymentTypes", EmitDefaultValue=false)] public List AllowedPaymentTypes { get; set; } @@ -101,6 +103,13 @@ public partial class GenerateUnifiedCheckoutCaptureContextRequest : IEquatable< [DataMember(Name="locale", EmitDefaultValue=false)] public string Locale { get; set; } + /// + /// Changes the label on the payment button within Unified Checkout .<br><br> Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD<br><br> This is an optional field, + /// + /// Changes the label on the payment button within Unified Checkout .<br><br> Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD<br><br> This is an optional field, + [DataMember(Name="buttonType", EmitDefaultValue=false)] + public string ButtonType { get; set; } + /// /// Gets or Sets CaptureMandate /// @@ -145,6 +154,7 @@ public override string ToString() if (AllowedPaymentTypes != null) sb.Append(" AllowedPaymentTypes: ").Append(AllowedPaymentTypes).Append("\n"); if (Country != null) sb.Append(" Country: ").Append(Country).Append("\n"); if (Locale != null) sb.Append(" Locale: ").Append(Locale).Append("\n"); + if (ButtonType != null) sb.Append(" ButtonType: ").Append(ButtonType).Append("\n"); if (CaptureMandate != null) sb.Append(" CaptureMandate: ").Append(CaptureMandate).Append("\n"); if (CompleteMandate != null) sb.Append(" CompleteMandate: ").Append(CompleteMandate).Append("\n"); if (TransientTokenResponseOptions != null) sb.Append(" TransientTokenResponseOptions: ").Append(TransientTokenResponseOptions).Append("\n"); @@ -216,6 +226,11 @@ public bool Equals(GenerateUnifiedCheckoutCaptureContextRequest other) this.Locale != null && this.Locale.Equals(other.Locale) ) && + ( + this.ButtonType == other.ButtonType || + this.ButtonType != null && + this.ButtonType.Equals(other.ButtonType) + ) && ( this.CaptureMandate == other.CaptureMandate || this.CaptureMandate != null && @@ -266,6 +281,8 @@ public override int GetHashCode() hash = hash * 59 + this.Country.GetHashCode(); if (this.Locale != null) hash = hash * 59 + this.Locale.GetHashCode(); + if (this.ButtonType != null) + hash = hash * 59 + this.ButtonType.GetHashCode(); if (this.CaptureMandate != null) hash = hash * 59 + this.CaptureMandate.GetHashCode(); if (this.CompleteMandate != null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetAllSubscriptionsResponseClientReferenceInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetAllSubscriptionsResponseClientReferenceInformation.cs new file mode 100644 index 00000000..115aba18 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetAllSubscriptionsResponseClientReferenceInformation.cs @@ -0,0 +1,129 @@ +/* + * 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 +{ + /// + /// GetAllSubscriptionsResponseClientReferenceInformation + /// + [DataContract] + public partial class GetAllSubscriptionsResponseClientReferenceInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. . + public GetAllSubscriptionsResponseClientReferenceInformation(string Code = default(string)) + { + this.Code = Code; + } + + /// + /// Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. + /// + /// Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. + [DataMember(Name="code", EmitDefaultValue=false)] + public string Code { 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 GetAllSubscriptionsResponseClientReferenceInformation {\n"); + if (Code != null) sb.Append(" Code: ").Append(Code).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 GetAllSubscriptionsResponseClientReferenceInformation); + } + + /// + /// Returns true if GetAllSubscriptionsResponseClientReferenceInformation instances are equal + /// + /// Instance of GetAllSubscriptionsResponseClientReferenceInformation to be compared + /// Boolean + public bool Equals(GetAllSubscriptionsResponseClientReferenceInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Code == other.Code || + this.Code != null && + this.Code.Equals(other.Code) + ); + } + + /// + /// 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.Code != null) + hash = hash * 59 + this.Code.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-netstandard/cybersource-rest-client-netstandard/Model/GetAllSubscriptionsResponseSubscriptions.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetAllSubscriptionsResponseSubscriptions.cs index b1a3dab8..8f657b3d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetAllSubscriptionsResponseSubscriptions.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetAllSubscriptionsResponseSubscriptions.cs @@ -37,14 +37,16 @@ public partial class GetAllSubscriptionsResponseSubscriptions : IEquatableAn 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. . /// PlanInformation. /// SubscriptionInformation. + /// ClientReferenceInformation. /// PaymentInformation. /// OrderInformation. - public GetAllSubscriptionsResponseSubscriptions(GetAllSubscriptionsResponseLinks Links = default(GetAllSubscriptionsResponseLinks), string Id = default(string), GetAllSubscriptionsResponsePlanInformation PlanInformation = default(GetAllSubscriptionsResponsePlanInformation), GetAllSubscriptionsResponseSubscriptionInformation SubscriptionInformation = default(GetAllSubscriptionsResponseSubscriptionInformation), GetAllSubscriptionsResponsePaymentInformation PaymentInformation = default(GetAllSubscriptionsResponsePaymentInformation), GetAllSubscriptionsResponseOrderInformation OrderInformation = default(GetAllSubscriptionsResponseOrderInformation)) + public GetAllSubscriptionsResponseSubscriptions(GetAllSubscriptionsResponseLinks Links = default(GetAllSubscriptionsResponseLinks), string Id = default(string), GetAllSubscriptionsResponsePlanInformation PlanInformation = default(GetAllSubscriptionsResponsePlanInformation), GetAllSubscriptionsResponseSubscriptionInformation SubscriptionInformation = default(GetAllSubscriptionsResponseSubscriptionInformation), GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation = default(GetAllSubscriptionsResponseClientReferenceInformation), GetAllSubscriptionsResponsePaymentInformation PaymentInformation = default(GetAllSubscriptionsResponsePaymentInformation), GetAllSubscriptionsResponseOrderInformation OrderInformation = default(GetAllSubscriptionsResponseOrderInformation)) { this.Links = Links; this.Id = Id; this.PlanInformation = PlanInformation; this.SubscriptionInformation = SubscriptionInformation; + this.ClientReferenceInformation = ClientReferenceInformation; this.PaymentInformation = PaymentInformation; this.OrderInformation = OrderInformation; } @@ -74,6 +76,12 @@ public partial class GetAllSubscriptionsResponseSubscriptions : IEquatable + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation { get; set; } + /// /// Gets or Sets PaymentInformation /// @@ -98,6 +106,7 @@ public override string ToString() if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); if (PlanInformation != null) sb.Append(" PlanInformation: ").Append(PlanInformation).Append("\n"); if (SubscriptionInformation != null) sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); + if (ClientReferenceInformation != null) sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); if (PaymentInformation != null) sb.Append(" PaymentInformation: ").Append(PaymentInformation).Append("\n"); if (OrderInformation != null) sb.Append(" OrderInformation: ").Append(OrderInformation).Append("\n"); sb.Append("}\n"); @@ -156,6 +165,11 @@ public bool Equals(GetAllSubscriptionsResponseSubscriptions other) this.SubscriptionInformation != null && this.SubscriptionInformation.Equals(other.SubscriptionInformation) ) && + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + ) && ( this.PaymentInformation == other.PaymentInformation || this.PaymentInformation != null && @@ -187,6 +201,8 @@ public override int GetHashCode() hash = hash * 59 + this.PlanInformation.GetHashCode(); if (this.SubscriptionInformation != null) hash = hash * 59 + this.SubscriptionInformation.GetHashCode(); + if (this.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); if (this.PaymentInformation != null) hash = hash * 59 + this.PaymentInformation.GetHashCode(); if (this.OrderInformation != null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse.cs index bfa968b7..900ff56d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse.cs @@ -40,8 +40,9 @@ public partial class GetSubscriptionResponse : IEquatableSubscriptionInformation. /// PaymentInformation. /// OrderInformation. + /// ClientReferenceInformation. /// ReactivationInformation. - public GetSubscriptionResponse(GetAllSubscriptionsResponseLinks Links = default(GetAllSubscriptionsResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), GetAllSubscriptionsResponsePlanInformation PlanInformation = default(GetAllSubscriptionsResponsePlanInformation), GetAllSubscriptionsResponseSubscriptionInformation SubscriptionInformation = default(GetAllSubscriptionsResponseSubscriptionInformation), GetAllSubscriptionsResponsePaymentInformation PaymentInformation = default(GetAllSubscriptionsResponsePaymentInformation), GetAllSubscriptionsResponseOrderInformation OrderInformation = default(GetAllSubscriptionsResponseOrderInformation), GetSubscriptionResponseReactivationInformation ReactivationInformation = default(GetSubscriptionResponseReactivationInformation)) + public GetSubscriptionResponse(GetAllSubscriptionsResponseLinks Links = default(GetAllSubscriptionsResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), GetAllSubscriptionsResponsePlanInformation PlanInformation = default(GetAllSubscriptionsResponsePlanInformation), GetAllSubscriptionsResponseSubscriptionInformation SubscriptionInformation = default(GetAllSubscriptionsResponseSubscriptionInformation), GetAllSubscriptionsResponsePaymentInformation PaymentInformation = default(GetAllSubscriptionsResponsePaymentInformation), GetAllSubscriptionsResponseOrderInformation OrderInformation = default(GetAllSubscriptionsResponseOrderInformation), GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation = default(GetAllSubscriptionsResponseClientReferenceInformation), GetSubscriptionResponseReactivationInformation ReactivationInformation = default(GetSubscriptionResponseReactivationInformation)) { this.Links = Links; this.Id = Id; @@ -50,6 +51,7 @@ public partial class GetSubscriptionResponse : IEquatable + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation { get; set; } + /// /// Gets or Sets ReactivationInformation /// @@ -118,6 +126,7 @@ public override string ToString() if (SubscriptionInformation != null) sb.Append(" SubscriptionInformation: ").Append(SubscriptionInformation).Append("\n"); if (PaymentInformation != null) sb.Append(" PaymentInformation: ").Append(PaymentInformation).Append("\n"); if (OrderInformation != null) sb.Append(" OrderInformation: ").Append(OrderInformation).Append("\n"); + if (ClientReferenceInformation != null) sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); if (ReactivationInformation != null) sb.Append(" ReactivationInformation: ").Append(ReactivationInformation).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -190,6 +199,11 @@ public bool Equals(GetSubscriptionResponse other) this.OrderInformation != null && this.OrderInformation.Equals(other.OrderInformation) ) && + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + ) && ( this.ReactivationInformation == other.ReactivationInformation || this.ReactivationInformation != null && @@ -222,6 +236,8 @@ public override int GetHashCode() hash = hash * 59 + this.PaymentInformation.GetHashCode(); if (this.OrderInformation != null) hash = hash * 59 + this.OrderInformation.GetHashCode(); + if (this.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); if (this.ReactivationInformation != null) hash = hash * 59 + this.ReactivationInformation.GetHashCode(); return hash; diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1PaymentInstrument.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1PaymentInstrument.cs index 0c1f0b21..9c903779 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1PaymentInstrument.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1PaymentInstrument.cs @@ -38,7 +38,7 @@ public partial class GetSubscriptionResponse1PaymentInstrument : IEquatableCard. /// BillTo. /// BuyerInformation. - public GetSubscriptionResponse1PaymentInstrument(string Id = default(string), GetSubscriptionResponse1PaymentInstrumentBankAccount BankAccount = default(GetSubscriptionResponse1PaymentInstrumentBankAccount), GetSubscriptionResponse1PaymentInstrumentCard Card = default(GetSubscriptionResponse1PaymentInstrumentCard), Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo), GetSubscriptionResponse1PaymentInstrumentBuyerInformation BuyerInformation = default(GetSubscriptionResponse1PaymentInstrumentBuyerInformation)) + public GetSubscriptionResponse1PaymentInstrument(string Id = default(string), GetSubscriptionResponse1PaymentInstrumentBankAccount BankAccount = default(GetSubscriptionResponse1PaymentInstrumentBankAccount), GetSubscriptionResponse1PaymentInstrumentCard Card = default(GetSubscriptionResponse1PaymentInstrumentCard), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo), GetSubscriptionResponse1PaymentInstrumentBuyerInformation BuyerInformation = default(GetSubscriptionResponse1PaymentInstrumentBuyerInformation)) { this.Id = Id; this.BankAccount = BankAccount; @@ -70,7 +70,7 @@ public partial class GetSubscriptionResponse1PaymentInstrument : IEquatable [DataMember(Name="billTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } /// /// Gets or Sets BuyerInformation diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.cs index a8c1d193..34cf902b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.cs @@ -37,7 +37,7 @@ public partial class GetSubscriptionResponse1PaymentInstrumentBuyerInformation : /// Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). . /// Date of birth of the customer. Format: YYYY-MM-DD . /// PersonalIdentification. - public GetSubscriptionResponse1PaymentInstrumentBuyerInformation(string CompanyTaxID = default(string), string Currency = default(string), DateTime? DateOfBirth = default(DateTime?), List PersonalIdentification = default(List)) + public GetSubscriptionResponse1PaymentInstrumentBuyerInformation(string CompanyTaxID = default(string), string Currency = default(string), DateTime? DateOfBirth = default(DateTime?), List PersonalIdentification = default(List)) { this.CompanyTaxID = CompanyTaxID; this.Currency = Currency; @@ -71,7 +71,7 @@ public partial class GetSubscriptionResponse1PaymentInstrumentBuyerInformation : /// Gets or Sets PersonalIdentification /// [DataMember(Name="personalIdentification", EmitDefaultValue=false)] - public List PersonalIdentification { get; set; } + public List PersonalIdentification { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1ShippingAddress.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1ShippingAddress.cs index f7d75eeb..5c2fd4b2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1ShippingAddress.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponse1ShippingAddress.cs @@ -35,7 +35,7 @@ public partial class GetSubscriptionResponse1ShippingAddress : IEquatable /// The Id of the Shipping Address Token.. /// ShipTo. - public GetSubscriptionResponse1ShippingAddress(string Id = default(string), Tmsv2customersEmbeddedDefaultShippingAddressShipTo ShipTo = default(Tmsv2customersEmbeddedDefaultShippingAddressShipTo)) + public GetSubscriptionResponse1ShippingAddress(string Id = default(string), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ShipTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo)) { this.Id = Id; this.ShipTo = ShipTo; @@ -52,7 +52,7 @@ public partial class GetSubscriptionResponse1ShippingAddress : IEquatable [DataMember(Name="shipTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo ShipTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ShipTo { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponseReactivationInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponseReactivationInformation.cs index 9b1dfc83..a82e869a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponseReactivationInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/GetSubscriptionResponseReactivationInformation.cs @@ -33,27 +33,27 @@ public partial class GetSubscriptionResponseReactivationInformation : IEquatabl /// /// Initializes a new instance of the class. /// - /// Number of payments that should have occurred while the subscription was in a suspended status. . - /// Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. . - public GetSubscriptionResponseReactivationInformation(string SkippedPaymentsCount = default(string), string SkippedPaymentsTotalAmount = default(string)) + /// Number of payments that should have occurred while the subscription was in a suspended status. . + /// Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. . + public GetSubscriptionResponseReactivationInformation(string MissedPaymentsCount = default(string), string MissedPaymentsTotalAmount = default(string)) { - this.SkippedPaymentsCount = SkippedPaymentsCount; - this.SkippedPaymentsTotalAmount = SkippedPaymentsTotalAmount; + this.MissedPaymentsCount = MissedPaymentsCount; + this.MissedPaymentsTotalAmount = MissedPaymentsTotalAmount; } /// /// Number of payments that should have occurred while the subscription was in a suspended status. /// /// Number of payments that should have occurred while the subscription was in a suspended status. - [DataMember(Name="skippedPaymentsCount", EmitDefaultValue=false)] - public string SkippedPaymentsCount { get; set; } + [DataMember(Name="missedPaymentsCount", EmitDefaultValue=false)] + public string MissedPaymentsCount { get; set; } /// - /// Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. + /// Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. /// - /// Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. - [DataMember(Name="skippedPaymentsTotalAmount", EmitDefaultValue=false)] - public string SkippedPaymentsTotalAmount { get; set; } + /// Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. + [DataMember(Name="missedPaymentsTotalAmount", EmitDefaultValue=false)] + public string MissedPaymentsTotalAmount { get; set; } /// /// Returns the string presentation of the object @@ -63,8 +63,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class GetSubscriptionResponseReactivationInformation {\n"); - if (SkippedPaymentsCount != null) sb.Append(" SkippedPaymentsCount: ").Append(SkippedPaymentsCount).Append("\n"); - if (SkippedPaymentsTotalAmount != null) sb.Append(" SkippedPaymentsTotalAmount: ").Append(SkippedPaymentsTotalAmount).Append("\n"); + if (MissedPaymentsCount != null) sb.Append(" MissedPaymentsCount: ").Append(MissedPaymentsCount).Append("\n"); + if (MissedPaymentsTotalAmount != null) sb.Append(" MissedPaymentsTotalAmount: ").Append(MissedPaymentsTotalAmount).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -102,14 +102,14 @@ public bool Equals(GetSubscriptionResponseReactivationInformation other) return ( - this.SkippedPaymentsCount == other.SkippedPaymentsCount || - this.SkippedPaymentsCount != null && - this.SkippedPaymentsCount.Equals(other.SkippedPaymentsCount) + this.MissedPaymentsCount == other.MissedPaymentsCount || + this.MissedPaymentsCount != null && + this.MissedPaymentsCount.Equals(other.MissedPaymentsCount) ) && ( - this.SkippedPaymentsTotalAmount == other.SkippedPaymentsTotalAmount || - this.SkippedPaymentsTotalAmount != null && - this.SkippedPaymentsTotalAmount.Equals(other.SkippedPaymentsTotalAmount) + this.MissedPaymentsTotalAmount == other.MissedPaymentsTotalAmount || + this.MissedPaymentsTotalAmount != null && + this.MissedPaymentsTotalAmount.Equals(other.MissedPaymentsTotalAmount) ); } @@ -124,10 +124,10 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.SkippedPaymentsCount != null) - hash = hash * 59 + this.SkippedPaymentsCount.GetHashCode(); - if (this.SkippedPaymentsTotalAmount != null) - hash = hash * 59 + this.SkippedPaymentsTotalAmount.GetHashCode(); + if (this.MissedPaymentsCount != null) + hash = hash * 59 + this.MissedPaymentsCount.GetHashCode(); + if (this.MissedPaymentsTotalAmount != null) + hash = hash * 59 + this.MissedPaymentsTotalAmount.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200.cs index b87c5be0..c7e46588 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200.cs @@ -25,7 +25,7 @@ namespace CyberSource.Model { /// - /// Represents the Card Art Asset associated to the Network Token. + /// InlineResponse200 /// [DataContract] public partial class InlineResponse200 : IEquatable, IValidatableObject @@ -33,45 +33,17 @@ public partial class InlineResponse200 : IEquatable, IValida /// /// Initializes a new instance of the class. /// - /// Unique identifier for the Card Art Asset. . - /// The type of Card Art Asset. . - /// The provider of the Card Art Asset. . - /// Array of content objects representing the Card Art Asset. . - public InlineResponse200(string Id = default(string), string Type = default(string), string Provider = default(string), List Content = default(List)) + /// Responses. + public InlineResponse200(List Responses = default(List)) { - this.Id = Id; - this.Type = Type; - this.Provider = Provider; - this.Content = Content; + this.Responses = Responses; } /// - /// Unique identifier for the Card Art Asset. + /// Gets or Sets Responses /// - /// Unique identifier for the Card Art Asset. - [DataMember(Name="id", EmitDefaultValue=false)] - public string Id { get; set; } - - /// - /// The type of Card Art Asset. - /// - /// The type of Card Art Asset. - [DataMember(Name="type", EmitDefaultValue=false)] - public string Type { get; set; } - - /// - /// The provider of the Card Art Asset. - /// - /// The provider of the Card Art Asset. - [DataMember(Name="provider", EmitDefaultValue=false)] - public string Provider { get; set; } - - /// - /// Array of content objects representing the Card Art Asset. - /// - /// Array of content objects representing the Card Art Asset. - [DataMember(Name="content", EmitDefaultValue=false)] - public List Content { get; set; } + [DataMember(Name="responses", EmitDefaultValue=false)] + public List Responses { get; set; } /// /// Returns the string presentation of the object @@ -81,10 +53,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse200 {\n"); - if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); - if (Type != null) sb.Append(" Type: ").Append(Type).Append("\n"); - if (Provider != null) sb.Append(" Provider: ").Append(Provider).Append("\n"); - if (Content != null) sb.Append(" Content: ").Append(Content).Append("\n"); + if (Responses != null) sb.Append(" Responses: ").Append(Responses).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -122,24 +91,9 @@ public bool Equals(InlineResponse200 other) return ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) - ) && - ( - this.Type == other.Type || - this.Type != null && - this.Type.Equals(other.Type) - ) && - ( - this.Provider == other.Provider || - this.Provider != null && - this.Provider.Equals(other.Provider) - ) && - ( - this.Content == other.Content || - this.Content != null && - this.Content.SequenceEqual(other.Content) + this.Responses == other.Responses || + this.Responses != null && + this.Responses.SequenceEqual(other.Responses) ); } @@ -154,14 +108,8 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); - if (this.Type != null) - hash = hash * 59 + this.Type.GetHashCode(); - if (this.Provider != null) - hash = hash * 59 + this.Provider.GetHashCode(); - if (this.Content != null) - hash = hash * 59 + this.Content.GetHashCode(); + if (this.Responses != null) + hash = hash * 59 + this.Responses.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001.cs index 5e62e705..521455ed 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001.cs @@ -25,7 +25,7 @@ namespace CyberSource.Model { /// - /// InlineResponse2001 + /// Represents the Card Art Asset associated to the Network Token. /// [DataContract] public partial class InlineResponse2001 : IEquatable, IValidatableObject @@ -33,44 +33,45 @@ public partial class InlineResponse2001 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// UUID uniquely generated for this comments. . - /// 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 are: - `ACCEPTED` - `REJECTED` . - /// Embedded. - public InlineResponse2001(string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), InlineResponse2001Embedded Embedded = default(InlineResponse2001Embedded)) + /// Unique identifier for the Card Art Asset. . + /// The type of Card Art Asset. . + /// The provider of the Card Art Asset. . + /// Array of content objects representing the Card Art Asset. . + public InlineResponse2001(string Id = default(string), string Type = default(string), string Provider = default(string), List Content = default(List)) { this.Id = Id; - this.SubmitTimeUtc = SubmitTimeUtc; - this.Status = Status; - this.Embedded = Embedded; + this.Type = Type; + this.Provider = Provider; + this.Content = Content; } /// - /// UUID uniquely generated for this comments. + /// Unique identifier for the Card Art Asset. /// - /// UUID uniquely generated for this comments. + /// Unique identifier for the Card Art Asset. [DataMember(Name="id", EmitDefaultValue=false)] public string Id { 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. + /// The type of Card Art Asset. /// - /// 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; } + /// The type of Card Art Asset. + [DataMember(Name="type", EmitDefaultValue=false)] + public string Type { get; set; } /// - /// The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` + /// The provider of the Card Art Asset. /// - /// The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } + /// The provider of the Card Art Asset. + [DataMember(Name="provider", EmitDefaultValue=false)] + public string Provider { get; set; } /// - /// Gets or Sets Embedded + /// Array of content objects representing the Card Art Asset. /// - [DataMember(Name="_embedded", EmitDefaultValue=false)] - public InlineResponse2001Embedded Embedded { get; set; } + /// Array of content objects representing the Card Art Asset. + [DataMember(Name="content", EmitDefaultValue=false)] + public List Content { get; set; } /// /// Returns the string presentation of the object @@ -81,9 +82,9 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse2001 {\n"); if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); - if (SubmitTimeUtc != null) sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); - if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); - if (Embedded != null) sb.Append(" Embedded: ").Append(Embedded).Append("\n"); + if (Type != null) sb.Append(" Type: ").Append(Type).Append("\n"); + if (Provider != null) sb.Append(" Provider: ").Append(Provider).Append("\n"); + if (Content != null) sb.Append(" Content: ").Append(Content).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -126,19 +127,19 @@ public bool Equals(InlineResponse2001 other) this.Id.Equals(other.Id) ) && ( - this.SubmitTimeUtc == other.SubmitTimeUtc || - this.SubmitTimeUtc != null && - this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + this.Type == other.Type || + this.Type != null && + this.Type.Equals(other.Type) ) && ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) + this.Provider == other.Provider || + this.Provider != null && + this.Provider.Equals(other.Provider) ) && ( - this.Embedded == other.Embedded || - this.Embedded != null && - this.Embedded.Equals(other.Embedded) + this.Content == other.Content || + this.Content != null && + this.Content.SequenceEqual(other.Content) ); } @@ -155,12 +156,12 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (this.Id != null) hash = hash * 59 + this.Id.GetHashCode(); - if (this.SubmitTimeUtc != null) - hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); - if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); - if (this.Embedded != null) - hash = hash * 59 + this.Embedded.GetHashCode(); + if (this.Type != null) + hash = hash * 59 + this.Type.GetHashCode(); + if (this.Provider != null) + hash = hash * 59 + this.Provider.GetHashCode(); + if (this.Content != null) + hash = hash * 59 + this.Content.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010.cs index 9d55c66c..4ff6b2e5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010.cs @@ -33,65 +33,63 @@ public partial class InlineResponse20010 : IEquatable, IVa /// /// Initializes a new instance of the class. /// - /// Links. - /// Object. - /// Offset. - /// Limit. - /// Count. - /// Total. - /// Embedded. - public InlineResponse20010(List Links = default(List), string Object = default(string), int? Offset = default(int?), int? Limit = default(int?), int? Count = default(int?), int? Total = default(int?), InlineResponse20010Embedded Embedded = default(InlineResponse20010Embedded)) + /// Total number of results.. + /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. . + /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. . + /// A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` . + /// Results for this page, this could be below the limit.. + /// A collection of devices. + public InlineResponse20010(int? TotalCount = default(int?), int? Offset = default(int?), int? Limit = default(int?), string Sort = default(string), int? Count = default(int?), List Devices = default(List)) { - this.Links = Links; - this.Object = Object; + this.TotalCount = TotalCount; this.Offset = Offset; this.Limit = Limit; + this.Sort = Sort; this.Count = Count; - this.Total = Total; - this.Embedded = Embedded; + this.Devices = Devices; } /// - /// Gets or Sets Links + /// Total number of results. /// - [DataMember(Name="_links", EmitDefaultValue=false)] - public List Links { get; set; } + /// Total number of results. + [DataMember(Name="totalCount", EmitDefaultValue=false)] + public int? TotalCount { get; set; } /// - /// Gets or Sets Object - /// - [DataMember(Name="object", EmitDefaultValue=false)] - public string Object { get; set; } - - /// - /// Gets or Sets Offset + /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. /// + /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. [DataMember(Name="offset", EmitDefaultValue=false)] public int? Offset { get; set; } /// - /// Gets or Sets Limit + /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. /// + /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. [DataMember(Name="limit", EmitDefaultValue=false)] public int? Limit { get; set; } /// - /// Gets or Sets Count + /// A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` /// - [DataMember(Name="count", EmitDefaultValue=false)] - public int? Count { get; set; } + /// A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` + [DataMember(Name="sort", EmitDefaultValue=false)] + public string Sort { get; set; } /// - /// Gets or Sets Total + /// Results for this page, this could be below the limit. /// - [DataMember(Name="total", EmitDefaultValue=false)] - public int? Total { get; set; } + /// Results for this page, this could be below the limit. + [DataMember(Name="count", EmitDefaultValue=false)] + public int? Count { get; set; } /// - /// Gets or Sets Embedded + /// A collection of devices /// - [DataMember(Name="_embedded", EmitDefaultValue=false)] - public InlineResponse20010Embedded Embedded { get; set; } + /// A collection of devices + [DataMember(Name="devices", EmitDefaultValue=false)] + public List Devices { get; set; } /// /// Returns the string presentation of the object @@ -101,13 +99,12 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20010 {\n"); - if (Links != null) sb.Append(" Links: ").Append(Links).Append("\n"); - if (Object != null) sb.Append(" Object: ").Append(Object).Append("\n"); + if (TotalCount != null) sb.Append(" TotalCount: ").Append(TotalCount).Append("\n"); if (Offset != null) sb.Append(" Offset: ").Append(Offset).Append("\n"); if (Limit != null) sb.Append(" Limit: ").Append(Limit).Append("\n"); + if (Sort != null) sb.Append(" Sort: ").Append(Sort).Append("\n"); if (Count != null) sb.Append(" Count: ").Append(Count).Append("\n"); - if (Total != null) sb.Append(" Total: ").Append(Total).Append("\n"); - if (Embedded != null) sb.Append(" Embedded: ").Append(Embedded).Append("\n"); + if (Devices != null) sb.Append(" Devices: ").Append(Devices).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -145,14 +142,9 @@ public bool Equals(InlineResponse20010 other) return ( - this.Links == other.Links || - this.Links != null && - this.Links.SequenceEqual(other.Links) - ) && - ( - this.Object == other.Object || - this.Object != null && - this.Object.Equals(other.Object) + this.TotalCount == other.TotalCount || + this.TotalCount != null && + this.TotalCount.Equals(other.TotalCount) ) && ( this.Offset == other.Offset || @@ -164,20 +156,20 @@ public bool Equals(InlineResponse20010 other) this.Limit != null && this.Limit.Equals(other.Limit) ) && + ( + this.Sort == other.Sort || + this.Sort != null && + this.Sort.Equals(other.Sort) + ) && ( this.Count == other.Count || this.Count != null && this.Count.Equals(other.Count) ) && ( - this.Total == other.Total || - this.Total != null && - this.Total.Equals(other.Total) - ) && - ( - this.Embedded == other.Embedded || - this.Embedded != null && - this.Embedded.Equals(other.Embedded) + this.Devices == other.Devices || + this.Devices != null && + this.Devices.SequenceEqual(other.Devices) ); } @@ -192,20 +184,18 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Links != null) - hash = hash * 59 + this.Links.GetHashCode(); - if (this.Object != null) - hash = hash * 59 + this.Object.GetHashCode(); + if (this.TotalCount != null) + hash = hash * 59 + this.TotalCount.GetHashCode(); if (this.Offset != null) hash = hash * 59 + this.Offset.GetHashCode(); if (this.Limit != null) hash = hash * 59 + this.Limit.GetHashCode(); + if (this.Sort != null) + hash = hash * 59 + this.Sort.GetHashCode(); if (this.Count != null) hash = hash * 59 + this.Count.GetHashCode(); - if (this.Total != null) - hash = hash * 59 + this.Total.GetHashCode(); - if (this.Embedded != null) - hash = hash * 59 + this.Embedded.GetHashCode(); + if (this.Devices != null) + hash = hash * 59 + this.Devices.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009Devices.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Devices.cs similarity index 91% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009Devices.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Devices.cs index 82b08874..a651e8f3 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009Devices.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Devices.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// InlineResponse2009Devices + /// InlineResponse20010Devices /// [DataContract] - public partial class InlineResponse2009Devices : IEquatable, IValidatableObject + public partial class InlineResponse20010Devices : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// ReaderId. /// SerialNumber. @@ -45,7 +45,7 @@ public partial class InlineResponse2009Devices : IEquatableTimestamp in which the device was created.. /// Timestamp in which the device was updated/modified.. /// PaymentProcessorToTerminalMap. - public InlineResponse2009Devices(string ReaderId = default(string), string SerialNumber = default(string), string Model = default(string), string Make = default(string), string HardwareRevision = default(string), string Status = default(string), string StatusChangeReason = default(string), string MerchantId = default(string), string AccountId = default(string), DateTime? TerminalCreationDate = default(DateTime?), DateTime? TerminalUpdationDate = default(DateTime?), InlineResponse2009PaymentProcessorToTerminalMap PaymentProcessorToTerminalMap = default(InlineResponse2009PaymentProcessorToTerminalMap)) + public InlineResponse20010Devices(string ReaderId = default(string), string SerialNumber = default(string), string Model = default(string), string Make = default(string), string HardwareRevision = default(string), string Status = default(string), string StatusChangeReason = default(string), string MerchantId = default(string), string AccountId = default(string), DateTime? TerminalCreationDate = default(DateTime?), DateTime? TerminalUpdationDate = default(DateTime?), InlineResponse20010PaymentProcessorToTerminalMap PaymentProcessorToTerminalMap = default(InlineResponse20010PaymentProcessorToTerminalMap)) { this.ReaderId = ReaderId; this.SerialNumber = SerialNumber; @@ -137,7 +137,7 @@ public partial class InlineResponse2009Devices : IEquatable [DataMember(Name="paymentProcessorToTerminalMap", EmitDefaultValue=false)] - public InlineResponse2009PaymentProcessorToTerminalMap PaymentProcessorToTerminalMap { get; set; } + public InlineResponse20010PaymentProcessorToTerminalMap PaymentProcessorToTerminalMap { get; set; } /// /// Returns the string presentation of the object @@ -146,7 +146,7 @@ public partial class InlineResponse2009Devices : IEquatable - /// Returns true if InlineResponse2009Devices instances are equal + /// Returns true if InlineResponse20010Devices instances are equal /// - /// Instance of InlineResponse2009Devices to be compared + /// Instance of InlineResponse20010Devices to be compared /// Boolean - public bool Equals(InlineResponse2009Devices other) + public bool Equals(InlineResponse20010Devices other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009PaymentProcessorToTerminalMap.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010PaymentProcessorToTerminalMap.cs similarity index 84% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009PaymentProcessorToTerminalMap.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010PaymentProcessorToTerminalMap.cs index ad090cd2..b73d2db9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009PaymentProcessorToTerminalMap.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010PaymentProcessorToTerminalMap.cs @@ -28,14 +28,14 @@ namespace CyberSource.Model /// Mapping between processor and Terminal. /// [DataContract] - public partial class InlineResponse2009PaymentProcessorToTerminalMap : IEquatable, IValidatableObject + public partial class InlineResponse20010PaymentProcessorToTerminalMap : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Processor. /// TerminalId. - public InlineResponse2009PaymentProcessorToTerminalMap(string Processor = default(string), string TerminalId = default(string)) + public InlineResponse20010PaymentProcessorToTerminalMap(string Processor = default(string), string TerminalId = default(string)) { this.Processor = Processor; this.TerminalId = TerminalId; @@ -60,7 +60,7 @@ public partial class InlineResponse2009PaymentProcessorToTerminalMap : IEquatab public override string ToString() { var sb = new StringBuilder(); - sb.Append("class InlineResponse2009PaymentProcessorToTerminalMap {\n"); + sb.Append("class InlineResponse20010PaymentProcessorToTerminalMap {\n"); if (Processor != null) sb.Append(" Processor: ").Append(Processor).Append("\n"); if (TerminalId != null) sb.Append(" TerminalId: ").Append(TerminalId).Append("\n"); sb.Append("}\n"); @@ -84,15 +84,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as InlineResponse2009PaymentProcessorToTerminalMap); + return this.Equals(obj as InlineResponse20010PaymentProcessorToTerminalMap); } /// - /// Returns true if InlineResponse2009PaymentProcessorToTerminalMap instances are equal + /// Returns true if InlineResponse20010PaymentProcessorToTerminalMap instances are equal /// - /// Instance of InlineResponse2009PaymentProcessorToTerminalMap to be compared + /// Instance of InlineResponse20010PaymentProcessorToTerminalMap to be compared /// Boolean - public bool Equals(InlineResponse2009PaymentProcessorToTerminalMap other) + public bool Equals(InlineResponse20010PaymentProcessorToTerminalMap other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011.cs index 48b72207..39af07a8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011.cs @@ -34,93 +34,64 @@ public partial class InlineResponse20011 : IEquatable, IVa /// Initializes a new instance of the class. /// /// Links. - /// Unique identification number assigned to the submitted request.. - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE . - /// Reference used by merchant to identify batch.. - /// BatchCaEndpoints. - /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED . - /// Totals. - /// Billing. - /// Description. - public InlineResponse20011(InlineResponse20011Links Links = default(InlineResponse20011Links), string BatchId = default(string), string BatchCreatedDate = default(string), string BatchSource = default(string), string MerchantReference = default(string), string BatchCaEndpoints = default(string), string Status = default(string), InlineResponse20010EmbeddedTotals Totals = default(InlineResponse20010EmbeddedTotals), InlineResponse20011Billing Billing = default(InlineResponse20011Billing), string Description = default(string)) + /// Object. + /// Offset. + /// Limit. + /// Count. + /// Total. + /// Embedded. + public InlineResponse20011(List Links = default(List), string Object = default(string), int? Offset = default(int?), int? Limit = default(int?), int? Count = default(int?), int? Total = default(int?), InlineResponse20011Embedded Embedded = default(InlineResponse20011Embedded)) { this.Links = Links; - this.BatchId = BatchId; - this.BatchCreatedDate = BatchCreatedDate; - this.BatchSource = BatchSource; - this.MerchantReference = MerchantReference; - this.BatchCaEndpoints = BatchCaEndpoints; - this.Status = Status; - this.Totals = Totals; - this.Billing = Billing; - this.Description = Description; + this.Object = Object; + this.Offset = Offset; + this.Limit = Limit; + this.Count = Count; + this.Total = Total; + this.Embedded = Embedded; } /// /// Gets or Sets Links /// [DataMember(Name="_links", EmitDefaultValue=false)] - public InlineResponse20011Links Links { get; set; } + public List Links { get; set; } /// - /// Unique identification number assigned to the submitted request. + /// Gets or Sets Object /// - /// Unique identification number assigned to the submitted request. - [DataMember(Name="batchId", EmitDefaultValue=false)] - public string BatchId { get; set; } + [DataMember(Name="object", EmitDefaultValue=false)] + public string Object { get; set; } /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// Gets or Sets Offset /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - [DataMember(Name="batchCreatedDate", EmitDefaultValue=false)] - public string BatchCreatedDate { get; set; } + [DataMember(Name="offset", EmitDefaultValue=false)] + public int? Offset { get; set; } /// - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + /// Gets or Sets Limit /// - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE - [DataMember(Name="batchSource", EmitDefaultValue=false)] - public string BatchSource { get; set; } + [DataMember(Name="limit", EmitDefaultValue=false)] + public int? Limit { get; set; } /// - /// Reference used by merchant to identify batch. + /// Gets or Sets Count /// - /// Reference used by merchant to identify batch. - [DataMember(Name="merchantReference", EmitDefaultValue=false)] - public string MerchantReference { get; set; } + [DataMember(Name="count", EmitDefaultValue=false)] + public int? Count { get; set; } /// - /// Gets or Sets BatchCaEndpoints + /// Gets or Sets Total /// - [DataMember(Name="batchCaEndpoints", EmitDefaultValue=false)] - public string BatchCaEndpoints { get; set; } + [DataMember(Name="total", EmitDefaultValue=false)] + public int? Total { get; set; } /// - /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED + /// Gets or Sets Embedded /// - /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } - - /// - /// Gets or Sets Totals - /// - [DataMember(Name="totals", EmitDefaultValue=false)] - public InlineResponse20010EmbeddedTotals Totals { get; set; } - - /// - /// Gets or Sets Billing - /// - [DataMember(Name="billing", EmitDefaultValue=false)] - public InlineResponse20011Billing Billing { get; set; } - - /// - /// Gets or Sets Description - /// - [DataMember(Name="description", EmitDefaultValue=false)] - public string Description { get; set; } + [DataMember(Name="_embedded", EmitDefaultValue=false)] + public InlineResponse20011Embedded Embedded { get; set; } /// /// Returns the string presentation of the object @@ -131,15 +102,12 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20011 {\n"); if (Links != null) sb.Append(" Links: ").Append(Links).Append("\n"); - if (BatchId != null) sb.Append(" BatchId: ").Append(BatchId).Append("\n"); - if (BatchCreatedDate != null) sb.Append(" BatchCreatedDate: ").Append(BatchCreatedDate).Append("\n"); - if (BatchSource != null) sb.Append(" BatchSource: ").Append(BatchSource).Append("\n"); - if (MerchantReference != null) sb.Append(" MerchantReference: ").Append(MerchantReference).Append("\n"); - if (BatchCaEndpoints != null) sb.Append(" BatchCaEndpoints: ").Append(BatchCaEndpoints).Append("\n"); - if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); - if (Totals != null) sb.Append(" Totals: ").Append(Totals).Append("\n"); - if (Billing != null) sb.Append(" Billing: ").Append(Billing).Append("\n"); - if (Description != null) sb.Append(" Description: ").Append(Description).Append("\n"); + if (Object != null) sb.Append(" Object: ").Append(Object).Append("\n"); + if (Offset != null) sb.Append(" Offset: ").Append(Offset).Append("\n"); + if (Limit != null) sb.Append(" Limit: ").Append(Limit).Append("\n"); + if (Count != null) sb.Append(" Count: ").Append(Count).Append("\n"); + if (Total != null) sb.Append(" Total: ").Append(Total).Append("\n"); + if (Embedded != null) sb.Append(" Embedded: ").Append(Embedded).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -179,52 +147,37 @@ public bool Equals(InlineResponse20011 other) ( this.Links == other.Links || this.Links != null && - this.Links.Equals(other.Links) - ) && - ( - this.BatchId == other.BatchId || - this.BatchId != null && - this.BatchId.Equals(other.BatchId) - ) && - ( - this.BatchCreatedDate == other.BatchCreatedDate || - this.BatchCreatedDate != null && - this.BatchCreatedDate.Equals(other.BatchCreatedDate) - ) && - ( - this.BatchSource == other.BatchSource || - this.BatchSource != null && - this.BatchSource.Equals(other.BatchSource) + this.Links.SequenceEqual(other.Links) ) && ( - this.MerchantReference == other.MerchantReference || - this.MerchantReference != null && - this.MerchantReference.Equals(other.MerchantReference) + this.Object == other.Object || + this.Object != null && + this.Object.Equals(other.Object) ) && ( - this.BatchCaEndpoints == other.BatchCaEndpoints || - this.BatchCaEndpoints != null && - this.BatchCaEndpoints.Equals(other.BatchCaEndpoints) + this.Offset == other.Offset || + this.Offset != null && + this.Offset.Equals(other.Offset) ) && ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) + this.Limit == other.Limit || + this.Limit != null && + this.Limit.Equals(other.Limit) ) && ( - this.Totals == other.Totals || - this.Totals != null && - this.Totals.Equals(other.Totals) + this.Count == other.Count || + this.Count != null && + this.Count.Equals(other.Count) ) && ( - this.Billing == other.Billing || - this.Billing != null && - this.Billing.Equals(other.Billing) + this.Total == other.Total || + this.Total != null && + this.Total.Equals(other.Total) ) && ( - this.Description == other.Description || - this.Description != null && - this.Description.Equals(other.Description) + this.Embedded == other.Embedded || + this.Embedded != null && + this.Embedded.Equals(other.Embedded) ); } @@ -241,24 +194,18 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (this.Links != null) hash = hash * 59 + this.Links.GetHashCode(); - if (this.BatchId != null) - hash = hash * 59 + this.BatchId.GetHashCode(); - if (this.BatchCreatedDate != null) - hash = hash * 59 + this.BatchCreatedDate.GetHashCode(); - if (this.BatchSource != null) - hash = hash * 59 + this.BatchSource.GetHashCode(); - if (this.MerchantReference != null) - hash = hash * 59 + this.MerchantReference.GetHashCode(); - if (this.BatchCaEndpoints != null) - hash = hash * 59 + this.BatchCaEndpoints.GetHashCode(); - if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); - if (this.Totals != null) - hash = hash * 59 + this.Totals.GetHashCode(); - if (this.Billing != null) - hash = hash * 59 + this.Billing.GetHashCode(); - if (this.Description != null) - hash = hash * 59 + this.Description.GetHashCode(); + if (this.Object != null) + hash = hash * 59 + this.Object.GetHashCode(); + if (this.Offset != null) + hash = hash * 59 + this.Offset.GetHashCode(); + if (this.Limit != null) + hash = hash * 59 + this.Limit.GetHashCode(); + if (this.Count != null) + hash = hash * 59 + this.Count.GetHashCode(); + if (this.Total != null) + hash = hash * 59 + this.Total.GetHashCode(); + if (this.Embedded != null) + hash = hash * 59 + this.Embedded.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Embedded.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Embedded.cs similarity index 84% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Embedded.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Embedded.cs index 70c8400c..d2db531a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Embedded.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Embedded.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// InlineResponse20010Embedded + /// InlineResponse20011Embedded /// [DataContract] - public partial class InlineResponse20010Embedded : IEquatable, IValidatableObject + public partial class InlineResponse20011Embedded : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Batches. - public InlineResponse20010Embedded(List Batches = default(List)) + public InlineResponse20011Embedded(List Batches = default(List)) { this.Batches = Batches; } @@ -43,7 +43,7 @@ public partial class InlineResponse20010Embedded : IEquatable [DataMember(Name="batches", EmitDefaultValue=false)] - public List Batches { get; set; } + public List Batches { get; set; } /// /// Returns the string presentation of the object @@ -52,7 +52,7 @@ public partial class InlineResponse20010Embedded : IEquatable - /// Returns true if InlineResponse20010Embedded instances are equal + /// Returns true if InlineResponse20011Embedded instances are equal /// - /// Instance of InlineResponse20010Embedded to be compared + /// Instance of InlineResponse20011Embedded to be compared /// Boolean - public bool Equals(InlineResponse20010Embedded other) + public bool Equals(InlineResponse20011Embedded other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedBatches.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedBatches.cs similarity index 93% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedBatches.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedBatches.cs index 985587d8..036b2204 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedBatches.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedBatches.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// InlineResponse20010EmbeddedBatches + /// InlineResponse20011EmbeddedBatches /// [DataContract] - public partial class InlineResponse20010EmbeddedBatches : IEquatable, IValidatableObject + public partial class InlineResponse20011EmbeddedBatches : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Links. /// Unique identification number assigned to the submitted request.. @@ -43,7 +43,7 @@ public partial class InlineResponse20010EmbeddedBatches : IEquatableValid Values: * VISA * MASTERCARD * AMEX . /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE . /// Totals. - public InlineResponse20010EmbeddedBatches(InlineResponse20010EmbeddedLinks Links = default(InlineResponse20010EmbeddedLinks), string BatchId = default(string), string BatchCreatedDate = default(string), string BatchModifiedDate = default(string), string BatchSource = default(string), string TokenSource = default(string), string MerchantReference = default(string), List BatchCaEndpoints = default(List), string Status = default(string), InlineResponse20010EmbeddedTotals Totals = default(InlineResponse20010EmbeddedTotals)) + public InlineResponse20011EmbeddedBatches(InlineResponse20011EmbeddedLinks Links = default(InlineResponse20011EmbeddedLinks), string BatchId = default(string), string BatchCreatedDate = default(string), string BatchModifiedDate = default(string), string BatchSource = default(string), string TokenSource = default(string), string MerchantReference = default(string), List BatchCaEndpoints = default(List), string Status = default(string), InlineResponse20011EmbeddedTotals Totals = default(InlineResponse20011EmbeddedTotals)) { this.Links = Links; this.BatchId = BatchId; @@ -61,7 +61,7 @@ public partial class InlineResponse20010EmbeddedBatches : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public InlineResponse20010EmbeddedLinks Links { get; set; } + public InlineResponse20011EmbeddedLinks Links { get; set; } /// /// Unique identification number assigned to the submitted request. @@ -123,7 +123,7 @@ public partial class InlineResponse20010EmbeddedBatches : IEquatable [DataMember(Name="totals", EmitDefaultValue=false)] - public InlineResponse20010EmbeddedTotals Totals { get; set; } + public InlineResponse20011EmbeddedTotals Totals { get; set; } /// /// Returns the string presentation of the object @@ -132,7 +132,7 @@ public partial class InlineResponse20010EmbeddedBatches : IEquatable - /// Returns true if InlineResponse20010EmbeddedBatches instances are equal + /// Returns true if InlineResponse20011EmbeddedBatches instances are equal /// - /// Instance of InlineResponse20010EmbeddedBatches to be compared + /// Instance of InlineResponse20011EmbeddedBatches to be compared /// Boolean - public bool Equals(InlineResponse20010EmbeddedBatches other) + public bool Equals(InlineResponse20011EmbeddedBatches other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedLinks.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedLinks.cs similarity index 83% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedLinks.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedLinks.cs index 2a957b2b..b1f1a3cc 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedLinks.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedLinks.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// InlineResponse20010EmbeddedLinks + /// InlineResponse20011EmbeddedLinks /// [DataContract] - public partial class InlineResponse20010EmbeddedLinks : IEquatable, IValidatableObject + public partial class InlineResponse20011EmbeddedLinks : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Reports. - public InlineResponse20010EmbeddedLinks(List Reports = default(List)) + public InlineResponse20011EmbeddedLinks(List Reports = default(List)) { this.Reports = Reports; } @@ -43,7 +43,7 @@ public partial class InlineResponse20010EmbeddedLinks : IEquatable [DataMember(Name="reports", EmitDefaultValue=false)] - public List Reports { get; set; } + public List Reports { get; set; } /// /// Returns the string presentation of the object @@ -52,7 +52,7 @@ public partial class InlineResponse20010EmbeddedLinks : IEquatable - /// Returns true if InlineResponse20010EmbeddedLinks instances are equal + /// Returns true if InlineResponse20011EmbeddedLinks instances are equal /// - /// Instance of InlineResponse20010EmbeddedLinks to be compared + /// Instance of InlineResponse20011EmbeddedLinks to be compared /// Boolean - public bool Equals(InlineResponse20010EmbeddedLinks other) + public bool Equals(InlineResponse20011EmbeddedLinks other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedLinksReports.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedLinksReports.cs similarity index 87% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedLinksReports.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedLinksReports.cs index 61f2f45f..9515ca1a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedLinksReports.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedLinksReports.cs @@ -28,13 +28,13 @@ namespace CyberSource.Model /// Retrieve the generated report of a batch when available. /// [DataContract] - public partial class InlineResponse20010EmbeddedLinksReports : IEquatable, IValidatableObject + public partial class InlineResponse20011EmbeddedLinksReports : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Href. - public InlineResponse20010EmbeddedLinksReports(string Href = default(string)) + public InlineResponse20011EmbeddedLinksReports(string Href = default(string)) { this.Href = Href; } @@ -52,7 +52,7 @@ public partial class InlineResponse20010EmbeddedLinksReports : IEquatable - /// Returns true if InlineResponse20010EmbeddedLinksReports instances are equal + /// Returns true if InlineResponse20011EmbeddedLinksReports instances are equal /// - /// Instance of InlineResponse20010EmbeddedLinksReports to be compared + /// Instance of InlineResponse20011EmbeddedLinksReports to be compared /// Boolean - public bool Equals(InlineResponse20010EmbeddedLinksReports other) + public bool Equals(InlineResponse20011EmbeddedLinksReports other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedTotals.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedTotals.cs similarity index 92% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedTotals.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedTotals.cs index 6de4c480..66f459ad 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010EmbeddedTotals.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011EmbeddedTotals.cs @@ -25,20 +25,20 @@ namespace CyberSource.Model { /// - /// InlineResponse20010EmbeddedTotals + /// InlineResponse20011EmbeddedTotals /// [DataContract] - public partial class InlineResponse20010EmbeddedTotals : IEquatable, IValidatableObject + public partial class InlineResponse20011EmbeddedTotals : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// AcceptedRecords. /// RejectedRecords. /// UpdatedRecords. /// CaResponses. /// CaResponsesOmitted. - public InlineResponse20010EmbeddedTotals(int? AcceptedRecords = default(int?), int? RejectedRecords = default(int?), int? UpdatedRecords = default(int?), int? CaResponses = default(int?), int? CaResponsesOmitted = default(int?)) + public InlineResponse20011EmbeddedTotals(int? AcceptedRecords = default(int?), int? RejectedRecords = default(int?), int? UpdatedRecords = default(int?), int? CaResponses = default(int?), int? CaResponsesOmitted = default(int?)) { this.AcceptedRecords = AcceptedRecords; this.RejectedRecords = RejectedRecords; @@ -84,7 +84,7 @@ public partial class InlineResponse20010EmbeddedTotals : IEquatable - /// Returns true if InlineResponse20010EmbeddedTotals instances are equal + /// Returns true if InlineResponse20011EmbeddedTotals instances are equal /// - /// Instance of InlineResponse20010EmbeddedTotals to be compared + /// Instance of InlineResponse20011EmbeddedTotals to be compared /// Boolean - public bool Equals(InlineResponse20010EmbeddedTotals other) + public bool Equals(InlineResponse20011EmbeddedTotals other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Links.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Links.cs index 24b2dc61..68b01d81 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Links.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Links.cs @@ -33,25 +33,26 @@ public partial class InlineResponse20011Links : IEquatable /// Initializes a new instance of the class. /// - /// Self. - /// Report. - public InlineResponse20011Links(InlineResponse202LinksStatus Self = default(InlineResponse202LinksStatus), List Report = default(List)) + /// Valid Values: * self * first * last * prev * next . + /// Href. + public InlineResponse20011Links(string Rel = default(string), string Href = default(string)) { - this.Self = Self; - this.Report = Report; + this.Rel = Rel; + this.Href = Href; } /// - /// Gets or Sets Self + /// Valid Values: * self * first * last * prev * next /// - [DataMember(Name="self", EmitDefaultValue=false)] - public InlineResponse202LinksStatus Self { get; set; } + /// Valid Values: * self * first * last * prev * next + [DataMember(Name="rel", EmitDefaultValue=false)] + public string Rel { get; set; } /// - /// Gets or Sets Report + /// Gets or Sets Href /// - [DataMember(Name="report", EmitDefaultValue=false)] - public List Report { get; set; } + [DataMember(Name="href", EmitDefaultValue=false)] + public string Href { get; set; } /// /// Returns the string presentation of the object @@ -61,8 +62,8 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20011Links {\n"); - if (Self != null) sb.Append(" Self: ").Append(Self).Append("\n"); - if (Report != null) sb.Append(" Report: ").Append(Report).Append("\n"); + if (Rel != null) sb.Append(" Rel: ").Append(Rel).Append("\n"); + if (Href != null) sb.Append(" Href: ").Append(Href).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -100,14 +101,14 @@ public bool Equals(InlineResponse20011Links other) return ( - this.Self == other.Self || - this.Self != null && - this.Self.Equals(other.Self) + this.Rel == other.Rel || + this.Rel != null && + this.Rel.Equals(other.Rel) ) && ( - this.Report == other.Report || - this.Report != null && - this.Report.SequenceEqual(other.Report) + this.Href == other.Href || + this.Href != null && + this.Href.Equals(other.Href) ); } @@ -122,10 +123,10 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Self != null) - hash = hash * 59 + this.Self.GetHashCode(); - if (this.Report != null) - hash = hash * 59 + this.Report.GetHashCode(); + if (this.Rel != null) + hash = hash * 59 + this.Rel.GetHashCode(); + if (this.Href != null) + hash = hash * 59 + this.Href.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012.cs index 7ab4f190..5fa45ed5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012.cs @@ -33,42 +33,35 @@ public partial class InlineResponse20012 : IEquatable, IVa /// /// Initializes a new instance of the class. /// - /// Version. - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. + /// Links. /// Unique identification number assigned to the submitted request.. - /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE . - /// BatchCaEndpoints. /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE . /// Reference used by merchant to identify batch.. + /// BatchCaEndpoints. + /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED . /// Totals. /// Billing. - /// Records. - public InlineResponse20012(string Version = default(string), string ReportCreatedDate = default(string), string BatchId = default(string), string BatchSource = default(string), string BatchCaEndpoints = default(string), string BatchCreatedDate = default(string), string MerchantReference = default(string), InlineResponse20010EmbeddedTotals Totals = default(InlineResponse20010EmbeddedTotals), InlineResponse20011Billing Billing = default(InlineResponse20011Billing), List Records = default(List)) + /// Description. + public InlineResponse20012(InlineResponse20012Links Links = default(InlineResponse20012Links), string BatchId = default(string), string BatchCreatedDate = default(string), string BatchSource = default(string), string MerchantReference = default(string), string BatchCaEndpoints = default(string), string Status = default(string), InlineResponse20011EmbeddedTotals Totals = default(InlineResponse20011EmbeddedTotals), InlineResponse20012Billing Billing = default(InlineResponse20012Billing), string Description = default(string)) { - this.Version = Version; - this.ReportCreatedDate = ReportCreatedDate; + this.Links = Links; this.BatchId = BatchId; - this.BatchSource = BatchSource; - this.BatchCaEndpoints = BatchCaEndpoints; this.BatchCreatedDate = BatchCreatedDate; + this.BatchSource = BatchSource; this.MerchantReference = MerchantReference; + this.BatchCaEndpoints = BatchCaEndpoints; + this.Status = Status; this.Totals = Totals; this.Billing = Billing; - this.Records = Records; + this.Description = Description; } /// - /// Gets or Sets Version - /// - [DataMember(Name="version", EmitDefaultValue=false)] - public string Version { get; set; } - - /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// Gets or Sets Links /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - [DataMember(Name="reportCreatedDate", EmitDefaultValue=false)] - public string ReportCreatedDate { get; set; } + [DataMember(Name="_links", EmitDefaultValue=false)] + public InlineResponse20012Links Links { get; set; } /// /// Unique identification number assigned to the submitted request. @@ -77,6 +70,13 @@ public partial class InlineResponse20012 : IEquatable, IVa [DataMember(Name="batchId", EmitDefaultValue=false)] public string BatchId { get; set; } + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + [DataMember(Name="batchCreatedDate", EmitDefaultValue=false)] + public string BatchCreatedDate { get; set; } + /// /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE /// @@ -85,42 +85,42 @@ public partial class InlineResponse20012 : IEquatable, IVa public string BatchSource { get; set; } /// - /// Gets or Sets BatchCaEndpoints + /// Reference used by merchant to identify batch. /// - [DataMember(Name="batchCaEndpoints", EmitDefaultValue=false)] - public string BatchCaEndpoints { get; set; } + /// Reference used by merchant to identify batch. + [DataMember(Name="merchantReference", EmitDefaultValue=false)] + public string MerchantReference { get; set; } /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// Gets or Sets BatchCaEndpoints /// - /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ - [DataMember(Name="batchCreatedDate", EmitDefaultValue=false)] - public string BatchCreatedDate { get; set; } + [DataMember(Name="batchCaEndpoints", EmitDefaultValue=false)] + public string BatchCaEndpoints { get; set; } /// - /// Reference used by merchant to identify batch. + /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED /// - /// Reference used by merchant to identify batch. - [DataMember(Name="merchantReference", EmitDefaultValue=false)] - public string MerchantReference { get; set; } + /// Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } /// /// Gets or Sets Totals /// [DataMember(Name="totals", EmitDefaultValue=false)] - public InlineResponse20010EmbeddedTotals Totals { get; set; } + public InlineResponse20011EmbeddedTotals Totals { get; set; } /// /// Gets or Sets Billing /// [DataMember(Name="billing", EmitDefaultValue=false)] - public InlineResponse20011Billing Billing { get; set; } + public InlineResponse20012Billing Billing { get; set; } /// - /// Gets or Sets Records + /// Gets or Sets Description /// - [DataMember(Name="records", EmitDefaultValue=false)] - public List Records { get; set; } + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } /// /// Returns the string presentation of the object @@ -130,16 +130,16 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20012 {\n"); - if (Version != null) sb.Append(" Version: ").Append(Version).Append("\n"); - if (ReportCreatedDate != null) sb.Append(" ReportCreatedDate: ").Append(ReportCreatedDate).Append("\n"); + if (Links != null) sb.Append(" Links: ").Append(Links).Append("\n"); if (BatchId != null) sb.Append(" BatchId: ").Append(BatchId).Append("\n"); - if (BatchSource != null) sb.Append(" BatchSource: ").Append(BatchSource).Append("\n"); - if (BatchCaEndpoints != null) sb.Append(" BatchCaEndpoints: ").Append(BatchCaEndpoints).Append("\n"); if (BatchCreatedDate != null) sb.Append(" BatchCreatedDate: ").Append(BatchCreatedDate).Append("\n"); + if (BatchSource != null) sb.Append(" BatchSource: ").Append(BatchSource).Append("\n"); if (MerchantReference != null) sb.Append(" MerchantReference: ").Append(MerchantReference).Append("\n"); + if (BatchCaEndpoints != null) sb.Append(" BatchCaEndpoints: ").Append(BatchCaEndpoints).Append("\n"); + if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); if (Totals != null) sb.Append(" Totals: ").Append(Totals).Append("\n"); if (Billing != null) sb.Append(" Billing: ").Append(Billing).Append("\n"); - if (Records != null) sb.Append(" Records: ").Append(Records).Append("\n"); + if (Description != null) sb.Append(" Description: ").Append(Description).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -177,39 +177,39 @@ public bool Equals(InlineResponse20012 other) return ( - this.Version == other.Version || - this.Version != null && - this.Version.Equals(other.Version) - ) && - ( - this.ReportCreatedDate == other.ReportCreatedDate || - this.ReportCreatedDate != null && - this.ReportCreatedDate.Equals(other.ReportCreatedDate) + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) ) && ( this.BatchId == other.BatchId || this.BatchId != null && this.BatchId.Equals(other.BatchId) ) && + ( + this.BatchCreatedDate == other.BatchCreatedDate || + this.BatchCreatedDate != null && + this.BatchCreatedDate.Equals(other.BatchCreatedDate) + ) && ( this.BatchSource == other.BatchSource || this.BatchSource != null && this.BatchSource.Equals(other.BatchSource) ) && + ( + this.MerchantReference == other.MerchantReference || + this.MerchantReference != null && + this.MerchantReference.Equals(other.MerchantReference) + ) && ( this.BatchCaEndpoints == other.BatchCaEndpoints || this.BatchCaEndpoints != null && this.BatchCaEndpoints.Equals(other.BatchCaEndpoints) ) && ( - this.BatchCreatedDate == other.BatchCreatedDate || - this.BatchCreatedDate != null && - this.BatchCreatedDate.Equals(other.BatchCreatedDate) - ) && - ( - this.MerchantReference == other.MerchantReference || - this.MerchantReference != null && - this.MerchantReference.Equals(other.MerchantReference) + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) ) && ( this.Totals == other.Totals || @@ -222,9 +222,9 @@ public bool Equals(InlineResponse20012 other) this.Billing.Equals(other.Billing) ) && ( - this.Records == other.Records || - this.Records != null && - this.Records.SequenceEqual(other.Records) + this.Description == other.Description || + this.Description != null && + this.Description.Equals(other.Description) ); } @@ -239,26 +239,26 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Version != null) - hash = hash * 59 + this.Version.GetHashCode(); - if (this.ReportCreatedDate != null) - hash = hash * 59 + this.ReportCreatedDate.GetHashCode(); + if (this.Links != null) + hash = hash * 59 + this.Links.GetHashCode(); if (this.BatchId != null) hash = hash * 59 + this.BatchId.GetHashCode(); - if (this.BatchSource != null) - hash = hash * 59 + this.BatchSource.GetHashCode(); - if (this.BatchCaEndpoints != null) - hash = hash * 59 + this.BatchCaEndpoints.GetHashCode(); if (this.BatchCreatedDate != null) hash = hash * 59 + this.BatchCreatedDate.GetHashCode(); + if (this.BatchSource != null) + hash = hash * 59 + this.BatchSource.GetHashCode(); if (this.MerchantReference != null) hash = hash * 59 + this.MerchantReference.GetHashCode(); + if (this.BatchCaEndpoints != null) + hash = hash * 59 + this.BatchCaEndpoints.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); if (this.Totals != null) hash = hash * 59 + this.Totals.GetHashCode(); if (this.Billing != null) hash = hash * 59 + this.Billing.GetHashCode(); - if (this.Records != null) - hash = hash * 59 + this.Records.GetHashCode(); + if (this.Description != null) + hash = hash * 59 + this.Description.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Billing.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Billing.cs similarity index 90% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Billing.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Billing.cs index f6d12ba8..7eea674e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011Billing.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Billing.cs @@ -25,19 +25,19 @@ namespace CyberSource.Model { /// - /// InlineResponse20011Billing + /// InlineResponse20012Billing /// [DataContract] - public partial class InlineResponse20011Billing : IEquatable, IValidatableObject + public partial class InlineResponse20012Billing : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Nan. /// Ned. /// Acl. /// Cch. - public InlineResponse20011Billing(int? Nan = default(int?), int? Ned = default(int?), int? Acl = default(int?), int? Cch = default(int?)) + public InlineResponse20012Billing(int? Nan = default(int?), int? Ned = default(int?), int? Acl = default(int?), int? Cch = default(int?)) { this.Nan = Nan; this.Ned = Ned; @@ -76,7 +76,7 @@ public partial class InlineResponse20011Billing : IEquatable - /// Returns true if InlineResponse20011Billing instances are equal + /// Returns true if InlineResponse20012Billing instances are equal /// - /// Instance of InlineResponse20011Billing to be compared + /// Instance of InlineResponse20012Billing to be compared /// Boolean - public bool Equals(InlineResponse20011Billing other) + public bool Equals(InlineResponse20012Billing other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Links.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Links.cs new file mode 100644 index 00000000..8355c3c2 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Links.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 +{ + /// + /// InlineResponse20012Links + /// + [DataContract] + public partial class InlineResponse20012Links : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Self. + /// Report. + public InlineResponse20012Links(InlineResponse202LinksStatus Self = default(InlineResponse202LinksStatus), List Report = default(List)) + { + this.Self = Self; + this.Report = Report; + } + + /// + /// Gets or Sets Self + /// + [DataMember(Name="self", EmitDefaultValue=false)] + public InlineResponse202LinksStatus Self { get; set; } + + /// + /// Gets or Sets Report + /// + [DataMember(Name="report", EmitDefaultValue=false)] + public List Report { 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 InlineResponse20012Links {\n"); + if (Self != null) sb.Append(" Self: ").Append(Self).Append("\n"); + if (Report != null) sb.Append(" Report: ").Append(Report).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 InlineResponse20012Links); + } + + /// + /// Returns true if InlineResponse20012Links instances are equal + /// + /// Instance of InlineResponse20012Links to be compared + /// Boolean + public bool Equals(InlineResponse20012Links 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) + ) && + ( + this.Report == other.Report || + this.Report != null && + this.Report.SequenceEqual(other.Report) + ); + } + + /// + /// 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(); + if (this.Report != null) + hash = hash * 59 + this.Report.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-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011LinksReport.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012LinksReport.cs similarity index 86% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011LinksReport.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012LinksReport.cs index 071a04a7..26ab4b5f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20011LinksReport.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012LinksReport.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// InlineResponse20011LinksReport + /// InlineResponse20012LinksReport /// [DataContract] - public partial class InlineResponse20011LinksReport : IEquatable, IValidatableObject + public partial class InlineResponse20012LinksReport : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Href. - public InlineResponse20011LinksReport(string Href = default(string)) + public InlineResponse20012LinksReport(string Href = default(string)) { this.Href = Href; } @@ -52,7 +52,7 @@ public partial class InlineResponse20011LinksReport : IEquatable - /// Returns true if InlineResponse20011LinksReport instances are equal + /// Returns true if InlineResponse20012LinksReport instances are equal /// - /// Instance of InlineResponse20011LinksReport to be compared + /// Instance of InlineResponse20012LinksReport to be compared /// Boolean - public bool Equals(InlineResponse20011LinksReport other) + public bool Equals(InlineResponse20012LinksReport other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013.cs index edc08d71..1390a7ff 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013.cs @@ -33,43 +33,94 @@ public partial class InlineResponse20013 : IEquatable, IVa /// /// Initializes a new instance of the class. /// - /// ClientReferenceInformation. - /// Request Id sent as part of the request.. - /// Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) . - /// BankAccountValidation. - public InlineResponse20013(Bavsv1accountvalidationsClientReferenceInformation ClientReferenceInformation = default(Bavsv1accountvalidationsClientReferenceInformation), string RequestId = default(string), string SubmitTimeUtc = default(string), TssV2TransactionsGet200ResponseBankAccountValidation BankAccountValidation = default(TssV2TransactionsGet200ResponseBankAccountValidation)) + /// Version. + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. + /// Unique identification number assigned to the submitted request.. + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE . + /// BatchCaEndpoints. + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ. + /// Reference used by merchant to identify batch.. + /// Totals. + /// Billing. + /// Records. + public InlineResponse20013(string Version = default(string), string ReportCreatedDate = default(string), string BatchId = default(string), string BatchSource = default(string), string BatchCaEndpoints = default(string), string BatchCreatedDate = default(string), string MerchantReference = default(string), InlineResponse20011EmbeddedTotals Totals = default(InlineResponse20011EmbeddedTotals), InlineResponse20012Billing Billing = default(InlineResponse20012Billing), List Records = default(List)) { - this.ClientReferenceInformation = ClientReferenceInformation; - this.RequestId = RequestId; - this.SubmitTimeUtc = SubmitTimeUtc; - this.BankAccountValidation = BankAccountValidation; + this.Version = Version; + this.ReportCreatedDate = ReportCreatedDate; + this.BatchId = BatchId; + this.BatchSource = BatchSource; + this.BatchCaEndpoints = BatchCaEndpoints; + this.BatchCreatedDate = BatchCreatedDate; + this.MerchantReference = MerchantReference; + this.Totals = Totals; + this.Billing = Billing; + this.Records = Records; } /// - /// Gets or Sets ClientReferenceInformation + /// Gets or Sets Version /// - [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] - public Bavsv1accountvalidationsClientReferenceInformation ClientReferenceInformation { get; set; } + [DataMember(Name="version", EmitDefaultValue=false)] + public string Version { get; set; } /// - /// Request Id sent as part of the request. + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ /// - /// Request Id sent as part of the request. - [DataMember(Name="requestId", EmitDefaultValue=false)] - public string RequestId { get; set; } + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + [DataMember(Name="reportCreatedDate", EmitDefaultValue=false)] + public string ReportCreatedDate { get; set; } /// - /// Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) + /// Unique identification number assigned to the submitted request. /// - /// Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) - [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] - public string SubmitTimeUtc { get; set; } + /// Unique identification number assigned to the submitted request. + [DataMember(Name="batchId", EmitDefaultValue=false)] + public string BatchId { get; set; } /// - /// Gets or Sets BankAccountValidation + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE /// - [DataMember(Name="bankAccountValidation", EmitDefaultValue=false)] - public TssV2TransactionsGet200ResponseBankAccountValidation BankAccountValidation { get; set; } + /// Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE + [DataMember(Name="batchSource", EmitDefaultValue=false)] + public string BatchSource { get; set; } + + /// + /// Gets or Sets BatchCaEndpoints + /// + [DataMember(Name="batchCaEndpoints", EmitDefaultValue=false)] + public string BatchCaEndpoints { get; set; } + + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + /// + /// ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ + [DataMember(Name="batchCreatedDate", EmitDefaultValue=false)] + public string BatchCreatedDate { get; set; } + + /// + /// Reference used by merchant to identify batch. + /// + /// Reference used by merchant to identify batch. + [DataMember(Name="merchantReference", EmitDefaultValue=false)] + public string MerchantReference { get; set; } + + /// + /// Gets or Sets Totals + /// + [DataMember(Name="totals", EmitDefaultValue=false)] + public InlineResponse20011EmbeddedTotals Totals { get; set; } + + /// + /// Gets or Sets Billing + /// + [DataMember(Name="billing", EmitDefaultValue=false)] + public InlineResponse20012Billing Billing { get; set; } + + /// + /// Gets or Sets Records + /// + [DataMember(Name="records", EmitDefaultValue=false)] + public List Records { get; set; } /// /// Returns the string presentation of the object @@ -79,10 +130,16 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse20013 {\n"); - if (ClientReferenceInformation != null) sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); - if (RequestId != null) sb.Append(" RequestId: ").Append(RequestId).Append("\n"); - if (SubmitTimeUtc != null) sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); - if (BankAccountValidation != null) sb.Append(" BankAccountValidation: ").Append(BankAccountValidation).Append("\n"); + if (Version != null) sb.Append(" Version: ").Append(Version).Append("\n"); + if (ReportCreatedDate != null) sb.Append(" ReportCreatedDate: ").Append(ReportCreatedDate).Append("\n"); + if (BatchId != null) sb.Append(" BatchId: ").Append(BatchId).Append("\n"); + if (BatchSource != null) sb.Append(" BatchSource: ").Append(BatchSource).Append("\n"); + if (BatchCaEndpoints != null) sb.Append(" BatchCaEndpoints: ").Append(BatchCaEndpoints).Append("\n"); + if (BatchCreatedDate != null) sb.Append(" BatchCreatedDate: ").Append(BatchCreatedDate).Append("\n"); + if (MerchantReference != null) sb.Append(" MerchantReference: ").Append(MerchantReference).Append("\n"); + if (Totals != null) sb.Append(" Totals: ").Append(Totals).Append("\n"); + if (Billing != null) sb.Append(" Billing: ").Append(Billing).Append("\n"); + if (Records != null) sb.Append(" Records: ").Append(Records).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -120,24 +177,54 @@ public bool Equals(InlineResponse20013 other) return ( - this.ClientReferenceInformation == other.ClientReferenceInformation || - this.ClientReferenceInformation != null && - this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + this.Version == other.Version || + this.Version != null && + this.Version.Equals(other.Version) + ) && + ( + this.ReportCreatedDate == other.ReportCreatedDate || + this.ReportCreatedDate != null && + this.ReportCreatedDate.Equals(other.ReportCreatedDate) + ) && + ( + this.BatchId == other.BatchId || + this.BatchId != null && + this.BatchId.Equals(other.BatchId) + ) && + ( + this.BatchSource == other.BatchSource || + this.BatchSource != null && + this.BatchSource.Equals(other.BatchSource) + ) && + ( + this.BatchCaEndpoints == other.BatchCaEndpoints || + this.BatchCaEndpoints != null && + this.BatchCaEndpoints.Equals(other.BatchCaEndpoints) + ) && + ( + this.BatchCreatedDate == other.BatchCreatedDate || + this.BatchCreatedDate != null && + this.BatchCreatedDate.Equals(other.BatchCreatedDate) + ) && + ( + this.MerchantReference == other.MerchantReference || + this.MerchantReference != null && + this.MerchantReference.Equals(other.MerchantReference) ) && ( - this.RequestId == other.RequestId || - this.RequestId != null && - this.RequestId.Equals(other.RequestId) + this.Totals == other.Totals || + this.Totals != null && + this.Totals.Equals(other.Totals) ) && ( - this.SubmitTimeUtc == other.SubmitTimeUtc || - this.SubmitTimeUtc != null && - this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + this.Billing == other.Billing || + this.Billing != null && + this.Billing.Equals(other.Billing) ) && ( - this.BankAccountValidation == other.BankAccountValidation || - this.BankAccountValidation != null && - this.BankAccountValidation.Equals(other.BankAccountValidation) + this.Records == other.Records || + this.Records != null && + this.Records.SequenceEqual(other.Records) ); } @@ -152,14 +239,26 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.ClientReferenceInformation != null) - hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); - if (this.RequestId != null) - hash = hash * 59 + this.RequestId.GetHashCode(); - if (this.SubmitTimeUtc != null) - hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); - if (this.BankAccountValidation != null) - hash = hash * 59 + this.BankAccountValidation.GetHashCode(); + if (this.Version != null) + hash = hash * 59 + this.Version.GetHashCode(); + if (this.ReportCreatedDate != null) + hash = hash * 59 + this.ReportCreatedDate.GetHashCode(); + if (this.BatchId != null) + hash = hash * 59 + this.BatchId.GetHashCode(); + if (this.BatchSource != null) + hash = hash * 59 + this.BatchSource.GetHashCode(); + if (this.BatchCaEndpoints != null) + hash = hash * 59 + this.BatchCaEndpoints.GetHashCode(); + if (this.BatchCreatedDate != null) + hash = hash * 59 + this.BatchCreatedDate.GetHashCode(); + if (this.MerchantReference != null) + hash = hash * 59 + this.MerchantReference.GetHashCode(); + if (this.Totals != null) + hash = hash * 59 + this.Totals.GetHashCode(); + if (this.Billing != null) + hash = hash * 59 + this.Billing.GetHashCode(); + if (this.Records != null) + hash = hash * 59 + this.Records.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Records.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013Records.cs similarity index 85% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Records.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013Records.cs index 238601ea..6fe9bc42 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012Records.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013Records.cs @@ -25,18 +25,18 @@ namespace CyberSource.Model { /// - /// InlineResponse20012Records + /// InlineResponse20013Records /// [DataContract] - public partial class InlineResponse20012Records : IEquatable, IValidatableObject + public partial class InlineResponse20013Records : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Id. /// SourceRecord. /// ResponseRecord. - public InlineResponse20012Records(string Id = default(string), InlineResponse20012SourceRecord SourceRecord = default(InlineResponse20012SourceRecord), InlineResponse20012ResponseRecord ResponseRecord = default(InlineResponse20012ResponseRecord)) + public InlineResponse20013Records(string Id = default(string), InlineResponse20013SourceRecord SourceRecord = default(InlineResponse20013SourceRecord), InlineResponse20013ResponseRecord ResponseRecord = default(InlineResponse20013ResponseRecord)) { this.Id = Id; this.SourceRecord = SourceRecord; @@ -53,13 +53,13 @@ public partial class InlineResponse20012Records : IEquatable [DataMember(Name="sourceRecord", EmitDefaultValue=false)] - public InlineResponse20012SourceRecord SourceRecord { get; set; } + public InlineResponse20013SourceRecord SourceRecord { get; set; } /// /// Gets or Sets ResponseRecord /// [DataMember(Name="responseRecord", EmitDefaultValue=false)] - public InlineResponse20012ResponseRecord ResponseRecord { get; set; } + public InlineResponse20013ResponseRecord ResponseRecord { get; set; } /// /// Returns the string presentation of the object @@ -68,7 +68,7 @@ public partial class InlineResponse20012Records : IEquatable - /// Returns true if InlineResponse20012Records instances are equal + /// Returns true if InlineResponse20013Records instances are equal /// - /// Instance of InlineResponse20012Records to be compared + /// Instance of InlineResponse20013Records to be compared /// Boolean - public bool Equals(InlineResponse20012Records other) + public bool Equals(InlineResponse20013Records other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012ResponseRecord.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013ResponseRecord.cs similarity index 93% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012ResponseRecord.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013ResponseRecord.cs index 826d84ac..62110907 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012ResponseRecord.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013ResponseRecord.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// InlineResponse20012ResponseRecord + /// InlineResponse20013ResponseRecord /// [DataContract] - public partial class InlineResponse20012ResponseRecord : IEquatable, IValidatableObject + public partial class InlineResponse20013ResponseRecord : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Valid Values: * NAN * NED * ACL * CCH * CUR * NUP * UNA * ERR * DEC . /// Reason. @@ -43,7 +43,7 @@ public partial class InlineResponse20012ResponseRecord : IEquatableCardExpiryYear. /// CardType. /// AdditionalUpdates. - public InlineResponse20012ResponseRecord(string Response = default(string), string Reason = default(string), string Token = default(string), string InstrumentIdentifierId = default(string), string InstrumentIdentifierCreated = default(string), string CardNumber = default(string), string CardExpiryMonth = default(string), string CardExpiryYear = default(string), string CardType = default(string), List AdditionalUpdates = default(List)) + public InlineResponse20013ResponseRecord(string Response = default(string), string Reason = default(string), string Token = default(string), string InstrumentIdentifierId = default(string), string InstrumentIdentifierCreated = default(string), string CardNumber = default(string), string CardExpiryMonth = default(string), string CardExpiryYear = default(string), string CardType = default(string), List AdditionalUpdates = default(List)) { this.Response = Response; this.Reason = Reason; @@ -117,7 +117,7 @@ public partial class InlineResponse20012ResponseRecord : IEquatable [DataMember(Name="additionalUpdates", EmitDefaultValue=false)] - public List AdditionalUpdates { get; set; } + public List AdditionalUpdates { get; set; } /// /// Returns the string presentation of the object @@ -126,7 +126,7 @@ public partial class InlineResponse20012ResponseRecord : IEquatable - /// Returns true if InlineResponse20012ResponseRecord instances are equal + /// Returns true if InlineResponse20013ResponseRecord instances are equal /// - /// Instance of InlineResponse20012ResponseRecord to be compared + /// Instance of InlineResponse20013ResponseRecord to be compared /// Boolean - public bool Equals(InlineResponse20012ResponseRecord other) + public bool Equals(InlineResponse20013ResponseRecord other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012ResponseRecordAdditionalUpdates.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013ResponseRecordAdditionalUpdates.cs similarity index 91% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012ResponseRecordAdditionalUpdates.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013ResponseRecordAdditionalUpdates.cs index a6fbf6f9..1d629bc7 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012ResponseRecordAdditionalUpdates.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013ResponseRecordAdditionalUpdates.cs @@ -25,20 +25,20 @@ namespace CyberSource.Model { /// - /// InlineResponse20012ResponseRecordAdditionalUpdates + /// InlineResponse20013ResponseRecordAdditionalUpdates /// [DataContract] - public partial class InlineResponse20012ResponseRecordAdditionalUpdates : IEquatable, IValidatableObject + public partial class InlineResponse20013ResponseRecordAdditionalUpdates : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// CustomerId. /// PaymentInstrumentId. /// Creator. /// Valid Values: * ACTIVE * CLOSED . /// Message. - public InlineResponse20012ResponseRecordAdditionalUpdates(string CustomerId = default(string), string PaymentInstrumentId = default(string), string Creator = default(string), string State = default(string), string Message = default(string)) + public InlineResponse20013ResponseRecordAdditionalUpdates(string CustomerId = default(string), string PaymentInstrumentId = default(string), string Creator = default(string), string State = default(string), string Message = default(string)) { this.CustomerId = CustomerId; this.PaymentInstrumentId = PaymentInstrumentId; @@ -85,7 +85,7 @@ public partial class InlineResponse20012ResponseRecordAdditionalUpdates : IEqua public override string ToString() { var sb = new StringBuilder(); - sb.Append("class InlineResponse20012ResponseRecordAdditionalUpdates {\n"); + sb.Append("class InlineResponse20013ResponseRecordAdditionalUpdates {\n"); if (CustomerId != null) sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); if (PaymentInstrumentId != null) sb.Append(" PaymentInstrumentId: ").Append(PaymentInstrumentId).Append("\n"); if (Creator != null) sb.Append(" Creator: ").Append(Creator).Append("\n"); @@ -112,15 +112,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as InlineResponse20012ResponseRecordAdditionalUpdates); + return this.Equals(obj as InlineResponse20013ResponseRecordAdditionalUpdates); } /// - /// Returns true if InlineResponse20012ResponseRecordAdditionalUpdates instances are equal + /// Returns true if InlineResponse20013ResponseRecordAdditionalUpdates instances are equal /// - /// Instance of InlineResponse20012ResponseRecordAdditionalUpdates to be compared + /// Instance of InlineResponse20013ResponseRecordAdditionalUpdates to be compared /// Boolean - public bool Equals(InlineResponse20012ResponseRecordAdditionalUpdates other) + public bool Equals(InlineResponse20013ResponseRecordAdditionalUpdates other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012SourceRecord.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013SourceRecord.cs similarity index 94% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012SourceRecord.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013SourceRecord.cs index 86b009b0..3e815963 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20012SourceRecord.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20013SourceRecord.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// InlineResponse20012SourceRecord + /// InlineResponse20013SourceRecord /// [DataContract] - public partial class InlineResponse20012SourceRecord : IEquatable, IValidatableObject + public partial class InlineResponse20013SourceRecord : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Token. /// CustomerId. @@ -41,7 +41,7 @@ public partial class InlineResponse20012SourceRecord : IEquatableCardExpiryMonth. /// CardExpiryYear. /// CardType. - public InlineResponse20012SourceRecord(string Token = default(string), string CustomerId = default(string), string PaymentInstrumentId = default(string), string InstrumentIdentifierId = default(string), string CardNumber = default(string), string CardExpiryMonth = default(string), string CardExpiryYear = default(string), string CardType = default(string)) + public InlineResponse20013SourceRecord(string Token = default(string), string CustomerId = default(string), string PaymentInstrumentId = default(string), string InstrumentIdentifierId = default(string), string CardNumber = default(string), string CardExpiryMonth = default(string), string CardExpiryYear = default(string), string CardType = default(string)) { this.Token = Token; this.CustomerId = CustomerId; @@ -108,7 +108,7 @@ public partial class InlineResponse20012SourceRecord : IEquatable - /// Returns true if InlineResponse20012SourceRecord instances are equal + /// Returns true if InlineResponse20013SourceRecord instances are equal /// - /// Instance of InlineResponse20012SourceRecord to be compared + /// Instance of InlineResponse20013SourceRecord to be compared /// Boolean - public bool Equals(InlineResponse20012SourceRecord other) + public bool Equals(InlineResponse20013SourceRecord other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20014.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20014.cs index 45dfb085..9604aaab 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20014.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20014.cs @@ -30,68 +30,46 @@ namespace CyberSource.Model [DataContract] public partial class InlineResponse20014 : IEquatable, IValidatableObject { - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected InlineResponse20014() { } /// /// Initializes a new instance of the class. /// /// ClientReferenceInformation. - /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid (required). - /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. (required). - /// Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` (required). - /// ErrorInformation. - /// OrderInformation. - public InlineResponse20014(InlineResponse20014ClientReferenceInformation ClientReferenceInformation = default(InlineResponse20014ClientReferenceInformation), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), InlineResponse2018ErrorInformation ErrorInformation = default(InlineResponse2018ErrorInformation), InlineResponse2018OrderInformation OrderInformation = default(InlineResponse2018OrderInformation)) + /// Request Id sent as part of the request.. + /// Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) . + /// BankAccountValidation. + public InlineResponse20014(Bavsv1accountvalidationsClientReferenceInformation ClientReferenceInformation = default(Bavsv1accountvalidationsClientReferenceInformation), string RequestId = default(string), string SubmitTimeUtc = default(string), TssV2TransactionsGet200ResponseBankAccountValidation BankAccountValidation = default(TssV2TransactionsGet200ResponseBankAccountValidation)) { this.ClientReferenceInformation = ClientReferenceInformation; - this.Id = Id; + this.RequestId = RequestId; this.SubmitTimeUtc = SubmitTimeUtc; - this.Status = Status; - this.ErrorInformation = ErrorInformation; - this.OrderInformation = OrderInformation; + this.BankAccountValidation = BankAccountValidation; } /// /// Gets or Sets ClientReferenceInformation /// [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] - public InlineResponse20014ClientReferenceInformation ClientReferenceInformation { get; set; } + public Bavsv1accountvalidationsClientReferenceInformation ClientReferenceInformation { get; set; } /// - /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid + /// Request Id sent as part of the request. /// - /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid - [DataMember(Name="id", EmitDefaultValue=false)] - public string Id { get; set; } + /// Request Id sent as part of the request. + [DataMember(Name="requestId", EmitDefaultValue=false)] + public string RequestId { get; set; } /// - /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + /// Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) /// - /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + /// Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] public string SubmitTimeUtc { get; set; } /// - /// Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` + /// Gets or Sets BankAccountValidation /// - /// Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } - - /// - /// Gets or Sets ErrorInformation - /// - [DataMember(Name="errorInformation", EmitDefaultValue=false)] - public InlineResponse2018ErrorInformation ErrorInformation { get; set; } - - /// - /// Gets or Sets OrderInformation - /// - [DataMember(Name="orderInformation", EmitDefaultValue=false)] - public InlineResponse2018OrderInformation OrderInformation { get; set; } + [DataMember(Name="bankAccountValidation", EmitDefaultValue=false)] + public TssV2TransactionsGet200ResponseBankAccountValidation BankAccountValidation { get; set; } /// /// Returns the string presentation of the object @@ -102,11 +80,9 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse20014 {\n"); if (ClientReferenceInformation != null) sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); - if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); + if (RequestId != null) sb.Append(" RequestId: ").Append(RequestId).Append("\n"); if (SubmitTimeUtc != null) sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); - if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); - if (ErrorInformation != null) sb.Append(" ErrorInformation: ").Append(ErrorInformation).Append("\n"); - if (OrderInformation != null) sb.Append(" OrderInformation: ").Append(OrderInformation).Append("\n"); + if (BankAccountValidation != null) sb.Append(" BankAccountValidation: ").Append(BankAccountValidation).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -149,9 +125,9 @@ public bool Equals(InlineResponse20014 other) this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) ) && ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) + this.RequestId == other.RequestId || + this.RequestId != null && + this.RequestId.Equals(other.RequestId) ) && ( this.SubmitTimeUtc == other.SubmitTimeUtc || @@ -159,19 +135,9 @@ public bool Equals(InlineResponse20014 other) this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) ) && ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) - ) && - ( - this.ErrorInformation == other.ErrorInformation || - this.ErrorInformation != null && - this.ErrorInformation.Equals(other.ErrorInformation) - ) && - ( - this.OrderInformation == other.OrderInformation || - this.OrderInformation != null && - this.OrderInformation.Equals(other.OrderInformation) + this.BankAccountValidation == other.BankAccountValidation || + this.BankAccountValidation != null && + this.BankAccountValidation.Equals(other.BankAccountValidation) ); } @@ -188,16 +154,12 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (this.ClientReferenceInformation != null) hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); - if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); + if (this.RequestId != null) + hash = hash * 59 + this.RequestId.GetHashCode(); if (this.SubmitTimeUtc != null) hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); - if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); - if (this.ErrorInformation != null) - hash = hash * 59 + this.ErrorInformation.GetHashCode(); - if (this.OrderInformation != null) - hash = hash * 59 + this.OrderInformation.GetHashCode(); + if (this.BankAccountValidation != null) + hash = hash * 59 + this.BankAccountValidation.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20015.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20015.cs new file mode 100644 index 00000000..bc4f076b --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20015.cs @@ -0,0 +1,216 @@ +/* + * 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 +{ + /// + /// InlineResponse20015 + /// + [DataContract] + public partial class InlineResponse20015 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected InlineResponse20015() { } + /// + /// Initializes a new instance of the class. + /// + /// ClientReferenceInformation. + /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid (required). + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. (required). + /// Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` (required). + /// ErrorInformation. + /// OrderInformation. + public InlineResponse20015(InlineResponse20015ClientReferenceInformation ClientReferenceInformation = default(InlineResponse20015ClientReferenceInformation), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), InlineResponse2018ErrorInformation ErrorInformation = default(InlineResponse2018ErrorInformation), InlineResponse2018OrderInformation OrderInformation = default(InlineResponse2018OrderInformation)) + { + this.ClientReferenceInformation = ClientReferenceInformation; + this.Id = Id; + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.ErrorInformation = ErrorInformation; + this.OrderInformation = OrderInformation; + } + + /// + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public InlineResponse20015ClientReferenceInformation ClientReferenceInformation { get; set; } + + /// + /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid + /// + /// Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + /// + /// Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. + [DataMember(Name="submitTimeUtc", EmitDefaultValue=false)] + public string SubmitTimeUtc { get; set; } + + /// + /// Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` + /// + /// Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// Gets or Sets ErrorInformation + /// + [DataMember(Name="errorInformation", EmitDefaultValue=false)] + public InlineResponse2018ErrorInformation ErrorInformation { get; set; } + + /// + /// Gets or Sets OrderInformation + /// + [DataMember(Name="orderInformation", EmitDefaultValue=false)] + public InlineResponse2018OrderInformation OrderInformation { 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 InlineResponse20015 {\n"); + if (ClientReferenceInformation != null) sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); + if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); + if (SubmitTimeUtc != null) sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); + if (ErrorInformation != null) sb.Append(" ErrorInformation: ").Append(ErrorInformation).Append("\n"); + if (OrderInformation != null) sb.Append(" OrderInformation: ").Append(OrderInformation).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 InlineResponse20015); + } + + /// + /// Returns true if InlineResponse20015 instances are equal + /// + /// Instance of InlineResponse20015 to be compared + /// Boolean + public bool Equals(InlineResponse20015 other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + ) && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.ErrorInformation == other.ErrorInformation || + this.ErrorInformation != null && + this.ErrorInformation.Equals(other.ErrorInformation) + ) && + ( + this.OrderInformation == other.OrderInformation || + this.OrderInformation != null && + this.OrderInformation.Equals(other.OrderInformation) + ); + } + + /// + /// 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.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.ErrorInformation != null) + hash = hash * 59 + this.ErrorInformation.GetHashCode(); + if (this.OrderInformation != null) + hash = hash * 59 + this.OrderInformation.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-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20014ClientReferenceInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20015ClientReferenceInformation.cs similarity index 93% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20014ClientReferenceInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20015ClientReferenceInformation.cs index 8a85179a..3ed0054e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20014ClientReferenceInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20015ClientReferenceInformation.cs @@ -25,20 +25,20 @@ namespace CyberSource.Model { /// - /// InlineResponse20014ClientReferenceInformation + /// InlineResponse20015ClientReferenceInformation /// [DataContract] - public partial class InlineResponse20014ClientReferenceInformation : IEquatable, IValidatableObject + public partial class InlineResponse20015ClientReferenceInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. . /// 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.. /// 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.. /// Partner. - public InlineResponse20014ClientReferenceInformation(string Code = default(string), string ApplicationName = default(string), string ApplicationVersion = default(string), string ApplicationUser = default(string), Riskv1decisionsClientReferenceInformationPartner Partner = default(Riskv1decisionsClientReferenceInformationPartner)) + public InlineResponse20015ClientReferenceInformation(string Code = default(string), string ApplicationName = default(string), string ApplicationVersion = default(string), string ApplicationUser = default(string), Riskv1decisionsClientReferenceInformationPartner Partner = default(Riskv1decisionsClientReferenceInformationPartner)) { this.Code = Code; this.ApplicationName = ApplicationName; @@ -88,7 +88,7 @@ public partial class InlineResponse20014ClientReferenceInformation : IEquatable public override string ToString() { var sb = new StringBuilder(); - sb.Append("class InlineResponse20014ClientReferenceInformation {\n"); + sb.Append("class InlineResponse20015ClientReferenceInformation {\n"); if (Code != null) sb.Append(" Code: ").Append(Code).Append("\n"); if (ApplicationName != null) sb.Append(" ApplicationName: ").Append(ApplicationName).Append("\n"); if (ApplicationVersion != null) sb.Append(" ApplicationVersion: ").Append(ApplicationVersion).Append("\n"); @@ -115,15 +115,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as InlineResponse20014ClientReferenceInformation); + return this.Equals(obj as InlineResponse20015ClientReferenceInformation); } /// - /// Returns true if InlineResponse20014ClientReferenceInformation instances are equal + /// Returns true if InlineResponse20015ClientReferenceInformation instances are equal /// - /// Instance of InlineResponse20014ClientReferenceInformation to be compared + /// Instance of InlineResponse20015ClientReferenceInformation to be compared /// Boolean - public bool Equals(InlineResponse20014ClientReferenceInformation other) + public bool Equals(InlineResponse20015ClientReferenceInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Content.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001Content.cs similarity index 89% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Content.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001Content.cs index f2a6aed4..cf6f2910 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Content.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001Content.cs @@ -25,19 +25,19 @@ namespace CyberSource.Model { /// - /// InlineResponse200Content + /// InlineResponse2001Content /// [DataContract] - public partial class InlineResponse200Content : IEquatable, IValidatableObject + public partial class InlineResponse2001Content : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The MIME type of the Asset. . /// The base64-encoded data of the Asset. . /// The width of the Asset in pixels. . /// The height of the Asset in pixels. . - public InlineResponse200Content(string Type = default(string), string Data = default(string), int? Width = default(int?), int? Height = default(int?)) + public InlineResponse2001Content(string Type = default(string), string Data = default(string), int? Width = default(int?), int? Height = default(int?)) { this.Type = Type; this.Data = Data; @@ -80,7 +80,7 @@ public partial class InlineResponse200Content : IEquatable - /// Returns true if InlineResponse200Content instances are equal + /// Returns true if InlineResponse2001Content instances are equal /// - /// Instance of InlineResponse200Content to be compared + /// Instance of InlineResponse2001Content to be compared /// Boolean - public bool Equals(InlineResponse200Content other) + public bool Equals(InlineResponse2001Content other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002.cs index ed84a4e8..8f459b40 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002.cs @@ -33,105 +33,44 @@ public partial class InlineResponse2002 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Id. - /// FieldType. - /// Label. - /// CustomerVisible. - /// TextMinLength. - /// TextMaxLength. - /// PossibleValues. - /// TextDefaultValue. - /// MerchantId. - /// ReferenceType. - /// ReadOnly. - /// MerchantDefinedDataIndex. - public InlineResponse2002(long? Id = default(long?), string FieldType = default(string), string Label = default(string), bool? CustomerVisible = default(bool?), int? TextMinLength = default(int?), int? TextMaxLength = default(int?), string PossibleValues = default(string), string TextDefaultValue = default(string), string MerchantId = default(string), string ReferenceType = default(string), bool? ReadOnly = default(bool?), int? MerchantDefinedDataIndex = default(int?)) + /// UUID uniquely generated for this comments. . + /// 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 are: - `ACCEPTED` - `REJECTED` . + /// Embedded. + public InlineResponse2002(string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), InlineResponse2002Embedded Embedded = default(InlineResponse2002Embedded)) { this.Id = Id; - this.FieldType = FieldType; - this.Label = Label; - this.CustomerVisible = CustomerVisible; - this.TextMinLength = TextMinLength; - this.TextMaxLength = TextMaxLength; - this.PossibleValues = PossibleValues; - this.TextDefaultValue = TextDefaultValue; - this.MerchantId = MerchantId; - this.ReferenceType = ReferenceType; - this.ReadOnly = ReadOnly; - this.MerchantDefinedDataIndex = MerchantDefinedDataIndex; + this.SubmitTimeUtc = SubmitTimeUtc; + this.Status = Status; + this.Embedded = Embedded; } /// - /// Gets or Sets Id + /// UUID uniquely generated for this comments. /// + /// UUID uniquely generated for this comments. [DataMember(Name="id", EmitDefaultValue=false)] - public long? Id { get; set; } + public string Id { get; set; } /// - /// Gets or Sets FieldType + /// 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="fieldType", EmitDefaultValue=false)] - public string FieldType { 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; } /// - /// Gets or Sets Label + /// The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` /// - [DataMember(Name="label", EmitDefaultValue=false)] - public string Label { get; set; } + /// The status of the submitted transaction. Possible values are: - `ACCEPTED` - `REJECTED` + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } /// - /// Gets or Sets CustomerVisible + /// Gets or Sets Embedded /// - [DataMember(Name="customerVisible", EmitDefaultValue=false)] - public bool? CustomerVisible { get; set; } - - /// - /// Gets or Sets TextMinLength - /// - [DataMember(Name="textMinLength", EmitDefaultValue=false)] - public int? TextMinLength { get; set; } - - /// - /// Gets or Sets TextMaxLength - /// - [DataMember(Name="textMaxLength", EmitDefaultValue=false)] - public int? TextMaxLength { get; set; } - - /// - /// Gets or Sets PossibleValues - /// - [DataMember(Name="possibleValues", EmitDefaultValue=false)] - public string PossibleValues { get; set; } - - /// - /// Gets or Sets TextDefaultValue - /// - [DataMember(Name="textDefaultValue", EmitDefaultValue=false)] - public string TextDefaultValue { get; set; } - - /// - /// Gets or Sets MerchantId - /// - [DataMember(Name="merchantId", EmitDefaultValue=false)] - public string MerchantId { get; set; } - - /// - /// Gets or Sets ReferenceType - /// - [DataMember(Name="referenceType", EmitDefaultValue=false)] - public string ReferenceType { get; set; } - - /// - /// Gets or Sets ReadOnly - /// - [DataMember(Name="readOnly", EmitDefaultValue=false)] - public bool? ReadOnly { get; set; } - - /// - /// Gets or Sets MerchantDefinedDataIndex - /// - [DataMember(Name="merchantDefinedDataIndex", EmitDefaultValue=false)] - public int? MerchantDefinedDataIndex { get; set; } + [DataMember(Name="_embedded", EmitDefaultValue=false)] + public InlineResponse2002Embedded Embedded { get; set; } /// /// Returns the string presentation of the object @@ -142,17 +81,9 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class InlineResponse2002 {\n"); if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); - if (FieldType != null) sb.Append(" FieldType: ").Append(FieldType).Append("\n"); - if (Label != null) sb.Append(" Label: ").Append(Label).Append("\n"); - if (CustomerVisible != null) sb.Append(" CustomerVisible: ").Append(CustomerVisible).Append("\n"); - if (TextMinLength != null) sb.Append(" TextMinLength: ").Append(TextMinLength).Append("\n"); - if (TextMaxLength != null) sb.Append(" TextMaxLength: ").Append(TextMaxLength).Append("\n"); - if (PossibleValues != null) sb.Append(" PossibleValues: ").Append(PossibleValues).Append("\n"); - if (TextDefaultValue != null) sb.Append(" TextDefaultValue: ").Append(TextDefaultValue).Append("\n"); - if (MerchantId != null) sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); - if (ReferenceType != null) sb.Append(" ReferenceType: ").Append(ReferenceType).Append("\n"); - if (ReadOnly != null) sb.Append(" ReadOnly: ").Append(ReadOnly).Append("\n"); - if (MerchantDefinedDataIndex != null) sb.Append(" MerchantDefinedDataIndex: ").Append(MerchantDefinedDataIndex).Append("\n"); + if (SubmitTimeUtc != null) sb.Append(" SubmitTimeUtc: ").Append(SubmitTimeUtc).Append("\n"); + if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); + if (Embedded != null) sb.Append(" Embedded: ").Append(Embedded).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -195,59 +126,19 @@ public bool Equals(InlineResponse2002 other) this.Id.Equals(other.Id) ) && ( - this.FieldType == other.FieldType || - this.FieldType != null && - this.FieldType.Equals(other.FieldType) - ) && - ( - this.Label == other.Label || - this.Label != null && - this.Label.Equals(other.Label) - ) && - ( - this.CustomerVisible == other.CustomerVisible || - this.CustomerVisible != null && - this.CustomerVisible.Equals(other.CustomerVisible) - ) && - ( - this.TextMinLength == other.TextMinLength || - this.TextMinLength != null && - this.TextMinLength.Equals(other.TextMinLength) - ) && - ( - this.TextMaxLength == other.TextMaxLength || - this.TextMaxLength != null && - this.TextMaxLength.Equals(other.TextMaxLength) - ) && - ( - this.PossibleValues == other.PossibleValues || - this.PossibleValues != null && - this.PossibleValues.Equals(other.PossibleValues) - ) && - ( - this.TextDefaultValue == other.TextDefaultValue || - this.TextDefaultValue != null && - this.TextDefaultValue.Equals(other.TextDefaultValue) - ) && - ( - this.MerchantId == other.MerchantId || - this.MerchantId != null && - this.MerchantId.Equals(other.MerchantId) - ) && - ( - this.ReferenceType == other.ReferenceType || - this.ReferenceType != null && - this.ReferenceType.Equals(other.ReferenceType) + this.SubmitTimeUtc == other.SubmitTimeUtc || + this.SubmitTimeUtc != null && + this.SubmitTimeUtc.Equals(other.SubmitTimeUtc) ) && ( - this.ReadOnly == other.ReadOnly || - this.ReadOnly != null && - this.ReadOnly.Equals(other.ReadOnly) + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) ) && ( - this.MerchantDefinedDataIndex == other.MerchantDefinedDataIndex || - this.MerchantDefinedDataIndex != null && - this.MerchantDefinedDataIndex.Equals(other.MerchantDefinedDataIndex) + this.Embedded == other.Embedded || + this.Embedded != null && + this.Embedded.Equals(other.Embedded) ); } @@ -264,28 +155,12 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (this.Id != null) hash = hash * 59 + this.Id.GetHashCode(); - if (this.FieldType != null) - hash = hash * 59 + this.FieldType.GetHashCode(); - if (this.Label != null) - hash = hash * 59 + this.Label.GetHashCode(); - if (this.CustomerVisible != null) - hash = hash * 59 + this.CustomerVisible.GetHashCode(); - if (this.TextMinLength != null) - hash = hash * 59 + this.TextMinLength.GetHashCode(); - if (this.TextMaxLength != null) - hash = hash * 59 + this.TextMaxLength.GetHashCode(); - if (this.PossibleValues != null) - hash = hash * 59 + this.PossibleValues.GetHashCode(); - if (this.TextDefaultValue != null) - hash = hash * 59 + this.TextDefaultValue.GetHashCode(); - if (this.MerchantId != null) - hash = hash * 59 + this.MerchantId.GetHashCode(); - if (this.ReferenceType != null) - hash = hash * 59 + this.ReferenceType.GetHashCode(); - if (this.ReadOnly != null) - hash = hash * 59 + this.ReadOnly.GetHashCode(); - if (this.MerchantDefinedDataIndex != null) - hash = hash * 59 + this.MerchantDefinedDataIndex.GetHashCode(); + if (this.SubmitTimeUtc != null) + hash = hash * 59 + this.SubmitTimeUtc.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Embedded != null) + hash = hash * 59 + this.Embedded.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001Embedded.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002Embedded.cs similarity index 84% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001Embedded.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002Embedded.cs index e522b818..7b78579c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001Embedded.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002Embedded.cs @@ -28,14 +28,14 @@ namespace CyberSource.Model /// This object includes either a capture or reversal object. They each has the status of the action and link to the GET method to the following-on capture transaction or reversal transaction. /// [DataContract] - public partial class InlineResponse2001Embedded : IEquatable, IValidatableObject + public partial class InlineResponse2002Embedded : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Capture. /// Reversal. - public InlineResponse2001Embedded(InlineResponse2001EmbeddedCapture Capture = default(InlineResponse2001EmbeddedCapture), InlineResponse2001EmbeddedReversal Reversal = default(InlineResponse2001EmbeddedReversal)) + public InlineResponse2002Embedded(InlineResponse2002EmbeddedCapture Capture = default(InlineResponse2002EmbeddedCapture), InlineResponse2002EmbeddedReversal Reversal = default(InlineResponse2002EmbeddedReversal)) { this.Capture = Capture; this.Reversal = Reversal; @@ -45,13 +45,13 @@ public partial class InlineResponse2001Embedded : IEquatable [DataMember(Name="capture", EmitDefaultValue=false)] - public InlineResponse2001EmbeddedCapture Capture { get; set; } + public InlineResponse2002EmbeddedCapture Capture { get; set; } /// /// Gets or Sets Reversal /// [DataMember(Name="reversal", EmitDefaultValue=false)] - public InlineResponse2001EmbeddedReversal Reversal { get; set; } + public InlineResponse2002EmbeddedReversal Reversal { get; set; } /// /// Returns the string presentation of the object @@ -60,7 +60,7 @@ public partial class InlineResponse2001Embedded : IEquatable - /// Returns true if InlineResponse2001Embedded instances are equal + /// Returns true if InlineResponse2002Embedded instances are equal /// - /// Instance of InlineResponse2001Embedded to be compared + /// Instance of InlineResponse2002Embedded to be compared /// Boolean - public bool Equals(InlineResponse2001Embedded other) + public bool Equals(InlineResponse2002Embedded other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCapture.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCapture.cs similarity index 86% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCapture.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCapture.cs index aac79dfe..08bfaf7c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCapture.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCapture.cs @@ -28,14 +28,14 @@ namespace CyberSource.Model /// This object includes the status of the action and link to the GET method to the following-on capture transaction. /// [DataContract] - public partial class InlineResponse2001EmbeddedCapture : IEquatable, IValidatableObject + public partial class InlineResponse2002EmbeddedCapture : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The status of the capture if the capture is called. . /// Links. - public InlineResponse2001EmbeddedCapture(string Status = default(string), InlineResponse2001EmbeddedCaptureLinks Links = default(InlineResponse2001EmbeddedCaptureLinks)) + public InlineResponse2002EmbeddedCapture(string Status = default(string), InlineResponse2002EmbeddedCaptureLinks Links = default(InlineResponse2002EmbeddedCaptureLinks)) { this.Status = Status; this.Links = Links; @@ -52,7 +52,7 @@ public partial class InlineResponse2001EmbeddedCapture : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public InlineResponse2001EmbeddedCaptureLinks Links { get; set; } + public InlineResponse2002EmbeddedCaptureLinks Links { get; set; } /// /// Returns the string presentation of the object @@ -61,7 +61,7 @@ public partial class InlineResponse2001EmbeddedCapture : IEquatable - /// Returns true if InlineResponse2001EmbeddedCapture instances are equal + /// Returns true if InlineResponse2002EmbeddedCapture instances are equal /// - /// Instance of InlineResponse2001EmbeddedCapture to be compared + /// Instance of InlineResponse2002EmbeddedCapture to be compared /// Boolean - public bool Equals(InlineResponse2001EmbeddedCapture other) + public bool Equals(InlineResponse2002EmbeddedCapture other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCaptureLinks.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCaptureLinks.cs similarity index 84% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCaptureLinks.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCaptureLinks.cs index 0a400a37..fb7e6403 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCaptureLinks.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCaptureLinks.cs @@ -28,13 +28,13 @@ namespace CyberSource.Model /// The link to the GET method to the capture transaction if the capture is called. /// [DataContract] - public partial class InlineResponse2001EmbeddedCaptureLinks : IEquatable, IValidatableObject + public partial class InlineResponse2002EmbeddedCaptureLinks : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Self. - public InlineResponse2001EmbeddedCaptureLinks(InlineResponse2001EmbeddedCaptureLinksSelf Self = default(InlineResponse2001EmbeddedCaptureLinksSelf)) + public InlineResponse2002EmbeddedCaptureLinks(InlineResponse2002EmbeddedCaptureLinksSelf Self = default(InlineResponse2002EmbeddedCaptureLinksSelf)) { this.Self = Self; } @@ -43,7 +43,7 @@ public partial class InlineResponse2001EmbeddedCaptureLinks : IEquatable [DataMember(Name="self", EmitDefaultValue=false)] - public InlineResponse2001EmbeddedCaptureLinksSelf Self { get; set; } + public InlineResponse2002EmbeddedCaptureLinksSelf Self { get; set; } /// /// Returns the string presentation of the object @@ -52,7 +52,7 @@ public partial class InlineResponse2001EmbeddedCaptureLinks : IEquatable - /// Returns true if InlineResponse2001EmbeddedCaptureLinks instances are equal + /// Returns true if InlineResponse2002EmbeddedCaptureLinks instances are equal /// - /// Instance of InlineResponse2001EmbeddedCaptureLinks to be compared + /// Instance of InlineResponse2002EmbeddedCaptureLinks to be compared /// Boolean - public bool Equals(InlineResponse2001EmbeddedCaptureLinks other) + public bool Equals(InlineResponse2002EmbeddedCaptureLinks other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCaptureLinksSelf.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCaptureLinksSelf.cs similarity index 90% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCaptureLinksSelf.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCaptureLinksSelf.cs index b8f787ad..1bb2228f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedCaptureLinksSelf.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedCaptureLinksSelf.cs @@ -28,14 +28,14 @@ namespace CyberSource.Model /// The object holds http method and endpoint if the capture is called. /// [DataContract] - public partial class InlineResponse2001EmbeddedCaptureLinksSelf : IEquatable, IValidatableObject + public partial class InlineResponse2002EmbeddedCaptureLinksSelf : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// This is the endpoint of the resource that was created by the successful request. . /// This refers to the HTTP method that you can send to the self endpoint to retrieve details of the resource. . - public InlineResponse2001EmbeddedCaptureLinksSelf(string Href = default(string), string Method = default(string)) + public InlineResponse2002EmbeddedCaptureLinksSelf(string Href = default(string), string Method = default(string)) { this.Href = Href; this.Method = Method; @@ -62,7 +62,7 @@ public partial class InlineResponse2001EmbeddedCaptureLinksSelf : IEquatable - /// Returns true if InlineResponse2001EmbeddedCaptureLinksSelf instances are equal + /// Returns true if InlineResponse2002EmbeddedCaptureLinksSelf instances are equal /// - /// Instance of InlineResponse2001EmbeddedCaptureLinksSelf to be compared + /// Instance of InlineResponse2002EmbeddedCaptureLinksSelf to be compared /// Boolean - public bool Equals(InlineResponse2001EmbeddedCaptureLinksSelf other) + public bool Equals(InlineResponse2002EmbeddedCaptureLinksSelf other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversal.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversal.cs similarity index 86% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversal.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversal.cs index 1f6817c6..c10804cd 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversal.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversal.cs @@ -28,14 +28,14 @@ namespace CyberSource.Model /// This object includes the status of the action and link to the GET method to the following-on reversal transaction. /// [DataContract] - public partial class InlineResponse2001EmbeddedReversal : IEquatable, IValidatableObject + public partial class InlineResponse2002EmbeddedReversal : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The status of the reversal if the auth reversal is called. . /// Links. - public InlineResponse2001EmbeddedReversal(string Status = default(string), InlineResponse2001EmbeddedReversalLinks Links = default(InlineResponse2001EmbeddedReversalLinks)) + public InlineResponse2002EmbeddedReversal(string Status = default(string), InlineResponse2002EmbeddedReversalLinks Links = default(InlineResponse2002EmbeddedReversalLinks)) { this.Status = Status; this.Links = Links; @@ -52,7 +52,7 @@ public partial class InlineResponse2001EmbeddedReversal : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public InlineResponse2001EmbeddedReversalLinks Links { get; set; } + public InlineResponse2002EmbeddedReversalLinks Links { get; set; } /// /// Returns the string presentation of the object @@ -61,7 +61,7 @@ public partial class InlineResponse2001EmbeddedReversal : IEquatable - /// Returns true if InlineResponse2001EmbeddedReversal instances are equal + /// Returns true if InlineResponse2002EmbeddedReversal instances are equal /// - /// Instance of InlineResponse2001EmbeddedReversal to be compared + /// Instance of InlineResponse2002EmbeddedReversal to be compared /// Boolean - public bool Equals(InlineResponse2001EmbeddedReversal other) + public bool Equals(InlineResponse2002EmbeddedReversal other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversalLinks.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversalLinks.cs similarity index 84% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversalLinks.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversalLinks.cs index 704be2d6..22c852bb 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversalLinks.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversalLinks.cs @@ -28,13 +28,13 @@ namespace CyberSource.Model /// The link to the GET method to the reversal transaction if the auth reversal is called. /// [DataContract] - public partial class InlineResponse2001EmbeddedReversalLinks : IEquatable, IValidatableObject + public partial class InlineResponse2002EmbeddedReversalLinks : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Self. - public InlineResponse2001EmbeddedReversalLinks(InlineResponse2001EmbeddedReversalLinksSelf Self = default(InlineResponse2001EmbeddedReversalLinksSelf)) + public InlineResponse2002EmbeddedReversalLinks(InlineResponse2002EmbeddedReversalLinksSelf Self = default(InlineResponse2002EmbeddedReversalLinksSelf)) { this.Self = Self; } @@ -43,7 +43,7 @@ public partial class InlineResponse2001EmbeddedReversalLinks : IEquatable [DataMember(Name="self", EmitDefaultValue=false)] - public InlineResponse2001EmbeddedReversalLinksSelf Self { get; set; } + public InlineResponse2002EmbeddedReversalLinksSelf Self { get; set; } /// /// Returns the string presentation of the object @@ -52,7 +52,7 @@ public partial class InlineResponse2001EmbeddedReversalLinks : IEquatable - /// Returns true if InlineResponse2001EmbeddedReversalLinks instances are equal + /// Returns true if InlineResponse2002EmbeddedReversalLinks instances are equal /// - /// Instance of InlineResponse2001EmbeddedReversalLinks to be compared + /// Instance of InlineResponse2002EmbeddedReversalLinks to be compared /// Boolean - public bool Equals(InlineResponse2001EmbeddedReversalLinks other) + public bool Equals(InlineResponse2002EmbeddedReversalLinks other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversalLinksSelf.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversalLinksSelf.cs similarity index 90% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversalLinksSelf.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversalLinksSelf.cs index f50adc9b..9a101189 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2001EmbeddedReversalLinksSelf.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2002EmbeddedReversalLinksSelf.cs @@ -28,14 +28,14 @@ namespace CyberSource.Model /// The object holds http method and endpoint if the reversal is called. /// [DataContract] - public partial class InlineResponse2001EmbeddedReversalLinksSelf : IEquatable, IValidatableObject + public partial class InlineResponse2002EmbeddedReversalLinksSelf : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// This is the endpoint of the resource that was created by the successful request. . /// This refers to the HTTP method that you can send to the self endpoint to retrieve details of the resource. . - public InlineResponse2001EmbeddedReversalLinksSelf(string Href = default(string), string Method = default(string)) + public InlineResponse2002EmbeddedReversalLinksSelf(string Href = default(string), string Method = default(string)) { this.Href = Href; this.Method = Method; @@ -62,7 +62,7 @@ public partial class InlineResponse2001EmbeddedReversalLinksSelf : IEquatable - /// Returns true if InlineResponse2001EmbeddedReversalLinksSelf instances are equal + /// Returns true if InlineResponse2002EmbeddedReversalLinksSelf instances are equal /// - /// Instance of InlineResponse2001EmbeddedReversalLinksSelf to be compared + /// Instance of InlineResponse2002EmbeddedReversalLinksSelf to be compared /// Boolean - public bool Equals(InlineResponse2001EmbeddedReversalLinksSelf other) + public bool Equals(InlineResponse2002EmbeddedReversalLinksSelf other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003.cs index 00f98a4c..77e2124d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003.cs @@ -33,65 +33,105 @@ public partial class InlineResponse2003 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// RegistrationInformation. - /// IntegrationInformation. - /// OrganizationInformation. - /// ProductInformation. - /// ProductInformationSetups. - /// DocumentInformation. - /// Details. - public InlineResponse2003(Boardingv1registrationsRegistrationInformation RegistrationInformation = default(Boardingv1registrationsRegistrationInformation), InlineResponse2003IntegrationInformation IntegrationInformation = default(InlineResponse2003IntegrationInformation), Boardingv1registrationsOrganizationInformation OrganizationInformation = default(Boardingv1registrationsOrganizationInformation), Boardingv1registrationsProductInformation ProductInformation = default(Boardingv1registrationsProductInformation), List ProductInformationSetups = default(List), Boardingv1registrationsDocumentInformation DocumentInformation = default(Boardingv1registrationsDocumentInformation), Dictionary> Details = default(Dictionary>)) + /// Id. + /// FieldType. + /// Label. + /// CustomerVisible. + /// TextMinLength. + /// TextMaxLength. + /// PossibleValues. + /// TextDefaultValue. + /// MerchantId. + /// ReferenceType. + /// ReadOnly. + /// MerchantDefinedDataIndex. + public InlineResponse2003(long? Id = default(long?), string FieldType = default(string), string Label = default(string), bool? CustomerVisible = default(bool?), int? TextMinLength = default(int?), int? TextMaxLength = default(int?), string PossibleValues = default(string), string TextDefaultValue = default(string), string MerchantId = default(string), string ReferenceType = default(string), bool? ReadOnly = default(bool?), int? MerchantDefinedDataIndex = default(int?)) { - this.RegistrationInformation = RegistrationInformation; - this.IntegrationInformation = IntegrationInformation; - this.OrganizationInformation = OrganizationInformation; - this.ProductInformation = ProductInformation; - this.ProductInformationSetups = ProductInformationSetups; - this.DocumentInformation = DocumentInformation; - this.Details = Details; + this.Id = Id; + this.FieldType = FieldType; + this.Label = Label; + this.CustomerVisible = CustomerVisible; + this.TextMinLength = TextMinLength; + this.TextMaxLength = TextMaxLength; + this.PossibleValues = PossibleValues; + this.TextDefaultValue = TextDefaultValue; + this.MerchantId = MerchantId; + this.ReferenceType = ReferenceType; + this.ReadOnly = ReadOnly; + this.MerchantDefinedDataIndex = MerchantDefinedDataIndex; } /// - /// Gets or Sets RegistrationInformation + /// Gets or Sets Id /// - [DataMember(Name="registrationInformation", EmitDefaultValue=false)] - public Boardingv1registrationsRegistrationInformation RegistrationInformation { get; set; } + [DataMember(Name="id", EmitDefaultValue=false)] + public long? Id { get; set; } /// - /// Gets or Sets IntegrationInformation + /// Gets or Sets FieldType /// - [DataMember(Name="integrationInformation", EmitDefaultValue=false)] - public InlineResponse2003IntegrationInformation IntegrationInformation { get; set; } + [DataMember(Name="fieldType", EmitDefaultValue=false)] + public string FieldType { get; set; } /// - /// Gets or Sets OrganizationInformation + /// Gets or Sets Label /// - [DataMember(Name="organizationInformation", EmitDefaultValue=false)] - public Boardingv1registrationsOrganizationInformation OrganizationInformation { get; set; } + [DataMember(Name="label", EmitDefaultValue=false)] + public string Label { get; set; } /// - /// Gets or Sets ProductInformation + /// Gets or Sets CustomerVisible /// - [DataMember(Name="productInformation", EmitDefaultValue=false)] - public Boardingv1registrationsProductInformation ProductInformation { get; set; } + [DataMember(Name="customerVisible", EmitDefaultValue=false)] + public bool? CustomerVisible { get; set; } /// - /// Gets or Sets ProductInformationSetups + /// Gets or Sets TextMinLength /// - [DataMember(Name="productInformationSetups", EmitDefaultValue=false)] - public List ProductInformationSetups { get; set; } + [DataMember(Name="textMinLength", EmitDefaultValue=false)] + public int? TextMinLength { get; set; } /// - /// Gets or Sets DocumentInformation + /// Gets or Sets TextMaxLength /// - [DataMember(Name="documentInformation", EmitDefaultValue=false)] - public Boardingv1registrationsDocumentInformation DocumentInformation { get; set; } + [DataMember(Name="textMaxLength", EmitDefaultValue=false)] + public int? TextMaxLength { get; set; } /// - /// Gets or Sets Details + /// Gets or Sets PossibleValues /// - [DataMember(Name="details", EmitDefaultValue=false)] - public Dictionary> Details { get; set; } + [DataMember(Name="possibleValues", EmitDefaultValue=false)] + public string PossibleValues { get; set; } + + /// + /// Gets or Sets TextDefaultValue + /// + [DataMember(Name="textDefaultValue", EmitDefaultValue=false)] + public string TextDefaultValue { get; set; } + + /// + /// Gets or Sets MerchantId + /// + [DataMember(Name="merchantId", EmitDefaultValue=false)] + public string MerchantId { get; set; } + + /// + /// Gets or Sets ReferenceType + /// + [DataMember(Name="referenceType", EmitDefaultValue=false)] + public string ReferenceType { get; set; } + + /// + /// Gets or Sets ReadOnly + /// + [DataMember(Name="readOnly", EmitDefaultValue=false)] + public bool? ReadOnly { get; set; } + + /// + /// Gets or Sets MerchantDefinedDataIndex + /// + [DataMember(Name="merchantDefinedDataIndex", EmitDefaultValue=false)] + public int? MerchantDefinedDataIndex { get; set; } /// /// Returns the string presentation of the object @@ -101,13 +141,18 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2003 {\n"); - if (RegistrationInformation != null) sb.Append(" RegistrationInformation: ").Append(RegistrationInformation).Append("\n"); - if (IntegrationInformation != null) sb.Append(" IntegrationInformation: ").Append(IntegrationInformation).Append("\n"); - if (OrganizationInformation != null) sb.Append(" OrganizationInformation: ").Append(OrganizationInformation).Append("\n"); - if (ProductInformation != null) sb.Append(" ProductInformation: ").Append(ProductInformation).Append("\n"); - if (ProductInformationSetups != null) sb.Append(" ProductInformationSetups: ").Append(ProductInformationSetups).Append("\n"); - if (DocumentInformation != null) sb.Append(" DocumentInformation: ").Append(DocumentInformation).Append("\n"); - if (Details != null) sb.Append(" Details: ").Append(Details).Append("\n"); + if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); + if (FieldType != null) sb.Append(" FieldType: ").Append(FieldType).Append("\n"); + if (Label != null) sb.Append(" Label: ").Append(Label).Append("\n"); + if (CustomerVisible != null) sb.Append(" CustomerVisible: ").Append(CustomerVisible).Append("\n"); + if (TextMinLength != null) sb.Append(" TextMinLength: ").Append(TextMinLength).Append("\n"); + if (TextMaxLength != null) sb.Append(" TextMaxLength: ").Append(TextMaxLength).Append("\n"); + if (PossibleValues != null) sb.Append(" PossibleValues: ").Append(PossibleValues).Append("\n"); + if (TextDefaultValue != null) sb.Append(" TextDefaultValue: ").Append(TextDefaultValue).Append("\n"); + if (MerchantId != null) sb.Append(" MerchantId: ").Append(MerchantId).Append("\n"); + if (ReferenceType != null) sb.Append(" ReferenceType: ").Append(ReferenceType).Append("\n"); + if (ReadOnly != null) sb.Append(" ReadOnly: ").Append(ReadOnly).Append("\n"); + if (MerchantDefinedDataIndex != null) sb.Append(" MerchantDefinedDataIndex: ").Append(MerchantDefinedDataIndex).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -145,39 +190,64 @@ public bool Equals(InlineResponse2003 other) return ( - this.RegistrationInformation == other.RegistrationInformation || - this.RegistrationInformation != null && - this.RegistrationInformation.Equals(other.RegistrationInformation) + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.FieldType == other.FieldType || + this.FieldType != null && + this.FieldType.Equals(other.FieldType) + ) && + ( + this.Label == other.Label || + this.Label != null && + this.Label.Equals(other.Label) + ) && + ( + this.CustomerVisible == other.CustomerVisible || + this.CustomerVisible != null && + this.CustomerVisible.Equals(other.CustomerVisible) + ) && + ( + this.TextMinLength == other.TextMinLength || + this.TextMinLength != null && + this.TextMinLength.Equals(other.TextMinLength) + ) && + ( + this.TextMaxLength == other.TextMaxLength || + this.TextMaxLength != null && + this.TextMaxLength.Equals(other.TextMaxLength) ) && ( - this.IntegrationInformation == other.IntegrationInformation || - this.IntegrationInformation != null && - this.IntegrationInformation.Equals(other.IntegrationInformation) + this.PossibleValues == other.PossibleValues || + this.PossibleValues != null && + this.PossibleValues.Equals(other.PossibleValues) ) && ( - this.OrganizationInformation == other.OrganizationInformation || - this.OrganizationInformation != null && - this.OrganizationInformation.Equals(other.OrganizationInformation) + this.TextDefaultValue == other.TextDefaultValue || + this.TextDefaultValue != null && + this.TextDefaultValue.Equals(other.TextDefaultValue) ) && ( - this.ProductInformation == other.ProductInformation || - this.ProductInformation != null && - this.ProductInformation.Equals(other.ProductInformation) + this.MerchantId == other.MerchantId || + this.MerchantId != null && + this.MerchantId.Equals(other.MerchantId) ) && ( - this.ProductInformationSetups == other.ProductInformationSetups || - this.ProductInformationSetups != null && - this.ProductInformationSetups.SequenceEqual(other.ProductInformationSetups) + this.ReferenceType == other.ReferenceType || + this.ReferenceType != null && + this.ReferenceType.Equals(other.ReferenceType) ) && ( - this.DocumentInformation == other.DocumentInformation || - this.DocumentInformation != null && - this.DocumentInformation.Equals(other.DocumentInformation) + this.ReadOnly == other.ReadOnly || + this.ReadOnly != null && + this.ReadOnly.Equals(other.ReadOnly) ) && ( - this.Details == other.Details || - this.Details != null && - this.Details.SequenceEqual(other.Details) + this.MerchantDefinedDataIndex == other.MerchantDefinedDataIndex || + this.MerchantDefinedDataIndex != null && + this.MerchantDefinedDataIndex.Equals(other.MerchantDefinedDataIndex) ); } @@ -192,20 +262,30 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.RegistrationInformation != null) - hash = hash * 59 + this.RegistrationInformation.GetHashCode(); - if (this.IntegrationInformation != null) - hash = hash * 59 + this.IntegrationInformation.GetHashCode(); - if (this.OrganizationInformation != null) - hash = hash * 59 + this.OrganizationInformation.GetHashCode(); - if (this.ProductInformation != null) - hash = hash * 59 + this.ProductInformation.GetHashCode(); - if (this.ProductInformationSetups != null) - hash = hash * 59 + this.ProductInformationSetups.GetHashCode(); - if (this.DocumentInformation != null) - hash = hash * 59 + this.DocumentInformation.GetHashCode(); - if (this.Details != null) - hash = hash * 59 + this.Details.GetHashCode(); + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.FieldType != null) + hash = hash * 59 + this.FieldType.GetHashCode(); + if (this.Label != null) + hash = hash * 59 + this.Label.GetHashCode(); + if (this.CustomerVisible != null) + hash = hash * 59 + this.CustomerVisible.GetHashCode(); + if (this.TextMinLength != null) + hash = hash * 59 + this.TextMinLength.GetHashCode(); + if (this.TextMaxLength != null) + hash = hash * 59 + this.TextMaxLength.GetHashCode(); + if (this.PossibleValues != null) + hash = hash * 59 + this.PossibleValues.GetHashCode(); + if (this.TextDefaultValue != null) + hash = hash * 59 + this.TextDefaultValue.GetHashCode(); + if (this.MerchantId != null) + hash = hash * 59 + this.MerchantId.GetHashCode(); + if (this.ReferenceType != null) + hash = hash * 59 + this.ReferenceType.GetHashCode(); + if (this.ReadOnly != null) + hash = hash * 59 + this.ReadOnly.GetHashCode(); + if (this.MerchantDefinedDataIndex != null) + hash = hash * 59 + this.MerchantDefinedDataIndex.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004.cs index 12434dd8..4ca7231a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004.cs @@ -33,35 +33,65 @@ public partial class InlineResponse2004 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Product ID.. - /// Product Name.. - /// EventTypes. - public InlineResponse2004(string ProductId = default(string), string ProductName = default(string), List EventTypes = default(List)) + /// RegistrationInformation. + /// IntegrationInformation. + /// OrganizationInformation. + /// ProductInformation. + /// ProductInformationSetups. + /// DocumentInformation. + /// Details. + public InlineResponse2004(Boardingv1registrationsRegistrationInformation RegistrationInformation = default(Boardingv1registrationsRegistrationInformation), InlineResponse2004IntegrationInformation IntegrationInformation = default(InlineResponse2004IntegrationInformation), Boardingv1registrationsOrganizationInformation OrganizationInformation = default(Boardingv1registrationsOrganizationInformation), Boardingv1registrationsProductInformation ProductInformation = default(Boardingv1registrationsProductInformation), List ProductInformationSetups = default(List), Boardingv1registrationsDocumentInformation DocumentInformation = default(Boardingv1registrationsDocumentInformation), Dictionary> Details = default(Dictionary>)) { - this.ProductId = ProductId; - this.ProductName = ProductName; - this.EventTypes = EventTypes; + this.RegistrationInformation = RegistrationInformation; + this.IntegrationInformation = IntegrationInformation; + this.OrganizationInformation = OrganizationInformation; + this.ProductInformation = ProductInformation; + this.ProductInformationSetups = ProductInformationSetups; + this.DocumentInformation = DocumentInformation; + this.Details = Details; } /// - /// Product ID. + /// Gets or Sets RegistrationInformation /// - /// Product ID. - [DataMember(Name="productId", EmitDefaultValue=false)] - public string ProductId { get; set; } + [DataMember(Name="registrationInformation", EmitDefaultValue=false)] + public Boardingv1registrationsRegistrationInformation RegistrationInformation { get; set; } /// - /// Product Name. + /// Gets or Sets IntegrationInformation /// - /// Product Name. - [DataMember(Name="productName", EmitDefaultValue=false)] - public string ProductName { get; set; } + [DataMember(Name="integrationInformation", EmitDefaultValue=false)] + public InlineResponse2004IntegrationInformation IntegrationInformation { get; set; } /// - /// Gets or Sets EventTypes + /// Gets or Sets OrganizationInformation /// - [DataMember(Name="eventTypes", EmitDefaultValue=false)] - public List EventTypes { get; set; } + [DataMember(Name="organizationInformation", EmitDefaultValue=false)] + public Boardingv1registrationsOrganizationInformation OrganizationInformation { get; set; } + + /// + /// Gets or Sets ProductInformation + /// + [DataMember(Name="productInformation", EmitDefaultValue=false)] + public Boardingv1registrationsProductInformation ProductInformation { get; set; } + + /// + /// Gets or Sets ProductInformationSetups + /// + [DataMember(Name="productInformationSetups", EmitDefaultValue=false)] + public List ProductInformationSetups { get; set; } + + /// + /// Gets or Sets DocumentInformation + /// + [DataMember(Name="documentInformation", EmitDefaultValue=false)] + public Boardingv1registrationsDocumentInformation DocumentInformation { get; set; } + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public Dictionary> Details { get; set; } /// /// Returns the string presentation of the object @@ -71,9 +101,13 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2004 {\n"); - if (ProductId != null) sb.Append(" ProductId: ").Append(ProductId).Append("\n"); - if (ProductName != null) sb.Append(" ProductName: ").Append(ProductName).Append("\n"); - if (EventTypes != null) sb.Append(" EventTypes: ").Append(EventTypes).Append("\n"); + if (RegistrationInformation != null) sb.Append(" RegistrationInformation: ").Append(RegistrationInformation).Append("\n"); + if (IntegrationInformation != null) sb.Append(" IntegrationInformation: ").Append(IntegrationInformation).Append("\n"); + if (OrganizationInformation != null) sb.Append(" OrganizationInformation: ").Append(OrganizationInformation).Append("\n"); + if (ProductInformation != null) sb.Append(" ProductInformation: ").Append(ProductInformation).Append("\n"); + if (ProductInformationSetups != null) sb.Append(" ProductInformationSetups: ").Append(ProductInformationSetups).Append("\n"); + if (DocumentInformation != null) sb.Append(" DocumentInformation: ").Append(DocumentInformation).Append("\n"); + if (Details != null) sb.Append(" Details: ").Append(Details).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -111,19 +145,39 @@ public bool Equals(InlineResponse2004 other) return ( - this.ProductId == other.ProductId || - this.ProductId != null && - this.ProductId.Equals(other.ProductId) + this.RegistrationInformation == other.RegistrationInformation || + this.RegistrationInformation != null && + this.RegistrationInformation.Equals(other.RegistrationInformation) + ) && + ( + this.IntegrationInformation == other.IntegrationInformation || + this.IntegrationInformation != null && + this.IntegrationInformation.Equals(other.IntegrationInformation) + ) && + ( + this.OrganizationInformation == other.OrganizationInformation || + this.OrganizationInformation != null && + this.OrganizationInformation.Equals(other.OrganizationInformation) + ) && + ( + this.ProductInformation == other.ProductInformation || + this.ProductInformation != null && + this.ProductInformation.Equals(other.ProductInformation) + ) && + ( + this.ProductInformationSetups == other.ProductInformationSetups || + this.ProductInformationSetups != null && + this.ProductInformationSetups.SequenceEqual(other.ProductInformationSetups) ) && ( - this.ProductName == other.ProductName || - this.ProductName != null && - this.ProductName.Equals(other.ProductName) + this.DocumentInformation == other.DocumentInformation || + this.DocumentInformation != null && + this.DocumentInformation.Equals(other.DocumentInformation) ) && ( - this.EventTypes == other.EventTypes || - this.EventTypes != null && - this.EventTypes.SequenceEqual(other.EventTypes) + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) ); } @@ -138,12 +192,20 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.ProductId != null) - hash = hash * 59 + this.ProductId.GetHashCode(); - if (this.ProductName != null) - hash = hash * 59 + this.ProductName.GetHashCode(); - if (this.EventTypes != null) - hash = hash * 59 + this.EventTypes.GetHashCode(); + if (this.RegistrationInformation != null) + hash = hash * 59 + this.RegistrationInformation.GetHashCode(); + if (this.IntegrationInformation != null) + hash = hash * 59 + this.IntegrationInformation.GetHashCode(); + if (this.OrganizationInformation != null) + hash = hash * 59 + this.OrganizationInformation.GetHashCode(); + if (this.ProductInformation != null) + hash = hash * 59 + this.ProductInformation.GetHashCode(); + if (this.ProductInformationSetups != null) + hash = hash * 59 + this.ProductInformationSetups.GetHashCode(); + if (this.DocumentInformation != null) + hash = hash * 59 + this.DocumentInformation.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003IntegrationInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004IntegrationInformation.cs similarity index 86% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003IntegrationInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004IntegrationInformation.cs index 6e3c625c..e0bb69a9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003IntegrationInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004IntegrationInformation.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// InlineResponse2003IntegrationInformation + /// InlineResponse2004IntegrationInformation /// [DataContract] - public partial class InlineResponse2003IntegrationInformation : IEquatable, IValidatableObject + public partial class InlineResponse2004IntegrationInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Oauth2. /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with.. - public InlineResponse2003IntegrationInformation(List Oauth2 = default(List), List TenantConfigurations = default(List)) + public InlineResponse2004IntegrationInformation(List Oauth2 = default(List), List TenantConfigurations = default(List)) { this.Oauth2 = Oauth2; this.TenantConfigurations = TenantConfigurations; @@ -52,7 +52,7 @@ public partial class InlineResponse2003IntegrationInformation : IEquatable /// tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. [DataMember(Name="tenantConfigurations", EmitDefaultValue=false)] - public List TenantConfigurations { get; set; } + public List TenantConfigurations { get; set; } /// /// Returns the string presentation of the object @@ -61,7 +61,7 @@ public partial class InlineResponse2003IntegrationInformation : IEquatable - /// Returns true if InlineResponse2003IntegrationInformation instances are equal + /// Returns true if InlineResponse2004IntegrationInformation instances are equal /// - /// Instance of InlineResponse2003IntegrationInformation to be compared + /// Instance of InlineResponse2004IntegrationInformation to be compared /// Boolean - public bool Equals(InlineResponse2003IntegrationInformation other) + public bool Equals(InlineResponse2004IntegrationInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003IntegrationInformationTenantConfigurations.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004IntegrationInformationTenantConfigurations.cs similarity index 93% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003IntegrationInformationTenantConfigurations.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004IntegrationInformationTenantConfigurations.cs index 1d0f3b98..83a168fa 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2003IntegrationInformationTenantConfigurations.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2004IntegrationInformationTenantConfigurations.cs @@ -25,20 +25,20 @@ namespace CyberSource.Model { /// - /// InlineResponse2003IntegrationInformationTenantConfigurations + /// InlineResponse2004IntegrationInformationTenantConfigurations /// [DataContract] - public partial class InlineResponse2003IntegrationInformationTenantConfigurations : IEquatable, IValidatableObject + public partial class InlineResponse2004IntegrationInformationTenantConfigurations : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The solutionId is the unique identifier for this system resource. Partner can use it to reference the specific solution through out the system. . /// The tenantConfigurationId is the unique identifier for this system resource. You will see various places where it must be referenced in the URI path, or when querying the hierarchy for ancestors or descendants. . /// Possible values: - LIVE - INACTIVE - TEST. /// Time of request in UTC.. /// TenantInformation. - public InlineResponse2003IntegrationInformationTenantConfigurations(string SolutionId = default(string), string TenantConfigurationId = default(string), string Status = default(string), DateTime? SubmitTimeUtc = default(DateTime?), Boardingv1registrationsIntegrationInformationTenantInformation TenantInformation = default(Boardingv1registrationsIntegrationInformationTenantInformation)) + public InlineResponse2004IntegrationInformationTenantConfigurations(string SolutionId = default(string), string TenantConfigurationId = default(string), string Status = default(string), DateTime? SubmitTimeUtc = default(DateTime?), Boardingv1registrationsIntegrationInformationTenantInformation TenantInformation = default(Boardingv1registrationsIntegrationInformationTenantInformation)) { this.SolutionId = SolutionId; this.TenantConfigurationId = TenantConfigurationId; @@ -88,7 +88,7 @@ public partial class InlineResponse2003IntegrationInformationTenantConfiguration public override string ToString() { var sb = new StringBuilder(); - sb.Append("class InlineResponse2003IntegrationInformationTenantConfigurations {\n"); + sb.Append("class InlineResponse2004IntegrationInformationTenantConfigurations {\n"); if (SolutionId != null) sb.Append(" SolutionId: ").Append(SolutionId).Append("\n"); if (TenantConfigurationId != null) sb.Append(" TenantConfigurationId: ").Append(TenantConfigurationId).Append("\n"); if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); @@ -115,15 +115,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as InlineResponse2003IntegrationInformationTenantConfigurations); + return this.Equals(obj as InlineResponse2004IntegrationInformationTenantConfigurations); } /// - /// Returns true if InlineResponse2003IntegrationInformationTenantConfigurations instances are equal + /// Returns true if InlineResponse2004IntegrationInformationTenantConfigurations instances are equal /// - /// Instance of InlineResponse2003IntegrationInformationTenantConfigurations to be compared + /// Instance of InlineResponse2004IntegrationInformationTenantConfigurations to be compared /// Boolean - public bool Equals(InlineResponse2003IntegrationInformationTenantConfigurations other) + public bool Equals(InlineResponse2004IntegrationInformationTenantConfigurations other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2005.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2005.cs index 53a2c895..46138e9f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2005.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2005.cs @@ -33,130 +33,35 @@ public partial class InlineResponse2005 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Webhook Id. This is generated by the server.. - /// Organization ID.. - /// Products. - /// The client's endpoint (URL) to receive webhooks.. - /// The client's health check endpoint (URL).. - /// Webhook status. (default to "INACTIVE"). - /// Client friendly webhook name.. - /// Client friendly webhook description.. - /// RetryPolicy. - /// SecurityPolicy. - /// Date on which webhook was created/registered.. - /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS (default to "DESCENDANTS"). - public InlineResponse2005(string WebhookId = default(string), string OrganizationId = default(string), List Products = default(List), string WebhookUrl = default(string), string HealthCheckUrl = default(string), string Status = "INACTIVE", string Name = default(string), string Description = default(string), Notificationsubscriptionsv2webhooksRetryPolicy RetryPolicy = default(Notificationsubscriptionsv2webhooksRetryPolicy), Notificationsubscriptionsv2webhooksSecurityPolicy SecurityPolicy = default(Notificationsubscriptionsv2webhooksSecurityPolicy), string CreatedOn = default(string), string NotificationScope = "DESCENDANTS") + /// Product ID.. + /// Product Name.. + /// EventTypes. + public InlineResponse2005(string ProductId = default(string), string ProductName = default(string), List EventTypes = default(List)) { - this.WebhookId = WebhookId; - this.OrganizationId = OrganizationId; - this.Products = Products; - this.WebhookUrl = WebhookUrl; - this.HealthCheckUrl = HealthCheckUrl; - // use default value if no "Status" provided - if (Status == null) - { - this.Status = "INACTIVE"; - } - else - { - this.Status = Status; - } - this.Name = Name; - this.Description = Description; - this.RetryPolicy = RetryPolicy; - this.SecurityPolicy = SecurityPolicy; - this.CreatedOn = CreatedOn; - // use default value if no "NotificationScope" provided - if (NotificationScope == null) - { - this.NotificationScope = "DESCENDANTS"; - } - else - { - this.NotificationScope = NotificationScope; - } + this.ProductId = ProductId; + this.ProductName = ProductName; + this.EventTypes = EventTypes; } /// - /// Webhook Id. This is generated by the server. - /// - /// Webhook Id. This is generated by the server. - [DataMember(Name="webhookId", EmitDefaultValue=false)] - public string WebhookId { get; set; } - - /// - /// Organization ID. - /// - /// Organization ID. - [DataMember(Name="organizationId", EmitDefaultValue=false)] - public string OrganizationId { get; set; } - - /// - /// Gets or Sets Products + /// Product ID. /// - [DataMember(Name="products", EmitDefaultValue=false)] - public List Products { get; set; } + /// Product ID. + [DataMember(Name="productId", EmitDefaultValue=false)] + public string ProductId { get; set; } /// - /// The client's endpoint (URL) to receive webhooks. + /// Product Name. /// - /// The client's endpoint (URL) to receive webhooks. - [DataMember(Name="webhookUrl", EmitDefaultValue=false)] - public string WebhookUrl { get; set; } + /// Product Name. + [DataMember(Name="productName", EmitDefaultValue=false)] + public string ProductName { get; set; } /// - /// The client's health check endpoint (URL). + /// Gets or Sets EventTypes /// - /// The client's health check endpoint (URL). - [DataMember(Name="healthCheckUrl", EmitDefaultValue=false)] - public string HealthCheckUrl { get; set; } - - /// - /// Webhook status. - /// - /// Webhook status. - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } - - /// - /// Client friendly webhook name. - /// - /// Client friendly webhook name. - [DataMember(Name="name", EmitDefaultValue=false)] - public string Name { get; set; } - - /// - /// Client friendly webhook description. - /// - /// Client friendly webhook description. - [DataMember(Name="description", EmitDefaultValue=false)] - public string Description { get; set; } - - /// - /// Gets or Sets RetryPolicy - /// - [DataMember(Name="retryPolicy", EmitDefaultValue=false)] - public Notificationsubscriptionsv2webhooksRetryPolicy RetryPolicy { get; set; } - - /// - /// Gets or Sets SecurityPolicy - /// - [DataMember(Name="securityPolicy", EmitDefaultValue=false)] - public Notificationsubscriptionsv2webhooksSecurityPolicy SecurityPolicy { get; set; } - - /// - /// Date on which webhook was created/registered. - /// - /// Date on which webhook was created/registered. - [DataMember(Name="createdOn", EmitDefaultValue=false)] - public string CreatedOn { get; set; } - - /// - /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS - /// - /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS - [DataMember(Name="notificationScope", EmitDefaultValue=false)] - public string NotificationScope { get; set; } + [DataMember(Name="eventTypes", EmitDefaultValue=false)] + public List EventTypes { get; set; } /// /// Returns the string presentation of the object @@ -166,18 +71,9 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2005 {\n"); - if (WebhookId != null) sb.Append(" WebhookId: ").Append(WebhookId).Append("\n"); - if (OrganizationId != null) sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); - if (Products != null) sb.Append(" Products: ").Append(Products).Append("\n"); - if (WebhookUrl != null) sb.Append(" WebhookUrl: ").Append(WebhookUrl).Append("\n"); - if (HealthCheckUrl != null) sb.Append(" HealthCheckUrl: ").Append(HealthCheckUrl).Append("\n"); - if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); - if (Name != null) sb.Append(" Name: ").Append(Name).Append("\n"); - if (Description != null) sb.Append(" Description: ").Append(Description).Append("\n"); - if (RetryPolicy != null) sb.Append(" RetryPolicy: ").Append(RetryPolicy).Append("\n"); - if (SecurityPolicy != null) sb.Append(" SecurityPolicy: ").Append(SecurityPolicy).Append("\n"); - if (CreatedOn != null) sb.Append(" CreatedOn: ").Append(CreatedOn).Append("\n"); - if (NotificationScope != null) sb.Append(" NotificationScope: ").Append(NotificationScope).Append("\n"); + if (ProductId != null) sb.Append(" ProductId: ").Append(ProductId).Append("\n"); + if (ProductName != null) sb.Append(" ProductName: ").Append(ProductName).Append("\n"); + if (EventTypes != null) sb.Append(" EventTypes: ").Append(EventTypes).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -215,64 +111,19 @@ public bool Equals(InlineResponse2005 other) return ( - this.WebhookId == other.WebhookId || - this.WebhookId != null && - this.WebhookId.Equals(other.WebhookId) - ) && - ( - this.OrganizationId == other.OrganizationId || - this.OrganizationId != null && - this.OrganizationId.Equals(other.OrganizationId) - ) && - ( - this.Products == other.Products || - this.Products != null && - this.Products.SequenceEqual(other.Products) - ) && - ( - this.WebhookUrl == other.WebhookUrl || - this.WebhookUrl != null && - this.WebhookUrl.Equals(other.WebhookUrl) - ) && - ( - this.HealthCheckUrl == other.HealthCheckUrl || - this.HealthCheckUrl != null && - this.HealthCheckUrl.Equals(other.HealthCheckUrl) - ) && - ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) - ) && - ( - this.Name == other.Name || - this.Name != null && - this.Name.Equals(other.Name) - ) && - ( - this.Description == other.Description || - this.Description != null && - this.Description.Equals(other.Description) - ) && - ( - this.RetryPolicy == other.RetryPolicy || - this.RetryPolicy != null && - this.RetryPolicy.Equals(other.RetryPolicy) - ) && - ( - this.SecurityPolicy == other.SecurityPolicy || - this.SecurityPolicy != null && - this.SecurityPolicy.Equals(other.SecurityPolicy) + this.ProductId == other.ProductId || + this.ProductId != null && + this.ProductId.Equals(other.ProductId) ) && ( - this.CreatedOn == other.CreatedOn || - this.CreatedOn != null && - this.CreatedOn.Equals(other.CreatedOn) + this.ProductName == other.ProductName || + this.ProductName != null && + this.ProductName.Equals(other.ProductName) ) && ( - this.NotificationScope == other.NotificationScope || - this.NotificationScope != null && - this.NotificationScope.Equals(other.NotificationScope) + this.EventTypes == other.EventTypes || + this.EventTypes != null && + this.EventTypes.SequenceEqual(other.EventTypes) ); } @@ -287,30 +138,12 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.WebhookId != null) - hash = hash * 59 + this.WebhookId.GetHashCode(); - if (this.OrganizationId != null) - hash = hash * 59 + this.OrganizationId.GetHashCode(); - if (this.Products != null) - hash = hash * 59 + this.Products.GetHashCode(); - if (this.WebhookUrl != null) - hash = hash * 59 + this.WebhookUrl.GetHashCode(); - if (this.HealthCheckUrl != null) - hash = hash * 59 + this.HealthCheckUrl.GetHashCode(); - if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); - if (this.Name != null) - hash = hash * 59 + this.Name.GetHashCode(); - if (this.Description != null) - hash = hash * 59 + this.Description.GetHashCode(); - if (this.RetryPolicy != null) - hash = hash * 59 + this.RetryPolicy.GetHashCode(); - if (this.SecurityPolicy != null) - hash = hash * 59 + this.SecurityPolicy.GetHashCode(); - if (this.CreatedOn != null) - hash = hash * 59 + this.CreatedOn.GetHashCode(); - if (this.NotificationScope != null) - hash = hash * 59 + this.NotificationScope.GetHashCode(); + if (this.ProductId != null) + hash = hash * 59 + this.ProductId.GetHashCode(); + if (this.ProductName != null) + hash = hash * 59 + this.ProductName.GetHashCode(); + if (this.EventTypes != null) + hash = hash * 59 + this.EventTypes.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2006.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2006.cs index e55ac9a2..5bab9ea4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2006.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2006.cs @@ -44,9 +44,8 @@ public partial class InlineResponse2006 : IEquatable, IVali /// RetryPolicy. /// SecurityPolicy. /// Date on which webhook was created/registered.. - /// Date on which webhook was most recently updated.. /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS (default to "DESCENDANTS"). - public InlineResponse2006(string WebhookId = default(string), string OrganizationId = default(string), List Products = default(List), string WebhookUrl = default(string), string HealthCheckUrl = default(string), string Status = "INACTIVE", string Name = default(string), string Description = default(string), Notificationsubscriptionsv2webhooksRetryPolicy RetryPolicy = default(Notificationsubscriptionsv2webhooksRetryPolicy), Notificationsubscriptionsv2webhooksSecurityPolicy SecurityPolicy = default(Notificationsubscriptionsv2webhooksSecurityPolicy), string CreatedOn = default(string), string UpdatedOn = default(string), string NotificationScope = "DESCENDANTS") + public InlineResponse2006(string WebhookId = default(string), string OrganizationId = default(string), List Products = default(List), string WebhookUrl = default(string), string HealthCheckUrl = default(string), string Status = "INACTIVE", string Name = default(string), string Description = default(string), Notificationsubscriptionsv2webhooksRetryPolicy RetryPolicy = default(Notificationsubscriptionsv2webhooksRetryPolicy), Notificationsubscriptionsv2webhooksSecurityPolicy SecurityPolicy = default(Notificationsubscriptionsv2webhooksSecurityPolicy), string CreatedOn = default(string), string NotificationScope = "DESCENDANTS") { this.WebhookId = WebhookId; this.OrganizationId = OrganizationId; @@ -67,7 +66,6 @@ public partial class InlineResponse2006 : IEquatable, IVali this.RetryPolicy = RetryPolicy; this.SecurityPolicy = SecurityPolicy; this.CreatedOn = CreatedOn; - this.UpdatedOn = UpdatedOn; // use default value if no "NotificationScope" provided if (NotificationScope == null) { @@ -153,13 +151,6 @@ public partial class InlineResponse2006 : IEquatable, IVali [DataMember(Name="createdOn", EmitDefaultValue=false)] public string CreatedOn { get; set; } - /// - /// Date on which webhook was most recently updated. - /// - /// Date on which webhook was most recently updated. - [DataMember(Name="updatedOn", EmitDefaultValue=false)] - public string UpdatedOn { get; set; } - /// /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS /// @@ -186,7 +177,6 @@ public override string ToString() if (RetryPolicy != null) sb.Append(" RetryPolicy: ").Append(RetryPolicy).Append("\n"); if (SecurityPolicy != null) sb.Append(" SecurityPolicy: ").Append(SecurityPolicy).Append("\n"); if (CreatedOn != null) sb.Append(" CreatedOn: ").Append(CreatedOn).Append("\n"); - if (UpdatedOn != null) sb.Append(" UpdatedOn: ").Append(UpdatedOn).Append("\n"); if (NotificationScope != null) sb.Append(" NotificationScope: ").Append(NotificationScope).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -279,11 +269,6 @@ public bool Equals(InlineResponse2006 other) this.CreatedOn != null && this.CreatedOn.Equals(other.CreatedOn) ) && - ( - this.UpdatedOn == other.UpdatedOn || - this.UpdatedOn != null && - this.UpdatedOn.Equals(other.UpdatedOn) - ) && ( this.NotificationScope == other.NotificationScope || this.NotificationScope != null && @@ -324,8 +309,6 @@ public override int GetHashCode() hash = hash * 59 + this.SecurityPolicy.GetHashCode(); if (this.CreatedOn != null) hash = hash * 59 + this.CreatedOn.GetHashCode(); - if (this.UpdatedOn != null) - hash = hash * 59 + this.UpdatedOn.GetHashCode(); if (this.NotificationScope != null) hash = hash * 59 + this.NotificationScope.GetHashCode(); return hash; diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2007.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2007.cs index f3bb2d94..d25354ea 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2007.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2007.cs @@ -33,63 +33,139 @@ public partial class InlineResponse2007 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Total number of results.. - /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. . - /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. . - /// A comma separated list of the following form: `submitTimeUtc:desc` . - /// Results for this page, this could be below the limit.. - /// A collection of devices. - public InlineResponse2007(int? TotalCount = default(int?), int? Offset = default(int?), int? Limit = default(int?), string Sort = default(string), int? Count = default(int?), List Devices = default(List)) + /// Webhook Id. This is generated by the server.. + /// Organization ID.. + /// Products. + /// The client's endpoint (URL) to receive webhooks.. + /// The client's health check endpoint (URL).. + /// Webhook status. (default to "INACTIVE"). + /// Client friendly webhook name.. + /// Client friendly webhook description.. + /// RetryPolicy. + /// SecurityPolicy. + /// Date on which webhook was created/registered.. + /// Date on which webhook was most recently updated.. + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS (default to "DESCENDANTS"). + public InlineResponse2007(string WebhookId = default(string), string OrganizationId = default(string), List Products = default(List), string WebhookUrl = default(string), string HealthCheckUrl = default(string), string Status = "INACTIVE", string Name = default(string), string Description = default(string), Notificationsubscriptionsv2webhooksRetryPolicy RetryPolicy = default(Notificationsubscriptionsv2webhooksRetryPolicy), Notificationsubscriptionsv2webhooksSecurityPolicy SecurityPolicy = default(Notificationsubscriptionsv2webhooksSecurityPolicy), string CreatedOn = default(string), string UpdatedOn = default(string), string NotificationScope = "DESCENDANTS") { - this.TotalCount = TotalCount; - this.Offset = Offset; - this.Limit = Limit; - this.Sort = Sort; - this.Count = Count; - this.Devices = Devices; + this.WebhookId = WebhookId; + this.OrganizationId = OrganizationId; + this.Products = Products; + this.WebhookUrl = WebhookUrl; + this.HealthCheckUrl = HealthCheckUrl; + // use default value if no "Status" provided + if (Status == null) + { + this.Status = "INACTIVE"; + } + else + { + this.Status = Status; + } + this.Name = Name; + this.Description = Description; + this.RetryPolicy = RetryPolicy; + this.SecurityPolicy = SecurityPolicy; + this.CreatedOn = CreatedOn; + this.UpdatedOn = UpdatedOn; + // use default value if no "NotificationScope" provided + if (NotificationScope == null) + { + this.NotificationScope = "DESCENDANTS"; + } + else + { + this.NotificationScope = NotificationScope; + } } /// - /// Total number of results. + /// Webhook Id. This is generated by the server. + /// + /// Webhook Id. This is generated by the server. + [DataMember(Name="webhookId", EmitDefaultValue=false)] + public string WebhookId { get; set; } + + /// + /// Organization ID. /// - /// Total number of results. - [DataMember(Name="totalCount", EmitDefaultValue=false)] - public int? TotalCount { get; set; } + /// Organization ID. + [DataMember(Name="organizationId", EmitDefaultValue=false)] + public string OrganizationId { get; set; } /// - /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + /// Gets or Sets Products /// - /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. - [DataMember(Name="offset", EmitDefaultValue=false)] - public int? Offset { get; set; } + [DataMember(Name="products", EmitDefaultValue=false)] + public List Products { get; set; } /// - /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + /// The client's endpoint (URL) to receive webhooks. /// - /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - [DataMember(Name="limit", EmitDefaultValue=false)] - public int? Limit { get; set; } + /// The client's endpoint (URL) to receive webhooks. + [DataMember(Name="webhookUrl", EmitDefaultValue=false)] + public string WebhookUrl { get; set; } /// - /// A comma separated list of the following form: `submitTimeUtc:desc` + /// The client's health check endpoint (URL). /// - /// A comma separated list of the following form: `submitTimeUtc:desc` - [DataMember(Name="sort", EmitDefaultValue=false)] - public string Sort { get; set; } + /// The client's health check endpoint (URL). + [DataMember(Name="healthCheckUrl", EmitDefaultValue=false)] + public string HealthCheckUrl { get; set; } /// - /// Results for this page, this could be below the limit. + /// Webhook status. /// - /// Results for this page, this could be below the limit. - [DataMember(Name="count", EmitDefaultValue=false)] - public int? Count { get; set; } + /// Webhook status. + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } /// - /// A collection of devices + /// Client friendly webhook name. /// - /// A collection of devices - [DataMember(Name="devices", EmitDefaultValue=false)] - public List Devices { get; set; } + /// Client friendly webhook name. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Client friendly webhook description. + /// + /// Client friendly webhook description. + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Gets or Sets RetryPolicy + /// + [DataMember(Name="retryPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv2webhooksRetryPolicy RetryPolicy { get; set; } + + /// + /// Gets or Sets SecurityPolicy + /// + [DataMember(Name="securityPolicy", EmitDefaultValue=false)] + public Notificationsubscriptionsv2webhooksSecurityPolicy SecurityPolicy { get; set; } + + /// + /// Date on which webhook was created/registered. + /// + /// Date on which webhook was created/registered. + [DataMember(Name="createdOn", EmitDefaultValue=false)] + public string CreatedOn { get; set; } + + /// + /// Date on which webhook was most recently updated. + /// + /// Date on which webhook was most recently updated. + [DataMember(Name="updatedOn", EmitDefaultValue=false)] + public string UpdatedOn { get; set; } + + /// + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS + /// + /// The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS + [DataMember(Name="notificationScope", EmitDefaultValue=false)] + public string NotificationScope { get; set; } /// /// Returns the string presentation of the object @@ -99,12 +175,19 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2007 {\n"); - if (TotalCount != null) sb.Append(" TotalCount: ").Append(TotalCount).Append("\n"); - if (Offset != null) sb.Append(" Offset: ").Append(Offset).Append("\n"); - if (Limit != null) sb.Append(" Limit: ").Append(Limit).Append("\n"); - if (Sort != null) sb.Append(" Sort: ").Append(Sort).Append("\n"); - if (Count != null) sb.Append(" Count: ").Append(Count).Append("\n"); - if (Devices != null) sb.Append(" Devices: ").Append(Devices).Append("\n"); + if (WebhookId != null) sb.Append(" WebhookId: ").Append(WebhookId).Append("\n"); + if (OrganizationId != null) sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); + if (Products != null) sb.Append(" Products: ").Append(Products).Append("\n"); + if (WebhookUrl != null) sb.Append(" WebhookUrl: ").Append(WebhookUrl).Append("\n"); + if (HealthCheckUrl != null) sb.Append(" HealthCheckUrl: ").Append(HealthCheckUrl).Append("\n"); + if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); + if (Name != null) sb.Append(" Name: ").Append(Name).Append("\n"); + if (Description != null) sb.Append(" Description: ").Append(Description).Append("\n"); + if (RetryPolicy != null) sb.Append(" RetryPolicy: ").Append(RetryPolicy).Append("\n"); + if (SecurityPolicy != null) sb.Append(" SecurityPolicy: ").Append(SecurityPolicy).Append("\n"); + if (CreatedOn != null) sb.Append(" CreatedOn: ").Append(CreatedOn).Append("\n"); + if (UpdatedOn != null) sb.Append(" UpdatedOn: ").Append(UpdatedOn).Append("\n"); + if (NotificationScope != null) sb.Append(" NotificationScope: ").Append(NotificationScope).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -142,34 +225,69 @@ public bool Equals(InlineResponse2007 other) return ( - this.TotalCount == other.TotalCount || - this.TotalCount != null && - this.TotalCount.Equals(other.TotalCount) + this.WebhookId == other.WebhookId || + this.WebhookId != null && + this.WebhookId.Equals(other.WebhookId) + ) && + ( + this.OrganizationId == other.OrganizationId || + this.OrganizationId != null && + this.OrganizationId.Equals(other.OrganizationId) + ) && + ( + this.Products == other.Products || + this.Products != null && + this.Products.SequenceEqual(other.Products) + ) && + ( + this.WebhookUrl == other.WebhookUrl || + this.WebhookUrl != null && + this.WebhookUrl.Equals(other.WebhookUrl) + ) && + ( + this.HealthCheckUrl == other.HealthCheckUrl || + this.HealthCheckUrl != null && + this.HealthCheckUrl.Equals(other.HealthCheckUrl) + ) && + ( + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) + ) && + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ) && + ( + this.Description == other.Description || + this.Description != null && + this.Description.Equals(other.Description) ) && ( - this.Offset == other.Offset || - this.Offset != null && - this.Offset.Equals(other.Offset) + this.RetryPolicy == other.RetryPolicy || + this.RetryPolicy != null && + this.RetryPolicy.Equals(other.RetryPolicy) ) && ( - this.Limit == other.Limit || - this.Limit != null && - this.Limit.Equals(other.Limit) + this.SecurityPolicy == other.SecurityPolicy || + this.SecurityPolicy != null && + this.SecurityPolicy.Equals(other.SecurityPolicy) ) && ( - this.Sort == other.Sort || - this.Sort != null && - this.Sort.Equals(other.Sort) + this.CreatedOn == other.CreatedOn || + this.CreatedOn != null && + this.CreatedOn.Equals(other.CreatedOn) ) && ( - this.Count == other.Count || - this.Count != null && - this.Count.Equals(other.Count) + this.UpdatedOn == other.UpdatedOn || + this.UpdatedOn != null && + this.UpdatedOn.Equals(other.UpdatedOn) ) && ( - this.Devices == other.Devices || - this.Devices != null && - this.Devices.SequenceEqual(other.Devices) + this.NotificationScope == other.NotificationScope || + this.NotificationScope != null && + this.NotificationScope.Equals(other.NotificationScope) ); } @@ -184,18 +302,32 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.TotalCount != null) - hash = hash * 59 + this.TotalCount.GetHashCode(); - if (this.Offset != null) - hash = hash * 59 + this.Offset.GetHashCode(); - if (this.Limit != null) - hash = hash * 59 + this.Limit.GetHashCode(); - if (this.Sort != null) - hash = hash * 59 + this.Sort.GetHashCode(); - if (this.Count != null) - hash = hash * 59 + this.Count.GetHashCode(); - if (this.Devices != null) - hash = hash * 59 + this.Devices.GetHashCode(); + if (this.WebhookId != null) + hash = hash * 59 + this.WebhookId.GetHashCode(); + if (this.OrganizationId != null) + hash = hash * 59 + this.OrganizationId.GetHashCode(); + if (this.Products != null) + hash = hash * 59 + this.Products.GetHashCode(); + if (this.WebhookUrl != null) + hash = hash * 59 + this.WebhookUrl.GetHashCode(); + if (this.HealthCheckUrl != null) + hash = hash * 59 + this.HealthCheckUrl.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hash = hash * 59 + this.Description.GetHashCode(); + if (this.RetryPolicy != null) + hash = hash * 59 + this.RetryPolicy.GetHashCode(); + if (this.SecurityPolicy != null) + hash = hash * 59 + this.SecurityPolicy.GetHashCode(); + if (this.CreatedOn != null) + hash = hash * 59 + this.CreatedOn.GetHashCode(); + if (this.UpdatedOn != null) + hash = hash * 59 + this.UpdatedOn.GetHashCode(); + if (this.NotificationScope != null) + hash = hash * 59 + this.NotificationScope.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2008.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2008.cs index 983353dd..cd68c246 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2008.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2008.cs @@ -33,26 +33,63 @@ public partial class InlineResponse2008 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Possible values: - OK. - /// Devices. - public InlineResponse2008(string Status = default(string), List Devices = default(List)) + /// Total number of results.. + /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. . + /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. . + /// A comma separated list of the following form: `submitTimeUtc:desc` . + /// Results for this page, this could be below the limit.. + /// A collection of devices. + public InlineResponse2008(int? TotalCount = default(int?), int? Offset = default(int?), int? Limit = default(int?), string Sort = default(string), int? Count = default(int?), List Devices = default(List)) { - this.Status = Status; + this.TotalCount = TotalCount; + this.Offset = Offset; + this.Limit = Limit; + this.Sort = Sort; + this.Count = Count; this.Devices = Devices; } /// - /// Possible values: - OK + /// Total number of results. /// - /// Possible values: - OK - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } + /// Total number of results. + [DataMember(Name="totalCount", EmitDefaultValue=false)] + public int? TotalCount { get; set; } /// - /// Gets or Sets Devices + /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. /// + /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + [DataMember(Name="offset", EmitDefaultValue=false)] + public int? Offset { get; set; } + + /// + /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + /// + /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. + [DataMember(Name="limit", EmitDefaultValue=false)] + public int? Limit { get; set; } + + /// + /// A comma separated list of the following form: `submitTimeUtc:desc` + /// + /// A comma separated list of the following form: `submitTimeUtc:desc` + [DataMember(Name="sort", EmitDefaultValue=false)] + public string Sort { get; set; } + + /// + /// Results for this page, this could be below the limit. + /// + /// Results for this page, this could be below the limit. + [DataMember(Name="count", EmitDefaultValue=false)] + public int? Count { get; set; } + + /// + /// A collection of devices + /// + /// A collection of devices [DataMember(Name="devices", EmitDefaultValue=false)] - public List Devices { get; set; } + public List Devices { get; set; } /// /// Returns the string presentation of the object @@ -62,7 +99,11 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2008 {\n"); - if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); + if (TotalCount != null) sb.Append(" TotalCount: ").Append(TotalCount).Append("\n"); + if (Offset != null) sb.Append(" Offset: ").Append(Offset).Append("\n"); + if (Limit != null) sb.Append(" Limit: ").Append(Limit).Append("\n"); + if (Sort != null) sb.Append(" Sort: ").Append(Sort).Append("\n"); + if (Count != null) sb.Append(" Count: ").Append(Count).Append("\n"); if (Devices != null) sb.Append(" Devices: ").Append(Devices).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -101,9 +142,29 @@ public bool Equals(InlineResponse2008 other) return ( - this.Status == other.Status || - this.Status != null && - this.Status.Equals(other.Status) + this.TotalCount == other.TotalCount || + this.TotalCount != null && + this.TotalCount.Equals(other.TotalCount) + ) && + ( + this.Offset == other.Offset || + this.Offset != null && + this.Offset.Equals(other.Offset) + ) && + ( + this.Limit == other.Limit || + this.Limit != null && + this.Limit.Equals(other.Limit) + ) && + ( + this.Sort == other.Sort || + this.Sort != null && + this.Sort.Equals(other.Sort) + ) && + ( + this.Count == other.Count || + this.Count != null && + this.Count.Equals(other.Count) ) && ( this.Devices == other.Devices || @@ -123,8 +184,16 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Status != null) - hash = hash * 59 + this.Status.GetHashCode(); + if (this.TotalCount != null) + hash = hash * 59 + this.TotalCount.GetHashCode(); + if (this.Offset != null) + hash = hash * 59 + this.Offset.GetHashCode(); + if (this.Limit != null) + hash = hash * 59 + this.Limit.GetHashCode(); + if (this.Sort != null) + hash = hash * 59 + this.Sort.GetHashCode(); + if (this.Count != null) + hash = hash * 59 + this.Count.GetHashCode(); if (this.Devices != null) hash = hash * 59 + this.Devices.GetHashCode(); return hash; diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2007Devices.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2008Devices.cs similarity index 94% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2007Devices.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2008Devices.cs index d32ee155..fe227798 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2007Devices.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2008Devices.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// InlineResponse2007Devices + /// InlineResponse2008Devices /// [DataContract] - public partial class InlineResponse2007Devices : IEquatable, IValidatableObject + public partial class InlineResponse2008Devices : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// ReaderId. /// TerminalSerialNumber. @@ -42,7 +42,7 @@ public partial class InlineResponse2007Devices : IEquatableStatus of the device. Possible Values: - 'ACTIVE' - 'INACTIVE' . /// CreationDate. /// Pin. - public InlineResponse2007Devices(string ReaderId = default(string), string TerminalSerialNumber = default(string), string TerminalId = default(string), string Model = default(string), string Make = default(string), string HardwareRevision = default(string), string Status = default(string), string CreationDate = default(string), string Pin = default(string)) + public InlineResponse2008Devices(string ReaderId = default(string), string TerminalSerialNumber = default(string), string TerminalId = default(string), string Model = default(string), string Make = default(string), string HardwareRevision = default(string), string Status = default(string), string CreationDate = default(string), string Pin = default(string)) { this.ReaderId = ReaderId; this.TerminalSerialNumber = TerminalSerialNumber; @@ -117,7 +117,7 @@ public partial class InlineResponse2007Devices : IEquatable - /// Returns true if InlineResponse2007Devices instances are equal + /// Returns true if InlineResponse2008Devices instances are equal /// - /// Instance of InlineResponse2007Devices to be compared + /// Instance of InlineResponse2008Devices to be compared /// Boolean - public bool Equals(InlineResponse2007Devices other) + public bool Equals(InlineResponse2008Devices other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009.cs index 8da9f611..ec2aa260 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2009.cs @@ -33,63 +33,26 @@ public partial class InlineResponse2009 : IEquatable, IVali /// /// Initializes a new instance of the class. /// - /// Total number of results.. - /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. . - /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. . - /// A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` . - /// Results for this page, this could be below the limit.. - /// A collection of devices. - public InlineResponse2009(int? TotalCount = default(int?), int? Offset = default(int?), int? Limit = default(int?), string Sort = default(string), int? Count = default(int?), List Devices = default(List)) + /// Possible values: - OK. + /// Devices. + public InlineResponse2009(string Status = default(string), List Devices = default(List)) { - this.TotalCount = TotalCount; - this.Offset = Offset; - this.Limit = Limit; - this.Sort = Sort; - this.Count = Count; + this.Status = Status; this.Devices = Devices; } /// - /// Total number of results. + /// Possible values: - OK /// - /// Total number of results. - [DataMember(Name="totalCount", EmitDefaultValue=false)] - public int? TotalCount { get; set; } + /// Possible values: - OK + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } /// - /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. + /// Gets or Sets Devices /// - /// Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. - [DataMember(Name="offset", EmitDefaultValue=false)] - public int? Offset { get; set; } - - /// - /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - /// - /// Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. - [DataMember(Name="limit", EmitDefaultValue=false)] - public int? Limit { get; set; } - - /// - /// A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` - /// - /// A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` - [DataMember(Name="sort", EmitDefaultValue=false)] - public string Sort { get; set; } - - /// - /// Results for this page, this could be below the limit. - /// - /// Results for this page, this could be below the limit. - [DataMember(Name="count", EmitDefaultValue=false)] - public int? Count { get; set; } - - /// - /// A collection of devices - /// - /// A collection of devices [DataMember(Name="devices", EmitDefaultValue=false)] - public List Devices { get; set; } + public List Devices { get; set; } /// /// Returns the string presentation of the object @@ -99,11 +62,7 @@ public override string ToString() { var sb = new StringBuilder(); sb.Append("class InlineResponse2009 {\n"); - if (TotalCount != null) sb.Append(" TotalCount: ").Append(TotalCount).Append("\n"); - if (Offset != null) sb.Append(" Offset: ").Append(Offset).Append("\n"); - if (Limit != null) sb.Append(" Limit: ").Append(Limit).Append("\n"); - if (Sort != null) sb.Append(" Sort: ").Append(Sort).Append("\n"); - if (Count != null) sb.Append(" Count: ").Append(Count).Append("\n"); + if (Status != null) sb.Append(" Status: ").Append(Status).Append("\n"); if (Devices != null) sb.Append(" Devices: ").Append(Devices).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -142,29 +101,9 @@ public bool Equals(InlineResponse2009 other) return ( - this.TotalCount == other.TotalCount || - this.TotalCount != null && - this.TotalCount.Equals(other.TotalCount) - ) && - ( - this.Offset == other.Offset || - this.Offset != null && - this.Offset.Equals(other.Offset) - ) && - ( - this.Limit == other.Limit || - this.Limit != null && - this.Limit.Equals(other.Limit) - ) && - ( - this.Sort == other.Sort || - this.Sort != null && - this.Sort.Equals(other.Sort) - ) && - ( - this.Count == other.Count || - this.Count != null && - this.Count.Equals(other.Count) + this.Status == other.Status || + this.Status != null && + this.Status.Equals(other.Status) ) && ( this.Devices == other.Devices || @@ -184,16 +123,8 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.TotalCount != null) - hash = hash * 59 + this.TotalCount.GetHashCode(); - if (this.Offset != null) - hash = hash * 59 + this.Offset.GetHashCode(); - if (this.Limit != null) - hash = hash * 59 + this.Limit.GetHashCode(); - if (this.Sort != null) - hash = hash * 59 + this.Sort.GetHashCode(); - if (this.Count != null) - hash = hash * 59 + this.Count.GetHashCode(); + if (this.Status != null) + hash = hash * 59 + this.Status.GetHashCode(); if (this.Devices != null) hash = hash * 59 + this.Devices.GetHashCode(); return hash; diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Links.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Details.cs similarity index 63% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Links.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Details.cs index 67cd8314..1e2d2d07 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse20010Links.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Details.cs @@ -25,34 +25,32 @@ namespace CyberSource.Model { /// - /// InlineResponse20010Links + /// InlineResponse200Details /// [DataContract] - public partial class InlineResponse20010Links : IEquatable, IValidatableObject + public partial class InlineResponse200Details : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - /// Valid Values: * self * first * last * prev * next . - /// Href. - public InlineResponse20010Links(string Rel = default(string), string Href = default(string)) + [JsonConstructorAttribute] + public InlineResponse200Details() { - this.Rel = Rel; - this.Href = Href; } /// - /// Valid Values: * self * first * last * prev * next + /// The name of the field that caused the error. /// - /// Valid Values: * self * first * last * prev * next - [DataMember(Name="rel", EmitDefaultValue=false)] - public string Rel { get; set; } + /// The name of the field that caused the error. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; private set; } /// - /// Gets or Sets Href + /// The location of the field that caused the error. /// - [DataMember(Name="href", EmitDefaultValue=false)] - public string Href { get; set; } + /// The location of the field that caused the error. + [DataMember(Name="location", EmitDefaultValue=false)] + public string Location { get; private set; } /// /// Returns the string presentation of the object @@ -61,9 +59,9 @@ public partial class InlineResponse20010Links : IEquatable - /// Returns true if InlineResponse20010Links instances are equal + /// Returns true if InlineResponse200Details instances are equal /// - /// Instance of InlineResponse20010Links to be compared + /// Instance of InlineResponse200Details to be compared /// Boolean - public bool Equals(InlineResponse20010Links other) + public bool Equals(InlineResponse200Details other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) @@ -101,14 +99,14 @@ public bool Equals(InlineResponse20010Links other) return ( - this.Rel == other.Rel || - this.Rel != null && - this.Rel.Equals(other.Rel) + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) ) && ( - this.Href == other.Href || - this.Href != null && - this.Href.Equals(other.Href) + this.Location == other.Location || + this.Location != null && + this.Location.Equals(other.Location) ); } @@ -123,10 +121,10 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Rel != null) - hash = hash * 59 + this.Rel.GetHashCode(); - if (this.Href != null) - hash = hash * 59 + this.Href.GetHashCode(); + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + if (this.Location != null) + hash = hash * 59 + this.Location.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Errors.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Errors.cs new file mode 100644 index 00000000..1a9da9c4 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Errors.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 +{ + /// + /// InlineResponse200Errors + /// + [DataContract] + public partial class InlineResponse200Errors : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. . + /// The detailed message related to the type.. + public InlineResponse200Errors(string Type = default(string), string Message = default(string)) + { + this.Type = Type; + this.Message = Message; + } + + /// + /// The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. + /// + /// The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. + [DataMember(Name="type", EmitDefaultValue=false)] + public string Type { get; set; } + + /// + /// The detailed message related to the type. + /// + /// The detailed message related to the type. + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Gets or Sets Details + /// + [DataMember(Name="details", EmitDefaultValue=false)] + public List Details { 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 InlineResponse200Errors {\n"); + if (Type != null) sb.Append(" Type: ").Append(Type).Append("\n"); + if (Message != null) sb.Append(" Message: ").Append(Message).Append("\n"); + if (Details != null) sb.Append(" Details: ").Append(Details).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 InlineResponse200Errors); + } + + /// + /// Returns true if InlineResponse200Errors instances are equal + /// + /// Instance of InlineResponse200Errors to be compared + /// Boolean + public bool Equals(InlineResponse200Errors other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Type == other.Type || + this.Type != null && + this.Type.Equals(other.Type) + ) && + ( + this.Message == other.Message || + this.Message != null && + this.Message.Equals(other.Message) + ) && + ( + this.Details == other.Details || + this.Details != null && + this.Details.SequenceEqual(other.Details) + ); + } + + /// + /// 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.Type != null) + hash = hash * 59 + this.Type.GetHashCode(); + if (this.Message != null) + hash = hash * 59 + this.Message.GetHashCode(); + if (this.Details != null) + hash = hash * 59 + this.Details.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-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Responses.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Responses.cs new file mode 100644 index 00000000..6fa2bc53 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse200Responses.cs @@ -0,0 +1,179 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// InlineResponse200Responses + /// + [DataContract] + public partial class InlineResponse200Responses : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard . + /// Http status associated with the response. . + /// TMS token id associated with the response. . + /// Errors. + public InlineResponse200Responses(string Resource = default(string), int? HttpStatus = default(int?), string Id = default(string), List Errors = default(List)) + { + this.Resource = Resource; + this.HttpStatus = HttpStatus; + this.Id = Id; + this.Errors = Errors; + } + + /// + /// TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + /// + /// TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + [DataMember(Name="resource", EmitDefaultValue=false)] + public string Resource { get; set; } + + /// + /// Http status associated with the response. + /// + /// Http status associated with the response. + [DataMember(Name="httpStatus", EmitDefaultValue=false)] + public int? HttpStatus { get; set; } + + /// + /// TMS token id associated with the response. + /// + /// TMS token id associated with the response. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// Gets or Sets Errors + /// + [DataMember(Name="errors", EmitDefaultValue=false)] + public List Errors { 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 InlineResponse200Responses {\n"); + if (Resource != null) sb.Append(" Resource: ").Append(Resource).Append("\n"); + if (HttpStatus != null) sb.Append(" HttpStatus: ").Append(HttpStatus).Append("\n"); + if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); + if (Errors != null) sb.Append(" Errors: ").Append(Errors).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 InlineResponse200Responses); + } + + /// + /// Returns true if InlineResponse200Responses instances are equal + /// + /// Instance of InlineResponse200Responses to be compared + /// Boolean + public bool Equals(InlineResponse200Responses other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Resource == other.Resource || + this.Resource != null && + this.Resource.Equals(other.Resource) + ) && + ( + this.HttpStatus == other.HttpStatus || + this.HttpStatus != null && + this.HttpStatus.Equals(other.HttpStatus) + ) && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Errors == other.Errors || + this.Errors != null && + this.Errors.SequenceEqual(other.Errors) + ); + } + + /// + /// 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.Resource != null) + hash = hash * 59 + this.Resource.GetHashCode(); + if (this.HttpStatus != null) + hash = hash * 59 + this.HttpStatus.GetHashCode(); + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.Errors != null) + hash = hash * 59 + this.Errors.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-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2013SetupsPayments.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2013SetupsPayments.cs index f1fbdebb..ec360ae5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2013SetupsPayments.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/InlineResponse2013SetupsPayments.cs @@ -52,7 +52,8 @@ public partial class InlineResponse2013SetupsPayments : IEquatableUnifiedCheckout. /// ReceivablesManager. /// ServiceFee. - public InlineResponse2013SetupsPayments(InlineResponse2013SetupsPaymentsCardProcessing CardProcessing = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsAlternativePaymentMethods AlternativePaymentMethods = default(InlineResponse2013SetupsPaymentsAlternativePaymentMethods), InlineResponse2013SetupsPaymentsCardProcessing CardPresentConnect = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing ECheck = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing PayerAuthentication = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments DigitalPayments = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsCardProcessing SecureAcceptance = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing VirtualTerminal = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing CurrencyConversion = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments Tax = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsDigitalPayments CustomerInvoicing = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsCardProcessing RecurringBilling = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing CybsReadyTerminal = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments PaymentOrchestration = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsCardProcessing Payouts = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments PayByLink = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsDigitalPayments UnifiedCheckout = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsDigitalPayments ReceivablesManager = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsCardProcessing ServiceFee = default(InlineResponse2013SetupsPaymentsCardProcessing)) + /// BatchUpload. + public InlineResponse2013SetupsPayments(InlineResponse2013SetupsPaymentsCardProcessing CardProcessing = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsAlternativePaymentMethods AlternativePaymentMethods = default(InlineResponse2013SetupsPaymentsAlternativePaymentMethods), InlineResponse2013SetupsPaymentsCardProcessing CardPresentConnect = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing ECheck = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing PayerAuthentication = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments DigitalPayments = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsCardProcessing SecureAcceptance = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing VirtualTerminal = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing CurrencyConversion = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments Tax = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsDigitalPayments CustomerInvoicing = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsCardProcessing RecurringBilling = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsCardProcessing CybsReadyTerminal = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments PaymentOrchestration = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsCardProcessing Payouts = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments PayByLink = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsDigitalPayments UnifiedCheckout = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsDigitalPayments ReceivablesManager = default(InlineResponse2013SetupsPaymentsDigitalPayments), InlineResponse2013SetupsPaymentsCardProcessing ServiceFee = default(InlineResponse2013SetupsPaymentsCardProcessing), InlineResponse2013SetupsPaymentsDigitalPayments BatchUpload = default(InlineResponse2013SetupsPaymentsDigitalPayments)) { this.CardProcessing = CardProcessing; this.AlternativePaymentMethods = AlternativePaymentMethods; @@ -73,6 +74,7 @@ public partial class InlineResponse2013SetupsPayments : IEquatable @@ -189,6 +191,12 @@ public partial class InlineResponse2013SetupsPayments : IEquatable + /// Gets or Sets BatchUpload + /// + [DataMember(Name="batchUpload", EmitDefaultValue=false)] + public InlineResponse2013SetupsPaymentsDigitalPayments BatchUpload { get; set; } + /// /// Returns the string presentation of the object /// @@ -216,6 +224,7 @@ public override string ToString() if (UnifiedCheckout != null) sb.Append(" UnifiedCheckout: ").Append(UnifiedCheckout).Append("\n"); if (ReceivablesManager != null) sb.Append(" ReceivablesManager: ").Append(ReceivablesManager).Append("\n"); if (ServiceFee != null) sb.Append(" ServiceFee: ").Append(ServiceFee).Append("\n"); + if (BatchUpload != null) sb.Append(" BatchUpload: ").Append(BatchUpload).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -346,6 +355,11 @@ public bool Equals(InlineResponse2013SetupsPayments other) this.ServiceFee == other.ServiceFee || this.ServiceFee != null && this.ServiceFee.Equals(other.ServiceFee) + ) && + ( + this.BatchUpload == other.BatchUpload || + this.BatchUpload != null && + this.BatchUpload.Equals(other.BatchUpload) ); } @@ -398,6 +412,8 @@ public override int GetHashCode() hash = hash * 59 + this.ReceivablesManager.GetHashCode(); if (this.ServiceFee != null) hash = hash * 59 + this.ServiceFee.GetHashCode(); + if (this.BatchUpload != null) + hash = hash * 59 + this.BatchUpload.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerPaymentInstrumentRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerPaymentInstrumentRequest.cs index aea10cb9..a0424d49 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerPaymentInstrumentRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerPaymentInstrumentRequest.cs @@ -45,7 +45,7 @@ public partial class PatchCustomerPaymentInstrumentRequest : IEquatableInstrumentIdentifier. /// Metadata. /// Embedded. - public PatchCustomerPaymentInstrumentRequest(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard), Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded)) + public PatchCustomerPaymentInstrumentRequest(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), TmsMerchantInformation MerchantInformation = default(TmsMerchantInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded)) { this.Links = Links; this.Id = Id; @@ -65,7 +65,7 @@ public partial class PatchCustomerPaymentInstrumentRequest : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } /// /// The Id of the Payment Instrument Token. @@ -106,25 +106,25 @@ public partial class PatchCustomerPaymentInstrumentRequest : IEquatable [DataMember(Name="bankAccount", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } /// /// Gets or Sets Card /// [DataMember(Name="card", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card { get; set; } /// /// Gets or Sets BuyerInformation /// [DataMember(Name="buyerInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } /// /// Gets or Sets BillTo /// [DataMember(Name="billTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } /// /// Gets or Sets ProcessingInformation @@ -136,25 +136,25 @@ public partial class PatchCustomerPaymentInstrumentRequest : IEquatable [DataMember(Name="merchantInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation { get; set; } + public TmsMerchantInformation MerchantInformation { get; set; } /// /// Gets or Sets InstrumentIdentifier /// [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } /// /// Gets or Sets Embedded /// [DataMember(Name="_embedded", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerRequest.cs index f7ef5583..033f3292 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerRequest.cs @@ -43,7 +43,7 @@ public partial class PatchCustomerRequest : IEquatable, I /// DefaultShippingAddress. /// Metadata. /// Embedded. - public PatchCustomerRequest(Tmsv2customersLinks Links = default(Tmsv2customersLinks), string Id = default(string), Tmsv2customersObjectInformation ObjectInformation = default(Tmsv2customersObjectInformation), Tmsv2customersBuyerInformation BuyerInformation = default(Tmsv2customersBuyerInformation), Tmsv2customersClientReferenceInformation ClientReferenceInformation = default(Tmsv2customersClientReferenceInformation), List MerchantDefinedInformation = default(List), Tmsv2customersDefaultPaymentInstrument DefaultPaymentInstrument = default(Tmsv2customersDefaultPaymentInstrument), Tmsv2customersDefaultShippingAddress DefaultShippingAddress = default(Tmsv2customersDefaultShippingAddress), Tmsv2customersMetadata Metadata = default(Tmsv2customersMetadata), Tmsv2customersEmbedded Embedded = default(Tmsv2customersEmbedded)) + public PatchCustomerRequest(Tmsv2tokenizeTokenInformationCustomerLinks Links = default(Tmsv2tokenizeTokenInformationCustomerLinks), string Id = default(string), Tmsv2tokenizeTokenInformationCustomerObjectInformation ObjectInformation = default(Tmsv2tokenizeTokenInformationCustomerObjectInformation), Tmsv2tokenizeTokenInformationCustomerBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerBuyerInformation), Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ClientReferenceInformation = default(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation), List MerchantDefinedInformation = default(List), Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument DefaultPaymentInstrument = default(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument), Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress DefaultShippingAddress = default(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress), Tmsv2tokenizeTokenInformationCustomerMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerMetadata), Tmsv2tokenizeTokenInformationCustomerEmbedded Embedded = default(Tmsv2tokenizeTokenInformationCustomerEmbedded)) { this.Links = Links; this.Id = Id; @@ -61,7 +61,7 @@ public partial class PatchCustomerRequest : IEquatable, I /// Gets or Sets Links /// [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerLinks Links { get; set; } /// /// The Id of the Customer Token. @@ -74,50 +74,50 @@ public partial class PatchCustomerRequest : IEquatable, I /// Gets or Sets ObjectInformation /// [DataMember(Name="objectInformation", EmitDefaultValue=false)] - public Tmsv2customersObjectInformation ObjectInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerObjectInformation ObjectInformation { get; set; } /// /// Gets or Sets BuyerInformation /// [DataMember(Name="buyerInformation", EmitDefaultValue=false)] - public Tmsv2customersBuyerInformation BuyerInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation BuyerInformation { get; set; } /// /// Gets or Sets ClientReferenceInformation /// [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] - public Tmsv2customersClientReferenceInformation ClientReferenceInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ClientReferenceInformation { get; set; } /// /// Object containing the custom data that the merchant defines. /// /// Object containing the custom data that the merchant defines. [DataMember(Name="merchantDefinedInformation", EmitDefaultValue=false)] - public List MerchantDefinedInformation { get; set; } + public List MerchantDefinedInformation { get; set; } /// /// Gets or Sets DefaultPaymentInstrument /// [DataMember(Name="defaultPaymentInstrument", EmitDefaultValue=false)] - public Tmsv2customersDefaultPaymentInstrument DefaultPaymentInstrument { get; set; } + public Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument DefaultPaymentInstrument { get; set; } /// /// Gets or Sets DefaultShippingAddress /// [DataMember(Name="defaultShippingAddress", EmitDefaultValue=false)] - public Tmsv2customersDefaultShippingAddress DefaultShippingAddress { get; set; } + public Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress DefaultShippingAddress { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerMetadata Metadata { get; set; } /// /// Gets or Sets Embedded /// [DataMember(Name="_embedded", EmitDefaultValue=false)] - public Tmsv2customersEmbedded Embedded { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbedded Embedded { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerShippingAddressRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerShippingAddressRequest.cs index 7969e9df..e3144a95 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerShippingAddressRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchCustomerShippingAddressRequest.cs @@ -38,7 +38,7 @@ public partial class PatchCustomerShippingAddressRequest : IEquatableFlag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. . /// ShipTo. /// Metadata. - public PatchCustomerShippingAddressRequest(Tmsv2customersEmbeddedDefaultShippingAddressLinks Links = default(Tmsv2customersEmbeddedDefaultShippingAddressLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultShippingAddressShipTo ShipTo = default(Tmsv2customersEmbeddedDefaultShippingAddressShipTo), Tmsv2customersEmbeddedDefaultShippingAddressMetadata Metadata = default(Tmsv2customersEmbeddedDefaultShippingAddressMetadata)) + public PatchCustomerShippingAddressRequest(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ShipTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata)) { this.Links = Links; this.Id = Id; @@ -51,7 +51,7 @@ public partial class PatchCustomerShippingAddressRequest : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks Links { get; set; } /// /// The Id of the Shipping Address Token. @@ -71,13 +71,13 @@ public partial class PatchCustomerShippingAddressRequest : IEquatable [DataMember(Name="shipTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo ShipTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ShipTo { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata Metadata { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchPaymentInstrumentRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchPaymentInstrumentRequest.cs index a13df978..d0707bba 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchPaymentInstrumentRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PatchPaymentInstrumentRequest.cs @@ -45,7 +45,7 @@ public partial class PatchPaymentInstrumentRequest : IEquatableInstrumentIdentifier. /// Metadata. /// Embedded. - public PatchPaymentInstrumentRequest(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard), Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded)) + public PatchPaymentInstrumentRequest(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), TmsMerchantInformation MerchantInformation = default(TmsMerchantInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded)) { this.Links = Links; this.Id = Id; @@ -65,7 +65,7 @@ public partial class PatchPaymentInstrumentRequest : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } /// /// The Id of the Payment Instrument Token. @@ -106,25 +106,25 @@ public partial class PatchPaymentInstrumentRequest : IEquatable [DataMember(Name="bankAccount", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } /// /// Gets or Sets Card /// [DataMember(Name="card", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card { get; set; } /// /// Gets or Sets BuyerInformation /// [DataMember(Name="buyerInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } /// /// Gets or Sets BillTo /// [DataMember(Name="billTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } /// /// Gets or Sets ProcessingInformation @@ -136,25 +136,25 @@ public partial class PatchPaymentInstrumentRequest : IEquatable [DataMember(Name="merchantInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation { get; set; } + public TmsMerchantInformation MerchantInformation { get; set; } /// /// Gets or Sets InstrumentIdentifier /// [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } /// /// Gets or Sets Embedded /// [DataMember(Name="_embedded", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.cs index 56b17111..28cade1d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentInstrumentList1EmbeddedPaymentInstruments.cs @@ -45,7 +45,7 @@ public partial class PaymentInstrumentList1EmbeddedPaymentInstruments : IEquata /// InstrumentIdentifier. /// Metadata. /// Embedded. - public PaymentInstrumentList1EmbeddedPaymentInstruments(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard), Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata), PaymentInstrumentList1EmbeddedEmbedded Embedded = default(PaymentInstrumentList1EmbeddedEmbedded)) + public PaymentInstrumentList1EmbeddedPaymentInstruments(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), TmsMerchantInformation MerchantInformation = default(TmsMerchantInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata), PaymentInstrumentList1EmbeddedEmbedded Embedded = default(PaymentInstrumentList1EmbeddedEmbedded)) { this.Links = Links; this.Id = Id; @@ -65,7 +65,7 @@ public partial class PaymentInstrumentList1EmbeddedPaymentInstruments : IEquata /// Gets or Sets Links /// [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } /// /// The Id of the Payment Instrument Token. @@ -106,25 +106,25 @@ public partial class PaymentInstrumentList1EmbeddedPaymentInstruments : IEquata /// Gets or Sets BankAccount /// [DataMember(Name="bankAccount", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } /// /// Gets or Sets Card /// [DataMember(Name="card", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card { get; set; } /// /// Gets or Sets BuyerInformation /// [DataMember(Name="buyerInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } /// /// Gets or Sets BillTo /// [DataMember(Name="billTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } /// /// Gets or Sets ProcessingInformation @@ -136,19 +136,19 @@ public partial class PaymentInstrumentList1EmbeddedPaymentInstruments : IEquata /// Gets or Sets MerchantInformation /// [DataMember(Name="merchantInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation { get; set; } + public TmsMerchantInformation MerchantInformation { get; set; } /// /// Gets or Sets InstrumentIdentifier /// [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } /// /// Gets or Sets Embedded diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentInstrumentListEmbedded.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentInstrumentListEmbedded.cs index 657264e2..2d7b9dd1 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentInstrumentListEmbedded.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentInstrumentListEmbedded.cs @@ -42,7 +42,7 @@ public PaymentInstrumentListEmbedded() /// Gets or Sets PaymentInstruments /// [DataMember(Name="paymentInstruments", EmitDefaultValue=false)] - public List PaymentInstruments { get; private set; } + public List PaymentInstruments { get; private set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentsProducts.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentsProducts.cs index 258fc3bf..443cbff3 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentsProducts.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PaymentsProducts.cs @@ -53,7 +53,8 @@ public partial class PaymentsProducts : IEquatable, IValidata /// UnifiedCheckout. /// ReceivablesManager. /// ServiceFee. - public PaymentsProducts(PaymentsProductsCardProcessing CardProcessing = default(PaymentsProductsCardProcessing), PaymentsProductsAlternativePaymentMethods AlternativePaymentMethods = default(PaymentsProductsAlternativePaymentMethods), PaymentsProductsCardPresentConnect CardPresentConnect = default(PaymentsProductsCardPresentConnect), PaymentsProductsCybsReadyTerminal CybsReadyTerminal = default(PaymentsProductsCybsReadyTerminal), PaymentsProductsECheck ECheck = default(PaymentsProductsECheck), PaymentsProductsPayerAuthentication PayerAuthentication = default(PaymentsProductsPayerAuthentication), PaymentsProductsDigitalPayments DigitalPayments = default(PaymentsProductsDigitalPayments), PaymentsProductsSecureAcceptance SecureAcceptance = default(PaymentsProductsSecureAcceptance), PaymentsProductsVirtualTerminal VirtualTerminal = default(PaymentsProductsVirtualTerminal), PaymentsProductsCurrencyConversion CurrencyConversion = default(PaymentsProductsCurrencyConversion), PaymentsProductsTax Tax = default(PaymentsProductsTax), PaymentsProductsTax CustomerInvoicing = default(PaymentsProductsTax), PaymentsProductsTax RecurringBilling = default(PaymentsProductsTax), PaymentsProductsTax PaymentOrchestration = default(PaymentsProductsTax), PaymentsProductsPayouts Payouts = default(PaymentsProductsPayouts), PaymentsProductsDifferentialFee DifferentialFee = default(PaymentsProductsDifferentialFee), PaymentsProductsTax PayByLink = default(PaymentsProductsTax), PaymentsProductsUnifiedCheckout UnifiedCheckout = default(PaymentsProductsUnifiedCheckout), PaymentsProductsTax ReceivablesManager = default(PaymentsProductsTax), PaymentsProductsServiceFee ServiceFee = default(PaymentsProductsServiceFee)) + /// BatchUpload. + public PaymentsProducts(PaymentsProductsCardProcessing CardProcessing = default(PaymentsProductsCardProcessing), PaymentsProductsAlternativePaymentMethods AlternativePaymentMethods = default(PaymentsProductsAlternativePaymentMethods), PaymentsProductsCardPresentConnect CardPresentConnect = default(PaymentsProductsCardPresentConnect), PaymentsProductsCybsReadyTerminal CybsReadyTerminal = default(PaymentsProductsCybsReadyTerminal), PaymentsProductsECheck ECheck = default(PaymentsProductsECheck), PaymentsProductsPayerAuthentication PayerAuthentication = default(PaymentsProductsPayerAuthentication), PaymentsProductsDigitalPayments DigitalPayments = default(PaymentsProductsDigitalPayments), PaymentsProductsSecureAcceptance SecureAcceptance = default(PaymentsProductsSecureAcceptance), PaymentsProductsVirtualTerminal VirtualTerminal = default(PaymentsProductsVirtualTerminal), PaymentsProductsCurrencyConversion CurrencyConversion = default(PaymentsProductsCurrencyConversion), PaymentsProductsTax Tax = default(PaymentsProductsTax), PaymentsProductsTax CustomerInvoicing = default(PaymentsProductsTax), PaymentsProductsTax RecurringBilling = default(PaymentsProductsTax), PaymentsProductsTax PaymentOrchestration = default(PaymentsProductsTax), PaymentsProductsPayouts Payouts = default(PaymentsProductsPayouts), PaymentsProductsDifferentialFee DifferentialFee = default(PaymentsProductsDifferentialFee), PaymentsProductsTax PayByLink = default(PaymentsProductsTax), PaymentsProductsUnifiedCheckout UnifiedCheckout = default(PaymentsProductsUnifiedCheckout), PaymentsProductsTax ReceivablesManager = default(PaymentsProductsTax), PaymentsProductsServiceFee ServiceFee = default(PaymentsProductsServiceFee), PaymentsProductsTax BatchUpload = default(PaymentsProductsTax)) { this.CardProcessing = CardProcessing; this.AlternativePaymentMethods = AlternativePaymentMethods; @@ -75,6 +76,7 @@ public partial class PaymentsProducts : IEquatable, IValidata this.UnifiedCheckout = UnifiedCheckout; this.ReceivablesManager = ReceivablesManager; this.ServiceFee = ServiceFee; + this.BatchUpload = BatchUpload; } /// @@ -197,6 +199,12 @@ public partial class PaymentsProducts : IEquatable, IValidata [DataMember(Name="serviceFee", EmitDefaultValue=false)] public PaymentsProductsServiceFee ServiceFee { get; set; } + /// + /// Gets or Sets BatchUpload + /// + [DataMember(Name="batchUpload", EmitDefaultValue=false)] + public PaymentsProductsTax BatchUpload { get; set; } + /// /// Returns the string presentation of the object /// @@ -225,6 +233,7 @@ public override string ToString() if (UnifiedCheckout != null) sb.Append(" UnifiedCheckout: ").Append(UnifiedCheckout).Append("\n"); if (ReceivablesManager != null) sb.Append(" ReceivablesManager: ").Append(ReceivablesManager).Append("\n"); if (ServiceFee != null) sb.Append(" ServiceFee: ").Append(ServiceFee).Append("\n"); + if (BatchUpload != null) sb.Append(" BatchUpload: ").Append(BatchUpload).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -360,6 +369,11 @@ public bool Equals(PaymentsProducts other) this.ServiceFee == other.ServiceFee || this.ServiceFee != null && this.ServiceFee.Equals(other.ServiceFee) + ) && + ( + this.BatchUpload == other.BatchUpload || + this.BatchUpload != null && + this.BatchUpload.Equals(other.BatchUpload) ); } @@ -414,6 +428,8 @@ public override int GetHashCode() hash = hash * 59 + this.ReceivablesManager.GetHashCode(); if (this.ServiceFee != null) hash = hash * 59 + this.ServiceFee.GetHashCode(); + if (this.BatchUpload != null) + hash = hash * 59 + this.BatchUpload.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerPaymentInstrumentRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerPaymentInstrumentRequest.cs index cebe3cc1..a3a7a9a9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerPaymentInstrumentRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerPaymentInstrumentRequest.cs @@ -45,7 +45,7 @@ public partial class PostCustomerPaymentInstrumentRequest : IEquatableInstrumentIdentifier. /// Metadata. /// Embedded. - public PostCustomerPaymentInstrumentRequest(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard), Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded)) + public PostCustomerPaymentInstrumentRequest(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), TmsMerchantInformation MerchantInformation = default(TmsMerchantInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded)) { this.Links = Links; this.Id = Id; @@ -65,7 +65,7 @@ public partial class PostCustomerPaymentInstrumentRequest : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } /// /// The Id of the Payment Instrument Token. @@ -106,25 +106,25 @@ public partial class PostCustomerPaymentInstrumentRequest : IEquatable [DataMember(Name="bankAccount", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } /// /// Gets or Sets Card /// [DataMember(Name="card", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card { get; set; } /// /// Gets or Sets BuyerInformation /// [DataMember(Name="buyerInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } /// /// Gets or Sets BillTo /// [DataMember(Name="billTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } /// /// Gets or Sets ProcessingInformation @@ -136,25 +136,25 @@ public partial class PostCustomerPaymentInstrumentRequest : IEquatable [DataMember(Name="merchantInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation { get; set; } + public TmsMerchantInformation MerchantInformation { get; set; } /// /// Gets or Sets InstrumentIdentifier /// [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } /// /// Gets or Sets Embedded /// [DataMember(Name="_embedded", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerRequest.cs index 43425369..b990a475 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerRequest.cs @@ -43,7 +43,7 @@ public partial class PostCustomerRequest : IEquatable, IVa /// DefaultShippingAddress. /// Metadata. /// Embedded. - public PostCustomerRequest(Tmsv2customersLinks Links = default(Tmsv2customersLinks), string Id = default(string), Tmsv2customersObjectInformation ObjectInformation = default(Tmsv2customersObjectInformation), Tmsv2customersBuyerInformation BuyerInformation = default(Tmsv2customersBuyerInformation), Tmsv2customersClientReferenceInformation ClientReferenceInformation = default(Tmsv2customersClientReferenceInformation), List MerchantDefinedInformation = default(List), Tmsv2customersDefaultPaymentInstrument DefaultPaymentInstrument = default(Tmsv2customersDefaultPaymentInstrument), Tmsv2customersDefaultShippingAddress DefaultShippingAddress = default(Tmsv2customersDefaultShippingAddress), Tmsv2customersMetadata Metadata = default(Tmsv2customersMetadata), Tmsv2customersEmbedded Embedded = default(Tmsv2customersEmbedded)) + public PostCustomerRequest(Tmsv2tokenizeTokenInformationCustomerLinks Links = default(Tmsv2tokenizeTokenInformationCustomerLinks), string Id = default(string), Tmsv2tokenizeTokenInformationCustomerObjectInformation ObjectInformation = default(Tmsv2tokenizeTokenInformationCustomerObjectInformation), Tmsv2tokenizeTokenInformationCustomerBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerBuyerInformation), Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ClientReferenceInformation = default(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation), List MerchantDefinedInformation = default(List), Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument DefaultPaymentInstrument = default(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument), Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress DefaultShippingAddress = default(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress), Tmsv2tokenizeTokenInformationCustomerMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerMetadata), Tmsv2tokenizeTokenInformationCustomerEmbedded Embedded = default(Tmsv2tokenizeTokenInformationCustomerEmbedded)) { this.Links = Links; this.Id = Id; @@ -61,7 +61,7 @@ public partial class PostCustomerRequest : IEquatable, IVa /// Gets or Sets Links /// [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerLinks Links { get; set; } /// /// The Id of the Customer Token. @@ -74,50 +74,50 @@ public partial class PostCustomerRequest : IEquatable, IVa /// Gets or Sets ObjectInformation /// [DataMember(Name="objectInformation", EmitDefaultValue=false)] - public Tmsv2customersObjectInformation ObjectInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerObjectInformation ObjectInformation { get; set; } /// /// Gets or Sets BuyerInformation /// [DataMember(Name="buyerInformation", EmitDefaultValue=false)] - public Tmsv2customersBuyerInformation BuyerInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation BuyerInformation { get; set; } /// /// Gets or Sets ClientReferenceInformation /// [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] - public Tmsv2customersClientReferenceInformation ClientReferenceInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ClientReferenceInformation { get; set; } /// /// Object containing the custom data that the merchant defines. /// /// Object containing the custom data that the merchant defines. [DataMember(Name="merchantDefinedInformation", EmitDefaultValue=false)] - public List MerchantDefinedInformation { get; set; } + public List MerchantDefinedInformation { get; set; } /// /// Gets or Sets DefaultPaymentInstrument /// [DataMember(Name="defaultPaymentInstrument", EmitDefaultValue=false)] - public Tmsv2customersDefaultPaymentInstrument DefaultPaymentInstrument { get; set; } + public Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument DefaultPaymentInstrument { get; set; } /// /// Gets or Sets DefaultShippingAddress /// [DataMember(Name="defaultShippingAddress", EmitDefaultValue=false)] - public Tmsv2customersDefaultShippingAddress DefaultShippingAddress { get; set; } + public Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress DefaultShippingAddress { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerMetadata Metadata { get; set; } /// /// Gets or Sets Embedded /// [DataMember(Name="_embedded", EmitDefaultValue=false)] - public Tmsv2customersEmbedded Embedded { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbedded Embedded { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerShippingAddressRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerShippingAddressRequest.cs index fbeb5fe1..d95a3465 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerShippingAddressRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostCustomerShippingAddressRequest.cs @@ -38,7 +38,7 @@ public partial class PostCustomerShippingAddressRequest : IEquatableFlag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. . /// ShipTo. /// Metadata. - public PostCustomerShippingAddressRequest(Tmsv2customersEmbeddedDefaultShippingAddressLinks Links = default(Tmsv2customersEmbeddedDefaultShippingAddressLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultShippingAddressShipTo ShipTo = default(Tmsv2customersEmbeddedDefaultShippingAddressShipTo), Tmsv2customersEmbeddedDefaultShippingAddressMetadata Metadata = default(Tmsv2customersEmbeddedDefaultShippingAddressMetadata)) + public PostCustomerShippingAddressRequest(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ShipTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata)) { this.Links = Links; this.Id = Id; @@ -51,7 +51,7 @@ public partial class PostCustomerShippingAddressRequest : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks Links { get; set; } /// /// The Id of the Shipping Address Token. @@ -71,13 +71,13 @@ public partial class PostCustomerShippingAddressRequest : IEquatable [DataMember(Name="shipTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo ShipTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ShipTo { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata Metadata { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostIssuerLifeCycleSimulationRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostIssuerLifeCycleSimulationRequest.cs new file mode 100644 index 00000000..877016d6 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostIssuerLifeCycleSimulationRequest.cs @@ -0,0 +1,161 @@ +/* + * 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 +{ + /// + /// Represents the Issuer LifeCycle Event Simulation for a Tokenized Card. + /// + [DataContract] + public partial class PostIssuerLifeCycleSimulationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED . + /// Card. + /// Metadata. + public PostIssuerLifeCycleSimulationRequest(string State = default(string), Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard Card = default(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard), Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata Metadata = default(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata)) + { + this.State = State; + this.Card = Card; + this.Metadata = Metadata; + } + + /// + /// The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED + /// + /// The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED + [DataMember(Name="state", EmitDefaultValue=false)] + public string State { get; set; } + + /// + /// Gets or Sets Card + /// + [DataMember(Name="card", EmitDefaultValue=false)] + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard Card { get; set; } + + /// + /// Gets or Sets Metadata + /// + [DataMember(Name="metadata", EmitDefaultValue=false)] + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata Metadata { 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 PostIssuerLifeCycleSimulationRequest {\n"); + if (State != null) sb.Append(" State: ").Append(State).Append("\n"); + if (Card != null) sb.Append(" Card: ").Append(Card).Append("\n"); + if (Metadata != null) sb.Append(" Metadata: ").Append(Metadata).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 PostIssuerLifeCycleSimulationRequest); + } + + /// + /// Returns true if PostIssuerLifeCycleSimulationRequest instances are equal + /// + /// Instance of PostIssuerLifeCycleSimulationRequest to be compared + /// Boolean + public bool Equals(PostIssuerLifeCycleSimulationRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.State == other.State || + this.State != null && + this.State.Equals(other.State) + ) && + ( + this.Card == other.Card || + this.Card != null && + this.Card.Equals(other.Card) + ) && + ( + this.Metadata == other.Metadata || + this.Metadata != null && + this.Metadata.Equals(other.Metadata) + ); + } + + /// + /// 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.State != null) + hash = hash * 59 + this.State.GetHashCode(); + if (this.Card != null) + hash = hash * 59 + this.Card.GetHashCode(); + if (this.Metadata != null) + hash = hash * 59 + this.Metadata.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-netstandard/cybersource-rest-client-netstandard/Model/PostPaymentInstrumentRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostPaymentInstrumentRequest.cs index 26029cd8..19518f26 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostPaymentInstrumentRequest.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostPaymentInstrumentRequest.cs @@ -45,7 +45,7 @@ public partial class PostPaymentInstrumentRequest : IEquatableInstrumentIdentifier. /// Metadata. /// Embedded. - public PostPaymentInstrumentRequest(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard), Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded)) + public PostPaymentInstrumentRequest(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), TmsMerchantInformation MerchantInformation = default(TmsMerchantInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded)) { this.Links = Links; this.Id = Id; @@ -65,7 +65,7 @@ public partial class PostPaymentInstrumentRequest : IEquatable [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } /// /// The Id of the Payment Instrument Token. @@ -106,25 +106,25 @@ public partial class PostPaymentInstrumentRequest : IEquatable [DataMember(Name="bankAccount", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } /// /// Gets or Sets Card /// [DataMember(Name="card", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card { get; set; } /// /// Gets or Sets BuyerInformation /// [DataMember(Name="buyerInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } /// /// Gets or Sets BillTo /// [DataMember(Name="billTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } /// /// Gets or Sets ProcessingInformation @@ -136,25 +136,25 @@ public partial class PostPaymentInstrumentRequest : IEquatable [DataMember(Name="merchantInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation { get; set; } + public TmsMerchantInformation MerchantInformation { get; set; } /// /// Gets or Sets InstrumentIdentifier /// [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } /// /// Gets or Sets Embedded /// [DataMember(Name="_embedded", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostTokenizeRequest.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostTokenizeRequest.cs new file mode 100644 index 00000000..b4d8de1f --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/PostTokenizeRequest.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 +{ + /// + /// PostTokenizeRequest + /// + [DataContract] + public partial class PostTokenizeRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// ProcessingInformation. + /// TokenInformation. + public PostTokenizeRequest(Tmsv2tokenizeProcessingInformation ProcessingInformation = default(Tmsv2tokenizeProcessingInformation), Tmsv2tokenizeTokenInformation TokenInformation = default(Tmsv2tokenizeTokenInformation)) + { + this.ProcessingInformation = ProcessingInformation; + this.TokenInformation = TokenInformation; + } + + /// + /// Gets or Sets ProcessingInformation + /// + [DataMember(Name="processingInformation", EmitDefaultValue=false)] + public Tmsv2tokenizeProcessingInformation ProcessingInformation { get; set; } + + /// + /// Gets or Sets TokenInformation + /// + [DataMember(Name="tokenInformation", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformation TokenInformation { 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 PostTokenizeRequest {\n"); + if (ProcessingInformation != null) sb.Append(" ProcessingInformation: ").Append(ProcessingInformation).Append("\n"); + if (TokenInformation != null) sb.Append(" TokenInformation: ").Append(TokenInformation).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 PostTokenizeRequest); + } + + /// + /// Returns true if PostTokenizeRequest instances are equal + /// + /// Instance of PostTokenizeRequest to be compared + /// Boolean + public bool Equals(PostTokenizeRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ProcessingInformation == other.ProcessingInformation || + this.ProcessingInformation != null && + this.ProcessingInformation.Equals(other.ProcessingInformation) + ) && + ( + this.TokenInformation == other.TokenInformation || + this.TokenInformation != null && + this.TokenInformation.Equals(other.TokenInformation) + ); + } + + /// + /// 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.ProcessingInformation != null) + hash = hash * 59 + this.ProcessingInformation.GetHashCode(); + if (this.TokenInformation != null) + hash = hash * 59 + this.TokenInformation.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-netstandard/cybersource-rest-client-netstandard/Model/Ptsv2paymentsAggregatorInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Ptsv2paymentsAggregatorInformation.cs index 1d447701..787f26f0 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Ptsv2paymentsAggregatorInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Ptsv2paymentsAggregatorInformation.cs @@ -41,7 +41,8 @@ public partial class Ptsv2paymentsAggregatorInformation : IEquatableAcquirer state.. /// Acquirer postal code.. /// Acquirer country.. - public Ptsv2paymentsAggregatorInformation(string AggregatorId = default(string), string Name = default(string), Ptsv2paymentsAggregatorInformationSubMerchant SubMerchant = default(Ptsv2paymentsAggregatorInformationSubMerchant), string StreetAddress = default(string), string City = default(string), string State = default(string), string PostalCode = default(string), string Country = default(string)) + /// Contains transfer service provider name.. + public Ptsv2paymentsAggregatorInformation(string AggregatorId = default(string), string Name = default(string), Ptsv2paymentsAggregatorInformationSubMerchant SubMerchant = default(Ptsv2paymentsAggregatorInformationSubMerchant), string StreetAddress = default(string), string City = default(string), string State = default(string), string PostalCode = default(string), string Country = default(string), string ServiceProvidername = default(string)) { this.AggregatorId = AggregatorId; this.Name = Name; @@ -51,6 +52,7 @@ public partial class Ptsv2paymentsAggregatorInformation : IEquatable @@ -108,6 +110,13 @@ public partial class Ptsv2paymentsAggregatorInformation : IEquatable + /// Contains transfer service provider name. + /// + /// Contains transfer service provider name. + [DataMember(Name="serviceProvidername", EmitDefaultValue=false)] + public string ServiceProvidername { get; set; } + /// /// Returns the string presentation of the object /// @@ -124,6 +133,7 @@ public override string ToString() if (State != null) sb.Append(" State: ").Append(State).Append("\n"); if (PostalCode != null) sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); if (Country != null) sb.Append(" Country: ").Append(Country).Append("\n"); + if (ServiceProvidername != null) sb.Append(" ServiceProvidername: ").Append(ServiceProvidername).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -199,6 +209,11 @@ public bool Equals(Ptsv2paymentsAggregatorInformation other) this.Country == other.Country || this.Country != null && this.Country.Equals(other.Country) + ) && + ( + this.ServiceProvidername == other.ServiceProvidername || + this.ServiceProvidername != null && + this.ServiceProvidername.Equals(other.ServiceProvidername) ); } @@ -229,6 +244,8 @@ public override int GetHashCode() hash = hash * 59 + this.PostalCode.GetHashCode(); if (this.Country != null) hash = hash * 59 + this.Country.GetHashCode(); + if (this.ServiceProvidername != null) + hash = hash * 59 + this.ServiceProvidername.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1plansClientReferenceInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1plansClientReferenceInformation.cs deleted file mode 100644 index b1165a00..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1plansClientReferenceInformation.cs +++ /dev/null @@ -1,196 +0,0 @@ -/* - * 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 -{ - /// - /// Rbsv1plansClientReferenceInformation - /// - [DataContract] - public partial class Rbsv1plansClientReferenceInformation : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// Brief description of the order or any comment you wish to add to the order. . - /// Partner. - /// 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. . - /// 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 Rbsv1plansClientReferenceInformation(string Comments = default(string), Riskv1decisionsClientReferenceInformationPartner Partner = default(Riskv1decisionsClientReferenceInformationPartner), string ApplicationName = default(string), string ApplicationVersion = default(string), string ApplicationUser = default(string)) - { - this.Comments = Comments; - this.Partner = Partner; - this.ApplicationName = ApplicationName; - this.ApplicationVersion = ApplicationVersion; - this.ApplicationUser = ApplicationUser; - } - - /// - /// Brief description of the order or any comment you wish to add to the order. - /// - /// Brief description of the order or any comment you wish to add to the order. - [DataMember(Name="comments", EmitDefaultValue=false)] - public string Comments { get; set; } - - /// - /// Gets or Sets Partner - /// - [DataMember(Name="partner", EmitDefaultValue=false)] - public Riskv1decisionsClientReferenceInformationPartner Partner { get; set; } - - /// - /// 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. - /// - /// 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. - [DataMember(Name="applicationName", EmitDefaultValue=false)] - public string ApplicationName { get; set; } - - /// - /// Version of the CyberSource application or integration used for a transaction. - /// - /// Version of the CyberSource application or integration used for a transaction. - [DataMember(Name="applicationVersion", EmitDefaultValue=false)] - public string ApplicationVersion { get; set; } - - /// - /// 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. - /// - /// 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. - [DataMember(Name="applicationUser", EmitDefaultValue=false)] - public string ApplicationUser { 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 Rbsv1plansClientReferenceInformation {\n"); - if (Comments != null) sb.Append(" Comments: ").Append(Comments).Append("\n"); - if (Partner != null) sb.Append(" Partner: ").Append(Partner).Append("\n"); - if (ApplicationName != null) sb.Append(" ApplicationName: ").Append(ApplicationName).Append("\n"); - if (ApplicationVersion != null) sb.Append(" ApplicationVersion: ").Append(ApplicationVersion).Append("\n"); - if (ApplicationUser != null) sb.Append(" ApplicationUser: ").Append(ApplicationUser).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 Rbsv1plansClientReferenceInformation); - } - - /// - /// Returns true if Rbsv1plansClientReferenceInformation instances are equal - /// - /// Instance of Rbsv1plansClientReferenceInformation to be compared - /// Boolean - public bool Equals(Rbsv1plansClientReferenceInformation other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this.Comments == other.Comments || - this.Comments != null && - this.Comments.Equals(other.Comments) - ) && - ( - this.Partner == other.Partner || - this.Partner != null && - this.Partner.Equals(other.Partner) - ) && - ( - this.ApplicationName == other.ApplicationName || - this.ApplicationName != null && - this.ApplicationName.Equals(other.ApplicationName) - ) && - ( - this.ApplicationVersion == other.ApplicationVersion || - this.ApplicationVersion != null && - this.ApplicationVersion.Equals(other.ApplicationVersion) - ) && - ( - this.ApplicationUser == other.ApplicationUser || - this.ApplicationUser != null && - this.ApplicationUser.Equals(other.ApplicationUser) - ); - } - - /// - /// 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.Comments != null) - hash = hash * 59 + this.Comments.GetHashCode(); - if (this.Partner != null) - hash = hash * 59 + this.Partner.GetHashCode(); - if (this.ApplicationName != null) - hash = hash * 59 + this.ApplicationName.GetHashCode(); - if (this.ApplicationVersion != null) - hash = hash * 59 + this.ApplicationVersion.GetHashCode(); - if (this.ApplicationUser != null) - hash = hash * 59 + this.ApplicationUser.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-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1subscriptionsClientReferenceInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1subscriptionsClientReferenceInformation.cs deleted file mode 100644 index 09a1f514..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1subscriptionsClientReferenceInformation.cs +++ /dev/null @@ -1,213 +0,0 @@ -/* - * 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 -{ - /// - /// Rbsv1subscriptionsClientReferenceInformation - /// - [DataContract] - public partial class Rbsv1subscriptionsClientReferenceInformation : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. . - /// > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. . - /// Partner. - /// > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. . - /// > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. . - /// > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. . - public Rbsv1subscriptionsClientReferenceInformation(string Code = default(string), string Comments = default(string), Rbsv1subscriptionsClientReferenceInformationPartner Partner = default(Rbsv1subscriptionsClientReferenceInformationPartner), string ApplicationName = default(string), string ApplicationVersion = default(string), string ApplicationUser = default(string)) - { - this.Code = Code; - this.Comments = Comments; - this.Partner = Partner; - this.ApplicationName = ApplicationName; - this.ApplicationVersion = ApplicationVersion; - this.ApplicationUser = ApplicationUser; - } - - /// - /// > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. - /// - /// > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. - [DataMember(Name="code", EmitDefaultValue=false)] - public string Code { get; set; } - - /// - /// > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. - /// - /// > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. - [DataMember(Name="comments", EmitDefaultValue=false)] - public string Comments { get; set; } - - /// - /// Gets or Sets Partner - /// - [DataMember(Name="partner", EmitDefaultValue=false)] - public Rbsv1subscriptionsClientReferenceInformationPartner Partner { get; set; } - - /// - /// > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - /// - /// > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. - [DataMember(Name="applicationName", EmitDefaultValue=false)] - public string ApplicationName { get; set; } - - /// - /// > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. - /// - /// > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. - [DataMember(Name="applicationVersion", EmitDefaultValue=false)] - public string ApplicationVersion { get; set; } - - /// - /// > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - /// - /// > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. - [DataMember(Name="applicationUser", EmitDefaultValue=false)] - public string ApplicationUser { 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 Rbsv1subscriptionsClientReferenceInformation {\n"); - if (Code != null) sb.Append(" Code: ").Append(Code).Append("\n"); - if (Comments != null) sb.Append(" Comments: ").Append(Comments).Append("\n"); - if (Partner != null) sb.Append(" Partner: ").Append(Partner).Append("\n"); - if (ApplicationName != null) sb.Append(" ApplicationName: ").Append(ApplicationName).Append("\n"); - if (ApplicationVersion != null) sb.Append(" ApplicationVersion: ").Append(ApplicationVersion).Append("\n"); - if (ApplicationUser != null) sb.Append(" ApplicationUser: ").Append(ApplicationUser).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 Rbsv1subscriptionsClientReferenceInformation); - } - - /// - /// Returns true if Rbsv1subscriptionsClientReferenceInformation instances are equal - /// - /// Instance of Rbsv1subscriptionsClientReferenceInformation to be compared - /// Boolean - public bool Equals(Rbsv1subscriptionsClientReferenceInformation other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this.Code == other.Code || - this.Code != null && - this.Code.Equals(other.Code) - ) && - ( - this.Comments == other.Comments || - this.Comments != null && - this.Comments.Equals(other.Comments) - ) && - ( - this.Partner == other.Partner || - this.Partner != null && - this.Partner.Equals(other.Partner) - ) && - ( - this.ApplicationName == other.ApplicationName || - this.ApplicationName != null && - this.ApplicationName.Equals(other.ApplicationName) - ) && - ( - this.ApplicationVersion == other.ApplicationVersion || - this.ApplicationVersion != null && - this.ApplicationVersion.Equals(other.ApplicationVersion) - ) && - ( - this.ApplicationUser == other.ApplicationUser || - this.ApplicationUser != null && - this.ApplicationUser.Equals(other.ApplicationUser) - ); - } - - /// - /// 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.Code != null) - hash = hash * 59 + this.Code.GetHashCode(); - if (this.Comments != null) - hash = hash * 59 + this.Comments.GetHashCode(); - if (this.Partner != null) - hash = hash * 59 + this.Partner.GetHashCode(); - if (this.ApplicationName != null) - hash = hash * 59 + this.ApplicationName.GetHashCode(); - if (this.ApplicationVersion != null) - hash = hash * 59 + this.ApplicationVersion.GetHashCode(); - if (this.ApplicationUser != null) - hash = hash * 59 + this.ApplicationUser.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-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1subscriptionsClientReferenceInformationPartner.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1subscriptionsClientReferenceInformationPartner.cs deleted file mode 100644 index 90c9dbad..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Rbsv1subscriptionsClientReferenceInformationPartner.cs +++ /dev/null @@ -1,146 +0,0 @@ -/* - * 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 -{ - /// - /// Rbsv1subscriptionsClientReferenceInformationPartner - /// - [DataContract] - public partial class Rbsv1subscriptionsClientReferenceInformationPartner : IEquatable, IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. . - /// > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. . - public Rbsv1subscriptionsClientReferenceInformationPartner(string DeveloperId = default(string), string SolutionId = default(string)) - { - this.DeveloperId = DeveloperId; - this.SolutionId = SolutionId; - } - - /// - /// > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. - /// - /// > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. - [DataMember(Name="developerId", EmitDefaultValue=false)] - public string DeveloperId { get; set; } - - /// - /// > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. - /// - /// > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. - [DataMember(Name="solutionId", EmitDefaultValue=false)] - public string SolutionId { 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 Rbsv1subscriptionsClientReferenceInformationPartner {\n"); - if (DeveloperId != null) sb.Append(" DeveloperId: ").Append(DeveloperId).Append("\n"); - if (SolutionId != null) sb.Append(" SolutionId: ").Append(SolutionId).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 Rbsv1subscriptionsClientReferenceInformationPartner); - } - - /// - /// Returns true if Rbsv1subscriptionsClientReferenceInformationPartner instances are equal - /// - /// Instance of Rbsv1subscriptionsClientReferenceInformationPartner to be compared - /// Boolean - public bool Equals(Rbsv1subscriptionsClientReferenceInformationPartner other) - { - // credit: http://stackoverflow.com/a/10454552/677735 - if (other == null) - return false; - - return - ( - this.DeveloperId == other.DeveloperId || - this.DeveloperId != null && - this.DeveloperId.Equals(other.DeveloperId) - ) && - ( - this.SolutionId == other.SolutionId || - this.SolutionId != null && - this.SolutionId.Equals(other.SolutionId) - ); - } - - /// - /// 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.DeveloperId != null) - hash = hash * 59 + this.DeveloperId.GetHashCode(); - if (this.SolutionId != null) - hash = hash * 59 + this.SolutionId.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-netstandard/cybersource-rest-client-netstandard/Model/ShippingAddressListForCustomerEmbedded.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/ShippingAddressListForCustomerEmbedded.cs index c44d8778..d0fd10df 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/ShippingAddressListForCustomerEmbedded.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/ShippingAddressListForCustomerEmbedded.cs @@ -42,7 +42,7 @@ public ShippingAddressListForCustomerEmbedded() /// Gets or Sets ShippingAddresses /// [DataMember(Name="shippingAddresses", EmitDefaultValue=false)] - public List ShippingAddresses { get; private set; } + public List ShippingAddresses { get; private set; } /// /// Returns the string presentation of the object diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/TmsMerchantInformation.cs similarity index 73% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/TmsMerchantInformation.cs index 7965d4da..df4b3eb0 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/TmsMerchantInformation.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation + /// TmsMerchantInformation /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation : IEquatable, IValidatableObject + public partial class TmsMerchantInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// MerchantDescriptor. - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor MerchantDescriptor = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor)) + public TmsMerchantInformation(TmsMerchantInformationMerchantDescriptor MerchantDescriptor = default(TmsMerchantInformationMerchantDescriptor)) { this.MerchantDescriptor = MerchantDescriptor; } @@ -43,7 +43,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInfor /// Gets or Sets MerchantDescriptor /// [DataMember(Name="merchantDescriptor", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor MerchantDescriptor { get; set; } + public TmsMerchantInformationMerchantDescriptor MerchantDescriptor { get; set; } /// /// Returns the string presentation of the object @@ -52,7 +52,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInfor public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation {\n"); + sb.Append("class TmsMerchantInformation {\n"); if (MerchantDescriptor != null) sb.Append(" MerchantDescriptor: ").Append(MerchantDescriptor).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation); + return this.Equals(obj as TmsMerchantInformation); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation instances are equal + /// Returns true if TmsMerchantInformation instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation to be compared + /// Instance of TmsMerchantInformation to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation other) + public bool Equals(TmsMerchantInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/TmsMerchantInformationMerchantDescriptor.cs similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/TmsMerchantInformationMerchantDescriptor.cs index bac56d8e..67fa4148 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/TmsMerchantInformationMerchantDescriptor.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor + /// TmsMerchantInformationMerchantDescriptor /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor : IEquatable, IValidatableObject + public partial class TmsMerchantInformationMerchantDescriptor : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Alternate contact information for your business,such as an email address or URL. This value might be displayed on the cardholder's statement. When you do not include this value in your capture or credit request, the merchant URL from your CyberSource account is used. Important This value must consist of English characters . - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor(string AlternateName = default(string)) + public TmsMerchantInformationMerchantDescriptor(string AlternateName = default(string)) { this.AlternateName = AlternateName; } @@ -53,7 +53,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInfor public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor {\n"); + sb.Append("class TmsMerchantInformationMerchantDescriptor {\n"); if (AlternateName != null) sb.Append(" AlternateName: ").Append(AlternateName).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -76,15 +76,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor); + return this.Equals(obj as TmsMerchantInformationMerchantDescriptor); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor instances are equal + /// Returns true if TmsMerchantInformationMerchantDescriptor instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor to be compared + /// Instance of TmsMerchantInformationMerchantDescriptor to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor other) + public bool Equals(TmsMerchantInformationMerchantDescriptor other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeProcessingInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeProcessingInformation.cs new file mode 100644 index 00000000..e52a253e --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeProcessingInformation.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Tmsv2tokenizeProcessingInformation + /// + [DataContract] + public partial class Tmsv2tokenizeProcessingInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. . + /// TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard . + public Tmsv2tokenizeProcessingInformation(List ActionList = default(List), List ActionTokenTypes = default(List)) + { + this.ActionList = ActionList; + this.ActionTokenTypes = ActionTokenTypes; + } + + /// + /// Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. + /// + /// Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. + [DataMember(Name="actionList", EmitDefaultValue=false)] + public List ActionList { get; set; } + + /// + /// TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + /// + /// TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard + [DataMember(Name="actionTokenTypes", EmitDefaultValue=false)] + public List ActionTokenTypes { 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 Tmsv2tokenizeProcessingInformation {\n"); + if (ActionList != null) sb.Append(" ActionList: ").Append(ActionList).Append("\n"); + if (ActionTokenTypes != null) sb.Append(" ActionTokenTypes: ").Append(ActionTokenTypes).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 Tmsv2tokenizeProcessingInformation); + } + + /// + /// Returns true if Tmsv2tokenizeProcessingInformation instances are equal + /// + /// Instance of Tmsv2tokenizeProcessingInformation to be compared + /// Boolean + public bool Equals(Tmsv2tokenizeProcessingInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ActionList == other.ActionList || + this.ActionList != null && + this.ActionList.SequenceEqual(other.ActionList) + ) && + ( + this.ActionTokenTypes == other.ActionTokenTypes || + this.ActionTokenTypes != null && + this.ActionTokenTypes.SequenceEqual(other.ActionTokenTypes) + ); + } + + /// + /// 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.ActionList != null) + hash = hash * 59 + this.ActionList.GetHashCode(); + if (this.ActionTokenTypes != null) + hash = hash * 59 + this.ActionTokenTypes.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-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformation.cs new file mode 100644 index 00000000..1118528d --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformation.cs @@ -0,0 +1,210 @@ +/* + * 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 +{ + /// + /// Tmsv2tokenizeTokenInformation + /// + [DataContract] + public partial class Tmsv2tokenizeTokenInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). . + /// Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. . + /// Customer. + /// ShippingAddress. + /// PaymentInstrument. + /// InstrumentIdentifier. + public Tmsv2tokenizeTokenInformation(string Jti = default(string), string TransientTokenJwt = default(string), Tmsv2tokenizeTokenInformationCustomer Customer = default(Tmsv2tokenizeTokenInformationCustomer), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress ShippingAddress = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument PaymentInstrument = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument), TmsEmbeddedInstrumentIdentifier InstrumentIdentifier = default(TmsEmbeddedInstrumentIdentifier)) + { + this.Jti = Jti; + this.TransientTokenJwt = TransientTokenJwt; + this.Customer = Customer; + this.ShippingAddress = ShippingAddress; + this.PaymentInstrument = PaymentInstrument; + this.InstrumentIdentifier = InstrumentIdentifier; + } + + /// + /// TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). + /// + /// TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). + [DataMember(Name="jti", EmitDefaultValue=false)] + public string Jti { get; set; } + + /// + /// Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. + /// + /// Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. + [DataMember(Name="transientTokenJwt", EmitDefaultValue=false)] + public string TransientTokenJwt { get; set; } + + /// + /// Gets or Sets Customer + /// + [DataMember(Name="customer", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomer Customer { get; set; } + + /// + /// Gets or Sets ShippingAddress + /// + [DataMember(Name="shippingAddress", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress ShippingAddress { get; set; } + + /// + /// Gets or Sets PaymentInstrument + /// + [DataMember(Name="paymentInstrument", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument PaymentInstrument { get; set; } + + /// + /// Gets or Sets InstrumentIdentifier + /// + [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)] + public TmsEmbeddedInstrumentIdentifier InstrumentIdentifier { 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 Tmsv2tokenizeTokenInformation {\n"); + if (Jti != null) sb.Append(" Jti: ").Append(Jti).Append("\n"); + if (TransientTokenJwt != null) sb.Append(" TransientTokenJwt: ").Append(TransientTokenJwt).Append("\n"); + if (Customer != null) sb.Append(" Customer: ").Append(Customer).Append("\n"); + if (ShippingAddress != null) sb.Append(" ShippingAddress: ").Append(ShippingAddress).Append("\n"); + if (PaymentInstrument != null) sb.Append(" PaymentInstrument: ").Append(PaymentInstrument).Append("\n"); + if (InstrumentIdentifier != null) sb.Append(" InstrumentIdentifier: ").Append(InstrumentIdentifier).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 Tmsv2tokenizeTokenInformation); + } + + /// + /// Returns true if Tmsv2tokenizeTokenInformation instances are equal + /// + /// Instance of Tmsv2tokenizeTokenInformation to be compared + /// Boolean + public bool Equals(Tmsv2tokenizeTokenInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Jti == other.Jti || + this.Jti != null && + this.Jti.Equals(other.Jti) + ) && + ( + this.TransientTokenJwt == other.TransientTokenJwt || + this.TransientTokenJwt != null && + this.TransientTokenJwt.Equals(other.TransientTokenJwt) + ) && + ( + this.Customer == other.Customer || + this.Customer != null && + this.Customer.Equals(other.Customer) + ) && + ( + this.ShippingAddress == other.ShippingAddress || + this.ShippingAddress != null && + this.ShippingAddress.Equals(other.ShippingAddress) + ) && + ( + this.PaymentInstrument == other.PaymentInstrument || + this.PaymentInstrument != null && + this.PaymentInstrument.Equals(other.PaymentInstrument) + ) && + ( + this.InstrumentIdentifier == other.InstrumentIdentifier || + this.InstrumentIdentifier != null && + this.InstrumentIdentifier.Equals(other.InstrumentIdentifier) + ); + } + + /// + /// 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.Jti != null) + hash = hash * 59 + this.Jti.GetHashCode(); + if (this.TransientTokenJwt != null) + hash = hash * 59 + this.TransientTokenJwt.GetHashCode(); + if (this.Customer != null) + hash = hash * 59 + this.Customer.GetHashCode(); + if (this.ShippingAddress != null) + hash = hash * 59 + this.ShippingAddress.GetHashCode(); + if (this.PaymentInstrument != null) + hash = hash * 59 + this.PaymentInstrument.GetHashCode(); + if (this.InstrumentIdentifier != null) + hash = hash * 59 + this.InstrumentIdentifier.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-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomer.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomer.cs new file mode 100644 index 00000000..15ef1a66 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomer.cs @@ -0,0 +1,274 @@ +/* + * 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 +{ + /// + /// Tmsv2tokenizeTokenInformationCustomer + /// + [DataContract] + public partial class Tmsv2tokenizeTokenInformationCustomer : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Links. + /// The Id of the Customer Token.. + /// ObjectInformation. + /// BuyerInformation. + /// ClientReferenceInformation. + /// Object containing the custom data that the merchant defines. . + /// DefaultPaymentInstrument. + /// DefaultShippingAddress. + /// Metadata. + /// Embedded. + public Tmsv2tokenizeTokenInformationCustomer(Tmsv2tokenizeTokenInformationCustomerLinks Links = default(Tmsv2tokenizeTokenInformationCustomerLinks), string Id = default(string), Tmsv2tokenizeTokenInformationCustomerObjectInformation ObjectInformation = default(Tmsv2tokenizeTokenInformationCustomerObjectInformation), Tmsv2tokenizeTokenInformationCustomerBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerBuyerInformation), Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ClientReferenceInformation = default(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation), List MerchantDefinedInformation = default(List), Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument DefaultPaymentInstrument = default(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument), Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress DefaultShippingAddress = default(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress), Tmsv2tokenizeTokenInformationCustomerMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerMetadata), Tmsv2tokenizeTokenInformationCustomerEmbedded Embedded = default(Tmsv2tokenizeTokenInformationCustomerEmbedded)) + { + this.Links = Links; + this.Id = Id; + this.ObjectInformation = ObjectInformation; + this.BuyerInformation = BuyerInformation; + this.ClientReferenceInformation = ClientReferenceInformation; + this.MerchantDefinedInformation = MerchantDefinedInformation; + this.DefaultPaymentInstrument = DefaultPaymentInstrument; + this.DefaultShippingAddress = DefaultShippingAddress; + this.Metadata = Metadata; + this.Embedded = Embedded; + } + + /// + /// Gets or Sets Links + /// + [DataMember(Name="_links", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerLinks Links { get; set; } + + /// + /// The Id of the Customer Token. + /// + /// The Id of the Customer Token. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// Gets or Sets ObjectInformation + /// + [DataMember(Name="objectInformation", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerObjectInformation ObjectInformation { get; set; } + + /// + /// Gets or Sets BuyerInformation + /// + [DataMember(Name="buyerInformation", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation BuyerInformation { get; set; } + + /// + /// Gets or Sets ClientReferenceInformation + /// + [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ClientReferenceInformation { get; set; } + + /// + /// Object containing the custom data that the merchant defines. + /// + /// Object containing the custom data that the merchant defines. + [DataMember(Name="merchantDefinedInformation", EmitDefaultValue=false)] + public List MerchantDefinedInformation { get; set; } + + /// + /// Gets or Sets DefaultPaymentInstrument + /// + [DataMember(Name="defaultPaymentInstrument", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument DefaultPaymentInstrument { get; set; } + + /// + /// Gets or Sets DefaultShippingAddress + /// + [DataMember(Name="defaultShippingAddress", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress DefaultShippingAddress { get; set; } + + /// + /// Gets or Sets Metadata + /// + [DataMember(Name="metadata", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerMetadata Metadata { get; set; } + + /// + /// Gets or Sets Embedded + /// + [DataMember(Name="_embedded", EmitDefaultValue=false)] + public Tmsv2tokenizeTokenInformationCustomerEmbedded Embedded { 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 Tmsv2tokenizeTokenInformationCustomer {\n"); + if (Links != null) sb.Append(" Links: ").Append(Links).Append("\n"); + if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); + if (ObjectInformation != null) sb.Append(" ObjectInformation: ").Append(ObjectInformation).Append("\n"); + if (BuyerInformation != null) sb.Append(" BuyerInformation: ").Append(BuyerInformation).Append("\n"); + if (ClientReferenceInformation != null) sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n"); + if (MerchantDefinedInformation != null) sb.Append(" MerchantDefinedInformation: ").Append(MerchantDefinedInformation).Append("\n"); + if (DefaultPaymentInstrument != null) sb.Append(" DefaultPaymentInstrument: ").Append(DefaultPaymentInstrument).Append("\n"); + if (DefaultShippingAddress != null) sb.Append(" DefaultShippingAddress: ").Append(DefaultShippingAddress).Append("\n"); + if (Metadata != null) sb.Append(" Metadata: ").Append(Metadata).Append("\n"); + if (Embedded != null) sb.Append(" Embedded: ").Append(Embedded).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 Tmsv2tokenizeTokenInformationCustomer); + } + + /// + /// Returns true if Tmsv2tokenizeTokenInformationCustomer instances are equal + /// + /// Instance of Tmsv2tokenizeTokenInformationCustomer to be compared + /// Boolean + public bool Equals(Tmsv2tokenizeTokenInformationCustomer other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Links == other.Links || + this.Links != null && + this.Links.Equals(other.Links) + ) && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.ObjectInformation == other.ObjectInformation || + this.ObjectInformation != null && + this.ObjectInformation.Equals(other.ObjectInformation) + ) && + ( + this.BuyerInformation == other.BuyerInformation || + this.BuyerInformation != null && + this.BuyerInformation.Equals(other.BuyerInformation) + ) && + ( + this.ClientReferenceInformation == other.ClientReferenceInformation || + this.ClientReferenceInformation != null && + this.ClientReferenceInformation.Equals(other.ClientReferenceInformation) + ) && + ( + this.MerchantDefinedInformation == other.MerchantDefinedInformation || + this.MerchantDefinedInformation != null && + this.MerchantDefinedInformation.SequenceEqual(other.MerchantDefinedInformation) + ) && + ( + this.DefaultPaymentInstrument == other.DefaultPaymentInstrument || + this.DefaultPaymentInstrument != null && + this.DefaultPaymentInstrument.Equals(other.DefaultPaymentInstrument) + ) && + ( + this.DefaultShippingAddress == other.DefaultShippingAddress || + this.DefaultShippingAddress != null && + this.DefaultShippingAddress.Equals(other.DefaultShippingAddress) + ) && + ( + this.Metadata == other.Metadata || + this.Metadata != null && + this.Metadata.Equals(other.Metadata) + ) && + ( + this.Embedded == other.Embedded || + this.Embedded != null && + this.Embedded.Equals(other.Embedded) + ); + } + + /// + /// 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.Links != null) + hash = hash * 59 + this.Links.GetHashCode(); + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + if (this.ObjectInformation != null) + hash = hash * 59 + this.ObjectInformation.GetHashCode(); + if (this.BuyerInformation != null) + hash = hash * 59 + this.BuyerInformation.GetHashCode(); + if (this.ClientReferenceInformation != null) + hash = hash * 59 + this.ClientReferenceInformation.GetHashCode(); + if (this.MerchantDefinedInformation != null) + hash = hash * 59 + this.MerchantDefinedInformation.GetHashCode(); + if (this.DefaultPaymentInstrument != null) + hash = hash * 59 + this.DefaultPaymentInstrument.GetHashCode(); + if (this.DefaultShippingAddress != null) + hash = hash * 59 + this.DefaultShippingAddress.GetHashCode(); + if (this.Metadata != null) + hash = hash * 59 + this.Metadata.GetHashCode(); + if (this.Embedded != null) + hash = hash * 59 + this.Embedded.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-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersBuyerInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.cs similarity index 82% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersBuyerInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.cs index b10ee952..bf31522f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersBuyerInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// Tmsv2customersBuyerInformation + /// Tmsv2tokenizeTokenInformationCustomerBuyerInformation /// [DataContract] - public partial class Tmsv2customersBuyerInformation : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerBuyerInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Your identifier for the customer. . /// Customer's primary email address, including the full domain name. . - public Tmsv2customersBuyerInformation(string MerchantCustomerID = default(string), string Email = default(string)) + public Tmsv2tokenizeTokenInformationCustomerBuyerInformation(string MerchantCustomerID = default(string), string Email = default(string)) { this.MerchantCustomerID = MerchantCustomerID; this.Email = Email; @@ -62,7 +62,7 @@ public partial class Tmsv2customersBuyerInformation : IEquatable - /// Returns true if Tmsv2customersBuyerInformation instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerBuyerInformation instances are equal /// - /// Instance of Tmsv2customersBuyerInformation to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerBuyerInformation to be compared /// Boolean - public bool Equals(Tmsv2customersBuyerInformation other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerBuyerInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersClientReferenceInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.cs similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersClientReferenceInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.cs index 03e46aea..76083ef6 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersClientReferenceInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersClientReferenceInformation + /// Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation /// [DataContract] - public partial class Tmsv2customersClientReferenceInformation : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Client-generated order reference or tracking number. . - public Tmsv2customersClientReferenceInformation(string Code = default(string)) + public Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation(string Code = default(string)) { this.Code = Code; } @@ -53,7 +53,7 @@ public partial class Tmsv2customersClientReferenceInformation : IEquatable - /// Returns true if Tmsv2customersClientReferenceInformation instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation instances are equal /// - /// Instance of Tmsv2customersClientReferenceInformation to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation to be compared /// Boolean - public bool Equals(Tmsv2customersClientReferenceInformation other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersDefaultPaymentInstrument.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.cs similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersDefaultPaymentInstrument.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.cs index 69f15701..95ac98ff 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersDefaultPaymentInstrument.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersDefaultPaymentInstrument + /// Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument /// [DataContract] - public partial class Tmsv2customersDefaultPaymentInstrument : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The Id of the Customers default Payment Instrument . - public Tmsv2customersDefaultPaymentInstrument(string Id = default(string)) + public Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument(string Id = default(string)) { this.Id = Id; } @@ -53,7 +53,7 @@ public partial class Tmsv2customersDefaultPaymentInstrument : IEquatable - /// Returns true if Tmsv2customersDefaultPaymentInstrument instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument instances are equal /// - /// Instance of Tmsv2customersDefaultPaymentInstrument to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument to be compared /// Boolean - public bool Equals(Tmsv2customersDefaultPaymentInstrument other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersDefaultShippingAddress.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.cs similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersDefaultShippingAddress.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.cs index 260bf9a6..aefb491c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersDefaultShippingAddress.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersDefaultShippingAddress + /// Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress /// [DataContract] - public partial class Tmsv2customersDefaultShippingAddress : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The Id of the Customers default Shipping Address . - public Tmsv2customersDefaultShippingAddress(string Id = default(string)) + public Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress(string Id = default(string)) { this.Id = Id; } @@ -53,7 +53,7 @@ public partial class Tmsv2customersDefaultShippingAddress : IEquatable - /// Returns true if Tmsv2customersDefaultShippingAddress instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress instances are equal /// - /// Instance of Tmsv2customersDefaultShippingAddress to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress to be compared /// Boolean - public bool Equals(Tmsv2customersDefaultShippingAddress other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbedded.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbedded.cs similarity index 77% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbedded.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbedded.cs index 1213d0f8..aa02c9ca 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbedded.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbedded.cs @@ -28,14 +28,14 @@ namespace CyberSource.Model /// Additional resources for the Customer. /// [DataContract] - public partial class Tmsv2customersEmbedded : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbedded : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// DefaultPaymentInstrument. /// DefaultShippingAddress. - public Tmsv2customersEmbedded(Tmsv2customersEmbeddedDefaultPaymentInstrument DefaultPaymentInstrument = default(Tmsv2customersEmbeddedDefaultPaymentInstrument), Tmsv2customersEmbeddedDefaultShippingAddress DefaultShippingAddress = default(Tmsv2customersEmbeddedDefaultShippingAddress)) + public Tmsv2tokenizeTokenInformationCustomerEmbedded(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument DefaultPaymentInstrument = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress DefaultShippingAddress = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress)) { this.DefaultPaymentInstrument = DefaultPaymentInstrument; this.DefaultShippingAddress = DefaultShippingAddress; @@ -45,13 +45,13 @@ public partial class Tmsv2customersEmbedded : IEquatable [DataMember(Name="defaultPaymentInstrument", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrument DefaultPaymentInstrument { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument DefaultPaymentInstrument { get; set; } /// /// Gets or Sets DefaultShippingAddress /// [DataMember(Name="defaultShippingAddress", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddress DefaultShippingAddress { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress DefaultShippingAddress { get; set; } /// /// Returns the string presentation of the object @@ -60,7 +60,7 @@ public partial class Tmsv2customersEmbedded : IEquatable - /// Returns true if Tmsv2customersEmbedded instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbedded instances are equal /// - /// Instance of Tmsv2customersEmbedded to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbedded to be compared /// Boolean - public bool Equals(Tmsv2customersEmbedded other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbedded other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.cs similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.cs index 961aa783..ec4ca1d4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrument.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrument + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrument : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Links. /// The Id of the Payment Instrument Token.. @@ -45,7 +45,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrument : IEquatabl /// InstrumentIdentifier. /// Metadata. /// Embedded. - public Tmsv2customersEmbeddedDefaultPaymentInstrument(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard), Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation), Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo), TmsPaymentInstrumentProcessingInfo ProcessingInformation = default(TmsPaymentInstrumentProcessingInfo), TmsMerchantInformation MerchantInformation = default(TmsMerchantInformation), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded)) { this.Links = Links; this.Id = Id; @@ -65,7 +65,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrument : IEquatabl /// Gets or Sets Links /// [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks Links { get; set; } /// /// The Id of the Payment Instrument Token. @@ -106,25 +106,25 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrument : IEquatabl /// Gets or Sets BankAccount /// [DataMember(Name="bankAccount", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount BankAccount { get; set; } /// /// Gets or Sets Card /// [DataMember(Name="card", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard Card { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard Card { get; set; } /// /// Gets or Sets BuyerInformation /// [DataMember(Name="buyerInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation BuyerInformation { get; set; } /// /// Gets or Sets BillTo /// [DataMember(Name="billTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo BillTo { get; set; } /// /// Gets or Sets ProcessingInformation @@ -136,25 +136,25 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrument : IEquatabl /// Gets or Sets MerchantInformation /// [DataMember(Name="merchantInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation MerchantInformation { get; set; } + public TmsMerchantInformation MerchantInformation { get; set; } /// /// Gets or Sets InstrumentIdentifier /// [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier InstrumentIdentifier { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata Metadata { get; set; } /// /// Gets or Sets Embedded /// [DataMember(Name="_embedded", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded Embedded { get; set; } /// /// Returns the string presentation of the object @@ -163,7 +163,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrument : IEquatabl public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrument {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument {\n"); if (Links != null) sb.Append(" Links: ").Append(Links).Append("\n"); if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); if (Object != null) sb.Append(" Object: ").Append(Object).Append("\n"); @@ -200,15 +200,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrument); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrument instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrument to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrument other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.cs similarity index 77% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.cs index bb74586d..2aa20742 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Account type. Possible Values: - checking : C - general ledger : G This value is supported only on Wells Fargo ACH - savings : S (U.S. dollars only) - corporate checking : X (U.S. dollars only) . - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount(string Type = default(string)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount(string Type = default(string)) { this.Type = Type; } @@ -53,7 +53,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount : public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount {\n"); if (Type != null) sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -76,15 +76,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.cs similarity index 89% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.cs index 3b4dbf53..81c95519 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Customer's first name. This name must be the same as the name on the card. . /// Customer's last name. This name must be the same as the name on the card. . @@ -44,7 +44,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo : IEq /// Payment card billing country. Use the two-character ISO Standard Country Codes. . /// Customer's email address, including the full domain name. . /// Customer's phone number. . - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo(string FirstName = default(string), string LastName = default(string), string Company = default(string), string Address1 = default(string), string Address2 = default(string), string Locality = default(string), string AdministrativeArea = default(string), string PostalCode = default(string), string Country = default(string), string Email = default(string), string PhoneNumber = default(string)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo(string FirstName = default(string), string LastName = default(string), string Company = default(string), string Address1 = default(string), string Address2 = default(string), string Locality = default(string), string AdministrativeArea = default(string), string PostalCode = default(string), string Country = default(string), string Email = default(string), string PhoneNumber = default(string)) { this.FirstName = FirstName; this.LastName = LastName; @@ -143,7 +143,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo : IEq public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo {\n"); if (FirstName != null) sb.Append(" FirstName: ").Append(FirstName).Append("\n"); if (LastName != null) sb.Append(" LastName: ").Append(LastName).Append("\n"); if (Company != null) sb.Append(" Company: ").Append(Company).Append("\n"); @@ -176,15 +176,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.cs similarity index 83% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.cs index 70d7dac0..700aac3b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.cs @@ -25,19 +25,19 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Company's tax identifier. This is only used for eCheck service. . /// Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) . /// Date of birth of the customer. Format: YYYY-MM-DD . /// PersonalIdentification. - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation(string CompanyTaxID = default(string), string Currency = default(string), DateTime? DateOfBirth = default(DateTime?), List PersonalIdentification = default(List)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation(string CompanyTaxID = default(string), string Currency = default(string), DateTime? DateOfBirth = default(DateTime?), List PersonalIdentification = default(List)) { this.CompanyTaxID = CompanyTaxID; this.Currency = Currency; @@ -71,7 +71,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformat /// Gets or Sets PersonalIdentification /// [DataMember(Name="personalIdentification", EmitDefaultValue=false)] - public List PersonalIdentification { get; set; } + public List PersonalIdentification { get; set; } /// /// Returns the string presentation of the object @@ -80,7 +80,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformat public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation {\n"); if (CompanyTaxID != null) sb.Append(" CompanyTaxID: ").Append(CompanyTaxID).Append("\n"); if (Currency != null) sb.Append(" Currency: ").Append(Currency).Append("\n"); if (DateOfBirth != null) sb.Append(" DateOfBirth: ").Append(DateOfBirth).Append("\n"); @@ -106,15 +106,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.cs similarity index 75% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.cs index 375c190b..4b571533 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The State or province where the customer's driver's license was issued. Use the two-character State, Province, and Territory Codes for the United States and Canada. . - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(string AdministrativeArea = default(string)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy(string AdministrativeArea = default(string)) { this.AdministrativeArea = AdministrativeArea; } @@ -53,7 +53,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformat public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy {\n"); if (AdministrativeArea != null) sb.Append(" AdministrativeArea: ").Append(AdministrativeArea).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -76,15 +76,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.cs similarity index 73% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.cs index 2c6b38e5..7e8f0064 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.cs @@ -25,18 +25,18 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The value of the identification type. . /// The type of the identification. Possible Values: - driver license . /// IssuedBy. - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(string Id = default(string), string Type = default(string), Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy IssuedBy = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification(string Id = default(string), string Type = default(string), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy IssuedBy = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy)) { this.Id = Id; this.Type = Type; @@ -61,7 +61,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformat /// Gets or Sets IssuedBy /// [DataMember(Name="issuedBy", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy IssuedBy { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy IssuedBy { get; set; } /// /// Returns the string presentation of the object @@ -70,7 +70,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformat public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification {\n"); if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); if (Type != null) sb.Append(" Type: ").Append(Type).Append("\n"); if (IssuedBy != null) sb.Append(" IssuedBy: ").Append(IssuedBy).Append("\n"); @@ -95,15 +95,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.cs similarity index 91% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.cs index f2744363..c44d8306 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentCard + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Two-digit month in which the payment card expires. Format: `MM`. Possible Values: `01` through `12`. . /// Four-digit year in which the credit card expires. Format: `YYYY`. . @@ -41,7 +41,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard : IEqua /// Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`. **Note** The start date is not required for Maestro (UK Domestic) transactions. . /// 'Payment Instrument was created / updated as part of a pinless debit transaction.' . /// TokenizedInformation. - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCard(string ExpirationMonth = default(string), string ExpirationYear = default(string), string Type = default(string), string IssueNumber = default(string), string StartMonth = default(string), string StartYear = default(string), string UseAs = default(string), Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation TokenizedInformation = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard(string ExpirationMonth = default(string), string ExpirationYear = default(string), string Type = default(string), string IssueNumber = default(string), string StartMonth = default(string), string StartYear = default(string), string UseAs = default(string), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation TokenizedInformation = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation)) { this.ExpirationMonth = ExpirationMonth; this.ExpirationYear = ExpirationYear; @@ -113,7 +113,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard : IEqua /// Gets or Sets TokenizedInformation /// [DataMember(Name="tokenizedInformation", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation TokenizedInformation { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation TokenizedInformation { get; set; } /// /// Returns the string presentation of the object @@ -122,7 +122,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard : IEqua public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard {\n"); if (ExpirationMonth != null) sb.Append(" ExpirationMonth: ").Append(ExpirationMonth).Append("\n"); if (ExpirationYear != null) sb.Append(" ExpirationYear: ").Append(ExpirationYear).Append("\n"); if (Type != null) sb.Append(" Type: ").Append(Type).Append("\n"); @@ -153,15 +153,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentCard); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentCard instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentCard to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentCard other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.cs similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.cs index 1f698cfa..1365e04b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Value that identifies your business and indicates that the cardholder's account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider's database. **Note** This field is supported only through **VisaNet** and **FDC Nashville Global**. . /// Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Set the value for this field to 1. An application on the customer's mobile device provided the token data. . - public Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(string RequestorID = default(string), string TransactionType = default(string)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation(string RequestorID = default(string), string TransactionType = default(string)) { this.RequestorID = RequestorID; this.TransactionType = TransactionType; @@ -62,7 +62,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenized public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation {\n"); if (RequestorID != null) sb.Append(" RequestorID: ").Append(RequestorID).Append("\n"); if (TransactionType != null) sb.Append(" TransactionType: ").Append(TransactionType).Append("\n"); sb.Append("}\n"); @@ -86,15 +86,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.cs similarity index 76% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.cs index eedf8cfb..35addc76 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.cs @@ -28,13 +28,13 @@ namespace CyberSource.Model /// Additional resources for the Payment Instrument. /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// InstrumentIdentifier. - public Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded(TmsEmbeddedInstrumentIdentifier InstrumentIdentifier = default(TmsEmbeddedInstrumentIdentifier)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded(TmsEmbeddedInstrumentIdentifier InstrumentIdentifier = default(TmsEmbeddedInstrumentIdentifier)) { this.InstrumentIdentifier = InstrumentIdentifier; } @@ -52,7 +52,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded : I public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded {\n"); if (InstrumentIdentifier != null) sb.Append(" InstrumentIdentifier: ").Append(InstrumentIdentifier).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.cs similarity index 74% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.cs index a7c0dfbe..c8253336 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The Id of the Instrument Identifier linked to the Payment Instrument. . - public Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(string Id = default(string)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier(string Id = default(string)) { this.Id = Id; } @@ -53,7 +53,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIde public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier {\n"); if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -76,15 +76,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.cs similarity index 71% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.cs index 74e0461c..c3e568b6 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinks.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultShippingAddressLinks + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultShippingAddressLinks : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Self. /// Customer. - public Tmsv2customersEmbeddedDefaultShippingAddressLinks(Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf Self = default(Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf), Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer Customer = default(Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf Self = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf), Tmsv2tokenizeTokenInformationCustomerLinksSelf Customer = default(Tmsv2tokenizeTokenInformationCustomerLinksSelf)) { this.Self = Self; this.Customer = Customer; @@ -45,13 +45,13 @@ public partial class Tmsv2customersEmbeddedDefaultShippingAddressLinks : IEquat /// Gets or Sets Self /// [DataMember(Name="self", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf Self { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf Self { get; set; } /// /// Gets or Sets Customer /// [DataMember(Name="customer", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer Customer { get; set; } + public Tmsv2tokenizeTokenInformationCustomerLinksSelf Customer { get; set; } /// /// Returns the string presentation of the object @@ -60,7 +60,7 @@ public partial class Tmsv2customersEmbeddedDefaultShippingAddressLinks : IEquat public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultShippingAddressLinks {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks {\n"); if (Self != null) sb.Append(" Self: ").Append(Self).Append("\n"); if (Customer != null) sb.Append(" Customer: ").Append(Customer).Append("\n"); sb.Append("}\n"); @@ -84,15 +84,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultShippingAddressLinks); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultShippingAddressLinks instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultShippingAddressLinks to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultShippingAddressLinks other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.cs similarity index 75% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.cs index fb7df018..552531c4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf() + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf() { } @@ -52,7 +52,7 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf {\n"); if (Href != null) sb.Append(" Href: ").Append(Href).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.cs similarity index 75% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.cs index ac334d1b..b6bd8d90 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata() + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata() { } @@ -52,7 +52,7 @@ public Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata {\n"); if (Creator != null) sb.Append(" Creator: ").Append(Creator).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddress.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.cs similarity index 77% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddress.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.cs index 4ad40bfb..d44812a4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddress.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.cs @@ -25,20 +25,20 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultShippingAddress + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultShippingAddress : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Links. /// The Id of the Shipping Address Token.. /// Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. . /// ShipTo. /// Metadata. - public Tmsv2customersEmbeddedDefaultShippingAddress(Tmsv2customersEmbeddedDefaultShippingAddressLinks Links = default(Tmsv2customersEmbeddedDefaultShippingAddressLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2customersEmbeddedDefaultShippingAddressShipTo ShipTo = default(Tmsv2customersEmbeddedDefaultShippingAddressShipTo), Tmsv2customersEmbeddedDefaultShippingAddressMetadata Metadata = default(Tmsv2customersEmbeddedDefaultShippingAddressMetadata)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks Links = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks), string Id = default(string), bool? Default = default(bool?), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ShipTo = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata Metadata = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata)) { this.Links = Links; this.Id = Id; @@ -51,7 +51,7 @@ public partial class Tmsv2customersEmbeddedDefaultShippingAddress : IEquatable< /// Gets or Sets Links /// [DataMember(Name="_links", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressLinks Links { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks Links { get; set; } /// /// The Id of the Shipping Address Token. @@ -71,13 +71,13 @@ public partial class Tmsv2customersEmbeddedDefaultShippingAddress : IEquatable< /// Gets or Sets ShipTo /// [DataMember(Name="shipTo", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo ShipTo { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ShipTo { get; set; } /// /// Gets or Sets Metadata /// [DataMember(Name="metadata", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultShippingAddressMetadata Metadata { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata Metadata { get; set; } /// /// Returns the string presentation of the object @@ -86,7 +86,7 @@ public partial class Tmsv2customersEmbeddedDefaultShippingAddress : IEquatable< public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultShippingAddress {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress {\n"); if (Links != null) sb.Append(" Links: ").Append(Links).Append("\n"); if (Id != null) sb.Append(" Id: ").Append(Id).Append("\n"); if (Default != null) sb.Append(" Default: ").Append(Default).Append("\n"); @@ -113,15 +113,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultShippingAddress); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultShippingAddress instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultShippingAddress to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultShippingAddress other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.cs similarity index 71% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.cs index 324c5430..c7ce35ec 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Self. /// Customer. - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf Self = default(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf), Tmsv2customersLinksSelf Customer = default(Tmsv2customersLinksSelf)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf Self = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf), Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer Customer = default(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer)) { this.Self = Self; this.Customer = Customer; @@ -45,13 +45,13 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks : IEqu /// Gets or Sets Self /// [DataMember(Name="self", EmitDefaultValue=false)] - public Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf Self { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf Self { get; set; } /// /// Gets or Sets Customer /// [DataMember(Name="customer", EmitDefaultValue=false)] - public Tmsv2customersLinksSelf Customer { get; set; } + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer Customer { get; set; } /// /// Returns the string presentation of the object @@ -60,7 +60,7 @@ public partial class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks : IEqu public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks {\n"); if (Self != null) sb.Append(" Self: ").Append(Self).Append("\n"); if (Customer != null) sb.Append(" Customer: ").Append(Customer).Append("\n"); sb.Append("}\n"); @@ -84,15 +84,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.cs similarity index 75% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.cs index 2af40ab6..f1b811bb 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer() + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer() { } @@ -52,7 +52,7 @@ public Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer {\n"); if (Href != null) sb.Append(" Href: ").Append(Href).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.cs similarity index 75% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.cs index 643d835d..56565532 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf() + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf() { } @@ -52,7 +52,7 @@ public Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf {\n"); if (Href != null) sb.Append(" Href: ").Append(Href).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.cs similarity index 76% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.cs index 47f2d85d..231be401 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultShippingAddressMetadata + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultShippingAddressMetadata : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersEmbeddedDefaultShippingAddressMetadata() + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata() { } @@ -52,7 +52,7 @@ public Tmsv2customersEmbeddedDefaultShippingAddressMetadata() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultShippingAddressMetadata {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata {\n"); if (Creator != null) sb.Append(" Creator: ").Append(Creator).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultShippingAddressMetadata); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultShippingAddressMetadata instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultShippingAddressMetadata to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultShippingAddressMetadata other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.cs similarity index 90% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.cs index f9fb9b27..69c56749 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.cs @@ -25,13 +25,13 @@ namespace CyberSource.Model { /// - /// Tmsv2customersEmbeddedDefaultShippingAddressShipTo + /// Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo /// [DataContract] - public partial class Tmsv2customersEmbeddedDefaultShippingAddressShipTo : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// First name of the recipient. . /// Last name of the recipient. . @@ -44,7 +44,7 @@ public partial class Tmsv2customersEmbeddedDefaultShippingAddressShipTo : IEqua /// Country of the shipping address. Use the two-character ISO Standard Country Codes. . /// Email associated with the shipping address. . /// Phone number associated with the shipping address. . - public Tmsv2customersEmbeddedDefaultShippingAddressShipTo(string FirstName = default(string), string LastName = default(string), string Company = default(string), string Address1 = default(string), string Address2 = default(string), string Locality = default(string), string AdministrativeArea = default(string), string PostalCode = default(string), string Country = default(string), string Email = default(string), string PhoneNumber = default(string)) + public Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo(string FirstName = default(string), string LastName = default(string), string Company = default(string), string Address1 = default(string), string Address2 = default(string), string Locality = default(string), string AdministrativeArea = default(string), string PostalCode = default(string), string Country = default(string), string Email = default(string), string PhoneNumber = default(string)) { this.FirstName = FirstName; this.LastName = LastName; @@ -143,7 +143,7 @@ public partial class Tmsv2customersEmbeddedDefaultShippingAddressShipTo : IEqua public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersEmbeddedDefaultShippingAddressShipTo {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo {\n"); if (FirstName != null) sb.Append(" FirstName: ").Append(FirstName).Append("\n"); if (LastName != null) sb.Append(" LastName: ").Append(LastName).Append("\n"); if (Company != null) sb.Append(" Company: ").Append(Company).Append("\n"); @@ -176,15 +176,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersEmbeddedDefaultShippingAddressShipTo); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo); } /// - /// Returns true if Tmsv2customersEmbeddedDefaultShippingAddressShipTo instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo instances are equal /// - /// Instance of Tmsv2customersEmbeddedDefaultShippingAddressShipTo to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo to be compared /// Boolean - public bool Equals(Tmsv2customersEmbeddedDefaultShippingAddressShipTo other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinks.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinks.cs similarity index 76% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinks.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinks.cs index a7e875ed..a7d34db9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinks.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinks.cs @@ -25,18 +25,18 @@ namespace CyberSource.Model { /// - /// Tmsv2customersLinks + /// Tmsv2tokenizeTokenInformationCustomerLinks /// [DataContract] - public partial class Tmsv2customersLinks : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerLinks : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Self. /// PaymentInstruments. /// ShippingAddress. - public Tmsv2customersLinks(Tmsv2customersLinksSelf Self = default(Tmsv2customersLinksSelf), Tmsv2customersLinksPaymentInstruments PaymentInstruments = default(Tmsv2customersLinksPaymentInstruments), Tmsv2customersLinksShippingAddress ShippingAddress = default(Tmsv2customersLinksShippingAddress)) + public Tmsv2tokenizeTokenInformationCustomerLinks(Tmsv2tokenizeTokenInformationCustomerLinksSelf Self = default(Tmsv2tokenizeTokenInformationCustomerLinksSelf), Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments PaymentInstruments = default(Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments), Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress ShippingAddress = default(Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress)) { this.Self = Self; this.PaymentInstruments = PaymentInstruments; @@ -47,19 +47,19 @@ public partial class Tmsv2customersLinks : IEquatable, IVa /// Gets or Sets Self /// [DataMember(Name="self", EmitDefaultValue=false)] - public Tmsv2customersLinksSelf Self { get; set; } + public Tmsv2tokenizeTokenInformationCustomerLinksSelf Self { get; set; } /// /// Gets or Sets PaymentInstruments /// [DataMember(Name="paymentInstruments", EmitDefaultValue=false)] - public Tmsv2customersLinksPaymentInstruments PaymentInstruments { get; set; } + public Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments PaymentInstruments { get; set; } /// /// Gets or Sets ShippingAddress /// [DataMember(Name="shippingAddress", EmitDefaultValue=false)] - public Tmsv2customersLinksShippingAddress ShippingAddress { get; set; } + public Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress ShippingAddress { get; set; } /// /// Returns the string presentation of the object @@ -68,7 +68,7 @@ public partial class Tmsv2customersLinks : IEquatable, IVa public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersLinks {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerLinks {\n"); if (Self != null) sb.Append(" Self: ").Append(Self).Append("\n"); if (PaymentInstruments != null) sb.Append(" PaymentInstruments: ").Append(PaymentInstruments).Append("\n"); if (ShippingAddress != null) sb.Append(" ShippingAddress: ").Append(ShippingAddress).Append("\n"); @@ -93,15 +93,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersLinks); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerLinks); } /// - /// Returns true if Tmsv2customersLinks instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerLinks instances are equal /// - /// Instance of Tmsv2customersLinks to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerLinks to be compared /// Boolean - public bool Equals(Tmsv2customersLinks other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerLinks other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksPaymentInstruments.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.cs similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksPaymentInstruments.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.cs index de67851b..a759e920 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksPaymentInstruments.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersLinksPaymentInstruments + /// Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments /// [DataContract] - public partial class Tmsv2customersLinksPaymentInstruments : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersLinksPaymentInstruments() + public Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments() { } @@ -52,7 +52,7 @@ public Tmsv2customersLinksPaymentInstruments() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersLinksPaymentInstruments {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments {\n"); if (Href != null) sb.Append(" Href: ").Append(Href).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersLinksPaymentInstruments); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments); } /// - /// Returns true if Tmsv2customersLinksPaymentInstruments instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments instances are equal /// - /// Instance of Tmsv2customersLinksPaymentInstruments to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments to be compared /// Boolean - public bool Equals(Tmsv2customersLinksPaymentInstruments other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksSelf.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelf.cs similarity index 80% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksSelf.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelf.cs index 9dca7d9a..ecb5d485 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksSelf.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksSelf.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersLinksSelf + /// Tmsv2tokenizeTokenInformationCustomerLinksSelf /// [DataContract] - public partial class Tmsv2customersLinksSelf : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerLinksSelf : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersLinksSelf() + public Tmsv2tokenizeTokenInformationCustomerLinksSelf() { } @@ -52,7 +52,7 @@ public Tmsv2customersLinksSelf() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersLinksSelf {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerLinksSelf {\n"); if (Href != null) sb.Append(" Href: ").Append(Href).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersLinksSelf); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerLinksSelf); } /// - /// Returns true if Tmsv2customersLinksSelf instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerLinksSelf instances are equal /// - /// Instance of Tmsv2customersLinksSelf to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerLinksSelf to be compared /// Boolean - public bool Equals(Tmsv2customersLinksSelf other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerLinksSelf other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksShippingAddress.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.cs similarity index 79% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksShippingAddress.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.cs index a487e441..a5fd65c5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersLinksShippingAddress.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersLinksShippingAddress + /// Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress /// [DataContract] - public partial class Tmsv2customersLinksShippingAddress : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersLinksShippingAddress() + public Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress() { } @@ -52,7 +52,7 @@ public Tmsv2customersLinksShippingAddress() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersLinksShippingAddress {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress {\n"); if (Href != null) sb.Append(" Href: ").Append(Href).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersLinksShippingAddress); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress); } /// - /// Returns true if Tmsv2customersLinksShippingAddress instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress instances are equal /// - /// Instance of Tmsv2customersLinksShippingAddress to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress to be compared /// Boolean - public bool Equals(Tmsv2customersLinksShippingAddress other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersMerchantDefinedInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.cs similarity index 88% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersMerchantDefinedInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.cs index e3a2d357..ca4aeef2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersMerchantDefinedInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// Tmsv2customersMerchantDefinedInformation + /// Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation /// [DataContract] - public partial class Tmsv2customersMerchantDefinedInformation : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The number you assign as the name for your merchant-defined data or secure field. Possible Values are data1 to data4 and sensitive1 to sensitive4 For example, to set the name for merchant-defined data 2 field, you would reference merchantDefinedInformation[x].name as data2 Possible Values: - data1 - data2 - data3 - data4 - sensitive1 - sensitive2 - sensitive3 - sensitive4 . /// The value you assign for your merchant-defined data field. **Warning** Merchant-defined data fields are not intended to and must not be used to capture personally identifying information. Accordingly, merchants are prohibited from capturing, obtaining, and/or transmitting any personally identifying information in or via the merchant-defined data fields. Personally identifying information includes, but is not limited to, address, credit card number, social security number, driver's license number, state-issued identification number, passport number, and card verification numbers (CVV, CVC2, CVV2, CID, CVN). In the event it is discovered a merchant is capturing and/or transmitting personally identifying information via the merchant-defined data fields, whether or not intentionally, the merchant's account will immediately be suspended, which will result in a rejection of any and all transaction requests submitted by the merchant after the point of suspension. . - public Tmsv2customersMerchantDefinedInformation(string Name = default(string), string Value = default(string)) + public Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation(string Name = default(string), string Value = default(string)) { this.Name = Name; this.Value = Value; @@ -62,7 +62,7 @@ public partial class Tmsv2customersMerchantDefinedInformation : IEquatable - /// Returns true if Tmsv2customersMerchantDefinedInformation instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation instances are equal /// - /// Instance of Tmsv2customersMerchantDefinedInformation to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation to be compared /// Boolean - public bool Equals(Tmsv2customersMerchantDefinedInformation other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersMetadata.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerMetadata.cs similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersMetadata.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerMetadata.cs index 9dab5435..6d27088b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersMetadata.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerMetadata.cs @@ -25,16 +25,16 @@ namespace CyberSource.Model { /// - /// Tmsv2customersMetadata + /// Tmsv2tokenizeTokenInformationCustomerMetadata /// [DataContract] - public partial class Tmsv2customersMetadata : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerMetadata : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// [JsonConstructorAttribute] - public Tmsv2customersMetadata() + public Tmsv2tokenizeTokenInformationCustomerMetadata() { } @@ -52,7 +52,7 @@ public Tmsv2customersMetadata() public override string ToString() { var sb = new StringBuilder(); - sb.Append("class Tmsv2customersMetadata {\n"); + sb.Append("class Tmsv2tokenizeTokenInformationCustomerMetadata {\n"); if (Creator != null) sb.Append(" Creator: ").Append(Creator).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -75,15 +75,15 @@ public string ToJson() public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 - return this.Equals(obj as Tmsv2customersMetadata); + return this.Equals(obj as Tmsv2tokenizeTokenInformationCustomerMetadata); } /// - /// Returns true if Tmsv2customersMetadata instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerMetadata instances are equal /// - /// Instance of Tmsv2customersMetadata to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerMetadata to be compared /// Boolean - public bool Equals(Tmsv2customersMetadata other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerMetadata other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersObjectInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformation.cs similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersObjectInformation.cs rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformation.cs index 3f29c803..7924e29f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2customersObjectInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizeTokenInformationCustomerObjectInformation.cs @@ -25,17 +25,17 @@ namespace CyberSource.Model { /// - /// Tmsv2customersObjectInformation + /// Tmsv2tokenizeTokenInformationCustomerObjectInformation /// [DataContract] - public partial class Tmsv2customersObjectInformation : IEquatable, IValidatableObject + public partial class Tmsv2tokenizeTokenInformationCustomerObjectInformation : IEquatable, IValidatableObject { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Name or title of the customer. . /// Comments that you can make about the customer. . - public Tmsv2customersObjectInformation(string Title = default(string), string Comment = default(string)) + public Tmsv2tokenizeTokenInformationCustomerObjectInformation(string Title = default(string), string Comment = default(string)) { this.Title = Title; this.Comment = Comment; @@ -62,7 +62,7 @@ public partial class Tmsv2customersObjectInformation : IEquatable - /// Returns true if Tmsv2customersObjectInformation instances are equal + /// Returns true if Tmsv2tokenizeTokenInformationCustomerObjectInformation instances are equal /// - /// Instance of Tmsv2customersObjectInformation to be compared + /// Instance of Tmsv2tokenizeTokenInformationCustomerObjectInformation to be compared /// Boolean - public bool Equals(Tmsv2customersObjectInformation other) + public bool Equals(Tmsv2tokenizeTokenInformationCustomerObjectInformation other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.cs new file mode 100644 index 00000000..c1c5c8e9 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.cs @@ -0,0 +1,163 @@ +/* + * 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 +{ + /// + /// Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard + /// + [DataContract] + public partial class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The new last 4 digits of the card number associated to the Tokenized Card. . + /// The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. . + /// The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. . + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard(string Last4 = default(string), string ExpirationMonth = default(string), string ExpirationYear = default(string)) + { + this.Last4 = Last4; + this.ExpirationMonth = ExpirationMonth; + this.ExpirationYear = ExpirationYear; + } + + /// + /// The new last 4 digits of the card number associated to the Tokenized Card. + /// + /// The new last 4 digits of the card number associated to the Tokenized Card. + [DataMember(Name="last4", EmitDefaultValue=false)] + public string Last4 { get; set; } + + /// + /// The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. + /// + /// The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. + [DataMember(Name="expirationMonth", EmitDefaultValue=false)] + public string ExpirationMonth { get; set; } + + /// + /// The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. + /// + /// The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. + [DataMember(Name="expirationYear", EmitDefaultValue=false)] + public string 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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard {\n"); + if (Last4 != null) sb.Append(" Last4: ").Append(Last4).Append("\n"); + if (ExpirationMonth != null) sb.Append(" ExpirationMonth: ").Append(ExpirationMonth).Append("\n"); + if (ExpirationYear != null) 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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard); + } + + /// + /// Returns true if Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard instances are equal + /// + /// Instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard to be compared + /// Boolean + public bool Equals(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Last4 == other.Last4 || + this.Last4 != null && + this.Last4.Equals(other.Last4) + ) && + ( + 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.Last4 != null) + hash = hash * 59 + this.Last4.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/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.cs new file mode 100644 index 00000000..33e2722c --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.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 +{ + /// + /// Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata + /// + [DataContract] + public partial class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CardArt. + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt CardArt = default(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt)) + { + this.CardArt = CardArt; + } + + /// + /// Gets or Sets CardArt + /// + [DataMember(Name="cardArt", EmitDefaultValue=false)] + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt 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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata {\n"); + if (CardArt != null) 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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata); + } + + /// + /// Returns true if Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata instances are equal + /// + /// Instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata to be compared + /// Boolean + public bool Equals(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata 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/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.cs new file mode 100644 index 00000000..be107270 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.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 +{ + /// + /// Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt + /// + [DataContract] + public partial class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// CombinedAsset. + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset CombinedAsset = default(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset)) + { + this.CombinedAsset = CombinedAsset; + } + + /// + /// Gets or Sets CombinedAsset + /// + [DataMember(Name="combinedAsset", EmitDefaultValue=false)] + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset CombinedAsset { 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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt {\n"); + if (CombinedAsset != null) sb.Append(" CombinedAsset: ").Append(CombinedAsset).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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt); + } + + /// + /// Returns true if Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt instances are equal + /// + /// Instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt to be compared + /// Boolean + public bool Equals(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt 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) + ); + } + + /// + /// 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(); + 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-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.cs new file mode 100644 index 00000000..1010cac7 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.cs @@ -0,0 +1,129 @@ +/* + * 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 +{ + /// + /// Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset + /// + [DataContract] + public partial class Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. . + public Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset(string Update = default(string)) + { + this.Update = Update; + } + + /// + /// Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. + /// + /// Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. + [DataMember(Name="update", EmitDefaultValue=false)] + public string Update { 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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset {\n"); + if (Update != null) sb.Append(" Update: ").Append(Update).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 Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset); + } + + /// + /// Returns true if Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset instances are equal + /// + /// Instance of Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset to be compared + /// Boolean + public bool Equals(Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.Update == other.Update || + this.Update != null && + this.Update.Equals(other.Update) + ); + } + + /// + /// 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.Update != null) + hash = hash * 59 + this.Update.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-netstandard/cybersource-rest-client-netstandard/Model/UpdateSubscription.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/UpdateSubscription.cs index eadfcb51..ed9e0f8f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/UpdateSubscription.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/UpdateSubscription.cs @@ -38,7 +38,7 @@ public partial class UpdateSubscription : IEquatable, IVali /// PlanInformation. /// SubscriptionInformation. /// OrderInformation. - public UpdateSubscription(Rbsv1subscriptionsClientReferenceInformation ClientReferenceInformation = default(Rbsv1subscriptionsClientReferenceInformation), Rbsv1subscriptionsProcessingInformation ProcessingInformation = default(Rbsv1subscriptionsProcessingInformation), Rbsv1subscriptionsidPlanInformation PlanInformation = default(Rbsv1subscriptionsidPlanInformation), Rbsv1subscriptionsidSubscriptionInformation SubscriptionInformation = default(Rbsv1subscriptionsidSubscriptionInformation), Rbsv1subscriptionsidOrderInformation OrderInformation = default(Rbsv1subscriptionsidOrderInformation)) + public UpdateSubscription(GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation = default(GetAllSubscriptionsResponseClientReferenceInformation), Rbsv1subscriptionsProcessingInformation ProcessingInformation = default(Rbsv1subscriptionsProcessingInformation), Rbsv1subscriptionsidPlanInformation PlanInformation = default(Rbsv1subscriptionsidPlanInformation), Rbsv1subscriptionsidSubscriptionInformation SubscriptionInformation = default(Rbsv1subscriptionsidSubscriptionInformation), Rbsv1subscriptionsidOrderInformation OrderInformation = default(Rbsv1subscriptionsidOrderInformation)) { this.ClientReferenceInformation = ClientReferenceInformation; this.ProcessingInformation = ProcessingInformation; @@ -51,7 +51,7 @@ public partial class UpdateSubscription : IEquatable, IVali /// Gets or Sets ClientReferenceInformation /// [DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)] - public Rbsv1subscriptionsClientReferenceInformation ClientReferenceInformation { get; set; } + public GetAllSubscriptionsResponseClientReferenceInformation ClientReferenceInformation { get; set; } /// /// Gets or Sets ProcessingInformation diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsData.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsData.cs index aa1bdf88..cdf92e3a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsData.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsData.cs @@ -41,7 +41,9 @@ public partial class Upv1capturecontextsData : IEquatableProcessingInformation. /// RecipientInformation. /// MerchantDefinedInformation. - public Upv1capturecontextsData(Upv1capturecontextsDataOrderInformation OrderInformation = default(Upv1capturecontextsDataOrderInformation), Upv1capturecontextsDataBuyerInformation BuyerInformation = default(Upv1capturecontextsDataBuyerInformation), Upv1capturecontextsDataClientReferenceInformation ClientReferenceInformation = default(Upv1capturecontextsDataClientReferenceInformation), Upv1capturecontextsDataConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Upv1capturecontextsDataConsumerAuthenticationInformation), Upv1capturecontextsDataMerchantInformation MerchantInformation = default(Upv1capturecontextsDataMerchantInformation), Upv1capturecontextsDataProcessingInformation ProcessingInformation = default(Upv1capturecontextsDataProcessingInformation), Upv1capturecontextsDataRecipientInformation RecipientInformation = default(Upv1capturecontextsDataRecipientInformation), Upv1capturecontextsDataMerchantDefinedInformation MerchantDefinedInformation = default(Upv1capturecontextsDataMerchantDefinedInformation)) + /// DeviceInformation. + /// PaymentInformation. + public Upv1capturecontextsData(Upv1capturecontextsDataOrderInformation OrderInformation = default(Upv1capturecontextsDataOrderInformation), Upv1capturecontextsDataBuyerInformation BuyerInformation = default(Upv1capturecontextsDataBuyerInformation), Upv1capturecontextsDataClientReferenceInformation ClientReferenceInformation = default(Upv1capturecontextsDataClientReferenceInformation), Upv1capturecontextsDataConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Upv1capturecontextsDataConsumerAuthenticationInformation), Upv1capturecontextsDataMerchantInformation MerchantInformation = default(Upv1capturecontextsDataMerchantInformation), Upv1capturecontextsDataProcessingInformation ProcessingInformation = default(Upv1capturecontextsDataProcessingInformation), Upv1capturecontextsDataRecipientInformation RecipientInformation = default(Upv1capturecontextsDataRecipientInformation), Upv1capturecontextsDataMerchantDefinedInformation MerchantDefinedInformation = default(Upv1capturecontextsDataMerchantDefinedInformation), Upv1capturecontextsDataDeviceInformation DeviceInformation = default(Upv1capturecontextsDataDeviceInformation), Upv1capturecontextsDataPaymentInformation PaymentInformation = default(Upv1capturecontextsDataPaymentInformation)) { this.OrderInformation = OrderInformation; this.BuyerInformation = BuyerInformation; @@ -51,6 +53,8 @@ public partial class Upv1capturecontextsData : IEquatable @@ -101,6 +105,18 @@ public partial class Upv1capturecontextsData : IEquatable + /// Gets or Sets DeviceInformation + /// + [DataMember(Name="deviceInformation", EmitDefaultValue=false)] + public Upv1capturecontextsDataDeviceInformation DeviceInformation { get; set; } + + /// + /// Gets or Sets PaymentInformation + /// + [DataMember(Name="paymentInformation", EmitDefaultValue=false)] + public Upv1capturecontextsDataPaymentInformation PaymentInformation { get; set; } + /// /// Returns the string presentation of the object /// @@ -117,6 +133,8 @@ public override string ToString() if (ProcessingInformation != null) sb.Append(" ProcessingInformation: ").Append(ProcessingInformation).Append("\n"); if (RecipientInformation != null) sb.Append(" RecipientInformation: ").Append(RecipientInformation).Append("\n"); if (MerchantDefinedInformation != null) sb.Append(" MerchantDefinedInformation: ").Append(MerchantDefinedInformation).Append("\n"); + if (DeviceInformation != null) sb.Append(" DeviceInformation: ").Append(DeviceInformation).Append("\n"); + if (PaymentInformation != null) sb.Append(" PaymentInformation: ").Append(PaymentInformation).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -192,6 +210,16 @@ public bool Equals(Upv1capturecontextsData other) this.MerchantDefinedInformation == other.MerchantDefinedInformation || this.MerchantDefinedInformation != null && this.MerchantDefinedInformation.Equals(other.MerchantDefinedInformation) + ) && + ( + this.DeviceInformation == other.DeviceInformation || + this.DeviceInformation != null && + this.DeviceInformation.Equals(other.DeviceInformation) + ) && + ( + this.PaymentInformation == other.PaymentInformation || + this.PaymentInformation != null && + this.PaymentInformation.Equals(other.PaymentInformation) ); } @@ -222,6 +250,10 @@ public override int GetHashCode() hash = hash * 59 + this.RecipientInformation.GetHashCode(); if (this.MerchantDefinedInformation != null) hash = hash * 59 + this.MerchantDefinedInformation.GetHashCode(); + if (this.DeviceInformation != null) + hash = hash * 59 + this.DeviceInformation.GetHashCode(); + if (this.PaymentInformation != null) + hash = hash * 59 + this.PaymentInformation.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataBuyerInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataBuyerInformation.cs index c7f48b77..926bdbba 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataBuyerInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataBuyerInformation.cs @@ -34,13 +34,17 @@ public partial class Upv1capturecontextsDataBuyerInformation : IEquatable class. /// /// PersonalIdentification. - /// MerchantCustomerId. - /// CompanyTaxId. - public Upv1capturecontextsDataBuyerInformation(Upv1capturecontextsDataBuyerInformationPersonalIdentification PersonalIdentification = default(Upv1capturecontextsDataBuyerInformationPersonalIdentification), string MerchantCustomerId = default(string), string CompanyTaxId = default(string)) + /// The Merchant Customer ID . + /// The Company Tax ID . + /// The date of birth . + /// The preferred language . + public Upv1capturecontextsDataBuyerInformation(Upv1capturecontextsDataBuyerInformationPersonalIdentification PersonalIdentification = default(Upv1capturecontextsDataBuyerInformationPersonalIdentification), string MerchantCustomerId = default(string), string CompanyTaxId = default(string), string DateOfBirth = default(string), string Language = default(string)) { this.PersonalIdentification = PersonalIdentification; this.MerchantCustomerId = MerchantCustomerId; this.CompanyTaxId = CompanyTaxId; + this.DateOfBirth = DateOfBirth; + this.Language = Language; } /// @@ -50,17 +54,33 @@ public partial class Upv1capturecontextsDataBuyerInformation : IEquatable - /// Gets or Sets MerchantCustomerId + /// The Merchant Customer ID /// + /// The Merchant Customer ID [DataMember(Name="merchantCustomerId", EmitDefaultValue=false)] public string MerchantCustomerId { get; set; } /// - /// Gets or Sets CompanyTaxId + /// The Company Tax ID /// + /// The Company Tax ID [DataMember(Name="companyTaxId", EmitDefaultValue=false)] public string CompanyTaxId { get; set; } + /// + /// The date of birth + /// + /// The date of birth + [DataMember(Name="dateOfBirth", EmitDefaultValue=false)] + public string DateOfBirth { get; set; } + + /// + /// The preferred language + /// + /// The preferred language + [DataMember(Name="language", EmitDefaultValue=false)] + public string Language { get; set; } + /// /// Returns the string presentation of the object /// @@ -72,6 +92,8 @@ public override string ToString() if (PersonalIdentification != null) sb.Append(" PersonalIdentification: ").Append(PersonalIdentification).Append("\n"); if (MerchantCustomerId != null) sb.Append(" MerchantCustomerId: ").Append(MerchantCustomerId).Append("\n"); if (CompanyTaxId != null) sb.Append(" CompanyTaxId: ").Append(CompanyTaxId).Append("\n"); + if (DateOfBirth != null) sb.Append(" DateOfBirth: ").Append(DateOfBirth).Append("\n"); + if (Language != null) sb.Append(" Language: ").Append(Language).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -122,6 +144,16 @@ public bool Equals(Upv1capturecontextsDataBuyerInformation other) this.CompanyTaxId == other.CompanyTaxId || this.CompanyTaxId != null && this.CompanyTaxId.Equals(other.CompanyTaxId) + ) && + ( + this.DateOfBirth == other.DateOfBirth || + this.DateOfBirth != null && + this.DateOfBirth.Equals(other.DateOfBirth) + ) && + ( + this.Language == other.Language || + this.Language != null && + this.Language.Equals(other.Language) ); } @@ -142,6 +174,10 @@ public override int GetHashCode() hash = hash * 59 + this.MerchantCustomerId.GetHashCode(); if (this.CompanyTaxId != null) hash = hash * 59 + this.CompanyTaxId.GetHashCode(); + if (this.DateOfBirth != null) + hash = hash * 59 + this.DateOfBirth.GetHashCode(); + if (this.Language != null) + hash = hash * 59 + this.Language.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataBuyerInformationPersonalIdentification.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataBuyerInformationPersonalIdentification.cs index 78f91928..128a2d64 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataBuyerInformationPersonalIdentification.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataBuyerInformationPersonalIdentification.cs @@ -33,15 +33,16 @@ public partial class Upv1capturecontextsDataBuyerInformationPersonalIdentificati /// /// Initializes a new instance of the class. /// - /// Cpf. + /// CPF Number (Brazil). Must be 11 digits in length. . public Upv1capturecontextsDataBuyerInformationPersonalIdentification(string Cpf = default(string)) { this.Cpf = Cpf; } /// - /// Gets or Sets Cpf + /// CPF Number (Brazil). Must be 11 digits in length. /// + /// CPF Number (Brazil). Must be 11 digits in length. [DataMember(Name="cpf", EmitDefaultValue=false)] public string Cpf { get; set; } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataClientReferenceInformationPartner.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataClientReferenceInformationPartner.cs index 113f1825..7e529537 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataClientReferenceInformationPartner.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataClientReferenceInformationPartner.cs @@ -50,7 +50,7 @@ public partial class Upv1capturecontextsDataClientReferenceInformationPartner : /// /// Gets or Sets SolutionId /// - [DataMember(Name="SolutionId", EmitDefaultValue=false)] + [DataMember(Name="solutionId", EmitDefaultValue=false)] public string SolutionId { get; set; } /// diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataConsumerAuthenticationInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataConsumerAuthenticationInformation.cs index ea89b9e6..4220a731 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataConsumerAuthenticationInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataConsumerAuthenticationInformation.cs @@ -33,26 +33,37 @@ public partial class Upv1capturecontextsDataConsumerAuthenticationInformation : /// /// Initializes a new instance of the class. /// - /// ChallengeCode. - /// MessageCategory. - public Upv1capturecontextsDataConsumerAuthenticationInformation(string ChallengeCode = default(string), string MessageCategory = default(string)) + /// The challenge code . + /// The message category . + /// The acs window size . + public Upv1capturecontextsDataConsumerAuthenticationInformation(string ChallengeCode = default(string), string MessageCategory = default(string), string AcsWindowSize = default(string)) { this.ChallengeCode = ChallengeCode; this.MessageCategory = MessageCategory; + this.AcsWindowSize = AcsWindowSize; } /// - /// Gets or Sets ChallengeCode + /// The challenge code /// + /// The challenge code [DataMember(Name="challengeCode", EmitDefaultValue=false)] public string ChallengeCode { get; set; } /// - /// Gets or Sets MessageCategory + /// The message category /// + /// The message category [DataMember(Name="messageCategory", EmitDefaultValue=false)] public string MessageCategory { get; set; } + /// + /// The acs window size + /// + /// The acs window size + [DataMember(Name="acsWindowSize", EmitDefaultValue=false)] + public string AcsWindowSize { get; set; } + /// /// Returns the string presentation of the object /// @@ -63,6 +74,7 @@ public override string ToString() sb.Append("class Upv1capturecontextsDataConsumerAuthenticationInformation {\n"); if (ChallengeCode != null) sb.Append(" ChallengeCode: ").Append(ChallengeCode).Append("\n"); if (MessageCategory != null) sb.Append(" MessageCategory: ").Append(MessageCategory).Append("\n"); + if (AcsWindowSize != null) sb.Append(" AcsWindowSize: ").Append(AcsWindowSize).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -108,6 +120,11 @@ public bool Equals(Upv1capturecontextsDataConsumerAuthenticationInformation othe this.MessageCategory == other.MessageCategory || this.MessageCategory != null && this.MessageCategory.Equals(other.MessageCategory) + ) && + ( + this.AcsWindowSize == other.AcsWindowSize || + this.AcsWindowSize != null && + this.AcsWindowSize.Equals(other.AcsWindowSize) ); } @@ -126,6 +143,8 @@ public override int GetHashCode() hash = hash * 59 + this.ChallengeCode.GetHashCode(); if (this.MessageCategory != null) hash = hash * 59 + this.MessageCategory.GetHashCode(); + if (this.AcsWindowSize != null) + hash = hash * 59 + this.AcsWindowSize.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataDeviceInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataDeviceInformation.cs new file mode 100644 index 00000000..edcd6ece --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataDeviceInformation.cs @@ -0,0 +1,129 @@ +/* + * 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 +{ + /// + /// Upv1capturecontextsDataDeviceInformation + /// + [DataContract] + public partial class Upv1capturecontextsDataDeviceInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The IP Address. + public Upv1capturecontextsDataDeviceInformation(string IpAddress = default(string)) + { + this.IpAddress = IpAddress; + } + + /// + /// The IP Address + /// + /// The IP Address + [DataMember(Name="ipAddress", EmitDefaultValue=false)] + public string IpAddress { 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 Upv1capturecontextsDataDeviceInformation {\n"); + if (IpAddress != null) sb.Append(" IpAddress: ").Append(IpAddress).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 Upv1capturecontextsDataDeviceInformation); + } + + /// + /// Returns true if Upv1capturecontextsDataDeviceInformation instances are equal + /// + /// Instance of Upv1capturecontextsDataDeviceInformation to be compared + /// Boolean + public bool Equals(Upv1capturecontextsDataDeviceInformation other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.IpAddress == other.IpAddress || + this.IpAddress != null && + this.IpAddress.Equals(other.IpAddress) + ); + } + + /// + /// 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.IpAddress != null) + hash = hash * 59 + this.IpAddress.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-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.cs index 428586b4..b9b9199c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.cs @@ -34,9 +34,23 @@ public partial class Upv1capturecontextsDataMerchantInformationMerchantDescripto /// Initializes a new instance of the class. /// /// The name of the merchant. - public Upv1capturecontextsDataMerchantInformationMerchantDescriptor(string Name = default(string)) + /// The alternate name of the merchant. + /// The locality of the merchant. + /// The phone number of the merchant. + /// The country code of the merchant. + /// The postal code of the merchant. + /// The administrative area of the merchant. + /// The first line of the merchant's address. + public Upv1capturecontextsDataMerchantInformationMerchantDescriptor(string Name = default(string), string AlternateName = default(string), string Locality = default(string), string Phone = default(string), string Country = default(string), string PostalCode = default(string), string AdministrativeArea = default(string), string Address1 = default(string)) { this.Name = Name; + this.AlternateName = AlternateName; + this.Locality = Locality; + this.Phone = Phone; + this.Country = Country; + this.PostalCode = PostalCode; + this.AdministrativeArea = AdministrativeArea; + this.Address1 = Address1; } /// @@ -46,6 +60,55 @@ public partial class Upv1capturecontextsDataMerchantInformationMerchantDescripto [DataMember(Name="name", EmitDefaultValue=false)] public string Name { get; set; } + /// + /// The alternate name of the merchant + /// + /// The alternate name of the merchant + [DataMember(Name="alternateName", EmitDefaultValue=false)] + public string AlternateName { get; set; } + + /// + /// The locality of the merchant + /// + /// The locality of the merchant + [DataMember(Name="locality", EmitDefaultValue=false)] + public string Locality { get; set; } + + /// + /// The phone number of the merchant + /// + /// The phone number of the merchant + [DataMember(Name="phone", EmitDefaultValue=false)] + public string Phone { get; set; } + + /// + /// The country code of the merchant + /// + /// The country code of the merchant + [DataMember(Name="country", EmitDefaultValue=false)] + public string Country { get; set; } + + /// + /// The postal code of the merchant + /// + /// The postal code of the merchant + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// The administrative area of the merchant + /// + /// The administrative area of the merchant + [DataMember(Name="administrativeArea", EmitDefaultValue=false)] + public string AdministrativeArea { get; set; } + + /// + /// The first line of the merchant's address + /// + /// The first line of the merchant's address + [DataMember(Name="address1", EmitDefaultValue=false)] + public string Address1 { get; set; } + /// /// Returns the string presentation of the object /// @@ -55,6 +118,13 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class Upv1capturecontextsDataMerchantInformationMerchantDescriptor {\n"); if (Name != null) sb.Append(" Name: ").Append(Name).Append("\n"); + if (AlternateName != null) sb.Append(" AlternateName: ").Append(AlternateName).Append("\n"); + if (Locality != null) sb.Append(" Locality: ").Append(Locality).Append("\n"); + if (Phone != null) sb.Append(" Phone: ").Append(Phone).Append("\n"); + if (Country != null) sb.Append(" Country: ").Append(Country).Append("\n"); + if (PostalCode != null) sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + if (AdministrativeArea != null) sb.Append(" AdministrativeArea: ").Append(AdministrativeArea).Append("\n"); + if (Address1 != null) sb.Append(" Address1: ").Append(Address1).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -95,6 +165,41 @@ public bool Equals(Upv1capturecontextsDataMerchantInformationMerchantDescriptor this.Name == other.Name || this.Name != null && this.Name.Equals(other.Name) + ) && + ( + this.AlternateName == other.AlternateName || + this.AlternateName != null && + this.AlternateName.Equals(other.AlternateName) + ) && + ( + this.Locality == other.Locality || + this.Locality != null && + this.Locality.Equals(other.Locality) + ) && + ( + this.Phone == other.Phone || + this.Phone != null && + this.Phone.Equals(other.Phone) + ) && + ( + this.Country == other.Country || + this.Country != null && + this.Country.Equals(other.Country) + ) && + ( + this.PostalCode == other.PostalCode || + this.PostalCode != null && + this.PostalCode.Equals(other.PostalCode) + ) && + ( + this.AdministrativeArea == other.AdministrativeArea || + this.AdministrativeArea != null && + this.AdministrativeArea.Equals(other.AdministrativeArea) + ) && + ( + this.Address1 == other.Address1 || + this.Address1 != null && + this.Address1.Equals(other.Address1) ); } @@ -111,6 +216,20 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (this.Name != null) hash = hash * 59 + this.Name.GetHashCode(); + if (this.AlternateName != null) + hash = hash * 59 + this.AlternateName.GetHashCode(); + if (this.Locality != null) + hash = hash * 59 + this.Locality.GetHashCode(); + if (this.Phone != null) + hash = hash * 59 + this.Phone.GetHashCode(); + if (this.Country != null) + hash = hash * 59 + this.Country.GetHashCode(); + if (this.PostalCode != null) + hash = hash * 59 + this.PostalCode.GetHashCode(); + if (this.AdministrativeArea != null) + hash = hash * 59 + this.AdministrativeArea.GetHashCode(); + if (this.Address1 != null) + hash = hash * 59 + this.Address1.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformation.cs index 952b6762..6b8e8bcd 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformation.cs @@ -37,12 +37,14 @@ public partial class Upv1capturecontextsDataOrderInformation : IEquatableBillTo. /// ShipTo. /// LineItems. - public Upv1capturecontextsDataOrderInformation(Upv1capturecontextsDataOrderInformationAmountDetails AmountDetails = default(Upv1capturecontextsDataOrderInformationAmountDetails), Upv1capturecontextsDataOrderInformationBillTo BillTo = default(Upv1capturecontextsDataOrderInformationBillTo), Upv1capturecontextsDataOrderInformationShipTo ShipTo = default(Upv1capturecontextsDataOrderInformationShipTo), Upv1capturecontextsDataOrderInformationLineItems LineItems = default(Upv1capturecontextsDataOrderInformationLineItems)) + /// InvoiceDetails. + public Upv1capturecontextsDataOrderInformation(Upv1capturecontextsDataOrderInformationAmountDetails AmountDetails = default(Upv1capturecontextsDataOrderInformationAmountDetails), Upv1capturecontextsDataOrderInformationBillTo BillTo = default(Upv1capturecontextsDataOrderInformationBillTo), Upv1capturecontextsDataOrderInformationShipTo ShipTo = default(Upv1capturecontextsDataOrderInformationShipTo), Upv1capturecontextsDataOrderInformationLineItems LineItems = default(Upv1capturecontextsDataOrderInformationLineItems), Upv1capturecontextsDataOrderInformationInvoiceDetails InvoiceDetails = default(Upv1capturecontextsDataOrderInformationInvoiceDetails)) { this.AmountDetails = AmountDetails; this.BillTo = BillTo; this.ShipTo = ShipTo; this.LineItems = LineItems; + this.InvoiceDetails = InvoiceDetails; } /// @@ -69,6 +71,12 @@ public partial class Upv1capturecontextsDataOrderInformation : IEquatable + /// Gets or Sets InvoiceDetails + /// + [DataMember(Name="invoiceDetails", EmitDefaultValue=false)] + public Upv1capturecontextsDataOrderInformationInvoiceDetails InvoiceDetails { get; set; } + /// /// Returns the string presentation of the object /// @@ -81,6 +89,7 @@ public override string ToString() if (BillTo != null) sb.Append(" BillTo: ").Append(BillTo).Append("\n"); if (ShipTo != null) sb.Append(" ShipTo: ").Append(ShipTo).Append("\n"); if (LineItems != null) sb.Append(" LineItems: ").Append(LineItems).Append("\n"); + if (InvoiceDetails != null) sb.Append(" InvoiceDetails: ").Append(InvoiceDetails).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -136,6 +145,11 @@ public bool Equals(Upv1capturecontextsDataOrderInformation other) this.LineItems == other.LineItems || this.LineItems != null && this.LineItems.Equals(other.LineItems) + ) && + ( + this.InvoiceDetails == other.InvoiceDetails || + this.InvoiceDetails != null && + this.InvoiceDetails.Equals(other.InvoiceDetails) ); } @@ -158,6 +172,8 @@ public override int GetHashCode() hash = hash * 59 + this.ShipTo.GetHashCode(); if (this.LineItems != null) hash = hash * 59 + this.LineItems.GetHashCode(); + if (this.InvoiceDetails != null) + hash = hash * 59 + this.InvoiceDetails.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationAmountDetails.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationAmountDetails.cs index 047bfce5..bfc57fa8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationAmountDetails.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationAmountDetails.cs @@ -40,7 +40,8 @@ public partial class Upv1capturecontextsDataOrderInformationAmountDetails : IEq /// This field defines the sub total amount applicable to the order. . /// This field defines the service fee amount applicable to the order. . /// This field defines the tax amount applicable to the order. . - public Upv1capturecontextsDataOrderInformationAmountDetails(string TotalAmount = default(string), string Currency = default(string), Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge Surcharge = default(Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge), string DiscountAmount = default(string), string SubTotalAmount = default(string), string ServiceFeeAmount = default(string), string TaxAmount = default(string)) + /// TaxDetails. + public Upv1capturecontextsDataOrderInformationAmountDetails(string TotalAmount = default(string), string Currency = default(string), Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge Surcharge = default(Upv1capturecontextsDataOrderInformationAmountDetailsSurcharge), string DiscountAmount = default(string), string SubTotalAmount = default(string), string ServiceFeeAmount = default(string), string TaxAmount = default(string), Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails TaxDetails = default(Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails)) { this.TotalAmount = TotalAmount; this.Currency = Currency; @@ -49,6 +50,7 @@ public partial class Upv1capturecontextsDataOrderInformationAmountDetails : IEq this.SubTotalAmount = SubTotalAmount; this.ServiceFeeAmount = ServiceFeeAmount; this.TaxAmount = TaxAmount; + this.TaxDetails = TaxDetails; } /// @@ -99,6 +101,12 @@ public partial class Upv1capturecontextsDataOrderInformationAmountDetails : IEq [DataMember(Name="taxAmount", EmitDefaultValue=false)] public string TaxAmount { get; set; } + /// + /// Gets or Sets TaxDetails + /// + [DataMember(Name="taxDetails", EmitDefaultValue=false)] + public Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails TaxDetails { get; set; } + /// /// Returns the string presentation of the object /// @@ -114,6 +122,7 @@ public override string ToString() if (SubTotalAmount != null) sb.Append(" SubTotalAmount: ").Append(SubTotalAmount).Append("\n"); if (ServiceFeeAmount != null) sb.Append(" ServiceFeeAmount: ").Append(ServiceFeeAmount).Append("\n"); if (TaxAmount != null) sb.Append(" TaxAmount: ").Append(TaxAmount).Append("\n"); + if (TaxDetails != null) sb.Append(" TaxDetails: ").Append(TaxDetails).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -184,6 +193,11 @@ public bool Equals(Upv1capturecontextsDataOrderInformationAmountDetails other) this.TaxAmount == other.TaxAmount || this.TaxAmount != null && this.TaxAmount.Equals(other.TaxAmount) + ) && + ( + this.TaxDetails == other.TaxDetails || + this.TaxDetails != null && + this.TaxDetails.Equals(other.TaxDetails) ); } @@ -212,6 +226,8 @@ public override int GetHashCode() hash = hash * 59 + this.ServiceFeeAmount.GetHashCode(); if (this.TaxAmount != null) hash = hash * 59 + this.TaxAmount.GetHashCode(); + if (this.TaxDetails != null) + hash = hash * 59 + this.TaxDetails.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.cs new file mode 100644 index 00000000..14fcd622 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails + /// + [DataContract] + public partial class Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// This field defines the tax identifier/registration number . + /// This field defines the Tax type code (N=National, S=State, L=Local etc) . + public Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails(string TaxId = default(string), string Type = default(string)) + { + this.TaxId = TaxId; + this.Type = Type; + } + + /// + /// This field defines the tax identifier/registration number + /// + /// This field defines the tax identifier/registration number + [DataMember(Name="taxId", EmitDefaultValue=false)] + public string TaxId { get; set; } + + /// + /// This field defines the Tax type code (N=National, S=State, L=Local etc) + /// + /// This field defines the Tax type code (N=National, S=State, L=Local etc) + [DataMember(Name="type", EmitDefaultValue=false)] + public string Type { 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 Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails {\n"); + if (TaxId != null) sb.Append(" TaxId: ").Append(TaxId).Append("\n"); + if (Type != null) sb.Append(" Type: ").Append(Type).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 Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails); + } + + /// + /// Returns true if Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails instances are equal + /// + /// Instance of Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails to be compared + /// Boolean + public bool Equals(Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TaxId == other.TaxId || + this.TaxId != null && + this.TaxId.Equals(other.TaxId) + ) && + ( + this.Type == other.Type || + this.Type != null && + this.Type.Equals(other.Type) + ); + } + + /// + /// 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.TaxId != null) + hash = hash * 59 + this.TaxId.GetHashCode(); + if (this.Type != null) + hash = hash * 59 + this.Type.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-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationInvoiceDetails.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationInvoiceDetails.cs new file mode 100644 index 00000000..70174521 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationInvoiceDetails.cs @@ -0,0 +1,146 @@ +/* + * CyberSource Merged Spec + * + * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html + * + * OpenAPI spec version: 0.0.1 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = CyberSource.Client.SwaggerDateConverter; + +namespace CyberSource.Model +{ + /// + /// Upv1capturecontextsDataOrderInformationInvoiceDetails + /// + [DataContract] + public partial class Upv1capturecontextsDataOrderInformationInvoiceDetails : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Invoice number. + /// Product description. + public Upv1capturecontextsDataOrderInformationInvoiceDetails(string InvoiceNumber = default(string), string ProductDescription = default(string)) + { + this.InvoiceNumber = InvoiceNumber; + this.ProductDescription = ProductDescription; + } + + /// + /// Invoice number + /// + /// Invoice number + [DataMember(Name="invoiceNumber", EmitDefaultValue=false)] + public string InvoiceNumber { get; set; } + + /// + /// Product description + /// + /// Product description + [DataMember(Name="productDescription", EmitDefaultValue=false)] + public string ProductDescription { 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 Upv1capturecontextsDataOrderInformationInvoiceDetails {\n"); + if (InvoiceNumber != null) sb.Append(" InvoiceNumber: ").Append(InvoiceNumber).Append("\n"); + if (ProductDescription != null) sb.Append(" ProductDescription: ").Append(ProductDescription).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 Upv1capturecontextsDataOrderInformationInvoiceDetails); + } + + /// + /// Returns true if Upv1capturecontextsDataOrderInformationInvoiceDetails instances are equal + /// + /// Instance of Upv1capturecontextsDataOrderInformationInvoiceDetails to be compared + /// Boolean + public bool Equals(Upv1capturecontextsDataOrderInformationInvoiceDetails other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.InvoiceNumber == other.InvoiceNumber || + this.InvoiceNumber != null && + this.InvoiceNumber.Equals(other.InvoiceNumber) + ) && + ( + this.ProductDescription == other.ProductDescription || + this.ProductDescription != null && + this.ProductDescription.Equals(other.ProductDescription) + ); + } + + /// + /// 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.InvoiceNumber != null) + hash = hash * 59 + this.InvoiceNumber.GetHashCode(); + if (this.ProductDescription != null) + hash = hash * 59 + this.ProductDescription.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-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItems.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItems.cs index f79f6283..5046c2ae 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItems.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItems.cs @@ -33,37 +33,37 @@ public partial class Upv1capturecontextsDataOrderInformationLineItems : IEquata /// /// Initializes a new instance of the class. /// - /// ProductCode. - /// ProductName. - /// ProductSku. - /// Quantity. - /// UnitPrice. - /// UnitOfMeasure. - /// TotalAmount. - /// TaxAmount. - /// TaxRate. - /// TaxAppliedAfterDiscount. - /// TaxStatusIndicator. - /// TaxTypeCode. - /// AmountIncludesTax. - /// TypeOfSupply. - /// CommodityCode. - /// DiscountAmount. - /// DiscountApplied. - /// DiscountRate. - /// InvoiceNumber. + /// Code identifying the product.. + /// Name of the product.. + /// Stock Keeping Unit identifier. + /// Quantity of the product. + /// Price per unit. + /// Unit of measure (e.g. EA, KG, LB). + /// Total amount for the line item. + /// Tax amount applied. + /// Tax rate applied. + /// Indicates if tax applied after discount. + /// Tax status indicator. + /// Tax type code. + /// Indicates if amount includes tax. + /// Type of supply. + /// Commodity code. + /// Discount amount applied. + /// Indicates if discount applied. + /// Discount rate applied. + /// Invoice number for the line item. /// TaxDetails. - /// FulfillmentType. - /// Weight. - /// WeightIdentifier. - /// WeightUnit. - /// ReferenceDataCode. - /// ReferenceDataNumber. - /// UnitTaxAmount. - /// ProductDescription. - /// GiftCardCurrency. - /// ShippingDestinationTypes. - /// Gift. + /// Fulfillment type. + /// Weight of the product. + /// Weight identifier. + /// Unit of weight of the product. + /// Reference data code. + /// Reference data number. + /// Unit tax amount. + /// Description of the product. + /// Gift card currency. + /// Shipping destination types. + /// Indicates if item is a gift. /// Passenger. public Upv1capturecontextsDataOrderInformationLineItems(string ProductCode = default(string), string ProductName = default(string), string ProductSku = default(string), int? Quantity = default(int?), string UnitPrice = default(string), string UnitOfMeasure = default(string), string TotalAmount = default(string), string TaxAmount = default(string), string TaxRate = default(string), string TaxAppliedAfterDiscount = default(string), string TaxStatusIndicator = default(string), string TaxTypeCode = default(string), bool? AmountIncludesTax = default(bool?), string TypeOfSupply = default(string), string CommodityCode = default(string), string DiscountAmount = default(string), bool? DiscountApplied = default(bool?), string DiscountRate = default(string), string InvoiceNumber = default(string), Upv1capturecontextsDataOrderInformationLineItemsTaxDetails TaxDetails = default(Upv1capturecontextsDataOrderInformationLineItemsTaxDetails), string FulfillmentType = default(string), string Weight = default(string), string WeightIdentifier = default(string), string WeightUnit = default(string), string ReferenceDataCode = default(string), string ReferenceDataNumber = default(string), string UnitTaxAmount = default(string), string ProductDescription = default(string), string GiftCardCurrency = default(string), string ShippingDestinationTypes = default(string), bool? Gift = default(bool?), Upv1capturecontextsDataOrderInformationLineItemsPassenger Passenger = default(Upv1capturecontextsDataOrderInformationLineItemsPassenger)) { @@ -102,116 +102,135 @@ public partial class Upv1capturecontextsDataOrderInformationLineItems : IEquata } /// - /// Gets or Sets ProductCode + /// Code identifying the product. /// + /// Code identifying the product. [DataMember(Name="productCode", EmitDefaultValue=false)] public string ProductCode { get; set; } /// - /// Gets or Sets ProductName + /// Name of the product. /// + /// Name of the product. [DataMember(Name="productName", EmitDefaultValue=false)] public string ProductName { get; set; } /// - /// Gets or Sets ProductSku + /// Stock Keeping Unit identifier /// + /// Stock Keeping Unit identifier [DataMember(Name="productSku", EmitDefaultValue=false)] public string ProductSku { get; set; } /// - /// Gets or Sets Quantity + /// Quantity of the product /// + /// Quantity of the product [DataMember(Name="quantity", EmitDefaultValue=false)] public int? Quantity { get; set; } /// - /// Gets or Sets UnitPrice + /// Price per unit /// + /// Price per unit [DataMember(Name="unitPrice", EmitDefaultValue=false)] public string UnitPrice { get; set; } /// - /// Gets or Sets UnitOfMeasure + /// Unit of measure (e.g. EA, KG, LB) /// + /// Unit of measure (e.g. EA, KG, LB) [DataMember(Name="unitOfMeasure", EmitDefaultValue=false)] public string UnitOfMeasure { get; set; } /// - /// Gets or Sets TotalAmount + /// Total amount for the line item /// + /// Total amount for the line item [DataMember(Name="totalAmount", EmitDefaultValue=false)] public string TotalAmount { get; set; } /// - /// Gets or Sets TaxAmount + /// Tax amount applied /// + /// Tax amount applied [DataMember(Name="taxAmount", EmitDefaultValue=false)] public string TaxAmount { get; set; } /// - /// Gets or Sets TaxRate + /// Tax rate applied /// + /// Tax rate applied [DataMember(Name="taxRate", EmitDefaultValue=false)] public string TaxRate { get; set; } /// - /// Gets or Sets TaxAppliedAfterDiscount + /// Indicates if tax applied after discount /// + /// Indicates if tax applied after discount [DataMember(Name="taxAppliedAfterDiscount", EmitDefaultValue=false)] public string TaxAppliedAfterDiscount { get; set; } /// - /// Gets or Sets TaxStatusIndicator + /// Tax status indicator /// + /// Tax status indicator [DataMember(Name="taxStatusIndicator", EmitDefaultValue=false)] public string TaxStatusIndicator { get; set; } /// - /// Gets or Sets TaxTypeCode + /// Tax type code /// + /// Tax type code [DataMember(Name="taxTypeCode", EmitDefaultValue=false)] public string TaxTypeCode { get; set; } /// - /// Gets or Sets AmountIncludesTax + /// Indicates if amount includes tax /// + /// Indicates if amount includes tax [DataMember(Name="amountIncludesTax", EmitDefaultValue=false)] public bool? AmountIncludesTax { get; set; } /// - /// Gets or Sets TypeOfSupply + /// Type of supply /// + /// Type of supply [DataMember(Name="typeOfSupply", EmitDefaultValue=false)] public string TypeOfSupply { get; set; } /// - /// Gets or Sets CommodityCode + /// Commodity code /// + /// Commodity code [DataMember(Name="commodityCode", EmitDefaultValue=false)] public string CommodityCode { get; set; } /// - /// Gets or Sets DiscountAmount + /// Discount amount applied /// + /// Discount amount applied [DataMember(Name="discountAmount", EmitDefaultValue=false)] public string DiscountAmount { get; set; } /// - /// Gets or Sets DiscountApplied + /// Indicates if discount applied /// + /// Indicates if discount applied [DataMember(Name="discountApplied", EmitDefaultValue=false)] public bool? DiscountApplied { get; set; } /// - /// Gets or Sets DiscountRate + /// Discount rate applied /// + /// Discount rate applied [DataMember(Name="discountRate", EmitDefaultValue=false)] public string DiscountRate { get; set; } /// - /// Gets or Sets InvoiceNumber + /// Invoice number for the line item /// + /// Invoice number for the line item [DataMember(Name="invoiceNumber", EmitDefaultValue=false)] public string InvoiceNumber { get; set; } @@ -222,68 +241,79 @@ public partial class Upv1capturecontextsDataOrderInformationLineItems : IEquata public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails TaxDetails { get; set; } /// - /// Gets or Sets FulfillmentType + /// Fulfillment type /// + /// Fulfillment type [DataMember(Name="fulfillmentType", EmitDefaultValue=false)] public string FulfillmentType { get; set; } /// - /// Gets or Sets Weight + /// Weight of the product /// + /// Weight of the product [DataMember(Name="weight", EmitDefaultValue=false)] public string Weight { get; set; } /// - /// Gets or Sets WeightIdentifier + /// Weight identifier /// + /// Weight identifier [DataMember(Name="weightIdentifier", EmitDefaultValue=false)] public string WeightIdentifier { get; set; } /// - /// Gets or Sets WeightUnit + /// Unit of weight of the product /// + /// Unit of weight of the product [DataMember(Name="weightUnit", EmitDefaultValue=false)] public string WeightUnit { get; set; } /// - /// Gets or Sets ReferenceDataCode + /// Reference data code /// + /// Reference data code [DataMember(Name="referenceDataCode", EmitDefaultValue=false)] public string ReferenceDataCode { get; set; } /// - /// Gets or Sets ReferenceDataNumber + /// Reference data number /// + /// Reference data number [DataMember(Name="referenceDataNumber", EmitDefaultValue=false)] public string ReferenceDataNumber { get; set; } /// - /// Gets or Sets UnitTaxAmount + /// Unit tax amount /// + /// Unit tax amount [DataMember(Name="unitTaxAmount", EmitDefaultValue=false)] public string UnitTaxAmount { get; set; } /// - /// Gets or Sets ProductDescription + /// Description of the product /// + /// Description of the product [DataMember(Name="productDescription", EmitDefaultValue=false)] public string ProductDescription { get; set; } /// - /// Gets or Sets GiftCardCurrency + /// Gift card currency /// + /// Gift card currency [DataMember(Name="giftCardCurrency", EmitDefaultValue=false)] public string GiftCardCurrency { get; set; } /// - /// Gets or Sets ShippingDestinationTypes + /// Shipping destination types /// + /// Shipping destination types [DataMember(Name="shippingDestinationTypes", EmitDefaultValue=false)] public string ShippingDestinationTypes { get; set; } /// - /// Gets or Sets Gift + /// Indicates if item is a gift /// + /// Indicates if item is a gift [DataMember(Name="gift", EmitDefaultValue=false)] public bool? Gift { get; set; } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItemsPassenger.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItemsPassenger.cs index 84cf6c8d..d90bfe15 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItemsPassenger.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItemsPassenger.cs @@ -33,14 +33,14 @@ public partial class Upv1capturecontextsDataOrderInformationLineItemsPassenger : /// /// Initializes a new instance of the class. /// - /// Type. - /// Status. - /// Phone. - /// FirstName. - /// LastName. - /// Id. - /// Email. - /// Nationality. + /// Passenger type. + /// Passenger status. + /// Passenger phone number. + /// Passenger first name. + /// Passenger last name. + /// Passenger ID. + /// Passenger email. + /// Passenger nationality. public Upv1capturecontextsDataOrderInformationLineItemsPassenger(string Type = default(string), string Status = default(string), string Phone = default(string), string FirstName = default(string), string LastName = default(string), string Id = default(string), string Email = default(string), string Nationality = default(string)) { this.Type = Type; @@ -54,50 +54,58 @@ public partial class Upv1capturecontextsDataOrderInformationLineItemsPassenger : } /// - /// Gets or Sets Type + /// Passenger type /// + /// Passenger type [DataMember(Name="type", EmitDefaultValue=false)] public string Type { get; set; } /// - /// Gets or Sets Status + /// Passenger status /// + /// Passenger status [DataMember(Name="status", EmitDefaultValue=false)] public string Status { get; set; } /// - /// Gets or Sets Phone + /// Passenger phone number /// + /// Passenger phone number [DataMember(Name="phone", EmitDefaultValue=false)] public string Phone { get; set; } /// - /// Gets or Sets FirstName + /// Passenger first name /// + /// Passenger first name [DataMember(Name="firstName", EmitDefaultValue=false)] public string FirstName { get; set; } /// - /// Gets or Sets LastName + /// Passenger last name /// + /// Passenger last name [DataMember(Name="lastName", EmitDefaultValue=false)] public string LastName { get; set; } /// - /// Gets or Sets Id + /// Passenger ID /// + /// Passenger ID [DataMember(Name="id", EmitDefaultValue=false)] public string Id { get; set; } /// - /// Gets or Sets Email + /// Passenger email /// + /// Passenger email [DataMember(Name="email", EmitDefaultValue=false)] public string Email { get; set; } /// - /// Gets or Sets Nationality + /// Passenger nationality /// + /// Passenger nationality [DataMember(Name="nationality", EmitDefaultValue=false)] public string Nationality { get; set; } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.cs index 42bb1cda..424e5e36 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.cs @@ -33,13 +33,13 @@ public partial class Upv1capturecontextsDataOrderInformationLineItemsTaxDetails /// /// Initializes a new instance of the class. /// - /// Type. - /// Amount. - /// Rate. - /// Code. - /// TaxId. - /// Applied. - /// ExemptionCode. + /// Type of tax. + /// Tax amount. + /// Tax rate. + /// Tax code. + /// Tax Identifier. + /// Indicates if tax applied. + /// Tax exemption code. public Upv1capturecontextsDataOrderInformationLineItemsTaxDetails(string Type = default(string), string Amount = default(string), string Rate = default(string), string Code = default(string), string TaxId = default(string), bool? Applied = default(bool?), string ExemptionCode = default(string)) { this.Type = Type; @@ -52,44 +52,51 @@ public partial class Upv1capturecontextsDataOrderInformationLineItemsTaxDetails } /// - /// Gets or Sets Type + /// Type of tax /// + /// Type of tax [DataMember(Name="type", EmitDefaultValue=false)] public string Type { get; set; } /// - /// Gets or Sets Amount + /// Tax amount /// + /// Tax amount [DataMember(Name="amount", EmitDefaultValue=false)] public string Amount { get; set; } /// - /// Gets or Sets Rate + /// Tax rate /// + /// Tax rate [DataMember(Name="rate", EmitDefaultValue=false)] public string Rate { get; set; } /// - /// Gets or Sets Code + /// Tax code /// + /// Tax code [DataMember(Name="code", EmitDefaultValue=false)] public string Code { get; set; } /// - /// Gets or Sets TaxId + /// Tax Identifier /// + /// Tax Identifier [DataMember(Name="taxId", EmitDefaultValue=false)] public string TaxId { get; set; } /// - /// Gets or Sets Applied + /// Indicates if tax applied /// + /// Indicates if tax applied [DataMember(Name="applied", EmitDefaultValue=false)] public bool? Applied { get; set; } /// - /// Gets or Sets ExemptionCode + /// Tax exemption code /// + /// Tax exemption code [DataMember(Name="exemptionCode", EmitDefaultValue=false)] public string ExemptionCode { get; set; } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataPaymentInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataPaymentInformation.cs new file mode 100644 index 00000000..5adb530e --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataPaymentInformation.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 +{ + /// + /// Upv1capturecontextsDataPaymentInformation + /// + [DataContract] + public partial class Upv1capturecontextsDataPaymentInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Card. + public Upv1capturecontextsDataPaymentInformation(Upv1capturecontextsDataPaymentInformationCard Card = default(Upv1capturecontextsDataPaymentInformationCard)) + { + this.Card = Card; + } + + /// + /// Gets or Sets Card + /// + [DataMember(Name="card", EmitDefaultValue=false)] + public Upv1capturecontextsDataPaymentInformationCard 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 Upv1capturecontextsDataPaymentInformation {\n"); + if (Card != null) 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 Upv1capturecontextsDataPaymentInformation); + } + + /// + /// Returns true if Upv1capturecontextsDataPaymentInformation instances are equal + /// + /// Instance of Upv1capturecontextsDataPaymentInformation to be compared + /// Boolean + public bool Equals(Upv1capturecontextsDataPaymentInformation 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/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataPaymentInformationCard.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataPaymentInformationCard.cs new file mode 100644 index 00000000..5ad2acc8 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataPaymentInformationCard.cs @@ -0,0 +1,129 @@ +/* + * 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 +{ + /// + /// Upv1capturecontextsDataPaymentInformationCard + /// + [DataContract] + public partial class Upv1capturecontextsDataPaymentInformationCard : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The card type selection indicator. + public Upv1capturecontextsDataPaymentInformationCard(string TypeSelectionIndicator = default(string)) + { + this.TypeSelectionIndicator = TypeSelectionIndicator; + } + + /// + /// The card type selection indicator + /// + /// The card type selection indicator + [DataMember(Name="typeSelectionIndicator", EmitDefaultValue=false)] + public string TypeSelectionIndicator { 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 Upv1capturecontextsDataPaymentInformationCard {\n"); + if (TypeSelectionIndicator != null) sb.Append(" TypeSelectionIndicator: ").Append(TypeSelectionIndicator).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 Upv1capturecontextsDataPaymentInformationCard); + } + + /// + /// Returns true if Upv1capturecontextsDataPaymentInformationCard instances are equal + /// + /// Instance of Upv1capturecontextsDataPaymentInformationCard to be compared + /// Boolean + public bool Equals(Upv1capturecontextsDataPaymentInformationCard other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.TypeSelectionIndicator == other.TypeSelectionIndicator || + this.TypeSelectionIndicator != null && + this.TypeSelectionIndicator.Equals(other.TypeSelectionIndicator) + ); + } + + /// + /// 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.TypeSelectionIndicator != null) + hash = hash * 59 + this.TypeSelectionIndicator.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-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformation.cs index 73ea1688..99db23e0 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformation.cs @@ -33,7 +33,7 @@ public partial class Upv1capturecontextsDataProcessingInformation : IEquatable< /// /// Initializes a new instance of the class. /// - /// ReconciliationId. + /// The reconciliation ID. /// AuthorizationOptions. public Upv1capturecontextsDataProcessingInformation(string ReconciliationId = default(string), Upv1capturecontextsDataProcessingInformationAuthorizationOptions AuthorizationOptions = default(Upv1capturecontextsDataProcessingInformationAuthorizationOptions)) { @@ -42,8 +42,9 @@ public partial class Upv1capturecontextsDataProcessingInformation : IEquatable< } /// - /// Gets or Sets ReconciliationId + /// The reconciliation ID /// + /// The reconciliation ID [DataMember(Name="reconciliationId", EmitDefaultValue=false)] public string ReconciliationId { get; set; } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.cs index 2fb7caad..21dbe969 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.cs @@ -33,22 +33,54 @@ public partial class Upv1capturecontextsDataProcessingInformationAuthorizationOp /// /// Initializes a new instance of the class. /// - /// AftIndicator. + /// The AFT indicator. + /// The authorization indicator. + /// Ignore the CV result. + /// Ignore the AVS result. /// Initiator. - /// BusinessApplicationId. - public Upv1capturecontextsDataProcessingInformationAuthorizationOptions(bool? AftIndicator = default(bool?), Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator Initiator = default(Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator), string BusinessApplicationId = default(string)) + /// The business application Id. + /// The commerce indicator. + /// The processing instruction. + public Upv1capturecontextsDataProcessingInformationAuthorizationOptions(bool? AftIndicator = default(bool?), string AuthIndicator = default(string), bool? IgnoreCvResult = default(bool?), bool? IgnoreAvsResult = default(bool?), Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator Initiator = default(Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator), string BusinessApplicationId = default(string), string CommerceIndicator = default(string), string ProcessingInstruction = default(string)) { this.AftIndicator = AftIndicator; + this.AuthIndicator = AuthIndicator; + this.IgnoreCvResult = IgnoreCvResult; + this.IgnoreAvsResult = IgnoreAvsResult; this.Initiator = Initiator; this.BusinessApplicationId = BusinessApplicationId; + this.CommerceIndicator = CommerceIndicator; + this.ProcessingInstruction = ProcessingInstruction; } /// - /// Gets or Sets AftIndicator + /// The AFT indicator /// + /// The AFT indicator [DataMember(Name="aftIndicator", EmitDefaultValue=false)] public bool? AftIndicator { get; set; } + /// + /// The authorization indicator + /// + /// The authorization indicator + [DataMember(Name="authIndicator", EmitDefaultValue=false)] + public string AuthIndicator { get; set; } + + /// + /// Ignore the CV result + /// + /// Ignore the CV result + [DataMember(Name="ignoreCvResult", EmitDefaultValue=false)] + public bool? IgnoreCvResult { get; set; } + + /// + /// Ignore the AVS result + /// + /// Ignore the AVS result + [DataMember(Name="ignoreAvsResult", EmitDefaultValue=false)] + public bool? IgnoreAvsResult { get; set; } + /// /// Gets or Sets Initiator /// @@ -56,11 +88,26 @@ public partial class Upv1capturecontextsDataProcessingInformationAuthorizationOp public Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator Initiator { get; set; } /// - /// Gets or Sets BusinessApplicationId + /// The business application Id /// + /// The business application Id [DataMember(Name="businessApplicationId", EmitDefaultValue=false)] public string BusinessApplicationId { get; set; } + /// + /// The commerce indicator + /// + /// The commerce indicator + [DataMember(Name="commerceIndicator", EmitDefaultValue=false)] + public string CommerceIndicator { get; set; } + + /// + /// The processing instruction + /// + /// The processing instruction + [DataMember(Name="processingInstruction", EmitDefaultValue=false)] + public string ProcessingInstruction { get; set; } + /// /// Returns the string presentation of the object /// @@ -70,8 +117,13 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class Upv1capturecontextsDataProcessingInformationAuthorizationOptions {\n"); if (AftIndicator != null) sb.Append(" AftIndicator: ").Append(AftIndicator).Append("\n"); + if (AuthIndicator != null) sb.Append(" AuthIndicator: ").Append(AuthIndicator).Append("\n"); + if (IgnoreCvResult != null) sb.Append(" IgnoreCvResult: ").Append(IgnoreCvResult).Append("\n"); + if (IgnoreAvsResult != null) sb.Append(" IgnoreAvsResult: ").Append(IgnoreAvsResult).Append("\n"); if (Initiator != null) sb.Append(" Initiator: ").Append(Initiator).Append("\n"); if (BusinessApplicationId != null) sb.Append(" BusinessApplicationId: ").Append(BusinessApplicationId).Append("\n"); + if (CommerceIndicator != null) sb.Append(" CommerceIndicator: ").Append(CommerceIndicator).Append("\n"); + if (ProcessingInstruction != null) sb.Append(" ProcessingInstruction: ").Append(ProcessingInstruction).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -113,6 +165,21 @@ public bool Equals(Upv1capturecontextsDataProcessingInformationAuthorizationOpti this.AftIndicator != null && this.AftIndicator.Equals(other.AftIndicator) ) && + ( + this.AuthIndicator == other.AuthIndicator || + this.AuthIndicator != null && + this.AuthIndicator.Equals(other.AuthIndicator) + ) && + ( + this.IgnoreCvResult == other.IgnoreCvResult || + this.IgnoreCvResult != null && + this.IgnoreCvResult.Equals(other.IgnoreCvResult) + ) && + ( + this.IgnoreAvsResult == other.IgnoreAvsResult || + this.IgnoreAvsResult != null && + this.IgnoreAvsResult.Equals(other.IgnoreAvsResult) + ) && ( this.Initiator == other.Initiator || this.Initiator != null && @@ -122,6 +189,16 @@ public bool Equals(Upv1capturecontextsDataProcessingInformationAuthorizationOpti this.BusinessApplicationId == other.BusinessApplicationId || this.BusinessApplicationId != null && this.BusinessApplicationId.Equals(other.BusinessApplicationId) + ) && + ( + this.CommerceIndicator == other.CommerceIndicator || + this.CommerceIndicator != null && + this.CommerceIndicator.Equals(other.CommerceIndicator) + ) && + ( + this.ProcessingInstruction == other.ProcessingInstruction || + this.ProcessingInstruction != null && + this.ProcessingInstruction.Equals(other.ProcessingInstruction) ); } @@ -138,10 +215,20 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (this.AftIndicator != null) hash = hash * 59 + this.AftIndicator.GetHashCode(); + if (this.AuthIndicator != null) + hash = hash * 59 + this.AuthIndicator.GetHashCode(); + if (this.IgnoreCvResult != null) + hash = hash * 59 + this.IgnoreCvResult.GetHashCode(); + if (this.IgnoreAvsResult != null) + hash = hash * 59 + this.IgnoreAvsResult.GetHashCode(); if (this.Initiator != null) hash = hash * 59 + this.Initiator.GetHashCode(); if (this.BusinessApplicationId != null) hash = hash * 59 + this.BusinessApplicationId.GetHashCode(); + if (this.CommerceIndicator != null) + hash = hash * 59 + this.CommerceIndicator.GetHashCode(); + if (this.ProcessingInstruction != null) + hash = hash * 59 + this.ProcessingInstruction.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.cs index 519b35cf..bc1ad781 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.cs @@ -33,7 +33,7 @@ public partial class Upv1capturecontextsDataProcessingInformationAuthorizationOp /// /// Initializes a new instance of the class. /// - /// CredentialStoredOnFile. + /// Store the credential on file. /// MerchantInitiatedTransaction. public Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator(bool? CredentialStoredOnFile = default(bool?), Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction MerchantInitiatedTransaction = default(Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction)) { @@ -42,8 +42,9 @@ public partial class Upv1capturecontextsDataProcessingInformationAuthorizationOp } /// - /// Gets or Sets CredentialStoredOnFile + /// Store the credential on file /// + /// Store the credential on file [DataMember(Name="credentialStoredOnFile", EmitDefaultValue=false)] public bool? CredentialStoredOnFile { get; set; } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataRecipientInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataRecipientInformation.cs index f358c91e..585b1265 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataRecipientInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsDataRecipientInformation.cs @@ -40,7 +40,9 @@ public partial class Upv1capturecontextsDataRecipientInformation : IEquatableThe account ID of the recipient. /// The administrative area of the recipient. /// The account type of the recipient. - public Upv1capturecontextsDataRecipientInformation(string FirstName = default(string), string MiddleName = default(string), string LastName = default(string), string Country = default(string), string AccountId = default(string), string AdministrativeArea = default(string), string AccountType = default(string)) + /// The date of birth of the recipient. + /// The postal code of the recipient. + public Upv1capturecontextsDataRecipientInformation(string FirstName = default(string), string MiddleName = default(string), string LastName = default(string), string Country = default(string), string AccountId = default(string), string AdministrativeArea = default(string), string AccountType = default(string), string DateOfBirth = default(string), string PostalCode = default(string)) { this.FirstName = FirstName; this.MiddleName = MiddleName; @@ -49,6 +51,8 @@ public partial class Upv1capturecontextsDataRecipientInformation : IEquatable @@ -97,6 +101,20 @@ public partial class Upv1capturecontextsDataRecipientInformation : IEquatable + /// The date of birth of the recipient + /// + /// The date of birth of the recipient + [DataMember(Name="dateOfBirth", EmitDefaultValue=false)] + public string DateOfBirth { get; set; } + + /// + /// The postal code of the recipient + /// + /// The postal code of the recipient + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + /// /// Returns the string presentation of the object /// @@ -112,6 +130,8 @@ public override string ToString() if (AccountId != null) sb.Append(" AccountId: ").Append(AccountId).Append("\n"); if (AdministrativeArea != null) sb.Append(" AdministrativeArea: ").Append(AdministrativeArea).Append("\n"); if (AccountType != null) sb.Append(" AccountType: ").Append(AccountType).Append("\n"); + if (DateOfBirth != null) sb.Append(" DateOfBirth: ").Append(DateOfBirth).Append("\n"); + if (PostalCode != null) sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -182,6 +202,16 @@ public bool Equals(Upv1capturecontextsDataRecipientInformation other) this.AccountType == other.AccountType || this.AccountType != null && this.AccountType.Equals(other.AccountType) + ) && + ( + this.DateOfBirth == other.DateOfBirth || + this.DateOfBirth != null && + this.DateOfBirth.Equals(other.DateOfBirth) + ) && + ( + this.PostalCode == other.PostalCode || + this.PostalCode != null && + this.PostalCode.Equals(other.PostalCode) ); } @@ -210,6 +240,10 @@ public override int GetHashCode() hash = hash * 59 + this.AdministrativeArea.GetHashCode(); if (this.AccountType != null) hash = hash * 59 + this.AccountType.GetHashCode(); + if (this.DateOfBirth != null) + hash = hash * 59 + this.DateOfBirth.GetHashCode(); + if (this.PostalCode != null) + hash = hash * 59 + this.PostalCode.GetHashCode(); return hash; } } diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsOrderInformation.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsOrderInformation.cs index 54216416..9df493b4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsOrderInformation.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Model/Upv1capturecontextsOrderInformation.cs @@ -25,7 +25,7 @@ namespace CyberSource.Model { /// - /// Upv1capturecontextsOrderInformation + /// If you need to include any fields within the data object, you must use the orderInformation object that is nested inside the data object. This ensures proper structure and compliance with the Unified Checkout schema. This top-level orderInformation field is not intended for use when working with the data object. /// [DataContract] public partial class Upv1capturecontextsOrderInformation : IEquatable, IValidatableObject diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/BankAccountValidationApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/BankAccountValidationApi.md index c53476d3..2161135b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/BankAccountValidationApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/BankAccountValidationApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **BankAccountValidationRequest** -> InlineResponse20013 BankAccountValidationRequest (AccountValidationsRequest accountValidationsRequest) +> InlineResponse20014 BankAccountValidationRequest (AccountValidationsRequest accountValidationsRequest) Visa Bank Account Validation Service @@ -35,7 +35,7 @@ namespace Example try { // Visa Bank Account Validation Service - InlineResponse20013 result = apiInstance.BankAccountValidationRequest(accountValidationsRequest); + InlineResponse20014 result = apiInstance.BankAccountValidationRequest(accountValidationsRequest); Debug.WriteLine(result); } catch (Exception e) @@ -55,7 +55,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20013**](InlineResponse20013.md) +[**InlineResponse20014**](InlineResponse20014.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/BatchesApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/BatchesApi.md index e0c1223f..3b0a0653 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/BatchesApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/BatchesApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **GetBatchReport** -> InlineResponse20012 GetBatchReport (string batchId) +> InlineResponse20013 GetBatchReport (string batchId) Retrieve a Batch Report @@ -38,7 +38,7 @@ namespace Example try { // Retrieve a Batch Report - InlineResponse20012 result = apiInstance.GetBatchReport(batchId); + InlineResponse20013 result = apiInstance.GetBatchReport(batchId); Debug.WriteLine(result); } catch (Exception e) @@ -58,7 +58,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20012**](InlineResponse20012.md) +[**InlineResponse20013**](InlineResponse20013.md) ### Authorization @@ -73,7 +73,7 @@ No authorization required # **GetBatchStatus** -> InlineResponse20011 GetBatchStatus (string batchId) +> InlineResponse20012 GetBatchStatus (string batchId) Retrieve a Batch Status @@ -99,7 +99,7 @@ namespace Example try { // Retrieve a Batch Status - InlineResponse20011 result = apiInstance.GetBatchStatus(batchId); + InlineResponse20012 result = apiInstance.GetBatchStatus(batchId); Debug.WriteLine(result); } catch (Exception e) @@ -119,7 +119,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20011**](InlineResponse20011.md) +[**InlineResponse20012**](InlineResponse20012.md) ### Authorization @@ -134,7 +134,7 @@ No authorization required # **GetBatchesList** -> InlineResponse20010 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) +> InlineResponse20011 GetBatchesList (long? offset = null, long? limit = null, string fromDate = null, string toDate = null) List Batches @@ -163,7 +163,7 @@ namespace Example try { // List Batches - InlineResponse20010 result = apiInstance.GetBatchesList(offset, limit, fromDate, toDate); + InlineResponse20011 result = apiInstance.GetBatchesList(offset, limit, fromDate, toDate); Debug.WriteLine(result); } catch (Exception e) @@ -186,7 +186,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20010**](InlineResponse20010.md) +[**InlineResponse20011**](InlineResponse20011.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateNewWebhooksApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateNewWebhooksApi.md index 662dbc96..e71832ba 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateNewWebhooksApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateNewWebhooksApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **FindProductsToSubscribe** -> List FindProductsToSubscribe (string organizationId) +> List FindProductsToSubscribe (string organizationId) Find Products You Can Subscribe To @@ -37,7 +37,7 @@ namespace Example try { // Find Products You Can Subscribe To - List<InlineResponse2004> result = apiInstance.FindProductsToSubscribe(organizationId); + List<InlineResponse2005> result = apiInstance.FindProductsToSubscribe(organizationId); Debug.WriteLine(result); } catch (Exception e) @@ -57,7 +57,7 @@ Name | Type | Description | Notes ### Return type -[**List**](InlineResponse2004.md) +[**List**](InlineResponse2005.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreatePlanRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreatePlanRequest.md index 3a12b7b1..471312cf 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreatePlanRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreatePlanRequest.md @@ -3,7 +3,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientReferenceInformation** | [**Rbsv1plansClientReferenceInformation**](Rbsv1plansClientReferenceInformation.md) | | [optional] **PlanInformation** | [**Rbsv1plansPlanInformation**](Rbsv1plansPlanInformation.md) | | [optional] **OrderInformation** | [**Rbsv1plansOrderInformation**](Rbsv1plansOrderInformation.md) | | [optional] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionRequest.md index 8295d2c3..58a42798 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionRequest.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientReferenceInformation** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**ClientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **ProcessingInformation** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **PlanInformation** | [**Rbsv1subscriptionsPlanInformation**](Rbsv1subscriptionsPlanInformation.md) | | [optional] **SubscriptionInformation** | [**Rbsv1subscriptionsSubscriptionInformation**](Rbsv1subscriptionsSubscriptionInformation.md) | | [optional] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionRequest1.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionRequest1.md index 7a4187e7..52bbacfe 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionRequest1.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionRequest1.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientReferenceInformation** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**ClientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **ProcessingInformation** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **PlanInformation** | [**Rbsv1subscriptionsPlanInformation**](Rbsv1subscriptionsPlanInformation.md) | | [optional] **SubscriptionInformation** | [**Rbsv1subscriptionsSubscriptionInformation**](Rbsv1subscriptionsSubscriptionInformation.md) | | [optional] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionResponse.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionResponse.md index c70d95da..7e39e996 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionResponse.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/CreateSubscriptionResponse.md @@ -8,6 +8,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: - COMPLETED - PENDING_REVIEW - DECLINED - INVALID_REQUEST | [optional] **SubscriptionInformation** | [**CreateSubscriptionResponseSubscriptionInformation**](CreateSubscriptionResponseSubscriptionInformation.md) | | [optional] +**ClientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DecisionManagerApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DecisionManagerApi.md index 9caa62b5..650717d4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DecisionManagerApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DecisionManagerApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **ActionDecisionManagerCase** -> InlineResponse2001 ActionDecisionManagerCase (string id, CaseManagementActionsRequest caseManagementActionsRequest) +> InlineResponse2002 ActionDecisionManagerCase (string id, CaseManagementActionsRequest caseManagementActionsRequest) Take action on a DM post-transactional case @@ -40,7 +40,7 @@ namespace Example try { // Take action on a DM post-transactional case - InlineResponse2001 result = apiInstance.ActionDecisionManagerCase(id, caseManagementActionsRequest); + InlineResponse2002 result = apiInstance.ActionDecisionManagerCase(id, caseManagementActionsRequest); Debug.WriteLine(result); } catch (Exception e) @@ -61,7 +61,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2001**](InlineResponse2001.md) +[**InlineResponse2002**](InlineResponse2002.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DeviceDeAssociationApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DeviceDeAssociationApi.md index 9f98174c..454bc57f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DeviceDeAssociationApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DeviceDeAssociationApi.md @@ -70,7 +70,7 @@ No authorization required # **PostDeAssociateV3Terminal** -> List PostDeAssociateV3Terminal (List deviceDeAssociateV3Request) +> List PostDeAssociateV3Terminal (List deviceDeAssociateV3Request) De-associate a device from merchant to account or reseller and from account to reseller @@ -96,7 +96,7 @@ namespace Example try { // De-associate a device from merchant to account or reseller and from account to reseller - List<InlineResponse2008> result = apiInstance.PostDeAssociateV3Terminal(deviceDeAssociateV3Request); + List<InlineResponse2009> result = apiInstance.PostDeAssociateV3Terminal(deviceDeAssociateV3Request); Debug.WriteLine(result); } catch (Exception e) @@ -116,7 +116,7 @@ Name | Type | Description | Notes ### Return type -[**List**](InlineResponse2008.md) +[**List**](InlineResponse2009.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DeviceSearchApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DeviceSearchApi.md index dbc4b662..d7237d58 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DeviceSearchApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/DeviceSearchApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **PostSearchQuery** -> InlineResponse2007 PostSearchQuery (PostDeviceSearchRequest postDeviceSearchRequest) +> InlineResponse2008 PostSearchQuery (PostDeviceSearchRequest postDeviceSearchRequest) Retrieve List of Devices for a given search query V2 @@ -36,7 +36,7 @@ namespace Example try { // Retrieve List of Devices for a given search query V2 - InlineResponse2007 result = apiInstance.PostSearchQuery(postDeviceSearchRequest); + InlineResponse2008 result = apiInstance.PostSearchQuery(postDeviceSearchRequest); Debug.WriteLine(result); } catch (Exception e) @@ -56,7 +56,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2007**](InlineResponse2007.md) +[**InlineResponse2008**](InlineResponse2008.md) ### Authorization @@ -71,7 +71,7 @@ No authorization required # **PostSearchQueryV3** -> InlineResponse2009 PostSearchQueryV3 (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) +> InlineResponse20010 PostSearchQueryV3 (PostDeviceSearchRequestV3 postDeviceSearchRequestV3) Retrieve List of Devices for a given search query @@ -97,7 +97,7 @@ namespace Example try { // Retrieve List of Devices for a given search query - InlineResponse2009 result = apiInstance.PostSearchQueryV3(postDeviceSearchRequestV3); + InlineResponse20010 result = apiInstance.PostSearchQueryV3(postDeviceSearchRequestV3); Debug.WriteLine(result); } catch (Exception e) @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2009**](InlineResponse2009.md) +[**InlineResponse20010**](InlineResponse20010.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GenerateUnifiedCheckoutCaptureContextRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GenerateUnifiedCheckoutCaptureContextRequest.md index 197e4daf..099190ed 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GenerateUnifiedCheckoutCaptureContextRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GenerateUnifiedCheckoutCaptureContextRequest.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes **ClientVersion** | **string** | Specify the version of Unified Checkout that you want to use. | [optional] **TargetOrigins** | **List<string>** | The [target origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the website on which you will be launching Unified Checkout is defined by the scheme (protocol), hostname (domain) and port number (if used). You must use https://hostname (unless you use http://localhost) Wildcards are NOT supported. Ensure that subdomains are included. Any valid top-level domain is supported (e.g. .com, .co.uk, .gov.br etc) Examples: - https://example.com - https://subdomain.example.com - https://example.com:8080<br><br> If you are embedding within multiple nested iframes you need to specify the origins of all the browser contexts used, for example: targetOrigins: [ \"https://example.com\", \"https://basket.example.com\", \"https://ecom.example.com\" ] | [optional] **AllowedCardNetworks** | **List<string>** | The list of card networks you want to use for this Unified Checkout transaction. Unified Checkout currently supports the following card networks: - VISA - MASTERCARD - AMEX - CARNET - CARTESBANCAIRES - CUP - DINERSCLUB - DISCOVER - EFTPOS - ELO - JAYWAN - JCB - JCREW - KCP - MADA - MAESTRO - MEEZA - PAYPAK - UATP | [optional] -**AllowedPaymentTypes** | **List<string>** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB) Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. | [optional] +**AllowedPaymentTypes** | **List<string>** | The payment types that are allowed for the merchant. Possible values when launching Unified Checkout: - APPLEPAY - CHECK - CLICKTOPAY - GOOGLEPAY - PANENTRY - PAZE <br><br> Unified Checkout supports the following Buy Now, Pay Later (BNPL) payment methods: - AFTERPAY<br><br> Unified Checkout supports the following Online Bank Transfer payment methods: - Bancontact (BE) - DragonPay (PH) - iDEAL (NL) - Multibanco (PT) - MyBank (IT, BE, PT, ES) - Przelewy24|P24 (PL) - Tink Pay By Bank (GB)<br><br> Unified Checkout supports the following Post-Pay Reference payment methods: - Konbini (JP)<br><br> Possible values when launching Click To Pay Drop-In UI: - CLICKTOPAY <br><br> **Important:** - CLICKTOPAY only available for Visa, Mastercard and AMEX for saved cards. - Visa and Mastercard will look to tokenize using network tokenization for all Click to Pay requests. Click to Pay uses Click to Pay token requester IDs and not the merchant's existing token requester. - Apple Pay, Google Pay, Check, and Paze can be used independently without requiring PAN entry in the allowedPaymentTypes field.<br><br> **Managing Google Pay Authentication Types** When you enable Google Pay on Unified Checkout you can specify optional parameters that define the types of card authentication you receive from Google Pay.<br><br> **Managing Google Pay Authentication Types** Where Click to Pay is the payment type selected by the customer and the customer manually enters their card, the option to enroll their card in Click to Pay will be auto-checked if this field is set to \"true\". This is only available where the merchant and cardholder are based in the following countries and the billing type is set to \"FULL\" or \"PARTIAL\". - UAE - Argentina - Brazil - Chile - Colombia - Kuwait - Mexico - Peru - Qatar - Saudi Arabia - Ukraine - South Africa<br><br> If false, this is not present or not supported in the market. Enrollment in Click to Pay is not checked for the customer when completing manual card entry. | [optional] **Country** | **string** | Country the purchase is originating from (e.g. country of the merchant). Use the two-character ISO Standard | [optional] **Locale** | **string** | Localization of the User experience conforming to the ISO 639-1 language standards and two-character ISO Standard Country Code. Please refer to list of [supported locales through Unified Checkout](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-appendix-languages.html) | [optional] +**ButtonType** | **string** | Changes the label on the payment button within Unified Checkout .<br><br> Possible values: - ADD_CARD - CARD_PAYMENT - CHECKOUT - CHECKOUT_AND_CONTINUE - DEBIT_CREDIT - DONATE - PAY - PAY_WITH_CARD - SAVE_CARD - SUBSCRIBE_WITH_CARD<br><br> This is an optional field, | [optional] **CaptureMandate** | [**Upv1capturecontextsCaptureMandate**](Upv1capturecontextsCaptureMandate.md) | | [optional] **CompleteMandate** | [**Upv1capturecontextsCompleteMandate**](Upv1capturecontextsCompleteMandate.md) | | [optional] **TransientTokenResponseOptions** | [**Microformv2sessionsTransientTokenResponseOptions**](Microformv2sessionsTransientTokenResponseOptions.md) | | [optional] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetAllSubscriptionsResponseClientReferenceInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetAllSubscriptionsResponseClientReferenceInformation.md new file mode 100644 index 00000000..bfb5bd63 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetAllSubscriptionsResponseClientReferenceInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.GetAllSubscriptionsResponseClientReferenceInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetAllSubscriptionsResponseSubscriptions.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetAllSubscriptionsResponseSubscriptions.md index 83c6d4d3..19fba2ff 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetAllSubscriptionsResponseSubscriptions.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetAllSubscriptionsResponseSubscriptions.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **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] **PlanInformation** | [**GetAllSubscriptionsResponsePlanInformation**](GetAllSubscriptionsResponsePlanInformation.md) | | [optional] **SubscriptionInformation** | [**GetAllSubscriptionsResponseSubscriptionInformation**](GetAllSubscriptionsResponseSubscriptionInformation.md) | | [optional] +**ClientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **PaymentInformation** | [**GetAllSubscriptionsResponsePaymentInformation**](GetAllSubscriptionsResponsePaymentInformation.md) | | [optional] **OrderInformation** | [**GetAllSubscriptionsResponseOrderInformation**](GetAllSubscriptionsResponseOrderInformation.md) | | [optional] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse.md index b4b7953c..f6651c95 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **SubscriptionInformation** | [**GetAllSubscriptionsResponseSubscriptionInformation**](GetAllSubscriptionsResponseSubscriptionInformation.md) | | [optional] **PaymentInformation** | [**GetAllSubscriptionsResponsePaymentInformation**](GetAllSubscriptionsResponsePaymentInformation.md) | | [optional] **OrderInformation** | [**GetAllSubscriptionsResponseOrderInformation**](GetAllSubscriptionsResponseOrderInformation.md) | | [optional] +**ClientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **ReactivationInformation** | [**GetSubscriptionResponseReactivationInformation**](GetSubscriptionResponseReactivationInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1PaymentInstrument.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1PaymentInstrument.md index 56bf514c..f3162844 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1PaymentInstrument.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1PaymentInstrument.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Id** | **string** | The Id of the Payment Instrument Token. | [optional] **BankAccount** | [**GetSubscriptionResponse1PaymentInstrumentBankAccount**](GetSubscriptionResponse1PaymentInstrumentBankAccount.md) | | [optional] **Card** | [**GetSubscriptionResponse1PaymentInstrumentCard**](GetSubscriptionResponse1PaymentInstrumentCard.md) | | [optional] -**BillTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**BillTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **BuyerInformation** | [**GetSubscriptionResponse1PaymentInstrumentBuyerInformation**](GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md index d64e5b4a..bcb168e7 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1PaymentInstrumentBuyerInformation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **CompanyTaxID** | **string** | Company's tax identifier. This is only used for eCheck service. | [optional] **Currency** | **string** | Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). | [optional] **DateOfBirth** | **DateTime?** | Date of birth of the customer. Format: YYYY-MM-DD | [optional] -**PersonalIdentification** | [**List<Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] +**PersonalIdentification** | [**List<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1ShippingAddress.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1ShippingAddress.md index e70b21be..822454d9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1ShippingAddress.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponse1ShippingAddress.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **string** | The Id of the Shipping Address Token. | [optional] -**ShipTo** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**ShipTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponseReactivationInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponseReactivationInformation.md index 6f0eebe1..474af8ff 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponseReactivationInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/GetSubscriptionResponseReactivationInformation.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**SkippedPaymentsCount** | **string** | Number of payments that should have occurred while the subscription was in a suspended status. | [optional] -**SkippedPaymentsTotalAmount** | **string** | Total amount that will be charged upon reactivation if `processSkippedPayments` is set to `true`. | [optional] +**MissedPaymentsCount** | **string** | Number of payments that should have occurred while the subscription was in a suspended status. | [optional] +**MissedPaymentsTotalAmount** | **string** | Total amount that will be charged upon reactivation if `processMissedPayments` is set to `true`. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200.md index 4083bca1..bf3ffa3d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200.md @@ -3,10 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | Unique identifier for the Card Art Asset. | [optional] -**Type** | **string** | The type of Card Art Asset. | [optional] -**Provider** | **string** | The provider of the Card Art Asset. | [optional] -**Content** | [**List<InlineResponse200Content>**](InlineResponse200Content.md) | Array of content objects representing the Card Art Asset. | [optional] +**Responses** | [**List<InlineResponse200Responses>**](InlineResponse200Responses.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001.md index 40e29685..1aab4a18 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001.md @@ -3,10 +3,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | UUID uniquely generated for this comments. | [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 are: - `ACCEPTED` - `REJECTED` | [optional] -**Embedded** | [**InlineResponse2001Embedded**](InlineResponse2001Embedded.md) | | [optional] +**Id** | **string** | Unique identifier for the Card Art Asset. | [optional] +**Type** | **string** | The type of Card Art Asset. | [optional] +**Provider** | **string** | The provider of the Card Art Asset. | [optional] +**Content** | [**List<InlineResponse2001Content>**](InlineResponse2001Content.md) | Array of content objects representing the Card Art Asset. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010.md index 917bcac1..dfda67b5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010.md @@ -3,13 +3,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**List<InlineResponse20010Links>**](InlineResponse20010Links.md) | | [optional] -**Object** | **string** | | [optional] -**Offset** | **int?** | | [optional] -**Limit** | **int?** | | [optional] -**Count** | **int?** | | [optional] -**Total** | **int?** | | [optional] -**Embedded** | [**InlineResponse20010Embedded**](InlineResponse20010Embedded.md) | | [optional] +**TotalCount** | **int?** | Total number of results. | [optional] +**Offset** | **int?** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] +**Limit** | **int?** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] +**Sort** | **string** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional] +**Count** | **int?** | Results for this page, this could be below the limit. | [optional] +**Devices** | [**List<InlineResponse20010Devices>**](InlineResponse20010Devices.md) | A collection of devices | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009Devices.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Devices.md similarity index 84% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009Devices.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Devices.md index bae385a8..f5c17d75 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009Devices.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Devices.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2009Devices +# CyberSource.Model.InlineResponse20010Devices ## Properties Name | Type | Description | Notes @@ -14,7 +14,7 @@ Name | Type | Description | Notes **AccountId** | **string** | ID of the account to whom the device assigned. | [optional] **TerminalCreationDate** | **DateTime?** | Timestamp in which the device was created. | [optional] **TerminalUpdationDate** | **DateTime?** | Timestamp in which the device was updated/modified. | [optional] -**PaymentProcessorToTerminalMap** | [**InlineResponse2009PaymentProcessorToTerminalMap**](InlineResponse2009PaymentProcessorToTerminalMap.md) | | [optional] +**PaymentProcessorToTerminalMap** | [**InlineResponse20010PaymentProcessorToTerminalMap**](InlineResponse20010PaymentProcessorToTerminalMap.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009PaymentProcessorToTerminalMap.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010PaymentProcessorToTerminalMap.md similarity index 84% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009PaymentProcessorToTerminalMap.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010PaymentProcessorToTerminalMap.md index 7655e5ed..e3007674 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009PaymentProcessorToTerminalMap.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010PaymentProcessorToTerminalMap.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2009PaymentProcessorToTerminalMap +# CyberSource.Model.InlineResponse20010PaymentProcessorToTerminalMap ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011.md index b372702b..1690057f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011.md @@ -3,16 +3,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**InlineResponse20011Links**](InlineResponse20011Links.md) | | [optional] -**BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] -**BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] -**BatchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] -**MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] -**BatchCaEndpoints** | **string** | | [optional] -**Status** | **string** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] -**Totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] -**Billing** | [**InlineResponse20011Billing**](InlineResponse20011Billing.md) | | [optional] -**Description** | **string** | | [optional] +**Links** | [**List<InlineResponse20011Links>**](InlineResponse20011Links.md) | | [optional] +**Object** | **string** | | [optional] +**Offset** | **int?** | | [optional] +**Limit** | **int?** | | [optional] +**Count** | **int?** | | [optional] +**Total** | **int?** | | [optional] +**Embedded** | [**InlineResponse20011Embedded**](InlineResponse20011Embedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Embedded.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Embedded.md similarity index 61% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Embedded.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Embedded.md index 7143d6b7..cadabb5c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Embedded.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Embedded.md @@ -1,9 +1,9 @@ -# CyberSource.Model.InlineResponse20010Embedded +# CyberSource.Model.InlineResponse20011Embedded ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Batches** | [**List<InlineResponse20010EmbeddedBatches>**](InlineResponse20010EmbeddedBatches.md) | | [optional] +**Batches** | [**List<InlineResponse20011EmbeddedBatches>**](InlineResponse20011EmbeddedBatches.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedBatches.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedBatches.md similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedBatches.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedBatches.md index e6146e20..7a822a5f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedBatches.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedBatches.md @@ -1,9 +1,9 @@ -# CyberSource.Model.InlineResponse20010EmbeddedBatches +# CyberSource.Model.InlineResponse20011EmbeddedBatches ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**InlineResponse20010EmbeddedLinks**](InlineResponse20010EmbeddedLinks.md) | | [optional] +**Links** | [**InlineResponse20011EmbeddedLinks**](InlineResponse20011EmbeddedLinks.md) | | [optional] **BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] **BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] **BatchModifiedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] @@ -12,7 +12,7 @@ Name | Type | Description | Notes **MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] **BatchCaEndpoints** | **List<string>** | Valid Values: * VISA * MASTERCARD * AMEX | [optional] **Status** | **string** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETE | [optional] -**Totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] +**Totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedLinks.md similarity index 60% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedLinks.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedLinks.md index 6e01cd68..cf7a7cb8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedLinks.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedLinks.md @@ -1,9 +1,9 @@ -# CyberSource.Model.InlineResponse20010EmbeddedLinks +# CyberSource.Model.InlineResponse20011EmbeddedLinks ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Reports** | [**List<InlineResponse20010EmbeddedLinksReports>**](InlineResponse20010EmbeddedLinksReports.md) | | [optional] +**Reports** | [**List<InlineResponse20011EmbeddedLinksReports>**](InlineResponse20011EmbeddedLinksReports.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedLinksReports.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedLinksReports.md similarity index 83% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedLinksReports.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedLinksReports.md index 41071ff7..31e16331 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedLinksReports.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedLinksReports.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse20010EmbeddedLinksReports +# CyberSource.Model.InlineResponse20011EmbeddedLinksReports ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedTotals.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedTotals.md similarity index 90% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedTotals.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedTotals.md index b2709657..3bdeb036 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010EmbeddedTotals.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011EmbeddedTotals.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse20010EmbeddedTotals +# CyberSource.Model.InlineResponse20011EmbeddedTotals ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Links.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Links.md index 32301cf3..8d5c9208 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Links.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Links.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] -**Report** | [**List<InlineResponse20011LinksReport>**](InlineResponse20011LinksReport.md) | | [optional] +**Rel** | **string** | Valid Values: * self * first * last * prev * next | [optional] +**Href** | **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/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012.md index 8153887d..079c7e55 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012.md @@ -3,16 +3,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Version** | **string** | | [optional] -**ReportCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**Links** | [**InlineResponse20012Links**](InlineResponse20012Links.md) | | [optional] **BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] -**BatchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] -**BatchCaEndpoints** | **string** | | [optional] **BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**BatchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] **MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] -**Totals** | [**InlineResponse20010EmbeddedTotals**](InlineResponse20010EmbeddedTotals.md) | | [optional] -**Billing** | [**InlineResponse20011Billing**](InlineResponse20011Billing.md) | | [optional] -**Records** | [**List<InlineResponse20012Records>**](InlineResponse20012Records.md) | | [optional] +**BatchCaEndpoints** | **string** | | [optional] +**Status** | **string** | Valid Values: * REJECTED * RECEIVED * VALIDATED * DECLINED * PROCESSING * COMPLETED | [optional] +**Totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] +**Billing** | [**InlineResponse20012Billing**](InlineResponse20012Billing.md) | | [optional] +**Description** | **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/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Billing.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Billing.md similarity index 89% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Billing.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Billing.md index 7385d5ac..5cbdb99c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011Billing.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Billing.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse20011Billing +# CyberSource.Model.InlineResponse20012Billing ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Links.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Links.md new file mode 100644 index 00000000..a663e737 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Links.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse20012Links +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**InlineResponse202LinksStatus**](InlineResponse202LinksStatus.md) | | [optional] +**Report** | [**List<InlineResponse20012LinksReport>**](InlineResponse20012LinksReport.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011LinksReport.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012LinksReport.md similarity index 85% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011LinksReport.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012LinksReport.md index fd8a6bba..db00db9c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20011LinksReport.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012LinksReport.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse20011LinksReport +# CyberSource.Model.InlineResponse20012LinksReport ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013.md index edcd82ac..e0f83589 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013.md @@ -3,10 +3,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientReferenceInformation** | [**Bavsv1accountvalidationsClientReferenceInformation**](Bavsv1accountvalidationsClientReferenceInformation.md) | | [optional] -**RequestId** | **string** | Request Id sent as part of the request. | [optional] -**SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] -**BankAccountValidation** | [**TssV2TransactionsGet200ResponseBankAccountValidation**](TssV2TransactionsGet200ResponseBankAccountValidation.md) | | [optional] +**Version** | **string** | | [optional] +**ReportCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**BatchId** | **string** | Unique identification number assigned to the submitted request. | [optional] +**BatchSource** | **string** | Valid Values: * SCHEDULER * TOKEN_API * CREDIT_CARD_FILE_UPLOAD * AMEX_REGSITRY * AMEX_REGISTRY_API * AMEX_MAINTENANCE | [optional] +**BatchCaEndpoints** | **string** | | [optional] +**BatchCreatedDate** | **string** | ISO-8601 format: yyyy-MM-ddTHH:mm:ssZ | [optional] +**MerchantReference** | **string** | Reference used by merchant to identify batch. | [optional] +**Totals** | [**InlineResponse20011EmbeddedTotals**](InlineResponse20011EmbeddedTotals.md) | | [optional] +**Billing** | [**InlineResponse20012Billing**](InlineResponse20012Billing.md) | | [optional] +**Records** | [**List<InlineResponse20013Records>**](InlineResponse20013Records.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Records.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013Records.md similarity index 53% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Records.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013Records.md index 721960f3..8900f832 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012Records.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013Records.md @@ -1,11 +1,11 @@ -# CyberSource.Model.InlineResponse20012Records +# CyberSource.Model.InlineResponse20013Records ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **string** | | [optional] -**SourceRecord** | [**InlineResponse20012SourceRecord**](InlineResponse20012SourceRecord.md) | | [optional] -**ResponseRecord** | [**InlineResponse20012ResponseRecord**](InlineResponse20012ResponseRecord.md) | | [optional] +**SourceRecord** | [**InlineResponse20013SourceRecord**](InlineResponse20013SourceRecord.md) | | [optional] +**ResponseRecord** | [**InlineResponse20013ResponseRecord**](InlineResponse20013ResponseRecord.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012ResponseRecord.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013ResponseRecord.md similarity index 82% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012ResponseRecord.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013ResponseRecord.md index 628384a5..80514652 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012ResponseRecord.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013ResponseRecord.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse20012ResponseRecord +# CyberSource.Model.InlineResponse20013ResponseRecord ## Properties Name | Type | Description | Notes @@ -12,7 +12,7 @@ Name | Type | Description | Notes **CardExpiryMonth** | **string** | | [optional] **CardExpiryYear** | **string** | | [optional] **CardType** | **string** | | [optional] -**AdditionalUpdates** | [**List<InlineResponse20012ResponseRecordAdditionalUpdates>**](InlineResponse20012ResponseRecordAdditionalUpdates.md) | | [optional] +**AdditionalUpdates** | [**List<InlineResponse20013ResponseRecordAdditionalUpdates>**](InlineResponse20013ResponseRecordAdditionalUpdates.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013ResponseRecordAdditionalUpdates.md similarity index 89% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013ResponseRecordAdditionalUpdates.md index aab7ff03..b5616c58 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012ResponseRecordAdditionalUpdates.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013ResponseRecordAdditionalUpdates.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse20012ResponseRecordAdditionalUpdates +# CyberSource.Model.InlineResponse20013ResponseRecordAdditionalUpdates ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012SourceRecord.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013SourceRecord.md similarity index 92% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012SourceRecord.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013SourceRecord.md index cfee3016..83b38e64 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20012SourceRecord.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20013SourceRecord.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse20012SourceRecord +# CyberSource.Model.InlineResponse20013SourceRecord ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20014.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20014.md index 585fd958..19564d65 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20014.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20014.md @@ -3,12 +3,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientReferenceInformation** | [**InlineResponse20014ClientReferenceInformation**](InlineResponse20014ClientReferenceInformation.md) | | [optional] -**Id** | **string** | Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid | -**SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. | -**Status** | **string** | Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` | -**ErrorInformation** | [**InlineResponse2018ErrorInformation**](InlineResponse2018ErrorInformation.md) | | [optional] -**OrderInformation** | [**InlineResponse2018OrderInformation**](InlineResponse2018OrderInformation.md) | | [optional] +**ClientReferenceInformation** | [**Bavsv1accountvalidationsClientReferenceInformation**](Bavsv1accountvalidationsClientReferenceInformation.md) | | [optional] +**RequestId** | **string** | Request Id sent as part of the request. | [optional] +**SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThhmmssZ`, where: - `T`: Separates the date and the time - `Z`: Indicates Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT) Example: `2020-01-11T224757Z` equals January 11, 2020, at 22:47:57 (10:47:57 p.m.) | [optional] +**BankAccountValidation** | [**TssV2TransactionsGet200ResponseBankAccountValidation**](TssV2TransactionsGet200ResponseBankAccountValidation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20015.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20015.md new file mode 100644 index 00000000..fad65e38 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20015.md @@ -0,0 +1,14 @@ +# CyberSource.Model.InlineResponse20015 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ClientReferenceInformation** | [**InlineResponse20015ClientReferenceInformation**](InlineResponse20015ClientReferenceInformation.md) | | [optional] +**Id** | **string** | Request ID generated by Cybersource. This was sent in the header on the request. Echo value from x-requestid | +**SubmitTimeUtc** | **string** | Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2023-05-17T22:47:57Z` equals May 17, 2023, at 22:47:57 (10:47:57 PM). The `T` separates the date and the time. The `Z` indicates UTC. | +**Status** | **string** | Message describing the status of the currency conversion request. Values: - `PENDING` - `DECLINED` - `INVALID_REQUEST` - `SERVER_ERROR` - `OFFER_DECLINED` - `AUTHORIZED` - `AUTHORIZATION_DECLINED` - `AUTHORIZATION_FAILURE` - `REVERSED` - `CAPTURED` - `REFUNDED` - `CANCELLED` | +**ErrorInformation** | [**InlineResponse2018ErrorInformation**](InlineResponse2018ErrorInformation.md) | | [optional] +**OrderInformation** | [**InlineResponse2018OrderInformation**](InlineResponse2018OrderInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20014ClientReferenceInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20015ClientReferenceInformation.md similarity index 94% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20014ClientReferenceInformation.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20015ClientReferenceInformation.md index 16b05287..df5fd513 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20014ClientReferenceInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20015ClientReferenceInformation.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse20014ClientReferenceInformation +# CyberSource.Model.InlineResponse20015ClientReferenceInformation ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Content.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001Content.md similarity index 92% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Content.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001Content.md index da7aa260..09e87717 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Content.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001Content.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse200Content +# CyberSource.Model.InlineResponse2001Content ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001Embedded.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001Embedded.md deleted file mode 100644 index a5cfe34f..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001Embedded.md +++ /dev/null @@ -1,10 +0,0 @@ -# CyberSource.Model.InlineResponse2001Embedded -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Capture** | [**InlineResponse2001EmbeddedCapture**](InlineResponse2001EmbeddedCapture.md) | | [optional] -**Reversal** | [**InlineResponse2001EmbeddedReversal**](InlineResponse2001EmbeddedReversal.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCaptureLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCaptureLinks.md deleted file mode 100644 index 90081a11..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCaptureLinks.md +++ /dev/null @@ -1,9 +0,0 @@ -# CyberSource.Model.InlineResponse2001EmbeddedCaptureLinks -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Self** | [**InlineResponse2001EmbeddedCaptureLinksSelf**](InlineResponse2001EmbeddedCaptureLinksSelf.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversalLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversalLinks.md deleted file mode 100644 index b1860243..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversalLinks.md +++ /dev/null @@ -1,9 +0,0 @@ -# CyberSource.Model.InlineResponse2001EmbeddedReversalLinks -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Self** | [**InlineResponse2001EmbeddedReversalLinksSelf**](InlineResponse2001EmbeddedReversalLinksSelf.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002.md index a4a84617..46b02350 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002.md @@ -3,18 +3,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **long?** | | [optional] -**FieldType** | **string** | | [optional] -**Label** | **string** | | [optional] -**CustomerVisible** | **bool?** | | [optional] -**TextMinLength** | **int?** | | [optional] -**TextMaxLength** | **int?** | | [optional] -**PossibleValues** | **string** | | [optional] -**TextDefaultValue** | **string** | | [optional] -**MerchantId** | **string** | | [optional] -**ReferenceType** | **string** | | [optional] -**ReadOnly** | **bool?** | | [optional] -**MerchantDefinedDataIndex** | **int?** | | [optional] +**Id** | **string** | UUID uniquely generated for this comments. | [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 are: - `ACCEPTED` - `REJECTED` | [optional] +**Embedded** | [**InlineResponse2002Embedded**](InlineResponse2002Embedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002Embedded.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002Embedded.md new file mode 100644 index 00000000..feb8629f --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002Embedded.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse2002Embedded +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Capture** | [**InlineResponse2002EmbeddedCapture**](InlineResponse2002EmbeddedCapture.md) | | [optional] +**Reversal** | [**InlineResponse2002EmbeddedReversal**](InlineResponse2002EmbeddedReversal.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCapture.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCapture.md similarity index 68% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCapture.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCapture.md index 73a19622..9b4c0598 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCapture.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCapture.md @@ -1,10 +1,10 @@ -# CyberSource.Model.InlineResponse2001EmbeddedCapture +# CyberSource.Model.InlineResponse2002EmbeddedCapture ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Status** | **string** | The status of the capture if the capture is called. | [optional] -**Links** | [**InlineResponse2001EmbeddedCaptureLinks**](InlineResponse2001EmbeddedCaptureLinks.md) | | [optional] +**Links** | [**InlineResponse2002EmbeddedCaptureLinks**](InlineResponse2002EmbeddedCaptureLinks.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Links.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCaptureLinks.md similarity index 59% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Links.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCaptureLinks.md index 01c1dfa6..575a550d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse20010Links.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCaptureLinks.md @@ -1,10 +1,9 @@ -# CyberSource.Model.InlineResponse20010Links +# CyberSource.Model.InlineResponse2002EmbeddedCaptureLinks ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Rel** | **string** | Valid Values: * self * first * last * prev * next | [optional] -**Href** | **string** | | [optional] +**Self** | [**InlineResponse2002EmbeddedCaptureLinksSelf**](InlineResponse2002EmbeddedCaptureLinksSelf.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCaptureLinksSelf.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCaptureLinksSelf.md similarity index 89% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCaptureLinksSelf.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCaptureLinksSelf.md index 45955ef0..d6549e8c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedCaptureLinksSelf.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedCaptureLinksSelf.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2001EmbeddedCaptureLinksSelf +# CyberSource.Model.InlineResponse2002EmbeddedCaptureLinksSelf ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversal.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversal.md similarity index 68% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversal.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversal.md index 7c3c3122..c2185c88 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversal.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversal.md @@ -1,10 +1,10 @@ -# CyberSource.Model.InlineResponse2001EmbeddedReversal +# CyberSource.Model.InlineResponse2002EmbeddedReversal ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Status** | **string** | The status of the reversal if the auth reversal is called. | [optional] -**Links** | [**InlineResponse2001EmbeddedReversalLinks**](InlineResponse2001EmbeddedReversalLinks.md) | | [optional] +**Links** | [**InlineResponse2002EmbeddedReversalLinks**](InlineResponse2002EmbeddedReversalLinks.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversalLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversalLinks.md new file mode 100644 index 00000000..3bf5c459 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversalLinks.md @@ -0,0 +1,9 @@ +# CyberSource.Model.InlineResponse2002EmbeddedReversalLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**InlineResponse2002EmbeddedReversalLinksSelf**](InlineResponse2002EmbeddedReversalLinksSelf.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversalLinksSelf.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversalLinksSelf.md similarity index 89% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversalLinksSelf.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversalLinksSelf.md index 69e30dc6..311da680 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2001EmbeddedReversalLinksSelf.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2002EmbeddedReversalLinksSelf.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2001EmbeddedReversalLinksSelf +# CyberSource.Model.InlineResponse2002EmbeddedReversalLinksSelf ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003.md index d2c7cf24..fca1220e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003.md @@ -3,13 +3,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**RegistrationInformation** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] -**IntegrationInformation** | [**InlineResponse2003IntegrationInformation**](InlineResponse2003IntegrationInformation.md) | | [optional] -**OrganizationInformation** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] -**ProductInformation** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] -**ProductInformationSetups** | [**List<InlineResponse2013ProductInformationSetups>**](InlineResponse2013ProductInformationSetups.md) | | [optional] -**DocumentInformation** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] -**Details** | **Dictionary<string, List<Object>>** | | [optional] +**Id** | **long?** | | [optional] +**FieldType** | **string** | | [optional] +**Label** | **string** | | [optional] +**CustomerVisible** | **bool?** | | [optional] +**TextMinLength** | **int?** | | [optional] +**TextMaxLength** | **int?** | | [optional] +**PossibleValues** | **string** | | [optional] +**TextDefaultValue** | **string** | | [optional] +**MerchantId** | **string** | | [optional] +**ReferenceType** | **string** | | [optional] +**ReadOnly** | **bool?** | | [optional] +**MerchantDefinedDataIndex** | **int?** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004.md index 426d529b..ffb27a66 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004.md @@ -3,9 +3,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProductId** | **string** | Product ID. | [optional] -**ProductName** | **string** | Product Name. | [optional] -**EventTypes** | [**List<Notificationsubscriptionsv2productsorganizationIdEventTypes>**](Notificationsubscriptionsv2productsorganizationIdEventTypes.md) | | [optional] +**RegistrationInformation** | [**Boardingv1registrationsRegistrationInformation**](Boardingv1registrationsRegistrationInformation.md) | | [optional] +**IntegrationInformation** | [**InlineResponse2004IntegrationInformation**](InlineResponse2004IntegrationInformation.md) | | [optional] +**OrganizationInformation** | [**Boardingv1registrationsOrganizationInformation**](Boardingv1registrationsOrganizationInformation.md) | | [optional] +**ProductInformation** | [**Boardingv1registrationsProductInformation**](Boardingv1registrationsProductInformation.md) | | [optional] +**ProductInformationSetups** | [**List<InlineResponse2013ProductInformationSetups>**](InlineResponse2013ProductInformationSetups.md) | | [optional] +**DocumentInformation** | [**Boardingv1registrationsDocumentInformation**](Boardingv1registrationsDocumentInformation.md) | | [optional] +**Details** | **Dictionary<string, List<Object>>** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003IntegrationInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004IntegrationInformation.md similarity index 76% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003IntegrationInformation.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004IntegrationInformation.md index 29d8734d..b3ac72a0 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003IntegrationInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004IntegrationInformation.md @@ -1,10 +1,10 @@ -# CyberSource.Model.InlineResponse2003IntegrationInformation +# CyberSource.Model.InlineResponse2004IntegrationInformation ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Oauth2** | [**List<Boardingv1registrationsIntegrationInformationOauth2>**](Boardingv1registrationsIntegrationInformationOauth2.md) | | [optional] -**TenantConfigurations** | [**List<InlineResponse2003IntegrationInformationTenantConfigurations>**](InlineResponse2003IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] +**TenantConfigurations** | [**List<InlineResponse2004IntegrationInformationTenantConfigurations>**](InlineResponse2004IntegrationInformationTenantConfigurations.md) | tenantConfigurations is an array of objects that includes the tenant information this merchant is associated with. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004IntegrationInformationTenantConfigurations.md similarity index 94% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004IntegrationInformationTenantConfigurations.md index 3ce57014..3530d7b2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2003IntegrationInformationTenantConfigurations.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2004IntegrationInformationTenantConfigurations.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2003IntegrationInformationTenantConfigurations +# CyberSource.Model.InlineResponse2004IntegrationInformationTenantConfigurations ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2005.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2005.md index c759fa73..e40ad21b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2005.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2005.md @@ -3,18 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**WebhookId** | **string** | Webhook Id. This is generated by the server. | [optional] -**OrganizationId** | **string** | Organization ID. | [optional] -**Products** | [**List<Notificationsubscriptionsv2webhooksProducts>**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional] -**WebhookUrl** | **string** | The client's endpoint (URL) to receive webhooks. | [optional] -**HealthCheckUrl** | **string** | The client's health check endpoint (URL). | [optional] -**Status** | **string** | Webhook status. | [optional] [default to "INACTIVE"] -**Name** | **string** | Client friendly webhook name. | [optional] -**Description** | **string** | Client friendly webhook description. | [optional] -**RetryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] -**SecurityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] -**CreatedOn** | **string** | Date on which webhook was created/registered. | [optional] -**NotificationScope** | **string** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to "DESCENDANTS"] +**ProductId** | **string** | Product ID. | [optional] +**ProductName** | **string** | Product Name. | [optional] +**EventTypes** | [**List<Notificationsubscriptionsv2productsorganizationIdEventTypes>**](Notificationsubscriptionsv2productsorganizationIdEventTypes.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2006.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2006.md index 561ff66a..dbb41d7b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2006.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2006.md @@ -14,7 +14,6 @@ Name | Type | Description | Notes **RetryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] **SecurityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] **CreatedOn** | **string** | Date on which webhook was created/registered. | [optional] -**UpdatedOn** | **string** | Date on which webhook was most recently updated. | [optional] **NotificationScope** | **string** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to "DESCENDANTS"] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2007.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2007.md index 6cb2cbab..3e5d310f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2007.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2007.md @@ -3,12 +3,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalCount** | **int?** | Total number of results. | [optional] -**Offset** | **int?** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] -**Limit** | **int?** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] -**Sort** | **string** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional] -**Count** | **int?** | Results for this page, this could be below the limit. | [optional] -**Devices** | [**List<InlineResponse2007Devices>**](InlineResponse2007Devices.md) | A collection of devices | [optional] +**WebhookId** | **string** | Webhook Id. This is generated by the server. | [optional] +**OrganizationId** | **string** | Organization ID. | [optional] +**Products** | [**List<Notificationsubscriptionsv2webhooksProducts>**](Notificationsubscriptionsv2webhooksProducts.md) | | [optional] +**WebhookUrl** | **string** | The client's endpoint (URL) to receive webhooks. | [optional] +**HealthCheckUrl** | **string** | The client's health check endpoint (URL). | [optional] +**Status** | **string** | Webhook status. | [optional] [default to "INACTIVE"] +**Name** | **string** | Client friendly webhook name. | [optional] +**Description** | **string** | Client friendly webhook description. | [optional] +**RetryPolicy** | [**Notificationsubscriptionsv2webhooksRetryPolicy**](Notificationsubscriptionsv2webhooksRetryPolicy.md) | | [optional] +**SecurityPolicy** | [**Notificationsubscriptionsv2webhooksSecurityPolicy**](Notificationsubscriptionsv2webhooksSecurityPolicy.md) | | [optional] +**CreatedOn** | **string** | Date on which webhook was created/registered. | [optional] +**UpdatedOn** | **string** | Date on which webhook was most recently updated. | [optional] +**NotificationScope** | **string** | The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. This field is optional. Possible values: - SELF - DESCENDANTS | [optional] [default to "DESCENDANTS"] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2008.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2008.md index b508450a..0ef0693b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2008.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2008.md @@ -3,8 +3,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Status** | **string** | Possible values: - OK | [optional] -**Devices** | [**List<Dmsv3devicesdeassociateDevices>**](Dmsv3devicesdeassociateDevices.md) | | [optional] +**TotalCount** | **int?** | Total number of results. | [optional] +**Offset** | **int?** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] +**Limit** | **int?** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] +**Sort** | **string** | A comma separated list of the following form: `submitTimeUtc:desc` | [optional] +**Count** | **int?** | Results for this page, this could be below the limit. | [optional] +**Devices** | [**List<InlineResponse2008Devices>**](InlineResponse2008Devices.md) | A collection of devices | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2007Devices.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2008Devices.md similarity index 94% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2007Devices.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2008Devices.md index ada3a559..7600495c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2007Devices.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2008Devices.md @@ -1,4 +1,4 @@ -# CyberSource.Model.InlineResponse2007Devices +# CyberSource.Model.InlineResponse2008Devices ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009.md index 494668db..348463dd 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2009.md @@ -3,12 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TotalCount** | **int?** | Total number of results. | [optional] -**Offset** | **int?** | Controls the starting point within the collection of results, which defaults to 0. The first item in the collection is retrieved by setting a zero offset. For example, if you have a collection of 15 items to be retrieved from a resource and you specify limit=5, you can retrieve the entire set of results in 3 successive requests by varying the offset value like this: `offset=0` `offset=5` `offset=10` **Note:** If an offset larger than the number of results is provided, this will result in no embedded object being returned. | [optional] -**Limit** | **int?** | Controls the maximum number of items that may be returned for a single request. The default is 20, the maximum is 2500. | [optional] -**Sort** | **string** | A comma separated list of the following form: `terminalCreationDate:desc or serialNumber or terminalUpdationDate` | [optional] -**Count** | **int?** | Results for this page, this could be below the limit. | [optional] -**Devices** | [**List<InlineResponse2009Devices>**](InlineResponse2009Devices.md) | A collection of devices | [optional] +**Status** | **string** | Possible values: - OK | [optional] +**Devices** | [**List<Dmsv3devicesdeassociateDevices>**](Dmsv3devicesdeassociateDevices.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Details.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Details.md new file mode 100644 index 00000000..0b3d95f1 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Details.md @@ -0,0 +1,10 @@ +# CyberSource.Model.InlineResponse200Details +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | The name of the field that caused the error. | [optional] +**Location** | **string** | The location of the field that caused the error. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Errors.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Errors.md new file mode 100644 index 00000000..ffc7fa0d --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Errors.md @@ -0,0 +1,11 @@ +# CyberSource.Model.InlineResponse200Errors +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **string** | The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing. | [optional] +**Message** | **string** | The detailed message related to the type. | [optional] +**Details** | [**List<InlineResponse200Details>**](InlineResponse200Details.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Responses.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Responses.md new file mode 100644 index 00000000..f5df597c --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse200Responses.md @@ -0,0 +1,12 @@ +# CyberSource.Model.InlineResponse200Responses +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Resource** | **string** | TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard | [optional] +**HttpStatus** | **int?** | Http status associated with the response. | [optional] +**Id** | **string** | TMS token id associated with the response. | [optional] +**Errors** | [**List<InlineResponse200Errors>**](InlineResponse200Errors.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2013SetupsPayments.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2013SetupsPayments.md index a088c7ec..cb2d7be2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2013SetupsPayments.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/InlineResponse2013SetupsPayments.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **UnifiedCheckout** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] **ReceivablesManager** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] **ServiceFee** | [**InlineResponse2013SetupsPaymentsCardProcessing**](InlineResponse2013SetupsPaymentsCardProcessing.md) | | [optional] +**BatchUpload** | [**InlineResponse2013SetupsPaymentsDigitalPayments**](InlineResponse2013SetupsPaymentsDigitalPayments.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/ManageWebhooksApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/ManageWebhooksApi.md index 1fbbf3ba..1337182d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/ManageWebhooksApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/ManageWebhooksApi.md @@ -136,7 +136,7 @@ No authorization required # **GetWebhookSubscriptionsByOrg** -> List GetWebhookSubscriptionsByOrg (string organizationId, string productId = null, string eventType = null) +> List GetWebhookSubscriptionsByOrg (string organizationId, string productId = null, string eventType = null) Get Details On All Created Webhooks @@ -164,7 +164,7 @@ namespace Example try { // Get Details On All Created Webhooks - List<InlineResponse2005> result = apiInstance.GetWebhookSubscriptionsByOrg(organizationId, productId, eventType); + List<InlineResponse2006> result = apiInstance.GetWebhookSubscriptionsByOrg(organizationId, productId, eventType); Debug.WriteLine(result); } catch (Exception e) @@ -186,7 +186,7 @@ Name | Type | Description | Notes ### Return type -[**List**](InlineResponse2005.md) +[**List**](InlineResponse2006.md) ### Authorization @@ -262,7 +262,7 @@ No authorization required # **NotificationSubscriptionsV2WebhooksWebhookIdPatch** -> InlineResponse2006 NotificationSubscriptionsV2WebhooksWebhookIdPatch (string webhookId, UpdateWebhook updateWebhook = null) +> InlineResponse2007 NotificationSubscriptionsV2WebhooksWebhookIdPatch (string webhookId, UpdateWebhook updateWebhook = null) Update a Webhook Subscription @@ -289,7 +289,7 @@ namespace Example try { // Update a Webhook Subscription - InlineResponse2006 result = apiInstance.NotificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); + InlineResponse2007 result = apiInstance.NotificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook); Debug.WriteLine(result); } catch (Exception e) @@ -310,7 +310,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2006**](InlineResponse2006.md) +[**InlineResponse2007**](InlineResponse2007.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/MerchantBoardingApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/MerchantBoardingApi.md index ae221563..29a1893c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/MerchantBoardingApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/MerchantBoardingApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **GetRegistration** -> InlineResponse2003 GetRegistration (string registrationId) +> InlineResponse2004 GetRegistration (string registrationId) Gets all the information on a boarding registration @@ -36,7 +36,7 @@ namespace Example try { // Gets all the information on a boarding registration - InlineResponse2003 result = apiInstance.GetRegistration(registrationId); + InlineResponse2004 result = apiInstance.GetRegistration(registrationId); Debug.WriteLine(result); } catch (Exception e) @@ -56,7 +56,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2003**](InlineResponse2003.md) +[**InlineResponse2004**](InlineResponse2004.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/MerchantDefinedFieldsApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/MerchantDefinedFieldsApi.md index ef63b5d5..96247617 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/MerchantDefinedFieldsApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/MerchantDefinedFieldsApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **CreateMerchantDefinedFieldDefinition** -> List CreateMerchantDefinedFieldDefinition (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) +> List CreateMerchantDefinedFieldDefinition (string referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) Create merchant defined field for a given reference type @@ -37,7 +37,7 @@ namespace Example try { // Create merchant defined field for a given reference type - List<InlineResponse2002> result = apiInstance.CreateMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); + List<InlineResponse2003> result = apiInstance.CreateMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest); Debug.WriteLine(result); } catch (Exception e) @@ -58,7 +58,7 @@ Name | Type | Description | Notes ### Return type -[**List**](InlineResponse2002.md) +[**List**](InlineResponse2003.md) ### Authorization @@ -133,7 +133,7 @@ No authorization required # **GetMerchantDefinedFieldsDefinitions** -> List GetMerchantDefinedFieldsDefinitions (string referenceType) +> List GetMerchantDefinedFieldsDefinitions (string referenceType) Get all merchant defined fields for a given reference type @@ -157,7 +157,7 @@ namespace Example try { // Get all merchant defined fields for a given reference type - List<InlineResponse2002> result = apiInstance.GetMerchantDefinedFieldsDefinitions(referenceType); + List<InlineResponse2003> result = apiInstance.GetMerchantDefinedFieldsDefinitions(referenceType); Debug.WriteLine(result); } catch (Exception e) @@ -177,7 +177,7 @@ Name | Type | Description | Notes ### Return type -[**List**](InlineResponse2002.md) +[**List**](InlineResponse2003.md) ### Authorization @@ -192,7 +192,7 @@ No authorization required # **PutMerchantDefinedFieldsDefinitions** -> List PutMerchantDefinedFieldsDefinitions (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) +> List PutMerchantDefinedFieldsDefinitions (string referenceType, long? id, MerchantDefinedFieldCore merchantDefinedFieldCore) Update a MerchantDefinedField by ID @@ -218,7 +218,7 @@ namespace Example try { // Update a MerchantDefinedField by ID - List<InlineResponse2002> result = apiInstance.PutMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore); + List<InlineResponse2003> result = apiInstance.PutMerchantDefinedFieldsDefinitions(referenceType, id, merchantDefinedFieldCore); Debug.WriteLine(result); } catch (Exception e) @@ -240,7 +240,7 @@ Name | Type | Description | Notes ### Return type -[**List**](InlineResponse2002.md) +[**List**](InlineResponse2003.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/OffersApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/OffersApi.md index 4f3e4085..4f055edb 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/OffersApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/OffersApi.md @@ -81,7 +81,7 @@ No authorization required # **GetOffer** -> InlineResponse20014 GetOffer (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) +> InlineResponse20015 GetOffer (string contentType, string xRequestid, string vCMerchantId, string vCCorrelationId, string vCOrganizationId, string id) Retrieve an Offer @@ -112,7 +112,7 @@ namespace Example try { // Retrieve an Offer - InlineResponse20014 result = apiInstance.GetOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); + InlineResponse20015 result = apiInstance.GetOffer(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id); Debug.WriteLine(result); } catch (Exception e) @@ -137,7 +137,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse20014**](InlineResponse20014.md) +[**InlineResponse20015**](InlineResponse20015.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerPaymentInstrumentRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerPaymentInstrumentRequest.md index 6c51f210..4f956943 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerPaymentInstrumentRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerPaymentInstrumentRequest.md @@ -3,21 +3,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **Id** | **string** | The Id of the Payment Instrument Token. | [optional] **Object** | **string** | The type. Possible Values: - paymentInstrument | [optional] **Default** | **bool?** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **State** | **string** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **Type** | **string** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**BankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**Card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**BuyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**BillTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**BankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**Card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**BillTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **ProcessingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**MerchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**InstrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**Embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**MerchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**InstrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**Embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerRequest.md index 351bdcc2..ea73112c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerRequest.md @@ -3,16 +3,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersLinks**](Tmsv2customersLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] **Id** | **string** | The Id of the Customer Token. | [optional] -**ObjectInformation** | [**Tmsv2customersObjectInformation**](Tmsv2customersObjectInformation.md) | | [optional] -**BuyerInformation** | [**Tmsv2customersBuyerInformation**](Tmsv2customersBuyerInformation.md) | | [optional] -**ClientReferenceInformation** | [**Tmsv2customersClientReferenceInformation**](Tmsv2customersClientReferenceInformation.md) | | [optional] -**MerchantDefinedInformation** | [**List<Tmsv2customersMerchantDefinedInformation>**](Tmsv2customersMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] -**DefaultPaymentInstrument** | [**Tmsv2customersDefaultPaymentInstrument**](Tmsv2customersDefaultPaymentInstrument.md) | | [optional] -**DefaultShippingAddress** | [**Tmsv2customersDefaultShippingAddress**](Tmsv2customersDefaultShippingAddress.md) | | [optional] -**Metadata** | [**Tmsv2customersMetadata**](Tmsv2customersMetadata.md) | | [optional] -**Embedded** | [**Tmsv2customersEmbedded**](Tmsv2customersEmbedded.md) | | [optional] +**ObjectInformation** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**ClientReferenceInformation** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**MerchantDefinedInformation** | [**List<Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation>**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**DefaultPaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**DefaultShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**Embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerShippingAddressRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerShippingAddressRequest.md index f3541236..0e0f88c0 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerShippingAddressRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchCustomerShippingAddressRequest.md @@ -3,11 +3,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] **Id** | **string** | The Id of the Shipping Address Token. | [optional] **Default** | **bool?** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**ShipTo** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] +**ShipTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchPaymentInstrumentRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchPaymentInstrumentRequest.md index 9e50cad3..9cc764c9 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchPaymentInstrumentRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PatchPaymentInstrumentRequest.md @@ -3,21 +3,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **Id** | **string** | The Id of the Payment Instrument Token. | [optional] **Object** | **string** | The type. Possible Values: - paymentInstrument | [optional] **Default** | **bool?** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **State** | **string** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **Type** | **string** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**BankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**Card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**BuyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**BillTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**BankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**Card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**BillTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **ProcessingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**MerchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**InstrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**Embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**MerchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**InstrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**Embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md index 92275258..1c1877e5 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentInstrumentList1EmbeddedPaymentInstruments.md @@ -3,20 +3,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **Id** | **string** | The Id of the Payment Instrument Token. | [optional] **Object** | **string** | The type. Possible Values: - paymentInstrument | [optional] **Default** | **bool?** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **State** | **string** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **Type** | **string** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**BankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**Card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**BuyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**BillTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**BankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**Card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**BillTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **ProcessingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**MerchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**InstrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**MerchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**InstrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] **Embedded** | [**PaymentInstrumentList1EmbeddedEmbedded**](PaymentInstrumentList1EmbeddedEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentInstrumentListEmbedded.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentInstrumentListEmbedded.md index 634d2173..21861cce 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentInstrumentListEmbedded.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentInstrumentListEmbedded.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PaymentInstruments** | [**List<Tmsv2customersEmbeddedDefaultPaymentInstrument>**](Tmsv2customersEmbeddedDefaultPaymentInstrument.md) | | [optional] +**PaymentInstruments** | [**List<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument>**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentsProducts.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentsProducts.md index 144dc9cf..a9892988 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentsProducts.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PaymentsProducts.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **UnifiedCheckout** | [**PaymentsProductsUnifiedCheckout**](PaymentsProductsUnifiedCheckout.md) | | [optional] **ReceivablesManager** | [**PaymentsProductsTax**](PaymentsProductsTax.md) | | [optional] **ServiceFee** | [**PaymentsProductsServiceFee**](PaymentsProductsServiceFee.md) | | [optional] +**BatchUpload** | [**PaymentsProductsTax**](PaymentsProductsTax.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerPaymentInstrumentRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerPaymentInstrumentRequest.md index 067f4fb0..c7a8cd8e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerPaymentInstrumentRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerPaymentInstrumentRequest.md @@ -3,21 +3,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **Id** | **string** | The Id of the Payment Instrument Token. | [optional] **Object** | **string** | The type. Possible Values: - paymentInstrument | [optional] **Default** | **bool?** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **State** | **string** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **Type** | **string** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**BankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**Card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**BuyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**BillTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**BankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**Card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**BillTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **ProcessingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**MerchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**InstrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**Embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**MerchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**InstrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**Embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerRequest.md index f9933aa6..8bf10acd 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerRequest.md @@ -3,16 +3,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersLinks**](Tmsv2customersLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] **Id** | **string** | The Id of the Customer Token. | [optional] -**ObjectInformation** | [**Tmsv2customersObjectInformation**](Tmsv2customersObjectInformation.md) | | [optional] -**BuyerInformation** | [**Tmsv2customersBuyerInformation**](Tmsv2customersBuyerInformation.md) | | [optional] -**ClientReferenceInformation** | [**Tmsv2customersClientReferenceInformation**](Tmsv2customersClientReferenceInformation.md) | | [optional] -**MerchantDefinedInformation** | [**List<Tmsv2customersMerchantDefinedInformation>**](Tmsv2customersMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] -**DefaultPaymentInstrument** | [**Tmsv2customersDefaultPaymentInstrument**](Tmsv2customersDefaultPaymentInstrument.md) | | [optional] -**DefaultShippingAddress** | [**Tmsv2customersDefaultShippingAddress**](Tmsv2customersDefaultShippingAddress.md) | | [optional] -**Metadata** | [**Tmsv2customersMetadata**](Tmsv2customersMetadata.md) | | [optional] -**Embedded** | [**Tmsv2customersEmbedded**](Tmsv2customersEmbedded.md) | | [optional] +**ObjectInformation** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**ClientReferenceInformation** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**MerchantDefinedInformation** | [**List<Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation>**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**DefaultPaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**DefaultShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**Embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerShippingAddressRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerShippingAddressRequest.md index 70065d8f..ceeedcfa 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerShippingAddressRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostCustomerShippingAddressRequest.md @@ -3,11 +3,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] **Id** | **string** | The Id of the Shipping Address Token. | [optional] **Default** | **bool?** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**ShipTo** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] +**ShipTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostIssuerLifeCycleSimulationRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostIssuerLifeCycleSimulationRequest.md new file mode 100644 index 00000000..54c73599 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostIssuerLifeCycleSimulationRequest.md @@ -0,0 +1,11 @@ +# CyberSource.Model.PostIssuerLifeCycleSimulationRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | **string** | The new state of the Tokenized Card. Possible Values: - ACTIVE - SUSPENDED - DELETED | [optional] +**Card** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md) | | [optional] +**Metadata** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostPaymentInstrumentRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostPaymentInstrumentRequest.md index 58ff74ac..9129774b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostPaymentInstrumentRequest.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostPaymentInstrumentRequest.md @@ -3,21 +3,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] **Id** | **string** | The Id of the Payment Instrument Token. | [optional] **Object** | **string** | The type. Possible Values: - paymentInstrument | [optional] **Default** | **bool?** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] **State** | **string** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] **Type** | **string** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**BankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**Card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**BuyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**BillTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**BankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**Card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**BillTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] **ProcessingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**MerchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**InstrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**Embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] +**MerchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**InstrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**Embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostTokenizeRequest.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostTokenizeRequest.md new file mode 100644 index 00000000..8efd5927 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/PostTokenizeRequest.md @@ -0,0 +1,10 @@ +# CyberSource.Model.PostTokenizeRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProcessingInformation** | [**Tmsv2tokenizeProcessingInformation**](Tmsv2tokenizeProcessingInformation.md) | | [optional] +**TokenInformation** | [**Tmsv2tokenizeTokenInformation**](Tmsv2tokenizeTokenInformation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Ptsv2paymentsAggregatorInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Ptsv2paymentsAggregatorInformation.md index 6cc31650..9ca9cc07 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Ptsv2paymentsAggregatorInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Ptsv2paymentsAggregatorInformation.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **State** | **string** | Acquirer state. | [optional] **PostalCode** | **string** | Acquirer postal code. | [optional] **Country** | **string** | Acquirer country. | [optional] +**ServiceProvidername** | **string** | Contains transfer service provider name. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1plansClientReferenceInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1plansClientReferenceInformation.md deleted file mode 100644 index 88e6278d..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1plansClientReferenceInformation.md +++ /dev/null @@ -1,13 +0,0 @@ -# CyberSource.Model.Rbsv1plansClientReferenceInformation -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Comments** | **string** | Brief description of the order or any comment you wish to add to the order. | [optional] -**Partner** | [**Riskv1decisionsClientReferenceInformationPartner**](Riskv1decisionsClientReferenceInformationPartner.md) | | [optional] -**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] - -[[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/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1subscriptionsClientReferenceInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1subscriptionsClientReferenceInformation.md deleted file mode 100644 index 49cf9ab3..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1subscriptionsClientReferenceInformation.md +++ /dev/null @@ -1,14 +0,0 @@ -# CyberSource.Model.Rbsv1subscriptionsClientReferenceInformation -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Code** | **string** | > Deprecated: This field is ignored. Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports. | [optional] -**Comments** | **string** | > Deprecated: This field is ignored. Brief description of the order or any comment you wish to add to the order. | [optional] -**Partner** | [**Rbsv1subscriptionsClientReferenceInformationPartner**](Rbsv1subscriptionsClientReferenceInformationPartner.md) | | [optional] -**ApplicationName** | **string** | > Deprecated: This field is ignored. The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource. | [optional] -**ApplicationVersion** | **string** | > Deprecated: This field is ignored. Version of the CyberSource application or integration used for a transaction. | [optional] -**ApplicationUser** | **string** | > Deprecated: This field is ignored. The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md deleted file mode 100644 index f670441b..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Rbsv1subscriptionsClientReferenceInformationPartner.md +++ /dev/null @@ -1,10 +0,0 @@ -# CyberSource.Model.Rbsv1subscriptionsClientReferenceInformationPartner -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**DeveloperId** | **string** | > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the developer that helped integrate a partner solution to CyberSource. Send this value in all requests that are sent through the partner solutions built by that developer. CyberSource assigns the ID to the developer. **Note** When you see a developer ID of 999 in reports, the developer ID that was submitted is incorrect. | [optional] -**SolutionId** | **string** | > This field is ignored when you provide the `subscriptionInformation.originalTransactionId` or update the subscription. Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/ShippingAddressListForCustomerEmbedded.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/ShippingAddressListForCustomerEmbedded.md index 710d2c94..243f3c61 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/ShippingAddressListForCustomerEmbedded.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/ShippingAddressListForCustomerEmbedded.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ShippingAddresses** | [**List<Tmsv2customersEmbeddedDefaultShippingAddress>**](Tmsv2customersEmbeddedDefaultShippingAddress.md) | | [optional] +**ShippingAddresses** | [**List<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress>**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/SubscriptionsApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/SubscriptionsApi.md index 01b8c020..1f351a25 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/SubscriptionsApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/SubscriptionsApi.md @@ -4,7 +4,7 @@ All URIs are relative to *https://apitest.cybersource.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ActivateSubscription**](SubscriptionsApi.md#activatesubscription) | **POST** /rbs/v1/subscriptions/{id}/activate | Activate a Subscription +[**ActivateSubscription**](SubscriptionsApi.md#activatesubscription) | **POST** /rbs/v1/subscriptions/{id}/activate | Reactivating a Suspended Subscription [**CancelSubscription**](SubscriptionsApi.md#cancelsubscription) | **POST** /rbs/v1/subscriptions/{id}/cancel | Cancel a Subscription [**CreateSubscription**](SubscriptionsApi.md#createsubscription) | **POST** /rbs/v1/subscriptions | Create a Subscription [**GetAllSubscriptions**](SubscriptionsApi.md#getallsubscriptions) | **GET** /rbs/v1/subscriptions | Get a List of Subscriptions @@ -16,11 +16,11 @@ Method | HTTP request | Description # **ActivateSubscription** -> ActivateSubscriptionResponse ActivateSubscription (string id, bool? processSkippedPayments = null) +> ActivateSubscriptionResponse ActivateSubscription (string id, bool? processMissedPayments = null) -Activate a Subscription +Reactivating a Suspended Subscription -Activate a `SUSPENDED` Subscription +# Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html). ### Example ```csharp @@ -38,12 +38,12 @@ namespace Example { var apiInstance = new SubscriptionsApi(); var id = id_example; // string | Subscription Id - var processSkippedPayments = true; // bool? | Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional) (default to true) + var processMissedPayments = true; // bool? | Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional) (default to true) try { - // Activate a Subscription - ActivateSubscriptionResponse result = apiInstance.ActivateSubscription(id, processSkippedPayments); + // Reactivating a Suspended Subscription + ActivateSubscriptionResponse result = apiInstance.ActivateSubscription(id, processMissedPayments); Debug.WriteLine(result); } catch (Exception e) @@ -60,7 +60,7 @@ namespace Example Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| Subscription Id | - **processSkippedPayments** | **bool?**| Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. | [optional] [default to true] + **processMissedPayments** | **bool?**| Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. | [optional] [default to true] ### Return type @@ -390,7 +390,7 @@ No authorization required Suspend a Subscription -Suspend a Subscription +Suspend a Subscription ### Example ```csharp diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TmsMerchantInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TmsMerchantInformation.md new file mode 100644 index 00000000..2f4e4326 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TmsMerchantInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.TmsMerchantInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MerchantDescriptor** | [**TmsMerchantInformationMerchantDescriptor**](TmsMerchantInformationMerchantDescriptor.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TmsMerchantInformationMerchantDescriptor.md similarity index 86% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TmsMerchantInformationMerchantDescriptor.md index baffac14..6655a2e8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TmsMerchantInformationMerchantDescriptor.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor +# CyberSource.Model.TmsMerchantInformationMerchantDescriptor ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbedded.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbedded.md deleted file mode 100644 index c13ee5a6..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbedded.md +++ /dev/null @@ -1,10 +0,0 @@ -# CyberSource.Model.Tmsv2customersEmbedded -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**DefaultPaymentInstrument** | [**Tmsv2customersEmbeddedDefaultPaymentInstrument**](Tmsv2customersEmbeddedDefaultPaymentInstrument.md) | | [optional] -**DefaultShippingAddress** | [**Tmsv2customersEmbeddedDefaultShippingAddress**](Tmsv2customersEmbeddedDefaultShippingAddress.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md deleted file mode 100644 index a456f047..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrument.md +++ /dev/null @@ -1,23 +0,0 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrument -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] -**Id** | **string** | The Id of the Payment Instrument Token. | [optional] -**Object** | **string** | The type. Possible Values: - paymentInstrument | [optional] -**Default** | **bool?** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] -**State** | **string** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] -**Type** | **string** | The type of Payment Instrument. Possible Values: - cardHash | [optional] -**BankAccount** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] -**Card** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCard**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] -**BuyerInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] -**BillTo** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] -**ProcessingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] -**MerchantInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md) | | [optional] -**InstrumentIdentifier** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] -**Embedded** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md deleted file mode 100644 index 93488270..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks.md +++ /dev/null @@ -1,10 +0,0 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Self** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf**](Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md) | | [optional] -**Customer** | [**Tmsv2customersLinksSelf**](Tmsv2customersLinksSelf.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md deleted file mode 100644 index c42ddbf1..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation.md +++ /dev/null @@ -1,9 +0,0 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**MerchantDescriptor** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor**](Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformationMerchantDescriptor.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md deleted file mode 100644 index 4b6d61d5..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddress.md +++ /dev/null @@ -1,13 +0,0 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultShippingAddress -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Links** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinks**](Tmsv2customersEmbeddedDefaultShippingAddressLinks.md) | | [optional] -**Id** | **string** | The Id of the Shipping Address Token. | [optional] -**Default** | **bool?** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] -**ShipTo** | [**Tmsv2customersEmbeddedDefaultShippingAddressShipTo**](Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md) | | [optional] -**Metadata** | [**Tmsv2customersEmbeddedDefaultShippingAddressMetadata**](Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md deleted file mode 100644 index bbb47627..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinks.md +++ /dev/null @@ -1,10 +0,0 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultShippingAddressLinks -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Self** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf**](Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md) | | [optional] -**Customer** | [**Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer**](Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinks.md deleted file mode 100644 index 4ad92eb6..00000000 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinks.md +++ /dev/null @@ -1,11 +0,0 @@ -# CyberSource.Model.Tmsv2customersLinks -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Self** | [**Tmsv2customersLinksSelf**](Tmsv2customersLinksSelf.md) | | [optional] -**PaymentInstruments** | [**Tmsv2customersLinksPaymentInstruments**](Tmsv2customersLinksPaymentInstruments.md) | | [optional] -**ShippingAddress** | [**Tmsv2customersLinksShippingAddress**](Tmsv2customersLinksShippingAddress.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeProcessingInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeProcessingInformation.md new file mode 100644 index 00000000..59527653 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeProcessingInformation.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2tokenizeProcessingInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ActionList** | **List<string>** | Array of actions (one or more) to be included in the tokenize request. Possible Values: - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your tokenize request. | [optional] +**ActionTokenTypes** | **List<string>** | TMS tokens types you want to perform the action on. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformation.md new file mode 100644 index 00000000..81fc7996 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformation.md @@ -0,0 +1,14 @@ +# CyberSource.Model.Tmsv2tokenizeTokenInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Jti** | **string** | TMS Transient Token, 64 hexadecimal id value representing captured payment credentials (including Sensitive Authentication Data, e.g. CVV). | [optional] +**TransientTokenJwt** | **string** | Flex API Transient Token encoded as JWT (JSON Web Token), e.g. Flex microform or Unified Payment checkout result. | [optional] +**Customer** | [**Tmsv2tokenizeTokenInformationCustomer**](Tmsv2tokenizeTokenInformationCustomer.md) | | [optional] +**ShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] +**PaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] +**InstrumentIdentifier** | [**TmsEmbeddedInstrumentIdentifier**](TmsEmbeddedInstrumentIdentifier.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomer.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomer.md new file mode 100644 index 00000000..17ff5669 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomer.md @@ -0,0 +1,18 @@ +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomer +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**Tmsv2tokenizeTokenInformationCustomerLinks**](Tmsv2tokenizeTokenInformationCustomerLinks.md) | | [optional] +**Id** | **string** | The Id of the Customer Token. | [optional] +**ObjectInformation** | [**Tmsv2tokenizeTokenInformationCustomerObjectInformation**](Tmsv2tokenizeTokenInformationCustomerObjectInformation.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md) | | [optional] +**ClientReferenceInformation** | [**Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation**](Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md) | | [optional] +**MerchantDefinedInformation** | [**List<Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation>**](Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md) | Object containing the custom data that the merchant defines. | [optional] +**DefaultPaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md) | | [optional] +**DefaultShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerMetadata**](Tmsv2tokenizeTokenInformationCustomerMetadata.md) | | [optional] +**Embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbedded.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersBuyerInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md similarity index 86% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersBuyerInformation.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md index ecbc5f8e..4f60fe5e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersBuyerInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerBuyerInformation.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersBuyerInformation +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerBuyerInformation ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersClientReferenceInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersClientReferenceInformation.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md index 6bd7cdd3..4f608ace 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersClientReferenceInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersClientReferenceInformation +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersDefaultPaymentInstrument.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersDefaultPaymentInstrument.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md index a40fe2ab..6ad0f04a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersDefaultPaymentInstrument.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersDefaultPaymentInstrument +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersDefaultShippingAddress.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersDefaultShippingAddress.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md index 80955423..a932e31d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersDefaultShippingAddress.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersDefaultShippingAddress +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md new file mode 100644 index 00000000..60a15096 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbedded.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbedded +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DefaultPaymentInstrument** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md) | | [optional] +**DefaultShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md new file mode 100644 index 00000000..e64f73d0 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument.md @@ -0,0 +1,23 @@ +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md) | | [optional] +**Id** | **string** | The Id of the Payment Instrument Token. | [optional] +**Object** | **string** | The type. Possible Values: - paymentInstrument | [optional] +**Default** | **bool?** | Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default. | [optional] +**State** | **string** | Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed. | [optional] +**Type** | **string** | The type of Payment Instrument. Possible Values: - cardHash | [optional] +**BankAccount** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md) | | [optional] +**Card** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md) | | [optional] +**BuyerInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md) | | [optional] +**BillTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md) | | [optional] +**ProcessingInformation** | [**TmsPaymentInstrumentProcessingInfo**](TmsPaymentInstrumentProcessingInfo.md) | | [optional] +**MerchantInformation** | [**TmsMerchantInformation**](TmsMerchantInformation.md) | | [optional] +**InstrumentIdentifier** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md) | | [optional] +**Embedded** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md similarity index 83% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md index c318740c..bece85d6 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md similarity index 94% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md index 0dca1236..e86d20d4 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md similarity index 79% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md index ead52979..7ca5d15c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation ## Properties Name | Type | Description | Notes @@ -6,7 +6,7 @@ Name | Type | Description | Notes **CompanyTaxID** | **string** | Company's tax identifier. This is only used for eCheck service. | [optional] **Currency** | **string** | Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). # For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional] **DateOfBirth** | **DateTime?** | Date of birth of the customer. Format: YYYY-MM-DD | [optional] -**PersonalIdentification** | [**List<Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] +**PersonalIdentification** | [**List<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md index 78a0c555..cd2869f7 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md similarity index 56% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md index 81ba8b86..c3cc81fa 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification.md @@ -1,11 +1,11 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | **string** | The value of the identification type. | [optional] **Type** | **string** | The type of the identification. Possible Values: - driver license | [optional] -**IssuedBy** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy**](Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md) | | [optional] +**IssuedBy** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md similarity index 91% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md index 8eba2b88..986f8cf8 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCard.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCard +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard ## Properties Name | Type | Description | Notes @@ -11,7 +11,7 @@ Name | Type | Description | Notes **StartYear** | **string** | Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`. **Note** The start date is not required for Maestro (UK Domestic) transactions. | [optional] **UseAs** | **string** | 'Payment Instrument was created / updated as part of a pinless debit transaction.' | [optional] **Hash** | **string** | Hash value representing the card. | [optional] -**TokenizedInformation** | [**Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation**](Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md) | | [optional] +**TokenizedInformation** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md similarity index 89% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md index db694fe0..90d12777 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCardTokenizedInformation ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md similarity index 80% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md index 4695218d..959495f6 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md similarity index 77% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md index d6b7b7fb..3781596e 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md new file mode 100644 index 00000000..0ee23f2b --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md) | | [optional] +**Customer** | [**Tmsv2tokenizeTokenInformationCustomerLinksSelf**](Tmsv2tokenizeTokenInformationCustomerLinksSelf.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md similarity index 77% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md index 2d4f01a0..0c5dfa06 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentLinksSelf +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinksSelf ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md index 50fe68f0..231abc68 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md new file mode 100644 index 00000000..cb3def50 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress.md @@ -0,0 +1,13 @@ +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddress +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md) | | [optional] +**Id** | **string** | The Id of the Shipping Address Token. | [optional] +**Default** | **bool?** | Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default. | [optional] +**ShipTo** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md) | | [optional] +**Metadata** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md new file mode 100644 index 00000000..e5a057fe --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md) | | [optional] +**Customer** | [**Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer**](Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md similarity index 76% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md index ffeb9b5f..9e776447 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultShippingAddressLinksCustomer +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksCustomer ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md index c5f8a844..d34a9091 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultShippingAddressLinksSelf +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinksSelf ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md similarity index 78% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md index 7eb9753e..0d01ee16 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressMetadata.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultShippingAddressMetadata +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md similarity index 95% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md index b64b5441..9bae6433 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersEmbeddedDefaultShippingAddressShipTo.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersEmbeddedDefaultShippingAddressShipTo +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md new file mode 100644 index 00000000..d395075a --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinks.md @@ -0,0 +1,11 @@ +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [**Tmsv2tokenizeTokenInformationCustomerLinksSelf**](Tmsv2tokenizeTokenInformationCustomerLinksSelf.md) | | [optional] +**PaymentInstruments** | [**Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments**](Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md) | | [optional] +**ShippingAddress** | [**Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress**](Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksPaymentInstruments.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksPaymentInstruments.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md index 916a99bd..ef173f1b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksPaymentInstruments.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersLinksPaymentInstruments +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerLinksPaymentInstruments ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksSelf.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md similarity index 83% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksSelf.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md index 0e12eaaf..21712b59 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksSelf.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksSelf.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersLinksSelf +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerLinksSelf ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksShippingAddress.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md similarity index 81% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksShippingAddress.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md index 99182369..8c565061 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersLinksShippingAddress.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersLinksShippingAddress +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerLinksShippingAddress ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersMerchantDefinedInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md similarity index 95% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersMerchantDefinedInformation.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md index 32d7a066..88f77852 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersMerchantDefinedInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersMerchantDefinedInformation +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersMetadata.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md similarity index 83% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersMetadata.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md index aeec72ea..d8789a52 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersMetadata.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerMetadata.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersMetadata +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerMetadata ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersObjectInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md similarity index 85% rename from cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersObjectInformation.md rename to cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md index cdcc2568..5847df36 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2customersObjectInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizeTokenInformationCustomerObjectInformation.md @@ -1,4 +1,4 @@ -# CyberSource.Model.Tmsv2customersObjectInformation +# CyberSource.Model.Tmsv2tokenizeTokenInformationCustomerObjectInformation ## Properties Name | Type | Description | Notes diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md new file mode 100644 index 00000000..0162cf18 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard.md @@ -0,0 +1,11 @@ +# CyberSource.Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsCard +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Last4** | **string** | The new last 4 digits of the card number associated to the Tokenized Card. | [optional] +**ExpirationMonth** | **string** | The new two-digit month of the card associated to the Tokenized Card. Format: `MM`. Possible Values: `01` through `12`. | [optional] +**ExpirationYear** | **string** | The new four-digit year of the card associated to the Tokenized Card. Format: `YYYY`. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md new file mode 100644 index 00000000..7640d7b3 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadata +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CardArt** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md new file mode 100644 index 00000000..18a948b8 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArt +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CombinedAsset** | [**Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset**](Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md new file mode 100644 index 00000000..2504768a --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Tmsv2tokenizedcardstokenizedCardIdissuerlifecycleeventsimulationsMetadataCardArtCombinedAsset +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Update** | **string** | Set to \"true\" to simulate an update to the combined card art asset associated with the Tokenized Card. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenApi.md index 7f841676..e6d8eb6d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **GetCardArtAsset** -> InlineResponse200 GetCardArtAsset (string instrumentIdentifierId, string tokenProvider, string assetType) +> InlineResponse2001 GetCardArtAsset (string instrumentIdentifierId, string tokenProvider, string assetType) Retrieve Card Art @@ -38,7 +38,7 @@ namespace Example try { // Retrieve Card Art - InlineResponse200 result = apiInstance.GetCardArtAsset(instrumentIdentifierId, tokenProvider, assetType); + InlineResponse2001 result = apiInstance.GetCardArtAsset(instrumentIdentifierId, tokenProvider, assetType); Debug.WriteLine(result); } catch (Exception e) @@ -60,7 +60,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse200**](InlineResponse200.md) +[**InlineResponse2001**](InlineResponse2001.md) ### Authorization diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenizeApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenizeApi.md new file mode 100644 index 00000000..66864d7c --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenizeApi.md @@ -0,0 +1,72 @@ +# CyberSource.Api.TokenizeApi + +All URIs are relative to *https://apitest.cybersource.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Tokenize**](TokenizeApi.md#tokenize) | **POST** /tms/v2/tokenize | Tokenize + + + +# **Tokenize** +> InlineResponse200 Tokenize (PostTokenizeRequest postTokenizeRequest, string profileId = null) + +Tokenize + +| | | | | - -- | - -- | - -- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.|      |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.
In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class TokenizeExample + { + public void main() + { + var apiInstance = new TokenizeApi(); + var postTokenizeRequest = new PostTokenizeRequest(); // PostTokenizeRequest | + var profileId = profileId_example; // string | The Id of a profile containing user specific TMS configuration. (optional) + + try + { + // Tokenize + InlineResponse200 result = apiInstance.Tokenize(postTokenizeRequest, profileId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling TokenizeApi.Tokenize: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **postTokenizeRequest** | [**PostTokenizeRequest**](PostTokenizeRequest.md)| | + **profileId** | **string**| The Id of a profile containing user specific TMS configuration. | [optional] + +### Return type + +[**InlineResponse200**](InlineResponse200.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenizedCardApi.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenizedCardApi.md index cbea8b19..477b3b6b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenizedCardApi.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/TokenizedCardApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**DeleteTokenizedCard**](TokenizedCardApi.md#deletetokenizedcard) | **DELETE** /tms/v2/tokenized-cards/{tokenizedCardId} | Delete a Tokenized Card [**GetTokenizedCard**](TokenizedCardApi.md#gettokenizedcard) | **GET** /tms/v2/tokenized-cards/{tokenizedCardId} | Retrieve a Tokenized Card +[**PostIssuerLifeCycleSimulation**](TokenizedCardApi.md#postissuerlifecyclesimulation) | **POST** /tms/v2/tokenized-cards/{tokenizedCardId}/issuer-life-cycle-event-simulations | Simulate Issuer Life Cycle Management Events [**PostTokenizedCard**](TokenizedCardApi.md#posttokenizedcard) | **POST** /tms/v2/tokenized-cards | Create a Tokenized Card @@ -134,6 +135,70 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **PostIssuerLifeCycleSimulation** +> void PostIssuerLifeCycleSimulation (string profileId, string tokenizedCardId, PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest) + +Simulate Issuer Life Cycle Management Events + +**Lifecycle Management Events**
Simulates an issuer life cycle manegement event for updates on the tokenized card. The events that can be simulated are: - Token status changes (e.g. active, suspended, deleted) - Updates to the underlying card, including card art changes, expiration date changes, and card number suffix. **Note:** This is only available in CAS environment. + +### Example +```csharp +using System; +using System.Diagnostics; +using CyberSource.Api; +using CyberSource.Client; +using CyberSource.Model; + +namespace Example +{ + public class PostIssuerLifeCycleSimulationExample + { + public void main() + { + var apiInstance = new TokenizedCardApi(); + var profileId = profileId_example; // string | The Id of a profile containing user specific TMS configuration. + var tokenizedCardId = tokenizedCardId_example; // string | The Id of a tokenized card. + var postIssuerLifeCycleSimulationRequest = new PostIssuerLifeCycleSimulationRequest(); // PostIssuerLifeCycleSimulationRequest | + + try + { + // Simulate Issuer Life Cycle Management Events + apiInstance.PostIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest); + } + catch (Exception e) + { + Debug.Print("Exception when calling TokenizedCardApi.PostIssuerLifeCycleSimulation: " + e.Message ); + } + } + } +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **profileId** | **string**| The Id of a profile containing user specific TMS configuration. | + **tokenizedCardId** | **string**| The Id of a tokenized card. | + **postIssuerLifeCycleSimulationRequest** | [**PostIssuerLifeCycleSimulationRequest**](PostIssuerLifeCycleSimulationRequest.md)| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json;charset=utf-8 + - **Accept**: application/json;charset=utf-8 + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **PostTokenizedCard** > TokenizedcardRequest PostTokenizedCard (TokenizedcardRequest tokenizedcardRequest, string profileId = null) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/UpdateSubscription.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/UpdateSubscription.md index 49447c5c..0ff2fd0f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/UpdateSubscription.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/UpdateSubscription.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientReferenceInformation** | [**Rbsv1subscriptionsClientReferenceInformation**](Rbsv1subscriptionsClientReferenceInformation.md) | | [optional] +**ClientReferenceInformation** | [**GetAllSubscriptionsResponseClientReferenceInformation**](GetAllSubscriptionsResponseClientReferenceInformation.md) | | [optional] **ProcessingInformation** | [**Rbsv1subscriptionsProcessingInformation**](Rbsv1subscriptionsProcessingInformation.md) | | [optional] **PlanInformation** | [**Rbsv1subscriptionsidPlanInformation**](Rbsv1subscriptionsidPlanInformation.md) | | [optional] **SubscriptionInformation** | [**Rbsv1subscriptionsidSubscriptionInformation**](Rbsv1subscriptionsidSubscriptionInformation.md) | | [optional] diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsData.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsData.md index ec2d99f0..c158a23a 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsData.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsData.md @@ -11,6 +11,8 @@ Name | Type | Description | Notes **ProcessingInformation** | [**Upv1capturecontextsDataProcessingInformation**](Upv1capturecontextsDataProcessingInformation.md) | | [optional] **RecipientInformation** | [**Upv1capturecontextsDataRecipientInformation**](Upv1capturecontextsDataRecipientInformation.md) | | [optional] **MerchantDefinedInformation** | [**Upv1capturecontextsDataMerchantDefinedInformation**](Upv1capturecontextsDataMerchantDefinedInformation.md) | | [optional] +**DeviceInformation** | [**Upv1capturecontextsDataDeviceInformation**](Upv1capturecontextsDataDeviceInformation.md) | | [optional] +**PaymentInformation** | [**Upv1capturecontextsDataPaymentInformation**](Upv1capturecontextsDataPaymentInformation.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataBuyerInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataBuyerInformation.md index cdf4f9f6..6ebe1a2c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataBuyerInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataBuyerInformation.md @@ -4,8 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PersonalIdentification** | [**Upv1capturecontextsDataBuyerInformationPersonalIdentification**](Upv1capturecontextsDataBuyerInformationPersonalIdentification.md) | | [optional] -**MerchantCustomerId** | **string** | | [optional] -**CompanyTaxId** | **string** | | [optional] +**MerchantCustomerId** | **string** | The Merchant Customer ID | [optional] +**CompanyTaxId** | **string** | The Company Tax ID | [optional] +**DateOfBirth** | **string** | The date of birth | [optional] +**Language** | **string** | The preferred language | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md index 65961281..0e3cc29c 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataBuyerInformationPersonalIdentification.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Cpf** | **string** | | [optional] +**Cpf** | **string** | CPF Number (Brazil). Must be 11 digits in length. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md index 295bcfbe..55fb958d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataConsumerAuthenticationInformation.md @@ -3,8 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ChallengeCode** | **string** | | [optional] -**MessageCategory** | **string** | | [optional] +**ChallengeCode** | **string** | The challenge code | [optional] +**MessageCategory** | **string** | The message category | [optional] +**AcsWindowSize** | **string** | The acs window size | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataDeviceInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataDeviceInformation.md new file mode 100644 index 00000000..bd16840f --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataDeviceInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Upv1capturecontextsDataDeviceInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IpAddress** | **string** | The IP Address | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md index ab569f39..c16c4aa3 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataMerchantInformationMerchantDescriptor.md @@ -4,6 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | The name of the merchant | [optional] +**AlternateName** | **string** | The alternate name of the merchant | [optional] +**Locality** | **string** | The locality of the merchant | [optional] +**Phone** | **string** | The phone number of the merchant | [optional] +**Country** | **string** | The country code of the merchant | [optional] +**PostalCode** | **string** | The postal code of the merchant | [optional] +**AdministrativeArea** | **string** | The administrative area of the merchant | [optional] +**Address1** | **string** | The first line of the merchant's address | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformation.md index b9fead95..7e30fbf6 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **BillTo** | [**Upv1capturecontextsDataOrderInformationBillTo**](Upv1capturecontextsDataOrderInformationBillTo.md) | | [optional] **ShipTo** | [**Upv1capturecontextsDataOrderInformationShipTo**](Upv1capturecontextsDataOrderInformationShipTo.md) | | [optional] **LineItems** | [**Upv1capturecontextsDataOrderInformationLineItems**](Upv1capturecontextsDataOrderInformationLineItems.md) | | [optional] +**InvoiceDetails** | [**Upv1capturecontextsDataOrderInformationInvoiceDetails**](Upv1capturecontextsDataOrderInformationInvoiceDetails.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md index 125e0e92..3909b031 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationAmountDetails.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **SubTotalAmount** | **string** | This field defines the sub total amount applicable to the order. | [optional] **ServiceFeeAmount** | **string** | This field defines the service fee amount applicable to the order. | [optional] **TaxAmount** | **string** | This field defines the tax amount applicable to the order. | [optional] +**TaxDetails** | [**Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails**](Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md new file mode 100644 index 00000000..a48c107c --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Upv1capturecontextsDataOrderInformationAmountDetailsTaxDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TaxId** | **string** | This field defines the tax identifier/registration number | [optional] +**Type** | **string** | This field defines the Tax type code (N=National, S=State, L=Local etc) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md new file mode 100644 index 00000000..056290f4 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationInvoiceDetails.md @@ -0,0 +1,10 @@ +# CyberSource.Model.Upv1capturecontextsDataOrderInformationInvoiceDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**InvoiceNumber** | **string** | Invoice number | [optional] +**ProductDescription** | **string** | Product description | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItems.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItems.md index 737bb46c..ecaddde2 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItems.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItems.md @@ -3,37 +3,37 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProductCode** | **string** | | [optional] -**ProductName** | **string** | | [optional] -**ProductSku** | **string** | | [optional] -**Quantity** | **int?** | | [optional] -**UnitPrice** | **string** | | [optional] -**UnitOfMeasure** | **string** | | [optional] -**TotalAmount** | **string** | | [optional] -**TaxAmount** | **string** | | [optional] -**TaxRate** | **string** | | [optional] -**TaxAppliedAfterDiscount** | **string** | | [optional] -**TaxStatusIndicator** | **string** | | [optional] -**TaxTypeCode** | **string** | | [optional] -**AmountIncludesTax** | **bool?** | | [optional] -**TypeOfSupply** | **string** | | [optional] -**CommodityCode** | **string** | | [optional] -**DiscountAmount** | **string** | | [optional] -**DiscountApplied** | **bool?** | | [optional] -**DiscountRate** | **string** | | [optional] -**InvoiceNumber** | **string** | | [optional] +**ProductCode** | **string** | Code identifying the product. | [optional] +**ProductName** | **string** | Name of the product. | [optional] +**ProductSku** | **string** | Stock Keeping Unit identifier | [optional] +**Quantity** | **int?** | Quantity of the product | [optional] +**UnitPrice** | **string** | Price per unit | [optional] +**UnitOfMeasure** | **string** | Unit of measure (e.g. EA, KG, LB) | [optional] +**TotalAmount** | **string** | Total amount for the line item | [optional] +**TaxAmount** | **string** | Tax amount applied | [optional] +**TaxRate** | **string** | Tax rate applied | [optional] +**TaxAppliedAfterDiscount** | **string** | Indicates if tax applied after discount | [optional] +**TaxStatusIndicator** | **string** | Tax status indicator | [optional] +**TaxTypeCode** | **string** | Tax type code | [optional] +**AmountIncludesTax** | **bool?** | Indicates if amount includes tax | [optional] +**TypeOfSupply** | **string** | Type of supply | [optional] +**CommodityCode** | **string** | Commodity code | [optional] +**DiscountAmount** | **string** | Discount amount applied | [optional] +**DiscountApplied** | **bool?** | Indicates if discount applied | [optional] +**DiscountRate** | **string** | Discount rate applied | [optional] +**InvoiceNumber** | **string** | Invoice number for the line item | [optional] **TaxDetails** | [**Upv1capturecontextsDataOrderInformationLineItemsTaxDetails**](Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md) | | [optional] -**FulfillmentType** | **string** | | [optional] -**Weight** | **string** | | [optional] -**WeightIdentifier** | **string** | | [optional] -**WeightUnit** | **string** | | [optional] -**ReferenceDataCode** | **string** | | [optional] -**ReferenceDataNumber** | **string** | | [optional] -**UnitTaxAmount** | **string** | | [optional] -**ProductDescription** | **string** | | [optional] -**GiftCardCurrency** | **string** | | [optional] -**ShippingDestinationTypes** | **string** | | [optional] -**Gift** | **bool?** | | [optional] +**FulfillmentType** | **string** | Fulfillment type | [optional] +**Weight** | **string** | Weight of the product | [optional] +**WeightIdentifier** | **string** | Weight identifier | [optional] +**WeightUnit** | **string** | Unit of weight of the product | [optional] +**ReferenceDataCode** | **string** | Reference data code | [optional] +**ReferenceDataNumber** | **string** | Reference data number | [optional] +**UnitTaxAmount** | **string** | Unit tax amount | [optional] +**ProductDescription** | **string** | Description of the product | [optional] +**GiftCardCurrency** | **string** | Gift card currency | [optional] +**ShippingDestinationTypes** | **string** | Shipping destination types | [optional] +**Gift** | **bool?** | Indicates if item is a gift | [optional] **Passenger** | [**Upv1capturecontextsDataOrderInformationLineItemsPassenger**](Upv1capturecontextsDataOrderInformationLineItemsPassenger.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md index 4dbd7dfe..a14a87f0 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItemsPassenger.md @@ -3,14 +3,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Type** | **string** | | [optional] -**Status** | **string** | | [optional] -**Phone** | **string** | | [optional] -**FirstName** | **string** | | [optional] -**LastName** | **string** | | [optional] -**Id** | **string** | | [optional] -**Email** | **string** | | [optional] -**Nationality** | **string** | | [optional] +**Type** | **string** | Passenger type | [optional] +**Status** | **string** | Passenger status | [optional] +**Phone** | **string** | Passenger phone number | [optional] +**FirstName** | **string** | Passenger first name | [optional] +**LastName** | **string** | Passenger last name | [optional] +**Id** | **string** | Passenger ID | [optional] +**Email** | **string** | Passenger email | [optional] +**Nationality** | **string** | Passenger nationality | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md index 4aebe088..cdd65411 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataOrderInformationLineItemsTaxDetails.md @@ -3,13 +3,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Type** | **string** | | [optional] -**Amount** | **string** | | [optional] -**Rate** | **string** | | [optional] -**Code** | **string** | | [optional] -**TaxId** | **string** | | [optional] -**Applied** | **bool?** | | [optional] -**ExemptionCode** | **string** | | [optional] +**Type** | **string** | Type of tax | [optional] +**Amount** | **string** | Tax amount | [optional] +**Rate** | **string** | Tax rate | [optional] +**Code** | **string** | Tax code | [optional] +**TaxId** | **string** | Tax Identifier | [optional] +**Applied** | **bool?** | Indicates if tax applied | [optional] +**ExemptionCode** | **string** | Tax exemption code | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataPaymentInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataPaymentInformation.md new file mode 100644 index 00000000..408a6674 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataPaymentInformation.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Upv1capturecontextsDataPaymentInformation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Card** | [**Upv1capturecontextsDataPaymentInformationCard**](Upv1capturecontextsDataPaymentInformationCard.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataPaymentInformationCard.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataPaymentInformationCard.md new file mode 100644 index 00000000..c9ffd823 --- /dev/null +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataPaymentInformationCard.md @@ -0,0 +1,9 @@ +# CyberSource.Model.Upv1capturecontextsDataPaymentInformationCard +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TypeSelectionIndicator** | **string** | The card type selection indicator | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformation.md index 125ef944..af716cfd 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformation.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ReconciliationId** | **string** | | [optional] +**ReconciliationId** | **string** | The reconciliation ID | [optional] **AuthorizationOptions** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptions**](Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md index 37a1ff09..d0dcde2d 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptions.md @@ -3,9 +3,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**AftIndicator** | **bool?** | | [optional] +**AftIndicator** | **bool?** | The AFT indicator | [optional] +**AuthIndicator** | **string** | The authorization indicator | [optional] +**IgnoreCvResult** | **bool?** | Ignore the CV result | [optional] +**IgnoreAvsResult** | **bool?** | Ignore the AVS result | [optional] **Initiator** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator**](Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md) | | [optional] -**BusinessApplicationId** | **string** | | [optional] +**BusinessApplicationId** | **string** | The business application Id | [optional] +**CommerceIndicator** | **string** | The commerce indicator | [optional] +**ProcessingInstruction** | **string** | The processing instruction | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md index d77b63b6..77bb8129 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiator.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CredentialStoredOnFile** | **bool?** | | [optional] +**CredentialStoredOnFile** | **bool?** | Store the credential on file | [optional] **MerchantInitiatedTransaction** | [**Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction**](Upv1capturecontextsDataProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataRecipientInformation.md b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataRecipientInformation.md index 763a2ae2..071e13b6 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataRecipientInformation.md +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/docs/Upv1capturecontextsDataRecipientInformation.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **AccountId** | **string** | The account ID of the recipient | [optional] **AdministrativeArea** | **string** | The administrative area of the recipient | [optional] **AccountType** | **string** | The account type of the recipient | [optional] +**DateOfBirth** | **string** | The date of birth of the recipient | [optional] +**PostalCode** | **string** | The postal code of the recipient | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/generator/cybersource-rest-spec-netstandard.json b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/generator/cybersource-rest-spec-netstandard.json index 9db4d9e0..b974731b 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/generator/cybersource-rest-spec-netstandard.json +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/generator/cybersource-rest-spec-netstandard.json @@ -65,6 +65,10 @@ "name": "payment-tokens", "description": "A payment-tokens is a service that is used for retrieving vault details or deleting vault id/payment method.\n" }, + { + "name": "Tokenize", + "description": "An orchestration resource used to combine multiple API calls into a single request.\n" + }, { "name": "Customer", "description": "A Customer can be linked to multiple Payment Instruments and Shipping Addresses.\nWith one Payment Instrument and Shipping Address designated as the default.\nIt stores merchant reference information for the Customer such as email and merchant defined data.\n" @@ -85,6 +89,10 @@ "name": "Instrument Identifier", "description": "An Instrument Identifier represents a unique card number(PAN) or bank account (echeck).\nIt can also be associated with a Network Token that can be used for payment transactions.\n" }, + { + "name": "Tokenized Card", + "description": "A Tokenized Card represents a Network Token that can be used for payment transactions.\n" + }, { "name": "Token", "description": "Token resources can act on different token types such as Customers, Payment Instruments or Instrument Identifiers.\n" @@ -3135,6 +3143,11 @@ "type": "string", "maxLength": 10, "description": "Acquirer country." + }, + "serviceProvidername": { + "type": "string", + "maxLength": 50, + "description": "Contains transfer service provider name." } } }, @@ -47498,10 +47511,10 @@ } } }, - "/tms/v2/customers": { + "/tms/v2/tokenize": { "post": { - "summary": "Create a Customer", - "description": "| | | |\n| --- | --- | --- |\n|**Customers**
A Customer represents your tokenized customer information.
You should associate the Customer Id with the customer account on your systems.
A Customer can have one or more [Payment Instruments](#token-management_customer-payment-instrument_create-a-customer-payment-instrumentl) or [Shipping Addresses](#token-management_customer-shipping-address_create-a-customer-shipping-address) with one allocated as the Customers default.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

\n\nThis is an optional field,\n" + }, "captureMandate": { "type": "object", "properties": { @@ -151705,6 +156230,23 @@ "type": "string", "example": 10, "description": "This field defines the tax amount applicable to the order.\n" + }, + "taxDetails": { + "type": "object", + "properties": { + "taxId": { + "type": "string", + "example": 1234, + "maxLength": 20, + "description": "This field defines the tax identifier/registration number\n" + }, + "type": { + "type": "string", + "example": "N", + "maxLength": 1, + "description": "This field defines the Tax type code (N=National, S=State, L=Local etc)\n" + } + } } } }, @@ -151971,188 +156513,225 @@ "productCode": { "type": "string", "maxLength": 255, - "example": "electronics" + "example": "electronics", + "description": "Code identifying the product." }, "productName": { "type": "string", "maxLength": 255, - "example": "smartphone" + "example": "smartphone", + "description": "Name of the product." }, "productSku": { "type": "string", "maxLength": 255, - "example": "SKU12345" + "example": "SKU12345", + "description": "Stock Keeping Unit identifier" }, "quantity": { "type": "integer", "minimum": 1, "maximum": 999999999, "default": 1, - "example": 2 + "example": 2, + "description": "Quantity of the product" }, "unitPrice": { "type": "string", "maxLength": 15, - "example": "399.99" + "example": "399.99", + "description": "Price per unit" }, "unitOfMeasure": { "type": "string", "maxLength": 12, - "example": "EA" + "example": "EA", + "description": "Unit of measure (e.g. EA, KG, LB)" }, "totalAmount": { "type": "string", "maxLength": 13, - "example": "799.98" + "example": "799.98", + "description": "Total amount for the line item" }, "taxAmount": { "type": "string", "maxLength": 15, - "example": "64.00" + "example": "64.00", + "description": "Tax amount applied" }, "taxRate": { "type": "string", "maxLength": 7, - "example": "0.88" + "example": "0.88", + "description": "Tax rate applied" }, "taxAppliedAfterDiscount": { "type": "string", "maxLength": 1, - "example": "Y" + "example": "Y", + "description": "Indicates if tax applied after discount" }, "taxStatusIndicator": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Tax status indicator" }, "taxTypeCode": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax type code" }, "amountIncludesTax": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if amount includes tax" }, "typeOfSupply": { "type": "string", "maxLength": 2, - "example": "GS" + "example": "GS", + "description": "Type of supply" }, "commodityCode": { "type": "string", "maxLength": 15, - "example": "123456" + "example": "123456", + "description": "Commodity code" }, "discountAmount": { "type": "string", "maxLength": 13, - "example": "10.00" + "example": "10.00", + "description": "Discount amount applied" }, "discountApplied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if discount applied" }, "discountRate": { "type": "string", "maxLength": 6, - "example": "0.05" + "example": "0.05", + "description": "Discount rate applied" }, "invoiceNumber": { "type": "string", "maxLength": 23, - "example": "INV-001" + "example": "INV-001", + "description": "Invoice number for the line item" }, "taxDetails": { "type": "object", "properties": { "type": { "type": "string", - "example": "VAT" + "example": "VAT", + "description": "Type of tax" }, "amount": { "type": "string", "maxLength": 13, - "example": 5.99 + "example": 5.99, + "description": "Tax amount" }, "rate": { "type": "string", "maxLength": 6, - "example": 20 + "example": 20, + "description": "Tax rate" }, "code": { "type": "string", "maxLength": 4, - "example": "VAT" + "example": "VAT", + "description": "Tax code" }, "taxId": { "type": "string", "maxLength": 15, - "example": "TAXID12345" + "example": "TAXID12345", + "description": "Tax Identifier" }, "applied": { "type": "boolean", - "example": true + "example": true, + "description": "Indicates if tax applied" }, "exemptionCode": { "type": "string", "maxLength": 1, - "example": "E" + "example": "E", + "description": "Tax exemption code" } } }, "fulfillmentType": { "type": "string", - "example": "Delivery" + "example": "Delivery", + "description": "Fulfillment type" }, "weight": { "type": "string", "maxLength": 9, - "example": "1.5" + "example": "1.5", + "description": "Weight of the product" }, "weightIdentifier": { "type": "string", "maxLength": 1, - "example": "N" + "example": "N", + "description": "Weight identifier" }, "weightUnit": { "type": "string", "maxLength": 2, - "example": "KG" + "example": "KG", + "description": "Unit of weight of the product" }, "referenceDataCode": { "type": "string", "maxLength": 150, - "example": "REFCODE" + "example": "REFCODE", + "description": "Reference data code" }, "referenceDataNumber": { "type": "string", "maxLength": 30, - "example": "REF123" + "example": "REF123", + "description": "Reference data number" }, "unitTaxAmount": { "type": "string", "maxLength": 15, - "example": "3.20" + "example": "3.20", + "description": "Unit tax amount" }, "productDescription": { "type": "string", "maxLength": 30, - "example": "Latest model smartphone" + "example": "Latest model smartphone", + "description": "Description of the product" }, "giftCardCurrency": { "type": "string", "maxLength": 3, - "example": "USD" + "example": "USD", + "description": "Gift card currency" }, "shippingDestinationTypes": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Shipping destination types" }, "gift": { "type": "boolean", - "example": false + "example": false, + "description": "Indicates if item is a gift" }, "passenger": { "type": "object", @@ -152160,46 +156739,71 @@ "type": { "type": "string", "maxLength": 50, - "example": "Residential" + "example": "Residential", + "description": "Passenger type" }, "status": { "type": "string", "maxLength": 32, - "example": "Gold" + "example": "Gold", + "description": "Passenger status" }, "phone": { "type": "string", "maxLength": 15, - "example": "123456789" + "example": "123456789", + "description": "Passenger phone number" }, "firstName": { "type": "string", "maxLength": 60, - "example": "John" + "example": "John", + "description": "Passenger first name" }, "lastName": { "type": "string", "maxLength": 60, - "example": "Doe" + "example": "Doe", + "description": "Passenger last name" }, "id": { "type": "string", "maxLength": 40, - "example": "AIR1234567" + "example": "AIR1234567", + "description": "Passenger ID" }, "email": { "type": "string", "maxLength": 50, - "example": "john.doe@example.com" + "example": "john.doe@example.com", + "description": "Passenger email" }, "nationality": { "type": "string", "maxLength": 2, - "example": "US" + "example": "US", + "description": "Passenger nationality" } } } } + }, + "invoiceDetails": { + "type": "object", + "properties": { + "invoiceNumber": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Invoice number" + }, + "productDescription": { + "type": "string", + "maxLength": 255, + "example": "electronics", + "description": "Product description" + } + } } } }, @@ -152211,21 +156815,35 @@ "properties": { "cpf": { "type": "string", - "minLength": 11, "maxLength": 11, - "example": "12345678900" + "example": "12345678900", + "description": "CPF Number (Brazil). Must be 11 digits in length.\n" } } }, "merchantCustomerId": { "type": "string", "maxLength": 100, - "example": "M123456767" + "example": "M123456767", + "description": "The Merchant Customer ID\n" }, "companyTaxId": { "type": "string", "maxLength": 9, - "example": "" + "example": "", + "description": "The Company Tax ID\n" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 10, + "example": "12/03/1976", + "description": "The date of birth\n" + }, + "language": { + "type": "string", + "maxLength": 10, + "example": "English", + "description": "The preferred language\n" } } }, @@ -152245,7 +156863,7 @@ "maxLength": 8, "example": "DEV12345" }, - "SolutionId": { + "solutionId": { "type": "string", "maxLength": 8, "example": "SOL1234" @@ -152260,12 +156878,20 @@ "challengeCode": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The challenge code\n" }, "messageCategory": { "type": "string", "maxLength": 2, - "example": "01" + "example": "01", + "description": "The message category\n" + }, + "acsWindowSize": { + "type": "string", + "maxLength": 2, + "example": "01", + "description": "The acs window size\n" } } }, @@ -152277,9 +156903,51 @@ "properties": { "name": { "type": "string", - "maxLength": 22, + "maxLength": 25, "example": "Euro Electronics", "description": "The name of the merchant" + }, + "alternateName": { + "type": "string", + "maxLength": 25, + "example": "Smyth Holdings PLC", + "description": "The alternate name of the merchant" + }, + "locality": { + "type": "string", + "maxLength": 50, + "example": "New York", + "description": "The locality of the merchant" + }, + "phone": { + "type": "string", + "maxLength": 15, + "example": "555-555-123", + "description": "The phone number of the merchant" + }, + "country": { + "type": "string", + "maxLength": 2, + "example": "US", + "description": "The country code of the merchant" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the merchant" + }, + "administrativeArea": { + "type": "string", + "maxLength": 2, + "example": "NY", + "description": "The administrative area of the merchant" + }, + "address1": { + "type": "string", + "maxLength": 60, + "example": "123 47th Street", + "description": "The first line of the merchant's address" } } } @@ -152291,28 +156959,46 @@ "reconciliationId": { "type": "string", "maxLength": 60, - "example": "01234567" + "example": "01234567", + "description": "The reconciliation ID" }, "authorizationOptions": { "type": "object", "properties": { "aftIndicator": { "type": "boolean", - "example": true + "example": true, + "description": "The AFT indicator" + }, + "authIndicator": { + "type": "string", + "example": 1, + "description": "The authorization indicator" + }, + "ignoreCvResult": { + "type": "boolean", + "example": true, + "description": "Ignore the CV result" + }, + "ignoreAvsResult": { + "type": "boolean", + "example": true, + "description": "Ignore the AVS result" }, "initiator": { "type": "object", "properties": { "credentialStoredOnFile": { "type": "boolean", - "example": true + "example": true, + "description": "Store the credential on file" }, "merchantInitiatedTransaction": { "type": "object", "properties": { "reason": { "type": "string", - "maxLength": 1, + "maxLength": 2, "example": 1 } } @@ -152322,7 +157008,20 @@ "businessApplicationId": { "type": "string", "maxLength": 2, - "example": "AA" + "example": "AA", + "description": "The business application Id" + }, + "commerceIndicator": { + "type": "string", + "maxLength": 20, + "example": "INDICATOR", + "description": "The commerce indicator" + }, + "processingInstruction": { + "type": "string", + "maxLength": 50, + "example": "ORDER_SAVED_EXPLICITLY", + "description": "The processing instruction" } } } @@ -152361,14 +157060,26 @@ "administrativeArea": { "type": "string", "maxLength": 2, - "example": "Devon", + "example": "GB", "description": "The administrative area of the recipient" }, "accountType": { "type": "string", "maxLength": 2, - "example": "Checking", + "example": "01", "description": "The account type of the recipient" + }, + "dateOfBirth": { + "type": "string", + "maxLength": 8, + "example": "05111999", + "description": "The date of birth of the recipient" + }, + "postalCode": { + "type": "string", + "maxLength": 10, + "example": "170056", + "description": "The postal code of the recipient" } } }, @@ -152377,20 +157088,50 @@ "properties": { "key": { "type": "string", - "maxLength": 50, + "maxLength": 10, + "example": "1", "description": "The key or identifier for the merchant-defined data field" }, "value": { "type": "string", - "maxLength": 255, + "maxLength": 100, + "example": "123456", "description": "The value associated with the merchant-defined data field" } } + }, + "deviceInformation": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "maxLength": 45, + "example": "192.168.1.1", + "description": "The IP Address" + } + } + }, + "paymentInformation": { + "type": "object", + "properties": { + "card": { + "type": "object", + "properties": { + "typeSelectionIndicator": { + "type": "string", + "maxLength": 1, + "example": "0", + "description": "The card type selection indicator" + } + } + } + } } } }, "orderInformation": { "type": "object", + "description": "If you need to include any fields within the data object, you must use the orderInformation object that is nested inside the data object. This ensures proper structure and compliance with the Unified Checkout schema. This top-level orderInformation field is not intended for use when working with the data object.", "properties": { "amountDetails": { "type": "object", @@ -152674,7 +157415,7 @@ "example0": { "summary": "Generate Unified Checkout Capture Context", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152709,10 +157450,12 @@ "decisionManager": true, "consumerAuthentication": true }, - "orderInformation": { - "amountDetails": { - "totalAmount": "21.00", - "currency": "USD" + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "USD" + } } } } @@ -152720,7 +157463,7 @@ "example1": { "summary": "Generate Unified Checkout Capture Context With Full List of Card Networks", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152784,7 +157527,7 @@ "example2": { "summary": "Generate Unified Checkout Capture Context With Custom Google Payment Options", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152840,7 +157583,7 @@ "example3": { "summary": "Generate Unified Checkout Capture Context With Autocheck Enrollment", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152890,7 +157633,7 @@ "example4": { "summary": "Generate Unified Checkout Capture Context (Opt-out of receiving card number prefix)", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -152941,7 +157684,7 @@ "example5": { "summary": "Generate Unified Checkout Capture Context passing Billing & Shipping", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153036,7 +157779,7 @@ "example6": { "summary": "Generate Unified Checkout Capture Context For Click To Pay Drop-In UI", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153074,7 +157817,7 @@ "example7": { "summary": "Generate Unified Checkout Capture Context ($ Afterpay (US))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153145,7 +157888,7 @@ "example8": { "summary": "Generate Unified Checkout Capture Context (Afterpay (CAN))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153216,7 +157959,7 @@ "example9": { "summary": "Generate Unified Checkout Capture Context (Clearpay (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153289,7 +158032,7 @@ "example10": { "summary": "Generate Unified Checkout Capture Context (Afterpay (AU))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153360,7 +158103,7 @@ "example11": { "summary": "Generate Unified Checkout Capture Context (Afterpay (NZ))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153429,9 +158172,153 @@ "parentTag": "Unified Checkout with Alternate Payments (Buy Now, Pay Later)" }, "example12": { + "summary": "Generate Unified Checkout Capture Context (Bancontact (BE))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "BANCONTACT" + ], + "country": "BE", + "locale": "fr_BE", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "BE", + "NL", + "FR" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "jean.dupont@example.com", + "firstName": "Jean", + "lastName": "Dupont", + "address1": "Avenue Louise 123", + "administrativeArea": "Brussels", + "buildingNumber": 123, + "country": "BE", + "locality": "Brussels", + "postalCode": "1050" + }, + "shipTo": { + "firstName": "Marie", + "lastName": "Dupont", + "address1": "Rue de la Loi 200", + "administrativeArea": "Brussels", + "buildingNumber": 200, + "country": "BE", + "locality": "Brussels", + "postalCode": "1040" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example13": { + "summary": "Generate Unified Checkout Capture Context (DragonPay (PH))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "DRAGONPAY" + ], + "country": "PH", + "locale": "en-PH", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "PH", + "SG", + "MY" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "121.00", + "currency": "PHP" + }, + "billTo": { + "email": "juan.dela.cruz@example.com", + "firstName": "Juan", + "lastName": "Dela Cruz", + "address1": "123 Ayala Avenue", + "administrativeArea": "NCR", + "buildingNumber": 123, + "country": "PH", + "locality": "Makati City", + "postalCode": "1226" + }, + "shipTo": { + "firstName": "Maria", + "lastName": "Dela Cruz", + "address1": "45 Ortigas Center", + "administrativeArea": "NCR", + "buildingNumber": 45, + "country": "PH", + "locality": "Pasig City", + "postalCode": "1605" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example14": { "summary": "Generate Unified Checkout Capture Context (iDEAL (NL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153499,10 +158386,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example13": { + "example15": { "summary": "Generate Unified Checkout Capture Context (Multibanco (PT))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153571,10 +158458,83 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example14": { + "example16": { + "summary": "Generate Unified Checkout Capture Context (MyBank (IT))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "MYBBT" + ], + "country": "IT", + "locale": "it-IT", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "IT", + "ES", + "BE", + "PT" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "EUR" + }, + "billTo": { + "email": "mario.rossi@example.com", + "firstName": "Mario", + "lastName": "Rossi", + "address1": "Via Dante Alighieri 15", + "administrativeArea": "MI", + "buildingNumber": 15, + "country": "IT", + "locality": "Milano", + "postalCode": "20121" + }, + "shipTo": { + "firstName": "Lucia", + "lastName": "Rossi", + "address1": "Corso Vittorio Emanuele II 8", + "administrativeArea": "RM", + "buildingNumber": 8, + "country": "IT", + "locality": "Roma", + "postalCode": "00186" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example17": { "summary": "Generate Unified Checkout Capture Context (Przelewy24|P24 (PL))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153643,10 +158603,10 @@ }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" }, - "example15": { + "example18": { "summary": "Generate Unified Checkout Capture Context (Tink Pay By Bank (GB))", "value": { - "clientVersion": "0.31", + "clientVersion": "0.32", "targetOrigins": [ "https://yourCheckoutPage.com" ], @@ -153712,6 +158672,78 @@ } }, "parentTag": "Unified Checkout with Alternate Payments (Online Bank Transfer)" + }, + "example19": { + "summary": "Generate Unified Checkout Capture Context (Konbini (JP))", + "value": { + "clientVersion": "0.32", + "targetOrigins": [ + "https://yourCheckoutPage.com" + ], + "allowedCardNetworks": [ + "VISA", + "MASTERCARD", + "AMEX" + ], + "allowedPaymentTypes": [ + "APPLEPAY", + "CHECK", + "CLICKTOPAY", + "GOOGLEPAY", + "PANENTRY", + "PAZE", + "KONBINI" + ], + "country": "JP", + "locale": "ja-JP", + "captureMandate": { + "billingType": "FULL", + "requestEmail": true, + "requestPhone": true, + "requestShipping": true, + "shipToCountries": [ + "JP", + "US" + ], + "showAcceptedNetworkIcons": true + }, + "completeMandate": { + "type": "PREFER_AUTH", + "decisionManager": true, + "consumerAuthentication": true + }, + "data": { + "orderInformation": { + "amountDetails": { + "totalAmount": "21.00", + "currency": "JPY" + }, + "billTo": { + "email": "taro.suzuki@example.jp", + "firstName": "Taro", + "lastName": "Suzuki", + "address1": "1-9-1 Marunouchi", + "administrativeArea": "Tokyo", + "buildingNumber": 1, + "country": "JP", + "locality": "Chiyoda-ku", + "postalCode": "100-0005", + "phoneNumber": "0312345678" + }, + "shipTo": { + "firstName": "Hanako", + "lastName": "Suzuki", + "address1": "3-1-1 Umeda", + "administrativeArea": "Osaka", + "buildingNumber": 3, + "country": "JP", + "locality": "Kita-ku", + "postalCode": "530-0001" + } + } + } + }, + "parentTag": "Unified Checkout with Alternate Payments (Post-Pay Reference)" } }, "responses": { @@ -155215,7 +160247,7 @@ "authorizationType": [ "Json Web Token" ], - "overrideMerchantCredential": "echecktestdevcenter001", + "overrideMerchantCredential": "apiref_chase", "SDK_ONLY_AddDisclaimer": true }, "consumes": [ From c1422e8b088cd16858d2df8a1bef0dc87cb2f0e9 Mon Sep 17 00:00:00 2001 From: "Goel, Aastvik" Date: Mon, 24 Nov 2025 12:35:52 +0530 Subject: [PATCH 5/7] updated auth and client versions for nov25 release --- .../AuthenticationSdk/AuthenticationSdk.csproj | 2 +- .../cybersource-rest-client-netstandard.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj index 2dff2cbb..dd847da4 100644 --- a/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj +++ b/cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj @@ -3,7 +3,7 @@ netstandard2.1 true - 0.0.1.19 + 0.0.1.20 CyberSource Authentication_SDK diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj index 389f6824..75e7ffb6 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.csproj @@ -3,7 +3,7 @@ netstandard2.1 CyberSource - 0.0.1.50 + 0.0.1.51 CyberSource CyberSource A library generated from a Swagger doc @@ -25,7 +25,7 @@ - + From 63205d3ce649b8025ea94543afeef10e83604a53 Mon Sep 17 00:00:00 2001 From: "Goel, Aastvik" Date: Mon, 24 Nov 2025 13:55:38 +0530 Subject: [PATCH 6/7] fixed SdkTracker --- .../Utilities/Tracking/SdkTracker.cs | 72 +++++++++---------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/Tracking/SdkTracker.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/Tracking/SdkTracker.cs index fd21b361..901b70ba 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/Tracking/SdkTracker.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/Tracking/SdkTracker.cs @@ -228,20 +228,20 @@ public object InsertDeveloperIdTracker(object requestObj, string requestClass, s case "CreatePlanRequest": CreatePlanRequest createPlanRequest = (CreatePlanRequest)requestObj; - if (createPlanRequest.ClientReferenceInformation == null) - { - createPlanRequest.ClientReferenceInformation = new Rbsv1plansClientReferenceInformation(); - } + //if (createPlanRequest.ClientReferenceInformation == null) + //{ + // createPlanRequest.ClientReferenceInformation = new Rbsv1plansClientReferenceInformation(); + //} - if (createPlanRequest.ClientReferenceInformation.Partner == null) - { - createPlanRequest.ClientReferenceInformation.Partner = new Riskv1decisionsClientReferenceInformationPartner(); - } + //if (createPlanRequest.ClientReferenceInformation.Partner == null) + //{ + // createPlanRequest.ClientReferenceInformation.Partner = new Riskv1decisionsClientReferenceInformationPartner(); + //} - if (createPlanRequest.ClientReferenceInformation.Partner.DeveloperId == null) - { - createPlanRequest.ClientReferenceInformation.Partner.DeveloperId = developerIdValue; - } + //if (createPlanRequest.ClientReferenceInformation.Partner.DeveloperId == null) + //{ + // createPlanRequest.ClientReferenceInformation.Partner.DeveloperId = developerIdValue; + //} return createPlanRequest; case "RefundCaptureRequest": @@ -323,39 +323,39 @@ public object InsertDeveloperIdTracker(object requestObj, string requestClass, s case "CreateSubscriptionRequest": CreateSubscriptionRequest createSubscriptionRequest = (CreateSubscriptionRequest)requestObj; - if (createSubscriptionRequest.ClientReferenceInformation == null) - { - createSubscriptionRequest.ClientReferenceInformation = new Rbsv1subscriptionsClientReferenceInformation(); - } + //if (createSubscriptionRequest.ClientReferenceInformation == null) + //{ + // createSubscriptionRequest.ClientReferenceInformation = new Rbsv1subscriptionsClientReferenceInformation(); + //} - if (createSubscriptionRequest.ClientReferenceInformation.Partner == null) - { - createSubscriptionRequest.ClientReferenceInformation.Partner = new Rbsv1subscriptionsClientReferenceInformationPartner(); - } + //if (createSubscriptionRequest.ClientReferenceInformation.Partner == null) + //{ + // createSubscriptionRequest.ClientReferenceInformation.Partner = new Rbsv1subscriptionsClientReferenceInformationPartner(); + //} - if (createSubscriptionRequest.ClientReferenceInformation.Partner.DeveloperId == null) - { - createSubscriptionRequest.ClientReferenceInformation.Partner.DeveloperId = developerIdValue; - } + //if (createSubscriptionRequest.ClientReferenceInformation.Partner.DeveloperId == null) + //{ + // createSubscriptionRequest.ClientReferenceInformation.Partner.DeveloperId = developerIdValue; + //} return createSubscriptionRequest; case "UpdateSubscription": UpdateSubscription updateSubscription = (UpdateSubscription)requestObj; - if (updateSubscription.ClientReferenceInformation == null) - { - updateSubscription.ClientReferenceInformation = new Rbsv1subscriptionsClientReferenceInformation(); - } + //if (updateSubscription.ClientReferenceInformation == null) + //{ + // updateSubscription.ClientReferenceInformation = new Rbsv1subscriptionsClientReferenceInformation(); + //} - if (updateSubscription.ClientReferenceInformation.Partner == null) - { - updateSubscription.ClientReferenceInformation.Partner = new Rbsv1subscriptionsClientReferenceInformationPartner(); - } + //if (updateSubscription.ClientReferenceInformation.Partner == null) + //{ + // updateSubscription.ClientReferenceInformation.Partner = new Rbsv1subscriptionsClientReferenceInformationPartner(); + //} - if (updateSubscription.ClientReferenceInformation.Partner.DeveloperId == null) - { - updateSubscription.ClientReferenceInformation.Partner.DeveloperId = developerIdValue; - } + //if (updateSubscription.ClientReferenceInformation.Partner.DeveloperId == null) + //{ + // updateSubscription.ClientReferenceInformation.Partner.DeveloperId = developerIdValue; + //} return updateSubscription; case "TaxRequest": From 5b32f613c3b9bf296c8feee43d2ce735e7aa4e9e Mon Sep 17 00:00:00 2001 From: "Goel, Aastvik" Date: Thu, 27 Nov 2025 14:15:09 +0530 Subject: [PATCH 7/7] always verify the JWT signature --- .../Utilities/CaptureContext/CaptureContextParsingUtility.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs index a67a0707..44db384f 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Utilities/CaptureContext/CaptureContextParsingUtility.cs @@ -10,8 +10,9 @@ namespace CyberSource.Utilities.CaptureContext { public static class CaptureContextParsingUtility { - public static JObject parseCaptureContextResponse(string jwtToken, Configuration config, bool verifyJWT) + public static JObject parseCaptureContextResponse(string jwtToken, Configuration config) { + bool verifyJWT = true; // Parse JWT Token for any malformations string payLoad = JWTUtility.Parse(jwtToken);