using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace gehGassi.Klarna.OrderManagement { public class SelectedShippingOptionDto { /// /// The id of the selected shipping option as provided by the TMS /// /// The id of the selected shipping option as provided by the TMS [JsonProperty("id")] public string Id { get; set; } /// /// The display name of the selected shipping option /// /// The display name of the selected shipping option [JsonProperty("name")] public string Name { get; set; } /// /// The shipment_id provided by the TMS /// /// The shipment_id provided by the TMS [JsonProperty("tms_reference")] public string TmsReference { get; set; } /// /// The carrier for the selected shipping option /// /// The carrier for the selected shipping option [JsonProperty("carrier")] public string Carrier { get; set; } /// /// The type of the selected shipping option /// /// The type of the selected shipping option [JsonProperty("type")] public string Type { get; set; } /// /// The method of the selected shipping option /// /// The method of the selected shipping option [JsonProperty("method")] public string Method { get; set; } /// /// The price of the selected shipping option /// /// The price of the selected shipping option [JsonProperty("price")] public long? Price { get; set; } /// /// The tax amount of the selected shipping option /// /// The tax amount of the selected shipping option [JsonProperty("tax_amount")] public long? TaxAmount { get; set; } /// /// The tax rate of the selected shipping option /// /// The tax rate of the selected shipping option [JsonProperty("tax_rate")] public long? TaxRate { get; set; } /// /// The location of the selected shipping option /// /// The location of the selected shipping option [JsonProperty("location")] public Location Location { get; set; } /// /// The chosen timeslot of the selected shipping option /// /// The chosen timeslot of the selected shipping option [JsonProperty("timeslot")] public Timeslot Timeslot { get; set; } /// /// The chosen timeslot of the selected shipping option /// /// The chosen timeslot of the selected shipping option [JsonProperty("carrier_product")] public CarrierProduct CarrierProduct { get; set; } /// /// Array consisting of add-ons selected by the consumer, may be empty /// /// Array consisting of add-ons selected by the consumer, may be empty [JsonProperty("selected_addons")] public List SelectedAddons { get; set; } /// /// The class of the selected shipping option /// /// The class of the selected shipping option [JsonProperty("class")] public string Class { get; set; } } }