Skip to content

Commit 048a595

Browse files
authored
Merge pull request #778 from Baros6647/main
Fixed DataMember names. Added "EXPIRED" placement option status
2 parents 13add0a + 799d9f2 commit 048a595

File tree

8 files changed

+25
-22
lines changed

8 files changed

+25
-22
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/BoxInput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public BoxInput() { }
101101
/// The items and their quantity in the box. This must be empty if the box contentInformationSource is BARCODE_2D or MANUAL_PROCESS.
102102
/// </summary>
103103
/// <value>The items and their quantity in the box. This must be empty if the box contentInformationSource is BARCODE_2D or MANUAL_PROCESS.</value>
104-
[DataMember(Name = "items ", EmitDefaultValue = false)]
104+
[DataMember(Name = "items", EmitDefaultValue = false)]
105105
public List<ItemInput> Items { get; set; }
106106

107107
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/BoxUpdateInput.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public BoxUpdateInput() { }
9191
/// Indication of how box content is meant to be provided.
9292
/// </summary>
9393
/// <value>Indication of how box content is meant to be provided.</value>
94-
[DataMember(Name = "contentInformationSource", EmitDefaultValue = false)]
94+
[DataMember(Name="contentInformationSource", EmitDefaultValue = false)]
9595
public BoxContentInformationSource ContentInformationSource { get; set; }
9696

9797
/// <summary>
@@ -105,14 +105,14 @@ public BoxUpdateInput() { }
105105
/// The items and their quantity in the box. This must be empty if the box contentInformationSource is BARCODE_2D or MANUAL_PROCESS.
106106
/// </summary>
107107
/// <value>The items and their quantity in the box. This must be empty if the box contentInformationSource is BARCODE_2D or MANUAL_PROCESS.</value>
108-
[DataMember(Name = "items ", EmitDefaultValue = false)]
108+
[DataMember(Name="items", EmitDefaultValue = false)]
109109
public List<ItemInput> Items { get; set; }
110110

111111
/// <summary>
112112
/// Primary key to uniquely identify a Box Package. PackageId must be provided if the intent is to update an existing box. Adding a new box will not require providing this value. Any existing PackageIds not provided will be treated as to-be-removed.
113113
/// </summary>
114114
/// <value>Primary key to uniquely identify a Box Package. PackageId must be provided if the intent is to update an existing box. Adding a new box will not require providing this value. Any existing PackageIds not provided will be treated as to-be-removed.</value>
115-
[DataMember(Name = "packageId ", EmitDefaultValue = false)]
115+
[DataMember(Name="packageId", EmitDefaultValue = false)]
116116
public string PackageId { get; set; }
117117

118118
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/ContentUpdatePreview.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public ContentUpdatePreview() { }
8585
/// Identifier of a content update preview.
8686
/// </summary>
8787
/// <value>Identifier of a content update preview.</value>
88-
[DataMember(Name= "contentUpdatePreviewId ", EmitDefaultValue=false)]
88+
[DataMember(Name="contentUpdatePreviewId", EmitDefaultValue=false)]
8989
public string ContentUpdatePreviewId { get; set; }
9090

9191
/// <summary>
@@ -99,14 +99,14 @@ public ContentUpdatePreview() { }
9999
/// Objects that were included in the update request.
100100
/// </summary>
101101
/// <value>Objects that were included in the update request.</value>
102-
[DataMember(Name= "requestedUpdates", EmitDefaultValue=false)]
102+
[DataMember(Name="requestedUpdates", EmitDefaultValue=false)]
103103
public RequestedUpdates RequestedUpdates { get; set; }
104104

105105
/// <summary>
106106
/// Contains information pertaining to a transportation option and the related carrier.
107107
/// </summary>
108108
/// <value>Contains information pertaining to a transportation option and the related carrier.</value>
109-
[DataMember(Name= "transportationOption", EmitDefaultValue=false)]
109+
[DataMember(Name="transportationOption", EmitDefaultValue=false)]
110110
public TransportationOption TransportationOption { get; set; }
111111

112112
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/DeliveryWindowOption.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,35 +95,35 @@ public DeliveryWindowOption() { }
9595
/// Identifies type of Delivery Window Availability. Values: AVAILABLE, CONGESTED
9696
/// </summary>
9797
/// <value>Identifies type of Delivery Window Availability. Values: AVAILABLE, CONGESTED</value>
98-
[DataMember(Name = "availabilityType", EmitDefaultValue = false)]
98+
[DataMember(Name="availabilityType", EmitDefaultValue = false)]
9999
public AvailabilityType AvailabilityType { get; set; }
100100

101101
/// <summary>
102102
/// Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
103103
/// </summary>
104104
/// <value>Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.</value>
105-
[DataMember(Name = "deliveryWindowOptionId ", EmitDefaultValue = false)]
105+
[DataMember(Name="deliveryWindowOptionId", EmitDefaultValue = false)]
106106
public string DeliveryWindowOptionId { get; set; }
107107

108108
/// <summary>
109109
/// The timestamp at which this delivery window option ends. This is based in ISO 8601 datetime with pattern yyyy-MM-ddTHH:mm:ss.sssZ.
110110
/// </summary>
111111
/// <value>The timestamp at which this delivery window option ends. This is based in ISO 8601 datetime with pattern yyyy-MM-ddTHH:mm:ss.sssZ.</value>
112-
[DataMember(Name = "endDate ", EmitDefaultValue = false)]
112+
[DataMember(Name="endDate", EmitDefaultValue = false)]
113113
public DateTime? EndDate { get; set; }
114114

115115
/// <summary>
116116
/// The timestamp at which this delivery window option starts. This is based in ISO 8601 datetime with pattern yyyy-MM-ddTHH:mm:ss.sssZ.
117117
/// </summary>
118118
/// <value>The timestamp at which this delivery window option starts. This is based in ISO 8601 datetime with pattern yyyy-MM-ddTHH:mm:ss.sssZ.</value>
119-
[DataMember(Name = "startDate ", EmitDefaultValue = false)]
119+
[DataMember(Name="startDate", EmitDefaultValue = false)]
120120
public DateTime? StartDate { get; set; }
121121

122122
/// <summary>
123123
/// The timestamp at which this window delivery option becomes no longer valid. This is based in ISO 8601 datetime with pattern yyyy-MM-ddTHH:mm:ss.sssZ.
124124
/// </summary>
125125
/// <value>The timestamp at which this window delivery option becomes no longer valid. This is based in ISO 8601 datetime with pattern yyyy-MM-ddTHH:mm:ss.sssZ.</value>
126-
[DataMember(Name = "validUntil ", EmitDefaultValue = false)]
126+
[DataMember(Name="validUntil", EmitDefaultValue = false)]
127127
public DateTime? ValidUntil { get; set; }
128128

129129
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/PlacementOptionStatus.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.FulfillmentInboundv20240320
1616
{
1717
/// <summary>
18-
/// The status of a placement option. Can be: OFFERED or ACCEPTED.
18+
/// The status of a placement option. Can be: OFFERED, ACCEPTED, or EXPIRED.
1919
/// </summary>
20-
/// <value>The status of a placement option. Can be: OFFERED or ACCEPTED.
20+
/// <value>The status of a placement option. Can be: OFFERED, ACCEPTED, or EXPIRED.</value>
2121

2222
[JsonConverter(typeof(StringEnumConverter))]
2323
public enum PlacementOptionStatus
@@ -26,7 +26,10 @@ public enum PlacementOptionStatus
2626
OFFERED = 1,
2727

2828
[EnumMember(Value = "ACCEPTED")]
29-
ACCEPTED = 2
29+
ACCEPTED = 2,
30+
31+
[EnumMember(Value = "EXPIRED")]
32+
EXPIRED = 3
3033
}
3134

3235
}

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/RequestedUpdates.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public RequestedUpdates() { }
5151
/// A list of all items that will be present in the shipment after the update.
5252
/// </summary>
5353
/// <value>A list of all items that will be present in the shipment after the update.</value>
54-
[DataMember(Name= "items ", EmitDefaultValue=false)]
54+
[DataMember(Name= "items", EmitDefaultValue=false)]
5555
public List<ItemInput> Items { get; set; }
5656

5757
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/SelectedDeliveryWindow.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,28 +94,28 @@ public SelectedDeliveryWindow() { }
9494
/// Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
9595
/// </summary>
9696
/// <value>Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.</value>
97-
[DataMember(Name = "deliveryWindowOptionId ", EmitDefaultValue = false)]
97+
[DataMember(Name = "deliveryWindowOptionId", EmitDefaultValue = false)]
9898
public string DeliveryWindowOptionId { get; set; }
9999

100100
/// <summary>
101101
/// The timestamp at which this Window can no longer be edited.
102102
/// </summary>
103103
/// <value>The timestamp at which this Window can no longer be edited.</value>
104-
[DataMember(Name = "editableUntil ", EmitDefaultValue = false)]
104+
[DataMember(Name = "editableUntil", EmitDefaultValue = false)]
105105
public DateTime? EditableUntil { get; set; }
106106

107107
/// <summary>
108108
/// The end timestamp of the window.
109109
/// </summary>
110110
/// <value>The end timestamp of the window.</value>
111-
[DataMember(Name = "endDate ", EmitDefaultValue = false)]
111+
[DataMember(Name = "endDate", EmitDefaultValue = false)]
112112
public DateTime? EndDate { get; set; }
113113

114114
/// <summary>
115115
/// The start timestamp of the window.
116116
/// </summary>
117117
/// <value>The start timestamp of the window.</value>
118-
[DataMember(Name = "startDate ", EmitDefaultValue = false)]
118+
[DataMember(Name = "startDate", EmitDefaultValue = false)]
119119
public DateTime? StartDate { get; set; }
120120

121121
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInboundv20240320/Shipment.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public Shipment()
156156
/// Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.
157157
/// </summary>
158158
/// <value>Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.</value>
159-
[DataMember(Name= "freightInformation ", EmitDefaultValue=false)]
159+
[DataMember(Name= "freightInformation", EmitDefaultValue=false)]
160160
public FreightInformation FreightInformation { get; set; }
161161

162162
/// <summary>
@@ -177,7 +177,7 @@ public Shipment()
177177
/// Selected delivery window attributes.
178178
/// </summary>
179179
/// <value>Selected delivery window attributes. </value>
180-
[DataMember(Name = "selectedDeliveryWindow ", EmitDefaultValue = false)]
180+
[DataMember(Name = "selectedDeliveryWindow", EmitDefaultValue = false)]
181181
public SelectedDeliveryWindow SelectedDeliveryWindow { get; set; }
182182

183183
/// <summary>

0 commit comments

Comments
 (0)