namespace TradeManageNew.APIClients.FedexAPI.Models.Ship
{
///
/// This is the shipment level COD detail.
///
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class ShipmentCODDetail
{
[Newtonsoft.Json.JsonProperty("addTransportationChargesDetail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public CODTransportationChargesDetail AddTransportationChargesDetail { get; set; }
///
/// Descriptive data of the Cash On Delivery along with their details of the physical location.
///
[Newtonsoft.Json.JsonProperty("codRecipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Party_1 CodRecipient { get; set; }
///
/// Specify the name of the person or company receiving the secured/unsecured funds payment<br>Example: remitToName
///
[Newtonsoft.Json.JsonProperty("remitToName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string RemitToName { get; set; }
///
/// Identifies the type of funds FedEx should collect upon shipment delivery<br>Example: CASH
///
[Newtonsoft.Json.JsonProperty("codCollectionType", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public ShipmentCODDetailCodCollectionType CodCollectionType { get; set; }
[Newtonsoft.Json.JsonProperty("financialInstitutionContactAndAddress", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ContactAndAddress FinancialInstitutionContactAndAddress { get; set; }
///
/// Indicate the COD collection amount.
///
[Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Money CodCollectionAmount { get; set; }
///
/// Indicates which type of reference information to include on the COD return shipping label.<br>Example: INVOICE
///
[Newtonsoft.Json.JsonProperty("returnReferenceIndicatorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public ShipmentCODDetailReturnReferenceIndicatorType? ReturnReferenceIndicatorType { get; set; }
///
/// Indicate the COD amount for this shipment.
///
[Newtonsoft.Json.JsonProperty("shipmentCodAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public Money ShipmentCodAmount { get; set; }
private System.Collections.Generic.IDictionary _additionalProperties;
[Newtonsoft.Json.JsonExtensionData]
public System.Collections.Generic.IDictionary AdditionalProperties
{
get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); }
set { _additionalProperties = value; }
}
}
}