Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored Aug 29, 2024
1 parent 6a8d706 commit 92471e9
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 22 deletions.
24 changes: 12 additions & 12 deletions Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public partial class OnboardingLinkSettings : IEquatable<OnboardingLinkSettings>
/// <param name="allowIntraRegionCrossBorderPayout">Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity..</param>
/// <param name="changeLegalEntityType">Default value: **true** Indicates if the user can change their legal entity type..</param>
/// <param name="editPrefilledCountry">Default value: **true** Indicates if the user can change the country of their legal entity&#39;s address, for example the registered address of an organization..</param>
/// <param name="hideOnboardingIntroductionIndividual">Default value: **false** Indicates if the user of the individual legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process..</param>
/// <param name="hideOnboardingIntroductionOrganization">Default value: **false** Indicates if the user of the organization legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process..</param>
/// <param name="hideOnboardingIntroductionSoleProprietor">Default value: **false** Indicates if the user of the sole proprietorship legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process..</param>
/// <param name="hideOnboardingIntroductionTrust">Default value: **false** Indicates if the user of the trust legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process..</param>
/// <param name="hideOnboardingIntroductionIndividual">Default value: **true** Indicates whether the introduction screen is hidden for the user of the individual legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process..</param>
/// <param name="hideOnboardingIntroductionOrganization">Default value: **true** Indicates whether the introduction screen is hidden for the user of the organization legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process..</param>
/// <param name="hideOnboardingIntroductionSoleProprietor">Default value: **true** Indicates whether the introduction screen is hidden for the user of the sole proprietorship legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process..</param>
/// <param name="hideOnboardingIntroductionTrust">Default value: **true** Indicates whether the introduction screen is hidden for the user of the trust legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process..</param>
/// <param name="instantBankVerification">Default value: **true** Indicates if the user can initiate the verification process through open banking providers, like Plaid or Tink..</param>
/// <param name="requirePciSignEcomMoto">Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **ecomMoto** sales channel type..</param>
/// <param name="requirePciSignEcommerce">Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **eCommerce** sales channel type..</param>
Expand Down Expand Up @@ -105,30 +105,30 @@ public partial class OnboardingLinkSettings : IEquatable<OnboardingLinkSettings>
public bool? EditPrefilledCountry { get; set; }

/// <summary>
/// Default value: **false** Indicates if the user of the individual legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.
/// Default value: **true** Indicates whether the introduction screen is hidden for the user of the individual legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.
/// </summary>
/// <value>Default value: **false** Indicates if the user of the individual legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.</value>
/// <value>Default value: **true** Indicates whether the introduction screen is hidden for the user of the individual legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.</value>
[DataMember(Name = "hideOnboardingIntroductionIndividual", EmitDefaultValue = false)]
public bool? HideOnboardingIntroductionIndividual { get; set; }

/// <summary>
/// Default value: **false** Indicates if the user of the organization legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.
/// Default value: **true** Indicates whether the introduction screen is hidden for the user of the organization legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.
/// </summary>
/// <value>Default value: **false** Indicates if the user of the organization legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.</value>
/// <value>Default value: **true** Indicates whether the introduction screen is hidden for the user of the organization legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.</value>
[DataMember(Name = "hideOnboardingIntroductionOrganization", EmitDefaultValue = false)]
public bool? HideOnboardingIntroductionOrganization { get; set; }

/// <summary>
/// Default value: **false** Indicates if the user of the sole proprietorship legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.
/// Default value: **true** Indicates whether the introduction screen is hidden for the user of the sole proprietorship legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.
/// </summary>
/// <value>Default value: **false** Indicates if the user of the sole proprietorship legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.</value>
/// <value>Default value: **true** Indicates whether the introduction screen is hidden for the user of the sole proprietorship legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.</value>
[DataMember(Name = "hideOnboardingIntroductionSoleProprietor", EmitDefaultValue = false)]
public bool? HideOnboardingIntroductionSoleProprietor { get; set; }

/// <summary>
/// Default value: **false** Indicates if the user of the trust legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.
/// Default value: **true** Indicates whether the introduction screen is hidden for the user of the trust legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.
/// </summary>
/// <value>Default value: **false** Indicates if the user of the trust legal entity type can view the introduction screen. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.</value>
/// <value>Default value: **true** Indicates whether the introduction screen is hidden for the user of the trust legal entity type. The introduction screen provides brief instructions for the subsequent steps in the hosted onboarding process.</value>
[DataMember(Name = "hideOnboardingIntroductionTrust", EmitDefaultValue = false)]
public bool? HideOnboardingIntroductionTrust { get; set; }

Expand Down
6 changes: 2 additions & 4 deletions Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ public partial class UndefinedBeneficiary : IEquatable<UndefinedBeneficiary>, IV
/// Initializes a new instance of the <see cref="UndefinedBeneficiary" /> class.
/// </summary>
/// <param name="description">The details of the undefined beneficiary..</param>
/// <param name="reference">The reference of the undefined beneficiary..</param>
public UndefinedBeneficiary(string description = default(string), string reference = default(string))
public UndefinedBeneficiary(string description = default(string))
{
this.Description = description;
this.Reference = reference;
}

/// <summary>
Expand All @@ -55,7 +53,7 @@ public partial class UndefinedBeneficiary : IEquatable<UndefinedBeneficiary>, IV
/// </summary>
/// <value>The reference of the undefined beneficiary.</value>
[DataMember(Name = "reference", EmitDefaultValue = false)]
public string Reference { get; set; }
public string Reference { get; private set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down
21 changes: 20 additions & 1 deletion Adyen/Model/Payment/FundDestination.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public partial class FundDestination : IEquatable<FundDestination>, IValidatable
/// <summary>
/// Initializes a new instance of the <see cref="FundDestination" /> class.
/// </summary>
/// <param name="iBAN">Bank Account Number of the recipient.</param>
/// <param name="additionalData">a map of name/value pairs for passing in additional/industry-specific data.</param>
/// <param name="billingAddress">billingAddress.</param>
/// <param name="card">card.</param>
Expand All @@ -45,8 +46,9 @@ public partial class FundDestination : IEquatable<FundDestination>, IValidatable
/// <param name="subMerchant">subMerchant.</param>
/// <param name="telephoneNumber">the telephone number of the person.</param>
/// <param name="walletPurpose">The purpose of a digital wallet transaction..</param>
public FundDestination(Dictionary<string, string> additionalData = default(Dictionary<string, string>), Address billingAddress = default(Address), Card card = default(Card), string selectedRecurringDetailReference = default(string), string shopperEmail = default(string), Name shopperName = default(Name), string shopperReference = default(string), SubMerchant subMerchant = default(SubMerchant), string telephoneNumber = default(string), string walletPurpose = default(string))
public FundDestination(string iBAN = default(string), Dictionary<string, string> additionalData = default(Dictionary<string, string>), Address billingAddress = default(Address), Card card = default(Card), string selectedRecurringDetailReference = default(string), string shopperEmail = default(string), Name shopperName = default(Name), string shopperReference = default(string), SubMerchant subMerchant = default(SubMerchant), string telephoneNumber = default(string), string walletPurpose = default(string))
{
this.IBAN = iBAN;
this.AdditionalData = additionalData;
this.BillingAddress = billingAddress;
this.Card = card;
Expand All @@ -59,6 +61,13 @@ public partial class FundDestination : IEquatable<FundDestination>, IValidatable
this.WalletPurpose = walletPurpose;
}

/// <summary>
/// Bank Account Number of the recipient
/// </summary>
/// <value>Bank Account Number of the recipient</value>
[DataMember(Name = "IBAN", EmitDefaultValue = false)]
public string IBAN { get; set; }

/// <summary>
/// a map of name/value pairs for passing in additional/industry-specific data
/// </summary>
Expand Down Expand Up @@ -133,6 +142,7 @@ public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class FundDestination {\n");
sb.Append(" IBAN: ").Append(IBAN).Append("\n");
sb.Append(" AdditionalData: ").Append(AdditionalData).Append("\n");
sb.Append(" BillingAddress: ").Append(BillingAddress).Append("\n");
sb.Append(" Card: ").Append(Card).Append("\n");
Expand Down Expand Up @@ -178,6 +188,11 @@ public bool Equals(FundDestination input)
return false;
}
return
(
this.IBAN == input.IBAN ||
(this.IBAN != null &&
this.IBAN.Equals(input.IBAN))
) &&
(
this.AdditionalData == input.AdditionalData ||
this.AdditionalData != null &&
Expand Down Expand Up @@ -240,6 +255,10 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.IBAN != null)
{
hashCode = (hashCode * 59) + this.IBAN.GetHashCode();
}
if (this.AdditionalData != null)
{
hashCode = (hashCode * 59) + this.AdditionalData.GetHashCode();
Expand Down
Loading

0 comments on commit 92471e9

Please sign in to comment.