using Newtonsoft.Json; namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models; /// /// Represents the shipping details /// public class Shipping { #region Properties /// /// Gets or sets the classification for the method of purchase fulfillment (e.g shipping, in-store pickup, etc). Either `type` or `options` may be present, but not both. /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } /// /// Gets or sets the array of shipping options that the payee or merchant offers to the payer to ship or pick up their items. /// [JsonProperty(PropertyName = "options")] public List Options { get; set; } /// /// Gets or sets the name of the person to whom to ship the items. /// [JsonProperty(PropertyName = "name")] public Name Name { get; set; } /// /// Gets or sets the address of the person to whom to ship the items. /// [JsonProperty(PropertyName = "address")] public Address Address { get; set; } /// /// Gets or sets the array of trackers for a transaction. /// [JsonProperty(PropertyName = "trackers")] public List Trackers { get; set; } #endregion }