Skip to content

Commit 2c79056

Browse files
author
Gonzalo Cuadrado
committed
Updated all models from MerchantFulfillment
1 parent 1b12dad commit 2c79056

File tree

93 files changed

+1778
-3732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1778
-3732
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/MerchantFulfillment/AdditionalInputs.cs

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,43 +8,50 @@
88
* Generated by: https://github.com/swagger-api/swagger-codegen.git
99
*/
1010

11-
using Newtonsoft.Json;
1211
using System;
12+
using System.Linq;
13+
using System.IO;
14+
using System.Text;
15+
using System.Text.RegularExpressions;
16+
using System.Collections;
1317
using System.Collections.Generic;
14-
using System.ComponentModel.DataAnnotations;
18+
using System.Collections.ObjectModel;
1519
using System.Runtime.Serialization;
16-
using System.Text;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using System.ComponentModel.DataAnnotations;
23+
1724

1825
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.MerchantFulfillment
1926
{
2027
/// <summary>
2128
/// Maps the additional seller input to the definition. The key to the map is the field name.
2229
/// </summary>
2330
[DataContract]
24-
public partial class AdditionalInputs : IEquatable<AdditionalInputs>, IValidatableObject
31+
public partial class AdditionalInputs : IEquatable<AdditionalInputs>, IValidatableObject
2532
{
2633
/// <summary>
2734
/// Initializes a new instance of the <see cref="AdditionalInputs" /> class.
2835
/// </summary>
29-
/// <param name="AdditionalInputFieldName">The field name..</param>
30-
/// <param name="SellerInputDefinition">SellerInputDefinition.</param>
31-
public AdditionalInputs(string AdditionalInputFieldName = default(string), SellerInputDefinition SellerInputDefinition = default(SellerInputDefinition))
36+
/// <param name="additionalInputFieldName">The field name..</param>
37+
/// <param name="sellerInputDefinition">sellerInputDefinition.</param>
38+
public AdditionalInputs(string additionalInputFieldName = default(string), SellerInputDefinition sellerInputDefinition = default(SellerInputDefinition))
3239
{
33-
this.AdditionalInputFieldName = AdditionalInputFieldName;
34-
this.SellerInputDefinition = SellerInputDefinition;
40+
this.AdditionalInputFieldName = additionalInputFieldName;
41+
this.SellerInputDefinition = sellerInputDefinition;
3542
}
36-
43+
3744
/// <summary>
3845
/// The field name.
3946
/// </summary>
4047
/// <value>The field name.</value>
41-
[DataMember(Name = "AdditionalInputFieldName", EmitDefaultValue = false)]
48+
[DataMember(Name="AdditionalInputFieldName", EmitDefaultValue=false)]
4249
public string AdditionalInputFieldName { get; set; }
4350

4451
/// <summary>
4552
/// Gets or Sets SellerInputDefinition
4653
/// </summary>
47-
[DataMember(Name = "SellerInputDefinition", EmitDefaultValue = false)]
54+
[DataMember(Name="SellerInputDefinition", EmitDefaultValue=false)]
4855
public SellerInputDefinition SellerInputDefinition { get; set; }
4956

5057
/// <summary>
@@ -60,12 +67,12 @@ public override string ToString()
6067
sb.Append("}\n");
6168
return sb.ToString();
6269
}
63-
70+
6471
/// <summary>
6572
/// Returns the JSON string presentation of the object
6673
/// </summary>
6774
/// <returns>JSON string presentation of the object</returns>
68-
public string ToJson()
75+
public virtual string ToJson()
6976
{
7077
return JsonConvert.SerializeObject(this, Formatting.Indented);
7178
}
@@ -90,12 +97,12 @@ public bool Equals(AdditionalInputs input)
9097
if (input == null)
9198
return false;
9299

93-
return
100+
return
94101
(
95102
this.AdditionalInputFieldName == input.AdditionalInputFieldName ||
96103
(this.AdditionalInputFieldName != null &&
97104
this.AdditionalInputFieldName.Equals(input.AdditionalInputFieldName))
98-
) &&
105+
) &&
99106
(
100107
this.SellerInputDefinition == input.SellerInputDefinition ||
101108
(this.SellerInputDefinition != null &&

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/MerchantFulfillment/AdditionalInputsList.cs

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,27 @@
88
* Generated by: https://github.com/swagger-api/swagger-codegen.git
99
*/
1010

11-
using Newtonsoft.Json;
1211
using System;
12+
using System.Linq;
13+
using System.IO;
14+
using System.Text;
15+
using System.Text.RegularExpressions;
16+
using System.Collections;
1317
using System.Collections.Generic;
14-
using System.ComponentModel.DataAnnotations;
18+
using System.Collections.ObjectModel;
1519
using System.Runtime.Serialization;
16-
using System.Text;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using System.ComponentModel.DataAnnotations;
23+
1724

1825
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.MerchantFulfillment
1926
{
2027
/// <summary>
2128
/// A list of additional inputs.
2229
/// </summary>
2330
[DataContract]
24-
public partial class AdditionalInputsList : List<AdditionalInputs>, IEquatable<AdditionalInputsList>, IValidatableObject
31+
public partial class AdditionalInputsList : List<AdditionalInputs>, IEquatable<AdditionalInputsList>, IValidatableObject
2532
{
2633
/// <summary>
2734
/// Initializes a new instance of the <see cref="AdditionalInputsList" /> class.
@@ -30,7 +37,7 @@ public partial class AdditionalInputsList : List<AdditionalInputs>, IEquatable<A
3037
public AdditionalInputsList() : base()
3138
{
3239
}
33-
40+
3441
/// <summary>
3542
/// Returns the string presentation of the object
3643
/// </summary>
@@ -43,7 +50,7 @@ public override string ToString()
4350
sb.Append("}\n");
4451
return sb.ToString();
4552
}
46-
53+
4754
/// <summary>
4855
/// Returns the JSON string presentation of the object
4956
/// </summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/MerchantFulfillment/AdditionalSellerInput.cs

Lines changed: 52 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -8,103 +8,110 @@
88
* Generated by: https://github.com/swagger-api/swagger-codegen.git
99
*/
1010

11-
using Newtonsoft.Json;
1211
using System;
12+
using System.Linq;
13+
using System.IO;
14+
using System.Text;
15+
using System.Text.RegularExpressions;
16+
using System.Collections;
1317
using System.Collections.Generic;
14-
using System.ComponentModel.DataAnnotations;
18+
using System.Collections.ObjectModel;
1519
using System.Runtime.Serialization;
16-
using System.Text;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using System.ComponentModel.DataAnnotations;
23+
1724

1825
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.MerchantFulfillment
1926
{
2027
/// <summary>
2128
/// Additional information required to purchase shipping.
2229
/// </summary>
2330
[DataContract]
24-
public partial class AdditionalSellerInput : IEquatable<AdditionalSellerInput>, IValidatableObject
31+
public partial class AdditionalSellerInput : IEquatable<AdditionalSellerInput>, IValidatableObject
2532
{
2633
/// <summary>
2734
/// Initializes a new instance of the <see cref="AdditionalSellerInput" /> class.
2835
/// </summary>
29-
/// <param name="DataType">The data type of the additional information..</param>
30-
/// <param name="ValueAsString">The value when the data type is string..</param>
31-
/// <param name="ValueAsBoolean">The value when the data type is boolean..</param>
32-
/// <param name="ValueAsInteger">The value when the data type is integer..</param>
33-
/// <param name="ValueAsTimestamp">The value when the data type is a date-time formatted string..</param>
34-
/// <param name="ValueAsAddress">ValueAsAddress.</param>
35-
/// <param name="ValueAsWeight">ValueAsWeight.</param>
36-
/// <param name="ValueAsDimension">ValueAsDimension.</param>
37-
/// <param name="ValueAsCurrency">ValueAsCurrency.</param>
38-
public AdditionalSellerInput(string DataType = default(string), string ValueAsString = default(string), bool? ValueAsBoolean = default(bool?), int? ValueAsInteger = default(int?), Timestamp ValueAsTimestamp = default(Timestamp), Address ValueAsAddress = default(Address), Weight ValueAsWeight = default(Weight), Length ValueAsDimension = default(Length), CurrencyAmount ValueAsCurrency = default(CurrencyAmount))
36+
/// <param name="dataType">The data type of the additional information..</param>
37+
/// <param name="valueAsString">The value when the data type is string..</param>
38+
/// <param name="valueAsBoolean">The value when the data type is boolean..</param>
39+
/// <param name="valueAsInteger">The value when the data type is integer..</param>
40+
/// <param name="valueAsTimestamp">The value when the data type is a date-time formatted string..</param>
41+
/// <param name="valueAsAddress">valueAsAddress.</param>
42+
/// <param name="valueAsWeight">valueAsWeight.</param>
43+
/// <param name="valueAsDimension">valueAsDimension.</param>
44+
/// <param name="valueAsCurrency">valueAsCurrency.</param>
45+
public AdditionalSellerInput(string dataType = default(string), string valueAsString = default(string), bool? valueAsBoolean = default(bool?), int? valueAsInteger = default(int?), DateTime? valueAsTimestamp = default(DateTime?), Address valueAsAddress = default(Address), Weight valueAsWeight = default(Weight), Length valueAsDimension = default(Length), CurrencyAmount valueAsCurrency = default(CurrencyAmount))
3946
{
40-
this.DataType = DataType;
41-
this.ValueAsString = ValueAsString;
42-
this.ValueAsBoolean = ValueAsBoolean;
43-
this.ValueAsInteger = ValueAsInteger;
44-
this.ValueAsTimestamp = ValueAsTimestamp;
45-
this.ValueAsAddress = ValueAsAddress;
46-
this.ValueAsWeight = ValueAsWeight;
47-
this.ValueAsDimension = ValueAsDimension;
48-
this.ValueAsCurrency = ValueAsCurrency;
47+
this.DataType = dataType;
48+
this.ValueAsString = valueAsString;
49+
this.ValueAsBoolean = valueAsBoolean;
50+
this.ValueAsInteger = valueAsInteger;
51+
this.ValueAsTimestamp = valueAsTimestamp;
52+
this.ValueAsAddress = valueAsAddress;
53+
this.ValueAsWeight = valueAsWeight;
54+
this.ValueAsDimension = valueAsDimension;
55+
this.ValueAsCurrency = valueAsCurrency;
4956
}
50-
57+
5158
/// <summary>
5259
/// The data type of the additional information.
5360
/// </summary>
5461
/// <value>The data type of the additional information.</value>
55-
[DataMember(Name = "DataType", EmitDefaultValue = false)]
62+
[DataMember(Name="DataType", EmitDefaultValue=false)]
5663
public string DataType { get; set; }
5764

5865
/// <summary>
5966
/// The value when the data type is string.
6067
/// </summary>
6168
/// <value>The value when the data type is string.</value>
62-
[DataMember(Name = "ValueAsString", EmitDefaultValue = false)]
69+
[DataMember(Name="ValueAsString", EmitDefaultValue=false)]
6370
public string ValueAsString { get; set; }
6471

6572
/// <summary>
6673
/// The value when the data type is boolean.
6774
/// </summary>
6875
/// <value>The value when the data type is boolean.</value>
69-
[DataMember(Name = "ValueAsBoolean", EmitDefaultValue = false)]
76+
[DataMember(Name="ValueAsBoolean", EmitDefaultValue=false)]
7077
public bool? ValueAsBoolean { get; set; }
7178

7279
/// <summary>
7380
/// The value when the data type is integer.
7481
/// </summary>
7582
/// <value>The value when the data type is integer.</value>
76-
[DataMember(Name = "ValueAsInteger", EmitDefaultValue = false)]
83+
[DataMember(Name="ValueAsInteger", EmitDefaultValue=false)]
7784
public int? ValueAsInteger { get; set; }
7885

7986
/// <summary>
8087
/// The value when the data type is a date-time formatted string.
8188
/// </summary>
8289
/// <value>The value when the data type is a date-time formatted string.</value>
83-
[DataMember(Name = "ValueAsTimestamp", EmitDefaultValue = false)]
84-
public Timestamp ValueAsTimestamp { get; set; }
90+
[DataMember(Name="ValueAsTimestamp", EmitDefaultValue=false)]
91+
public DateTime? ValueAsTimestamp { get; set; }
8592

8693
/// <summary>
8794
/// Gets or Sets ValueAsAddress
8895
/// </summary>
89-
[DataMember(Name = "ValueAsAddress", EmitDefaultValue = false)]
96+
[DataMember(Name="ValueAsAddress", EmitDefaultValue=false)]
9097
public Address ValueAsAddress { get; set; }
9198

9299
/// <summary>
93100
/// Gets or Sets ValueAsWeight
94101
/// </summary>
95-
[DataMember(Name = "ValueAsWeight", EmitDefaultValue = false)]
102+
[DataMember(Name="ValueAsWeight", EmitDefaultValue=false)]
96103
public Weight ValueAsWeight { get; set; }
97104

98105
/// <summary>
99106
/// Gets or Sets ValueAsDimension
100107
/// </summary>
101-
[DataMember(Name = "ValueAsDimension", EmitDefaultValue = false)]
108+
[DataMember(Name="ValueAsDimension", EmitDefaultValue=false)]
102109
public Length ValueAsDimension { get; set; }
103110

104111
/// <summary>
105112
/// Gets or Sets ValueAsCurrency
106113
/// </summary>
107-
[DataMember(Name = "ValueAsCurrency", EmitDefaultValue = false)]
114+
[DataMember(Name="ValueAsCurrency", EmitDefaultValue=false)]
108115
public CurrencyAmount ValueAsCurrency { get; set; }
109116

110117
/// <summary>
@@ -127,12 +134,12 @@ public override string ToString()
127134
sb.Append("}\n");
128135
return sb.ToString();
129136
}
130-
137+
131138
/// <summary>
132139
/// Returns the JSON string presentation of the object
133140
/// </summary>
134141
/// <returns>JSON string presentation of the object</returns>
135-
public string ToJson()
142+
public virtual string ToJson()
136143
{
137144
return JsonConvert.SerializeObject(this, Formatting.Indented);
138145
}
@@ -157,47 +164,47 @@ public bool Equals(AdditionalSellerInput input)
157164
if (input == null)
158165
return false;
159166

160-
return
167+
return
161168
(
162169
this.DataType == input.DataType ||
163170
(this.DataType != null &&
164171
this.DataType.Equals(input.DataType))
165-
) &&
172+
) &&
166173
(
167174
this.ValueAsString == input.ValueAsString ||
168175
(this.ValueAsString != null &&
169176
this.ValueAsString.Equals(input.ValueAsString))
170-
) &&
177+
) &&
171178
(
172179
this.ValueAsBoolean == input.ValueAsBoolean ||
173180
(this.ValueAsBoolean != null &&
174181
this.ValueAsBoolean.Equals(input.ValueAsBoolean))
175-
) &&
182+
) &&
176183
(
177184
this.ValueAsInteger == input.ValueAsInteger ||
178185
(this.ValueAsInteger != null &&
179186
this.ValueAsInteger.Equals(input.ValueAsInteger))
180-
) &&
187+
) &&
181188
(
182189
this.ValueAsTimestamp == input.ValueAsTimestamp ||
183190
(this.ValueAsTimestamp != null &&
184191
this.ValueAsTimestamp.Equals(input.ValueAsTimestamp))
185-
) &&
192+
) &&
186193
(
187194
this.ValueAsAddress == input.ValueAsAddress ||
188195
(this.ValueAsAddress != null &&
189196
this.ValueAsAddress.Equals(input.ValueAsAddress))
190-
) &&
197+
) &&
191198
(
192199
this.ValueAsWeight == input.ValueAsWeight ||
193200
(this.ValueAsWeight != null &&
194201
this.ValueAsWeight.Equals(input.ValueAsWeight))
195-
) &&
202+
) &&
196203
(
197204
this.ValueAsDimension == input.ValueAsDimension ||
198205
(this.ValueAsDimension != null &&
199206
this.ValueAsDimension.Equals(input.ValueAsDimension))
200-
) &&
207+
) &&
201208
(
202209
this.ValueAsCurrency == input.ValueAsCurrency ||
203210
(this.ValueAsCurrency != null &&

0 commit comments

Comments
 (0)