Skip to content

Instantly share code, notes, and snippets.

@mgravell
Created March 30, 2017 06:12
Show Gist options
  • Save mgravell/1b91e0e5e6a47bdb3cff42e61281f6ce to your computer and use it in GitHub Desktop.
Save mgravell/1b91e0e5e6a47bdb3cff42e61281f6ce to your computer and use it in GitHub Desktop.
[XmlType(Namespace = "urn:ebay:apis:eBLBaseComponents")]
public class Order
{
public string OrderID { get; set; }
public string OrderStatus { get; set; }
}
[XmlType(Namespace = "urn:ebay:apis:eBLBaseComponents")]
public class OrderArray
{
public Order Order { get; set; }
}
[XmlRoot(Namespace = "urn:ebay:apis:eBLBaseComponents")]
public class GetOrdersResponse
{
public string Timestamp { get; set; }
public string Ack { get; set; }
public string Version { get; set; }
public string Build { get; set; }
public OrderArray OrderArray { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment