/// <summary> /// ShipmentAdditionalReferenceCollectionAdditionalReference class constructor /// </summary> public ShipmentAdditionalReferenceCollectionAdditionalReference() { _type = new EntryType(); }
/// <summary> /// ShipmentEntryNumber class constructor /// </summary> public ShipmentEntryNumber() { _entryStatus = new EntryStatus(); _countryOfIssue = new Country(); _type = new EntryType(); }
/// <summary> /// EntryHeaderEntryNumber class constructor /// </summary> public EntryHeaderEntryNumber() { _type = new EntryType(); }
/// <summary> /// CommercialInfoCommercialInvoiceCommercialInvoiceLineEntryReference class constructor /// </summary> public CommercialInfoCommercialInvoiceCommercialInvoiceLineEntryReference() { _type = new EntryType(); }
public static bool LoadFromFile(string fileName, out EntryType obj) { Exception exception = null; return LoadFromFile(fileName, out obj, out exception); }
/// <summary> /// Deserializes xml markup from file into an EntryType object /// </summary> /// <param name="fileName">string xml file to load and deserialize</param> /// <param name="obj">Output EntryType object</param> /// <param name="exception">output Exception value if deserialize failed</param> /// <returns>true if this Serializer can deserialize the object; otherwise, false</returns> public static bool LoadFromFile(string fileName, out EntryType obj, out Exception exception) { exception = null; obj = default(EntryType); try { obj = LoadFromFile(fileName); return true; } catch (Exception ex) { exception = ex; return false; } }
public static bool Deserialize(string input, out EntryType obj) { Exception exception = null; return Deserialize(input, out obj, out exception); }
/// <summary> /// Deserializes workflow markup into an EntryType object /// </summary> /// <param name="input">string workflow markup to deserialize</param> /// <param name="obj">Output EntryType object</param> /// <param name="exception">output Exception value if deserialize failed</param> /// <returns>true if this Serializer can deserialize the object; otherwise, false</returns> public static bool Deserialize(string input, out EntryType obj, out Exception exception) { exception = null; obj = default(EntryType); try { obj = Deserialize(input); return true; } catch (Exception ex) { exception = ex; return false; } }
/// <summary> /// EntryHeader class constructor /// </summary> public EntryHeader() { _relatedEntryHeaderCollection = new List<EntryHeader>(); _entryNumberCollection = new List<EntryHeaderEntryNumber>(); _entryLineCollection = new List<EntryHeaderEntryLine>(); _entryHeaderChargeCollection = new List<EntryHeaderEntryHeaderCharge>(); _customsReferenceCollection = new List<CustomsReference>(); _addInfoGroupCollection = new List<AddInfoGroup>(); _addInfoCollection = new List<AddInfo>(); _messageStatus = new CodeDescriptionPair(); _entryStatus = new EntryStatus(); _type = new EntryType(); }