File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
NetoDotNET/Entities/Order Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
- using System ;
1
+ using NetoDotNET . Extensions ;
2
+ using Newtonsoft . Json ;
3
+ using System ;
2
4
using System . Collections . Generic ;
3
5
using System . Text ;
4
6
@@ -7,6 +9,8 @@ namespace NetoDotNET.Entities
7
9
public class AddedOrder
8
10
{
9
11
public string OrderID { get ; set ; }
10
- public StickyNotes [ ] StickyNotes { get ; set ; }
12
+
13
+ [ JsonConverter ( typeof ( SingleOrArrayConverter < StickyNotes > ) ) ]
14
+ public List < StickyNotes > StickyNotes { get ; set ; }
11
15
}
12
16
}
Original file line number Diff line number Diff line change @@ -157,7 +157,8 @@ public class Order
157
157
158
158
public OrderPayment [ ] OrderPayment { get ; set ; }
159
159
160
- public StickyNotes [ ] StickyNotes { get ; set ; }
160
+ [ JsonConverter ( typeof ( SingleOrArrayConverter < StickyNotes > ) ) ]
161
+ public List < StickyNotes > StickyNotes { get ; set ; }
161
162
}
162
163
163
164
public class OrderLine
You can’t perform that action at this time.
0 commit comments