Skip to content

Commit 8c8ef78

Browse files
committed
fix #412 change to IEnumerable
1 parent 482a5ca commit 8c8ef78

26 files changed

+56
-54
lines changed

Source/FikaAmazonAPI/Parameter/CatalogItems/ParameterGetCatalogItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ namespace FikaAmazonAPI.Parameter.CatalogItems
77
public class ParameterGetCatalogItem : ParameterBased
88
{
99
public string ASIN { get; set; }
10-
public IList<string> marketplaceIds { get; set; } = new List<string>();
11-
public IList<IncludedData> includedData { get; set; }
10+
public ICollection<string> marketplaceIds { get; set; } = new List<string>();
11+
public ICollection<IncludedData> includedData { get; set; }
1212
public string locale { get; set; }
1313
}
1414
}

Source/FikaAmazonAPI/Parameter/CatalogItems/ParameterSearchCatalogItems202204.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ namespace FikaAmazonAPI.Parameter.CatalogItems
66
{
77
public class ParameterSearchCatalogItems202204 : PaginationParameter
88
{
9-
public IList<string> identifiers { get; set; }
10-
public IList<string> marketplaceIds { get; set; } = new List<string>();
9+
public ICollection<string> identifiers { get; set; }
10+
public ICollection<string> marketplaceIds { get; set; } = new List<string>();
1111
public IdentifiersType? identifiersType { get; set; }
12-
public IList<IncludedData> includedData { get; set; }
12+
public ICollection<IncludedData> includedData { get; set; }
1313
public string locale { get; set; }
1414
public string sellerId { get; set; }
15-
public IList<string> keywords { get; set; } = new List<string>();
16-
public IList<string> brandNames { get; set; } = new List<string>();
17-
public IList<string> classificationIds { get; set; } = new List<string>();
15+
public ICollection<string> keywords { get; set; } = new List<string>();
16+
public ICollection<string> brandNames { get; set; } = new List<string>();
17+
public ICollection<string> classificationIds { get; set; } = new List<string>();
1818
public string pageToken { get; set; }
1919
public string keywordsLocale { get; set; }
2020
}

Source/FikaAmazonAPI/Parameter/FbaInboundEligibility/ParameterGetItemEligibilityPreview.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace FikaAmazonAPI.Parameter.FbaInboundEligibility
66
{
77
public class ParameterGetItemEligibilityPreview : ParameterBased
88
{
9-
public IList<string> marketplaceIds { get; set; }
9+
public ICollection<string> marketplaceIds { get; set; }
1010
public string asin { get; set; }
1111
public ProgramEnum program { get; set; }
1212
}

Source/FikaAmazonAPI/Parameter/FbaInventory/ParameterGetInventorySummaries.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ public class ParameterGetInventorySummaries : ParameterBased
1010
public bool? details { get; set; }
1111
public string granularityId { get; set; }
1212
public DateTime? startDateTime { get; set; }
13-
public IList<string> sellerSkus { get; set; }
13+
public ICollection<string> sellerSkus { get; set; }
1414
public string nextToken { get; set; }
15-
public IList<string> marketplaceIds { get; set; }
15+
public ICollection<string> marketplaceIds { get; set; }
1616
public GranularityTypeEnum granularityType { get; set; }
1717
}
1818
}

Source/FikaAmazonAPI/Parameter/Feed/ParameterGetFeed.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ namespace FikaAmazonAPI.Parameter.Feed
77
{
88
public class ParameterGetFeed : ParameterBased
99
{
10-
public IList<FeedType> feedTypes { get; set; }
11-
public IList<string> marketplaceIds { get; set; }
10+
public ICollection<FeedType> feedTypes { get; set; }
11+
public ICollection<string> marketplaceIds { get; set; }
1212
public int? pageSize { get; set; }
1313
public ProcessingStatuses? processingStatuses { get; set; }
1414
public DateTime? createdSince { get; set; }

Source/FikaAmazonAPI/Parameter/FulFillmentInbound/ParameterGetInboundGuidance.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace FikaAmazonAPI.Parameter.FulFillmentInbound
66
public class ParameterGetInboundGuidance : ParameterBased
77
{
88
public string MarketplaceId { get; set; }
9-
public IList<string> SellerSKUList { get; set; }
10-
public IList<string> ASINList { get; set; }
9+
public ICollection<string> SellerSKUList { get; set; }
10+
public ICollection<string> ASINList { get; set; }
1111
}
1212
}

Source/FikaAmazonAPI/Parameter/FulFillmentInbound/ParameterGetLabels.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class ParameterGetLabels : ParameterBased
1111
public PageType PageType { get; set; }
1212
public LabelType LabelType { get; set; }
1313
public int? NumberOfPackages { get; set; }
14-
public IList<string> PackageLabelsToPrint { get; set; }
14+
public ICollection<string> PackageLabelsToPrint { get; set; }
1515
public int? NumberOfPallets { get; set; }
1616
public int? PageSize { get; set; }
1717
public int? PageStartIndex { get; set; }

Source/FikaAmazonAPI/Parameter/FulFillmentInbound/ParameterGetPrepInstructions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class ParameterGetPrepInstructions : ParameterBased
77
{
88
public string ShipToCountryCode { get; set; }
99
public string MarketplaceId { get; set; }
10-
public IList<string> SellerSKUList { get; set; }
11-
public IList<string> ASINList { get; set; }
10+
public ICollection<string> SellerSKUList { get; set; }
11+
public ICollection<string> ASINList { get; set; }
1212
}
1313
}

Source/FikaAmazonAPI/Parameter/FulFillmentInbound/ParameterGetShipments.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ namespace FikaAmazonAPI.Parameter.FulFillmentInbound
88
{
99
public class ParameterGetShipments : ParameterBased
1010
{
11-
public IList<ShipmentStatus> ShipmentStatusList { get; set; }
12-
public IList<string> ShipmentIdList { get; set; }
11+
public ICollection<ShipmentStatus> ShipmentStatusList { get; set; }
12+
public ICollection<string> ShipmentIdList { get; set; }
1313
public DateTime? LastUpdatedAfter { get; set; }
1414
public DateTime? LastUpdatedBefore { get; set; }
1515
public QueryType QueryType { get; set; }

Source/FikaAmazonAPI/Parameter/ListingsItems/ParameterDeleteListingItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public bool Check()
3131

3232
public string sku { get; set; }
3333

34-
public IList<string> marketplaceIds { get; set; }
34+
public ICollection<string> marketplaceIds { get; set; }
3535

3636
public string issueLocale { get; set; }
3737
}

0 commit comments

Comments
 (0)