Skip to content

Commit 6e08a8e

Browse files
authored
Merge pull request #152 from CyberSource/april-release2
April release2
2 parents 65110b3 + f90f74f commit 6e08a8e

File tree

97 files changed

+2059
-223
lines changed

Some content is hidden

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

97 files changed

+2059
-223
lines changed

Api/PaymentsApi.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public interface IPaymentsApi : IApiAccessor
3030
/// Process a Payment
3131
/// </summary>
3232
/// <remarks>
33-
/// 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.
33+
/// 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.
3434
/// </remarks>
3535
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
3636
/// <param name="createPaymentRequest"></param>
@@ -41,7 +41,7 @@ public interface IPaymentsApi : IApiAccessor
4141
/// Process a Payment
4242
/// </summary>
4343
/// <remarks>
44-
/// 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.
44+
/// 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.
4545
/// </remarks>
4646
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
4747
/// <param name="createPaymentRequest"></param>
@@ -99,7 +99,7 @@ public interface IPaymentsApi : IApiAccessor
9999
/// Process a Payment
100100
/// </summary>
101101
/// <remarks>
102-
/// 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.
102+
/// 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.
103103
/// </remarks>
104104
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
105105
/// <param name="createPaymentRequest"></param>
@@ -110,7 +110,7 @@ public interface IPaymentsApi : IApiAccessor
110110
/// Process a Payment
111111
/// </summary>
112112
/// <remarks>
113-
/// 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.
113+
/// 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.
114114
/// </remarks>
115115
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
116116
/// <param name="createPaymentRequest"></param>
@@ -303,7 +303,7 @@ public void SetStatusCode(int? statusCode)
303303
}
304304

305305
/// <summary>
306-
/// 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.
306+
/// 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.
307307
/// </summary>
308308
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
309309
/// <param name="createPaymentRequest"></param>
@@ -319,7 +319,7 @@ public PtsV2PaymentsPost201Response CreatePayment (CreatePaymentRequest createPa
319319
}
320320

321321
/// <summary>
322-
/// 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.
322+
/// 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.
323323
/// </summary>
324324
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
325325
/// <param name="createPaymentRequest"></param>
@@ -401,7 +401,7 @@ public ApiResponse< PtsV2PaymentsPost201Response > CreatePaymentWithHttpInfo (Cr
401401
}
402402

403403
/// <summary>
404-
/// 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.
404+
/// 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.
405405
/// </summary>
406406
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
407407
/// <param name="createPaymentRequest"></param>
@@ -418,7 +418,7 @@ public async System.Threading.Tasks.Task<PtsV2PaymentsPost201Response> CreatePay
418418
}
419419

420420
/// <summary>
421-
/// 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.
421+
/// 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.
422422
/// </summary>
423423
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
424424
/// <param name="createPaymentRequest"></param>

Client/ApiClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ public object CallApi(
460460
string fileName = Path.Combine(clientCertDirectory, clientCertFile);
461461
// Importing Certificates
462462
var certificate = new X509Certificate2(fileName, clientCertPassword);
463+
clientCertPassword=string.Empty;
463464
RestClient.Options.ClientCertificates = new X509CertificateCollection { certificate };
464465
}
465466

Model/CreateBundledDecisionManagerCaseRequest.cs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public partial class CreateBundledDecisionManagerCaseRequest : IEquatable<Creat
4747
/// <param name="AcquirerInformation">AcquirerInformation.</param>
4848
/// <param name="RecurringPaymentInformation">RecurringPaymentInformation.</param>
4949
/// <param name="ConsumerAuthenticationInformation">ConsumerAuthenticationInformation.</param>
50-
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))
50+
/// <param name="WatchlistScreeningInformation">WatchlistScreeningInformation.</param>
51+
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))
5152
{
5253
this.ClientReferenceInformation = ClientReferenceInformation;
5354
this.ProcessorInformation = ProcessorInformation;
@@ -63,6 +64,7 @@ public partial class CreateBundledDecisionManagerCaseRequest : IEquatable<Creat
6364
this.AcquirerInformation = AcquirerInformation;
6465
this.RecurringPaymentInformation = RecurringPaymentInformation;
6566
this.ConsumerAuthenticationInformation = ConsumerAuthenticationInformation;
67+
this.WatchlistScreeningInformation = WatchlistScreeningInformation;
6668
}
6769

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

154+
/// <summary>
155+
/// Gets or Sets WatchlistScreeningInformation
156+
/// </summary>
157+
[DataMember(Name="watchlistScreeningInformation", EmitDefaultValue=false)]
158+
public Ptsv2paymentsWatchlistScreeningInformation WatchlistScreeningInformation { get; set; }
159+
152160
/// <summary>
153161
/// Returns the string presentation of the object
154162
/// </summary>
@@ -171,6 +179,7 @@ public override string ToString()
171179
sb.Append(" AcquirerInformation: ").Append(AcquirerInformation).Append("\n");
172180
sb.Append(" RecurringPaymentInformation: ").Append(RecurringPaymentInformation).Append("\n");
173181
sb.Append(" ConsumerAuthenticationInformation: ").Append(ConsumerAuthenticationInformation).Append("\n");
182+
sb.Append(" WatchlistScreeningInformation: ").Append(WatchlistScreeningInformation).Append("\n");
174183
sb.Append("}\n");
175184
return sb.ToString();
176185
}
@@ -276,6 +285,11 @@ public bool Equals(CreateBundledDecisionManagerCaseRequest other)
276285
this.ConsumerAuthenticationInformation == other.ConsumerAuthenticationInformation ||
277286
this.ConsumerAuthenticationInformation != null &&
278287
this.ConsumerAuthenticationInformation.Equals(other.ConsumerAuthenticationInformation)
288+
) &&
289+
(
290+
this.WatchlistScreeningInformation == other.WatchlistScreeningInformation ||
291+
this.WatchlistScreeningInformation != null &&
292+
this.WatchlistScreeningInformation.Equals(other.WatchlistScreeningInformation)
279293
);
280294
}
281295

@@ -318,6 +332,8 @@ public override int GetHashCode()
318332
hash = hash * 59 + this.RecurringPaymentInformation.GetHashCode();
319333
if (this.ConsumerAuthenticationInformation != null)
320334
hash = hash * 59 + this.ConsumerAuthenticationInformation.GetHashCode();
335+
if (this.WatchlistScreeningInformation != null)
336+
hash = hash * 59 + this.WatchlistScreeningInformation.GetHashCode();
321337
return hash;
322338
}
323339
}

0 commit comments

Comments
 (0)