Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Oct 2, 2024
1 parent d9344b5 commit ffe4e2d
Show file tree
Hide file tree
Showing 31 changed files with 503 additions and 361 deletions.
36 changes: 35 additions & 1 deletion Adyen/Model/Checkout/CardDetailsResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@ public partial class CardDetailsResponse : IEquatable<CardDetailsResponse>, IVal
/// Initializes a new instance of the <see cref="CardDetailsResponse" /> class.
/// </summary>
/// <param name="brands">The list of brands identified for the card..</param>
/// <param name="fundingSource">The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**..</param>
/// <param name="isCardCommercial">Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card..</param>
/// <param name="issuingCountryCode">The two-letter country code of the country where the card was issued..</param>
public CardDetailsResponse(List<CardBrandDetails> brands = default(List<CardBrandDetails>), string issuingCountryCode = default(string))
public CardDetailsResponse(List<CardBrandDetails> brands = default(List<CardBrandDetails>), string fundingSource = default(string), bool? isCardCommercial = default(bool?), string issuingCountryCode = default(string))
{
this.Brands = brands;
this.FundingSource = fundingSource;
this.IsCardCommercial = isCardCommercial;
this.IssuingCountryCode = issuingCountryCode;
}

Expand All @@ -50,6 +54,20 @@ public partial class CardDetailsResponse : IEquatable<CardDetailsResponse>, IVal
[DataMember(Name = "brands", EmitDefaultValue = false)]
public List<CardBrandDetails> Brands { get; set; }

/// <summary>
/// The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.
/// </summary>
/// <value>The funding source of the card, for example **DEBIT**, **CREDIT**, or **PREPAID**.</value>
[DataMember(Name = "fundingSource", EmitDefaultValue = false)]
public string FundingSource { get; set; }

/// <summary>
/// Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card.
/// </summary>
/// <value>Indicates if this is a commercial card or a consumer card. If **true**, it is a commercial card. If **false**, it is a consumer card.</value>
[DataMember(Name = "isCardCommercial", EmitDefaultValue = false)]
public bool? IsCardCommercial { get; set; }

/// <summary>
/// The two-letter country code of the country where the card was issued.
/// </summary>
Expand All @@ -66,6 +84,8 @@ public override string ToString()
StringBuilder sb = new StringBuilder();
sb.Append("class CardDetailsResponse {\n");
sb.Append(" Brands: ").Append(Brands).Append("\n");
sb.Append(" FundingSource: ").Append(FundingSource).Append("\n");
sb.Append(" IsCardCommercial: ").Append(IsCardCommercial).Append("\n");
sb.Append(" IssuingCountryCode: ").Append(IssuingCountryCode).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -108,6 +128,15 @@ public bool Equals(CardDetailsResponse input)
input.Brands != null &&
this.Brands.SequenceEqual(input.Brands)
) &&
(
this.FundingSource == input.FundingSource ||
(this.FundingSource != null &&
this.FundingSource.Equals(input.FundingSource))
) &&
(
this.IsCardCommercial == input.IsCardCommercial ||
this.IsCardCommercial.Equals(input.IsCardCommercial)
) &&
(
this.IssuingCountryCode == input.IssuingCountryCode ||
(this.IssuingCountryCode != null &&
Expand All @@ -128,6 +157,11 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Brands.GetHashCode();
}
if (this.FundingSource != null)
{
hashCode = (hashCode * 59) + this.FundingSource.GetHashCode();
}
hashCode = (hashCode * 59) + this.IsCardCommercial.GetHashCode();
if (this.IssuingCountryCode != null)
{
hashCode = (hashCode * 59) + this.IssuingCountryCode.GetHashCode();
Expand Down
12 changes: 6 additions & 6 deletions Adyen/Model/Checkout/CreateCheckoutSessionRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ protected CreateCheckoutSessionRequest() { }
/// <param name="fundOrigin">fundOrigin.</param>
/// <param name="fundRecipient">fundRecipient.</param>
/// <param name="installmentOptions">A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options..</param>
/// <param name="lineItems">Price and product information about the purchased items, to be included on the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip..</param>
/// <param name="lineItems">Price and product information about the purchased items, to be included on the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip..</param>
/// <param name="mandate">mandate.</param>
/// <param name="mcc">The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant..</param>
/// <param name="merchantAccount">The merchant account identifier, with which you want to process the transaction. (required).</param>
Expand All @@ -282,7 +282,7 @@ protected CreateCheckoutSessionRequest() { }
/// <param name="redirectFromIssuerMethod">Specifies the redirect method (GET or POST) when redirecting back from the issuer..</param>
/// <param name="redirectToIssuerMethod">Specifies the redirect method (GET or POST) when redirecting to the issuer..</param>
/// <param name="reference">The reference to uniquely identify a payment. (required).</param>
/// <param name="returnUrl">The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol &#x60;http://&#x60; or &#x60;https://&#x60;. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: &#x60;https://your-company.com/checkout?shopperOrder&#x3D;12xy&#x60; * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: &#x60;my-app://&#x60; * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: &#x60;my-app://your.package.name&#x60; If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. &gt; The URL must not include personally identifiable information (PII), for example name or email address. (required).</param>
/// <param name="returnUrl">The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol &#x60;http://&#x60; or &#x60;https://&#x60;. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: &#x60;https://your-company.com/checkout?shopperOrder&#x3D;12xy&#x60; * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: &#x60;my-app://&#x60; * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: &#x60;my-app://your.package.name&#x60; If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. &gt; The URL must not include personally identifiable information (PII), for example name or email address. (required).</param>
/// <param name="riskData">riskData.</param>
/// <param name="shopperEmail">The shopper&#39;s email address..</param>
/// <param name="shopperIP">The shopper&#39;s IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). &gt; For 3D Secure 2 transactions, schemes require &#x60;shopperIP&#x60; for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new)..</param>
Expand Down Expand Up @@ -516,9 +516,9 @@ protected CreateCheckoutSessionRequest() { }
public Dictionary<string, CheckoutSessionInstallmentOption> InstallmentOptions { get; set; }

/// <summary>
/// Price and product information about the purchased items, to be included on the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip.
/// Price and product information about the purchased items, to be included on the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
/// </summary>
/// <value>Price and product information about the purchased items, to be included on the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip.</value>
/// <value>Price and product information about the purchased items, to be included on the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.</value>
[DataMember(Name = "lineItems", EmitDefaultValue = false)]
public List<LineItem> LineItems { get; set; }

Expand Down Expand Up @@ -604,9 +604,9 @@ protected CreateCheckoutSessionRequest() { }
public string Reference { get; set; }

/// <summary>
/// The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol &#x60;http://&#x60; or &#x60;https://&#x60;. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: &#x60;https://your-company.com/checkout?shopperOrder&#x3D;12xy&#x60; * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: &#x60;my-app://&#x60; * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: &#x60;my-app://your.package.name&#x60; If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. &gt; The URL must not include personally identifiable information (PII), for example name or email address.
/// The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol &#x60;http://&#x60; or &#x60;https://&#x60;. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: &#x60;https://your-company.com/checkout?shopperOrder&#x3D;12xy&#x60; * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: &#x60;my-app://&#x60; * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: &#x60;my-app://your.package.name&#x60; If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. &gt; The URL must not include personally identifiable information (PII), for example name or email address.
/// </summary>
/// <value>The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol &#x60;http://&#x60; or &#x60;https://&#x60;. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: &#x60;https://your-company.com/checkout?shopperOrder&#x3D;12xy&#x60; * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: &#x60;my-app://&#x60; * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: &#x60;my-app://your.package.name&#x60; If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. &gt; The URL must not include personally identifiable information (PII), for example name or email address.</value>
/// <value>The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol &#x60;http://&#x60; or &#x60;https://&#x60;. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: &#x60;https://your-company.com/checkout?shopperOrder&#x3D;12xy&#x60; * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: &#x60;my-app://&#x60; * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: &#x60;my-app://your.package.name&#x60; If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. &gt; The URL must not include personally identifiable information (PII), for example name or email address.</value>
[DataMember(Name = "returnUrl", IsRequired = false, EmitDefaultValue = false)]
public string ReturnUrl { get; set; }

Expand Down
Loading

0 comments on commit ffe4e2d

Please sign in to comment.