Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all services #979

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions Adyen/Model/BalancePlatform/AddressRequirement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ public enum RequiredAddressFieldsEnum

}



/// <summary>
/// List of address fields.
/// </summary>
/// <value>List of address fields.</value>
[DataMember(Name = "requiredAddressFields", EmitDefaultValue = false)]
public List<RequiredAddressFieldsEnum> RequiredAddressFields { get; set; }
/// <summary>
/// **addressRequirement**
/// </summary>
Expand Down Expand Up @@ -117,13 +125,6 @@ protected AddressRequirement() { }
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }

/// <summary>
/// List of address fields.
/// </summary>
/// <value>List of address fields.</value>
[DataMember(Name = "requiredAddressFields", EmitDefaultValue = false)]
public List<AddressRequirement.RequiredAddressFieldsEnum> RequiredAddressFields { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand Down Expand Up @@ -177,8 +178,6 @@ public bool Equals(AddressRequirement input)
) &&
(
this.RequiredAddressFields == input.RequiredAddressFields ||
this.RequiredAddressFields != null &&
input.RequiredAddressFields != null &&
this.RequiredAddressFields.SequenceEqual(input.RequiredAddressFields)
) &&
(
Expand All @@ -200,10 +199,7 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Description.GetHashCode();
}
if (this.RequiredAddressFields != null)
{
hashCode = (hashCode * 59) + this.RequiredAddressFields.GetHashCode();
}
hashCode = (hashCode * 59) + this.RequiredAddressFields.GetHashCode();
hashCode = (hashCode * 59) + this.Type.GetHashCode();
return hashCode;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ public enum BankAccountIdentificationTypesEnum

}



/// <summary>
/// List of bank account identification types: eg.; [iban , numberAndBic]
/// </summary>
/// <value>List of bank account identification types: eg.; [iban , numberAndBic]</value>
[DataMember(Name = "bankAccountIdentificationTypes", EmitDefaultValue = false)]
public List<BankAccountIdentificationTypesEnum> BankAccountIdentificationTypes { get; set; }
/// <summary>
/// **bankAccountIdentificationTypeRequirement**
/// </summary>
Expand Down Expand Up @@ -182,13 +190,6 @@ protected BankAccountIdentificationTypeRequirement() { }
this.Description = description;
}

/// <summary>
/// List of bank account identification types: eg.; [iban , numberAndBic]
/// </summary>
/// <value>List of bank account identification types: eg.; [iban , numberAndBic]</value>
[DataMember(Name = "bankAccountIdentificationTypes", EmitDefaultValue = false)]
public List<BankAccountIdentificationTypeRequirement.BankAccountIdentificationTypesEnum> BankAccountIdentificationTypes { get; set; }

/// <summary>
/// Specifies the bank account details for a particular route per required field in this object depending on the country of the bank account and the currency of the transfer.
/// </summary>
Expand Down Expand Up @@ -244,8 +245,6 @@ public bool Equals(BankAccountIdentificationTypeRequirement input)
return
(
this.BankAccountIdentificationTypes == input.BankAccountIdentificationTypes ||
this.BankAccountIdentificationTypes != null &&
input.BankAccountIdentificationTypes != null &&
this.BankAccountIdentificationTypes.SequenceEqual(input.BankAccountIdentificationTypes)
) &&
(
Expand All @@ -268,10 +267,7 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.BankAccountIdentificationTypes != null)
{
hashCode = (hashCode * 59) + this.BankAccountIdentificationTypes.GetHashCode();
}
hashCode = (hashCode * 59) + this.BankAccountIdentificationTypes.GetHashCode();
if (this.Description != null)
{
hashCode = (hashCode * 59) + this.Description.GetHashCode();
Expand Down
20 changes: 8 additions & 12 deletions Adyen/Model/BalancePlatform/CapabilitySettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ public enum FundingSourceEnum

}



/// <summary>
/// Gets or Sets FundingSource
/// </summary>
[DataMember(Name = "fundingSource", EmitDefaultValue = false)]
public List<FundingSourceEnum> FundingSource { get; set; }
/// <summary>
/// Defines Interval
/// </summary>
Expand Down Expand Up @@ -119,12 +126,6 @@ public enum IntervalEnum
[DataMember(Name = "authorizedCardUsers", EmitDefaultValue = false)]
public bool? AuthorizedCardUsers { get; set; }

/// <summary>
/// Gets or Sets FundingSource
/// </summary>
[DataMember(Name = "fundingSource", EmitDefaultValue = false)]
public List<CapabilitySettings.FundingSourceEnum> FundingSource { get; set; }

/// <summary>
/// Gets or Sets MaxAmount
/// </summary>
Expand Down Expand Up @@ -191,8 +192,6 @@ public bool Equals(CapabilitySettings input)
) &&
(
this.FundingSource == input.FundingSource ||
this.FundingSource != null &&
input.FundingSource != null &&
this.FundingSource.SequenceEqual(input.FundingSource)
) &&
(
Expand Down Expand Up @@ -220,10 +219,7 @@ public override int GetHashCode()
hashCode = (hashCode * 59) + this.AmountPerIndustry.GetHashCode();
}
hashCode = (hashCode * 59) + this.AuthorizedCardUsers.GetHashCode();
if (this.FundingSource != null)
{
hashCode = (hashCode * 59) + this.FundingSource.GetHashCode();
}
hashCode = (hashCode * 59) + this.FundingSource.GetHashCode();
hashCode = (hashCode * 59) + this.Interval.GetHashCode();
if (this.MaxAmount != null)
{
Expand Down
22 changes: 9 additions & 13 deletions Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ public enum PrioritiesEnum

}



/// <summary>
/// The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority listed first, and if that&#39;s not possible, it moves on to the next option in the order of provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set &#x60;category&#x60; to **bank**. For more details, see [optional priorities setup](https://docs.adyen.com/marketplaces-and-platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
/// </summary>
/// <value>The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority listed first, and if that&#39;s not possible, it moves on to the next option in the order of provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set &#x60;category&#x60; to **bank**. For more details, see [optional priorities setup](https://docs.adyen.com/marketplaces-and-platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).</value>
[DataMember(Name = "priorities", EmitDefaultValue = false)]
public List<PrioritiesEnum> Priorities { get; set; }
/// <summary>
/// The reason for disabling the sweep.
/// </summary>
Expand Down Expand Up @@ -341,13 +349,6 @@ protected CreateSweepConfigurationV2() { }
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }

/// <summary>
/// The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority listed first, and if that&#39;s not possible, it moves on to the next option in the order of provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set &#x60;category&#x60; to **bank**. For more details, see [optional priorities setup](https://docs.adyen.com/marketplaces-and-platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
/// </summary>
/// <value>The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority listed first, and if that&#39;s not possible, it moves on to the next option in the order of provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set &#x60;category&#x60; to **bank**. For more details, see [optional priorities setup](https://docs.adyen.com/marketplaces-and-platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).</value>
[DataMember(Name = "priorities", EmitDefaultValue = false)]
public List<CreateSweepConfigurationV2.PrioritiesEnum> Priorities { get; set; }

/// <summary>
/// Gets or Sets Schedule
/// </summary>
Expand Down Expand Up @@ -448,8 +449,6 @@ public bool Equals(CreateSweepConfigurationV2 input)
) &&
(
this.Priorities == input.Priorities ||
this.Priorities != null &&
input.Priorities != null &&
this.Priorities.SequenceEqual(input.Priorities)
) &&
(
Expand Down Expand Up @@ -508,10 +507,7 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Description.GetHashCode();
}
if (this.Priorities != null)
{
hashCode = (hashCode * 59) + this.Priorities.GetHashCode();
}
hashCode = (hashCode * 59) + this.Priorities.GetHashCode();
hashCode = (hashCode * 59) + this.Reason.GetHashCode();
if (this.Schedule != null)
{
Expand Down
22 changes: 9 additions & 13 deletions Adyen/Model/BalancePlatform/DayOfWeekRestriction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ public enum ValueEnum

}



/// <summary>
/// List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**.
/// </summary>
/// <value>List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**. </value>
[DataMember(Name = "value", EmitDefaultValue = false)]
public List<ValueEnum> Value { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="DayOfWeekRestriction" /> class.
/// </summary>
Expand All @@ -105,13 +113,6 @@ protected DayOfWeekRestriction() { }
[DataMember(Name = "operation", IsRequired = false, EmitDefaultValue = false)]
public string Operation { get; set; }

/// <summary>
/// List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**.
/// </summary>
/// <value>List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**. </value>
[DataMember(Name = "value", EmitDefaultValue = false)]
public List<DayOfWeekRestriction.ValueEnum> Value { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand Down Expand Up @@ -164,8 +165,6 @@ public bool Equals(DayOfWeekRestriction input)
) &&
(
this.Value == input.Value ||
this.Value != null &&
input.Value != null &&
this.Value.SequenceEqual(input.Value)
);
}
Expand All @@ -183,10 +182,7 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Operation.GetHashCode();
}
if (this.Value != null)
{
hashCode = (hashCode * 59) + this.Value.GetHashCode();
}
hashCode = (hashCode * 59) + this.Value.GetHashCode();
return hashCode;
}
}
Expand Down
22 changes: 9 additions & 13 deletions Adyen/Model/BalancePlatform/EntryModesRestriction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ public enum ValueEnum

}



/// <summary>
/// List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**.
/// </summary>
/// <value>List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**. </value>
[DataMember(Name = "value", EmitDefaultValue = false)]
public List<ValueEnum> Value { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="EntryModesRestriction" /> class.
/// </summary>
Expand All @@ -117,13 +125,6 @@ protected EntryModesRestriction() { }
[DataMember(Name = "operation", IsRequired = false, EmitDefaultValue = false)]
public string Operation { get; set; }

/// <summary>
/// List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**.
/// </summary>
/// <value>List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**. </value>
[DataMember(Name = "value", EmitDefaultValue = false)]
public List<EntryModesRestriction.ValueEnum> Value { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand Down Expand Up @@ -176,8 +177,6 @@ public bool Equals(EntryModesRestriction input)
) &&
(
this.Value == input.Value ||
this.Value != null &&
input.Value != null &&
this.Value.SequenceEqual(input.Value)
);
}
Expand All @@ -195,10 +194,7 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Operation.GetHashCode();
}
if (this.Value != null)
{
hashCode = (hashCode * 59) + this.Value.GetHashCode();
}
hashCode = (hashCode * 59) + this.Value.GetHashCode();
return hashCode;
}
}
Expand Down
6 changes: 3 additions & 3 deletions Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected PaymentInstrumentRequirement() { }
/// Initializes a new instance of the <see cref="PaymentInstrumentRequirement" /> class.
/// </summary>
/// <param name="description">Specifies the requirements for the payment instrument that need to be included in the request for a particular route..</param>
/// <param name="issuingCountryCode">The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**..</param>
/// <param name="issuingCountryCode">The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**..</param>
/// <param name="onlyForCrossBalancePlatform">Specifies if the requirement only applies to transfers to another balance platform..</param>
/// <param name="paymentInstrumentType">The type of the payment instrument. For example, \&quot;BankAccount\&quot; or \&quot;Card\&quot;..</param>
/// <param name="type">**paymentInstrumentRequirement** (required) (default to TypeEnum.PaymentInstrumentRequirement).</param>
Expand All @@ -112,9 +112,9 @@ protected PaymentInstrumentRequirement() { }
public string Description { get; set; }

/// <summary>
/// The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**.
/// The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**.
/// </summary>
/// <value>The two-character ISO-3166-1 alpha-2 country code of the counterparty. For example, **US** or **NL**.</value>
/// <value>The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the payment instrument is issued. For example, **NL** or **US**.</value>
[DataMember(Name = "issuingCountryCode", EmitDefaultValue = false)]
public string IssuingCountryCode { get; set; }

Expand Down
Loading
Loading