Skip to content

Commit 4fe95cb

Browse files
author
R Hudylko
committed
Datetime fixes
1 parent eb4a4bd commit 4fe95cb

File tree

1 file changed

+7
-7
lines changed
  • Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Orders

1 file changed

+7
-7
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Orders/Order.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public Order() { }
262262
}
263263
else
264264
{
265-
this.PurchaseDate = purchaseDate;
265+
this.PurchaseDateTime = purchaseDate.Value;
266266
}
267267
// to ensure "lastUpdateDate" is required (not null)
268268
if (lastUpdateDate == null)
@@ -271,7 +271,7 @@ public Order() { }
271271
}
272272
else
273273
{
274-
this.LastUpdateDate = lastUpdateDate;
274+
this.LastUpdateDateTime = lastUpdateDate.Value;
275275
}
276276
// to ensure "orderStatus" is required (not null)
277277
if (orderStatus == null)
@@ -298,17 +298,17 @@ public Order() { }
298298
this.EasyShipShipmentStatus = easyShipShipmentStatus;
299299
this.CbaDisplayableShippingLabel = cbaDisplayableShippingLabel;
300300
this.OrderType = orderType;
301-
this.EarliestShipDate = earliestShipDate;
302-
this.LatestShipDate = latestShipDate;
303-
this.EarliestDeliveryDate = earliestDeliveryDate;
304-
this.LatestDeliveryDate = latestDeliveryDate;
301+
this.EarliestShipDateTime = earliestShipDate;
302+
this.LatestShipDateTime = latestShipDate;
303+
this.EarliestDeliveryDateTime = earliestDeliveryDate;
304+
this.LatestDeliveryDateTime = latestDeliveryDate;
305305
this.IsBusinessOrder = isBusinessOrder;
306306
this.IsPrime = isPrime;
307307
this.IsPremiumOrder = isPremiumOrder;
308308
this.IsGlobalExpressEnabled = isGlobalExpressEnabled;
309309
this.ReplacedOrderId = replacedOrderId;
310310
this.IsReplacementOrder = isReplacementOrder;
311-
this.PromiseResponseDueDate = promiseResponseDueDate;
311+
this.PromiseResponseDueDateTime = promiseResponseDueDate;
312312
this.IsEstimatedShipDateSet = isEstimatedShipDateSet;
313313
this.IsSoldByAB = isSoldByAB;
314314
this.IsIBA = isIBA;

0 commit comments

Comments
 (0)