Skip to content

Commit ac9da91

Browse files
authored
Merge pull request #135 from CyberSource/june-22-release
June 22 release
2 parents d849508 + d77c89f commit ac9da91

File tree

92 files changed

+2381
-196
lines changed

Some content is hidden

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

92 files changed

+2381
-196
lines changed

Api/SecureFileShareApi.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public ApiResponse<Object> GetFileWithHttpInfo (string fileId, string organizati
289289

290290
// to determine the Content-Type header
291291
string[] localVarHttpContentTypes = new string[] {
292-
"application/json;charset=utf-8"
292+
"*/*;charset=utf-8"
293293
};
294294
string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
295295

@@ -389,7 +389,7 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> GetFileAsyncWithHt
389389

390390
// to determine the Content-Type header
391391
string[] localVarHttpContentTypes = new string[] {
392-
"application/json;charset=utf-8"
392+
"*/*;charset=utf-8"
393393
};
394394
string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
395395

@@ -499,7 +499,7 @@ public ApiResponse< V1FileDetailsGet200Response > GetFileDetailWithHttpInfo (Dat
499499

500500
// to determine the Content-Type header
501501
string[] localVarHttpContentTypes = new string[] {
502-
"application/json;charset=utf-8"
502+
"*/*;charset=utf-8"
503503
};
504504
string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
505505

@@ -619,7 +619,7 @@ public async System.Threading.Tasks.Task<ApiResponse<V1FileDetailsGet200Response
619619

620620
// to determine the Content-Type header
621621
string[] localVarHttpContentTypes = new string[] {
622-
"application/json;charset=utf-8"
622+
"*/*;charset=utf-8"
623623
};
624624
string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
625625

@@ -686,3 +686,4 @@ public async System.Threading.Tasks.Task<ApiResponse<V1FileDetailsGet200Response
686686
}
687687
}
688688
}
689+

Model/PtsV2PaymentsPost201Response.cs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@ public partial class PtsV2PaymentsPost201Response : IEquatable<PtsV2PaymentsPos
4545
/// <param name="IssuerInformation">IssuerInformation.</param>
4646
/// <param name="PaymentAccountInformation">PaymentAccountInformation.</param>
4747
/// <param name="PaymentInformation">PaymentInformation.</param>
48+
/// <param name="PaymentInsightsInformation">PaymentInsightsInformation.</param>
4849
/// <param name="OrderInformation">OrderInformation.</param>
4950
/// <param name="PointOfSaleInformation">PointOfSaleInformation.</param>
5051
/// <param name="InstallmentInformation">InstallmentInformation.</param>
5152
/// <param name="TokenInformation">TokenInformation.</param>
5253
/// <param name="BuyerInformation">BuyerInformation.</param>
5354
/// <param name="RiskInformation">RiskInformation.</param>
5455
/// <param name="ConsumerAuthenticationInformation">ConsumerAuthenticationInformation.</param>
55-
public PtsV2PaymentsPost201Response(PtsV2PaymentsPost201ResponseLinks Links = default(PtsV2PaymentsPost201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), string ReconciliationId = default(string), PtsV2PaymentsPost201ResponseErrorInformation ErrorInformation = default(PtsV2PaymentsPost201ResponseErrorInformation), PtsV2PaymentsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(PtsV2PaymentsPost201ResponseClientReferenceInformation), PtsV2PaymentsPost201ResponseProcessingInformation ProcessingInformation = default(PtsV2PaymentsPost201ResponseProcessingInformation), PtsV2PaymentsPost201ResponseProcessorInformation ProcessorInformation = default(PtsV2PaymentsPost201ResponseProcessorInformation), PtsV2PaymentsPost201ResponseIssuerInformation IssuerInformation = default(PtsV2PaymentsPost201ResponseIssuerInformation), PtsV2PaymentsPost201ResponsePaymentAccountInformation PaymentAccountInformation = default(PtsV2PaymentsPost201ResponsePaymentAccountInformation), PtsV2PaymentsPost201ResponsePaymentInformation PaymentInformation = default(PtsV2PaymentsPost201ResponsePaymentInformation), PtsV2PaymentsPost201ResponseOrderInformation OrderInformation = default(PtsV2PaymentsPost201ResponseOrderInformation), PtsV2PaymentsPost201ResponsePointOfSaleInformation PointOfSaleInformation = default(PtsV2PaymentsPost201ResponsePointOfSaleInformation), PtsV2PaymentsPost201ResponseInstallmentInformation InstallmentInformation = default(PtsV2PaymentsPost201ResponseInstallmentInformation), PtsV2PaymentsPost201ResponseTokenInformation TokenInformation = default(PtsV2PaymentsPost201ResponseTokenInformation), PtsV2PaymentsPost201ResponseBuyerInformation BuyerInformation = default(PtsV2PaymentsPost201ResponseBuyerInformation), PtsV2PaymentsPost201ResponseRiskInformation RiskInformation = default(PtsV2PaymentsPost201ResponseRiskInformation), PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation))
56+
public PtsV2PaymentsPost201Response(PtsV2PaymentsPost201ResponseLinks Links = default(PtsV2PaymentsPost201ResponseLinks), string Id = default(string), string SubmitTimeUtc = default(string), string Status = default(string), string ReconciliationId = default(string), PtsV2PaymentsPost201ResponseErrorInformation ErrorInformation = default(PtsV2PaymentsPost201ResponseErrorInformation), PtsV2PaymentsPost201ResponseClientReferenceInformation ClientReferenceInformation = default(PtsV2PaymentsPost201ResponseClientReferenceInformation), PtsV2PaymentsPost201ResponseProcessingInformation ProcessingInformation = default(PtsV2PaymentsPost201ResponseProcessingInformation), PtsV2PaymentsPost201ResponseProcessorInformation ProcessorInformation = default(PtsV2PaymentsPost201ResponseProcessorInformation), PtsV2PaymentsPost201ResponseIssuerInformation IssuerInformation = default(PtsV2PaymentsPost201ResponseIssuerInformation), PtsV2PaymentsPost201ResponsePaymentAccountInformation PaymentAccountInformation = default(PtsV2PaymentsPost201ResponsePaymentAccountInformation), PtsV2PaymentsPost201ResponsePaymentInformation PaymentInformation = default(PtsV2PaymentsPost201ResponsePaymentInformation), PtsV2PaymentsPost201ResponsePaymentInsightsInformation PaymentInsightsInformation = default(PtsV2PaymentsPost201ResponsePaymentInsightsInformation), PtsV2PaymentsPost201ResponseOrderInformation OrderInformation = default(PtsV2PaymentsPost201ResponseOrderInformation), PtsV2PaymentsPost201ResponsePointOfSaleInformation PointOfSaleInformation = default(PtsV2PaymentsPost201ResponsePointOfSaleInformation), PtsV2PaymentsPost201ResponseInstallmentInformation InstallmentInformation = default(PtsV2PaymentsPost201ResponseInstallmentInformation), PtsV2PaymentsPost201ResponseTokenInformation TokenInformation = default(PtsV2PaymentsPost201ResponseTokenInformation), PtsV2PaymentsPost201ResponseBuyerInformation BuyerInformation = default(PtsV2PaymentsPost201ResponseBuyerInformation), PtsV2PaymentsPost201ResponseRiskInformation RiskInformation = default(PtsV2PaymentsPost201ResponseRiskInformation), PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation ConsumerAuthenticationInformation = default(PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation))
5657
{
5758
this.Links = Links;
5859
this.Id = Id;
@@ -66,6 +67,7 @@ public partial class PtsV2PaymentsPost201Response : IEquatable<PtsV2PaymentsPos
6667
this.IssuerInformation = IssuerInformation;
6768
this.PaymentAccountInformation = PaymentAccountInformation;
6869
this.PaymentInformation = PaymentInformation;
70+
this.PaymentInsightsInformation = PaymentInsightsInformation;
6971
this.OrderInformation = OrderInformation;
7072
this.PointOfSaleInformation = PointOfSaleInformation;
7173
this.InstallmentInformation = InstallmentInformation;
@@ -151,6 +153,12 @@ public partial class PtsV2PaymentsPost201Response : IEquatable<PtsV2PaymentsPos
151153
[DataMember(Name="paymentInformation", EmitDefaultValue=false)]
152154
public PtsV2PaymentsPost201ResponsePaymentInformation PaymentInformation { get; set; }
153155

156+
/// <summary>
157+
/// Gets or Sets PaymentInsightsInformation
158+
/// </summary>
159+
[DataMember(Name="paymentInsightsInformation", EmitDefaultValue=false)]
160+
public PtsV2PaymentsPost201ResponsePaymentInsightsInformation PaymentInsightsInformation { get; set; }
161+
154162
/// <summary>
155163
/// Gets or Sets OrderInformation
156164
/// </summary>
@@ -213,6 +221,7 @@ public override string ToString()
213221
sb.Append(" IssuerInformation: ").Append(IssuerInformation).Append("\n");
214222
sb.Append(" PaymentAccountInformation: ").Append(PaymentAccountInformation).Append("\n");
215223
sb.Append(" PaymentInformation: ").Append(PaymentInformation).Append("\n");
224+
sb.Append(" PaymentInsightsInformation: ").Append(PaymentInsightsInformation).Append("\n");
216225
sb.Append(" OrderInformation: ").Append(OrderInformation).Append("\n");
217226
sb.Append(" PointOfSaleInformation: ").Append(PointOfSaleInformation).Append("\n");
218227
sb.Append(" InstallmentInformation: ").Append(InstallmentInformation).Append("\n");
@@ -316,6 +325,11 @@ public bool Equals(PtsV2PaymentsPost201Response other)
316325
this.PaymentInformation != null &&
317326
this.PaymentInformation.Equals(other.PaymentInformation)
318327
) &&
328+
(
329+
this.PaymentInsightsInformation == other.PaymentInsightsInformation ||
330+
this.PaymentInsightsInformation != null &&
331+
this.PaymentInsightsInformation.Equals(other.PaymentInsightsInformation)
332+
) &&
319333
(
320334
this.OrderInformation == other.OrderInformation ||
321335
this.OrderInformation != null &&
@@ -388,6 +402,8 @@ public override int GetHashCode()
388402
hash = hash * 59 + this.PaymentAccountInformation.GetHashCode();
389403
if (this.PaymentInformation != null)
390404
hash = hash * 59 + this.PaymentInformation.GetHashCode();
405+
if (this.PaymentInsightsInformation != null)
406+
hash = hash * 59 + this.PaymentInsightsInformation.GetHashCode();
391407
if (this.OrderInformation != null)
392408
hash = hash * 59 + this.OrderInformation.GetHashCode();
393409
if (this.PointOfSaleInformation != null)

Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public partial class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformati
3939
/// <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>
4040
/// <param name="AuthenticationPath">Indicates what displays to the customer during the authentication process. This field can contain one of these values: - &#x60;ADS&#x60;: (Card not enrolled) customer prompted to activate the card during the checkout process. - &#x60;ATTEMPTS&#x60;: (Attempts processing) Processing briefly displays before the checkout process is completed. - &#x60;ENROLLED&#x60;: (Card enrolled) the card issuer’s authentication window displays. - &#x60;UNKNOWN&#x60;: Card enrollment status cannot be determined. - &#x60;NOREDIRECT&#x60;: (Card not enrolled, authentication unavailable, or error occurred) nothing displays to the customer. The following values can be returned if you are using rules-based payer authentication. - &#x60;RIBA&#x60;: The card-issuing bank supports risk-based authentication, but whether the cardholder is likely to be challenged cannot be determined. - &#x60;RIBA_PASS&#x60;: The card-issuing bank supports risk-based authentication and it is likely that the cardholder will not be challenged to provide credentials, also known as _silent authentication_. For details about possible values, see &#x60;pa_enroll_authentication_path&#x60; field description and \&quot;Rules-Based Payer Authentication\&quot; in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html/) .</param>
4141
/// <param name="AuthorizationPayload">The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow .</param>
42-
/// <param name="AuthenticationTransactionId">Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. .</param>
42+
/// <param name="AuthenticationTransactionId">Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case. .</param>
4343
/// <param name="CardholderMessage">Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, “Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.”. The Issuing Bank can optionally support this value. .</param>
4444
/// <param name="Cavv">Unique identifier generated by the card-issuing bank for Visa, American Express, JCB, Diners Club, and Discover transactions after the customer is authenticated. The value is in base64. When you request the card authorization service, CyberSource automatically converts the value, not the field name, to the format required by your payment processor. .</param>
4545
/// <param name="CavvAlgorithm">Field that is returned only when the CAVV is generated, which occurs when paresStatus contains the values Y (successful authentication) or A (attempted authentication). If you use the ATOS processor, send the value of this field in the &#x60;cavv_algorithm&#x60; request field of the authorization service. This field contains one of these values: - &#x60;2&#x60;: Visa, American Express, JCB, Diners Club, and Discover - &#x60;3&#x60;: Mastercard .</param>
@@ -164,9 +164,9 @@ public partial class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformati
164164
public string AuthorizationPayload { get; set; }
165165

166166
/// <summary>
167-
/// Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.
167+
/// Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
168168
/// </summary>
169-
/// <value>Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. </value>
169+
/// <value>Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case. </value>
170170
[DataMember(Name="authenticationTransactionId", EmitDefaultValue=false)]
171171
public string AuthenticationTransactionId { get; set; }
172172

0 commit comments

Comments
 (0)