Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed DataMember names. Added "EXPIRED" placement option status #778

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public BoxInput() { }
/// The items and their quantity in the box. This must be empty if the box contentInformationSource is BARCODE_2D or MANUAL_PROCESS.
/// </summary>
/// <value>The items and their quantity in the box. This must be empty if the box contentInformationSource is BARCODE_2D or MANUAL_PROCESS.</value>
[DataMember(Name = "items ", EmitDefaultValue = false)]
[DataMember(Name = "items", EmitDefaultValue = false)]
public List<ItemInput> Items { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public BoxUpdateInput() { }
/// Indication of how box content is meant to be provided.
/// </summary>
/// <value>Indication of how box content is meant to be provided.</value>
[DataMember(Name = "contentInformationSource", EmitDefaultValue = false)]
[DataMember(Name="contentInformationSource", EmitDefaultValue = false)]
public BoxContentInformationSource ContentInformationSource { get; set; }

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

/// <summary>
/// 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.
/// </summary>
/// <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>
[DataMember(Name = "packageId ", EmitDefaultValue = false)]
[DataMember(Name="packageId", EmitDefaultValue = false)]
public string PackageId { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public ContentUpdatePreview() { }
/// Identifier of a content update preview.
/// </summary>
/// <value>Identifier of a content update preview.</value>
[DataMember(Name= "contentUpdatePreviewId ", EmitDefaultValue=false)]
[DataMember(Name="contentUpdatePreviewId", EmitDefaultValue=false)]
public string ContentUpdatePreviewId { get; set; }

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

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

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,35 +95,35 @@ public DeliveryWindowOption() { }
/// Identifies type of Delivery Window Availability. Values: AVAILABLE, CONGESTED
/// </summary>
/// <value>Identifies type of Delivery Window Availability. Values: AVAILABLE, CONGESTED</value>
[DataMember(Name = "availabilityType", EmitDefaultValue = false)]
[DataMember(Name="availabilityType", EmitDefaultValue = false)]
public AvailabilityType AvailabilityType { get; set; }

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

/// <summary>
/// The timestamp at which this delivery window option ends. This is based in ISO 8601 datetime with pattern yyyy-MM-ddTHH:mm:ss.sssZ.
/// </summary>
/// <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>
[DataMember(Name = "endDate ", EmitDefaultValue = false)]
[DataMember(Name="endDate", EmitDefaultValue = false)]
public DateTime? EndDate { get; set; }

/// <summary>
/// The timestamp at which this delivery window option starts. This is based in ISO 8601 datetime with pattern yyyy-MM-ddTHH:mm:ss.sssZ.
/// </summary>
/// <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>
[DataMember(Name = "startDate ", EmitDefaultValue = false)]
[DataMember(Name="startDate", EmitDefaultValue = false)]
public DateTime? StartDate { get; set; }

/// <summary>
/// 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.
/// </summary>
/// <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>
[DataMember(Name = "validUntil ", EmitDefaultValue = false)]
[DataMember(Name="validUntil", EmitDefaultValue = false)]
public DateTime? ValidUntil { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.FulfillmentInboundv20240320
{
/// <summary>
/// The status of a placement option. Can be: OFFERED or ACCEPTED.
/// The status of a placement option. Can be: OFFERED, ACCEPTED, or EXPIRED.
/// </summary>
/// <value>The status of a placement option. Can be: OFFERED or ACCEPTED.
/// <value>The status of a placement option. Can be: OFFERED, ACCEPTED, or EXPIRED.</value>

[JsonConverter(typeof(StringEnumConverter))]
public enum PlacementOptionStatus
Expand All @@ -26,7 +26,10 @@ public enum PlacementOptionStatus
OFFERED = 1,

[EnumMember(Value = "ACCEPTED")]
ACCEPTED = 2
ACCEPTED = 2,

[EnumMember(Value = "EXPIRED")]
EXPIRED = 3
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public RequestedUpdates() { }
/// A list of all items that will be present in the shipment after the update.
/// </summary>
/// <value>A list of all items that will be present in the shipment after the update.</value>
[DataMember(Name= "items ", EmitDefaultValue=false)]
[DataMember(Name= "items", EmitDefaultValue=false)]
public List<ItemInput> Items { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,28 +94,28 @@ public SelectedDeliveryWindow() { }
/// Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
/// </summary>
/// <value>Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.</value>
[DataMember(Name = "deliveryWindowOptionId ", EmitDefaultValue = false)]
[DataMember(Name = "deliveryWindowOptionId", EmitDefaultValue = false)]
public string DeliveryWindowOptionId { get; set; }

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

/// <summary>
/// The end timestamp of the window.
/// </summary>
/// <value>The end timestamp of the window.</value>
[DataMember(Name = "endDate ", EmitDefaultValue = false)]
[DataMember(Name = "endDate", EmitDefaultValue = false)]
public DateTime? EndDate { get; set; }

/// <summary>
/// The start timestamp of the window.
/// </summary>
/// <value>The start timestamp of the window.</value>
[DataMember(Name = "startDate ", EmitDefaultValue = false)]
[DataMember(Name = "startDate", EmitDefaultValue = false)]
public DateTime? StartDate { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public Shipment()
/// Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.
/// </summary>
/// <value>Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.</value>
[DataMember(Name= "freightInformation ", EmitDefaultValue=false)]
[DataMember(Name= "freightInformation", EmitDefaultValue=false)]
public FreightInformation FreightInformation { get; set; }

/// <summary>
Expand All @@ -177,7 +177,7 @@ public Shipment()
/// Selected delivery window attributes.
/// </summary>
/// <value>Selected delivery window attributes. </value>
[DataMember(Name = "selectedDeliveryWindow ", EmitDefaultValue = false)]
[DataMember(Name = "selectedDeliveryWindow", EmitDefaultValue = false)]
public SelectedDeliveryWindow SelectedDeliveryWindow { get; set; }

/// <summary>
Expand Down
Loading