-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #623 from arslanon/main
- Loading branch information
Showing
5 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Source/FikaAmazonAPI/ConstructFeed/Messages/EasyShipDocumentMessage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System.Collections.Generic; | ||
using System.Xml.Serialization; | ||
|
||
namespace FikaAmazonAPI.ConstructFeed.Messages | ||
{ | ||
/// <summary> | ||
/// https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#step-1-submit-an-easy-ship-feed-request | ||
/// </summary> | ||
public class EasyShipDocumentMessage : BaseMessage | ||
{ | ||
public EasyShipDocumentMessage() {} | ||
[XmlElement(ElementName = "AmazonOrderID")] | ||
public string AmazonOrderID { get; set; } = null!; | ||
[XmlElement(ElementName = "DocumentType")] | ||
public List<EasyShipDocumentType> DocumentTypes { get; set; } | ||
} | ||
|
||
public enum EasyShipDocumentType | ||
{ | ||
ShippingLabel, | ||
Invoice, | ||
Warranty, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters