Skip to content

Commit 321da1c

Browse files
committed
Updates for February 2021 Release
- Added OAuth support - Added MetaKey support - Updated documentation for OAuth and MetaKey support
1 parent 00d9c5a commit 321da1c

File tree

65 files changed

+1622
-1242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1622
-1242
lines changed

Client/ApiClient.cs

Lines changed: 803 additions & 803 deletions
Large diffs are not rendered by default.

Model/CheckPayerAuthEnrollmentRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public partial class CheckPayerAuthEnrollmentRequest : IEquatable<CheckPayerAut
4747
/// <param name="RiskInformation">RiskInformation.</param>
4848
/// <param name="TravelInformation">TravelInformation.</param>
4949
/// <param name="MerchantDefinedInformation">MerchantDefinedInformation.</param>
50-
public CheckPayerAuthEnrollmentRequest(Riskv1authenticationsetupsClientReferenceInformation ClientReferenceInformation = default(Riskv1authenticationsetupsClientReferenceInformation), Riskv1authenticationsOrderInformation OrderInformation = default(Riskv1authenticationsOrderInformation), Riskv1authenticationsPaymentInformation PaymentInformation = default(Riskv1authenticationsPaymentInformation), Riskv1authenticationsetupsProcessingInformation ProcessingInformation = default(Riskv1authenticationsetupsProcessingInformation), Riskv1authenticationsetupsTokenInformation TokenInformation = default(Riskv1authenticationsetupsTokenInformation), Riskv1authenticationsBuyerInformation BuyerInformation = default(Riskv1authenticationsBuyerInformation), Riskv1authenticationsDeviceInformation DeviceInformation = default(Riskv1authenticationsDeviceInformation), Riskv1decisionsMerchantInformation MerchantInformation = default(Riskv1decisionsMerchantInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Riskv1decisionsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Riskv1decisionsConsumerAuthenticationInformation), Riskv1authenticationsRiskInformation RiskInformation = default(Riskv1authenticationsRiskInformation), Riskv1authenticationsTravelInformation TravelInformation = default(Riskv1authenticationsTravelInformation), List<Riskv1decisionsMerchantDefinedInformation> MerchantDefinedInformation = default(List<Riskv1decisionsMerchantDefinedInformation>))
50+
public CheckPayerAuthEnrollmentRequest(Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation), Riskv1authenticationsOrderInformation OrderInformation = default(Riskv1authenticationsOrderInformation), Riskv1authenticationsPaymentInformation PaymentInformation = default(Riskv1authenticationsPaymentInformation), Riskv1authenticationsetupsProcessingInformation ProcessingInformation = default(Riskv1authenticationsetupsProcessingInformation), Riskv1authenticationsetupsTokenInformation TokenInformation = default(Riskv1authenticationsetupsTokenInformation), Riskv1authenticationsBuyerInformation BuyerInformation = default(Riskv1authenticationsBuyerInformation), Riskv1authenticationsDeviceInformation DeviceInformation = default(Riskv1authenticationsDeviceInformation), Riskv1decisionsMerchantInformation MerchantInformation = default(Riskv1decisionsMerchantInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Riskv1decisionsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Riskv1decisionsConsumerAuthenticationInformation), Riskv1authenticationsRiskInformation RiskInformation = default(Riskv1authenticationsRiskInformation), Riskv1authenticationsTravelInformation TravelInformation = default(Riskv1authenticationsTravelInformation), List<Riskv1decisionsMerchantDefinedInformation> MerchantDefinedInformation = default(List<Riskv1decisionsMerchantDefinedInformation>))
5151
{
5252
this.ClientReferenceInformation = ClientReferenceInformation;
5353
this.OrderInformation = OrderInformation;
@@ -69,7 +69,7 @@ public partial class CheckPayerAuthEnrollmentRequest : IEquatable<CheckPayerAut
6969
/// Gets or Sets ClientReferenceInformation
7070
/// </summary>
7171
[DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)]
72-
public Riskv1authenticationsetupsClientReferenceInformation ClientReferenceInformation { get; set; }
72+
public Riskv1decisionsClientReferenceInformation ClientReferenceInformation { get; set; }
7373

7474
/// <summary>
7575
/// Gets or Sets OrderInformation

Model/FraudMarkingActionRequest.cs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ public partial class FraudMarkingActionRequest : IEquatable<FraudMarkingActionR
3434
/// Initializes a new instance of the <see cref="FraudMarkingActionRequest" /> class.
3535
/// </summary>
3636
/// <param name="RiskInformation">RiskInformation.</param>
37-
public FraudMarkingActionRequest(Riskv1decisionsidmarkingRiskInformation RiskInformation = default(Riskv1decisionsidmarkingRiskInformation))
37+
/// <param name="ClientReferenceInformation">ClientReferenceInformation.</param>
38+
public FraudMarkingActionRequest(Riskv1decisionsidmarkingRiskInformation RiskInformation = default(Riskv1decisionsidmarkingRiskInformation), Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation))
3839
{
3940
this.RiskInformation = RiskInformation;
41+
this.ClientReferenceInformation = ClientReferenceInformation;
4042
}
4143

4244
/// <summary>
@@ -45,6 +47,12 @@ public partial class FraudMarkingActionRequest : IEquatable<FraudMarkingActionR
4547
[DataMember(Name="riskInformation", EmitDefaultValue=false)]
4648
public Riskv1decisionsidmarkingRiskInformation RiskInformation { get; set; }
4749

50+
/// <summary>
51+
/// Gets or Sets ClientReferenceInformation
52+
/// </summary>
53+
[DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)]
54+
public Riskv1decisionsClientReferenceInformation ClientReferenceInformation { get; set; }
55+
4856
/// <summary>
4957
/// Returns the string presentation of the object
5058
/// </summary>
@@ -54,6 +62,7 @@ public override string ToString()
5462
var sb = new StringBuilder();
5563
sb.Append("class FraudMarkingActionRequest {\n");
5664
sb.Append(" RiskInformation: ").Append(RiskInformation).Append("\n");
65+
sb.Append(" ClientReferenceInformation: ").Append(ClientReferenceInformation).Append("\n");
5766
sb.Append("}\n");
5867
return sb.ToString();
5968
}
@@ -94,6 +103,11 @@ public bool Equals(FraudMarkingActionRequest other)
94103
this.RiskInformation == other.RiskInformation ||
95104
this.RiskInformation != null &&
96105
this.RiskInformation.Equals(other.RiskInformation)
106+
) &&
107+
(
108+
this.ClientReferenceInformation == other.ClientReferenceInformation ||
109+
this.ClientReferenceInformation != null &&
110+
this.ClientReferenceInformation.Equals(other.ClientReferenceInformation)
97111
);
98112
}
99113

@@ -110,6 +124,8 @@ public override int GetHashCode()
110124
// Suitable nullity checks etc, of course :)
111125
if (this.RiskInformation != null)
112126
hash = hash * 59 + this.RiskInformation.GetHashCode();
127+
if (this.ClientReferenceInformation != null)
128+
hash = hash * 59 + this.ClientReferenceInformation.GetHashCode();
113129
return hash;
114130
}
115131
}

Model/Kmsv2keyssymClientReferenceInformation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public partial class Kmsv2keyssymClientReferenceInformation : IEquatable<Kmsv2k
3636
/// <param name="Code">Client-generated order reference or tracking number. CyberSource recommends that you send a unique value. .</param>
3737
/// <param name="Comments">Comments.</param>
3838
/// <param name="Partner">Partner.</param>
39-
public Kmsv2keyssymClientReferenceInformation(string Code = default(string), string Comments = default(string), Vasv2taxClientReferenceInformationPartner Partner = default(Vasv2taxClientReferenceInformationPartner))
39+
public Kmsv2keyssymClientReferenceInformation(string Code = default(string), string Comments = default(string), Riskv1decisionsClientReferenceInformationPartner Partner = default(Riskv1decisionsClientReferenceInformationPartner))
4040
{
4141
this.Code = Code;
4242
this.Comments = Comments;
@@ -61,7 +61,7 @@ public partial class Kmsv2keyssymClientReferenceInformation : IEquatable<Kmsv2k
6161
/// Gets or Sets Partner
6262
/// </summary>
6363
[DataMember(Name="partner", EmitDefaultValue=false)]
64-
public Vasv2taxClientReferenceInformationPartner Partner { get; set; }
64+
public Riskv1decisionsClientReferenceInformationPartner Partner { get; set; }
6565

6666
/// <summary>
6767
/// Returns the string presentation of the object

Model/PayerAuthSetupRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public partial class PayerAuthSetupRequest : IEquatable<PayerAuthSetupRequest>,
3737
/// <param name="PaymentInformation">PaymentInformation.</param>
3838
/// <param name="ProcessingInformation">ProcessingInformation.</param>
3939
/// <param name="TokenInformation">TokenInformation.</param>
40-
public PayerAuthSetupRequest(Riskv1authenticationsetupsClientReferenceInformation ClientReferenceInformation = default(Riskv1authenticationsetupsClientReferenceInformation), Riskv1authenticationsetupsPaymentInformation PaymentInformation = default(Riskv1authenticationsetupsPaymentInformation), Riskv1authenticationsetupsProcessingInformation ProcessingInformation = default(Riskv1authenticationsetupsProcessingInformation), Riskv1authenticationsetupsTokenInformation TokenInformation = default(Riskv1authenticationsetupsTokenInformation))
40+
public PayerAuthSetupRequest(Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation), Riskv1authenticationsetupsPaymentInformation PaymentInformation = default(Riskv1authenticationsetupsPaymentInformation), Riskv1authenticationsetupsProcessingInformation ProcessingInformation = default(Riskv1authenticationsetupsProcessingInformation), Riskv1authenticationsetupsTokenInformation TokenInformation = default(Riskv1authenticationsetupsTokenInformation))
4141
{
4242
this.ClientReferenceInformation = ClientReferenceInformation;
4343
this.PaymentInformation = PaymentInformation;
@@ -49,7 +49,7 @@ public partial class PayerAuthSetupRequest : IEquatable<PayerAuthSetupRequest>,
4949
/// Gets or Sets ClientReferenceInformation
5050
/// </summary>
5151
[DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)]
52-
public Riskv1authenticationsetupsClientReferenceInformation ClientReferenceInformation { get; set; }
52+
public Riskv1decisionsClientReferenceInformation ClientReferenceInformation { get; set; }
5353

5454
/// <summary>
5555
/// Gets or Sets PaymentInformation

Model/PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public partial class PtsV2IncrementalAuthorizationPatch201ResponseErrorInformati
3333
/// <summary>
3434
/// Initializes a new instance of the <see cref="PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation" /> class.
3535
/// </summary>
36-
/// <param name="Reason">The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION .</param>
36+
/// <param name="Reason">The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - CONSUMER_AUTHENTICATION_REQUIRED .</param>
3737
/// <param name="Message">The detail message related to the status and reason listed above..</param>
3838
/// <param name="Details">Details.</param>
3939
public PtsV2IncrementalAuthorizationPatch201ResponseErrorInformation(string Reason = default(string), string Message = default(string), List<PtsV2PaymentsPost201ResponseErrorInformationDetails> Details = default(List<PtsV2PaymentsPost201ResponseErrorInformationDetails>))
@@ -44,9 +44,9 @@ public partial class PtsV2IncrementalAuthorizationPatch201ResponseErrorInformati
4444
}
4545

4646
/// <summary>
47-
/// The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION
47+
/// The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - CONSUMER_AUTHENTICATION_REQUIRED
4848
/// </summary>
49-
/// <value>The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - PENDING_AUTHENTICATION </value>
49+
/// <value>The reason of the status. Possible values: - AVS_FAILED - CONTACT_PROCESSOR - EXPIRED_CARD - PROCESSOR_DECLINED - INSUFFICIENT_FUND - STOLEN_LOST_CARD - ISSUER_UNAVAILABLE - UNAUTHORIZED_CARD - CVN_NOT_MATCH - EXCEEDS_CREDIT_LIMIT - INVALID_CVN - BLACKLISTED_CUSTOMER - SUSPENDED_ACCOUNT - PAYMENT_REFUSED - CV_FAILED - INVALID_ACCOUNT - GENERAL_DECLINE - INVALID_MERCHANT_CONFIGURATION - DECISION_PROFILE_REJECT - SCORE_EXCEEDS_THRESHOLD - CONSUMER_AUTHENTICATION_REQUIRED </value>
5050
[DataMember(Name="reason", EmitDefaultValue=false)]
5151
public string Reason { get; set; }
5252

0 commit comments

Comments
 (0)