File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
AmazonSpApiSDK/Models/Orders Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 5
5
using System . IO ;
6
6
using System . Runtime . Serialization ;
7
7
using System . Text ;
8
+ using FikaAmazonAPI . Utils ;
8
9
9
10
namespace FikaAmazonAPI . AmazonSpApiSDK . Models . Orders
10
11
{
@@ -120,6 +121,7 @@ public PackageDetail() { }
120
121
/// The shipping date for the package. Must be in ISO-8601 date/time format.
121
122
/// </summary>
122
123
/// <value>The shipping date for the package. Must be in ISO-8601 date/time format.</value>
124
+ [ JsonConverter ( typeof ( Iso8601DateTimeConverter ) ) ]
123
125
[ DataMember ( Name = "shipDate" , EmitDefaultValue = false ) ]
124
126
public DateTime ? ShipDate { get ; set ; }
125
127
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public enum FeedType
108
108
POST_PRODUCT_RELATIONSHIP_DATA ,
109
109
POST_FLAT_FILE_INVLOADER_DATA ,
110
110
POST_FLAT_FILE_LISTINGS_DATA ,
111
- POST_FLAT_FILE_BOOKLOADER_DATA_ ,
111
+ POST_FLAT_FILE_BOOKLOADER_DATA ,
112
112
POST_FLAT_FILE_CONVERGENCE_LISTINGS_DATA ,
113
113
POST_FLAT_FILE_PRICEANDQUANTITYONLY_UPDATE_DATA ,
114
114
POST_UIEE_BOOKLOADER_DATA ,
Original file line number Diff line number Diff line change
1
+ namespace FikaAmazonAPI . Utils
2
+ {
3
+ class Iso8601DateTimeConverter : Newtonsoft . Json . Converters . IsoDateTimeConverter
4
+ {
5
+ public Iso8601DateTimeConverter ( )
6
+ {
7
+ base . DateTimeFormat = "yyyy-MM-ddTHH:mm:ssZ" ;
8
+ }
9
+ }
10
+ }
You can’t perform that action at this time.
0 commit comments