using Newtonsoft.Json; namespace Common.Request.internationalshipment { public class CustomsClearance { /// /// 用途(具体参考每个快递公司) /// GIFT /// NOT_SOLD /// PERSONAL_EFFECTS /// REPAIR_AND_RETURN /// SAMPLE /// SOLD /// public string purpose { get; set; } /// /// 是否是文件(默认 true 文件) /// public bool isDocument { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } }