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 Dec 3, 2024
1 parent a31b40d commit a790382
Show file tree
Hide file tree
Showing 12 changed files with 952 additions and 28 deletions.
8 changes: 7 additions & 1 deletion Adyen/Model/Checkout/CardDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ public enum TypeEnum
/// Enum Card for value: card
/// </summary>
[EnumMember(Value = "card")]
Card = 5
Card = 5,

/// <summary>
/// Enum Clicktopay for value: clicktopay
/// </summary>
[EnumMember(Value = "clicktopay")]
Clicktopay = 6

}

Expand Down
8 changes: 7 additions & 1 deletion Adyen/Model/Checkout/CardDonations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ public enum TypeEnum
/// Enum Card for value: card
/// </summary>
[EnumMember(Value = "card")]
Card = 5
Card = 5,

/// <summary>
/// Enum Clicktopay for value: clicktopay
/// </summary>
[EnumMember(Value = "clicktopay")]
Clicktopay = 6

}

Expand Down
158 changes: 158 additions & 0 deletions Adyen/Model/LegalEntityManagement/CalculatePciStatusRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
/*
* Legal Entity Management API
*
*
* The version of the OpenAPI document: 3
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System.ComponentModel.DataAnnotations;
using OpenAPIDateConverter = Adyen.ApiSerialization.OpenAPIDateConverter;

namespace Adyen.Model.LegalEntityManagement
{
/// <summary>
/// CalculatePciStatusRequest
/// </summary>
[DataContract(Name = "CalculatePciStatusRequest")]
public partial class CalculatePciStatusRequest : IEquatable<CalculatePciStatusRequest>, IValidatableObject
{
/// <summary>
/// Defines AdditionalSalesChannels
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum AdditionalSalesChannelsEnum
{
/// <summary>
/// Enum ECommerce for value: eCommerce
/// </summary>
[EnumMember(Value = "eCommerce")]
ECommerce = 1,

/// <summary>
/// Enum EcomMoto for value: ecomMoto
/// </summary>
[EnumMember(Value = "ecomMoto")]
EcomMoto = 2,

/// <summary>
/// Enum Pos for value: pos
/// </summary>
[EnumMember(Value = "pos")]
Pos = 3,

/// <summary>
/// Enum PosMoto for value: posMoto
/// </summary>
[EnumMember(Value = "posMoto")]
PosMoto = 4

}



/// <summary>
/// An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**
/// </summary>
/// <value>An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** </value>
[DataMember(Name = "additionalSalesChannels", EmitDefaultValue = false)]
public List<AdditionalSalesChannelsEnum> AdditionalSalesChannels { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="CalculatePciStatusRequest" /> class.
/// </summary>
/// <param name="additionalSalesChannels">An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** .</param>
public CalculatePciStatusRequest(List<AdditionalSalesChannelsEnum> additionalSalesChannels = default(List<AdditionalSalesChannelsEnum>))
{
this.AdditionalSalesChannels = additionalSalesChannels;
}

/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class CalculatePciStatusRequest {\n");
sb.Append(" AdditionalSalesChannels: ").Append(AdditionalSalesChannels).Append("\n");
sb.Append("}\n");
return sb.ToString();
}

/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
}

/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as CalculatePciStatusRequest);
}

/// <summary>
/// Returns true if CalculatePciStatusRequest instances are equal
/// </summary>
/// <param name="input">Instance of CalculatePciStatusRequest to be compared</param>
/// <returns>Boolean</returns>
public bool Equals(CalculatePciStatusRequest input)
{
if (input == null)
{
return false;
}
return
(
this.AdditionalSalesChannels == input.AdditionalSalesChannels ||
this.AdditionalSalesChannels.SequenceEqual(input.AdditionalSalesChannels)
);
}

/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
hashCode = (hashCode * 59) + this.AdditionalSalesChannels.GetHashCode();
return hashCode;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
public IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Validate(ValidationContext validationContext)
{
yield break;
}
}

}
125 changes: 125 additions & 0 deletions Adyen/Model/LegalEntityManagement/CalculatePciStatusResponse.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
/*
* Legal Entity Management API
*
*
* The version of the OpenAPI document: 3
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System.ComponentModel.DataAnnotations;
using OpenAPIDateConverter = Adyen.ApiSerialization.OpenAPIDateConverter;

namespace Adyen.Model.LegalEntityManagement
{
/// <summary>
/// CalculatePciStatusResponse
/// </summary>
[DataContract(Name = "CalculatePciStatusResponse")]
public partial class CalculatePciStatusResponse : IEquatable<CalculatePciStatusResponse>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="CalculatePciStatusResponse" /> class.
/// </summary>
/// <param name="signingRequired">Indicates if the user is required to sign PCI questionnaires. If **false**, they do not need to sign any questionnaires..</param>
public CalculatePciStatusResponse(bool? signingRequired = default(bool?))
{
this.SigningRequired = signingRequired;
}

/// <summary>
/// Indicates if the user is required to sign PCI questionnaires. If **false**, they do not need to sign any questionnaires.
/// </summary>
/// <value>Indicates if the user is required to sign PCI questionnaires. If **false**, they do not need to sign any questionnaires.</value>
[DataMember(Name = "signingRequired", EmitDefaultValue = false)]
public bool? SigningRequired { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class CalculatePciStatusResponse {\n");
sb.Append(" SigningRequired: ").Append(SigningRequired).Append("\n");
sb.Append("}\n");
return sb.ToString();
}

/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
}

/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as CalculatePciStatusResponse);
}

/// <summary>
/// Returns true if CalculatePciStatusResponse instances are equal
/// </summary>
/// <param name="input">Instance of CalculatePciStatusResponse to be compared</param>
/// <returns>Boolean</returns>
public bool Equals(CalculatePciStatusResponse input)
{
if (input == null)
{
return false;
}
return
(
this.SigningRequired == input.SigningRequired ||
this.SigningRequired.Equals(input.SigningRequired)
);
}

/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
hashCode = (hashCode * 59) + this.SigningRequired.GetHashCode();
return hashCode;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
public IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Validate(ValidationContext validationContext)
{
yield break;
}
}

}
Loading

0 comments on commit a790382

Please sign in to comment.