You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
3.7 KiB
C#

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&lt;br&gt;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&lt;br&gt;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.&lt;br&gt;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; }
}
}
}