namespace TradeManageNew.APIClients.FedexApi.Models.Ship
{
///
/// Specifies the payment details specifying the method and means of payment to FedEx for providing shipping services.
///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class Payment
{
///
/// Indicates who and how the shipment will be paid for.Required for Express and Ground.<br>Example: SENDER
///
[Newtonsoft.Json.JsonProperty("paymentType", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public PaymentType PaymentType { get; set; }
[Newtonsoft.Json.JsonProperty("payor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Payor Payor { get; set; }
}
}