diff --git a/Client/Configuration.cs b/Client/Configuration.cs
index da0fbeb4..7a2785f2 100644
--- a/Client/Configuration.cs
+++ b/Client/Configuration.cs
@@ -172,16 +172,10 @@ public void SetApiClientUsingDefault (ApiClient apiClient = null)
{
if (apiClient == null)
{
- if (Default != null && Default.ApiClient == null)
- Default.ApiClient = new ApiClient();
-
- ApiClient = Default != null ? Default.ApiClient : new ApiClient();
+ ApiClient = new ApiClient();
}
else
{
- if (Default != null && Default.ApiClient == null)
- Default.ApiClient = apiClient;
-
ApiClient = apiClient;
}
}
diff --git a/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.cs b/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.cs
index 57a7f400..5c44cd0a 100644
--- a/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.cs
+++ b/Model/Ptsv2paymentsMerchantInformationMerchantDescriptor.cs
@@ -41,7 +41,7 @@ public partial class Ptsv2paymentsMerchantInformationMerchantDescriptor : IEqua
/// Merchant's country. #### PIN debit Country code for your business location. Use the [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) This value might be displayed on the cardholder’s statement. When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** If your business is located in the U.S. or Canada and you include this field in a request, you must also include `merchantInformation.merchantDescriptor.administrativeArea`. Optional field for PIN debit credit or PIN debit purchase. .
/// Merchant's postal code. #### PIN debit Postal code for your business location. This value might be displayed on the cardholder’s statement. If your business is domiciled in the U.S., you can use a 5-digit or 9-digit postal code. A 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example: `12345-6789` If your business is domiciled in Canada, you can use a 6-digit or 9-digit postal code. A 6-digit postal code must follow this format: [alpha][numeric][alpha][space] [numeric][alpha][numeric] Example: `A1B 2C3` When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. **Important** Mastercard requires a postal code for any country that uses postal codes. You can provide the postal code in your account or you can include this field in your request. Optional field for PIN debit credit or PIN debit purchase. .
/// The state where the merchant is located. #### PIN debit State code or region code for your business. Use the Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) This value might be displayed on the cardholder’s statement. When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. Optional field for PIN debit credit or PIN debit purchase. .
- /// Merchnat phone as contact information for CNP transactions .
+ /// Merchant phone as contact information for CNP transactions .
/// Address of company's website provided by merchant .
public Ptsv2paymentsMerchantInformationMerchantDescriptor(string Name = default(string), string AlternateName = default(string), string Contact = default(string), string Address1 = default(string), string Locality = default(string), string Country = default(string), string PostalCode = default(string), string AdministrativeArea = default(string), string Phone = default(string), string Url = default(string))
{
@@ -114,9 +114,9 @@ public partial class Ptsv2paymentsMerchantInformationMerchantDescriptor : IEqua
public string AdministrativeArea { get; set; }
///
- /// Merchnat phone as contact information for CNP transactions
+ /// Merchant phone as contact information for CNP transactions
///
- /// Merchnat phone as contact information for CNP transactions
+ /// Merchant phone as contact information for CNP transactions
[DataMember(Name="phone", EmitDefaultValue=false)]
public string Phone { get; set; }
diff --git a/Model/TssV2TransactionsGet200Response.cs b/Model/TssV2TransactionsGet200Response.cs
index dae81379..39693a03 100644
--- a/Model/TssV2TransactionsGet200Response.cs
+++ b/Model/TssV2TransactionsGet200Response.cs
@@ -37,7 +37,6 @@ public partial class TssV2TransactionsGet200Response : IEquatableContains the transaction identifier for the first transaction in the series of transactions. For example, you might send an authorization request for a payment, followed by a capture request for that payment, and then a refund request for that captured payment. Each of those requests, if successful, creates a resource that is assigned an identifier, which is returned in the response. The rootId identifies the first ID in the series, which in this case would be the ID of the original authorization..
/// Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response. .
/// Your CyberSource merchant ID..
- /// The status of the submitted transaction..
/// 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. .
/// ApplicationInformation.
/// BuyerInformation.
@@ -57,14 +56,14 @@ public partial class TssV2TransactionsGet200Response : IEquatablePointOfSaleInformation.
/// RiskInformation.
/// SenderInformation.
+ /// TokenInformation.
/// Links.
- public TssV2TransactionsGet200Response(string Id = default(string), string RootId = default(string), string ReconciliationId = default(string), string MerchantId = default(string), string Status = default(string), string SubmitTimeUTC = default(string), TssV2TransactionsGet200ResponseApplicationInformation ApplicationInformation = default(TssV2TransactionsGet200ResponseApplicationInformation), TssV2TransactionsGet200ResponseBuyerInformation BuyerInformation = default(TssV2TransactionsGet200ResponseBuyerInformation), TssV2TransactionsGet200ResponseClientReferenceInformation ClientReferenceInformation = default(TssV2TransactionsGet200ResponseClientReferenceInformation), TssV2TransactionsGet200ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(TssV2TransactionsGet200ResponseConsumerAuthenticationInformation), TssV2TransactionsGet200ResponseDeviceInformation DeviceInformation = default(TssV2TransactionsGet200ResponseDeviceInformation), TssV2TransactionsGet200ResponseErrorInformation ErrorInformation = default(TssV2TransactionsGet200ResponseErrorInformation), TssV2TransactionsGet200ResponseInstallmentInformation InstallmentInformation = default(TssV2TransactionsGet200ResponseInstallmentInformation), TssV2TransactionsGet200ResponseFraudMarkingInformation FraudMarkingInformation = default(TssV2TransactionsGet200ResponseFraudMarkingInformation), Ptsv2paymentsHealthCareInformation HealthCareInformation = default(Ptsv2paymentsHealthCareInformation), List MerchantDefinedInformation = default(List), TssV2TransactionsGet200ResponseMerchantInformation MerchantInformation = default(TssV2TransactionsGet200ResponseMerchantInformation), TssV2TransactionsGet200ResponseOrderInformation OrderInformation = default(TssV2TransactionsGet200ResponseOrderInformation), TssV2TransactionsGet200ResponsePaymentInformation PaymentInformation = default(TssV2TransactionsGet200ResponsePaymentInformation), TssV2TransactionsGet200ResponseProcessingInformation ProcessingInformation = default(TssV2TransactionsGet200ResponseProcessingInformation), TssV2TransactionsGet200ResponseProcessorInformation ProcessorInformation = default(TssV2TransactionsGet200ResponseProcessorInformation), TssV2TransactionsGet200ResponsePointOfSaleInformation PointOfSaleInformation = default(TssV2TransactionsGet200ResponsePointOfSaleInformation), TssV2TransactionsGet200ResponseRiskInformation RiskInformation = default(TssV2TransactionsGet200ResponseRiskInformation), TssV2TransactionsGet200ResponseSenderInformation SenderInformation = default(TssV2TransactionsGet200ResponseSenderInformation), TssV2TransactionsGet200ResponseLinks Links = default(TssV2TransactionsGet200ResponseLinks))
+ public TssV2TransactionsGet200Response(string Id = default(string), string RootId = default(string), string ReconciliationId = default(string), string MerchantId = default(string), string SubmitTimeUTC = default(string), TssV2TransactionsGet200ResponseApplicationInformation ApplicationInformation = default(TssV2TransactionsGet200ResponseApplicationInformation), TssV2TransactionsGet200ResponseBuyerInformation BuyerInformation = default(TssV2TransactionsGet200ResponseBuyerInformation), TssV2TransactionsGet200ResponseClientReferenceInformation ClientReferenceInformation = default(TssV2TransactionsGet200ResponseClientReferenceInformation), TssV2TransactionsGet200ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(TssV2TransactionsGet200ResponseConsumerAuthenticationInformation), TssV2TransactionsGet200ResponseDeviceInformation DeviceInformation = default(TssV2TransactionsGet200ResponseDeviceInformation), TssV2TransactionsGet200ResponseErrorInformation ErrorInformation = default(TssV2TransactionsGet200ResponseErrorInformation), TssV2TransactionsGet200ResponseInstallmentInformation InstallmentInformation = default(TssV2TransactionsGet200ResponseInstallmentInformation), TssV2TransactionsGet200ResponseFraudMarkingInformation FraudMarkingInformation = default(TssV2TransactionsGet200ResponseFraudMarkingInformation), Ptsv2paymentsHealthCareInformation HealthCareInformation = default(Ptsv2paymentsHealthCareInformation), List MerchantDefinedInformation = default(List), TssV2TransactionsGet200ResponseMerchantInformation MerchantInformation = default(TssV2TransactionsGet200ResponseMerchantInformation), TssV2TransactionsGet200ResponseOrderInformation OrderInformation = default(TssV2TransactionsGet200ResponseOrderInformation), TssV2TransactionsGet200ResponsePaymentInformation PaymentInformation = default(TssV2TransactionsGet200ResponsePaymentInformation), TssV2TransactionsGet200ResponseProcessingInformation ProcessingInformation = default(TssV2TransactionsGet200ResponseProcessingInformation), TssV2TransactionsGet200ResponseProcessorInformation ProcessorInformation = default(TssV2TransactionsGet200ResponseProcessorInformation), TssV2TransactionsGet200ResponsePointOfSaleInformation PointOfSaleInformation = default(TssV2TransactionsGet200ResponsePointOfSaleInformation), TssV2TransactionsGet200ResponseRiskInformation RiskInformation = default(TssV2TransactionsGet200ResponseRiskInformation), TssV2TransactionsGet200ResponseSenderInformation SenderInformation = default(TssV2TransactionsGet200ResponseSenderInformation), TssV2TransactionsGet200ResponseTokenInformation TokenInformation = default(TssV2TransactionsGet200ResponseTokenInformation), TssV2TransactionsGet200ResponseLinks Links = default(TssV2TransactionsGet200ResponseLinks))
{
this.Id = Id;
this.RootId = RootId;
this.ReconciliationId = ReconciliationId;
this.MerchantId = MerchantId;
- this.Status = Status;
this.SubmitTimeUTC = SubmitTimeUTC;
this.ApplicationInformation = ApplicationInformation;
this.BuyerInformation = BuyerInformation;
@@ -84,6 +83,7 @@ public partial class TssV2TransactionsGet200Response : IEquatable
- /// The status of the submitted transaction.
- ///
- /// The status of the submitted transaction.
- [DataMember(Name="status", EmitDefaultValue=false)]
- public string Status { 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.
///
@@ -238,6 +231,12 @@ public partial class TssV2TransactionsGet200Response : IEquatable
+ /// Gets or Sets TokenInformation
+ ///
+ [DataMember(Name="tokenInformation", EmitDefaultValue=false)]
+ public TssV2TransactionsGet200ResponseTokenInformation TokenInformation { get; set; }
+
///
/// Gets or Sets Links
///
@@ -256,7 +255,6 @@ public override string ToString()
sb.Append(" RootId: ").Append(RootId).Append("\n");
sb.Append(" ReconciliationId: ").Append(ReconciliationId).Append("\n");
sb.Append(" MerchantId: ").Append(MerchantId).Append("\n");
- sb.Append(" Status: ").Append(Status).Append("\n");
sb.Append(" SubmitTimeUTC: ").Append(SubmitTimeUTC).Append("\n");
sb.Append(" ApplicationInformation: ").Append(ApplicationInformation).Append("\n");
sb.Append(" BuyerInformation: ").Append(BuyerInformation).Append("\n");
@@ -276,6 +274,7 @@ public override string ToString()
sb.Append(" PointOfSaleInformation: ").Append(PointOfSaleInformation).Append("\n");
sb.Append(" RiskInformation: ").Append(RiskInformation).Append("\n");
sb.Append(" SenderInformation: ").Append(SenderInformation).Append("\n");
+ sb.Append(" TokenInformation: ").Append(TokenInformation).Append("\n");
sb.Append(" Links: ").Append(Links).Append("\n");
sb.Append("}\n");
return sb.ToString();
@@ -333,11 +332,6 @@ public bool Equals(TssV2TransactionsGet200Response other)
this.MerchantId != null &&
this.MerchantId.Equals(other.MerchantId)
) &&
- (
- this.Status == other.Status ||
- this.Status != null &&
- this.Status.Equals(other.Status)
- ) &&
(
this.SubmitTimeUTC == other.SubmitTimeUTC ||
this.SubmitTimeUTC != null &&
@@ -433,6 +427,11 @@ public bool Equals(TssV2TransactionsGet200Response other)
this.SenderInformation != null &&
this.SenderInformation.Equals(other.SenderInformation)
) &&
+ (
+ this.TokenInformation == other.TokenInformation ||
+ this.TokenInformation != null &&
+ this.TokenInformation.Equals(other.TokenInformation)
+ ) &&
(
this.Links == other.Links ||
this.Links != null &&
@@ -459,8 +458,6 @@ public override int GetHashCode()
hash = hash * 59 + this.ReconciliationId.GetHashCode();
if (this.MerchantId != null)
hash = hash * 59 + this.MerchantId.GetHashCode();
- if (this.Status != null)
- hash = hash * 59 + this.Status.GetHashCode();
if (this.SubmitTimeUTC != null)
hash = hash * 59 + this.SubmitTimeUTC.GetHashCode();
if (this.ApplicationInformation != null)
@@ -499,6 +496,8 @@ public override int GetHashCode()
hash = hash * 59 + this.RiskInformation.GetHashCode();
if (this.SenderInformation != null)
hash = hash * 59 + this.SenderInformation.GetHashCode();
+ if (this.TokenInformation != null)
+ hash = hash * 59 + this.TokenInformation.GetHashCode();
if (this.Links != null)
hash = hash * 59 + this.Links.GetHashCode();
return hash;
diff --git a/Model/TssV2TransactionsGet200ResponseClientReferenceInformation.cs b/Model/TssV2TransactionsGet200ResponseClientReferenceInformation.cs
index 0e884ad1..7b2b875b 100644
--- a/Model/TssV2TransactionsGet200ResponseClientReferenceInformation.cs
+++ b/Model/TssV2TransactionsGet200ResponseClientReferenceInformation.cs
@@ -37,13 +37,15 @@ public partial class TssV2TransactionsGet200ResponseClientReferenceInformation :
/// Version of the CyberSource application or integration used for a 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. .
/// 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.
/// Brief description of the order or any comment you wish to add to the order. .
- public TssV2TransactionsGet200ResponseClientReferenceInformation(string Code = default(string), string ApplicationVersion = default(string), string ApplicationName = default(string), string ApplicationUser = default(string), string Comments = default(string))
+ public TssV2TransactionsGet200ResponseClientReferenceInformation(string Code = default(string), string ApplicationVersion = default(string), string ApplicationName = default(string), string ApplicationUser = default(string), TssV2TransactionsGet200ResponseClientReferenceInformationPartner Partner = default(TssV2TransactionsGet200ResponseClientReferenceInformationPartner), string Comments = default(string))
{
this.Code = Code;
this.ApplicationVersion = ApplicationVersion;
this.ApplicationName = ApplicationName;
this.ApplicationUser = ApplicationUser;
+ this.Partner = Partner;
this.Comments = Comments;
}
@@ -75,6 +77,12 @@ public partial class TssV2TransactionsGet200ResponseClientReferenceInformation :
[DataMember(Name="applicationUser", EmitDefaultValue=false)]
public string ApplicationUser { get; set; }
+ ///
+ /// Gets or Sets Partner
+ ///
+ [DataMember(Name="partner", EmitDefaultValue=false)]
+ public TssV2TransactionsGet200ResponseClientReferenceInformationPartner Partner { get; set; }
+
///
/// Brief description of the order or any comment you wish to add to the order.
///
@@ -94,6 +102,7 @@ public override string ToString()
sb.Append(" ApplicationVersion: ").Append(ApplicationVersion).Append("\n");
sb.Append(" ApplicationName: ").Append(ApplicationName).Append("\n");
sb.Append(" ApplicationUser: ").Append(ApplicationUser).Append("\n");
+ sb.Append(" Partner: ").Append(Partner).Append("\n");
sb.Append(" Comments: ").Append(Comments).Append("\n");
sb.Append("}\n");
return sb.ToString();
@@ -151,6 +160,11 @@ public bool Equals(TssV2TransactionsGet200ResponseClientReferenceInformation oth
this.ApplicationUser != null &&
this.ApplicationUser.Equals(other.ApplicationUser)
) &&
+ (
+ this.Partner == other.Partner ||
+ this.Partner != null &&
+ this.Partner.Equals(other.Partner)
+ ) &&
(
this.Comments == other.Comments ||
this.Comments != null &&
@@ -177,6 +191,8 @@ public override int GetHashCode()
hash = hash * 59 + this.ApplicationName.GetHashCode();
if (this.ApplicationUser != null)
hash = hash * 59 + this.ApplicationUser.GetHashCode();
+ if (this.Partner != null)
+ hash = hash * 59 + this.Partner.GetHashCode();
if (this.Comments != null)
hash = hash * 59 + this.Comments.GetHashCode();
return hash;
diff --git a/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.cs b/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.cs
similarity index 80%
rename from Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.cs
rename to Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.cs
index fee57caa..bd7f005e 100644
--- a/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.cs
+++ b/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.cs
@@ -25,16 +25,16 @@
namespace CyberSource.Model
{
///
- /// TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
+ /// TssV2TransactionsGet200ResponseClientReferenceInformationPartner
///
[DataContract]
- public partial class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner : IEquatable, IValidatableObject
+ public partial class TssV2TransactionsGet200ResponseClientReferenceInformationPartner : IEquatable, IValidatableObject
{
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
/// 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 TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner(string SolutionId = default(string))
+ public TssV2TransactionsGet200ResponseClientReferenceInformationPartner(string SolutionId = default(string))
{
this.SolutionId = SolutionId;
}
@@ -53,7 +53,7 @@ public partial class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInfo
public override string ToString()
{
var sb = new StringBuilder();
- sb.Append("class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner {\n");
+ sb.Append("class TssV2TransactionsGet200ResponseClientReferenceInformationPartner {\n");
sb.Append(" SolutionId: ").Append(SolutionId).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 TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner);
+ return this.Equals(obj as TssV2TransactionsGet200ResponseClientReferenceInformationPartner);
}
///
- /// Returns true if TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner instances are equal
+ /// Returns true if TssV2TransactionsGet200ResponseClientReferenceInformationPartner instances are equal
///
- /// Instance of TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner to be compared
+ /// Instance of TssV2TransactionsGet200ResponseClientReferenceInformationPartner to be compared
/// Boolean
- public bool Equals(TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner other)
+ public bool Equals(TssV2TransactionsGet200ResponseClientReferenceInformationPartner other)
{
// credit: http://stackoverflow.com/a/10454552/677735
if (other == null)
diff --git a/Model/TssV2TransactionsGet200ResponsePaymentInformation.cs b/Model/TssV2TransactionsGet200ResponsePaymentInformation.cs
index c5a29746..38a38f63 100644
--- a/Model/TssV2TransactionsGet200ResponsePaymentInformation.cs
+++ b/Model/TssV2TransactionsGet200ResponsePaymentInformation.cs
@@ -39,7 +39,10 @@ public partial class TssV2TransactionsGet200ResponsePaymentInformation : IEquat
/// Invoice.
/// Bank.
/// AccountFeatures.
- public TssV2TransactionsGet200ResponsePaymentInformation(TssV2TransactionsGet200ResponsePaymentInformationPaymentType PaymentType = default(TssV2TransactionsGet200ResponsePaymentInformationPaymentType), Riskv1authenticationsetupsPaymentInformationCustomer Customer = default(Riskv1authenticationsetupsPaymentInformationCustomer), TssV2TransactionsGet200ResponsePaymentInformationCard Card = default(TssV2TransactionsGet200ResponsePaymentInformationCard), TssV2TransactionsGet200ResponsePaymentInformationInvoice Invoice = default(TssV2TransactionsGet200ResponsePaymentInformationInvoice), TssV2TransactionsGet200ResponsePaymentInformationBank Bank = default(TssV2TransactionsGet200ResponsePaymentInformationBank), TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures AccountFeatures = default(TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures))
+ /// PaymentInstrument.
+ /// InstrumentIdentifier.
+ /// ShippingAddress.
+ public TssV2TransactionsGet200ResponsePaymentInformation(TssV2TransactionsGet200ResponsePaymentInformationPaymentType PaymentType = default(TssV2TransactionsGet200ResponsePaymentInformationPaymentType), TssV2TransactionsGet200ResponsePaymentInformationCustomer Customer = default(TssV2TransactionsGet200ResponsePaymentInformationCustomer), TssV2TransactionsGet200ResponsePaymentInformationCard Card = default(TssV2TransactionsGet200ResponsePaymentInformationCard), TssV2TransactionsGet200ResponsePaymentInformationInvoice Invoice = default(TssV2TransactionsGet200ResponsePaymentInformationInvoice), TssV2TransactionsGet200ResponsePaymentInformationBank Bank = default(TssV2TransactionsGet200ResponsePaymentInformationBank), TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures AccountFeatures = default(TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures), PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument PaymentInstrument = default(PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument), TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier InstrumentIdentifier = default(TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier), PtsV2PaymentsPost201ResponseTokenInformationShippingAddress ShippingAddress = default(PtsV2PaymentsPost201ResponseTokenInformationShippingAddress))
{
this.PaymentType = PaymentType;
this.Customer = Customer;
@@ -47,6 +50,9 @@ public partial class TssV2TransactionsGet200ResponsePaymentInformation : IEquat
this.Invoice = Invoice;
this.Bank = Bank;
this.AccountFeatures = AccountFeatures;
+ this.PaymentInstrument = PaymentInstrument;
+ this.InstrumentIdentifier = InstrumentIdentifier;
+ this.ShippingAddress = ShippingAddress;
}
///
@@ -59,7 +65,7 @@ public partial class TssV2TransactionsGet200ResponsePaymentInformation : IEquat
/// Gets or Sets Customer
///
[DataMember(Name="customer", EmitDefaultValue=false)]
- public Riskv1authenticationsetupsPaymentInformationCustomer Customer { get; set; }
+ public TssV2TransactionsGet200ResponsePaymentInformationCustomer Customer { get; set; }
///
/// Gets or Sets Card
@@ -85,6 +91,24 @@ public partial class TssV2TransactionsGet200ResponsePaymentInformation : IEquat
[DataMember(Name="accountFeatures", EmitDefaultValue=false)]
public TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures AccountFeatures { get; set; }
+ ///
+ /// Gets or Sets PaymentInstrument
+ ///
+ [DataMember(Name="paymentInstrument", EmitDefaultValue=false)]
+ public PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument PaymentInstrument { get; set; }
+
+ ///
+ /// Gets or Sets InstrumentIdentifier
+ ///
+ [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)]
+ public TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier InstrumentIdentifier { get; set; }
+
+ ///
+ /// Gets or Sets ShippingAddress
+ ///
+ [DataMember(Name="shippingAddress", EmitDefaultValue=false)]
+ public PtsV2PaymentsPost201ResponseTokenInformationShippingAddress ShippingAddress { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -99,6 +123,9 @@ public override string ToString()
sb.Append(" Invoice: ").Append(Invoice).Append("\n");
sb.Append(" Bank: ").Append(Bank).Append("\n");
sb.Append(" AccountFeatures: ").Append(AccountFeatures).Append("\n");
+ sb.Append(" PaymentInstrument: ").Append(PaymentInstrument).Append("\n");
+ sb.Append(" InstrumentIdentifier: ").Append(InstrumentIdentifier).Append("\n");
+ sb.Append(" ShippingAddress: ").Append(ShippingAddress).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -164,6 +191,21 @@ public bool Equals(TssV2TransactionsGet200ResponsePaymentInformation other)
this.AccountFeatures == other.AccountFeatures ||
this.AccountFeatures != null &&
this.AccountFeatures.Equals(other.AccountFeatures)
+ ) &&
+ (
+ this.PaymentInstrument == other.PaymentInstrument ||
+ this.PaymentInstrument != null &&
+ this.PaymentInstrument.Equals(other.PaymentInstrument)
+ ) &&
+ (
+ this.InstrumentIdentifier == other.InstrumentIdentifier ||
+ this.InstrumentIdentifier != null &&
+ this.InstrumentIdentifier.Equals(other.InstrumentIdentifier)
+ ) &&
+ (
+ this.ShippingAddress == other.ShippingAddress ||
+ this.ShippingAddress != null &&
+ this.ShippingAddress.Equals(other.ShippingAddress)
);
}
@@ -190,6 +232,12 @@ public override int GetHashCode()
hash = hash * 59 + this.Bank.GetHashCode();
if (this.AccountFeatures != null)
hash = hash * 59 + this.AccountFeatures.GetHashCode();
+ if (this.PaymentInstrument != null)
+ hash = hash * 59 + this.PaymentInstrument.GetHashCode();
+ if (this.InstrumentIdentifier != null)
+ hash = hash * 59 + this.InstrumentIdentifier.GetHashCode();
+ if (this.ShippingAddress != null)
+ hash = hash * 59 + this.ShippingAddress.GetHashCode();
return hash;
}
}
diff --git a/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.cs b/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.cs
new file mode 100644
index 00000000..79f850d3
--- /dev/null
+++ b/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomer.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
+{
+ ///
+ /// TssV2TransactionsGet200ResponsePaymentInformationCustomer
+ ///
+ [DataContract]
+ public partial class TssV2TransactionsGet200ResponsePaymentInformationCustomer : IEquatable, IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. .
+ /// Unique identifier for the Customer token that was created as part of a bundled TOKEN_CREATE action. .
+ public TssV2TransactionsGet200ResponsePaymentInformationCustomer(string CustomerId = default(string), string Id = default(string))
+ {
+ this.CustomerId = CustomerId;
+ this.Id = Id;
+ }
+
+ ///
+ /// Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional.
+ ///
+ /// Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional.
+ [DataMember(Name="customerId", EmitDefaultValue=false)]
+ public string CustomerId { get; set; }
+
+ ///
+ /// Unique identifier for the Customer token that was created as part of a bundled TOKEN_CREATE action.
+ ///
+ /// Unique identifier for the Customer token that was created as part of a bundled TOKEN_CREATE action.
+ [DataMember(Name="id", EmitDefaultValue=false)]
+ public string Id { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class TssV2TransactionsGet200ResponsePaymentInformationCustomer {\n");
+ sb.Append(" CustomerId: ").Append(CustomerId).Append("\n");
+ sb.Append(" Id: ").Append(Id).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public string ToJson()
+ {
+ return JsonConvert.SerializeObject(this, Formatting.Indented);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ /// Object to be compared
+ /// Boolean
+ public override bool Equals(object obj)
+ {
+ // credit: http://stackoverflow.com/a/10454552/677735
+ return this.Equals(obj as TssV2TransactionsGet200ResponsePaymentInformationCustomer);
+ }
+
+ ///
+ /// Returns true if TssV2TransactionsGet200ResponsePaymentInformationCustomer instances are equal
+ ///
+ /// Instance of TssV2TransactionsGet200ResponsePaymentInformationCustomer to be compared
+ /// Boolean
+ public bool Equals(TssV2TransactionsGet200ResponsePaymentInformationCustomer other)
+ {
+ // credit: http://stackoverflow.com/a/10454552/677735
+ if (other == null)
+ return false;
+
+ return
+ (
+ this.CustomerId == other.CustomerId ||
+ this.CustomerId != null &&
+ this.CustomerId.Equals(other.CustomerId)
+ ) &&
+ (
+ this.Id == other.Id ||
+ this.Id != null &&
+ this.Id.Equals(other.Id)
+ );
+ }
+
+ ///
+ /// Gets the hash code
+ ///
+ /// Hash code
+ public override int GetHashCode()
+ {
+ // credit: http://stackoverflow.com/a/263416/677735
+ unchecked // Overflow is fine, just wrap
+ {
+ int hash = 41;
+ // Suitable nullity checks etc, of course :)
+ if (this.CustomerId != null)
+ hash = hash * 59 + this.CustomerId.GetHashCode();
+ if (this.Id != null)
+ hash = hash * 59 + this.Id.GetHashCode();
+ return hash;
+ }
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.cs b/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.cs
new file mode 100644
index 00000000..601cbe32
--- /dev/null
+++ b/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.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
+{
+ ///
+ /// TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
+ ///
+ [DataContract]
+ public partial class TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier : IEquatable, IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Unique identifier for the Instrument Identifier token that was created as part of a bundled TOKEN_CREATE action. .
+ public TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier(string Id = default(string))
+ {
+ this.Id = Id;
+ }
+
+ ///
+ /// Unique identifier for the Instrument Identifier token that was created as part of a bundled TOKEN_CREATE action.
+ ///
+ /// Unique identifier for the Instrument Identifier token that was created as part of a bundled TOKEN_CREATE action.
+ [DataMember(Name="id", EmitDefaultValue=false)]
+ public string Id { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier {\n");
+ sb.Append(" Id: ").Append(Id).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public string ToJson()
+ {
+ return JsonConvert.SerializeObject(this, Formatting.Indented);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ /// Object to be compared
+ /// Boolean
+ public override bool Equals(object obj)
+ {
+ // credit: http://stackoverflow.com/a/10454552/677735
+ return this.Equals(obj as TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier);
+ }
+
+ ///
+ /// Returns true if TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier instances are equal
+ ///
+ /// Instance of TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier to be compared
+ /// Boolean
+ public bool Equals(TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier other)
+ {
+ // credit: http://stackoverflow.com/a/10454552/677735
+ if (other == null)
+ return false;
+
+ return
+ (
+ this.Id == other.Id ||
+ this.Id != null &&
+ this.Id.Equals(other.Id)
+ );
+ }
+
+ ///
+ /// Gets the hash code
+ ///
+ /// Hash code
+ public override int GetHashCode()
+ {
+ // credit: http://stackoverflow.com/a/263416/677735
+ unchecked // Overflow is fine, just wrap
+ {
+ int hash = 41;
+ // Suitable nullity checks etc, of course :)
+ if (this.Id != null)
+ hash = hash * 59 + this.Id.GetHashCode();
+ return hash;
+ }
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/Model/TssV2TransactionsGet200ResponseProcessorInformation.cs b/Model/TssV2TransactionsGet200ResponseProcessorInformation.cs
index f2f1291d..e582a7eb 100644
--- a/Model/TssV2TransactionsGet200ResponseProcessorInformation.cs
+++ b/Model/TssV2TransactionsGet200ResponseProcessorInformation.cs
@@ -47,7 +47,8 @@ public partial class TssV2TransactionsGet200ResponseProcessorInformation : IEqu
/// ElectronicVerificationResults.
/// This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer’s receipt. .
/// Used by Visa only and contains the response source/reason code that identifies the source of the response decision. .
- public TssV2TransactionsGet200ResponseProcessorInformation(TssV2TransactionsGet200ResponseProcessorInformationProcessor Processor = default(TssV2TransactionsGet200ResponseProcessorInformationProcessor), List MultiProcessorRouting = default(List), string TransactionId = default(string), string NetworkTransactionId = default(string), string RetrievalReferenceNumber = default(string), string ResponseId = default(string), string ApprovalCode = default(string), string ResponseCode = default(string), PtsV2PaymentsPost201ResponseProcessorInformationAvs Avs = default(PtsV2PaymentsPost201ResponseProcessorInformationAvs), Riskv1decisionsProcessorInformationCardVerification CardVerification = default(Riskv1decisionsProcessorInformationCardVerification), PtsV2PaymentsPost201ResponseProcessorInformationAchVerification AchVerification = default(PtsV2PaymentsPost201ResponseProcessorInformationAchVerification), TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults ElectronicVerificationResults = default(TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults), string SystemTraceAuditNumber = default(string), string ResponseCodeSource = default(string))
+ /// Visa-generated reference number that identifies a card-present transaction for which you provided one of the following: - Visa primary account number (PAN) - Visa-generated token for a PAN This reference number serves as a link to the cardholder account and to all transactions for that account. This reply field is returned only for CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR8 - Position: 79-110 - Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant’s acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks. .
+ public TssV2TransactionsGet200ResponseProcessorInformation(TssV2TransactionsGet200ResponseProcessorInformationProcessor Processor = default(TssV2TransactionsGet200ResponseProcessorInformationProcessor), List MultiProcessorRouting = default(List), string TransactionId = default(string), string NetworkTransactionId = default(string), string RetrievalReferenceNumber = default(string), string ResponseId = default(string), string ApprovalCode = default(string), string ResponseCode = default(string), PtsV2PaymentsPost201ResponseProcessorInformationAvs Avs = default(PtsV2PaymentsPost201ResponseProcessorInformationAvs), Riskv1decisionsProcessorInformationCardVerification CardVerification = default(Riskv1decisionsProcessorInformationCardVerification), PtsV2PaymentsPost201ResponseProcessorInformationAchVerification AchVerification = default(PtsV2PaymentsPost201ResponseProcessorInformationAchVerification), TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults ElectronicVerificationResults = default(TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults), string SystemTraceAuditNumber = default(string), string ResponseCodeSource = default(string), string PaymentAccountReferenceNumber = default(string))
{
this.Processor = Processor;
this.MultiProcessorRouting = MultiProcessorRouting;
@@ -63,6 +64,7 @@ public partial class TssV2TransactionsGet200ResponseProcessorInformation : IEqu
this.ElectronicVerificationResults = ElectronicVerificationResults;
this.SystemTraceAuditNumber = SystemTraceAuditNumber;
this.ResponseCodeSource = ResponseCodeSource;
+ this.PaymentAccountReferenceNumber = PaymentAccountReferenceNumber;
}
///
@@ -158,6 +160,13 @@ public partial class TssV2TransactionsGet200ResponseProcessorInformation : IEqu
[DataMember(Name="responseCodeSource", EmitDefaultValue=false)]
public string ResponseCodeSource { get; set; }
+ ///
+ /// Visa-generated reference number that identifies a card-present transaction for which you provided one of the following: - Visa primary account number (PAN) - Visa-generated token for a PAN This reference number serves as a link to the cardholder account and to all transactions for that account. This reply field is returned only for CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR8 - Position: 79-110 - Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant’s acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
+ ///
+ /// Visa-generated reference number that identifies a card-present transaction for which you provided one of the following: - Visa primary account number (PAN) - Visa-generated token for a PAN This reference number serves as a link to the cardholder account and to all transactions for that account. This reply field is returned only for CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR8 - Position: 79-110 - Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant’s acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
+ [DataMember(Name="paymentAccountReferenceNumber", EmitDefaultValue=false)]
+ public string PaymentAccountReferenceNumber { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -180,6 +189,7 @@ public override string ToString()
sb.Append(" ElectronicVerificationResults: ").Append(ElectronicVerificationResults).Append("\n");
sb.Append(" SystemTraceAuditNumber: ").Append(SystemTraceAuditNumber).Append("\n");
sb.Append(" ResponseCodeSource: ").Append(ResponseCodeSource).Append("\n");
+ sb.Append(" PaymentAccountReferenceNumber: ").Append(PaymentAccountReferenceNumber).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -285,6 +295,11 @@ public bool Equals(TssV2TransactionsGet200ResponseProcessorInformation other)
this.ResponseCodeSource == other.ResponseCodeSource ||
this.ResponseCodeSource != null &&
this.ResponseCodeSource.Equals(other.ResponseCodeSource)
+ ) &&
+ (
+ this.PaymentAccountReferenceNumber == other.PaymentAccountReferenceNumber ||
+ this.PaymentAccountReferenceNumber != null &&
+ this.PaymentAccountReferenceNumber.Equals(other.PaymentAccountReferenceNumber)
);
}
@@ -327,6 +342,8 @@ public override int GetHashCode()
hash = hash * 59 + this.SystemTraceAuditNumber.GetHashCode();
if (this.ResponseCodeSource != null)
hash = hash * 59 + this.ResponseCodeSource.GetHashCode();
+ if (this.PaymentAccountReferenceNumber != null)
+ hash = hash * 59 + this.PaymentAccountReferenceNumber.GetHashCode();
return hash;
}
}
diff --git a/Model/TssV2TransactionsGet200ResponseTokenInformation.cs b/Model/TssV2TransactionsGet200ResponseTokenInformation.cs
new file mode 100644
index 00000000..c58b4591
--- /dev/null
+++ b/Model/TssV2TransactionsGet200ResponseTokenInformation.cs
@@ -0,0 +1,176 @@
+/*
+ * 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
+{
+ ///
+ /// TssV2TransactionsGet200ResponseTokenInformation
+ ///
+ [DataContract]
+ public partial class TssV2TransactionsGet200ResponseTokenInformation : IEquatable, IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Customer.
+ /// PaymentInstrument.
+ /// ShippingAddress.
+ /// InstrumentIdentifier.
+ public TssV2TransactionsGet200ResponseTokenInformation(PtsV2PaymentsPost201ResponseTokenInformationCustomer Customer = default(PtsV2PaymentsPost201ResponseTokenInformationCustomer), PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument PaymentInstrument = default(PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument), PtsV2PaymentsPost201ResponseTokenInformationShippingAddress ShippingAddress = default(PtsV2PaymentsPost201ResponseTokenInformationShippingAddress), TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier InstrumentIdentifier = default(TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier))
+ {
+ this.Customer = Customer;
+ this.PaymentInstrument = PaymentInstrument;
+ this.ShippingAddress = ShippingAddress;
+ this.InstrumentIdentifier = InstrumentIdentifier;
+ }
+
+ ///
+ /// Gets or Sets Customer
+ ///
+ [DataMember(Name="customer", EmitDefaultValue=false)]
+ public PtsV2PaymentsPost201ResponseTokenInformationCustomer Customer { get; set; }
+
+ ///
+ /// Gets or Sets PaymentInstrument
+ ///
+ [DataMember(Name="paymentInstrument", EmitDefaultValue=false)]
+ public PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument PaymentInstrument { get; set; }
+
+ ///
+ /// Gets or Sets ShippingAddress
+ ///
+ [DataMember(Name="shippingAddress", EmitDefaultValue=false)]
+ public PtsV2PaymentsPost201ResponseTokenInformationShippingAddress ShippingAddress { get; set; }
+
+ ///
+ /// Gets or Sets InstrumentIdentifier
+ ///
+ [DataMember(Name="instrumentIdentifier", EmitDefaultValue=false)]
+ public TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier 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 TssV2TransactionsGet200ResponseTokenInformation {\n");
+ sb.Append(" Customer: ").Append(Customer).Append("\n");
+ sb.Append(" PaymentInstrument: ").Append(PaymentInstrument).Append("\n");
+ sb.Append(" ShippingAddress: ").Append(ShippingAddress).Append("\n");
+ 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 TssV2TransactionsGet200ResponseTokenInformation);
+ }
+
+ ///
+ /// Returns true if TssV2TransactionsGet200ResponseTokenInformation instances are equal
+ ///
+ /// Instance of TssV2TransactionsGet200ResponseTokenInformation to be compared
+ /// Boolean
+ public bool Equals(TssV2TransactionsGet200ResponseTokenInformation other)
+ {
+ // credit: http://stackoverflow.com/a/10454552/677735
+ if (other == null)
+ return false;
+
+ return
+ (
+ this.Customer == other.Customer ||
+ this.Customer != null &&
+ this.Customer.Equals(other.Customer)
+ ) &&
+ (
+ this.PaymentInstrument == other.PaymentInstrument ||
+ this.PaymentInstrument != null &&
+ this.PaymentInstrument.Equals(other.PaymentInstrument)
+ ) &&
+ (
+ this.ShippingAddress == other.ShippingAddress ||
+ this.ShippingAddress != null &&
+ this.ShippingAddress.Equals(other.ShippingAddress)
+ ) &&
+ (
+ 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.Customer != null)
+ hash = hash * 59 + this.Customer.GetHashCode();
+ if (this.PaymentInstrument != null)
+ hash = hash * 59 + this.PaymentInstrument.GetHashCode();
+ if (this.ShippingAddress != null)
+ hash = hash * 59 + this.ShippingAddress.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/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.cs b/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.cs
index 32707e42..247245bc 100644
--- a/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.cs
+++ b/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.cs
@@ -37,7 +37,7 @@ public partial class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInfo
/// 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 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 TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation(string Code = default(string), string ApplicationName = default(string), string ApplicationUser = default(string), TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner Partner = default(TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner))
+ public TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation(string Code = default(string), string ApplicationName = default(string), string ApplicationUser = default(string), TssV2TransactionsGet200ResponseClientReferenceInformationPartner Partner = default(TssV2TransactionsGet200ResponseClientReferenceInformationPartner))
{
this.Code = Code;
this.ApplicationName = ApplicationName;
@@ -70,7 +70,7 @@ public partial class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInfo
/// Gets or Sets Partner
///
[DataMember(Name="partner", EmitDefaultValue=false)]
- public TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner Partner { get; set; }
+ public TssV2TransactionsGet200ResponseClientReferenceInformationPartner Partner { get; set; }
///
/// Returns the string presentation of the object
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index 98a705a6..249f0eaf 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -28,5 +28,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("0.0.1.19")]
-[assembly: AssemblyFileVersion("0.0.1.19")]
+[assembly: AssemblyVersion("0.0.1.20")]
+[assembly: AssemblyFileVersion("0.0.1.20")]
diff --git a/cybersource-rest-client-dotnet.csproj b/cybersource-rest-client-dotnet.csproj
index 878df410..1529e6bf 100644
--- a/cybersource-rest-client-dotnet.csproj
+++ b/cybersource-rest-client-dotnet.csproj
@@ -11,7 +11,7 @@ OpenAPI spec version: 0.0.1
Debug
AnyCPU
- {8C08B6DC-4DA0-4434-A6C5-709932DDDDE5}
+ {395F83B7-004B-4968-B87C-DA8395B2A0B1}
Library
Properties
CyberSource
@@ -39,7 +39,7 @@ OpenAPI spec version: 0.0.1
False
- packages\CyberSource.Authentication.0.0.0.12\lib\AuthenticationSdk.dll
+ packages\CyberSource.Authentication.0.0.0.13\lib\AuthenticationSdk.dll
diff --git a/cybersource-rest-client-dotnet.nuspec b/cybersource-rest-client-dotnet.nuspec
index 5349ec30..3d3d1a59 100644
--- a/cybersource-rest-client-dotnet.nuspec
+++ b/cybersource-rest-client-dotnet.nuspec
@@ -2,7 +2,7 @@
CyberSource.Rest.Client
- 0.0.1.19
+ 0.0.1.20
CyberSource.Rest.Client
CyberSource Corporation
CyberSource
@@ -14,7 +14,7 @@
-
+
diff --git a/cybersource-rest-client-dotnet.sln b/cybersource-rest-client-dotnet.sln
index 6b9ed82f..347346be 100644
--- a/cybersource-rest-client-dotnet.sln
+++ b/cybersource-rest-client-dotnet.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{8C08B6DC-4DA0-4434-A6C5-709932DDDDE5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet", "cybersource-rest-client-dotnet.csproj", "{395F83B7-004B-4968-B87C-DA8395B2A0B1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cybersource-rest-client-dotnet.Test", "test\cybersource-rest-client-dotnet.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {8C08B6DC-4DA0-4434-A6C5-709932DDDDE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8C08B6DC-4DA0-4434-A6C5-709932DDDDE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8C08B6DC-4DA0-4434-A6C5-709932DDDDE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8C08B6DC-4DA0-4434-A6C5-709932DDDDE5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {395F83B7-004B-4968-B87C-DA8395B2A0B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {395F83B7-004B-4968-B87C-DA8395B2A0B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {395F83B7-004B-4968-B87C-DA8395B2A0B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {395F83B7-004B-4968-B87C-DA8395B2A0B1}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md b/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md
index 8a59c390..58102cbd 100644
--- a/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md
+++ b/docs/Ptsv2paymentsMerchantInformationMerchantDescriptor.md
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
**Country** | **string** | Merchant's country. #### PIN debit Country code for your business location. Use the [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) This value might be displayed on the cardholder’s statement. When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** If your business is located in the U.S. or Canada and you include this field in a request, you must also include `merchantInformation.merchantDescriptor.administrativeArea`. Optional field for PIN debit credit or PIN debit purchase. | [optional]
**PostalCode** | **string** | Merchant's postal code. #### PIN debit Postal code for your business location. This value might be displayed on the cardholder’s statement. If your business is domiciled in the U.S., you can use a 5-digit or 9-digit postal code. A 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example: `12345-6789` If your business is domiciled in Canada, you can use a 6-digit or 9-digit postal code. A 6-digit postal code must follow this format: [alpha][numeric][alpha][space] [numeric][alpha][numeric] Example: `A1B 2C3` When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. **Important** Mastercard requires a postal code for any country that uses postal codes. You can provide the postal code in your account or you can include this field in your request. Optional field for PIN debit credit or PIN debit purchase. | [optional]
**AdministrativeArea** | **string** | The state where the merchant is located. #### PIN debit State code or region code for your business. Use the Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) This value might be displayed on the cardholder’s statement. When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. Optional field for PIN debit credit or PIN debit purchase. | [optional]
-**Phone** | **string** | Merchnat phone as contact information for CNP transactions | [optional]
+**Phone** | **string** | Merchant phone as contact information for CNP transactions | [optional]
**Url** | **string** | Address of company's website provided by merchant | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TssV2TransactionsGet200Response.md b/docs/TssV2TransactionsGet200Response.md
index 5d45983f..ac3ce6c7 100644
--- a/docs/TssV2TransactionsGet200Response.md
+++ b/docs/TssV2TransactionsGet200Response.md
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
**RootId** | **string** | Contains the transaction identifier for the first transaction in the series of transactions. For example, you might send an authorization request for a payment, followed by a capture request for that payment, and then a refund request for that captured payment. Each of those requests, if successful, creates a resource that is assigned an identifier, which is returned in the response. The rootId identifies the first ID in the series, which in this case would be the ID of the original authorization. | [optional]
**ReconciliationId** | **string** | Reference number for the transaction. Depending on how your Cybersource account is configured, this value could either be provided in the API request or generated by CyberSource. The actual value used in the request to the processor is provided back to you by Cybersource in the response. | [optional]
**MerchantId** | **string** | Your CyberSource merchant ID. | [optional]
-**Status** | **string** | The status of the submitted transaction. | [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]
**ApplicationInformation** | [**TssV2TransactionsGet200ResponseApplicationInformation**](TssV2TransactionsGet200ResponseApplicationInformation.md) | | [optional]
**BuyerInformation** | [**TssV2TransactionsGet200ResponseBuyerInformation**](TssV2TransactionsGet200ResponseBuyerInformation.md) | | [optional]
@@ -27,6 +26,7 @@ Name | Type | Description | Notes
**PointOfSaleInformation** | [**TssV2TransactionsGet200ResponsePointOfSaleInformation**](TssV2TransactionsGet200ResponsePointOfSaleInformation.md) | | [optional]
**RiskInformation** | [**TssV2TransactionsGet200ResponseRiskInformation**](TssV2TransactionsGet200ResponseRiskInformation.md) | | [optional]
**SenderInformation** | [**TssV2TransactionsGet200ResponseSenderInformation**](TssV2TransactionsGet200ResponseSenderInformation.md) | | [optional]
+**TokenInformation** | [**TssV2TransactionsGet200ResponseTokenInformation**](TssV2TransactionsGet200ResponseTokenInformation.md) | | [optional]
**Links** | [**TssV2TransactionsGet200ResponseLinks**](TssV2TransactionsGet200ResponseLinks.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TssV2TransactionsGet200ResponseClientReferenceInformation.md b/docs/TssV2TransactionsGet200ResponseClientReferenceInformation.md
index d080f92c..7c6a2051 100644
--- a/docs/TssV2TransactionsGet200ResponseClientReferenceInformation.md
+++ b/docs/TssV2TransactionsGet200ResponseClientReferenceInformation.md
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
**ApplicationVersion** | **string** | Version of the CyberSource application or integration used for a transaction. | [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]
**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]
+**Partner** | [**TssV2TransactionsGet200ResponseClientReferenceInformationPartner**](TssV2TransactionsGet200ResponseClientReferenceInformationPartner.md) | | [optional]
**Comments** | **string** | Brief description of the order or any comment you wish to add to the order. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.md b/docs/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.md
similarity index 86%
rename from docs/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.md
rename to docs/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.md
index 502eebce..27d13dbf 100644
--- a/docs/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.md
+++ b/docs/TssV2TransactionsGet200ResponseClientReferenceInformationPartner.md
@@ -1,4 +1,4 @@
-# CyberSource.Model.TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
+# CyberSource.Model.TssV2TransactionsGet200ResponseClientReferenceInformationPartner
## Properties
Name | Type | Description | Notes
diff --git a/docs/TssV2TransactionsGet200ResponsePaymentInformation.md b/docs/TssV2TransactionsGet200ResponsePaymentInformation.md
index f3b3c9d1..27b3c335 100644
--- a/docs/TssV2TransactionsGet200ResponsePaymentInformation.md
+++ b/docs/TssV2TransactionsGet200ResponsePaymentInformation.md
@@ -4,11 +4,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**PaymentType** | [**TssV2TransactionsGet200ResponsePaymentInformationPaymentType**](TssV2TransactionsGet200ResponsePaymentInformationPaymentType.md) | | [optional]
-**Customer** | [**Riskv1authenticationsetupsPaymentInformationCustomer**](Riskv1authenticationsetupsPaymentInformationCustomer.md) | | [optional]
+**Customer** | [**TssV2TransactionsGet200ResponsePaymentInformationCustomer**](TssV2TransactionsGet200ResponsePaymentInformationCustomer.md) | | [optional]
**Card** | [**TssV2TransactionsGet200ResponsePaymentInformationCard**](TssV2TransactionsGet200ResponsePaymentInformationCard.md) | | [optional]
**Invoice** | [**TssV2TransactionsGet200ResponsePaymentInformationInvoice**](TssV2TransactionsGet200ResponsePaymentInformationInvoice.md) | | [optional]
**Bank** | [**TssV2TransactionsGet200ResponsePaymentInformationBank**](TssV2TransactionsGet200ResponsePaymentInformationBank.md) | | [optional]
**AccountFeatures** | [**TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures**](TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures.md) | | [optional]
+**PaymentInstrument** | [**PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument**](PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument.md) | | [optional]
+**InstrumentIdentifier** | [**TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier**](TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.md) | | [optional]
+**ShippingAddress** | [**PtsV2PaymentsPost201ResponseTokenInformationShippingAddress**](PtsV2PaymentsPost201ResponseTokenInformationShippingAddress.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TssV2TransactionsGet200ResponsePaymentInformationCustomer.md b/docs/TssV2TransactionsGet200ResponsePaymentInformationCustomer.md
new file mode 100644
index 00000000..97acc709
--- /dev/null
+++ b/docs/TssV2TransactionsGet200ResponsePaymentInformationCustomer.md
@@ -0,0 +1,10 @@
+# CyberSource.Model.TssV2TransactionsGet200ResponsePaymentInformationCustomer
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CustomerId** | **string** | Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional. | [optional]
+**Id** | **string** | Unique identifier for the Customer token that was created as part of a bundled TOKEN_CREATE action. | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.md b/docs/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.md
new file mode 100644
index 00000000..2fb37409
--- /dev/null
+++ b/docs/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.md
@@ -0,0 +1,9 @@
+# CyberSource.Model.TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | Unique identifier for the Instrument Identifier token that was created as part of a bundled TOKEN_CREATE action. | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/TssV2TransactionsGet200ResponseProcessorInformation.md b/docs/TssV2TransactionsGet200ResponseProcessorInformation.md
index e49bfe70..ef18526c 100644
--- a/docs/TssV2TransactionsGet200ResponseProcessorInformation.md
+++ b/docs/TssV2TransactionsGet200ResponseProcessorInformation.md
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
**ElectronicVerificationResults** | [**TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults**](TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults.md) | | [optional]
**SystemTraceAuditNumber** | **string** | This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer’s receipt. | [optional]
**ResponseCodeSource** | **string** | Used by Visa only and contains the response source/reason code that identifies the source of the response decision. | [optional]
+**PaymentAccountReferenceNumber** | **string** | Visa-generated reference number that identifies a card-present transaction for which you provided one of the following: - Visa primary account number (PAN) - Visa-generated token for a PAN This reference number serves as a link to the cardholder account and to all transactions for that account. This reply field is returned only for CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR8 - Position: 79-110 - Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant’s acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TssV2TransactionsGet200ResponseTokenInformation.md b/docs/TssV2TransactionsGet200ResponseTokenInformation.md
new file mode 100644
index 00000000..d6d1b6e0
--- /dev/null
+++ b/docs/TssV2TransactionsGet200ResponseTokenInformation.md
@@ -0,0 +1,12 @@
+# CyberSource.Model.TssV2TransactionsGet200ResponseTokenInformation
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Customer** | [**PtsV2PaymentsPost201ResponseTokenInformationCustomer**](PtsV2PaymentsPost201ResponseTokenInformationCustomer.md) | | [optional]
+**PaymentInstrument** | [**PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument**](PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument.md) | | [optional]
+**ShippingAddress** | [**PtsV2PaymentsPost201ResponseTokenInformationShippingAddress**](PtsV2PaymentsPost201ResponseTokenInformationShippingAddress.md) | | [optional]
+**InstrumentIdentifier** | [**TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier**](TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier.md) | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.md b/docs/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.md
index 2d22824c..ae5e2c5f 100644
--- a/docs/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.md
+++ b/docs/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation.md
@@ -6,7 +6,7 @@ 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]
**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]
**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]
-**Partner** | [**TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner**](TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner.md) | | [optional]
+**Partner** | [**TssV2TransactionsGet200ResponseClientReferenceInformationPartner**](TssV2TransactionsGet200ResponseClientReferenceInformationPartner.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/generator/cybersource-csharp-template/Configuration.mustache b/generator/cybersource-csharp-template/Configuration.mustache
index 1b8de795..e6b86291 100644
--- a/generator/cybersource-csharp-template/Configuration.mustache
+++ b/generator/cybersource-csharp-template/Configuration.mustache
@@ -60,9 +60,9 @@ namespace {{packageName}}.Client
if (merchConfigDictObj != null)
{
if (merchConfigDictObj.ContainsKey("useProxy"))
- {
- if (bool.Parse(merchConfigDictObj["useProxy"]))
- {
+ {
+ if (bool.Parse(merchConfigDictObj["useProxy"]))
+ {
if (!string.IsNullOrWhiteSpace(merchConfigDictObj["proxyAddress"]) && int.TryParse(merchConfigDictObj["proxyPort"], out int proxyPortTest))
{
@@ -163,18 +163,27 @@ namespace {{packageName}}.Client
///
public void SetApiClientUsingDefault (ApiClient apiClient = null)
{
+ // if (apiClient == null)
+ // {
+ // if (Default != null && Default.ApiClient == null)
+ // Default.ApiClient = new ApiClient();
+
+ // ApiClient = Default != null ? Default.ApiClient : new ApiClient();
+ // }
+ // else
+ // {
+ // if (Default != null && Default.ApiClient == null)
+ // Default.ApiClient = apiClient;
+
+ // ApiClient = apiClient;
+ // }
+
if (apiClient == null)
{
- if (Default != null && Default.ApiClient == null)
- Default.ApiClient = new ApiClient();
-
- ApiClient = Default != null ? Default.ApiClient : new ApiClient();
+ ApiClient = new ApiClient();
}
else
{
- if (Default != null && Default.ApiClient == null)
- Default.ApiClient = apiClient;
-
ApiClient = apiClient;
}
}
diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json
index a8d653a2..06bd5ee4 100644
--- a/generator/cybersource-rest-spec.json
+++ b/generator/cybersource-rest-spec.json
@@ -197,16 +197,12 @@
"description": "Manage Boarding Registrations"
},
{
- "name": "Webhook_Security",
- "description": "Create and manage egress keys\n"
+ "name": "Create_New_Webhooks",
+ "description": "Create a new webhook connection\n"
},
{
- "name": "Create_and_Manage_Webhooks",
+ "name": "Manage_Webhooks",
"description": "- Create and manage your webhooks. This will allow for you to set up new webhooks, update existing webhooks, test webhooks, or delete them.\n"
- },
- {
- "name": "Webhook_Payload_Examples",
- "description": "Sample webhook payloads using the Payments endpoints as an example. These will be sent from CYBS to your server specified in the webhook subscription.\nEvery webhook will have the same structure with the same envelope fields used in the body and under the \"payload\" object will be the content of the webhook.\n"
}
],
"x-devcenter-metaData": {
@@ -242,6 +238,10 @@
"name": "Recurring_Billing_Subscriptions",
"description": "Recurring Billing & Subscriptions"
},
+ {
+ "name": "BIN_Lookup",
+ "description": "Cybersource BIN Lookup REST API provides Bank Identification Number (BIN) attributes, such as card type and issuer information, associated with a payment card.\n\n For more information on Token Management (TMS) see the Token Management section of the API reference, or the [Token Management Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-tms/intro.html).\n"
+ },
{
"name": "Transaction_Details",
"description": "For more information about Transaction Details, see the [Transaction Details Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-txn-search-details-rest-api-dev-guide-102718/txn_details_api.html)."
@@ -2142,7 +2142,7 @@
"phone": {
"type": "string",
"maxLength": 13,
- "description": "Merchnat phone as contact information for CNP transactions\n"
+ "description": "Merchant phone as contact information for CNP transactions\n"
},
"url": {
"type": "string",
@@ -10412,7 +10412,7 @@
"phone": {
"type": "string",
"maxLength": 13,
- "description": "Merchnat phone as contact information for CNP transactions\n"
+ "description": "Merchant phone as contact information for CNP transactions\n"
},
"url": {
"type": "string",
@@ -13112,7 +13112,7 @@
"phone": {
"type": "string",
"maxLength": 13,
- "description": "Merchnat phone as contact information for CNP transactions\n"
+ "description": "Merchant phone as contact information for CNP transactions\n"
},
"url": {
"type": "string",
@@ -15495,7 +15495,7 @@
"phone": {
"type": "string",
"maxLength": 13,
- "description": "Merchnat phone as contact information for CNP transactions\n"
+ "description": "Merchant phone as contact information for CNP transactions\n"
},
"url": {
"type": "string",
@@ -17970,7 +17970,7 @@
"phone": {
"type": "string",
"maxLength": 13,
- "description": "Merchnat phone as contact information for CNP transactions\n"
+ "description": "Merchant phone as contact information for CNP transactions\n"
},
"url": {
"type": "string",
@@ -56981,10 +56981,6 @@
"type": "string",
"description": "Your CyberSource merchant ID."
},
- "status": {
- "type": "string",
- "description": "The status of the submitted transaction."
- },
"submitTimeUTC": {
"type": "string",
"description": "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ`\n**Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.).\nThe `T` separates the date and the time. The `Z` indicates UTC.\n\nReturned by Cybersource for all services.\n"
@@ -57085,6 +57081,16 @@
"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"
},
+ "partner": {
+ "type": "object",
+ "properties": {
+ "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"
+ }
+ }
+ },
"comments": {
"type": "string",
"maxLength": 255,
@@ -57555,6 +57561,12 @@
"description": "Unique identifier for the legacy Secure Storage token used in the transaction.\nWhen you include this value in your request, many of the fields that are normally required for an authorization or credit\nbecome optional.\n",
"minLength": 16,
"maxLength": 22
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for the Customer token that was created as part of a bundled TOKEN_CREATE action.\n",
+ "minLength": 1,
+ "maxLength": 32
}
}
},
@@ -57726,6 +57738,39 @@
"description": "Currency of the remaining balance on the account. For the possible values, see the [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)\n\nReturned by authorization service.\n\n#### PIN debit\nCurrency of the remaining balance on the prepaid card.\n\nReturned by PIN debit purchase.\n"
}
}
+ },
+ "paymentInstrument": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for the Payment Instrument token that was created as part of a bundled TOKEN_CREATE action.\n",
+ "minLength": 1,
+ "maxLength": 32
+ }
+ }
+ },
+ "instrumentIdentifier": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for the Instrument Identifier token that was created as part of a bundled TOKEN_CREATE action.\n",
+ "minLength": 12,
+ "maxLength": 32
+ }
+ }
+ },
+ "shippingAddress": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for the Customers Shipping Address token that was created as part of a bundled TOKEN_CREATE action.\n",
+ "minLength": 1,
+ "maxLength": 32
+ }
+ }
}
}
},
@@ -58006,6 +58051,11 @@
"type": "string",
"maxLength": 1,
"description": "Used by Visa only and contains the response source/reason code that identifies the source of the response decision.\n"
+ },
+ "paymentAccountReferenceNumber": {
+ "type": "string",
+ "maxLength": 32,
+ "description": "Visa-generated reference number that identifies a card-present transaction for which you provided one of the\nfollowing:\n\n - Visa primary account number (PAN)\n - Visa-generated token for a PAN\n\nThis reference number serves as a link to the cardholder account and to all transactions for that account.\nThis reply field is returned only for CyberSource through VisaNet.\n\n**Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file:\n- Record: CP01 TCR8\n- Position: 79-110\n- Field: Payment Account Reference\n\nThe TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource.\nCyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant\u2019s acquirer,\nwho uses this information to facilitate end-of-day clearing processing with payment networks.\n"
}
}
},
@@ -58140,6 +58190,55 @@
}
}
},
+ "tokenInformation": {
+ "type": "object",
+ "properties": {
+ "customer": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for the Customer token that was created as part of a bundled TOKEN_CREATE action.\n",
+ "minLength": 1,
+ "maxLength": 32
+ }
+ }
+ },
+ "paymentInstrument": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for the Payment Instrument token that was created as part of a bundled TOKEN_CREATE action.\n",
+ "minLength": 1,
+ "maxLength": 32
+ }
+ }
+ },
+ "shippingAddress": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for the Customers Shipping Address token that was created as part of a bundled TOKEN_CREATE action.\n",
+ "minLength": 1,
+ "maxLength": 32
+ }
+ }
+ },
+ "instrumentIdentifier": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier for the Instrument Identifier token that was created as part of a bundled TOKEN_CREATE action.\n",
+ "minLength": 12,
+ "maxLength": 32
+ }
+ }
+ }
+ }
+ },
"_links": {
"type": "object",
"properties": {
@@ -58180,7 +58279,6 @@
"rootId": "5330571038726320201013",
"reconciliationId": "53703847LK9LPPXY",
"merchantId": "pa_rbsworldpay",
- "status": "PENDING",
"submitTimeUtc": "2018-07-31T17:26:14Z",
"applicationInformation": {
"status": "PENDING",
@@ -58209,6 +58307,9 @@
"applicationVersion": "1.0",
"applicationName": "SCMP API",
"applicationUser": "ng_paymentech",
+ "partner": {
+ "solutionId": "89012345"
+ },
"comments": "test comment"
},
"consumerAuthenticationInformation": {
@@ -58329,6 +58430,7 @@
"customer": {
"customerId": "123"
},
+ "id": "1C56E3115482033FEA539399130A4BC2",
"card": {
"suffix": "1111",
"prefix": "123",
@@ -58371,6 +58473,15 @@
"balanceAmount": "3.00",
"previousBalanceAmount": "2.00",
"currency": "usd"
+ },
+ "paymentInstrument": {
+ "id": "1C56E3115482033FEA539399130A4BC2"
+ },
+ "instrumentIdentifier": {
+ "id": "1C56E3115482033FEA539399130A4BC2"
+ },
+ "shippingAddress": {
+ "id": "1C56E3115482033FEA539399130A4BC2"
}
},
"processingInformation": {
@@ -58449,7 +58560,8 @@
"postalCodeRaw": "1166678717"
},
"systemTraceAuditNumber": "123456",
- "responseCodeSource": "0"
+ "responseCodeSource": "0",
+ "paymentAccountReferenceNumber": "abc4545345dfsf2342342wfa"
},
"pointOfSaleInformation": {
"terminalId": "1",
@@ -58491,6 +58603,20 @@
"senderInformation": {
"referenceNumber": "senderRefNumber1"
},
+ "tokenInformation": {
+ "customer": {
+ "id": "1C56E3115482033FEA539399130A4BC2"
+ },
+ "paymentInstrument": {
+ "id": "1C56E3115482033FEA539399130A4BC2"
+ },
+ "instrumentIdentifier": {
+ "id": "1C56E3115482033FEA539399130A4BC2"
+ },
+ "shippingAddress": {
+ "id": "1C56E3115482033FEA539399130A4BC2"
+ }
+ },
"_links": {
"self": {
"href": "https://api.visa.com/payment/tss/v2/transactions/5330579740206278601009",
diff --git a/packages.config b/packages.config
index f741d055..2c7e0ea8 100644
--- a/packages.config
+++ b/packages.config
@@ -1,6 +1,6 @@
-
+
diff --git a/test/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartnerTests.cs b/test/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartnerTests.cs
similarity index 59%
rename from test/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartnerTests.cs
rename to test/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartnerTests.cs
index dd01482a..07180f09 100644
--- a/test/Model/TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartnerTests.cs
+++ b/test/Model/TssV2TransactionsGet200ResponseClientReferenceInformationPartnerTests.cs
@@ -23,17 +23,17 @@
namespace CyberSource.Test
{
///
- /// Class for testing TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
+ /// Class for testing TssV2TransactionsGet200ResponseClientReferenceInformationPartner
///
///
/// This file is automatically generated by Swagger Codegen.
/// Please update the test case below to test the model.
///
[TestFixture]
- public class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartnerTests
+ public class TssV2TransactionsGet200ResponseClientReferenceInformationPartnerTests
{
- // TODO uncomment below to declare an instance variable for TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
- //private TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner instance;
+ // TODO uncomment below to declare an instance variable for TssV2TransactionsGet200ResponseClientReferenceInformationPartner
+ //private TssV2TransactionsGet200ResponseClientReferenceInformationPartner instance;
///
/// Setup before each test
@@ -41,8 +41,8 @@ public class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationP
[SetUp]
public void Init()
{
- // TODO uncomment below to create an instance of TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
- //instance = new TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner();
+ // TODO uncomment below to create an instance of TssV2TransactionsGet200ResponseClientReferenceInformationPartner
+ //instance = new TssV2TransactionsGet200ResponseClientReferenceInformationPartner();
}
///
@@ -55,13 +55,13 @@ public void Cleanup()
}
///
- /// Test an instance of TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
+ /// Test an instance of TssV2TransactionsGet200ResponseClientReferenceInformationPartner
///
[Test]
- public void TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartnerInstanceTest()
+ public void TssV2TransactionsGet200ResponseClientReferenceInformationPartnerInstanceTest()
{
- // TODO uncomment below to test "IsInstanceOfType" TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
- //Assert.IsInstanceOfType (instance, "variable 'instance' is a TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner");
+ // TODO uncomment below to test "IsInstanceOfType" TssV2TransactionsGet200ResponseClientReferenceInformationPartner
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a TssV2TransactionsGet200ResponseClientReferenceInformationPartner");
}
///
diff --git a/test/Model/TssV2TransactionsGet200ResponseClientReferenceInformationTests.cs b/test/Model/TssV2TransactionsGet200ResponseClientReferenceInformationTests.cs
index e1e8d3ea..9f4d605c 100644
--- a/test/Model/TssV2TransactionsGet200ResponseClientReferenceInformationTests.cs
+++ b/test/Model/TssV2TransactionsGet200ResponseClientReferenceInformationTests.cs
@@ -97,6 +97,14 @@ public void ApplicationUserTest()
// TODO unit test for the property 'ApplicationUser'
}
///
+ /// Test the property 'Partner'
+ ///
+ [Test]
+ public void PartnerTest()
+ {
+ // TODO unit test for the property 'Partner'
+ }
+ ///
/// Test the property 'Comments'
///
[Test]
diff --git a/test/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomerTests.cs b/test/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomerTests.cs
new file mode 100644
index 00000000..7567b4f1
--- /dev/null
+++ b/test/Model/TssV2TransactionsGet200ResponsePaymentInformationCustomerTests.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 TssV2TransactionsGet200ResponsePaymentInformationCustomer
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class TssV2TransactionsGet200ResponsePaymentInformationCustomerTests
+ {
+ // TODO uncomment below to declare an instance variable for TssV2TransactionsGet200ResponsePaymentInformationCustomer
+ //private TssV2TransactionsGet200ResponsePaymentInformationCustomer instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of TssV2TransactionsGet200ResponsePaymentInformationCustomer
+ //instance = new TssV2TransactionsGet200ResponsePaymentInformationCustomer();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of TssV2TransactionsGet200ResponsePaymentInformationCustomer
+ ///
+ [Test]
+ public void TssV2TransactionsGet200ResponsePaymentInformationCustomerInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" TssV2TransactionsGet200ResponsePaymentInformationCustomer
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a TssV2TransactionsGet200ResponsePaymentInformationCustomer");
+ }
+
+ ///
+ /// Test the property 'CustomerId'
+ ///
+ [Test]
+ public void CustomerIdTest()
+ {
+ // TODO unit test for the property 'CustomerId'
+ }
+ ///
+ /// Test the property 'Id'
+ ///
+ [Test]
+ public void IdTest()
+ {
+ // TODO unit test for the property 'Id'
+ }
+
+ }
+
+}
diff --git a/test/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifierTests.cs b/test/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifierTests.cs
new file mode 100644
index 00000000..6491c9a7
--- /dev/null
+++ b/test/Model/TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifierTests.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 TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifierTests
+ {
+ // TODO uncomment below to declare an instance variable for TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
+ //private TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
+ //instance = new TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
+ ///
+ [Test]
+ public void TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifierInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier");
+ }
+
+ ///
+ /// Test the property 'Id'
+ ///
+ [Test]
+ public void IdTest()
+ {
+ // TODO unit test for the property 'Id'
+ }
+
+ }
+
+}
diff --git a/test/Model/TssV2TransactionsGet200ResponsePaymentInformationTests.cs b/test/Model/TssV2TransactionsGet200ResponsePaymentInformationTests.cs
index d222bf63..2a3f5fc7 100644
--- a/test/Model/TssV2TransactionsGet200ResponsePaymentInformationTests.cs
+++ b/test/Model/TssV2TransactionsGet200ResponsePaymentInformationTests.cs
@@ -112,6 +112,30 @@ public void AccountFeaturesTest()
{
// TODO unit test for the property 'AccountFeatures'
}
+ ///
+ /// 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'
+ }
+ ///
+ /// Test the property 'ShippingAddress'
+ ///
+ [Test]
+ public void ShippingAddressTest()
+ {
+ // TODO unit test for the property 'ShippingAddress'
+ }
}
diff --git a/test/Model/TssV2TransactionsGet200ResponseProcessorInformationTests.cs b/test/Model/TssV2TransactionsGet200ResponseProcessorInformationTests.cs
index 72255bb3..f34ebc73 100644
--- a/test/Model/TssV2TransactionsGet200ResponseProcessorInformationTests.cs
+++ b/test/Model/TssV2TransactionsGet200ResponseProcessorInformationTests.cs
@@ -176,6 +176,14 @@ public void ResponseCodeSourceTest()
{
// TODO unit test for the property 'ResponseCodeSource'
}
+ ///
+ /// Test the property 'PaymentAccountReferenceNumber'
+ ///
+ [Test]
+ public void PaymentAccountReferenceNumberTest()
+ {
+ // TODO unit test for the property 'PaymentAccountReferenceNumber'
+ }
}
diff --git a/test/Model/TssV2TransactionsGet200ResponseTests.cs b/test/Model/TssV2TransactionsGet200ResponseTests.cs
index c5545d0a..af2b835c 100644
--- a/test/Model/TssV2TransactionsGet200ResponseTests.cs
+++ b/test/Model/TssV2TransactionsGet200ResponseTests.cs
@@ -97,14 +97,6 @@ public void MerchantIdTest()
// TODO unit test for the property 'MerchantId'
}
///
- /// Test the property 'Status'
- ///
- [Test]
- public void StatusTest()
- {
- // TODO unit test for the property 'Status'
- }
- ///
/// Test the property 'SubmitTimeUTC'
///
[Test]
@@ -257,6 +249,14 @@ public void SenderInformationTest()
// TODO unit test for the property 'SenderInformation'
}
///
+ /// Test the property 'TokenInformation'
+ ///
+ [Test]
+ public void TokenInformationTest()
+ {
+ // TODO unit test for the property 'TokenInformation'
+ }
+ ///
/// Test the property 'Links'
///
[Test]
diff --git a/test/Model/TssV2TransactionsGet200ResponseTokenInformationTests.cs b/test/Model/TssV2TransactionsGet200ResponseTokenInformationTests.cs
new file mode 100644
index 00000000..aa8b54a6
--- /dev/null
+++ b/test/Model/TssV2TransactionsGet200ResponseTokenInformationTests.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 TssV2TransactionsGet200ResponseTokenInformation
+ ///
+ ///
+ /// This file is automatically generated by Swagger Codegen.
+ /// Please update the test case below to test the model.
+ ///
+ [TestFixture]
+ public class TssV2TransactionsGet200ResponseTokenInformationTests
+ {
+ // TODO uncomment below to declare an instance variable for TssV2TransactionsGet200ResponseTokenInformation
+ //private TssV2TransactionsGet200ResponseTokenInformation instance;
+
+ ///
+ /// Setup before each test
+ ///
+ [SetUp]
+ public void Init()
+ {
+ // TODO uncomment below to create an instance of TssV2TransactionsGet200ResponseTokenInformation
+ //instance = new TssV2TransactionsGet200ResponseTokenInformation();
+ }
+
+ ///
+ /// Clean up after each test
+ ///
+ [TearDown]
+ public void Cleanup()
+ {
+
+ }
+
+ ///
+ /// Test an instance of TssV2TransactionsGet200ResponseTokenInformation
+ ///
+ [Test]
+ public void TssV2TransactionsGet200ResponseTokenInformationInstanceTest()
+ {
+ // TODO uncomment below to test "IsInstanceOfType" TssV2TransactionsGet200ResponseTokenInformation
+ //Assert.IsInstanceOfType (instance, "variable 'instance' is a TssV2TransactionsGet200ResponseTokenInformation");
+ }
+
+ ///
+ /// Test the property 'Customer'
+ ///
+ [Test]
+ public void CustomerTest()
+ {
+ // TODO unit test for the property 'Customer'
+ }
+ ///
+ /// Test the property 'PaymentInstrument'
+ ///
+ [Test]
+ public void PaymentInstrumentTest()
+ {
+ // TODO unit test for the property 'PaymentInstrument'
+ }
+ ///
+ /// Test the property 'ShippingAddress'
+ ///
+ [Test]
+ public void ShippingAddressTest()
+ {
+ // TODO unit test for the property 'ShippingAddress'
+ }
+ ///
+ /// Test the property 'InstrumentIdentifier'
+ ///
+ [Test]
+ public void InstrumentIdentifierTest()
+ {
+ // TODO unit test for the property 'InstrumentIdentifier'
+ }
+
+ }
+
+}
diff --git a/test/cybersource-rest-client-dotnet.Test.csproj b/test/cybersource-rest-client-dotnet.Test.csproj
index 06d15b9d..dc96c162 100644
--- a/test/cybersource-rest-client-dotnet.Test.csproj
+++ b/test/cybersource-rest-client-dotnet.Test.csproj
@@ -66,7 +66,7 @@ OpenAPI spec version: 0.0.1
- {8C08B6DC-4DA0-4434-A6C5-709932DDDDE5}
+ {395F83B7-004B-4968-B87C-DA8395B2A0B1}
cybersource-rest-client-dotnet