diff --git a/Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Sellers/MarketplaceParticipation.cs b/Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Sellers/MarketplaceParticipation.cs
index 3b41bd49..54820cbf 100644
--- a/Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Sellers/MarketplaceParticipation.cs
+++ b/Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Sellers/MarketplaceParticipation.cs
@@ -34,7 +34,8 @@ public MarketplaceParticipation() { }
///
/// Marketplace (required).
/// Participation (required).
- public MarketplaceParticipation(Marketplace Marketplace = default(Marketplace), Participation Participation = default(Participation))
+ /// StoreName (required).
+ public MarketplaceParticipation(Marketplace Marketplace = default(Marketplace), Participation Participation = default(Participation), string StoreName = default(string))
{
// to ensure "Marketplace" is required (not null)
if (Marketplace == null)
@@ -54,6 +55,15 @@ public MarketplaceParticipation() { }
{
this.Participation = Participation;
}
+ // to ensure "StoreName" is required (not null)
+ if (StoreName == null)
+ {
+ throw new InvalidDataException("StoreName is a required property for MarketplaceParticipation and cannot be null");
+ }
+ else
+ {
+ this.StoreName = StoreName;
+ }
}
///
@@ -68,6 +78,12 @@ public MarketplaceParticipation() { }
[DataMember(Name = "participation", EmitDefaultValue = false)]
public Participation Participation { get; set; }
+ ///
+ /// Gets or Sets StoreName
+ ///
+ [DataMember(Name = "storeName", EmitDefaultValue = false)]
+ public string StoreName { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -78,6 +94,7 @@ public override string ToString()
sb.Append("class MarketplaceParticipation {\n");
sb.Append(" Marketplace: ").Append(Marketplace).Append("\n");
sb.Append(" Participation: ").Append(Participation).Append("\n");
+ sb.Append(" StoreName: ").Append(StoreName).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -121,6 +138,11 @@ public bool Equals(MarketplaceParticipation input)
this.Participation == input.Participation ||
(this.Participation != null &&
this.Participation.Equals(input.Participation))
+ ) &&
+ (
+ this.StoreName == input.StoreName ||
+ (this.StoreName != null &&
+ this.StoreName.Equals(input.StoreName))
);
}