Skip to content

Commit

Permalink
Merge pull request #152 from CyberSource/april-release2
Browse files Browse the repository at this point in the history
April release2
  • Loading branch information
gaubansa authored May 2, 2023
2 parents 65110b3 + f90f74f commit 6e08a8e
Show file tree
Hide file tree
Showing 97 changed files with 2,059 additions and 223 deletions.
16 changes: 8 additions & 8 deletions Api/PaymentsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public interface IPaymentsApi : IApiAccessor
/// Process a Payment
/// </summary>
/// <remarks>
/// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// </remarks>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="createPaymentRequest"></param>
Expand All @@ -41,7 +41,7 @@ public interface IPaymentsApi : IApiAccessor
/// Process a Payment
/// </summary>
/// <remarks>
/// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// </remarks>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="createPaymentRequest"></param>
Expand Down Expand Up @@ -99,7 +99,7 @@ public interface IPaymentsApi : IApiAccessor
/// Process a Payment
/// </summary>
/// <remarks>
/// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// </remarks>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="createPaymentRequest"></param>
Expand All @@ -110,7 +110,7 @@ public interface IPaymentsApi : IApiAccessor
/// Process a Payment
/// </summary>
/// <remarks>
/// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// </remarks>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="createPaymentRequest"></param>
Expand Down Expand Up @@ -303,7 +303,7 @@ public void SetStatusCode(int? statusCode)
}

/// <summary>
/// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// </summary>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="createPaymentRequest"></param>
Expand All @@ -319,7 +319,7 @@ public PtsV2PaymentsPost201Response CreatePayment (CreatePaymentRequest createPa
}

/// <summary>
/// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// </summary>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="createPaymentRequest"></param>
Expand Down Expand Up @@ -401,7 +401,7 @@ public ApiResponse< PtsV2PaymentsPost201Response > CreatePaymentWithHttpInfo (Cr
}

/// <summary>
/// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// </summary>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="createPaymentRequest"></param>
Expand All @@ -418,7 +418,7 @@ public async System.Threading.Tasks.Task<PtsV2PaymentsPost201Response> CreatePay
}

/// <summary>
/// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// Process a Payment A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
/// </summary>
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="createPaymentRequest"></param>
Expand Down
1 change: 1 addition & 0 deletions Client/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ public object CallApi(
string fileName = Path.Combine(clientCertDirectory, clientCertFile);
// Importing Certificates
var certificate = new X509Certificate2(fileName, clientCertPassword);
clientCertPassword=string.Empty;
RestClient.Options.ClientCertificates = new X509CertificateCollection { certificate };
}

Expand Down
18 changes: 17 additions & 1 deletion Model/CreateBundledDecisionManagerCaseRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public partial class CreateBundledDecisionManagerCaseRequest : IEquatable<Creat
/// <param name="AcquirerInformation">AcquirerInformation.</param>
/// <param name="RecurringPaymentInformation">RecurringPaymentInformation.</param>
/// <param name="ConsumerAuthenticationInformation">ConsumerAuthenticationInformation.</param>
public CreateBundledDecisionManagerCaseRequest(Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation), Riskv1decisionsProcessorInformation ProcessorInformation = default(Riskv1decisionsProcessorInformation), Riskv1decisionsProcessingInformation ProcessingInformation = default(Riskv1decisionsProcessingInformation), Riskv1decisionsPaymentInformation PaymentInformation = default(Riskv1decisionsPaymentInformation), Riskv1decisionsOrderInformation OrderInformation = default(Riskv1decisionsOrderInformation), Riskv1decisionsBuyerInformation BuyerInformation = default(Riskv1decisionsBuyerInformation), Riskv1decisionsDeviceInformation DeviceInformation = default(Riskv1decisionsDeviceInformation), Riskv1decisionsRiskInformation RiskInformation = default(Riskv1decisionsRiskInformation), Riskv1decisionsTravelInformation TravelInformation = default(Riskv1decisionsTravelInformation), List<Riskv1decisionsMerchantDefinedInformation> MerchantDefinedInformation = default(List<Riskv1decisionsMerchantDefinedInformation>), Riskv1decisionsMerchantInformation MerchantInformation = default(Riskv1decisionsMerchantInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Riskv1decisionsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Riskv1decisionsConsumerAuthenticationInformation))
/// <param name="WatchlistScreeningInformation">WatchlistScreeningInformation.</param>
public CreateBundledDecisionManagerCaseRequest(Riskv1decisionsClientReferenceInformation ClientReferenceInformation = default(Riskv1decisionsClientReferenceInformation), Riskv1decisionsProcessorInformation ProcessorInformation = default(Riskv1decisionsProcessorInformation), Riskv1decisionsProcessingInformation ProcessingInformation = default(Riskv1decisionsProcessingInformation), Riskv1decisionsPaymentInformation PaymentInformation = default(Riskv1decisionsPaymentInformation), Riskv1decisionsOrderInformation OrderInformation = default(Riskv1decisionsOrderInformation), Riskv1decisionsBuyerInformation BuyerInformation = default(Riskv1decisionsBuyerInformation), Riskv1decisionsDeviceInformation DeviceInformation = default(Riskv1decisionsDeviceInformation), Riskv1decisionsRiskInformation RiskInformation = default(Riskv1decisionsRiskInformation), Riskv1decisionsTravelInformation TravelInformation = default(Riskv1decisionsTravelInformation), List<Riskv1decisionsMerchantDefinedInformation> MerchantDefinedInformation = default(List<Riskv1decisionsMerchantDefinedInformation>), Riskv1decisionsMerchantInformation MerchantInformation = default(Riskv1decisionsMerchantInformation), Ptsv2paymentsAcquirerInformation AcquirerInformation = default(Ptsv2paymentsAcquirerInformation), Ptsv2paymentsRecurringPaymentInformation RecurringPaymentInformation = default(Ptsv2paymentsRecurringPaymentInformation), Riskv1decisionsConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(Riskv1decisionsConsumerAuthenticationInformation), Ptsv2paymentsWatchlistScreeningInformation WatchlistScreeningInformation = default(Ptsv2paymentsWatchlistScreeningInformation))
{
this.ClientReferenceInformation = ClientReferenceInformation;
this.ProcessorInformation = ProcessorInformation;
Expand All @@ -63,6 +64,7 @@ public partial class CreateBundledDecisionManagerCaseRequest : IEquatable<Creat
this.AcquirerInformation = AcquirerInformation;
this.RecurringPaymentInformation = RecurringPaymentInformation;
this.ConsumerAuthenticationInformation = ConsumerAuthenticationInformation;
this.WatchlistScreeningInformation = WatchlistScreeningInformation;
}

/// <summary>
Expand Down Expand Up @@ -149,6 +151,12 @@ public partial class CreateBundledDecisionManagerCaseRequest : IEquatable<Creat
[DataMember(Name="consumerAuthenticationInformation", EmitDefaultValue=false)]
public Riskv1decisionsConsumerAuthenticationInformation ConsumerAuthenticationInformation { get; set; }

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

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -171,6 +179,7 @@ public override string ToString()
sb.Append(" AcquirerInformation: ").Append(AcquirerInformation).Append("\n");
sb.Append(" RecurringPaymentInformation: ").Append(RecurringPaymentInformation).Append("\n");
sb.Append(" ConsumerAuthenticationInformation: ").Append(ConsumerAuthenticationInformation).Append("\n");
sb.Append(" WatchlistScreeningInformation: ").Append(WatchlistScreeningInformation).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -276,6 +285,11 @@ public bool Equals(CreateBundledDecisionManagerCaseRequest other)
this.ConsumerAuthenticationInformation == other.ConsumerAuthenticationInformation ||
this.ConsumerAuthenticationInformation != null &&
this.ConsumerAuthenticationInformation.Equals(other.ConsumerAuthenticationInformation)
) &&
(
this.WatchlistScreeningInformation == other.WatchlistScreeningInformation ||
this.WatchlistScreeningInformation != null &&
this.WatchlistScreeningInformation.Equals(other.WatchlistScreeningInformation)
);
}

Expand Down Expand Up @@ -318,6 +332,8 @@ public override int GetHashCode()
hash = hash * 59 + this.RecurringPaymentInformation.GetHashCode();
if (this.ConsumerAuthenticationInformation != null)
hash = hash * 59 + this.ConsumerAuthenticationInformation.GetHashCode();
if (this.WatchlistScreeningInformation != null)
hash = hash * 59 + this.WatchlistScreeningInformation.GetHashCode();
return hash;
}
}
Expand Down
Loading

0 comments on commit 6e08a8e

Please sign in to comment.