Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Oct 24, 2023
1 parent 1d676a9 commit bcc1da0
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 361 deletions.
22 changes: 1 addition & 21 deletions Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,8 @@ public enum VerificationStatusEnum
/// <param name="requested">Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the &#x60;allowed&#x60; field..</param>
/// <param name="requestedLevel">The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**..</param>
/// <param name="requestedSettings">requestedSettings.</param>
/// <param name="transferInstruments">Contains the status of the transfer instruments associated with this capability. .</param>
/// <param name="verificationStatus">The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the &#x60;errors&#x60; array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability. .</param>
public AccountHolderCapability(bool? allowed = default(bool?), AllowedLevelEnum? allowedLevel = default(AllowedLevelEnum?), CapabilitySettings allowedSettings = default(CapabilitySettings), bool? enabled = default(bool?), List<CapabilityProblem> problems = default(List<CapabilityProblem>), bool? requested = default(bool?), RequestedLevelEnum? requestedLevel = default(RequestedLevelEnum?), CapabilitySettings requestedSettings = default(CapabilitySettings), List<AccountSupportingEntityCapability> transferInstruments = default(List<AccountSupportingEntityCapability>), VerificationStatusEnum? verificationStatus = default(VerificationStatusEnum?))
public AccountHolderCapability(bool? allowed = default(bool?), AllowedLevelEnum? allowedLevel = default(AllowedLevelEnum?), CapabilitySettings allowedSettings = default(CapabilitySettings), bool? enabled = default(bool?), List<CapabilityProblem> problems = default(List<CapabilityProblem>), bool? requested = default(bool?), RequestedLevelEnum? requestedLevel = default(RequestedLevelEnum?), CapabilitySettings requestedSettings = default(CapabilitySettings), VerificationStatusEnum? verificationStatus = default(VerificationStatusEnum?))
{
this.Allowed = allowed;
this.AllowedLevel = allowedLevel;
Expand All @@ -175,7 +174,6 @@ public enum VerificationStatusEnum
this.Requested = requested;
this.RequestedLevel = requestedLevel;
this.RequestedSettings = requestedSettings;
this.TransferInstruments = transferInstruments;
this.VerificationStatus = verificationStatus;
}

Expand Down Expand Up @@ -219,13 +217,6 @@ public enum VerificationStatusEnum
[DataMember(Name = "requestedSettings", EmitDefaultValue = false)]
public CapabilitySettings RequestedSettings { get; set; }

/// <summary>
/// Contains the status of the transfer instruments associated with this capability.
/// </summary>
/// <value>Contains the status of the transfer instruments associated with this capability. </value>
[DataMember(Name = "transferInstruments", EmitDefaultValue = false)]
public List<AccountSupportingEntityCapability> TransferInstruments { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -242,7 +233,6 @@ public override string ToString()
sb.Append(" Requested: ").Append(Requested).Append("\n");
sb.Append(" RequestedLevel: ").Append(RequestedLevel).Append("\n");
sb.Append(" RequestedSettings: ").Append(RequestedSettings).Append("\n");
sb.Append(" TransferInstruments: ").Append(TransferInstruments).Append("\n");
sb.Append(" VerificationStatus: ").Append(VerificationStatus).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -315,12 +305,6 @@ public bool Equals(AccountHolderCapability input)
(this.RequestedSettings != null &&
this.RequestedSettings.Equals(input.RequestedSettings))
) &&
(
this.TransferInstruments == input.TransferInstruments ||
this.TransferInstruments != null &&
input.TransferInstruments != null &&
this.TransferInstruments.SequenceEqual(input.TransferInstruments)
) &&
(
this.VerificationStatus == input.VerificationStatus ||
this.VerificationStatus.Equals(input.VerificationStatus)
Expand Down Expand Up @@ -353,10 +337,6 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.RequestedSettings.GetHashCode();
}
if (this.TransferInstruments != null)
{
hashCode = (hashCode * 59) + this.TransferInstruments.GetHashCode();
}
hashCode = (hashCode * 59) + this.VerificationStatus.GetHashCode();
return hashCode;
}
Expand Down
Loading

0 comments on commit bcc1da0

Please sign in to comment.