Skip to content

Commit

Permalink
Changes for ad-hoc release (May-June 2021)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnongsie committed Jun 5, 2021
1 parent afbe50c commit e946da4
Show file tree
Hide file tree
Showing 112 changed files with 1,882 additions and 374 deletions.
4 changes: 2 additions & 2 deletions Model/AddNegativeListRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial class AddNegativeListRequest : IEquatable<AddNegativeListRequest
/// <param name="DeviceInformation">DeviceInformation.</param>
/// <param name="RiskInformation">RiskInformation.</param>
/// <param name="BuyerInformation">BuyerInformation.</param>
public AddNegativeListRequest(Riskv1liststypeentriesOrderInformation OrderInformation = default(Riskv1liststypeentriesOrderInformation), Riskv1liststypeentriesPaymentInformation PaymentInformation = default(Riskv1liststypeentriesPaymentInformation), Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation), Riskv1liststypeentriesDeviceInformation DeviceInformation = default(Riskv1liststypeentriesDeviceInformation), Riskv1liststypeentriesRiskInformation RiskInformation = default(Riskv1liststypeentriesRiskInformation), Riskv1liststypeentriesBuyerInformation BuyerInformation = default(Riskv1liststypeentriesBuyerInformation))
public AddNegativeListRequest(Riskv1liststypeentriesOrderInformation OrderInformation = default(Riskv1liststypeentriesOrderInformation), Riskv1liststypeentriesPaymentInformation PaymentInformation = default(Riskv1liststypeentriesPaymentInformation), Riskv1liststypeentriesClientReferenceInformation ClientReferenceInformation = default(Riskv1liststypeentriesClientReferenceInformation), Riskv1liststypeentriesDeviceInformation DeviceInformation = default(Riskv1liststypeentriesDeviceInformation), Riskv1liststypeentriesRiskInformation RiskInformation = default(Riskv1liststypeentriesRiskInformation), Riskv1liststypeentriesBuyerInformation BuyerInformation = default(Riskv1liststypeentriesBuyerInformation))
{
this.OrderInformation = OrderInformation;
this.PaymentInformation = PaymentInformation;
Expand All @@ -65,7 +65,7 @@ public partial class AddNegativeListRequest : IEquatable<AddNegativeListRequest
/// Gets or Sets ClientReferenceInformation
/// </summary>
[DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)]
public Riskv1decisionsClientReferenceInformation ClientReferenceInformation { get; set; }
public Riskv1liststypeentriesClientReferenceInformation ClientReferenceInformation { get; set; }

/// <summary>
/// Gets or Sets DeviceInformation
Expand Down
4 changes: 2 additions & 2 deletions Model/FraudMarkingActionRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public partial class FraudMarkingActionRequest : IEquatable<FraudMarkingActionR
/// </summary>
/// <param name="RiskInformation">RiskInformation.</param>
/// <param name="ClientReferenceInformation">ClientReferenceInformation.</param>
public FraudMarkingActionRequest(Riskv1decisionsidmarkingRiskInformation RiskInformation = default(Riskv1decisionsidmarkingRiskInformation), Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation))
public FraudMarkingActionRequest(Riskv1decisionsidmarkingRiskInformation RiskInformation = default(Riskv1decisionsidmarkingRiskInformation), Riskv1liststypeentriesClientReferenceInformation ClientReferenceInformation = default(Riskv1liststypeentriesClientReferenceInformation))
{
this.RiskInformation = RiskInformation;
this.ClientReferenceInformation = ClientReferenceInformation;
Expand All @@ -51,7 +51,7 @@ public partial class FraudMarkingActionRequest : IEquatable<FraudMarkingActionR
/// Gets or Sets ClientReferenceInformation
/// </summary>
[DataMember(Name="clientReferenceInformation", EmitDefaultValue=false)]
public Riskv1decisionsClientReferenceInformation ClientReferenceInformation { get; set; }
public Riskv1liststypeentriesClientReferenceInformation ClientReferenceInformation { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public partial class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformati
/// <summary>
/// Initializes a new instance of the <see cref="PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation" /> class.
/// </summary>
/// <param name="AccessToken">JSON Web Token (JWT) used to authenticate the consumer with the authentication provider, such as, CardinalCommerce or Rupay. Note - Max Length of this field is 2048 characters. .</param>
/// <param name="AcsRenderingType">Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK. .</param>
/// <param name="AcsTransactionId">Unique transaction identifier assigned by the ACS to identify a single transaction. .</param>
/// <param name="AcsUrl">URL for the card-issuing bank’s authentication form that you receive when the card is enrolled. The value can be very large. .</param>
Expand Down Expand Up @@ -73,8 +74,9 @@ public partial class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformati
/// <param name="Indicator">Indicator used to differentiate Internet transactions from other types. The authentication failed if this field is not returned. For Visa, if your payment processor is Streamline, Barclays, AIBMS, or FDC Germany, you receive the value vbv_failure instead of internet when eci is 07. The value of this field is passed automatically to the authorization service if you request the services together. This field contains one of these values: - &#x60;aesk&#x60;: American Express SafeKey authentication verified successfully. - &#x60;aesk_attempted&#x60;: Card not enrolled in American Express SafeKey, but the attempt to authenticate was recorded. - &#x60;dipb&#x60;: Discover ProtectBuy authentication verified successfully. - &#x60;dipb_attempted&#x60;: Card not enrolled in Discover ProtectBuy, but the attempt to authenticate was recorded. - &#x60;internet&#x60;: Authentication was not verified successfully. - &#x60;js&#x60;: J/Secure authentication verified successfully. - &#x60;js_attempted&#x60;: Card not enrolled in J/Secure, but the attempt to authenticate was recorded. - &#x60;moto&#x60;: Mail or telephone order. - &#x60;pb_attempted&#x60;: Card not enrolled in Diners Club ProtectBuy, but the attempt to authenticate was recorded. - &#x60;recurring&#x60;: Recurring transaction. - &#x60;spa&#x60;: Mastercard Identity Check authentication verified successfully. - &#x60;spa_failure&#x60;: Mastercard Identity Check failed authentication. - &#x60;vbv&#x60;: Visa Secure authentication verified successfully. - &#x60;vbv_attempted&#x60;: Card not enrolled in Visa Secure, but the attempt to authenticate was recorded. - &#x60;vbv_failure&#x60;: Visa Secure authentication unavailable. .</param>
/// <param name="InteractionCounter">Indicates the number of authentication cycles attempted by the cardholder and is tracked by the Issuing Banks ACS.Example: if customer gets the challenge window and enter in their one time password and hit submit then that interaction counter should just be 1. When customer gets the challenge window and the bank asks if they want to have the one time password sent to their phone or their email and they have to choose before going to the next screen to enter in their one time password then this interaction count would be 2. One for the selection of how they want the one time password delivered and another with them actually entering in the one time password and hitting the submit button. .</param>
/// <param name="WhiteListStatus">Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor. Possible Values: Y - 3DS Requestor is whitelisted by cardholder N - 3DS Requestor is not whitelisted by cardholder .</param>
public PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation(string AcsRenderingType = default(string), string AcsTransactionId = default(string), string AcsUrl = default(string), string AuthenticationPath = default(string), string AuthorizationPayload = default(string), string AuthenticationTransactionId = default(string), string CardholderMessage = default(string), string Cavv = default(string), string CavvAlgorithm = default(string), string ChallengeCancelCode = default(string), string ChallengeRequired = default(string), string DecoupledAuthenticationIndicator = default(string), string DirectoryServerErrorCode = default(string), string DirectoryServerErrorDescription = default(string), string EcommerceIndicator = default(string), string Eci = default(string), string EciRaw = default(string), string EffectiveAuthenticationType = default(string), PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr Ivr = default(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr), string NetworkScore = default(string), string Pareq = default(string), string ParesStatus = default(string), string ProofXml = default(string), string ProxyPan = default(string), string SdkTransactionId = default(string), string SignedParesStatusReason = default(string), string SpecificationVersion = default(string), string StepUpUrl = default(string), string ThreeDSServerTransactionId = default(string), string UcafAuthenticationData = default(string), string UcafCollectionIndicator = default(string), string VeresEnrolled = default(string), string WhiteListStatusSource = default(string), string Xid = default(string), string DirectoryServerTransactionId = default(string), string AuthenticationResult = default(string), string AuthenticationStatusMsg = default(string), string Indicator = default(string), string InteractionCounter = default(string), string WhiteListStatus = default(string))
public PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation(string AccessToken = default(string), string AcsRenderingType = default(string), string AcsTransactionId = default(string), string AcsUrl = default(string), string AuthenticationPath = default(string), string AuthorizationPayload = default(string), string AuthenticationTransactionId = default(string), string CardholderMessage = default(string), string Cavv = default(string), string CavvAlgorithm = default(string), string ChallengeCancelCode = default(string), string ChallengeRequired = default(string), string DecoupledAuthenticationIndicator = default(string), string DirectoryServerErrorCode = default(string), string DirectoryServerErrorDescription = default(string), string EcommerceIndicator = default(string), string Eci = default(string), string EciRaw = default(string), string EffectiveAuthenticationType = default(string), PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr Ivr = default(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr), string NetworkScore = default(string), string Pareq = default(string), string ParesStatus = default(string), string ProofXml = default(string), string ProxyPan = default(string), string SdkTransactionId = default(string), string SignedParesStatusReason = default(string), string SpecificationVersion = default(string), string StepUpUrl = default(string), string ThreeDSServerTransactionId = default(string), string UcafAuthenticationData = default(string), string UcafCollectionIndicator = default(string), string VeresEnrolled = default(string), string WhiteListStatusSource = default(string), string Xid = default(string), string DirectoryServerTransactionId = default(string), string AuthenticationResult = default(string), string AuthenticationStatusMsg = default(string), string Indicator = default(string), string InteractionCounter = default(string), string WhiteListStatus = default(string))
{
this.AccessToken = AccessToken;
this.AcsRenderingType = AcsRenderingType;
this.AcsTransactionId = AcsTransactionId;
this.AcsUrl = AcsUrl;
Expand Down Expand Up @@ -117,6 +119,13 @@ public partial class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformati
this.WhiteListStatus = WhiteListStatus;
}

/// <summary>
/// JSON Web Token (JWT) used to authenticate the consumer with the authentication provider, such as, CardinalCommerce or Rupay. Note - Max Length of this field is 2048 characters.
/// </summary>
/// <value>JSON Web Token (JWT) used to authenticate the consumer with the authentication provider, such as, CardinalCommerce or Rupay. Note - Max Length of this field is 2048 characters. </value>
[DataMember(Name="accessToken", EmitDefaultValue=false)]
public string AccessToken { get; set; }

/// <summary>
/// Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK.
/// </summary>
Expand Down Expand Up @@ -404,6 +413,7 @@ public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation {\n");
sb.Append(" AccessToken: ").Append(AccessToken).Append("\n");
sb.Append(" AcsRenderingType: ").Append(AcsRenderingType).Append("\n");
sb.Append(" AcsTransactionId: ").Append(AcsTransactionId).Append("\n");
sb.Append(" AcsUrl: ").Append(AcsUrl).Append("\n");
Expand Down Expand Up @@ -480,6 +490,11 @@ public bool Equals(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation
return false;

return
(
this.AccessToken == other.AccessToken ||
this.AccessToken != null &&
this.AccessToken.Equals(other.AccessToken)
) &&
(
this.AcsRenderingType == other.AcsRenderingType ||
this.AcsRenderingType != null &&
Expand Down Expand Up @@ -693,6 +708,8 @@ public override int GetHashCode()
{
int hash = 41;
// Suitable nullity checks etc, of course :)
if (this.AccessToken != null)
hash = hash * 59 + this.AccessToken.GetHashCode();
if (this.AcsRenderingType != null)
hash = hash * 59 + this.AcsRenderingType.GetHashCode();
if (this.AcsTransactionId != null)
Expand Down
18 changes: 17 additions & 1 deletion Model/PtsV2PaymentsPost201ResponseOrderInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ public partial class PtsV2PaymentsPost201ResponseOrderInformation : IEquatable<
/// </summary>
/// <param name="AmountDetails">AmountDetails.</param>
/// <param name="InvoiceDetails">InvoiceDetails.</param>
public PtsV2PaymentsPost201ResponseOrderInformation(PtsV2PaymentsPost201ResponseOrderInformationAmountDetails AmountDetails = default(PtsV2PaymentsPost201ResponseOrderInformationAmountDetails), PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails InvoiceDetails = default(PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails))
/// <param name="RewardPointsDetails">RewardPointsDetails.</param>
public PtsV2PaymentsPost201ResponseOrderInformation(PtsV2PaymentsPost201ResponseOrderInformationAmountDetails AmountDetails = default(PtsV2PaymentsPost201ResponseOrderInformationAmountDetails), PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails InvoiceDetails = default(PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails), PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails RewardPointsDetails = default(PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails))
{
this.AmountDetails = AmountDetails;
this.InvoiceDetails = InvoiceDetails;
this.RewardPointsDetails = RewardPointsDetails;
}

/// <summary>
Expand All @@ -53,6 +55,12 @@ public partial class PtsV2PaymentsPost201ResponseOrderInformation : IEquatable<
[DataMember(Name="invoiceDetails", EmitDefaultValue=false)]
public PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails InvoiceDetails { get; set; }

/// <summary>
/// Gets or Sets RewardPointsDetails
/// </summary>
[DataMember(Name="rewardPointsDetails", EmitDefaultValue=false)]
public PtsV2PaymentsPost201ResponseOrderInformationRewardPointsDetails RewardPointsDetails { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -63,6 +71,7 @@ public override string ToString()
sb.Append("class PtsV2PaymentsPost201ResponseOrderInformation {\n");
sb.Append(" AmountDetails: ").Append(AmountDetails).Append("\n");
sb.Append(" InvoiceDetails: ").Append(InvoiceDetails).Append("\n");
sb.Append(" RewardPointsDetails: ").Append(RewardPointsDetails).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -108,6 +117,11 @@ public bool Equals(PtsV2PaymentsPost201ResponseOrderInformation other)
this.InvoiceDetails == other.InvoiceDetails ||
this.InvoiceDetails != null &&
this.InvoiceDetails.Equals(other.InvoiceDetails)
) &&
(
this.RewardPointsDetails == other.RewardPointsDetails ||
this.RewardPointsDetails != null &&
this.RewardPointsDetails.Equals(other.RewardPointsDetails)
);
}

Expand All @@ -126,6 +140,8 @@ public override int GetHashCode()
hash = hash * 59 + this.AmountDetails.GetHashCode();
if (this.InvoiceDetails != null)
hash = hash * 59 + this.InvoiceDetails.GetHashCode();
if (this.RewardPointsDetails != null)
hash = hash * 59 + this.RewardPointsDetails.GetHashCode();
return hash;
}
}
Expand Down
Loading

0 comments on commit e946da4

Please sign in to comment.