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 Nov 25, 2024
1 parent deb6ebb commit f031323
Show file tree
Hide file tree
Showing 10 changed files with 476 additions and 178 deletions.
17 changes: 17 additions & 0 deletions Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,13 @@ protected CreateSweepConfigurationV2() { }
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }

/// <summary>
/// The human readable reason for disabling the sweep.
/// </summary>
/// <value>The human readable reason for disabling the sweep.</value>
[DataMember(Name = "reasonDetail", EmitDefaultValue = false)]
public string ReasonDetail { get; private set; }

/// <summary>
/// Your reference for the sweep configuration.
/// </summary>
Expand Down Expand Up @@ -447,6 +454,7 @@ public override string ToString()
sb.Append(" Description: ").Append(Description).Append("\n");
sb.Append(" Priorities: ").Append(Priorities).Append("\n");
sb.Append(" Reason: ").Append(Reason).Append("\n");
sb.Append(" ReasonDetail: ").Append(ReasonDetail).Append("\n");
sb.Append(" Reference: ").Append(Reference).Append("\n");
sb.Append(" ReferenceForBeneficiary: ").Append(ReferenceForBeneficiary).Append("\n");
sb.Append(" Schedule: ").Append(Schedule).Append("\n");
Expand Down Expand Up @@ -517,6 +525,11 @@ public bool Equals(CreateSweepConfigurationV2 input)
this.Reason == input.Reason ||
this.Reason.Equals(input.Reason)
) &&
(
this.ReasonDetail == input.ReasonDetail ||
(this.ReasonDetail != null &&
this.ReasonDetail.Equals(input.ReasonDetail))
) &&
(
this.Reference == input.Reference ||
(this.Reference != null &&
Expand Down Expand Up @@ -581,6 +594,10 @@ public override int GetHashCode()
}
hashCode = (hashCode * 59) + this.Priorities.GetHashCode();
hashCode = (hashCode * 59) + this.Reason.GetHashCode();
if (this.ReasonDetail != null)
{
hashCode = (hashCode * 59) + this.ReasonDetail.GetHashCode();
}
if (this.Reference != null)
{
hashCode = (hashCode * 59) + this.Reference.GetHashCode();
Expand Down
17 changes: 17 additions & 0 deletions Adyen/Model/BalancePlatform/SweepConfigurationV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,13 @@ protected SweepConfigurationV2() { }
[DataMember(Name = "id", IsRequired = false, EmitDefaultValue = false)]
public string Id { get; private set; }

/// <summary>
/// The human readable reason for disabling the sweep.
/// </summary>
/// <value>The human readable reason for disabling the sweep.</value>
[DataMember(Name = "reasonDetail", EmitDefaultValue = false)]
public string ReasonDetail { get; private set; }

/// <summary>
/// Your reference for the sweep configuration.
/// </summary>
Expand Down Expand Up @@ -455,6 +462,7 @@ public override string ToString()
sb.Append(" Id: ").Append(Id).Append("\n");
sb.Append(" Priorities: ").Append(Priorities).Append("\n");
sb.Append(" Reason: ").Append(Reason).Append("\n");
sb.Append(" ReasonDetail: ").Append(ReasonDetail).Append("\n");
sb.Append(" Reference: ").Append(Reference).Append("\n");
sb.Append(" ReferenceForBeneficiary: ").Append(ReferenceForBeneficiary).Append("\n");
sb.Append(" Schedule: ").Append(Schedule).Append("\n");
Expand Down Expand Up @@ -530,6 +538,11 @@ public bool Equals(SweepConfigurationV2 input)
this.Reason == input.Reason ||
this.Reason.Equals(input.Reason)
) &&
(
this.ReasonDetail == input.ReasonDetail ||
(this.ReasonDetail != null &&
this.ReasonDetail.Equals(input.ReasonDetail))
) &&
(
this.Reference == input.Reference ||
(this.Reference != null &&
Expand Down Expand Up @@ -598,6 +611,10 @@ public override int GetHashCode()
}
hashCode = (hashCode * 59) + this.Priorities.GetHashCode();
hashCode = (hashCode * 59) + this.Reason.GetHashCode();
if (this.ReasonDetail != null)
{
hashCode = (hashCode * 59) + this.ReasonDetail.GetHashCode();
}
if (this.Reference != null)
{
hashCode = (hashCode * 59) + this.Reference.GetHashCode();
Expand Down
17 changes: 17 additions & 0 deletions Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,13 @@ public enum TypeEnum
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; private set; }

/// <summary>
/// The human readable reason for disabling the sweep.
/// </summary>
/// <value>The human readable reason for disabling the sweep.</value>
[DataMember(Name = "reasonDetail", EmitDefaultValue = false)]
public string ReasonDetail { get; private set; }

/// <summary>
/// Your reference for the sweep configuration.
/// </summary>
Expand Down Expand Up @@ -450,6 +457,7 @@ public override string ToString()
sb.Append(" Id: ").Append(Id).Append("\n");
sb.Append(" Priorities: ").Append(Priorities).Append("\n");
sb.Append(" Reason: ").Append(Reason).Append("\n");
sb.Append(" ReasonDetail: ").Append(ReasonDetail).Append("\n");
sb.Append(" Reference: ").Append(Reference).Append("\n");
sb.Append(" ReferenceForBeneficiary: ").Append(ReferenceForBeneficiary).Append("\n");
sb.Append(" Schedule: ").Append(Schedule).Append("\n");
Expand Down Expand Up @@ -525,6 +533,11 @@ public bool Equals(UpdateSweepConfigurationV2 input)
this.Reason == input.Reason ||
this.Reason.Equals(input.Reason)
) &&
(
this.ReasonDetail == input.ReasonDetail ||
(this.ReasonDetail != null &&
this.ReasonDetail.Equals(input.ReasonDetail))
) &&
(
this.Reference == input.Reference ||
(this.Reference != null &&
Expand Down Expand Up @@ -593,6 +606,10 @@ public override int GetHashCode()
}
hashCode = (hashCode * 59) + this.Priorities.GetHashCode();
hashCode = (hashCode * 59) + this.Reason.GetHashCode();
if (this.ReasonDetail != null)
{
hashCode = (hashCode * 59) + this.ReasonDetail.GetHashCode();
}
if (this.Reference != null)
{
hashCode = (hashCode * 59) + this.Reference.GetHashCode();
Expand Down
21 changes: 20 additions & 1 deletion Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ protected SweepConfigurationV2() { }
/// <param name="id">The unique identifier of the sweep. (required).</param>
/// <param name="priorities">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 you list first. If that&#39;s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers 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 for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup)..</param>
/// <param name="reason">The reason for disabling the sweep..</param>
/// <param name="reasonDetail">The human readable reason for disabling the sweep..</param>
/// <param name="reference">Your reference for the sweep configuration..</param>
/// <param name="referenceForBeneficiary">The reference sent to or received from the counterparty. Only alphanumeric characters are allowed..</param>
/// <param name="schedule">schedule (required).</param>
Expand All @@ -351,7 +352,7 @@ protected SweepConfigurationV2() { }
/// <param name="targetAmount">targetAmount.</param>
/// <param name="triggerAmount">triggerAmount.</param>
/// <param name="type">The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**. Possible values: * **push**: _push out funds_ to a destination balance account or transfer instrument. * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account. (default to TypeEnum.Push).</param>
public SweepConfigurationV2(CategoryEnum? category = default(CategoryEnum?), SweepCounterparty counterparty = default(SweepCounterparty), string currency = default(string), string description = default(string), string id = default(string), List<PrioritiesEnum> priorities = default(List<PrioritiesEnum>), ReasonEnum? reason = default(ReasonEnum?), string reference = default(string), string referenceForBeneficiary = default(string), SweepSchedule schedule = default(SweepSchedule), StatusEnum? status = default(StatusEnum?), Amount sweepAmount = default(Amount), Amount targetAmount = default(Amount), Amount triggerAmount = default(Amount), TypeEnum? type = TypeEnum.Push)
public SweepConfigurationV2(CategoryEnum? category = default(CategoryEnum?), SweepCounterparty counterparty = default(SweepCounterparty), string currency = default(string), string description = default(string), string id = default(string), List<PrioritiesEnum> priorities = default(List<PrioritiesEnum>), ReasonEnum? reason = default(ReasonEnum?), string reasonDetail = default(string), string reference = default(string), string referenceForBeneficiary = default(string), SweepSchedule schedule = default(SweepSchedule), StatusEnum? status = default(StatusEnum?), Amount sweepAmount = default(Amount), Amount targetAmount = default(Amount), Amount triggerAmount = default(Amount), TypeEnum? type = TypeEnum.Push)
{
this.Counterparty = counterparty;
this.Currency = currency;
Expand All @@ -361,6 +362,7 @@ protected SweepConfigurationV2() { }
this.Description = description;
this.Priorities = priorities;
this.Reason = reason;
this.ReasonDetail = reasonDetail;
this.Reference = reference;
this.ReferenceForBeneficiary = referenceForBeneficiary;
this.Status = status;
Expand Down Expand Up @@ -397,6 +399,13 @@ protected SweepConfigurationV2() { }
[DataMember(Name = "id", IsRequired = false, EmitDefaultValue = false)]
public string Id { get; set; }

/// <summary>
/// The human readable reason for disabling the sweep.
/// </summary>
/// <value>The human readable reason for disabling the sweep.</value>
[DataMember(Name = "reasonDetail", EmitDefaultValue = false)]
public string ReasonDetail { get; set; }

/// <summary>
/// Your reference for the sweep configuration.
/// </summary>
Expand Down Expand Up @@ -450,6 +459,7 @@ public override string ToString()
sb.Append(" Id: ").Append(Id).Append("\n");
sb.Append(" Priorities: ").Append(Priorities).Append("\n");
sb.Append(" Reason: ").Append(Reason).Append("\n");
sb.Append(" ReasonDetail: ").Append(ReasonDetail).Append("\n");
sb.Append(" Reference: ").Append(Reference).Append("\n");
sb.Append(" ReferenceForBeneficiary: ").Append(ReferenceForBeneficiary).Append("\n");
sb.Append(" Schedule: ").Append(Schedule).Append("\n");
Expand Down Expand Up @@ -525,6 +535,11 @@ public bool Equals(SweepConfigurationV2 input)
this.Reason == input.Reason ||
this.Reason.Equals(input.Reason)
) &&
(
this.ReasonDetail == input.ReasonDetail ||
(this.ReasonDetail != null &&
this.ReasonDetail.Equals(input.ReasonDetail))
) &&
(
this.Reference == input.Reference ||
(this.Reference != null &&
Expand Down Expand Up @@ -593,6 +608,10 @@ public override int GetHashCode()
}
hashCode = (hashCode * 59) + this.Priorities.GetHashCode();
hashCode = (hashCode * 59) + this.Reason.GetHashCode();
if (this.ReasonDetail != null)
{
hashCode = (hashCode * 59) + this.ReasonDetail.GetHashCode();
}
if (this.Reference != null)
{
hashCode = (hashCode * 59) + this.Reference.GetHashCode();
Expand Down
Loading

0 comments on commit f031323

Please sign in to comment.