|
|
|
|
namespace TradeManageNew.APIClients.FedexApi.Models.Ship
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is the shipment level COD detail.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Descriptive data of the Cash On Delivery along with their details of the physical location.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("codRecipient", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public Party_1 CodRecipient { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specify the name of the person or company receiving the secured/unsecured funds payment<br>Example: remitToName
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("remitToName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public string RemitToName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Identifies the type of funds FedEx should collect upon shipment delivery<br>Example: CASH
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Indicate the COD collection amount.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("codCollectionAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public Money CodCollectionAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Indicates which type of reference information to include on the COD return shipping label.<br>Example: INVOICE
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Indicate the COD amount for this shipment.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Newtonsoft.Json.JsonProperty("shipmentCodAmount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
|
|
|
|
|
public Money ShipmentCodAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
private System.Collections.Generic.IDictionary<string, object> _additionalProperties;
|
|
|
|
|
|
|
|
|
|
[Newtonsoft.Json.JsonExtensionData]
|
|
|
|
|
public System.Collections.Generic.IDictionary<string, object> AdditionalProperties
|
|
|
|
|
{
|
|
|
|
|
get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary<string, object>()); }
|
|
|
|
|
set { _additionalProperties = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|