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 Sep 20, 2024
1 parent d9344b5 commit 50efe12
Show file tree
Hide file tree
Showing 7 changed files with 192 additions and 149 deletions.
6 changes: 3 additions & 3 deletions Adyen/Model/Checkout/FundRecipient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public partial class FundRecipient : IEquatable<FundRecipient>, IValidatableObje
/// <param name="subMerchant">subMerchant.</param>
/// <param name="telephoneNumber">The telephone number of the shopper..</param>
/// <param name="walletIdentifier">Indicates where the money is going..</param>
/// <param name="walletOwnerTaxId">Indicates the tax identifier of the fund recepient.</param>
/// <param name="walletOwnerTaxId">Indicates the tax identifier of the fund recipient.</param>
public FundRecipient(string iBAN = default(string), Address billingAddress = default(Address), CardDetails paymentMethod = default(CardDetails), string shopperEmail = default(string), Name shopperName = default(Name), string shopperReference = default(string), string storedPaymentMethodId = default(string), SubMerchant subMerchant = default(SubMerchant), string telephoneNumber = default(string), string walletIdentifier = default(string), string walletOwnerTaxId = default(string))
{
this.IBAN = iBAN;
Expand Down Expand Up @@ -128,9 +128,9 @@ public partial class FundRecipient : IEquatable<FundRecipient>, IValidatableObje
public string WalletIdentifier { get; set; }

/// <summary>
/// Indicates the tax identifier of the fund recepient
/// Indicates the tax identifier of the fund recipient
/// </summary>
/// <value>Indicates the tax identifier of the fund recepient</value>
/// <value>Indicates the tax identifier of the fund recipient</value>
[DataMember(Name = "walletOwnerTaxId", EmitDefaultValue = false)]
public string WalletOwnerTaxId { get; set; }

Expand Down
21 changes: 20 additions & 1 deletion Adyen/Model/Checkout/Mandate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,20 @@ protected Mandate() { }
/// <param name="amountRule">The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the &#x60;amount&#x60;. * **exact**: The transaction amount should be the same as the &#x60;amount&#x60;. .</param>
/// <param name="billingAttemptsRule">The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. .</param>
/// <param name="billingDay">The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the &#x60;frequency&#x60;..</param>
/// <param name="count">The number of transactions that can be performed within the given frequency..</param>
/// <param name="endsAt">End date of the billing plan, in YYYY-MM-DD format. (required).</param>
/// <param name="frequency">The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. (required).</param>
/// <param name="remarks">The message shown by UPI to the shopper on the approval screen..</param>
/// <param name="startsAt">Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date..</param>
public Mandate(string amount = default(string), AmountRuleEnum? amountRule = default(AmountRuleEnum?), BillingAttemptsRuleEnum? billingAttemptsRule = default(BillingAttemptsRuleEnum?), string billingDay = default(string), string endsAt = default(string), FrequencyEnum frequency = default(FrequencyEnum), string remarks = default(string), string startsAt = default(string))
public Mandate(string amount = default(string), AmountRuleEnum? amountRule = default(AmountRuleEnum?), BillingAttemptsRuleEnum? billingAttemptsRule = default(BillingAttemptsRuleEnum?), string billingDay = default(string), string count = default(string), string endsAt = default(string), FrequencyEnum frequency = default(FrequencyEnum), string remarks = default(string), string startsAt = default(string))
{
this.Amount = amount;
this.EndsAt = endsAt;
this.Frequency = frequency;
this.AmountRule = amountRule;
this.BillingAttemptsRule = billingAttemptsRule;
this.BillingDay = billingDay;
this.Count = count;
this.Remarks = remarks;
this.StartsAt = startsAt;
}
Expand All @@ -200,6 +202,13 @@ protected Mandate() { }
[DataMember(Name = "billingDay", EmitDefaultValue = false)]
public string BillingDay { get; set; }

/// <summary>
/// The number of transactions that can be performed within the given frequency.
/// </summary>
/// <value>The number of transactions that can be performed within the given frequency.</value>
[DataMember(Name = "count", EmitDefaultValue = false)]
public string Count { get; set; }

/// <summary>
/// End date of the billing plan, in YYYY-MM-DD format.
/// </summary>
Expand Down Expand Up @@ -233,6 +242,7 @@ public override string ToString()
sb.Append(" AmountRule: ").Append(AmountRule).Append("\n");
sb.Append(" BillingAttemptsRule: ").Append(BillingAttemptsRule).Append("\n");
sb.Append(" BillingDay: ").Append(BillingDay).Append("\n");
sb.Append(" Count: ").Append(Count).Append("\n");
sb.Append(" EndsAt: ").Append(EndsAt).Append("\n");
sb.Append(" Frequency: ").Append(Frequency).Append("\n");
sb.Append(" Remarks: ").Append(Remarks).Append("\n");
Expand Down Expand Up @@ -290,6 +300,11 @@ public bool Equals(Mandate input)
(this.BillingDay != null &&
this.BillingDay.Equals(input.BillingDay))
) &&
(
this.Count == input.Count ||
(this.Count != null &&
this.Count.Equals(input.Count))
) &&
(
this.EndsAt == input.EndsAt ||
(this.EndsAt != null &&
Expand Down Expand Up @@ -330,6 +345,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.BillingDay.GetHashCode();
}
if (this.Count != null)
{
hashCode = (hashCode * 59) + this.Count.GetHashCode();
}
if (this.EndsAt != null)
{
hashCode = (hashCode * 59) + this.EndsAt.GetHashCode();
Expand Down
Loading

0 comments on commit 50efe12

Please sign in to comment.