-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
false[adyen-sdk-automation] automated change
- Loading branch information
1 parent
a31b40d
commit a790382
Showing
12 changed files
with
952 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
158 changes: 158 additions & 0 deletions
158
Adyen/Model/LegalEntityManagement/CalculatePciStatusRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
125
Adyen/Model/LegalEntityManagement/CalculatePciStatusResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.