Skip to content

Commit 8463830

Browse files
committed
Removed inventory id from updated item
Removed specified properties on item
1 parent 60cfcb4 commit 8463830

File tree

2 files changed

+0
-81
lines changed

2 files changed

+0
-81
lines changed

NetoDotNET/Entities/Product/Item.cs

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ public class Item
2323

2424
public bool Virtual { get; set; }
2525

26-
public bool VirtualSpecified { get; set; }
27-
2826
public string Brand { get; set; }
2927

3028
public string Name { get; set; }
@@ -37,68 +35,42 @@ public class Item
3735

3836
public decimal RRP { get; set; }
3937

40-
public bool RRPSpecified { get; set; }
41-
4238
public decimal DefaultPrice { get; set; }
4339

44-
public bool DefaultPriceSpecified { get; set; }
45-
4640
public decimal PromotionPrice { get; set; }
4741

48-
public bool PromotionPriceSpecified { get; set; }
49-
5042
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
5143
public DateTime? PromotionStartDate { get; set; }
5244

53-
public bool PromotionStartDateSpecified { get; set; }
54-
5545
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
5646
public DateTime? PromotionStartDateLocal { get; set; }
5747

58-
public bool PromotionStartDateLocalSpecified { get; set; }
59-
6048
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
6149
public DateTime? PromotionStartDateUTC { get; set; }
6250

63-
public bool PromotionStartDateUTCSpecified { get; set; }
64-
6551
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
6652
public DateTime? PromotionExpiryDate { get; set; }
6753

68-
public bool PromotionExpiryDateSpecified { get; set; }
69-
7054
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
7155
public DateTime? PromotionExpiryDateLocal { get; set; }
7256

73-
public bool PromotionExpiryDateLocalSpecified { get; set; }
74-
7557
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
7658
public DateTime? PromotionExpiryDateUTC { get; set; }
7759

78-
public bool PromotionExpiryDateUTCSpecified { get; set; }
79-
8060
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
8161
public DateTime? DateArrival { get; set; }
8262

83-
public bool DateArrivalSpecified { get; set; }
84-
8563
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
8664
public DateTime? DateArrivalUTC { get; set; }
8765

88-
public bool DateArrivalUTCSpecified { get; set; }
89-
9066
public decimal CostPrice { get; set; }
9167

92-
public bool CostPriceSpecified { get; set; }
93-
9468
public string UnitOfMeasure { get; set; }
9569

9670
public string BaseUnitOfMeasure { get; set; }
9771

9872
public decimal BaseUnitPerQuantity { get; set; }
9973

100-
public bool BaseUnitPerQuantitySpecified { get; set; }
101-
10274
public string BuyUnitQuantity { get; set; }
10375

10476
public string QuantityPerScan { get; set; }
@@ -113,32 +85,18 @@ public class Item
11385

11486
public bool Approved { get; set; }
11587

116-
public bool ApprovedSpecified { get; set; }
117-
11888
public bool IsActive { get; set; }
11989

120-
public bool IsActiveSpecified { get; set; }
121-
12290
public bool Visible { get; set; }
12391

124-
public bool VisibleSpecified { get; set; }
125-
12692
public bool TaxFreeItem { get; set; }
12793

128-
public bool TaxFreeItemSpecified { get; set; }
129-
13094
public bool TaxInclusive { get; set; }
13195

132-
public bool TaxInclusiveSpecified { get; set; }
133-
13496
public bool ApprovedForPOS { get; set; }
13597

136-
public bool ApprovedForPOSSpecified { get; set; }
137-
13898
public bool ApprovedForMobileStore { get; set; }
13999

140-
public bool ApprovedForMobileStoreSpecified { get; set; }
141-
142100
public string SearchKeywords { get; set; }
143101

144102
public string ShortDescription { get; set; }
@@ -178,33 +136,24 @@ public class Item
178136
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
179137
public DateTime? DateAdded { get; set; }
180138

181-
public bool DateAddedSpecified { get; set; }
182-
183139
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
184140
public DateTime? DateAddedLocal { get; set; }
185141

186-
public bool DateAddedLocalSpecified { get; set; }
187-
188142
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
189143
public DateTime? DateAddedUTC { get; set; }
190144

191-
public bool DateAddedUTCSpecified { get; set; }
192145

193146
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
194147
public DateTime? DateUpdated { get; set; }
195148

196-
public bool DateUpdatedSpecified { get; set; }
197149

198150
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
199151
public DateTime? DateUpdatedLocal { get; set; }
200152

201-
public bool DateUpdatedLocalSpecified { get; set; }
202153

203154
[JsonConverter(typeof(NetoDateNullConverter<DateTime>))]
204155
public DateTime? DateUpdatedUTC { get; set; }
205156

206-
public bool DateUpdatedUTCSpecified { get; set; }
207-
208157
public string UPC { get; set; }
209158

210159
public string UPC1 { get; set; }
@@ -243,36 +192,19 @@ public class Item
243192

244193
public decimal ItemHeight { get; set; }
245194

246-
public bool ItemHeightSpecified { get; set; }
247-
248195
public decimal ItemLength { get; set; }
249196

250-
public bool ItemLengthSpecified { get; set; }
251-
252197
public decimal ItemWidth { get; set; }
253198

254-
public bool ItemWidthSpecified { get; set; }
255-
256199
public decimal ShippingHeight { get; set; }
257-
258-
public bool ShippingHeightSpecified { get; set; }
259-
260200
public decimal ShippingLength { get; set; }
261201

262-
public bool ShippingLengthSpecified { get; set; }
263-
264202
public decimal ShippingWidth { get; set; }
265203

266-
public bool ShippingWidthSpecified { get; set; }
267-
268204
public decimal ShippingWeight { get; set; }
269205

270-
public bool ShippingWeightSpecified { get; set; }
271-
272206
public decimal CubicWeight { get; set; }
273207

274-
public bool CubicWeightSpecified { get; set; }
275-
276208
public string SupplierItemCode { get; set; }
277209

278210
public string SplitForWarehousePicking { get; set; }
@@ -285,12 +217,8 @@ public class Item
285217

286218
public bool EditableKitBundle { get; set; }
287219

288-
public bool EditableKitBundleSpecified { get; set; }
289-
290220
public bool RequiresPackaging { get; set; }
291221

292-
public bool RequiresPackagingSpecified { get; set; }
293-
294222
public string SEOPageTitle { get; set; }
295223

296224
public string SEOMetaKeywords { get; set; }
@@ -303,14 +231,10 @@ public class Item
303231

304232
public bool IsAsset { get; set; }
305233

306-
public bool IsAssetSpecified { get; set; }
307-
308234
public string WhenToRepeatOnStandingOrders { get; set; }
309235

310236
public bool SerialTracking { get; set; }
311237

312-
public bool SerialTrackingSpecified { get; set; }
313-
314238
public string Group { get; set; }
315239

316240
public string ShippingCategory { get; set; }
@@ -319,16 +243,12 @@ public class Item
319243

320244
public decimal MonthlySpendRequirement { get; set; }
321245

322-
public bool MonthlySpendRequirementSpecified { get; set; }
323-
324246
public string RestrictedToUserGroup { get; set; }
325247

326248
public string ItemURL { get; set; }
327249

328250
public bool AutomaticURL { get; set; }
329251

330-
public bool AutomaticURLSpecified { get; set; }
331-
332252
public string CommittedQuantity { get; set; }
333253

334254
public string Misc01 { get; set; }

NetoDotNET/Entities/Product/UpdatedItem.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
{
33
public class UpdatedItem
44
{
5-
public string InventoryID { get; set; }
65
public string SKU { get; set; }
76
}
87

0 commit comments

Comments
 (0)