diff --git a/README.md b/README.md index 5419c6f..9db28c2 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,12 @@ private static void Main(string[] args) { var invoice = new UblTr.MainDoc.InvoiceType() { - UUID = new UblTr.Common.UUIDType() { Value = Guid.NewGuid().ToString() }, - UBLVersionID = new UblTr.Common.UBLVersionIDType() { Value = "2.1" }, - CustomizationID = new UblTr.Common.CustomizationIDType() { Value = "TR1.2" }, - ProfileID = new UblTr.Common.ProfileIDType() { Value = "TEMELFATURA" }, - ID = new UblTr.Common.IDType() { Value = "INV20200000000001" }, - CopyIndicator = new UblTr.Common.CopyIndicatorType() { Value = false } + UUID = Guid.NewGuid().ToString(), + UBLVersionID ="2.1", + CustomizationID = "TR1.2", + ProfileID ="TEMELFATURA", + ID = "INV20200000000001", + CopyIndicator = false }; XmlSerializer xmlSerializer = new XmlSerializer(typeof(UblTr.MainDoc.InvoiceType)); @@ -81,12 +81,12 @@ private static void Main(string[] args) { var despatch = new UblTr.MainDoc.DespatchAdviceType() { - UUID = new UblTr.Common.UUIDType() { Value = Guid.NewGuid().ToString() }, - UBLVersionID = new UblTr.Common.UBLVersionIDType() { Value = "2.1" }, - CustomizationID = new UblTr.Common.CustomizationIDType() { Value = "TR1.2" }, - ProfileID = new UblTr.Common.ProfileIDType() { Value = "TEMELIRSALIYE" }, - ID = new UblTr.Common.IDType() { Value = "IRS20200000000001" }, - CopyIndicator = new UblTr.Common.CopyIndicatorType() { Value = false } + UUID = Guid.NewGuid().ToString(), + UBLVersionID = "2.1", + CustomizationID = "TR1.2", + ProfileID = "TEMELIRSALIYE", + ID = "IRS20200000000001", + CopyIndicator = false }; XmlSerializer xmlSerializer = new XmlSerializer(typeof(UblTr.MainDoc.DespatchAdviceType)); diff --git a/Ubl-Tr/Common/CommonBasicComponents/AcceptedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/AcceptedIndicatorType.cs index f26c92c..853967e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AcceptedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AcceptedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AcceptedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AcceptedIndicatorType : IndicatorType { - } + public static implicit operator AcceptedIndicatorType(bool val) + { + return new AcceptedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AcceptedVariantsDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/AcceptedVariantsDescriptionType.cs index a03c0eb..e73161c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AcceptedVariantsDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AcceptedVariantsDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AcceptedVariantsDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AcceptedVariantsDescriptionType : TextType1 { - } + public static implicit operator AcceptedVariantsDescriptionType(string val) + { + return new AcceptedVariantsDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AccountFormatCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AccountFormatCodeType.cs index 3503386..a1a4d32 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AccountFormatCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AccountFormatCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AccountFormatCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AccountFormatCodeType : CodeType1 { - } + public static implicit operator AccountFormatCodeType(string val) + { + return new AccountFormatCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AccountIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/AccountIDType.cs index 4da18e5..e54e1d9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AccountIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AccountIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AccountID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AccountIDType : IdentifierType1 { - } + public static implicit operator AccountIDType(string val) + { + return new AccountIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AccountTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AccountTypeCodeType.cs index 7137bb5..d8c00cb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AccountTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AccountTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AccountTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AccountTypeCodeType : CodeType1 { - } + public static implicit operator AccountTypeCodeType(string val) + { + return new AccountTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AccountingCostCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AccountingCostCodeType.cs index a88aa6a..acda835 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AccountingCostCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AccountingCostCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AccountingCostCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AccountingCostCodeType : CodeType1 { - } + public static implicit operator AccountingCostCodeType(string val) + { + return new AccountingCostCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AccountingCostType.cs b/Ubl-Tr/Common/CommonBasicComponents/AccountingCostType.cs index a641da1..1dd1d2d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AccountingCostType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AccountingCostType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AccountingCost", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AccountingCostType : TextType1 { - } + public static implicit operator AccountingCostType(string val) + { + return new AccountingCostType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActionCodeType.cs index 94f0840..a4108e6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActionCodeType : CodeType1 { - } + public static implicit operator ActionCodeType(string val) + { + return new ActionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActivityTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActivityTypeCodeType.cs index 041ec18..c3235df 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActivityTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActivityTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActivityTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActivityTypeCodeType : CodeType1 { - } + public static implicit operator ActivityTypeCodeType(string val) + { + return new ActivityTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActivityTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActivityTypeType.cs index e411763..46ea07c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActivityTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActivityTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActivityType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActivityTypeType : TextType1 { - } + public static implicit operator ActivityTypeType(string val) + { + return new ActivityTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActualDeliveryDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActualDeliveryDateType.cs index eeb2a49..c44697a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActualDeliveryDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActualDeliveryDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActualDeliveryDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActualDeliveryDateType : DateType { - } + public static implicit operator ActualDeliveryDateType(System.DateTime val) + { + return new ActualDeliveryDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActualDeliveryTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActualDeliveryTimeType.cs index 777449e..86ea15f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActualDeliveryTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActualDeliveryTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActualDeliveryTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActualDeliveryTimeType : TimeType { - } + public static implicit operator ActualDeliveryTimeType(System.DateTime val) + { + return new ActualDeliveryTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActualDespatchDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActualDespatchDateType.cs index 33eb6ff..45d0076 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActualDespatchDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActualDespatchDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActualDespatchDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActualDespatchDateType : DateType { - } + public static implicit operator ActualDespatchDateType(System.DateTime val) + { + return new ActualDespatchDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActualDespatchTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActualDespatchTimeType.cs index ac39724..ef7f394 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActualDespatchTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActualDespatchTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActualDespatchTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActualDespatchTimeType : TimeType { - } + public static implicit operator ActualDespatchTimeType(System.DateTime val) + { + return new ActualDespatchTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActualPickupDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActualPickupDateType.cs index 99c2152..1c478d7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActualPickupDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActualPickupDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActualPickupDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActualPickupDateType : DateType { - } + public static implicit operator ActualPickupDateType(System.DateTime val) + { + return new ActualPickupDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActualPickupTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActualPickupTimeType.cs index 281599a..fdd76fc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActualPickupTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActualPickupTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActualPickupTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActualPickupTimeType : TimeType { - } + public static implicit operator ActualPickupTimeType(System.DateTime val) + { + return new ActualPickupTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ActualTemperatureReductionQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ActualTemperatureReductionQuantityType.cs index 91c4575..42a6f38 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ActualTemperatureReductionQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ActualTemperatureReductionQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ActualTemperatureReductionQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ActualTemperatureReductionQuantityType : QuantityType1 { - } + public static implicit operator ActualTemperatureReductionQuantityType(decimal val) + { + return new ActualTemperatureReductionQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AdValoremIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/AdValoremIndicatorType.cs index b468518..c00f21e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AdValoremIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AdValoremIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AdValoremIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AdValoremIndicatorType : IndicatorType { - } + public static implicit operator AdValoremIndicatorType(bool val) + { + return new AdValoremIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AdditionalAccountIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/AdditionalAccountIDType.cs index 15113b1..6b913fd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AdditionalAccountIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AdditionalAccountIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AdditionalAccountID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AdditionalAccountIDType : IdentifierType1 { - } + public static implicit operator AdditionalAccountIDType(string val) + { + return new AdditionalAccountIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AdditionalConditionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/AdditionalConditionsType.cs index 5f03017..4374e14 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AdditionalConditionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AdditionalConditionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AdditionalConditions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AdditionalConditionsType : TextType1 { - } + public static implicit operator AdditionalConditionsType(string val) + { + return new AdditionalConditionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AdditionalInformationType.cs b/Ubl-Tr/Common/CommonBasicComponents/AdditionalInformationType.cs index 6b99537..85be121 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AdditionalInformationType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AdditionalInformationType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AdditionalInformation", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AdditionalInformationType : TextType1 { - } + public static implicit operator AdditionalInformationType(string val) + { + return new AdditionalInformationType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AdditionalStreetNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/AdditionalStreetNameType.cs index 128db63..08d1064 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AdditionalStreetNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AdditionalStreetNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AdditionalStreetName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AdditionalStreetNameType : NameType { - } + public static implicit operator AdditionalStreetNameType(string val) + { + return new AdditionalStreetNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AddressFormatCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AddressFormatCodeType.cs index e73ec22..39c652f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AddressFormatCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AddressFormatCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AddressFormatCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AddressFormatCodeType : CodeType1 { - } + public static implicit operator AddressFormatCodeType(string val) + { + return new AddressFormatCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AddressTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AddressTypeCodeType.cs index c5336eb..ed9c81b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AddressTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AddressTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AddressTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AddressTypeCodeType : CodeType1 { - } + public static implicit operator AddressTypeCodeType(string val) + { + return new AddressTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AdjustmentReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AdjustmentReasonCodeType.cs index bf65975..9e6d133 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AdjustmentReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AdjustmentReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AdjustmentReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AdjustmentReasonCodeType : CodeType1 { - } + public static implicit operator AdjustmentReasonCodeType(string val) + { + return new AdjustmentReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AdmissionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AdmissionCodeType.cs index 10f11a5..acf7439 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AdmissionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AdmissionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AdmissionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AdmissionCodeType : CodeType1 { - } + public static implicit operator AdmissionCodeType(string val) + { + return new AdmissionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AdvertisementAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/AdvertisementAmountType.cs index ee46b8f..5fb8993 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AdvertisementAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AdvertisementAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AdvertisementAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AdvertisementAmountType : AmountType1 { - } + public static implicit operator AdvertisementAmountType(decimal val) + { + return new AdvertisementAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AgencyIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/AgencyIDType.cs index cf4bc28..e15b83c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AgencyIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AgencyIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AgencyID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AgencyIDType : IdentifierType1 { - } + public static implicit operator AgencyIDType(string val) + { + return new AgencyIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AgencyNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/AgencyNameType.cs index e4cfe63..7755ec0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AgencyNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AgencyNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AgencyName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AgencyNameType : TextType1 { - } + public static implicit operator AgencyNameType(string val) + { + return new AgencyNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AirFlowPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/AirFlowPercentType.cs index e60f5df..7f53b52 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AirFlowPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AirFlowPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AirFlowPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AirFlowPercentType : PercentType { - } + public static implicit operator AirFlowPercentType(decimal val) + { + return new AirFlowPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AircraftIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/AircraftIDType.cs index 0ad4222..43f2a8f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AircraftIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AircraftIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AircraftID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AircraftIDType : IdentifierType1 { - } + public static implicit operator AircraftIDType(string val) + { + return new AircraftIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AliasNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/AliasNameType.cs index be6472d..ceacdad 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AliasNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AliasNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AliasName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AliasNameType : NameType { - } + public static implicit operator AliasNameType(string val) + { + return new AliasNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AllowanceChargeReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AllowanceChargeReasonCodeType.cs index 526ddcc..cfa0b73 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AllowanceChargeReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AllowanceChargeReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AllowanceChargeReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AllowanceChargeReasonCodeType : CodeType1 { - } + public static implicit operator AllowanceChargeReasonCodeType(string val) + { + return new AllowanceChargeReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AllowanceChargeReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/AllowanceChargeReasonType.cs index e240540..f213131 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AllowanceChargeReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AllowanceChargeReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AllowanceChargeReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AllowanceChargeReasonType : TextType1 { - } + public static implicit operator AllowanceChargeReasonType(string val) + { + return new AllowanceChargeReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AllowanceTotalAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/AllowanceTotalAmountType.cs index 06e3390..40a30a3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AllowanceTotalAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AllowanceTotalAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AllowanceTotalAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AllowanceTotalAmountType : AmountType1 { - } + public static implicit operator AllowanceTotalAmountType(decimal val) + { + return new AllowanceTotalAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AltitudeMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/AltitudeMeasureType.cs index 443c988..6cfe0ca 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AltitudeMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AltitudeMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AltitudeMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AltitudeMeasureType : MeasureType1 { - } + public static implicit operator AltitudeMeasureType(decimal val) + { + return new AltitudeMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AmountRateType.cs b/Ubl-Tr/Common/CommonBasicComponents/AmountRateType.cs index f394b55..e8def66 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AmountRateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AmountRateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AmountRate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AmountRateType : RateType { - } + public static implicit operator AmountRateType(decimal val) + { + return new AmountRateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AmountType2.cs b/Ubl-Tr/Common/CommonBasicComponents/AmountType2.cs index be75fd8..f027741 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AmountType2.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AmountType2.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Amount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AmountType2 : AmountType1 { + public static implicit operator AmountType2(decimal val) + { + return new AmountType2 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AnimalFoodApprovedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/AnimalFoodApprovedIndicatorType.cs index 5405fa4..d7b981f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AnimalFoodApprovedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AnimalFoodApprovedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AnimalFoodApprovedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AnimalFoodApprovedIndicatorType : IndicatorType { - } + public static implicit operator AnimalFoodApprovedIndicatorType(bool val) + { + return new AnimalFoodApprovedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AnimalFoodIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/AnimalFoodIndicatorType.cs index c47bdc2..42af6f1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AnimalFoodIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AnimalFoodIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AnimalFoodIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AnimalFoodIndicatorType : IndicatorType { - } + public static implicit operator AnimalFoodIndicatorType(bool val) + { + return new AnimalFoodIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AnnualAverageAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/AnnualAverageAmountType.cs index 642304f..2457575 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AnnualAverageAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AnnualAverageAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AnnualAverageAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AnnualAverageAmountType : AmountType1 { - } + public static implicit operator AnnualAverageAmountType(decimal val) + { + return new AnnualAverageAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ApplicationStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ApplicationStatusCodeType.cs index f0713e5..5127368 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ApplicationStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ApplicationStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ApplicationStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ApplicationStatusCodeType : CodeType1 { - } + public static implicit operator ApplicationStatusCodeType(string val) + { + return new ApplicationStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ApprovalDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ApprovalDateType.cs index 967cfd1..5fdb54b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ApprovalDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ApprovalDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ApprovalDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ApprovalDateType : DateType { - } + public static implicit operator ApprovalDateType(System.DateTime val) + { + return new ApprovalDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ApprovalStatusType.cs b/Ubl-Tr/Common/CommonBasicComponents/ApprovalStatusType.cs index 216835b..4132d1e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ApprovalStatusType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ApprovalStatusType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ApprovalStatus", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ApprovalStatusType : TextType1 { - } + public static implicit operator ApprovalStatusType(string val) + { + return new ApprovalStatusType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AttributeIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/AttributeIDType.cs index 5bc9cf0..b5b256f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AttributeIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AttributeIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AttributeID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AttributeIDType : IdentifierType1 { - } + public static implicit operator AttributeIDType(string val) + { + return new AttributeIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AuctionConstraintIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/AuctionConstraintIndicatorType.cs index 8bdfa0b..12e3d3b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AuctionConstraintIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AuctionConstraintIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AuctionConstraintIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AuctionConstraintIndicatorType : IndicatorType { - } + public static implicit operator AuctionConstraintIndicatorType(bool val) + { + return new AuctionConstraintIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AuctionURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/AuctionURIType.cs index ccd197b..2716052 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AuctionURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AuctionURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AuctionURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AuctionURIType : IdentifierType1 { - } + public static implicit operator AuctionURIType(string val) + { + return new AuctionURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AvailabilityDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/AvailabilityDateType.cs index 0f11cc0..aedf27a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AvailabilityDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AvailabilityDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AvailabilityDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AvailabilityDateType : DateType { - } + public static implicit operator AvailabilityDateType(System.DateTime val) + { + return new AvailabilityDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AvailabilityStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AvailabilityStatusCodeType.cs index cbf7e08..ba2f009 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AvailabilityStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AvailabilityStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AvailabilityStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AvailabilityStatusCodeType : CodeType1 { - } + public static implicit operator AvailabilityStatusCodeType(string val) + { + return new AvailabilityStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AverageAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/AverageAmountType.cs index f7196e9..336f77a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AverageAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AverageAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AverageAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AverageAmountType : AmountType1 { - } + public static implicit operator AverageAmountType(decimal val) + { + return new AverageAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AverageSubsequentContractAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/AverageSubsequentContractAmountType.cs index 966d027..387704c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AverageSubsequentContractAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AverageSubsequentContractAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AverageSubsequentContractAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AverageSubsequentContractAmountType : AmountType1 { - } + public static implicit operator AverageSubsequentContractAmountType(decimal val) + { + return new AverageSubsequentContractAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AwardDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/AwardDateType.cs index 3643c28..b0d63c2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AwardDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AwardDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AwardDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AwardDateType : DateType { - } + public static implicit operator AwardDateType(System.DateTime val) + { + return new AwardDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AwardTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AwardTimeType.cs index 3afa8ca..8d49c5b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AwardTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AwardTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AwardTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AwardTimeType : TimeType { - } + public static implicit operator AwardTimeType(System.DateTime val) + { + return new AwardTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionDescriptionType.cs index 31e580a..f8e9d1a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AwardingCriterionDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AwardingCriterionDescriptionType : TextType1 { - } + public static implicit operator AwardingCriterionDescriptionType(string val) + { + return new AwardingCriterionDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionIDType.cs index 8506e12..d0bd2a3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AwardingCriterionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AwardingCriterionIDType : IdentifierType1 { - } + public static implicit operator AwardingCriterionIDType(string val) + { + return new AwardingCriterionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionTypeCodeType.cs index e0460fb..f5d5fde 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AwardingCriterionTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AwardingCriterionTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AwardingCriterionTypeCodeType : CodeType1 { - } + public static implicit operator AwardingCriterionTypeCodeType(string val) + { + return new AwardingCriterionTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/AwardingMethodTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/AwardingMethodTypeCodeType.cs index 63bf5b4..5b3e0d5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/AwardingMethodTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/AwardingMethodTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("AwardingMethodTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class AwardingMethodTypeCodeType : CodeType1 { - } + public static implicit operator AwardingMethodTypeCodeType(string val) + { + return new AwardingMethodTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BackOrderAllowedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/BackOrderAllowedIndicatorType.cs index 97ccc02..f989f58 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BackOrderAllowedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BackOrderAllowedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BackOrderAllowedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BackOrderAllowedIndicatorType : IndicatorType { - } + public static implicit operator BackOrderAllowedIndicatorType(bool val) + { + return new BackOrderAllowedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BackorderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/BackorderQuantityType.cs index cc6ddd0..724d7f2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BackorderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BackorderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BackorderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BackorderQuantityType : QuantityType1 { - } + public static implicit operator BackorderQuantityType(decimal val) + { + return new BackorderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BackorderReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/BackorderReasonType.cs index fa9822f..972f851 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BackorderReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BackorderReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BackorderReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BackorderReasonType : TextType1 { - } + public static implicit operator BackorderReasonType(string val) + { + return new BackorderReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BalanceAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/BalanceAmountType.cs index 8f8e2cf..2fcbeff 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BalanceAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BalanceAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BalanceAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BalanceAmountType : AmountType1 { - } + public static implicit operator BalanceAmountType(decimal val) + { + return new BalanceAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BalanceBroughtForwardIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/BalanceBroughtForwardIndicatorType.cs index 4565c63..1a95c4d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BalanceBroughtForwardIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BalanceBroughtForwardIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BalanceBroughtForwardIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BalanceBroughtForwardIndicatorType : IndicatorType { - } + public static implicit operator BalanceBroughtForwardIndicatorType(bool val) + { + return new BalanceBroughtForwardIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BarcodeSymbologyIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/BarcodeSymbologyIDType.cs index 5a4ad0b..6b7a254 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BarcodeSymbologyIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BarcodeSymbologyIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BarcodeSymbologyID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BarcodeSymbologyIDType : IdentifierType1 { - } + public static implicit operator BarcodeSymbologyIDType(string val) + { + return new BarcodeSymbologyIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BaseAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/BaseAmountType.cs index d5b1120..380d5dc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BaseAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BaseAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BaseAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BaseAmountType : AmountType1 { - } + public static implicit operator BaseAmountType(decimal val) + { + return new BaseAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BaseQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/BaseQuantityType.cs index 057a0e2..7c28bcb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BaseQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BaseQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BaseQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BaseQuantityType : QuantityType1 { - } + public static implicit operator BaseQuantityType(decimal val) + { + return new BaseQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BaseUnitMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/BaseUnitMeasureType.cs index 65c4f49..58e2788 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BaseUnitMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BaseUnitMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BaseUnitMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BaseUnitMeasureType : MeasureType1 { - } + public static implicit operator BaseUnitMeasureType(decimal val) + { + return new BaseUnitMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BasedOnConsensusIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/BasedOnConsensusIndicatorType.cs index 87e346c..9b22dc1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BasedOnConsensusIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BasedOnConsensusIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BasedOnConsensusIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BasedOnConsensusIndicatorType : IndicatorType { - } + public static implicit operator BasedOnConsensusIndicatorType(bool val) + { + return new BasedOnConsensusIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BasicConsumedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/BasicConsumedQuantityType.cs index 9876fe4..b8bfc94 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BasicConsumedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BasicConsumedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BasicConsumedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BasicConsumedQuantityType : QuantityType1 { - } + public static implicit operator BasicConsumedQuantityType(decimal val) + { + return new BasicConsumedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BatchQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/BatchQuantityType.cs index 2598669..7070115 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BatchQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BatchQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BatchQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BatchQuantityType : QuantityType1 { - } + public static implicit operator BatchQuantityType(decimal val) + { + return new BatchQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BestBeforeDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/BestBeforeDateType.cs index ed864e4..e274772 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BestBeforeDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BestBeforeDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BestBeforeDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BestBeforeDateType : DateType { - } + public static implicit operator BestBeforeDateType(System.DateTime val) + { + return new BestBeforeDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BindingOnBuyerIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/BindingOnBuyerIndicatorType.cs index 4c0044b..aa11709 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BindingOnBuyerIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BindingOnBuyerIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BindingOnBuyerIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BindingOnBuyerIndicatorType : IndicatorType { - } + public static implicit operator BindingOnBuyerIndicatorType(bool val) + { + return new BindingOnBuyerIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BirthDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/BirthDateType.cs index f645d9e..6915bf5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BirthDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BirthDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BirthDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BirthDateType : DateType { - } + public static implicit operator BirthDateType(System.DateTime val) + { + return new BirthDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BirthplaceNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/BirthplaceNameType.cs index 17f7aa3..6998664 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BirthplaceNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BirthplaceNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BirthplaceName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BirthplaceNameType : TextType1 { - } + public static implicit operator BirthplaceNameType(string val) + { + return new BirthplaceNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BlockNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/BlockNameType.cs index 18d482e..a19a76a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BlockNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BlockNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BlockName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BlockNameType : NameType { - } + public static implicit operator BlockNameType(string val) + { + return new BlockNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BrandNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/BrandNameType.cs index f6d6bb7..e831a87 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BrandNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BrandNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BrandName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BrandNameType : NameType { - } + public static implicit operator BrandNameType(string val) + { + return new BrandNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BrokerAssignedIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/BrokerAssignedIDType.cs index 0b8b384..ec269f6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BrokerAssignedIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BrokerAssignedIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BrokerAssignedID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BrokerAssignedIDType : IdentifierType1 { - } + public static implicit operator BrokerAssignedIDType(string val) + { + return new BrokerAssignedIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BudgetYearNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/BudgetYearNumericType.cs index 873d861..9eb6af8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BudgetYearNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BudgetYearNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BudgetYearNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BudgetYearNumericType : NumericType1 { - } + public static implicit operator BudgetYearNumericType(decimal val) + { + return new BudgetYearNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BuildingNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/BuildingNameType.cs index 8fe5eda..8568859 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BuildingNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BuildingNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BuildingName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BuildingNameType : NameType { - } + public static implicit operator BuildingNameType(string val) + { + return new BuildingNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BuildingNumberType.cs b/Ubl-Tr/Common/CommonBasicComponents/BuildingNumberType.cs index cfadeb3..225cc81 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BuildingNumberType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BuildingNumberType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BuildingNumber", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BuildingNumberType : TextType1 { - } + public static implicit operator BuildingNumberType(string val) + { + return new BuildingNumberType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BulkCargoIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/BulkCargoIndicatorType.cs index b50ea2a..5a39923 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BulkCargoIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BulkCargoIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BulkCargoIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BulkCargoIndicatorType : IndicatorType { - } + public static implicit operator BulkCargoIndicatorType(bool val) + { + return new BulkCargoIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BusinessClassificationEvidenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/BusinessClassificationEvidenceIDType.cs index 37c8bca..7d684c2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BusinessClassificationEvidenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BusinessClassificationEvidenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BusinessClassificationEvidenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BusinessClassificationEvidenceIDType : IdentifierType1 { - } + public static implicit operator BusinessClassificationEvidenceIDType(string val) + { + return new BusinessClassificationEvidenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BusinessIdentityEvidenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/BusinessIdentityEvidenceIDType.cs index 7bf3bc6..5c6f9b5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BusinessIdentityEvidenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BusinessIdentityEvidenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BusinessIdentityEvidenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BusinessIdentityEvidenceIDType : IdentifierType1 { - } + public static implicit operator BusinessIdentityEvidenceIDType(string val) + { + return new BusinessIdentityEvidenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BuyerEventIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/BuyerEventIDType.cs index 78c2431..7c523b0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BuyerEventIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BuyerEventIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BuyerEventID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BuyerEventIDType : IdentifierType1 { - } + public static implicit operator BuyerEventIDType(string val) + { + return new BuyerEventIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BuyerProfileURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/BuyerProfileURIType.cs index 0f93a2e..5bcb134 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BuyerProfileURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BuyerProfileURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BuyerProfileURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BuyerProfileURIType : IdentifierType1 { - } + public static implicit operator BuyerProfileURIType(string val) + { + return new BuyerProfileURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/BuyerReferenceType.cs b/Ubl-Tr/Common/CommonBasicComponents/BuyerReferenceType.cs index 22ae4a5..aed7c86 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/BuyerReferenceType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/BuyerReferenceType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("BuyerReference", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class BuyerReferenceType : TextType1 { - } + public static implicit operator BuyerReferenceType(string val) + { + return new BuyerReferenceType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CV2IDType.cs b/Ubl-Tr/Common/CommonBasicComponents/CV2IDType.cs index 9d00457..2397507 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CV2IDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CV2IDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CV2ID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CV2IDType : IdentifierType1 { + public static implicit operator CV2IDType(string val) + { + return new CV2IDType + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CalculationExpressionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CalculationExpressionCodeType.cs index 76e3671..ac3300e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CalculationExpressionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CalculationExpressionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CalculationExpressionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CalculationExpressionCodeType : CodeType1 { - } + public static implicit operator CalculationExpressionCodeType(string val) + { + return new CalculationExpressionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CalculationExpressionType.cs b/Ubl-Tr/Common/CommonBasicComponents/CalculationExpressionType.cs index 66112b9..6c83831 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CalculationExpressionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CalculationExpressionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CalculationExpression", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CalculationExpressionType : TextType1 { - } + public static implicit operator CalculationExpressionType(string val) + { + return new CalculationExpressionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CalculationMethodCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CalculationMethodCodeType.cs index 16f8a77..29e2dcf 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CalculationMethodCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CalculationMethodCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CalculationMethodCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CalculationMethodCodeType : CodeType1 { - } + public static implicit operator CalculationMethodCodeType(string val) + { + return new CalculationMethodCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CalculationRateType.cs b/Ubl-Tr/Common/CommonBasicComponents/CalculationRateType.cs index 2a8cc58..686b1b7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CalculationRateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CalculationRateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CalculationRate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CalculationRateType : RateType { - } + public static implicit operator CalculationRateType(decimal val) + { + return new CalculationRateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CalculationSequenceNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/CalculationSequenceNumericType.cs index f5ea19f..37b26ae 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CalculationSequenceNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CalculationSequenceNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CalculationSequenceNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CalculationSequenceNumericType : NumericType1 { - } + public static implicit operator CalculationSequenceNumericType(decimal val) + { + return new CalculationSequenceNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CallBaseAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/CallBaseAmountType.cs index 19d7a57..a3e4283 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CallBaseAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CallBaseAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CallBaseAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CallBaseAmountType : AmountType1 { - } + public static implicit operator CallBaseAmountType(decimal val) + { + return new CallBaseAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CallDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/CallDateType.cs index 74da142..733c569 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CallDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CallDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CallDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CallDateType : DateType { - } + public static implicit operator CallDateType(System.DateTime val) + { + return new CallDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CallExtensionAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/CallExtensionAmountType.cs index abd88d6..dc80454 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CallExtensionAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CallExtensionAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CallExtensionAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CallExtensionAmountType : AmountType1 { - } + public static implicit operator CallExtensionAmountType(decimal val) + { + return new CallExtensionAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CallTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CallTimeType.cs index ef38d63..0795bda 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CallTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CallTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CallTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CallTimeType : TimeType { - } + public static implicit operator CallTimeType(System.DateTime val) + { + return new CallTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CancellationNoteType.cs b/Ubl-Tr/Common/CommonBasicComponents/CancellationNoteType.cs index 98f4296..420e8e1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CancellationNoteType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CancellationNoteType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CancellationNote", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CancellationNoteType : TextType1 { - } + public static implicit operator CancellationNoteType(string val) + { + return new CancellationNoteType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CandidateReductionConstraintIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/CandidateReductionConstraintIndicatorType.cs index d00778a..9474c98 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CandidateReductionConstraintIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CandidateReductionConstraintIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CandidateReductionConstraintIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CandidateReductionConstraintIndicatorType : IndicatorType { - } + public static implicit operator CandidateReductionConstraintIndicatorType(bool val) + { + return new CandidateReductionConstraintIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CandidateStatementType.cs b/Ubl-Tr/Common/CommonBasicComponents/CandidateStatementType.cs index 777640a..bb945ee 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CandidateStatementType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CandidateStatementType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CandidateStatement", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CandidateStatementType : TextType1 { - } + public static implicit operator CandidateStatementType(string val) + { + return new CandidateStatementType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CanonicalizationMethodType.cs b/Ubl-Tr/Common/CommonBasicComponents/CanonicalizationMethodType.cs index 1c7aa86..85d5c12 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CanonicalizationMethodType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CanonicalizationMethodType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CanonicalizationMethod", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CanonicalizationMethodType : TextType1 { - } + public static implicit operator CanonicalizationMethodType(string val) + { + return new CanonicalizationMethodType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CapabilityTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CapabilityTypeCodeType.cs index da4dea2..d498642 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CapabilityTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CapabilityTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CapabilityTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CapabilityTypeCodeType : CodeType1 { - } + public static implicit operator CapabilityTypeCodeType(string val) + { + return new CapabilityTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CardChipCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CardChipCodeType.cs index a8998db..ac1cf89 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CardChipCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CardChipCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CardChipCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CardChipCodeType : CodeType1 { - } + public static implicit operator CardChipCodeType(string val) + { + return new CardChipCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CardTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CardTypeCodeType.cs index e38871d..1cde64f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CardTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CardTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CardTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CardTypeCodeType : CodeType1 { - } + public static implicit operator CardTypeCodeType(string val) + { + return new CardTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CargoTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CargoTypeCodeType.cs index f009dcb..d7404ea 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CargoTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CargoTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CargoTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CargoTypeCodeType : CodeType1 { - } + public static implicit operator CargoTypeCodeType(string val) + { + return new CargoTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CarrierAssignedIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/CarrierAssignedIDType.cs index 07259bb..c65ac51 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CarrierAssignedIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CarrierAssignedIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CarrierAssignedID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CarrierAssignedIDType : IdentifierType1 { - } + public static implicit operator CarrierAssignedIDType(string val) + { + return new CarrierAssignedIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CarrierServiceInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/CarrierServiceInstructionsType.cs index 25ddd53..f254678 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CarrierServiceInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CarrierServiceInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CarrierServiceInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CarrierServiceInstructionsType : TextType1 { - } + public static implicit operator CarrierServiceInstructionsType(string val) + { + return new CarrierServiceInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CatalogueIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/CatalogueIndicatorType.cs index fbc5367..03de0f7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CatalogueIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CatalogueIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CatalogueIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CatalogueIndicatorType : IndicatorType { - } + public static implicit operator CatalogueIndicatorType(bool val) + { + return new CatalogueIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CategoryNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/CategoryNameType.cs index 5f84420..4b0b861 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CategoryNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CategoryNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CategoryName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CategoryNameType : NameType { - } + public static implicit operator CategoryNameType(string val) + { + return new CategoryNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CertificateTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CertificateTypeCodeType.cs index 8cb8837..d9c9a77 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CertificateTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CertificateTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CertificateTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CertificateTypeCodeType : CodeType1 { - } + public static implicit operator CertificateTypeCodeType(string val) + { + return new CertificateTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CertificateTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CertificateTypeType.cs index 2f37589..5c1cdae 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CertificateTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CertificateTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CertificateType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CertificateTypeType : TextType1 { - } + public static implicit operator CertificateTypeType(string val) + { + return new CertificateTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChangeConditionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChangeConditionsType.cs index 4373a2b..bfeccb5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChangeConditionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChangeConditionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ChangeConditions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChangeConditionsType : TextType1 { - } + public static implicit operator ChangeConditionsType(string val) + { + return new ChangeConditionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChannelCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChannelCodeType.cs index 594abcb..9a6cc64 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChannelCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChannelCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ChannelCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChannelCodeType : CodeType1 { - } + public static implicit operator ChannelCodeType(string val) + { + return new ChannelCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChannelType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChannelType.cs index 45be3f9..d1d18a3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChannelType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChannelType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Channel", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChannelType : TextType1 { - } + public static implicit operator ChannelType(string val) + { + return new ChannelType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CharacterSetCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CharacterSetCodeType.cs index 377c802..422b91d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CharacterSetCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CharacterSetCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CharacterSetCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CharacterSetCodeType : CodeType1 { - } + public static implicit operator CharacterSetCodeType(string val) + { + return new CharacterSetCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CharacteristicsType.cs b/Ubl-Tr/Common/CommonBasicComponents/CharacteristicsType.cs index e0ac3a2..fad6f82 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CharacteristicsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CharacteristicsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Characteristics", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CharacteristicsType : TextType1 { - } + public static implicit operator CharacteristicsType(string val) + { + return new CharacteristicsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChargeIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChargeIndicatorType.cs index a3896fd..82c763b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChargeIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChargeIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ChargeIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChargeIndicatorType : IndicatorType { - } + public static implicit operator ChargeIndicatorType(bool val) + { + return new ChargeIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChargeTotalAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChargeTotalAmountType.cs index 97cbdc4..3526e70 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChargeTotalAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChargeTotalAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ChargeTotalAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChargeTotalAmountType : AmountType1 { - } + public static implicit operator ChargeTotalAmountType(decimal val) + { + return new ChargeTotalAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChargeableQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChargeableQuantityType.cs index f637e58..43cea76 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChargeableQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChargeableQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ChargeableQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChargeableQuantityType : QuantityType1 { - } + public static implicit operator ChargeableQuantityType(decimal val) + { + return new ChargeableQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChargeableWeightMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChargeableWeightMeasureType.cs index 213e028..6b2463d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChargeableWeightMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChargeableWeightMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ChargeableWeightMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChargeableWeightMeasureType : MeasureType1 { - } + public static implicit operator ChargeableWeightMeasureType(decimal val) + { + return new ChargeableWeightMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChildConsignmentQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChildConsignmentQuantityType.cs index 1bd0ade..fee5381 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChildConsignmentQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChildConsignmentQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ChildConsignmentQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChildConsignmentQuantityType : QuantityType1 { - } + public static implicit operator ChildConsignmentQuantityType(decimal val) + { + return new ChildConsignmentQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ChipApplicationIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ChipApplicationIDType.cs index ceb668c..89936b7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ChipApplicationIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ChipApplicationIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ChipApplicationID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ChipApplicationIDType : IdentifierType1 { - } + public static implicit operator ChipApplicationIDType(string val) + { + return new ChipApplicationIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CityNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/CityNameType.cs index 25a445d..c96c4bc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CityNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CityNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CityName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CityNameType : NameType { - } + public static implicit operator CityNameType(string val) + { + return new CityNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CitySubdivisionNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/CitySubdivisionNameType.cs index 79d8480..88502c6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CitySubdivisionNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CitySubdivisionNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CitySubdivisionName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CitySubdivisionNameType : NameType { - } + public static implicit operator CitySubdivisionNameType(string val) + { + return new CitySubdivisionNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CodeValueType.cs b/Ubl-Tr/Common/CommonBasicComponents/CodeValueType.cs index b3550d4..a796c05 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CodeValueType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CodeValueType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CodeValue", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CodeValueType : TextType1 { - } + public static implicit operator CodeValueType(string val) + { + return new CodeValueType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CollaborationPriorityCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CollaborationPriorityCodeType.cs index 4040237..29398a7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CollaborationPriorityCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CollaborationPriorityCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CollaborationPriorityCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CollaborationPriorityCodeType : CodeType1 { - } + public static implicit operator CollaborationPriorityCodeType(string val) + { + return new CollaborationPriorityCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CommentType.cs b/Ubl-Tr/Common/CommonBasicComponents/CommentType.cs index 1531c43..5f9076f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CommentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CommentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Comment", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CommentType : TextType1 { - } + public static implicit operator CommentType(string val) + { + return new CommentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CommodityCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CommodityCodeType.cs index 2edeb83..e53d060 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CommodityCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CommodityCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CommodityCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CommodityCodeType : CodeType1 { - } + public static implicit operator CommodityCodeType(string val) + { + return new CommodityCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CompanyIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/CompanyIDType.cs index 5fe5f0f..623d426 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CompanyIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CompanyIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CompanyID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CompanyIDType : IdentifierType1 { - } + public static implicit operator CompanyIDType(string val) + { + return new CompanyIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CompanyLegalFormCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CompanyLegalFormCodeType.cs index 2f5073f..5e97857 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CompanyLegalFormCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CompanyLegalFormCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CompanyLegalFormCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CompanyLegalFormCodeType : CodeType1 { - } + public static implicit operator CompanyLegalFormCodeType(string val) + { + return new CompanyLegalFormCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CompanyLegalFormType.cs b/Ubl-Tr/Common/CommonBasicComponents/CompanyLegalFormType.cs index f8a2c81..86d8656 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CompanyLegalFormType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CompanyLegalFormType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CompanyLegalForm", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CompanyLegalFormType : TextType1 { - } + public static implicit operator CompanyLegalFormType(string val) + { + return new CompanyLegalFormType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CompanyLiquidationStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CompanyLiquidationStatusCodeType.cs index 9e23ffc..f71b762 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CompanyLiquidationStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CompanyLiquidationStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CompanyLiquidationStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CompanyLiquidationStatusCodeType : CodeType1 { - } + public static implicit operator CompanyLiquidationStatusCodeType(string val) + { + return new CompanyLiquidationStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ComparedValueMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/ComparedValueMeasureType.cs index 7c6abdc..4ff3ed1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ComparedValueMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ComparedValueMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ComparedValueMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ComparedValueMeasureType : MeasureType1 { - } + public static implicit operator ComparedValueMeasureType(decimal val) + { + return new ComparedValueMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ComparisonDataCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ComparisonDataCodeType.cs index 9cb22b8..4a72f65 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ComparisonDataCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ComparisonDataCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ComparisonDataCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ComparisonDataCodeType : CodeType1 { - } + public static implicit operator ComparisonDataCodeType(string val) + { + return new ComparisonDataCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ComparisonDataSourceCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ComparisonDataSourceCodeType.cs index 95b39d7..eb0e130 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ComparisonDataSourceCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ComparisonDataSourceCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ComparisonDataSourceCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ComparisonDataSourceCodeType : CodeType1 { - } + public static implicit operator ComparisonDataSourceCodeType(string val) + { + return new ComparisonDataSourceCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ComparisonForecastIssueDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ComparisonForecastIssueDateType.cs index 67cddbd..ef87df4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ComparisonForecastIssueDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ComparisonForecastIssueDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ComparisonForecastIssueDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ComparisonForecastIssueDateType : DateType { - } + public static implicit operator ComparisonForecastIssueDateType(System.DateTime val) + { + return new ComparisonForecastIssueDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ComparisonForecastIssueTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ComparisonForecastIssueTimeType.cs index 42994ae..46d57bb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ComparisonForecastIssueTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ComparisonForecastIssueTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ComparisonForecastIssueTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ComparisonForecastIssueTimeType : TimeType { - } + public static implicit operator ComparisonForecastIssueTimeType(System.DateTime val) + { + return new ComparisonForecastIssueTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CompletionIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/CompletionIndicatorType.cs index 452b75e..bc96787 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CompletionIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CompletionIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CompletionIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CompletionIndicatorType : IndicatorType { - } + public static implicit operator CompletionIndicatorType(bool val) + { + return new CompletionIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConditionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConditionCodeType.cs index 3edadfe..577e126 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConditionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConditionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConditionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConditionCodeType : CodeType1 { - } + public static implicit operator ConditionCodeType(string val) + { + return new ConditionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConditionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConditionType.cs index a5068ae..3a43d75 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConditionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConditionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Condition", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConditionType : TextType1 { - } + public static implicit operator ConditionType(string val) + { + return new ConditionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConditionsDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConditionsDescriptionType.cs index f341ce2..e0f5cff 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConditionsDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConditionsDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConditionsDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConditionsDescriptionType : TextType1 { - } + public static implicit operator ConditionsDescriptionType(string val) + { + return new ConditionsDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConditionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConditionsType.cs index 7c9e03a..4f539f3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConditionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConditionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Conditions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConditionsType : TextType1 { - } + public static implicit operator ConditionsType(string val) + { + return new ConditionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsigneeAssignedIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsigneeAssignedIDType.cs index 109a2bc..daa2b65 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsigneeAssignedIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsigneeAssignedIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsigneeAssignedID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsigneeAssignedIDType : IdentifierType1 { - } + public static implicit operator ConsigneeAssignedIDType(string val) + { + return new ConsigneeAssignedIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsignmentQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsignmentQuantityType.cs index d2a8620..0b028ae 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsignmentQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsignmentQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsignmentQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsignmentQuantityType : QuantityType1 { - } + public static implicit operator ConsignmentQuantityType(decimal val) + { + return new ConsignmentQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsignorAssignedIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsignorAssignedIDType.cs index 2d84068..2de0639 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsignorAssignedIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsignorAssignedIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsignorAssignedID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsignorAssignedIDType : IdentifierType1 { - } + public static implicit operator ConsignorAssignedIDType(string val) + { + return new ConsignorAssignedIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsolidatableIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsolidatableIndicatorType.cs index b812fe4..260a1d1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsolidatableIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsolidatableIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsolidatableIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsolidatableIndicatorType : IndicatorType { - } + public static implicit operator ConsolidatableIndicatorType(bool val) + { + return new ConsolidatableIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConstitutionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConstitutionCodeType.cs index 1ba5eac..ae58b9e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConstitutionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConstitutionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConstitutionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConstitutionCodeType : CodeType1 { - } + public static implicit operator ConstitutionCodeType(string val) + { + return new ConstitutionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumerIncentiveTacticTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumerIncentiveTacticTypeCodeType.cs index 71574f8..5f33fb3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumerIncentiveTacticTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumerIncentiveTacticTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumerIncentiveTacticTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumerIncentiveTacticTypeCodeType : CodeType1 { - } + public static implicit operator ConsumerIncentiveTacticTypeCodeType(string val) + { + return new ConsumerIncentiveTacticTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumerUnitQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumerUnitQuantityType.cs index b48a330..7a92622 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumerUnitQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumerUnitQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumerUnitQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumerUnitQuantityType : QuantityType1 { - } + public static implicit operator ConsumerUnitQuantityType(decimal val) + { + return new ConsumerUnitQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumersEnergyLevelCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumersEnergyLevelCodeType.cs index 38fc561..91d7fcf 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumersEnergyLevelCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumersEnergyLevelCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumersEnergyLevelCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumersEnergyLevelCodeType : CodeType1 { - } + public static implicit operator ConsumersEnergyLevelCodeType(string val) + { + return new ConsumersEnergyLevelCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumersEnergyLevelType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumersEnergyLevelType.cs index 80df177..3145455 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumersEnergyLevelType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumersEnergyLevelType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumersEnergyLevel", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumersEnergyLevelType : TextType1 { - } + public static implicit operator ConsumersEnergyLevelType(string val) + { + return new ConsumersEnergyLevelType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionEnergyQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionEnergyQuantityType.cs index 5a0e548..75255a8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionEnergyQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionEnergyQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumptionEnergyQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumptionEnergyQuantityType : QuantityType1 { - } + public static implicit operator ConsumptionEnergyQuantityType(decimal val) + { + return new ConsumptionEnergyQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionIDType.cs index 734ca37..65ad6e2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumptionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumptionIDType : IdentifierType1 { - } + public static implicit operator ConsumptionIDType(string val) + { + return new ConsumptionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionLevelCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionLevelCodeType.cs index 56fb483..eee1425 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionLevelCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionLevelCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumptionLevelCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumptionLevelCodeType : CodeType1 { - } + public static implicit operator ConsumptionLevelCodeType(string val) + { + return new ConsumptionLevelCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionLevelType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionLevelType.cs index 203dc53..50be87b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionLevelType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionLevelType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumptionLevel", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumptionLevelType : TextType1 { - } + public static implicit operator ConsumptionLevelType(string val) + { + return new ConsumptionLevelType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionReportIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionReportIDType.cs index 20305fc..2fc9f7c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionReportIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionReportIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumptionReportID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumptionReportIDType : IdentifierType1 { - } + public static implicit operator ConsumptionReportIDType(string val) + { + return new ConsumptionReportIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionTypeCodeType.cs index 78510b4..616500d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumptionTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumptionTypeCodeType : CodeType1 { - } + public static implicit operator ConsumptionTypeCodeType(string val) + { + return new ConsumptionTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionTypeType.cs index 77d1d30..35deb33 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumptionType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumptionTypeType : TextType1 { - } + public static implicit operator ConsumptionTypeType(string val) + { + return new ConsumptionTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionWaterQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionWaterQuantityType.cs index d40c8b2..cce93df 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ConsumptionWaterQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ConsumptionWaterQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ConsumptionWaterQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ConsumptionWaterQuantityType : QuantityType1 { - } + public static implicit operator ConsumptionWaterQuantityType(decimal val) + { + return new ConsumptionWaterQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContainerizedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContainerizedIndicatorType.cs index 243aee4..64572ea 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContainerizedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContainerizedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContainerizedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContainerizedIndicatorType : IndicatorType { - } + public static implicit operator ContainerizedIndicatorType(bool val) + { + return new ContainerizedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContentType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContentType.cs index dda6401..3ddfe90 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Content", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContentType : TextType1 { - } + public static implicit operator ContentType(string val) + { + return new ContentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContentUnitQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContentUnitQuantityType.cs index bdf296d..8140639 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContentUnitQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContentUnitQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContentUnitQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContentUnitQuantityType : QuantityType1 { - } + public static implicit operator ContentUnitQuantityType(decimal val) + { + return new ContentUnitQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContractFolderIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContractFolderIDType.cs index ad4bdf8..abdec8c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContractFolderIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContractFolderIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContractFolderID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContractFolderIDType : IdentifierType1 { - } + public static implicit operator ContractFolderIDType(string val) + { + return new ContractFolderIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContractNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContractNameType.cs index 958bc57..e15b2da 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContractNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContractNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContractName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContractNameType : TextType1 { - } + public static implicit operator ContractNameType(string val) + { + return new ContractNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContractSubdivisionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContractSubdivisionType.cs index 6a71a78..f982779 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContractSubdivisionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContractSubdivisionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContractSubdivision", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContractSubdivisionType : TextType1 { - } + public static implicit operator ContractSubdivisionType(string val) + { + return new ContractSubdivisionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContractTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContractTypeCodeType.cs index ddb252e..517be7e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContractTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContractTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContractTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContractTypeCodeType : CodeType1 { - } + public static implicit operator ContractTypeCodeType(string val) + { + return new ContractTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContractTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContractTypeType.cs index 6d6b8cb..6bb9ab6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContractTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContractTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContractType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContractTypeType : TextType1 { - } + public static implicit operator ContractTypeType(string val) + { + return new ContractTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContractedCarrierAssignedIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContractedCarrierAssignedIDType.cs index 5379a78..c5a49a0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContractedCarrierAssignedIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContractedCarrierAssignedIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContractedCarrierAssignedID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContractedCarrierAssignedIDType : IdentifierType1 { - } + public static implicit operator ContractedCarrierAssignedIDType(string val) + { + return new ContractedCarrierAssignedIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ContractingSystemCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ContractingSystemCodeType.cs index 4681e81..5d1eec5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ContractingSystemCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ContractingSystemCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ContractingSystemCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ContractingSystemCodeType : CodeType1 { - } + public static implicit operator ContractingSystemCodeType(string val) + { + return new ContractingSystemCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CoordinateSystemCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CoordinateSystemCodeType.cs index 1484fe8..3dc2981 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CoordinateSystemCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CoordinateSystemCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CoordinateSystemCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CoordinateSystemCodeType : CodeType1 { - } + public static implicit operator CoordinateSystemCodeType(string val) + { + return new CoordinateSystemCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CopyIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/CopyIndicatorType.cs index f473634..ac5d966 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CopyIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CopyIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CopyIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CopyIndicatorType : IndicatorType { - } + public static implicit operator CopyIndicatorType(bool val) + { + return new CopyIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CorporateRegistrationTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CorporateRegistrationTypeCodeType.cs index 7b71b1f..bb98345 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CorporateRegistrationTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CorporateRegistrationTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CorporateRegistrationTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CorporateRegistrationTypeCodeType : CodeType1 { - } + public static implicit operator CorporateRegistrationTypeCodeType(string val) + { + return new CorporateRegistrationTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CorporateStockAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/CorporateStockAmountType.cs index 455119d..7cfbbf0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CorporateStockAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CorporateStockAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CorporateStockAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CorporateStockAmountType : AmountType1 { - } + public static implicit operator CorporateStockAmountType(decimal val) + { + return new CorporateStockAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CorrectionAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/CorrectionAmountType.cs index 1566f1a..baf3adb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CorrectionAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CorrectionAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CorrectionAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CorrectionAmountType : AmountType1 { - } + public static implicit operator CorrectionAmountType(decimal val) + { + return new CorrectionAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CorrectionTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CorrectionTypeCodeType.cs index 1a5bbb4..9307a1a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CorrectionTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CorrectionTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CorrectionTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CorrectionTypeCodeType : CodeType1 { - } + public static implicit operator CorrectionTypeCodeType(string val) + { + return new CorrectionTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CorrectionTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CorrectionTypeType.cs index 366b512..7a47afd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CorrectionTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CorrectionTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CorrectionType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CorrectionTypeType : TextType1 { - } + public static implicit operator CorrectionTypeType(string val) + { + return new CorrectionTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CorrectionUnitAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/CorrectionUnitAmountType.cs index e1cf4f0..4531b8b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CorrectionUnitAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CorrectionUnitAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CorrectionUnitAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CorrectionUnitAmountType : AmountType1 { - } + public static implicit operator CorrectionUnitAmountType(decimal val) + { + return new CorrectionUnitAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CountrySubentityCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CountrySubentityCodeType.cs index 37e4666..62fdc63 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CountrySubentityCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CountrySubentityCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CountrySubentityCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CountrySubentityCodeType : CodeType1 { - } + public static implicit operator CountrySubentityCodeType(string val) + { + return new CountrySubentityCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CountrySubentityType.cs b/Ubl-Tr/Common/CommonBasicComponents/CountrySubentityType.cs index 522a34d..9b7425a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CountrySubentityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CountrySubentityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CountrySubentity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CountrySubentityType : TextType1 { - } + public static implicit operator CountrySubentityType(string val) + { + return new CountrySubentityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CreditLineAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/CreditLineAmountType.cs index ad0e410..d494a98 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CreditLineAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CreditLineAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CreditLineAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CreditLineAmountType : AmountType1 { - } + public static implicit operator CreditLineAmountType(decimal val) + { + return new CreditLineAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CreditNoteTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CreditNoteTypeCodeType.cs index 43ed35a..46b81af 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CreditNoteTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CreditNoteTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CreditNoteTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CreditNoteTypeCodeType : CodeType1 { - } + public static implicit operator CreditNoteTypeCodeType(string val) + { + return new CreditNoteTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CreditedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/CreditedQuantityType.cs index fe5f50f..3de69d8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CreditedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CreditedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CreditedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CreditedQuantityType : QuantityType1 { - } + public static implicit operator CreditedQuantityType(decimal val) + { + return new CreditedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CrewQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/CrewQuantityType.cs index 313a958..fabdbc5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CrewQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CrewQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CrewQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CrewQuantityType : QuantityType1 { - } + public static implicit operator CrewQuantityType(decimal val) + { + return new CrewQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CurrencyCodeType.cs index d0a2f85..7086deb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CurrencyCodeType : CodeType1 { - } + public static implicit operator CurrencyCodeType(string val) + { + return new CurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CurrentChargeTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CurrentChargeTypeCodeType.cs index 1c515ee..4566ace 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CurrentChargeTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CurrentChargeTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CurrentChargeTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CurrentChargeTypeCodeType : CodeType1 { - } + public static implicit operator CurrentChargeTypeCodeType(string val) + { + return new CurrentChargeTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CurrentChargeTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CurrentChargeTypeType.cs index c48fb2c..47b57b1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CurrentChargeTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CurrentChargeTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CurrentChargeType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CurrentChargeTypeType : TextType1 { - } + public static implicit operator CurrentChargeTypeType(string val) + { + return new CurrentChargeTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CustomerAssignedAccountIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/CustomerAssignedAccountIDType.cs index d17397c..128b7ae 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CustomerAssignedAccountIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CustomerAssignedAccountIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CustomerAssignedAccountID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CustomerAssignedAccountIDType : IdentifierType1 { - } + public static implicit operator CustomerAssignedAccountIDType(string val) + { + return new CustomerAssignedAccountIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CustomerReferenceType.cs b/Ubl-Tr/Common/CommonBasicComponents/CustomerReferenceType.cs index 07aba44..2fc51d7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CustomerReferenceType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CustomerReferenceType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CustomerReference", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CustomerReferenceType : TextType1 { - } + public static implicit operator CustomerReferenceType(string val) + { + return new CustomerReferenceType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CustomizationIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/CustomizationIDType.cs index cb08aba..246933a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CustomizationIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CustomizationIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CustomizationID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CustomizationIDType : IdentifierType1 { - } + public static implicit operator CustomizationIDType(string val) + { + return new CustomizationIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CustomsClearanceServiceInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/CustomsClearanceServiceInstructionsType.cs index af7d1a3..180fdb7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CustomsClearanceServiceInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CustomsClearanceServiceInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CustomsClearanceServiceInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CustomsClearanceServiceInstructionsType : TextType1 { - } + public static implicit operator CustomsClearanceServiceInstructionsType(string val) + { + return new CustomsClearanceServiceInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CustomsImportClassifiedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/CustomsImportClassifiedIndicatorType.cs index 13b606b..b47fc1c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CustomsImportClassifiedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CustomsImportClassifiedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CustomsImportClassifiedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CustomsImportClassifiedIndicatorType : IndicatorType { - } + public static implicit operator CustomsImportClassifiedIndicatorType(bool val) + { + return new CustomsImportClassifiedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CustomsStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/CustomsStatusCodeType.cs index 9841178..0de4af4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CustomsStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CustomsStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CustomsStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CustomsStatusCodeType : CodeType1 { - } + public static implicit operator CustomsStatusCodeType(string val) + { + return new CustomsStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/CustomsTariffQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/CustomsTariffQuantityType.cs index f5c56e2..f524272 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/CustomsTariffQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/CustomsTariffQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("CustomsTariffQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class CustomsTariffQuantityType : QuantityType1 { - } + public static implicit operator CustomsTariffQuantityType(decimal val) + { + return new CustomsTariffQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DamageRemarksType.cs b/Ubl-Tr/Common/CommonBasicComponents/DamageRemarksType.cs index 7e492ce..69af5f5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DamageRemarksType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DamageRemarksType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DamageRemarks", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DamageRemarksType : TextType1 { - } + public static implicit operator DamageRemarksType(string val) + { + return new DamageRemarksType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DangerousGoodsApprovedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/DangerousGoodsApprovedIndicatorType.cs index 5fbb034..c49fcff 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DangerousGoodsApprovedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DangerousGoodsApprovedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DangerousGoodsApprovedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DangerousGoodsApprovedIndicatorType : IndicatorType { - } + public static implicit operator DangerousGoodsApprovedIndicatorType(bool val) + { + return new DangerousGoodsApprovedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DataSendingCapabilityType.cs b/Ubl-Tr/Common/CommonBasicComponents/DataSendingCapabilityType.cs index 9569f4f..e0bbf29 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DataSendingCapabilityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DataSendingCapabilityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DataSendingCapability", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DataSendingCapabilityType : TextType1 { - } + public static implicit operator DataSendingCapabilityType(string val) + { + return new DataSendingCapabilityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DataSourceCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DataSourceCodeType.cs index 895b273..8fc324a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DataSourceCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DataSourceCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DataSourceCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DataSourceCodeType : CodeType1 { - } + public static implicit operator DataSourceCodeType(string val) + { + return new DataSourceCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DateType1.cs b/Ubl-Tr/Common/CommonBasicComponents/DateType1.cs index adf2831..74bb484 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DateType1.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DateType1.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Date", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DateType1 : DateType { + public static implicit operator DateType1(System.DateTime val) + { + return new DateType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DebitLineAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/DebitLineAmountType.cs index c983ff6..72d89c1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DebitLineAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DebitLineAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DebitLineAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DebitLineAmountType : AmountType1 { - } + public static implicit operator DebitLineAmountType(decimal val) + { + return new DebitLineAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DebitedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/DebitedQuantityType.cs index 8c54e52..8014176 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DebitedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DebitedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DebitedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DebitedQuantityType : QuantityType1 { - } + public static implicit operator DebitedQuantityType(decimal val) + { + return new DebitedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DeclarationTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DeclarationTypeCodeType.cs index 5474c23..73c30e3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DeclarationTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DeclarationTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DeclarationTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DeclarationTypeCodeType : CodeType1 { - } + public static implicit operator DeclarationTypeCodeType(string val) + { + return new DeclarationTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DeclaredCarriageValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/DeclaredCarriageValueAmountType.cs index d7635bb..0444cd6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DeclaredCarriageValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DeclaredCarriageValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DeclaredCarriageValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DeclaredCarriageValueAmountType : AmountType1 { - } + public static implicit operator DeclaredCarriageValueAmountType(decimal val) + { + return new DeclaredCarriageValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DeclaredCustomsValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/DeclaredCustomsValueAmountType.cs index da58a5a..c005058 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DeclaredCustomsValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DeclaredCustomsValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DeclaredCustomsValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DeclaredCustomsValueAmountType : AmountType1 { - } + public static implicit operator DeclaredCustomsValueAmountType(decimal val) + { + return new DeclaredCustomsValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DeclaredForCarriageValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/DeclaredForCarriageValueAmountType.cs index aa5f36c..f05d46e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DeclaredForCarriageValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DeclaredForCarriageValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DeclaredForCarriageValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DeclaredForCarriageValueAmountType : AmountType1 { - } + public static implicit operator DeclaredForCarriageValueAmountType(decimal val) + { + return new DeclaredForCarriageValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DeclaredStatisticsValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/DeclaredStatisticsValueAmountType.cs index 74828b2..a752f6e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DeclaredStatisticsValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DeclaredStatisticsValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DeclaredStatisticsValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DeclaredStatisticsValueAmountType : AmountType1 { - } + public static implicit operator DeclaredStatisticsValueAmountType(decimal val) + { + return new DeclaredStatisticsValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DeliveredQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/DeliveredQuantityType.cs index cda2041..969c2c8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DeliveredQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DeliveredQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DeliveredQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DeliveredQuantityType : QuantityType1 { - } + public static implicit operator DeliveredQuantityType(decimal val) + { + return new DeliveredQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DeliveryInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/DeliveryInstructionsType.cs index c6ba033..d5dfb7e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DeliveryInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DeliveryInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DeliveryInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DeliveryInstructionsType : TextType1 { - } + public static implicit operator DeliveryInstructionsType(string val) + { + return new DeliveryInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DemurrageInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/DemurrageInstructionsType.cs index ecfa342..af25fe7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DemurrageInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DemurrageInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DemurrageInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DemurrageInstructionsType : TextType1 { - } + public static implicit operator DemurrageInstructionsType(string val) + { + return new DemurrageInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DepartmentType.cs b/Ubl-Tr/Common/CommonBasicComponents/DepartmentType.cs index c7c6085..8888e18 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DepartmentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DepartmentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Department", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DepartmentType : TextType1 { - } + public static implicit operator DepartmentType(string val) + { + return new DepartmentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DescriptionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DescriptionCodeType.cs index 690be8a..d905fa6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DescriptionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DescriptionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DescriptionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DescriptionCodeType : CodeType1 { - } + public static implicit operator DescriptionCodeType(string val) + { + return new DescriptionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/DescriptionType.cs index e523186..a476929 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Description", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DescriptionType : TextType1 { - } + public static implicit operator DescriptionType(string val) + { + return new DescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DespatchAdviceTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DespatchAdviceTypeCodeType.cs index 7bbeb35..683f530 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DespatchAdviceTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DespatchAdviceTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DespatchAdviceTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DespatchAdviceTypeCodeType : CodeType1 { - } + public static implicit operator DespatchAdviceTypeCodeType(string val) + { + return new DespatchAdviceTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DifferenceTemperatureReductionQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/DifferenceTemperatureReductionQuantityType.cs index 2d26d4d..d6c4e0e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DifferenceTemperatureReductionQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DifferenceTemperatureReductionQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DifferenceTemperatureReductionQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DifferenceTemperatureReductionQuantityType : QuantityType1 { - } + public static implicit operator DifferenceTemperatureReductionQuantityType(decimal val) + { + return new DifferenceTemperatureReductionQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DirectionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DirectionCodeType.cs index d853c89..a91c098 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DirectionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DirectionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DirectionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DirectionCodeType : CodeType1 { - } + public static implicit operator DirectionCodeType(string val) + { + return new DirectionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DisplayTacticTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DisplayTacticTypeCodeType.cs index 5032b58..c8ec660 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DisplayTacticTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DisplayTacticTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DisplayTacticTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DisplayTacticTypeCodeType : CodeType1 { - } + public static implicit operator DisplayTacticTypeCodeType(string val) + { + return new DisplayTacticTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DispositionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DispositionCodeType.cs index cba8b39..df825fe 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DispositionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DispositionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DispositionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DispositionCodeType : CodeType1 { - } + public static implicit operator DispositionCodeType(string val) + { + return new DispositionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DistrictType.cs b/Ubl-Tr/Common/CommonBasicComponents/DistrictType.cs index 40e8a62..2f1c1b7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DistrictType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DistrictType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("District", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DistrictType : TextType1 { - } + public static implicit operator DistrictType(string val) + { + return new DistrictType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentCurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentCurrencyCodeType.cs index e388338..fa168a5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentCurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentCurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentCurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentCurrencyCodeType : CodeType1 { - } + public static implicit operator DocumentCurrencyCodeType(string val) + { + return new DocumentCurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentDescriptionType.cs index 83dba44..06ff993 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentDescriptionType : TextType1 { - } + public static implicit operator DocumentDescriptionType(string val) + { + return new DocumentDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentHashType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentHashType.cs index adf9f82..6d59ab5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentHashType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentHashType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentHash", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentHashType : TextType1 { - } + public static implicit operator DocumentHashType(string val) + { + return new DocumentHashType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentIDType.cs index b012616..8448d22 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentIDType : IdentifierType1 { - } + public static implicit operator DocumentIDType(string val) + { + return new DocumentIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusCodeType.cs index d962c84..1c81934 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentStatusCodeType : CodeType1 { - } + public static implicit operator DocumentStatusCodeType(string val) + { + return new DocumentStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusReasonCodeType.cs index b8aa282..da95801 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentStatusReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentStatusReasonCodeType : CodeType1 { - } + public static implicit operator DocumentStatusReasonCodeType(string val) + { + return new DocumentStatusReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusReasonDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusReasonDescriptionType.cs index d435ec0..ee2cbb3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusReasonDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentStatusReasonDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentStatusReasonDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentStatusReasonDescriptionType : TextType1 { - } + public static implicit operator DocumentStatusReasonDescriptionType(string val) + { + return new DocumentStatusReasonDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentTypeCodeType.cs index 10047cc..98697b7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentTypeCodeType : CodeType1 { - } + public static implicit operator DocumentTypeCodeType(string val) + { + return new DocumentTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentTypeType.cs index 617c510..a0b7163 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentTypeType : TextType1 { - } + public static implicit operator DocumentTypeType(string val) + { + return new DocumentTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DocumentationFeeAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/DocumentationFeeAmountType.cs index e84744d..490f44b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DocumentationFeeAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DocumentationFeeAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DocumentationFeeAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DocumentationFeeAmountType : AmountType1 { - } + public static implicit operator DocumentationFeeAmountType(decimal val) + { + return new DocumentationFeeAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DueDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/DueDateType.cs index 61462f2..3e475de 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DueDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DueDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DueDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DueDateType : DateType { - } + public static implicit operator DueDateType(System.DateTime val) + { + return new DueDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DurationMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/DurationMeasureType.cs index 409ec51..1f231ba 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DurationMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DurationMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DurationMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DurationMeasureType : MeasureType1 { - } + public static implicit operator DurationMeasureType(decimal val) + { + return new DurationMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DutyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/DutyCodeType.cs index 8247d19..9e7efa5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DutyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DutyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("DutyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DutyCodeType : CodeType1 { - } + public static implicit operator DutyCodeType(string val) + { + return new DutyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/DutyType.cs b/Ubl-Tr/Common/CommonBasicComponents/DutyType.cs index 03a4fac..1f44ce9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/DutyType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/DutyType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Duty", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class DutyType : TextType1 { - } + public static implicit operator DutyType(string val) + { + return new DutyType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EarliestPickupDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/EarliestPickupDateType.cs index 6398310..9ed53e7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EarliestPickupDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EarliestPickupDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EarliestPickupDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EarliestPickupDateType : DateType { - } + public static implicit operator EarliestPickupDateType(System.DateTime val) + { + return new EarliestPickupDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EarliestPickupTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EarliestPickupTimeType.cs index cd86d58..0c2dc61 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EarliestPickupTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EarliestPickupTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EarliestPickupTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EarliestPickupTimeType : TimeType { - } + public static implicit operator EarliestPickupTimeType(System.DateTime val) + { + return new EarliestPickupTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EconomicOperatorRegistryURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/EconomicOperatorRegistryURIType.cs index 65c59e1..ffcf315 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EconomicOperatorRegistryURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EconomicOperatorRegistryURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EconomicOperatorRegistryURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EconomicOperatorRegistryURIType : IdentifierType1 { - } + public static implicit operator EconomicOperatorRegistryURIType(string val) + { + return new EconomicOperatorRegistryURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EffectiveDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/EffectiveDateType.cs index 043cd12..2e04d0d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EffectiveDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EffectiveDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EffectiveDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EffectiveDateType : DateType { - } + public static implicit operator EffectiveDateType(System.DateTime val) + { + return new EffectiveDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EffectiveTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EffectiveTimeType.cs index ad2e0f8..8d0d6e5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EffectiveTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EffectiveTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EffectiveTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EffectiveTimeType : TimeType { - } + public static implicit operator EffectiveTimeType(System.DateTime val) + { + return new EffectiveTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ElectronicDeviceDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ElectronicDeviceDescriptionType.cs index 16c3810..7548355 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ElectronicDeviceDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ElectronicDeviceDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ElectronicDeviceDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ElectronicDeviceDescriptionType : TextType1 { - } + public static implicit operator ElectronicDeviceDescriptionType(string val) + { + return new ElectronicDeviceDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ElectronicMailType.cs b/Ubl-Tr/Common/CommonBasicComponents/ElectronicMailType.cs index 673fd10..54ab87e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ElectronicMailType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ElectronicMailType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ElectronicMail", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ElectronicMailType : TextType1 { - } + public static implicit operator ElectronicMailType(string val) + { + return new ElectronicMailType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EmbeddedDocumentBinaryObjectType.cs b/Ubl-Tr/Common/CommonBasicComponents/EmbeddedDocumentBinaryObjectType.cs index ef86ad9..fbda09e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EmbeddedDocumentBinaryObjectType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EmbeddedDocumentBinaryObjectType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EmbeddedDocumentBinaryObject", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EmbeddedDocumentBinaryObjectType : BinaryObjectType1 { - } + public static implicit operator EmbeddedDocumentBinaryObjectType(byte[] val) + { + return new EmbeddedDocumentBinaryObjectType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EmergencyProceduresCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EmergencyProceduresCodeType.cs index 14e7514..9550517 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EmergencyProceduresCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EmergencyProceduresCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EmergencyProceduresCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EmergencyProceduresCodeType : CodeType1 { - } + public static implicit operator EmergencyProceduresCodeType(string val) + { + return new EmergencyProceduresCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EmployeeQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/EmployeeQuantityType.cs index 4ca4825..663e729 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EmployeeQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EmployeeQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EmployeeQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EmployeeQuantityType : QuantityType1 { - } + public static implicit operator EmployeeQuantityType(decimal val) + { + return new EmployeeQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EncodingCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EncodingCodeType.cs index a479aa9..22c9600 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EncodingCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EncodingCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EncodingCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EncodingCodeType : CodeType1 { - } + public static implicit operator EncodingCodeType(string val) + { + return new EncodingCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EndDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/EndDateType.cs index f6f71da..0ea16a9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EndDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EndDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EndDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EndDateType : DateType { - } + public static implicit operator EndDateType(System.DateTime val) + { + return new EndDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EndTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EndTimeType.cs index 7b8916d..ec6d0cd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EndTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EndTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EndTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EndTimeType : TimeType { - } + public static implicit operator EndTimeType(System.DateTime val) + { + return new EndTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EndpointIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/EndpointIDType.cs index c66b7b6..ae77c82 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EndpointIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EndpointIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EndpointID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EndpointIDType : IdentifierType1 { - } + public static implicit operator EndpointIDType(string val) + { + return new EndpointIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EnvironmentalEmissionTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EnvironmentalEmissionTypeCodeType.cs index b7dd521..18bb3d9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EnvironmentalEmissionTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EnvironmentalEmissionTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EnvironmentalEmissionTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EnvironmentalEmissionTypeCodeType : CodeType1 { - } + public static implicit operator EnvironmentalEmissionTypeCodeType(string val) + { + return new EnvironmentalEmissionTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EstimatedAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/EstimatedAmountType.cs index 9e8480e..6f00d69 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EstimatedAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EstimatedAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EstimatedAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EstimatedAmountType : AmountType1 { - } + public static implicit operator EstimatedAmountType(decimal val) + { + return new EstimatedAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EstimatedConsumedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/EstimatedConsumedQuantityType.cs index 58216e4..564aebb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EstimatedConsumedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EstimatedConsumedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EstimatedConsumedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EstimatedConsumedQuantityType : QuantityType1 { - } + public static implicit operator EstimatedConsumedQuantityType(decimal val) + { + return new EstimatedConsumedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EstimatedDeliveryDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/EstimatedDeliveryDateType.cs index 30b3133..35edc04 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EstimatedDeliveryDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EstimatedDeliveryDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EstimatedDeliveryDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EstimatedDeliveryDateType : DateType { - } + public static implicit operator EstimatedDeliveryDateType(System.DateTime val) + { + return new EstimatedDeliveryDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EstimatedDeliveryTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EstimatedDeliveryTimeType.cs index 3f678fd..a2fe6fc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EstimatedDeliveryTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EstimatedDeliveryTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EstimatedDeliveryTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EstimatedDeliveryTimeType : TimeType { - } + public static implicit operator EstimatedDeliveryTimeType(System.DateTime val) + { + return new EstimatedDeliveryTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EstimatedDespatchDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/EstimatedDespatchDateType.cs index 7d9341d..414629d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EstimatedDespatchDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EstimatedDespatchDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EstimatedDespatchDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EstimatedDespatchDateType : DateType { - } + public static implicit operator EstimatedDespatchDateType(System.DateTime val) + { + return new EstimatedDespatchDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EstimatedDespatchTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EstimatedDespatchTimeType.cs index dce0cae..050b598 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EstimatedDespatchTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EstimatedDespatchTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EstimatedDespatchTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EstimatedDespatchTimeType : TimeType { - } + public static implicit operator EstimatedDespatchTimeType(System.DateTime val) + { + return new EstimatedDespatchTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EstimatedOverallContractAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/EstimatedOverallContractAmountType.cs index 565c9a4..efdaa33 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EstimatedOverallContractAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EstimatedOverallContractAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EstimatedOverallContractAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EstimatedOverallContractAmountType : AmountType1 { - } + public static implicit operator EstimatedOverallContractAmountType(decimal val) + { + return new EstimatedOverallContractAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EstimatedOverallContractQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/EstimatedOverallContractQuantityType.cs index 337766d..5df2a5c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EstimatedOverallContractQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EstimatedOverallContractQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EstimatedOverallContractQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EstimatedOverallContractQuantityType : QuantityType1 { - } + public static implicit operator EstimatedOverallContractQuantityType(decimal val) + { + return new EstimatedOverallContractQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EvaluationCriterionTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EvaluationCriterionTypeCodeType.cs index ed3a6cb..bb4ff81 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EvaluationCriterionTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EvaluationCriterionTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EvaluationCriterionTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EvaluationCriterionTypeCodeType : CodeType1 { - } + public static implicit operator EvaluationCriterionTypeCodeType(string val) + { + return new EvaluationCriterionTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/EvidenceTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/EvidenceTypeCodeType.cs index 47e8dc6..c39d126 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/EvidenceTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/EvidenceTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("EvidenceTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class EvidenceTypeCodeType : CodeType1 { - } + public static implicit operator EvidenceTypeCodeType(string val) + { + return new EvidenceTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExceptionResolutionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExceptionResolutionCodeType.cs index 92f88df..c693f3f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExceptionResolutionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExceptionResolutionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExceptionResolutionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExceptionResolutionCodeType : CodeType1 { - } + public static implicit operator ExceptionResolutionCodeType(string val) + { + return new ExceptionResolutionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExceptionStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExceptionStatusCodeType.cs index fb39333..fdf4801 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExceptionStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExceptionStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExceptionStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExceptionStatusCodeType : CodeType1 { - } + public static implicit operator ExceptionStatusCodeType(string val) + { + return new ExceptionStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExchangeMarketIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExchangeMarketIDType.cs index 353b13d..96517a3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExchangeMarketIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExchangeMarketIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExchangeMarketID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExchangeMarketIDType : IdentifierType1 { - } + public static implicit operator ExchangeMarketIDType(string val) + { + return new ExchangeMarketIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExclusionReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExclusionReasonType.cs index 173cf42..8a7a117 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExclusionReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExclusionReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExclusionReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExclusionReasonType : TextType1 { - } + public static implicit operator ExclusionReasonType(string val) + { + return new ExclusionReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExecutionRequirementCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExecutionRequirementCodeType.cs index 7aa1a3b..9e93b5b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExecutionRequirementCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExecutionRequirementCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExecutionRequirementCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExecutionRequirementCodeType : CodeType1 { - } + public static implicit operator ExecutionRequirementCodeType(string val) + { + return new ExecutionRequirementCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExemptionReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExemptionReasonCodeType.cs index 87b84a3..a4f0772 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExemptionReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExemptionReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExemptionReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExemptionReasonCodeType : CodeType1 { - } + public static implicit operator ExemptionReasonCodeType(string val) + { + return new ExemptionReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExemptionReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExemptionReasonType.cs index 7a67e0d..cc467c3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExemptionReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExemptionReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExemptionReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExemptionReasonType : TextType1 { - } + public static implicit operator ExemptionReasonType(string val) + { + return new ExemptionReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExpectedOperatorQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExpectedOperatorQuantityType.cs index e9d2618..404a915 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExpectedOperatorQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExpectedOperatorQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExpectedOperatorQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExpectedOperatorQuantityType : QuantityType1 { - } + public static implicit operator ExpectedOperatorQuantityType(decimal val) + { + return new ExpectedOperatorQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExpectedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExpectedQuantityType.cs index dbe1355..57676cb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExpectedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExpectedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExpectedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExpectedQuantityType : QuantityType1 { - } + public static implicit operator ExpectedQuantityType(decimal val) + { + return new ExpectedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExpenseCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExpenseCodeType.cs index 1a5e2ba..5cbfb0d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExpenseCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExpenseCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExpenseCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExpenseCodeType : CodeType1 { - } + public static implicit operator ExpenseCodeType(string val) + { + return new ExpenseCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExpiryDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExpiryDateType.cs index ef16904..fa4b319 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExpiryDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExpiryDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExpiryDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExpiryDateType : DateType { - } + public static implicit operator ExpiryDateType(System.DateTime val) + { + return new ExpiryDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExpiryTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExpiryTimeType.cs index d31b1e5..f6e20bc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExpiryTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExpiryTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExpiryTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExpiryTimeType : TimeType { - } + public static implicit operator ExpiryTimeType(System.DateTime val) + { + return new ExpiryTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExpressionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExpressionCodeType.cs index 6509e94..3dcc1ad 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExpressionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExpressionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExpressionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExpressionCodeType : CodeType1 { - } + public static implicit operator ExpressionCodeType(string val) + { + return new ExpressionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExpressionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExpressionType.cs index 2cc1b9c..00db22f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExpressionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExpressionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Expression", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExpressionType : TextType1 { - } + public static implicit operator ExpressionType(string val) + { + return new ExpressionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExtendedIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExtendedIDType.cs index 02ebaf7..a62933e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExtendedIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExtendedIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExtendedID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExtendedIDType : IdentifierType1 { - } + public static implicit operator ExtendedIDType(string val) + { + return new ExtendedIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ExtensionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ExtensionType.cs index d096005..5e7569c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ExtensionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ExtensionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Extension", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ExtensionType : TextType1 { - } + public static implicit operator ExtensionType(string val) + { + return new ExtensionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FaceValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/FaceValueAmountType.cs index 14cab8d..bb64ee4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FaceValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FaceValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FaceValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FaceValueAmountType : AmountType1 { - } + public static implicit operator FaceValueAmountType(decimal val) + { + return new FaceValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FamilyNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/FamilyNameType.cs index 7fb3d74..6b01274 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FamilyNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FamilyNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FamilyName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FamilyNameType : NameType { - } + public static implicit operator FamilyNameType(string val) + { + return new FamilyNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FeatureTacticTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/FeatureTacticTypeCodeType.cs index f02a39b..adaef94 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FeatureTacticTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FeatureTacticTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FeatureTacticTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FeatureTacticTypeCodeType : CodeType1 { - } + public static implicit operator FeatureTacticTypeCodeType(string val) + { + return new FeatureTacticTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FeeAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/FeeAmountType.cs index 987f595..7bf2940 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FeeAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FeeAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FeeAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FeeAmountType : AmountType1 { - } + public static implicit operator FeeAmountType(decimal val) + { + return new FeeAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FeeDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/FeeDescriptionType.cs index 1d6bcd2..3de364f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FeeDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FeeDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FeeDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FeeDescriptionType : TextType1 { - } + public static implicit operator FeeDescriptionType(string val) + { + return new FeeDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FileNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/FileNameType.cs index 7e666dc..cb7f4f5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FileNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FileNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FileName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FileNameType : NameType { - } + public static implicit operator FileNameType(string val) + { + return new FileNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FinancingInstrumentCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/FinancingInstrumentCodeType.cs index a2e9c3b..05cc983 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FinancingInstrumentCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FinancingInstrumentCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FinancingInstrumentCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FinancingInstrumentCodeType : CodeType1 { - } + public static implicit operator FinancingInstrumentCodeType(string val) + { + return new FinancingInstrumentCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FirstNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/FirstNameType.cs index 7af6716..8ddfe15 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FirstNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FirstNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FirstName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FirstNameType : NameType { - } + public static implicit operator FirstNameType(string val) + { + return new FirstNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FirstShipmentAvailibilityDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/FirstShipmentAvailibilityDateType.cs index 8371291..889b899 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FirstShipmentAvailibilityDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FirstShipmentAvailibilityDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FirstShipmentAvailibilityDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FirstShipmentAvailibilityDateType : DateType { - } + public static implicit operator FirstShipmentAvailibilityDateType(System.DateTime val) + { + return new FirstShipmentAvailibilityDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FloorType.cs b/Ubl-Tr/Common/CommonBasicComponents/FloorType.cs index e407277..df54228 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FloorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FloorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Floor", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FloorType : TextType1 { - } + public static implicit operator FloorType(string val) + { + return new FloorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FollowupContractIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/FollowupContractIndicatorType.cs index e098f91..b7fb89d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FollowupContractIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FollowupContractIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FollowupContractIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FollowupContractIndicatorType : IndicatorType { - } + public static implicit operator FollowupContractIndicatorType(bool val) + { + return new FollowupContractIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ForecastPurposeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ForecastPurposeCodeType.cs index daed125..b2e7ec5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ForecastPurposeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ForecastPurposeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ForecastPurposeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ForecastPurposeCodeType : CodeType1 { - } + public static implicit operator ForecastPurposeCodeType(string val) + { + return new ForecastPurposeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ForecastTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ForecastTypeCodeType.cs index b03ed30..6036311 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ForecastTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ForecastTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ForecastTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ForecastTypeCodeType : CodeType1 { - } + public static implicit operator ForecastTypeCodeType(string val) + { + return new ForecastTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FormatCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/FormatCodeType.cs index 9cdf583..ac7e909 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FormatCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FormatCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FormatCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FormatCodeType : CodeType1 { - } + public static implicit operator FormatCodeType(string val) + { + return new FormatCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ForwarderServiceInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/ForwarderServiceInstructionsType.cs index e5a7682..9b8ddd8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ForwarderServiceInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ForwarderServiceInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ForwarderServiceInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ForwarderServiceInstructionsType : TextType1 { - } + public static implicit operator ForwarderServiceInstructionsType(string val) + { + return new ForwarderServiceInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FreeOfChargeIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/FreeOfChargeIndicatorType.cs index 0895070..eb28456 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FreeOfChargeIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FreeOfChargeIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FreeOfChargeIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FreeOfChargeIndicatorType : IndicatorType { - } + public static implicit operator FreeOfChargeIndicatorType(bool val) + { + return new FreeOfChargeIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FreeOnBoardValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/FreeOnBoardValueAmountType.cs index 91ae058..78dd0fa 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FreeOnBoardValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FreeOnBoardValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FreeOnBoardValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FreeOnBoardValueAmountType : AmountType1 { - } + public static implicit operator FreeOnBoardValueAmountType(decimal val) + { + return new FreeOnBoardValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FreightForwarderAssignedIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/FreightForwarderAssignedIDType.cs index 8bf7e15..0a5d012 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FreightForwarderAssignedIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FreightForwarderAssignedIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FreightForwarderAssignedID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FreightForwarderAssignedIDType : IdentifierType1 { - } + public static implicit operator FreightForwarderAssignedIDType(string val) + { + return new FreightForwarderAssignedIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FreightRateClassCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/FreightRateClassCodeType.cs index 94d1ee0..7fc3464 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FreightRateClassCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FreightRateClassCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FreightRateClassCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FreightRateClassCodeType : CodeType1 { - } + public static implicit operator FreightRateClassCodeType(string val) + { + return new FreightRateClassCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FrequencyType.cs b/Ubl-Tr/Common/CommonBasicComponents/FrequencyType.cs index ddc591c..dd90166 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FrequencyType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FrequencyType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Frequency", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FrequencyType : TextType1 { - } + public static implicit operator FrequencyType(string val) + { + return new FrequencyType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FrozenDocumentIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/FrozenDocumentIndicatorType.cs index 90c91c7..abf9d0f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FrozenDocumentIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FrozenDocumentIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FrozenDocumentIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FrozenDocumentIndicatorType : IndicatorType { - } + public static implicit operator FrozenDocumentIndicatorType(bool val) + { + return new FrozenDocumentIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FrozenPeriodDaysNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/FrozenPeriodDaysNumericType.cs index 2ce1a6e..06dd641 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FrozenPeriodDaysNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FrozenPeriodDaysNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FrozenPeriodDaysNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FrozenPeriodDaysNumericType : NumericType1 { - } + public static implicit operator FrozenPeriodDaysNumericType(decimal val) + { + return new FrozenPeriodDaysNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FullnessIndicationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/FullnessIndicationCodeType.cs index b7b6b88..4288395 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FullnessIndicationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FullnessIndicationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FullnessIndicationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FullnessIndicationCodeType : CodeType1 { - } + public static implicit operator FullnessIndicationCodeType(string val) + { + return new FullnessIndicationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FullyPaidSharesIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/FullyPaidSharesIndicatorType.cs index 888f31b..81534c6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FullyPaidSharesIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FullyPaidSharesIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FullyPaidSharesIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FullyPaidSharesIndicatorType : IndicatorType { - } + public static implicit operator FullyPaidSharesIndicatorType(bool val) + { + return new FullyPaidSharesIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FundingProgramCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/FundingProgramCodeType.cs index c99667c..9452811 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FundingProgramCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FundingProgramCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FundingProgramCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FundingProgramCodeType : CodeType1 { - } + public static implicit operator FundingProgramCodeType(string val) + { + return new FundingProgramCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/FundingProgramType.cs b/Ubl-Tr/Common/CommonBasicComponents/FundingProgramType.cs index eca231a..833289b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/FundingProgramType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/FundingProgramType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("FundingProgram", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class FundingProgramType : TextType1 { - } + public static implicit operator FundingProgramType(string val) + { + return new FundingProgramType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GasPressureQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/GasPressureQuantityType.cs index e27231d..af44057 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GasPressureQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GasPressureQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GasPressureQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GasPressureQuantityType : QuantityType1 { - } + public static implicit operator GasPressureQuantityType(decimal val) + { + return new GasPressureQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GenderCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/GenderCodeType.cs index 5988f44..7728110 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GenderCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GenderCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GenderCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GenderCodeType : CodeType1 { - } + public static implicit operator GenderCodeType(string val) + { + return new GenderCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GeneralCargoIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/GeneralCargoIndicatorType.cs index d782413..ac15aa1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GeneralCargoIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GeneralCargoIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GeneralCargoIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GeneralCargoIndicatorType : IndicatorType { - } + public static implicit operator GeneralCargoIndicatorType(bool val) + { + return new GeneralCargoIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GovernmentAgreementConstraintIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/GovernmentAgreementConstraintIndicatorType.cs index 4242e4d..f50d14e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GovernmentAgreementConstraintIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GovernmentAgreementConstraintIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GovernmentAgreementConstraintIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GovernmentAgreementConstraintIndicatorType : IndicatorType { - } + public static implicit operator GovernmentAgreementConstraintIndicatorType(bool val) + { + return new GovernmentAgreementConstraintIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GrossTonnageMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/GrossTonnageMeasureType.cs index 9810fdf..19ff2e3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GrossTonnageMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GrossTonnageMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GrossTonnageMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GrossTonnageMeasureType : MeasureType1 { - } + public static implicit operator GrossTonnageMeasureType(decimal val) + { + return new GrossTonnageMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GrossVolumeMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/GrossVolumeMeasureType.cs index 027a30c..e06b5bc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GrossVolumeMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GrossVolumeMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GrossVolumeMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GrossVolumeMeasureType : MeasureType1 { - } + public static implicit operator GrossVolumeMeasureType(decimal val) + { + return new GrossVolumeMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GrossWeightMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/GrossWeightMeasureType.cs index 4622989..87339ff 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GrossWeightMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GrossWeightMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GrossWeightMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GrossWeightMeasureType : MeasureType1 { - } + public static implicit operator GrossWeightMeasureType(decimal val) + { + return new GrossWeightMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GuaranteeTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/GuaranteeTypeCodeType.cs index ba1af70..651ef15 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GuaranteeTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GuaranteeTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GuaranteeTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GuaranteeTypeCodeType : CodeType1 { - } + public static implicit operator GuaranteeTypeCodeType(string val) + { + return new GuaranteeTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GuaranteedDespatchDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/GuaranteedDespatchDateType.cs index c59026c..e5a1c75 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GuaranteedDespatchDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GuaranteedDespatchDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GuaranteedDespatchDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GuaranteedDespatchDateType : DateType { - } + public static implicit operator GuaranteedDespatchDateType(System.DateTime val) + { + return new GuaranteedDespatchDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/GuaranteedDespatchTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/GuaranteedDespatchTimeType.cs index a0d7a5c..3cdfa00 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/GuaranteedDespatchTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/GuaranteedDespatchTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("GuaranteedDespatchTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class GuaranteedDespatchTimeType : TimeType { - } + public static implicit operator GuaranteedDespatchTimeType(System.DateTime val) + { + return new GuaranteedDespatchTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HandlingCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/HandlingCodeType.cs index dd9e1ba..1b83079 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HandlingCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HandlingCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HandlingCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HandlingCodeType : CodeType1 { - } + public static implicit operator HandlingCodeType(string val) + { + return new HandlingCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HandlingInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/HandlingInstructionsType.cs index d2940af..616e7f6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HandlingInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HandlingInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HandlingInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HandlingInstructionsType : TextType1 { - } + public static implicit operator HandlingInstructionsType(string val) + { + return new HandlingInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HashAlgorithmMethodType.cs b/Ubl-Tr/Common/CommonBasicComponents/HashAlgorithmMethodType.cs index c9cfe60..fb4e097 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HashAlgorithmMethodType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HashAlgorithmMethodType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HashAlgorithmMethod", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HashAlgorithmMethodType : TextType1 { - } + public static implicit operator HashAlgorithmMethodType(string val) + { + return new HashAlgorithmMethodType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HaulageInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/HaulageInstructionsType.cs index 623a0f9..12935a4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HaulageInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HaulageInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HaulageInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HaulageInstructionsType : TextType1 { - } + public static implicit operator HaulageInstructionsType(string val) + { + return new HaulageInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HazardClassIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/HazardClassIDType.cs index 840a843..9f8a2a5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HazardClassIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HazardClassIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HazardClassID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HazardClassIDType : IdentifierType1 { - } + public static implicit operator HazardClassIDType(string val) + { + return new HazardClassIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HazardousCategoryCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/HazardousCategoryCodeType.cs index d716bb0..0bd0888 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HazardousCategoryCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HazardousCategoryCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HazardousCategoryCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HazardousCategoryCodeType : CodeType1 { - } + public static implicit operator HazardousCategoryCodeType(string val) + { + return new HazardousCategoryCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HazardousRegulationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/HazardousRegulationCodeType.cs index 04d26be..8b9e691 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HazardousRegulationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HazardousRegulationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HazardousRegulationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HazardousRegulationCodeType : CodeType1 { - } + public static implicit operator HazardousRegulationCodeType(string val) + { + return new HazardousRegulationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HazardousRiskIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/HazardousRiskIndicatorType.cs index b93f228..9e99d3d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HazardousRiskIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HazardousRiskIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HazardousRiskIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HazardousRiskIndicatorType : IndicatorType { - } + public static implicit operator HazardousRiskIndicatorType(bool val) + { + return new HazardousRiskIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HeatingTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/HeatingTypeCodeType.cs index 61e15b7..cd83f69 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HeatingTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HeatingTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HeatingTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HeatingTypeCodeType : CodeType1 { - } + public static implicit operator HeatingTypeCodeType(string val) + { + return new HeatingTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HeatingTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/HeatingTypeType.cs index 5301fe2..eae7bff 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HeatingTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HeatingTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HeatingType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HeatingTypeType : TextType1 { - } + public static implicit operator HeatingTypeType(string val) + { + return new HeatingTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HigherTenderAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/HigherTenderAmountType.cs index a289f99..4b88e18 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HigherTenderAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HigherTenderAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HigherTenderAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HigherTenderAmountType : AmountType1 { - } + public static implicit operator HigherTenderAmountType(decimal val) + { + return new HigherTenderAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HolderNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/HolderNameType.cs index 3287f29..957d0d1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HolderNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HolderNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HolderName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HolderNameType : NameType { - } + public static implicit operator HolderNameType(string val) + { + return new HolderNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HumanFoodApprovedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/HumanFoodApprovedIndicatorType.cs index a1e2f4a..4edc12f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HumanFoodApprovedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HumanFoodApprovedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HumanFoodApprovedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HumanFoodApprovedIndicatorType : IndicatorType { - } + public static implicit operator HumanFoodApprovedIndicatorType(bool val) + { + return new HumanFoodApprovedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HumanFoodIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/HumanFoodIndicatorType.cs index bb7471b..c80b3be 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HumanFoodIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HumanFoodIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HumanFoodIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HumanFoodIndicatorType : IndicatorType { + public static implicit operator HumanFoodIndicatorType(bool val) + { + return new HumanFoodIndicatorType + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/HumidityPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/HumidityPercentType.cs index f753b03..c8e84e5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/HumidityPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/HumidityPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("HumidityPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class HumidityPercentType : PercentType { - } + public static implicit operator HumidityPercentType(decimal val) + { + return new HumidityPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IDType.cs b/Ubl-Tr/Common/CommonBasicComponents/IDType.cs index c556ab3..541d397 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IDType : IdentifierType1 { - } + public static implicit operator IDType(string val) + { + return new IDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IdentificationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/IdentificationCodeType.cs index aa743e5..7a11905 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IdentificationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IdentificationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("IdentificationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IdentificationCodeType : CodeType1 { - } + public static implicit operator IdentificationCodeType(string val) + { + return new IdentificationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IdentificationIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/IdentificationIDType.cs index 3b98a70..113ac93 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IdentificationIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IdentificationIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("IdentificationID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IdentificationIDType : IdentifierType1 { - } + public static implicit operator IdentificationIDType(string val) + { + return new IdentificationIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ImmobilizationCertificateIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ImmobilizationCertificateIDType.cs index ad50524..3031eb8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ImmobilizationCertificateIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ImmobilizationCertificateIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ImmobilizationCertificateID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ImmobilizationCertificateIDType : IdentifierType1 { - } + public static implicit operator ImmobilizationCertificateIDType(string val) + { + return new ImmobilizationCertificateIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ImportanceCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ImportanceCodeType.cs index 8e98da1..890f42d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ImportanceCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ImportanceCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ImportanceCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ImportanceCodeType : CodeType1 { - } + public static implicit operator ImportanceCodeType(string val) + { + return new ImportanceCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IndicationIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/IndicationIndicatorType.cs index f90dd72..8d23b56 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IndicationIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IndicationIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("IndicationIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IndicationIndicatorType : IndicatorType { - } + public static implicit operator IndicationIndicatorType(bool val) + { + return new IndicationIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IndustryClassificationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/IndustryClassificationCodeType.cs index 8b53686..714c0da 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IndustryClassificationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IndustryClassificationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("IndustryClassificationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IndustryClassificationCodeType : CodeType1 { - } + public static implicit operator IndustryClassificationCodeType(string val) + { + return new IndustryClassificationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InformationType.cs b/Ubl-Tr/Common/CommonBasicComponents/InformationType.cs index f2ff4f4..cea3b57 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InformationType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InformationType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Information", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InformationType : TextType1 { - } + public static implicit operator InformationType(string val) + { + return new InformationType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InformationURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/InformationURIType.cs index fff5678..ecf7787 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InformationURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InformationURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InformationURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InformationURIType : IdentifierType1 { - } + public static implicit operator InformationURIType(string val) + { + return new InformationURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InhalationToxicityZoneCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/InhalationToxicityZoneCodeType.cs index 59616f7..2a0e4eb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InhalationToxicityZoneCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InhalationToxicityZoneCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InhalationToxicityZoneCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InhalationToxicityZoneCodeType : CodeType1 { - } + public static implicit operator InhalationToxicityZoneCodeType(string val) + { + return new InhalationToxicityZoneCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InhouseMailType.cs b/Ubl-Tr/Common/CommonBasicComponents/InhouseMailType.cs index e9d1cc8..3aa5853 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InhouseMailType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InhouseMailType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InhouseMail", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InhouseMailType : TextType1 { - } + public static implicit operator InhouseMailType(string val) + { + return new InhouseMailType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InspectionMethodCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/InspectionMethodCodeType.cs index 012f773..49ddb71 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InspectionMethodCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InspectionMethodCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InspectionMethodCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InspectionMethodCodeType : CodeType1 { - } + public static implicit operator InspectionMethodCodeType(string val) + { + return new InspectionMethodCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InstallmentDueDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/InstallmentDueDateType.cs index fb26eb1..92ce7f2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InstallmentDueDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InstallmentDueDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InstallmentDueDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InstallmentDueDateType : DateType { - } + public static implicit operator InstallmentDueDateType(System.DateTime val) + { + return new InstallmentDueDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InstructionIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/InstructionIDType.cs index 259edd5..0e71bec 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InstructionIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InstructionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InstructionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InstructionIDType : IdentifierType1 { - } + public static implicit operator InstructionIDType(string val) + { + return new InstructionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InstructionNoteType.cs b/Ubl-Tr/Common/CommonBasicComponents/InstructionNoteType.cs index 517b64a..93e60fd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InstructionNoteType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InstructionNoteType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InstructionNote", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InstructionNoteType : TextType1 { - } + public static implicit operator InstructionNoteType(string val) + { + return new InstructionNoteType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/InstructionsType.cs index e31790d..cf019cf 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Instructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InstructionsType : TextType1 { - } + public static implicit operator InstructionsType(string val) + { + return new InstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InsurancePremiumAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/InsurancePremiumAmountType.cs index 371ecee..939bcf3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InsurancePremiumAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InsurancePremiumAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InsurancePremiumAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InsurancePremiumAmountType : AmountType1 { - } + public static implicit operator InsurancePremiumAmountType(decimal val) + { + return new InsurancePremiumAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InsuranceValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/InsuranceValueAmountType.cs index b2a6fb5..dc105f0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InsuranceValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InsuranceValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InsuranceValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InsuranceValueAmountType : AmountType1 { - } + public static implicit operator InsuranceValueAmountType(decimal val) + { + return new InsuranceValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InventoryValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/InventoryValueAmountType.cs index 98cb14d..9ce83d1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InventoryValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InventoryValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InventoryValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InventoryValueAmountType : AmountType1 { - } + public static implicit operator InventoryValueAmountType(decimal val) + { + return new InventoryValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InvoiceTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/InvoiceTypeCodeType.cs index 96136fd..3f95c00 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InvoiceTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InvoiceTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InvoiceTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InvoiceTypeCodeType : CodeType1 { - } + public static implicit operator InvoiceTypeCodeType(string val) + { + return new InvoiceTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InvoicedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/InvoicedQuantityType.cs index 41be338..47cd40f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InvoicedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InvoicedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InvoicedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InvoicedQuantityType : QuantityType1 { - } + public static implicit operator InvoicedQuantityType(decimal val) + { + return new InvoicedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/InvoicingPartyReferenceType.cs b/Ubl-Tr/Common/CommonBasicComponents/InvoicingPartyReferenceType.cs index 04dd88d..bdde7fb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/InvoicingPartyReferenceType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/InvoicingPartyReferenceType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("InvoicingPartyReference", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class InvoicingPartyReferenceType : TextType1 { - } + public static implicit operator InvoicingPartyReferenceType(string val) + { + return new InvoicingPartyReferenceType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IssueDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/IssueDateType.cs index 30c38ba..644cdbe 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IssueDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IssueDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("IssueDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IssueDateType : DateType { - } + public static implicit operator IssueDateType(System.DateTime val) + { + return new IssueDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IssueNumberIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/IssueNumberIDType.cs index e5a993b..7a3eaf4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IssueNumberIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IssueNumberIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("IssueNumberID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IssueNumberIDType : IdentifierType1 { - } + public static implicit operator IssueNumberIDType(string val) + { + return new IssueNumberIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IssueTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/IssueTimeType.cs index 5e693c0..1c5bf83 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IssueTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IssueTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("IssueTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IssueTimeType : TimeType { - } + public static implicit operator IssueTimeType(System.DateTime val) + { + return new IssueTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/IssuerIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/IssuerIDType.cs index 02dd10f..e92a344 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/IssuerIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/IssuerIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("IssuerID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class IssuerIDType : IdentifierType1 { - } + public static implicit operator IssuerIDType(string val) + { + return new IssuerIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ItemClassificationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ItemClassificationCodeType.cs index 377e72e..46c425d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ItemClassificationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ItemClassificationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ItemClassificationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ItemClassificationCodeType : CodeType1 { - } + public static implicit operator ItemClassificationCodeType(string val) + { + return new ItemClassificationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ItemUpdateRequestIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/ItemUpdateRequestIndicatorType.cs index cbe31c2..2a984ac 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ItemUpdateRequestIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ItemUpdateRequestIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ItemUpdateRequestIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ItemUpdateRequestIndicatorType : IndicatorType { - } + public static implicit operator ItemUpdateRequestIndicatorType(bool val) + { + return new ItemUpdateRequestIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/JobTitleType.cs b/Ubl-Tr/Common/CommonBasicComponents/JobTitleType.cs index 12045f8..79be18e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/JobTitleType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/JobTitleType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("JobTitle", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class JobTitleType : TextType1 { - } + public static implicit operator JobTitleType(string val) + { + return new JobTitleType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/JourneyIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/JourneyIDType.cs index f8a5cd6..38cb0ce 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/JourneyIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/JourneyIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("JourneyID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class JourneyIDType : IdentifierType1 { - } + public static implicit operator JourneyIDType(string val) + { + return new JourneyIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/JustificationDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/JustificationDescriptionType.cs index 5a1c316..3bda68b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/JustificationDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/JustificationDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("JustificationDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class JustificationDescriptionType : TextType1 { - } + public static implicit operator JustificationDescriptionType(string val) + { + return new JustificationDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/JustificationType.cs b/Ubl-Tr/Common/CommonBasicComponents/JustificationType.cs index edaa496..c70390a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/JustificationType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/JustificationType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Justification", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class JustificationType : TextType1 { - } + public static implicit operator JustificationType(string val) + { + return new JustificationType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/KeywordType.cs b/Ubl-Tr/Common/CommonBasicComponents/KeywordType.cs index 7902717..9f8fe30 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/KeywordType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/KeywordType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Keyword", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class KeywordType : TextType1 { - } + public static implicit operator KeywordType(string val) + { + return new KeywordType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LanguageIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/LanguageIDType.cs index 8aef33a..b12ddeb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LanguageIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LanguageIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LanguageID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LanguageIDType : IdentifierType1 { - } + public static implicit operator LanguageIDType(string val) + { + return new LanguageIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LastRevisionDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/LastRevisionDateType.cs index 663361d..9eb71bc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LastRevisionDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LastRevisionDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LastRevisionDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LastRevisionDateType : DateType { - } + public static implicit operator LastRevisionDateType(System.DateTime val) + { + return new LastRevisionDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LastRevisionTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LastRevisionTimeType.cs index bc8e782..bd6c301 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LastRevisionTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LastRevisionTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LastRevisionTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LastRevisionTimeType : TimeType { - } + public static implicit operator LastRevisionTimeType(System.DateTime val) + { + return new LastRevisionTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestDeliveryDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestDeliveryDateType.cs index ba06626..19f604f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestDeliveryDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestDeliveryDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestDeliveryDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestDeliveryDateType : DateType { - } + public static implicit operator LatestDeliveryDateType(System.DateTime val) + { + return new LatestDeliveryDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestDeliveryTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestDeliveryTimeType.cs index ac27ba7..2dfeb08 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestDeliveryTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestDeliveryTimeType.cs @@ -1,3 +1,5 @@ +using System; + namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] @@ -7,5 +9,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestDeliveryTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestDeliveryTimeType : TimeType { - } + public static implicit operator LatestDeliveryTimeType(DateTime val) + { + return new LatestDeliveryTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestMeterQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestMeterQuantityType.cs index 4fd95c5..478cbe8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestMeterQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestMeterQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestMeterQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestMeterQuantityType : QuantityType1 { - } + public static implicit operator LatestMeterQuantityType(decimal val) + { + return new LatestMeterQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingDateType.cs index e88d446..4f4ce37 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestMeterReadingDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestMeterReadingDateType : DateType { - } + public static implicit operator LatestMeterReadingDateType(System.DateTime val) + { + return new LatestMeterReadingDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingMethodCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingMethodCodeType.cs index 6689881..643b43d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingMethodCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingMethodCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestMeterReadingMethodCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestMeterReadingMethodCodeType : CodeType1 { - } + public static implicit operator LatestMeterReadingMethodCodeType(string val) + { + return new LatestMeterReadingMethodCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingMethodType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingMethodType.cs index e9e030f..f7fb62e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingMethodType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestMeterReadingMethodType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestMeterReadingMethod", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestMeterReadingMethodType : TextType1 { - } + public static implicit operator LatestMeterReadingMethodType(string val) + { + return new LatestMeterReadingMethodType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestPickupDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestPickupDateType.cs index 37db253..2a61c0b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestPickupDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestPickupDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestPickupDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestPickupDateType : DateType { - } + public static implicit operator LatestPickupDateType(System.DateTime val) + { + return new LatestPickupDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestPickupTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestPickupTimeType.cs index 18e535b..716be30 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestPickupTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestPickupTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestPickupTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestPickupTimeType : TimeType { - } + public static implicit operator LatestPickupTimeType(System.DateTime val) + { + return new LatestPickupTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestProposalAcceptanceDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestProposalAcceptanceDateType.cs index dab9262..72c75c7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestProposalAcceptanceDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestProposalAcceptanceDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestProposalAcceptanceDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestProposalAcceptanceDateType : DateType { - } + public static implicit operator LatestProposalAcceptanceDateType(System.DateTime val) + { + return new LatestProposalAcceptanceDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatestSecurityClearanceDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatestSecurityClearanceDateType.cs index bdbcf5b..039a2a9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatestSecurityClearanceDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatestSecurityClearanceDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatestSecurityClearanceDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatestSecurityClearanceDateType : DateType { - } + public static implicit operator LatestSecurityClearanceDateType(System.DateTime val) + { + return new LatestSecurityClearanceDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatitudeDegreesMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatitudeDegreesMeasureType.cs index a284ebe..56c5fe1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatitudeDegreesMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatitudeDegreesMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatitudeDegreesMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatitudeDegreesMeasureType : MeasureType1 { - } + public static implicit operator LatitudeDegreesMeasureType(decimal val) + { + return new LatitudeDegreesMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatitudeDirectionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatitudeDirectionCodeType.cs index aecb94b..e5f38da 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatitudeDirectionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatitudeDirectionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatitudeDirectionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatitudeDirectionCodeType : CodeType1 { - } + public static implicit operator LatitudeDirectionCodeType(string val) + { + return new LatitudeDirectionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LatitudeMinutesMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/LatitudeMinutesMeasureType.cs index 2ac3a62..436e1ce 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LatitudeMinutesMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LatitudeMinutesMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LatitudeMinutesMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LatitudeMinutesMeasureType : MeasureType1 { - } + public static implicit operator LatitudeMinutesMeasureType(decimal val) + { + return new LatitudeMinutesMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LeadTimeMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/LeadTimeMeasureType.cs index 6d72211..be34479 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LeadTimeMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LeadTimeMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LeadTimeMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LeadTimeMeasureType : MeasureType1 { - } + public static implicit operator LeadTimeMeasureType(decimal val) + { + return new LeadTimeMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LegalReferenceType.cs b/Ubl-Tr/Common/CommonBasicComponents/LegalReferenceType.cs index d5ae89d..f582581 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LegalReferenceType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LegalReferenceType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LegalReference", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LegalReferenceType : TextType1 { - } + public static implicit operator LegalReferenceType(string val) + { + return new LegalReferenceType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LegalStatusIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/LegalStatusIndicatorType.cs index 9de5d23..d25bbbe 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LegalStatusIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LegalStatusIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LegalStatusIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LegalStatusIndicatorType : IndicatorType { - } + public static implicit operator LegalStatusIndicatorType(bool val) + { + return new LegalStatusIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LiabilityAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/LiabilityAmountType.cs index 96d68ef..a85661f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LiabilityAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LiabilityAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LiabilityAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LiabilityAmountType : AmountType1 { - } + public static implicit operator LiabilityAmountType(decimal val) + { + return new LiabilityAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LicensePlateIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/LicensePlateIDType.cs index c6ef34b..a133680 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LicensePlateIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LicensePlateIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LicensePlateID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LicensePlateIDType : IdentifierType1 { - } + public static implicit operator LicensePlateIDType(string val) + { + return new LicensePlateIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LifeCycleStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LifeCycleStatusCodeType.cs index 1f88066..7a62719 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LifeCycleStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LifeCycleStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LifeCycleStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LifeCycleStatusCodeType : CodeType1 { - } + public static implicit operator LifeCycleStatusCodeType(string val) + { + return new LifeCycleStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LimitationDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/LimitationDescriptionType.cs index 49fb31a..d74dae2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LimitationDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LimitationDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LimitationDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LimitationDescriptionType : TextType1 { - } + public static implicit operator LimitationDescriptionType(string val) + { + return new LimitationDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LineCountNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/LineCountNumericType.cs index b2986e1..dea2747 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LineCountNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LineCountNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LineCountNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LineCountNumericType : NumericType1 { - } + public static implicit operator LineCountNumericType(decimal val) + { + return new LineCountNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LineExtensionAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/LineExtensionAmountType.cs index 5701eb2..5bca5eb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LineExtensionAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LineExtensionAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LineExtensionAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LineExtensionAmountType : AmountType1 { - } + public static implicit operator LineExtensionAmountType(decimal val) + { + return new LineExtensionAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LineIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/LineIDType.cs index 68d8db3..8213417 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LineIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LineIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LineID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LineIDType : IdentifierType1 { - } + public static implicit operator LineIDType(string val) + { + return new LineIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LineNumberNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/LineNumberNumericType.cs index a3d3eb5..48a9b75 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LineNumberNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LineNumberNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LineNumberNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LineNumberNumericType : NumericType1 { - } + public static implicit operator LineNumberNumericType(decimal val) + { + return new LineNumberNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LineStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LineStatusCodeType.cs index 25941fa..5983400 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LineStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LineStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LineStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LineStatusCodeType : CodeType1 { - } + public static implicit operator LineStatusCodeType(string val) + { + return new LineStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LineType.cs b/Ubl-Tr/Common/CommonBasicComponents/LineType.cs index b534222..3390717 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LineType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LineType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Line", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LineType : TextType1 { - } + public static implicit operator LineType(string val) + { + return new LineType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ListValueType.cs b/Ubl-Tr/Common/CommonBasicComponents/ListValueType.cs index 1e9a319..faa133d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ListValueType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ListValueType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ListValue", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ListValueType : TextType1 { - } + public static implicit operator ListValueType(string val) + { + return new ListValueType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LivestockIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/LivestockIndicatorType.cs index 01d42bd..5b2c585 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LivestockIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LivestockIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LivestockIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LivestockIndicatorType : IndicatorType { - } + public static implicit operator LivestockIndicatorType(bool val) + { + return new LivestockIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LoadingLengthMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/LoadingLengthMeasureType.cs index b7e9f4a..760555b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LoadingLengthMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LoadingLengthMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LoadingLengthMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LoadingLengthMeasureType : MeasureType1 { - } + public static implicit operator LoadingLengthMeasureType(decimal val) + { + return new LoadingLengthMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LoadingSequenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/LoadingSequenceIDType.cs index dd9a811..78ed410 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LoadingSequenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LoadingSequenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LoadingSequenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LoadingSequenceIDType : IdentifierType1 { - } + public static implicit operator LoadingSequenceIDType(string val) + { + return new LoadingSequenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LocaleCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LocaleCodeType.cs index 7fe8b3e..1282079 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LocaleCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LocaleCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LocaleCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LocaleCodeType : CodeType1 { - } + public static implicit operator LocaleCodeType(string val) + { + return new LocaleCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LocationIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/LocationIDType.cs index 63fecab..d280555 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LocationIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LocationIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LocationID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LocationIDType : IdentifierType1 { - } + public static implicit operator LocationIDType(string val) + { + return new LocationIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LocationType.cs b/Ubl-Tr/Common/CommonBasicComponents/LocationType.cs index 65f948c..c73f4f0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LocationType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LocationType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Location", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LocationType : TextType1 { - } + public static implicit operator LocationType(string val) + { + return new LocationType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LocationTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LocationTypeCodeType.cs index 8ab9f1f..a6c5bea 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LocationTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LocationTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LocationTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LocationTypeCodeType : CodeType1 { - } + public static implicit operator LocationTypeCodeType(string val) + { + return new LocationTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LoginType.cs b/Ubl-Tr/Common/CommonBasicComponents/LoginType.cs index 0fd4819..37e5803 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LoginType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LoginType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Login", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LoginType : TextType1 { - } + public static implicit operator LoginType(string val) + { + return new LoginType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LogoReferenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/LogoReferenceIDType.cs index f8fbacd..02b0bdd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LogoReferenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LogoReferenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LogoReferenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LogoReferenceIDType : IdentifierType1 { - } + public static implicit operator LogoReferenceIDType(string val) + { + return new LogoReferenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LongitudeDegreesMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/LongitudeDegreesMeasureType.cs index 7046923..18e0451 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LongitudeDegreesMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LongitudeDegreesMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LongitudeDegreesMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LongitudeDegreesMeasureType : MeasureType1 { - } + public static implicit operator LongitudeDegreesMeasureType(decimal val) + { + return new LongitudeDegreesMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LongitudeDirectionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LongitudeDirectionCodeType.cs index 065f7a8..eee09d5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LongitudeDirectionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LongitudeDirectionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LongitudeDirectionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LongitudeDirectionCodeType : CodeType1 { - } + public static implicit operator LongitudeDirectionCodeType(string val) + { + return new LongitudeDirectionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LongitudeMinutesMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/LongitudeMinutesMeasureType.cs index 5205281..e11432d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LongitudeMinutesMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LongitudeMinutesMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LongitudeMinutesMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LongitudeMinutesMeasureType : MeasureType1 { - } + public static implicit operator LongitudeMinutesMeasureType(decimal val) + { + return new LongitudeMinutesMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LossRiskResponsibilityCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/LossRiskResponsibilityCodeType.cs index a5b938f..19773ac 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LossRiskResponsibilityCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LossRiskResponsibilityCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LossRiskResponsibilityCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LossRiskResponsibilityCodeType : CodeType1 { - } + public static implicit operator LossRiskResponsibilityCodeType(string val) + { + return new LossRiskResponsibilityCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LossRiskType.cs b/Ubl-Tr/Common/CommonBasicComponents/LossRiskType.cs index f70765b..9ace04a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LossRiskType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LossRiskType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LossRisk", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LossRiskType : TextType1 { - } + public static implicit operator LossRiskType(string val) + { + return new LossRiskType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LotNumberIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/LotNumberIDType.cs index c498b81..df1bcd6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LotNumberIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LotNumberIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LotNumberID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LotNumberIDType : IdentifierType1 { - } + public static implicit operator LotNumberIDType(string val) + { + return new LotNumberIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LowTendersDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/LowTendersDescriptionType.cs index 8be2953..3ac761a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LowTendersDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LowTendersDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LowTendersDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LowTendersDescriptionType : TextType1 { - } + public static implicit operator LowTendersDescriptionType(string val) + { + return new LowTendersDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LowerOrangeHazardPlacardIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/LowerOrangeHazardPlacardIDType.cs index 43876cf..fdbd8d1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LowerOrangeHazardPlacardIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LowerOrangeHazardPlacardIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LowerOrangeHazardPlacardID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LowerOrangeHazardPlacardIDType : IdentifierType1 { - } + public static implicit operator LowerOrangeHazardPlacardIDType(string val) + { + return new LowerOrangeHazardPlacardIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/LowerTenderAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/LowerTenderAmountType.cs index 9337dfe..4c00cab 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/LowerTenderAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/LowerTenderAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("LowerTenderAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class LowerTenderAmountType : AmountType1 { - } + public static implicit operator LowerTenderAmountType(decimal val) + { + return new LowerTenderAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MandateTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MandateTypeCodeType.cs index cf01802..0b0182c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MandateTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MandateTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MandateTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MandateTypeCodeType : CodeType1 { - } + public static implicit operator MandateTypeCodeType(string val) + { + return new MandateTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ManufactureDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ManufactureDateType.cs index 3439b0c..7414307 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ManufactureDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ManufactureDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ManufactureDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ManufactureDateType : DateType { - } + public static implicit operator ManufactureDateType(System.DateTime val) + { + return new ManufactureDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ManufactureTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ManufactureTimeType.cs index 6fd54e2..8c0c447 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ManufactureTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ManufactureTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ManufactureTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ManufactureTimeType : TimeType { - } + public static implicit operator ManufactureTimeType(System.DateTime val) + { + return new ManufactureTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MarkAttentionIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/MarkAttentionIndicatorType.cs index b0f5e6f..b931ea6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MarkAttentionIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MarkAttentionIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MarkAttentionIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MarkAttentionIndicatorType : IndicatorType { - } + public static implicit operator MarkAttentionIndicatorType(bool val) + { + return new MarkAttentionIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MarkAttentionType.cs b/Ubl-Tr/Common/CommonBasicComponents/MarkAttentionType.cs index d9baa55..1b0cde4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MarkAttentionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MarkAttentionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MarkAttention", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MarkAttentionType : TextType1 { - } + public static implicit operator MarkAttentionType(string val) + { + return new MarkAttentionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MarkCareIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/MarkCareIndicatorType.cs index dbb0793..2f99701 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MarkCareIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MarkCareIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MarkCareIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MarkCareIndicatorType : IndicatorType { - } + public static implicit operator MarkCareIndicatorType(bool val) + { + return new MarkCareIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MarkCareType.cs b/Ubl-Tr/Common/CommonBasicComponents/MarkCareType.cs index 3269560..f4b6356 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MarkCareType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MarkCareType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MarkCare", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MarkCareType : TextType1 { - } + public static implicit operator MarkCareType(string val) + { + return new MarkCareType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MarketValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/MarketValueAmountType.cs index a6c7b03..bac0544 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MarketValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MarketValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MarketValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MarketValueAmountType : AmountType1 { - } + public static implicit operator MarketValueAmountType(decimal val) + { + return new MarketValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MarkingIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/MarkingIDType.cs index 0c6fea2..5f8daed 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MarkingIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MarkingIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MarkingID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MarkingIDType : IdentifierType1 { - } + public static implicit operator MarkingIDType(string val) + { + return new MarkingIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MathematicOperatorCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MathematicOperatorCodeType.cs index 24de2eb..1723746 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MathematicOperatorCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MathematicOperatorCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MathematicOperatorCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MathematicOperatorCodeType : CodeType1 { - } + public static implicit operator MathematicOperatorCodeType(string val) + { + return new MathematicOperatorCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumAdvertisementAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumAdvertisementAmountType.cs index ea7034e..71aab27 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumAdvertisementAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumAdvertisementAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumAdvertisementAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumAdvertisementAmountType : AmountType1 { - } + public static implicit operator MaximumAdvertisementAmountType(decimal val) + { + return new MaximumAdvertisementAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumAmountType.cs index 3c2c21f..928326f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumAmountType : AmountType1 { - } + public static implicit operator MaximumAmountType(decimal val) + { + return new MaximumAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumBackorderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumBackorderQuantityType.cs index a0fd269..9b49a68 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumBackorderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumBackorderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumBackorderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumBackorderQuantityType : QuantityType1 { - } + public static implicit operator MaximumBackorderQuantityType(decimal val) + { + return new MaximumBackorderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumCopiesNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumCopiesNumericType.cs index 9bebdc4..dcd3b13 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumCopiesNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumCopiesNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumCopiesNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumCopiesNumericType : NumericType1 { - } + public static implicit operator MaximumCopiesNumericType(decimal val) + { + return new MaximumCopiesNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumMeasureType.cs index 381d8f2..cb24c74 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumMeasureType : MeasureType1 { - } + public static implicit operator MaximumMeasureType(decimal val) + { + return new MaximumMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumNumberNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumNumberNumericType.cs index 453f595..c87c32b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumNumberNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumNumberNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumNumberNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumNumberNumericType : NumericType1 { - } + public static implicit operator MaximumNumberNumericType(decimal val) + { + return new MaximumNumberNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumOperatorQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumOperatorQuantityType.cs index 99cae87..7fe0e92 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumOperatorQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumOperatorQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumOperatorQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumOperatorQuantityType : QuantityType1 { - } + public static implicit operator MaximumOperatorQuantityType(decimal val) + { + return new MaximumOperatorQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumOrderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumOrderQuantityType.cs index 76cdaae..f04c13c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumOrderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumOrderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumOrderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumOrderQuantityType : QuantityType1 { - } + public static implicit operator MaximumOrderQuantityType(decimal val) + { + return new MaximumOrderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumPaidAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumPaidAmountType.cs index 9d0f76b..d830fb7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumPaidAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumPaidAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumPaidAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumPaidAmountType : AmountType1 { - } + public static implicit operator MaximumPaidAmountType(decimal val) + { + return new MaximumPaidAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumPaymentInstructionsNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumPaymentInstructionsNumericType.cs index 62f16a6..271011c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumPaymentInstructionsNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumPaymentInstructionsNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumPaymentInstructionsNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumPaymentInstructionsNumericType : NumericType1 { - } + public static implicit operator MaximumPaymentInstructionsNumericType(decimal val) + { + return new MaximumPaymentInstructionsNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumPercentType.cs index 2b1be21..55ac240 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumPercentType : PercentType { - } + public static implicit operator MaximumPercentType(decimal val) + { + return new MaximumPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumQuantityType.cs index c30f943..ccd2128 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumQuantityType : QuantityType1 { - } + public static implicit operator MaximumQuantityType(decimal val) + { + return new MaximumQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumValueType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumValueType.cs index af18295..2dee174 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumValueType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumValueType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumValue", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumValueType : TextType1 { - } + public static implicit operator MaximumValueType(string val) + { + return new MaximumValueType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MaximumVariantQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MaximumVariantQuantityType.cs index bf85c82..c9bc1b9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MaximumVariantQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MaximumVariantQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MaximumVariantQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MaximumVariantQuantityType : QuantityType1 { - } + public static implicit operator MaximumVariantQuantityType(decimal val) + { + return new MaximumVariantQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MedicalFirstAidGuideCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MedicalFirstAidGuideCodeType.cs index e7cd185..69e4540 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MedicalFirstAidGuideCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MedicalFirstAidGuideCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MedicalFirstAidGuideCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MedicalFirstAidGuideCodeType : CodeType1 { - } + public static implicit operator MedicalFirstAidGuideCodeType(string val) + { + return new MedicalFirstAidGuideCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MeterConstantCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MeterConstantCodeType.cs index 8399be0..24509cf 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MeterConstantCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MeterConstantCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MeterConstantCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MeterConstantCodeType : CodeType1 { - } + public static implicit operator MeterConstantCodeType(string val) + { + return new MeterConstantCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MeterConstantType.cs b/Ubl-Tr/Common/CommonBasicComponents/MeterConstantType.cs index 568346b..b7def47 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MeterConstantType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MeterConstantType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MeterConstant", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MeterConstantType : TextType1 { - } + public static implicit operator MeterConstantType(string val) + { + return new MeterConstantType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MeterNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/MeterNameType.cs index 4c4d3a1..288b7a1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MeterNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MeterNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MeterName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MeterNameType : TextType1 { - } + public static implicit operator MeterNameType(string val) + { + return new MeterNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MeterNumberType.cs b/Ubl-Tr/Common/CommonBasicComponents/MeterNumberType.cs index 6e235e0..80a80ce 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MeterNumberType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MeterNumberType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MeterNumber", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MeterNumberType : TextType1 { - } + public static implicit operator MeterNumberType(string val) + { + return new MeterNumberType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MeterReadingCommentsType.cs b/Ubl-Tr/Common/CommonBasicComponents/MeterReadingCommentsType.cs index 34af9a4..1805306 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MeterReadingCommentsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MeterReadingCommentsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MeterReadingComments", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MeterReadingCommentsType : TextType1 { - } + public static implicit operator MeterReadingCommentsType(string val) + { + return new MeterReadingCommentsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MeterReadingTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MeterReadingTypeCodeType.cs index 19132a2..51beeda 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MeterReadingTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MeterReadingTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MeterReadingTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MeterReadingTypeCodeType : CodeType1 { - } + public static implicit operator MeterReadingTypeCodeType(string val) + { + return new MeterReadingTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MeterReadingTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MeterReadingTypeType.cs index ad980b7..532e765 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MeterReadingTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MeterReadingTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MeterReadingType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MeterReadingTypeType : TextType1 { - } + public static implicit operator MeterReadingTypeType(string val) + { + return new MeterReadingTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MiddleNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/MiddleNameType.cs index a54c3a6..d5203ef 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MiddleNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MiddleNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MiddleName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MiddleNameType : NameType { - } + public static implicit operator MiddleNameType(string val) + { + return new MiddleNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MimeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MimeCodeType.cs index 8d32f2e..b4815f7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MimeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MimeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MimeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MimeCodeType : CodeType1 { - } + public static implicit operator MimeCodeType(string val) + { + return new MimeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumAmountType.cs index 41d5950..4fa7227 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumAmountType : AmountType1 { - } + public static implicit operator MinimumAmountType(decimal val) + { + return new MinimumAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumBackorderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumBackorderQuantityType.cs index 958af60..c0fe048 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumBackorderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumBackorderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumBackorderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumBackorderQuantityType : QuantityType1 { - } + public static implicit operator MinimumBackorderQuantityType(decimal val) + { + return new MinimumBackorderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumImprovementBidType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumImprovementBidType.cs index a5545b1..6e1e777 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumImprovementBidType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumImprovementBidType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumImprovementBid", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumImprovementBidType : TextType1 { - } + public static implicit operator MinimumImprovementBidType(string val) + { + return new MinimumImprovementBidType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumInventoryQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumInventoryQuantityType.cs index 308b474..96edfc3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumInventoryQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumInventoryQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumInventoryQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumInventoryQuantityType : QuantityType1 { - } + public static implicit operator MinimumInventoryQuantityType(decimal val) + { + return new MinimumInventoryQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumMeasureType.cs index 641eea5..2d12913 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumMeasureType : MeasureType1 { - } + public static implicit operator MinimumMeasureType(decimal val) + { + return new MinimumMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumNumberNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumNumberNumericType.cs index 336c06a..a019201 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumNumberNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumNumberNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumNumberNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumNumberNumericType : NumericType1 { - } + public static implicit operator MinimumNumberNumericType(decimal val) + { + return new MinimumNumberNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumOrderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumOrderQuantityType.cs index 746cb82..9e7cbdd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumOrderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumOrderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumOrderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumOrderQuantityType : QuantityType1 { - } + public static implicit operator MinimumOrderQuantityType(decimal val) + { + return new MinimumOrderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumPercentType.cs index fe8b75f..9875483 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumPercentType : PercentType { - } + public static implicit operator MinimumPercentType(decimal val) + { + return new MinimumPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumQuantityType.cs index e51aa60..6be89c1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumQuantityType : QuantityType1 { - } + public static implicit operator MinimumQuantityType(decimal val) + { + return new MinimumQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MinimumValueType.cs b/Ubl-Tr/Common/CommonBasicComponents/MinimumValueType.cs index bc50301..1d7cb15 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MinimumValueType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MinimumValueType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MinimumValue", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MinimumValueType : TextType1 { - } + public static implicit operator MinimumValueType(string val) + { + return new MinimumValueType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MiscellaneousEventTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MiscellaneousEventTypeCodeType.cs index cde801c..45a318a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MiscellaneousEventTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MiscellaneousEventTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MiscellaneousEventTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MiscellaneousEventTypeCodeType : CodeType1 { - } + public static implicit operator MiscellaneousEventTypeCodeType(string val) + { + return new MiscellaneousEventTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ModelNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/ModelNameType.cs index 69abee8..78e8832 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ModelNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ModelNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ModelName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ModelNameType : NameType { - } + public static implicit operator ModelNameType(string val) + { + return new ModelNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MonetaryScopeType.cs b/Ubl-Tr/Common/CommonBasicComponents/MonetaryScopeType.cs index c357397..56228e0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MonetaryScopeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MonetaryScopeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MonetaryScope", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MonetaryScopeType : TextType1 { - } + public static implicit operator MonetaryScopeType(string val) + { + return new MonetaryScopeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MovieTitleType.cs b/Ubl-Tr/Common/CommonBasicComponents/MovieTitleType.cs index a495684..1fef491 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MovieTitleType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MovieTitleType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MovieTitle", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MovieTitleType : TextType1 { - } + public static implicit operator MovieTitleType(string val) + { + return new MovieTitleType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MultipleOrderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/MultipleOrderQuantityType.cs index 08a63f1..826eed1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MultipleOrderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MultipleOrderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MultipleOrderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MultipleOrderQuantityType : QuantityType1 { - } + public static implicit operator MultipleOrderQuantityType(decimal val) + { + return new MultipleOrderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/MultiplierFactorNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/MultiplierFactorNumericType.cs index 34b87da..df61983 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/MultiplierFactorNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/MultiplierFactorNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("MultiplierFactorNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class MultiplierFactorNumericType : NumericType1 { - } + public static implicit operator MultiplierFactorNumericType(decimal val) + { + return new MultiplierFactorNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NameCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/NameCodeType.cs index 3f8fcf0..363f9e5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NameCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NameCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NameCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NameCodeType : CodeType1 { - } + public static implicit operator NameCodeType(string val) + { + return new NameCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NameSuffixType.cs b/Ubl-Tr/Common/CommonBasicComponents/NameSuffixType.cs index d8e1c38..08157e7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NameSuffixType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NameSuffixType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NameSuffix", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NameSuffixType : TextType1 { - } + public static implicit operator NameSuffixType(string val) + { + return new NameSuffixType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NameType1.cs b/Ubl-Tr/Common/CommonBasicComponents/NameType1.cs index 7a08128..3fae51f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NameType1.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NameType1.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Name", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NameType1 : NameType { + public static implicit operator NameType1(string val) + { + return new NameType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NationalityIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/NationalityIDType.cs index 0aee67d..4369ea1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NationalityIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NationalityIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NationalityID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NationalityIDType : IdentifierType1 { - } + public static implicit operator NationalityIDType(string val) + { + return new NationalityIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NatureCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/NatureCodeType.cs index 6811541..c8e378e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NatureCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NatureCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NatureCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NatureCodeType : CodeType1 { - } + public static implicit operator NatureCodeType(string val) + { + return new NatureCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NegotiationDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/NegotiationDescriptionType.cs index 2cbaf48..dd4810b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NegotiationDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NegotiationDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NegotiationDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NegotiationDescriptionType : TextType1 { - } + public static implicit operator NegotiationDescriptionType(string val) + { + return new NegotiationDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NetNetWeightMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/NetNetWeightMeasureType.cs index 559adb3..e5510bd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NetNetWeightMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NetNetWeightMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NetNetWeightMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NetNetWeightMeasureType : MeasureType1 { - } + public static implicit operator NetNetWeightMeasureType(decimal val) + { + return new NetNetWeightMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NetTonnageMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/NetTonnageMeasureType.cs index 6294300..f3f477d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NetTonnageMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NetTonnageMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NetTonnageMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NetTonnageMeasureType : MeasureType1 { - } + public static implicit operator NetTonnageMeasureType(decimal val) + { + return new NetTonnageMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NetVolumeMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/NetVolumeMeasureType.cs index d0f8819..ea28520 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NetVolumeMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NetVolumeMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NetVolumeMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NetVolumeMeasureType : MeasureType1 { - } + public static implicit operator NetVolumeMeasureType(decimal val) + { + return new NetVolumeMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NetWeightMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/NetWeightMeasureType.cs index 4e18857..798d5a3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NetWeightMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NetWeightMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NetWeightMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NetWeightMeasureType : MeasureType1 { - } + public static implicit operator NetWeightMeasureType(decimal val) + { + return new NetWeightMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NetworkIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/NetworkIDType.cs index f699421..739d5a6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NetworkIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NetworkIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NetworkID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NetworkIDType : IdentifierType1 { - } + public static implicit operator NetworkIDType(string val) + { + return new NetworkIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NominationDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/NominationDateType.cs index b192aca..64e25d2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NominationDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NominationDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NominationDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NominationDateType : DateType { - } + public static implicit operator NominationDateType(System.DateTime val) + { + return new NominationDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NominationTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/NominationTimeType.cs index b973c08..b08d1c0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NominationTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NominationTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NominationTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NominationTimeType : TimeType { - } + public static implicit operator NominationTimeType(System.DateTime val) + { + return new NominationTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NormalTemperatureReductionQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/NormalTemperatureReductionQuantityType.cs index 160a3fa..6a773cf 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NormalTemperatureReductionQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NormalTemperatureReductionQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NormalTemperatureReductionQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NormalTemperatureReductionQuantityType : QuantityType1 { - } + public static implicit operator NormalTemperatureReductionQuantityType(decimal val) + { + return new NormalTemperatureReductionQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NoteType.cs b/Ubl-Tr/Common/CommonBasicComponents/NoteType.cs index 1e55bfa..deebc4d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NoteType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NoteType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Note", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NoteType : TextType1 { - } + public static implicit operator NoteType(string val) + { + return new NoteType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/NotificationTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/NotificationTypeCodeType.cs index fe5fb4d..eefbe6d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/NotificationTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/NotificationTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("NotificationTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class NotificationTypeCodeType : CodeType1 { - } + public static implicit operator NotificationTypeCodeType(string val) + { + return new NotificationTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OccurrenceDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/OccurrenceDateType.cs index 42dc1d6..ec5d57b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OccurrenceDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OccurrenceDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OccurrenceDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OccurrenceDateType : DateType { - } + public static implicit operator OccurrenceDateType(System.DateTime val) + { + return new OccurrenceDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OccurrenceTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/OccurrenceTimeType.cs index 28aa771..84cd687 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OccurrenceTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OccurrenceTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OccurrenceTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OccurrenceTimeType : TimeType { - } + public static implicit operator OccurrenceTimeType(System.DateTime val) + { + return new OccurrenceTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OnCarriageIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/OnCarriageIndicatorType.cs index 3200ba4..fad6209 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OnCarriageIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OnCarriageIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OnCarriageIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OnCarriageIndicatorType : IndicatorType { - } + public static implicit operator OnCarriageIndicatorType(bool val) + { + return new OnCarriageIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OneTimeChargeTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/OneTimeChargeTypeCodeType.cs index fb702e7..873b1db 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OneTimeChargeTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OneTimeChargeTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OneTimeChargeTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OneTimeChargeTypeCodeType : CodeType1 { - } + public static implicit operator OneTimeChargeTypeCodeType(string val) + { + return new OneTimeChargeTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OneTimeChargeTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/OneTimeChargeTypeType.cs index f7df6f2..b0a5376 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OneTimeChargeTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OneTimeChargeTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OneTimeChargeType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OneTimeChargeTypeType : TextType1 { - } + public static implicit operator OneTimeChargeTypeType(string val) + { + return new OneTimeChargeTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OntologyURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/OntologyURIType.cs index 0555c22..d5d19d1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OntologyURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OntologyURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OntologyURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OntologyURIType : IdentifierType1 { - } + public static implicit operator OntologyURIType(string val) + { + return new OntologyURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OpenTenderIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/OpenTenderIDType.cs index 182b307..4dcc93b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OpenTenderIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OpenTenderIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OpenTenderID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OpenTenderIDType : IdentifierType1 { - } + public static implicit operator OpenTenderIDType(string val) + { + return new OpenTenderIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OperatingYearsQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/OperatingYearsQuantityType.cs index 49c3b46..8d3fbbe 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OperatingYearsQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OperatingYearsQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OperatingYearsQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OperatingYearsQuantityType : QuantityType1 { - } + public static implicit operator OperatingYearsQuantityType(decimal val) + { + return new OperatingYearsQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OptionalLineItemIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/OptionalLineItemIndicatorType.cs index db568b9..4960c60 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OptionalLineItemIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OptionalLineItemIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OptionalLineItemIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OptionalLineItemIndicatorType : IndicatorType { - } + public static implicit operator OptionalLineItemIndicatorType(bool val) + { + return new OptionalLineItemIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OptionsDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/OptionsDescriptionType.cs index 4490465..cd8d6a3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OptionsDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OptionsDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OptionsDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OptionsDescriptionType : TextType1 { - } + public static implicit operator OptionsDescriptionType(string val) + { + return new OptionsDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OrderIntervalDaysNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/OrderIntervalDaysNumericType.cs index ebffec2..4c50c4d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OrderIntervalDaysNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OrderIntervalDaysNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OrderIntervalDaysNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OrderIntervalDaysNumericType : NumericType1 { - } + public static implicit operator OrderIntervalDaysNumericType(decimal val) + { + return new OrderIntervalDaysNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OrderQuantityIncrementNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/OrderQuantityIncrementNumericType.cs index 26b33da..2d6abc1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OrderQuantityIncrementNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OrderQuantityIncrementNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OrderQuantityIncrementNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OrderQuantityIncrementNumericType : NumericType1 { - } + public static implicit operator OrderQuantityIncrementNumericType(decimal val) + { + return new OrderQuantityIncrementNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OrderResponseCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/OrderResponseCodeType.cs index 794a596..ffc71db 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OrderResponseCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OrderResponseCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OrderResponseCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OrderResponseCodeType : CodeType1 { - } + public static implicit operator OrderResponseCodeType(string val) + { + return new OrderResponseCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OrderTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/OrderTypeCodeType.cs index bddc0b5..784d214 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OrderTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OrderTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OrderTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OrderTypeCodeType : CodeType1 { - } + public static implicit operator OrderTypeCodeType(string val) + { + return new OrderTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OrderableIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/OrderableIndicatorType.cs index 84383aa..06b6b27 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OrderableIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OrderableIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OrderableIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OrderableIndicatorType : IndicatorType { - } + public static implicit operator OrderableIndicatorType(bool val) + { + return new OrderableIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OrderableUnitFactorRateType.cs b/Ubl-Tr/Common/CommonBasicComponents/OrderableUnitFactorRateType.cs index 752369c..bcecb8e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OrderableUnitFactorRateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OrderableUnitFactorRateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OrderableUnitFactorRate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OrderableUnitFactorRateType : RateType { - } + public static implicit operator OrderableUnitFactorRateType(decimal val) + { + return new OrderableUnitFactorRateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OrderableUnitType.cs b/Ubl-Tr/Common/CommonBasicComponents/OrderableUnitType.cs index 2013837..decb783 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OrderableUnitType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OrderableUnitType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OrderableUnit", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OrderableUnitType : TextType1 { - } + public static implicit operator OrderableUnitType(string val) + { + return new OrderableUnitType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OrganizationDepartmentType.cs b/Ubl-Tr/Common/CommonBasicComponents/OrganizationDepartmentType.cs index c084bfb..9643ae3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OrganizationDepartmentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OrganizationDepartmentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OrganizationDepartment", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OrganizationDepartmentType : TextType1 { - } + public static implicit operator OrganizationDepartmentType(string val) + { + return new OrganizationDepartmentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OriginalContractingSystemIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/OriginalContractingSystemIDType.cs index 8a60afe..5a085b4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OriginalContractingSystemIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OriginalContractingSystemIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OriginalContractingSystemID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OriginalContractingSystemIDType : IdentifierType1 { - } + public static implicit operator OriginalContractingSystemIDType(string val) + { + return new OriginalContractingSystemIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OriginalJobIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/OriginalJobIDType.cs index a69695d..30b9894 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OriginalJobIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OriginalJobIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OriginalJobID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OriginalJobIDType : IdentifierType1 { - } + public static implicit operator OriginalJobIDType(string val) + { + return new OriginalJobIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OtherConditionsIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/OtherConditionsIndicatorType.cs index a5bd9aa..f95322f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OtherConditionsIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OtherConditionsIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OtherConditionsIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OtherConditionsIndicatorType : IndicatorType { - } + public static implicit operator OtherConditionsIndicatorType(bool val) + { + return new OtherConditionsIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OtherInstructionType.cs b/Ubl-Tr/Common/CommonBasicComponents/OtherInstructionType.cs index 7d242e3..fb1c271 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OtherInstructionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OtherInstructionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OtherInstruction", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OtherInstructionType : TextType1 { - } + public static implicit operator OtherInstructionType(string val) + { + return new OtherInstructionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OtherNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/OtherNameType.cs index f460b18..337ba4a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OtherNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OtherNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OtherName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OtherNameType : NameType { - } + public static implicit operator OtherNameType(string val) + { + return new OtherNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OutstandingQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/OutstandingQuantityType.cs index 7309caf..54793a9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OutstandingQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OutstandingQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OutstandingQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OutstandingQuantityType : QuantityType1 { - } + public static implicit operator OutstandingQuantityType(decimal val) + { + return new OutstandingQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OutstandingReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/OutstandingReasonType.cs index 8f73fd0..fdf6a06 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OutstandingReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OutstandingReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OutstandingReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OutstandingReasonType : TextType1 { - } + public static implicit operator OutstandingReasonType(string val) + { + return new OutstandingReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OversupplyQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/OversupplyQuantityType.cs index bb7fdae..f5203c4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OversupplyQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OversupplyQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OversupplyQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OversupplyQuantityType : QuantityType1 { - } + public static implicit operator OversupplyQuantityType(decimal val) + { + return new OversupplyQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/OwnerTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/OwnerTypeCodeType.cs index 21c7dfa..219b960 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/OwnerTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/OwnerTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("OwnerTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class OwnerTypeCodeType : CodeType1 { - } + public static implicit operator OwnerTypeCodeType(string val) + { + return new OwnerTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PackLevelCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PackLevelCodeType.cs index 09d516a..8df4d6d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PackLevelCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PackLevelCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PackLevelCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PackLevelCodeType : CodeType1 { - } + public static implicit operator PackLevelCodeType(string val) + { + return new PackLevelCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PackQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/PackQuantityType.cs index 302caaf..04bde3a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PackQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PackQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PackQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PackQuantityType : QuantityType1 { - } + public static implicit operator PackQuantityType(decimal val) + { + return new PackQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PackSizeNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/PackSizeNumericType.cs index f121915..d415b41 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PackSizeNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PackSizeNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PackSizeNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PackSizeNumericType : NumericType1 { - } + public static implicit operator PackSizeNumericType(decimal val) + { + return new PackSizeNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PackageLevelCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PackageLevelCodeType.cs index 4b1856b..b011d4e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PackageLevelCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PackageLevelCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PackageLevelCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PackageLevelCodeType : CodeType1 { - } + public static implicit operator PackageLevelCodeType(string val) + { + return new PackageLevelCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PackagingTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PackagingTypeCodeType.cs index 1169806..1a3f0c3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PackagingTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PackagingTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PackagingTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PackagingTypeCodeType : CodeType1 { - } + public static implicit operator PackagingTypeCodeType(string val) + { + return new PackagingTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PackingCriteriaCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PackingCriteriaCodeType.cs index dfca602..85aa11c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PackingCriteriaCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PackingCriteriaCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PackingCriteriaCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PackingCriteriaCodeType : CodeType1 { - } + public static implicit operator PackingCriteriaCodeType(string val) + { + return new PackingCriteriaCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PackingMaterialType.cs b/Ubl-Tr/Common/CommonBasicComponents/PackingMaterialType.cs index f20e702..c7fb1f8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PackingMaterialType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PackingMaterialType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PackingMaterial", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PackingMaterialType : TextType1 { - } + public static implicit operator PackingMaterialType(string val) + { + return new PackingMaterialType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaidAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaidAmountType.cs index edb1189..bff3a7c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaidAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaidAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaidAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaidAmountType : AmountType1 { - } + public static implicit operator PaidAmountType(decimal val) + { + return new PaidAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaidDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaidDateType.cs index 396eb01..db34fe4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaidDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaidDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaidDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaidDateType : DateType { - } + public static implicit operator PaidDateType(System.DateTime val) + { + return new PaidDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaidTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaidTimeType.cs index aca661e..9aa3c00 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaidTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaidTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaidTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaidTimeType : TimeType { - } + public static implicit operator PaidTimeType(System.DateTime val) + { + return new PaidTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentIDType.cs index 9b729e6..e50f4f2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ParentDocumentID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ParentDocumentIDType : IdentifierType1 { - } + public static implicit operator ParentDocumentIDType(string val) + { + return new ParentDocumentIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentLineReferenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentLineReferenceIDType.cs index 8aaa88b..dd1c0d8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentLineReferenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentLineReferenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ParentDocumentLineReferenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ParentDocumentLineReferenceIDType : IdentifierType1 { - } + public static implicit operator ParentDocumentLineReferenceIDType(string val) + { + return new ParentDocumentLineReferenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentTypeCodeType.cs index 9bf2921..2209eea 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ParentDocumentTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ParentDocumentTypeCodeType : CodeType1 { - } + public static implicit operator ParentDocumentTypeCodeType(string val) + { + return new ParentDocumentTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentVersionIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentVersionIDType.cs index eb59686..702bd1b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentVersionIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ParentDocumentVersionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ParentDocumentVersionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ParentDocumentVersionIDType : IdentifierType1 { - } + public static implicit operator ParentDocumentVersionIDType(string val) + { + return new ParentDocumentVersionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PartPresentationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PartPresentationCodeType.cs index e18f620..fc3f0e3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PartPresentationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PartPresentationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PartPresentationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PartPresentationCodeType : CodeType1 { - } + public static implicit operator PartPresentationCodeType(string val) + { + return new PartPresentationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PartecipationPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/PartecipationPercentType.cs index c4d9b86..a153ddb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PartecipationPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PartecipationPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PartecipationPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PartecipationPercentType : PercentType { - } + public static implicit operator PartecipationPercentType(decimal val) + { + return new PartecipationPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PartialDeliveryIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/PartialDeliveryIndicatorType.cs index c79ca52..cc220dc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PartialDeliveryIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PartialDeliveryIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PartialDeliveryIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PartialDeliveryIndicatorType : IndicatorType { - } + public static implicit operator PartialDeliveryIndicatorType(bool val) + { + return new PartialDeliveryIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ParticipationPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/ParticipationPercentType.cs index 42bcade..befc10f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ParticipationPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ParticipationPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ParticipationPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ParticipationPercentType : PercentType { - } + public static implicit operator ParticipationPercentType(decimal val) + { + return new ParticipationPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PartyCapacityAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PartyCapacityAmountType.cs index 5469575..95b50da 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PartyCapacityAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PartyCapacityAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PartyCapacityAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PartyCapacityAmountType : AmountType1 { - } + public static implicit operator PartyCapacityAmountType(decimal val) + { + return new PartyCapacityAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PartyTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PartyTypeCodeType.cs index 41e5e01..bef695c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PartyTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PartyTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PartyTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PartyTypeCodeType : CodeType1 { - } + public static implicit operator PartyTypeCodeType(string val) + { + return new PartyTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PartyTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PartyTypeType.cs index 5679126..5e071e4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PartyTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PartyTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PartyType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PartyTypeType : TextType1 { - } + public static implicit operator PartyTypeType(string val) + { + return new PartyTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PassengerQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/PassengerQuantityType.cs index ed6102b..90ea001 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PassengerQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PassengerQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PassengerQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PassengerQuantityType : QuantityType1 { - } + public static implicit operator PassengerQuantityType(decimal val) + { + return new PassengerQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PasswordType.cs b/Ubl-Tr/Common/CommonBasicComponents/PasswordType.cs index 7fa442a..fa2293b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PasswordType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PasswordType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Password", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PasswordType : TextType1 { - } + public static implicit operator PasswordType(string val) + { + return new PasswordType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PayPerViewType.cs b/Ubl-Tr/Common/CommonBasicComponents/PayPerViewType.cs index fa9c9f1..d401c0e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PayPerViewType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PayPerViewType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PayPerView", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PayPerViewType : TextType1 { - } + public static implicit operator PayPerViewType(string val) + { + return new PayPerViewType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PayableAlternativeAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PayableAlternativeAmountType.cs index d5c83e2..237e3fc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PayableAlternativeAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PayableAlternativeAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PayableAlternativeAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PayableAlternativeAmountType : AmountType1 { - } + public static implicit operator PayableAlternativeAmountType(decimal val) + { + return new PayableAlternativeAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PayableAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PayableAmountType.cs index 24eab32..dd3fd23 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PayableAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PayableAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PayableAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PayableAmountType : AmountType1 { - } + public static implicit operator PayableAmountType(decimal val) + { + return new PayableAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PayableRoundingAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PayableRoundingAmountType.cs index 28f67b6..ec9078a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PayableRoundingAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PayableRoundingAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PayableRoundingAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PayableRoundingAmountType : AmountType1 { - } + public static implicit operator PayableRoundingAmountType(decimal val) + { + return new PayableRoundingAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PayerReferenceType.cs b/Ubl-Tr/Common/CommonBasicComponents/PayerReferenceType.cs index d8e94df..4a049a7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PayerReferenceType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PayerReferenceType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PayerReference", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PayerReferenceType : TextType1 { - } + public static implicit operator PayerReferenceType(string val) + { + return new PayerReferenceType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentAlternativeCurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentAlternativeCurrencyCodeType.cs index a7ed94c..536fbd3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentAlternativeCurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentAlternativeCurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentAlternativeCurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentAlternativeCurrencyCodeType : CodeType1 { - } + public static implicit operator PaymentAlternativeCurrencyCodeType(string val) + { + return new PaymentAlternativeCurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentChannelCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentChannelCodeType.cs index 9d59ece..60e812b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentChannelCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentChannelCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentChannelCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentChannelCodeType : CodeType1 { - } + public static implicit operator PaymentChannelCodeType(string val) + { + return new PaymentChannelCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentCurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentCurrencyCodeType.cs index 9915828..e980397 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentCurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentCurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentCurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentCurrencyCodeType : CodeType1 { - } + public static implicit operator PaymentCurrencyCodeType(string val) + { + return new PaymentCurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentDescriptionType.cs index 81d0c92..1e7da53 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentDescriptionType : TextType1 { - } + public static implicit operator PaymentDescriptionType(string val) + { + return new PaymentDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentDueDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentDueDateType.cs index 16d476a..488bf2e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentDueDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentDueDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentDueDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentDueDateType : DateType { - } + public static implicit operator PaymentDueDateType(System.DateTime val) + { + return new PaymentDueDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentFrequencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentFrequencyCodeType.cs index a5a133e..a341960 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentFrequencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentFrequencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentFrequencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentFrequencyCodeType : CodeType1 { - } + public static implicit operator PaymentFrequencyCodeType(string val) + { + return new PaymentFrequencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentIDType.cs index cdb77e9..4407d8c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentIDType : IdentifierType1 { - } + public static implicit operator PaymentIDType(string val) + { + return new PaymentIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentMeansCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentMeansCodeType.cs index 5cc1144..410c5a2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentMeansCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentMeansCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentMeansCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentMeansCodeType : CodeType1 { - } + public static implicit operator PaymentMeansCodeType(string val) + { + return new PaymentMeansCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentMeansIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentMeansIDType.cs index 677ab77..9c29a7e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentMeansIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentMeansIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentMeansID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentMeansIDType : IdentifierType1 { - } + public static implicit operator PaymentMeansIDType(string val) + { + return new PaymentMeansIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentNoteType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentNoteType.cs index b9c5b3f..66f57d6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentNoteType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentNoteType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentNote", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentNoteType : TextType1 { - } + public static implicit operator PaymentNoteType(string val) + { + return new PaymentNoteType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentOrderReferenceType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentOrderReferenceType.cs index 6cfe201..58d7f0e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentOrderReferenceType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentOrderReferenceType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentOrderReference", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentOrderReferenceType : TextType1 { - } + public static implicit operator PaymentOrderReferenceType(string val) + { + return new PaymentOrderReferenceType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentPercentType.cs index 50b7b20..c59d260 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentPercentType : PercentType { - } + public static implicit operator PaymentPercentType(decimal val) + { + return new PaymentPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentPurposeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentPurposeCodeType.cs index c193297..ac39664 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentPurposeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentPurposeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentPurposeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentPurposeCodeType : CodeType1 { - } + public static implicit operator PaymentPurposeCodeType(string val) + { + return new PaymentPurposeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PaymentTermsDetailsURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/PaymentTermsDetailsURIType.cs index 9a69a76..9e7196a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PaymentTermsDetailsURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PaymentTermsDetailsURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PaymentTermsDetailsURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PaymentTermsDetailsURIType : IdentifierType1 { - } + public static implicit operator PaymentTermsDetailsURIType(string val) + { + return new PaymentTermsDetailsURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PenaltyAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PenaltyAmountType.cs index abfd177..2157f27 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PenaltyAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PenaltyAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PenaltyAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PenaltyAmountType : AmountType1 { - } + public static implicit operator PenaltyAmountType(decimal val) + { + return new PenaltyAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PenaltySurchargePercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/PenaltySurchargePercentType.cs index 1298bae..6835d2a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PenaltySurchargePercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PenaltySurchargePercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PenaltySurchargePercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PenaltySurchargePercentType : PercentType { - } + public static implicit operator PenaltySurchargePercentType(decimal val) + { + return new PenaltySurchargePercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PerUnitAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PerUnitAmountType.cs index 665453e..f039ae8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PerUnitAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PerUnitAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PerUnitAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PerUnitAmountType : AmountType1 { - } + public static implicit operator PerUnitAmountType(decimal val) + { + return new PerUnitAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PercentType1.cs b/Ubl-Tr/Common/CommonBasicComponents/PercentType1.cs index 69109fe..f164969 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PercentType1.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PercentType1.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Percent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PercentType1 : PercentType { + public static implicit operator PercentType1(decimal val) + { + return new PercentType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PerformanceMetricTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PerformanceMetricTypeCodeType.cs index 3535e30..ea8e415 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PerformanceMetricTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PerformanceMetricTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PerformanceMetricTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PerformanceMetricTypeCodeType : CodeType1 { - } + public static implicit operator PerformanceMetricTypeCodeType(string val) + { + return new PerformanceMetricTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PerformanceValueQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/PerformanceValueQuantityType.cs index 052a3d8..5a0500a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PerformanceValueQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PerformanceValueQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PerformanceValueQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PerformanceValueQuantityType : QuantityType1 { - } + public static implicit operator PerformanceValueQuantityType(decimal val) + { + return new PerformanceValueQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PerformingCarrierAssignedIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/PerformingCarrierAssignedIDType.cs index d586dea..a4e864a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PerformingCarrierAssignedIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PerformingCarrierAssignedIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PerformingCarrierAssignedID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PerformingCarrierAssignedIDType : IdentifierType1 { - } + public static implicit operator PerformingCarrierAssignedIDType(string val) + { + return new PerformingCarrierAssignedIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PersonalSituationType.cs b/Ubl-Tr/Common/CommonBasicComponents/PersonalSituationType.cs index 280e81a..199264e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PersonalSituationType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PersonalSituationType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PersonalSituation", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PersonalSituationType : TextType1 { - } + public static implicit operator PersonalSituationType(string val) + { + return new PersonalSituationType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PhoneNumberType.cs b/Ubl-Tr/Common/CommonBasicComponents/PhoneNumberType.cs index 1984d72..908d9dd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PhoneNumberType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PhoneNumberType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PhoneNumber", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PhoneNumberType : TextType1 { - } + public static implicit operator PhoneNumberType(string val) + { + return new PhoneNumberType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PlacardEndorsementType.cs b/Ubl-Tr/Common/CommonBasicComponents/PlacardEndorsementType.cs index 6af6073..cc7ab06 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PlacardEndorsementType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PlacardEndorsementType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PlacardEndorsement", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PlacardEndorsementType : TextType1 { - } + public static implicit operator PlacardEndorsementType(string val) + { + return new PlacardEndorsementType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PlacardNotationType.cs b/Ubl-Tr/Common/CommonBasicComponents/PlacardNotationType.cs index 95f7972..615bef1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PlacardNotationType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PlacardNotationType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PlacardNotation", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PlacardNotationType : TextType1 { - } + public static implicit operator PlacardNotationType(string val) + { + return new PlacardNotationType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PlannedDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/PlannedDateType.cs index 3589dfb..5a47b1d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PlannedDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PlannedDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PlannedDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PlannedDateType : DateType { - } + public static implicit operator PlannedDateType(System.DateTime val) + { + return new PlannedDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PlotIdentificationType.cs b/Ubl-Tr/Common/CommonBasicComponents/PlotIdentificationType.cs index 5989e47..26a4e29 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PlotIdentificationType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PlotIdentificationType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PlotIdentification", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PlotIdentificationType : TextType1 { - } + public static implicit operator PlotIdentificationType(string val) + { + return new PlotIdentificationType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PositionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PositionCodeType.cs index 7cb1eb2..733eba0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PositionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PositionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PositionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PositionCodeType : CodeType1 { - } + public static implicit operator PositionCodeType(string val) + { + return new PositionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PostEventNotificationDurationMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/PostEventNotificationDurationMeasureType.cs index 6065eef..80c4511 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PostEventNotificationDurationMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PostEventNotificationDurationMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PostEventNotificationDurationMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PostEventNotificationDurationMeasureType : MeasureType1 { - } + public static implicit operator PostEventNotificationDurationMeasureType(decimal val) + { + return new PostEventNotificationDurationMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PostalZoneType.cs b/Ubl-Tr/Common/CommonBasicComponents/PostalZoneType.cs index 86e78e5..cfa057b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PostalZoneType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PostalZoneType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PostalZone", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PostalZoneType : TextType1 { - } + public static implicit operator PostalZoneType(string val) + { + return new PostalZoneType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PostboxType.cs b/Ubl-Tr/Common/CommonBasicComponents/PostboxType.cs index 22d7da1..8da5b86 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PostboxType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PostboxType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Postbox", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PostboxType : TextType1 { - } + public static implicit operator PostboxType(string val) + { + return new PostboxType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PowerIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/PowerIndicatorType.cs index fc982fb..efd3552 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PowerIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PowerIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PowerIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PowerIndicatorType : IndicatorType { - } + public static implicit operator PowerIndicatorType(bool val) + { + return new PowerIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreCarriageIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreCarriageIndicatorType.cs index bed5876..426fa50 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreCarriageIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreCarriageIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreCarriageIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreCarriageIndicatorType : IndicatorType { - } + public static implicit operator PreCarriageIndicatorType(bool val) + { + return new PreCarriageIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreEventNotificationDurationMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreEventNotificationDurationMeasureType.cs index 6af7a8f..c173d14 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreEventNotificationDurationMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreEventNotificationDurationMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreEventNotificationDurationMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreEventNotificationDurationMeasureType : MeasureType1 { - } + public static implicit operator PreEventNotificationDurationMeasureType(decimal val) + { + return new PreEventNotificationDurationMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreferenceCriterionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreferenceCriterionCodeType.cs index 0dbd8a2..addbf8e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreferenceCriterionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreferenceCriterionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreferenceCriterionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreferenceCriterionCodeType : CodeType1 { - } + public static implicit operator PreferenceCriterionCodeType(string val) + { + return new PreferenceCriterionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PrepaidAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PrepaidAmountType.cs index 8ffaf1e..d551ad7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PrepaidAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PrepaidAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PrepaidAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PrepaidAmountType : AmountType1 { - } + public static implicit operator PrepaidAmountType(decimal val) + { + return new PrepaidAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PrepaidIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/PrepaidIndicatorType.cs index 22d5f61..7810cea 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PrepaidIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PrepaidIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PrepaidIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PrepaidIndicatorType : IndicatorType { - } + public static implicit operator PrepaidIndicatorType(bool val) + { + return new PrepaidIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PrepaidPaymentReferenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/PrepaidPaymentReferenceIDType.cs index 75feb78..7b7dc8e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PrepaidPaymentReferenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PrepaidPaymentReferenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PrepaidPaymentReferenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PrepaidPaymentReferenceIDType : IdentifierType1 { - } + public static implicit operator PrepaidPaymentReferenceIDType(string val) + { + return new PrepaidPaymentReferenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreviousCancellationReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreviousCancellationReasonCodeType.cs index 638058b..f75fd89 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreviousCancellationReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreviousCancellationReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreviousCancellationReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreviousCancellationReasonCodeType : CodeType1 { - } + public static implicit operator PreviousCancellationReasonCodeType(string val) + { + return new PreviousCancellationReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreviousJobIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreviousJobIDType.cs index 66e0980..0d4da89 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreviousJobIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreviousJobIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreviousJobID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreviousJobIDType : IdentifierType1 { - } + public static implicit operator PreviousJobIDType(string val) + { + return new PreviousJobIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterQuantityType.cs index f416e12..7426f99 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreviousMeterQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreviousMeterQuantityType : QuantityType1 { - } + public static implicit operator PreviousMeterQuantityType(decimal val) + { + return new PreviousMeterQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingDateType.cs index eb32d62..fece949 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreviousMeterReadingDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreviousMeterReadingDateType : DateType { - } + public static implicit operator PreviousMeterReadingDateType(System.DateTime val) + { + return new PreviousMeterReadingDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingMethodCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingMethodCodeType.cs index 70baaf9..b691eb3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingMethodCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingMethodCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreviousMeterReadingMethodCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreviousMeterReadingMethodCodeType : CodeType1 { - } + public static implicit operator PreviousMeterReadingMethodCodeType(string val) + { + return new PreviousMeterReadingMethodCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingMethodType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingMethodType.cs index 0fc441c..60b8818 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingMethodType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreviousMeterReadingMethodType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreviousMeterReadingMethod", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreviousMeterReadingMethodType : TextType1 { - } + public static implicit operator PreviousMeterReadingMethodType(string val) + { + return new PreviousMeterReadingMethodType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PreviousVersionIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/PreviousVersionIDType.cs index 1a638b0..3e14308 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PreviousVersionIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PreviousVersionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PreviousVersionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PreviousVersionIDType : IdentifierType1 { - } + public static implicit operator PreviousVersionIDType(string val) + { + return new PreviousVersionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PriceAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/PriceAmountType.cs index e8fb434..d087f61 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PriceAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PriceAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PriceAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PriceAmountType : AmountType1 { - } + public static implicit operator PriceAmountType(decimal val) + { + return new PriceAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PriceChangeReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/PriceChangeReasonType.cs index d8074b5..00cf6b8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PriceChangeReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PriceChangeReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PriceChangeReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PriceChangeReasonType : TextType1 { - } + public static implicit operator PriceChangeReasonType(string val) + { + return new PriceChangeReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PriceEvaluationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PriceEvaluationCodeType.cs index ccf865f..cef386c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PriceEvaluationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PriceEvaluationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PriceEvaluationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PriceEvaluationCodeType : CodeType1 { - } + public static implicit operator PriceEvaluationCodeType(string val) + { + return new PriceEvaluationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PriceRevisionFormulaDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/PriceRevisionFormulaDescriptionType.cs index 6d8ed6b..e839423 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PriceRevisionFormulaDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PriceRevisionFormulaDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PriceRevisionFormulaDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PriceRevisionFormulaDescriptionType : TextType1 { - } + public static implicit operator PriceRevisionFormulaDescriptionType(string val) + { + return new PriceRevisionFormulaDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PriceTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PriceTypeCodeType.cs index d05ba1c..0db649c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PriceTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PriceTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PriceTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PriceTypeCodeType : CodeType1 { - } + public static implicit operator PriceTypeCodeType(string val) + { + return new PriceTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PriceTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PriceTypeType.cs index a05390d..7ab73b3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PriceTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PriceTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PriceType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PriceTypeType : TextType1 { - } + public static implicit operator PriceTypeType(string val) + { + return new PriceTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PricingCurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PricingCurrencyCodeType.cs index 87581f0..2bfea7e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PricingCurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PricingCurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PricingCurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PricingCurrencyCodeType : CodeType1 { - } + public static implicit operator PricingCurrencyCodeType(string val) + { + return new PricingCurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PricingUpdateRequestIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/PricingUpdateRequestIndicatorType.cs index 5180d97..7e4edbc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PricingUpdateRequestIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PricingUpdateRequestIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PricingUpdateRequestIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PricingUpdateRequestIndicatorType : IndicatorType { - } + public static implicit operator PricingUpdateRequestIndicatorType(bool val) + { + return new PricingUpdateRequestIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PrimaryAccountNumberIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/PrimaryAccountNumberIDType.cs index 8f3efa4..8bda5c9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PrimaryAccountNumberIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PrimaryAccountNumberIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PrimaryAccountNumberID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PrimaryAccountNumberIDType : IdentifierType1 { - } + public static implicit operator PrimaryAccountNumberIDType(string val) + { + return new PrimaryAccountNumberIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PrintQualifierType.cs b/Ubl-Tr/Common/CommonBasicComponents/PrintQualifierType.cs index 895edff..f51fe4c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PrintQualifierType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PrintQualifierType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PrintQualifier", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PrintQualifierType : TextType1 { - } + public static implicit operator PrintQualifierType(string val) + { + return new PrintQualifierType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PriorityType.cs b/Ubl-Tr/Common/CommonBasicComponents/PriorityType.cs index 825a35f..00655b8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PriorityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PriorityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Priority", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PriorityType : TextType1 { - } + public static implicit operator PriorityType(string val) + { + return new PriorityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PrivacyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PrivacyCodeType.cs index fe5323f..137aa2e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PrivacyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PrivacyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PrivacyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PrivacyCodeType : CodeType1 { - } + public static implicit operator PrivacyCodeType(string val) + { + return new PrivacyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PrizeDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/PrizeDescriptionType.cs index 9d312e4..68208c1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PrizeDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PrizeDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PrizeDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PrizeDescriptionType : TextType1 { - } + public static implicit operator PrizeDescriptionType(string val) + { + return new PrizeDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PrizeIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/PrizeIndicatorType.cs index 8b42fdc..c84be2d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PrizeIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PrizeIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PrizeIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PrizeIndicatorType : IndicatorType { - } + public static implicit operator PrizeIndicatorType(bool val) + { + return new PrizeIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProcedureCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProcedureCodeType.cs index 241ee79..745c494 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProcedureCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProcedureCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProcedureCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProcedureCodeType : CodeType1 { - } + public static implicit operator ProcedureCodeType(string val) + { + return new ProcedureCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProcessDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProcessDescriptionType.cs index e56c3e6..ab5c1f7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProcessDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProcessDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProcessDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProcessDescriptionType : TextType1 { - } + public static implicit operator ProcessDescriptionType(string val) + { + return new ProcessDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProcessReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProcessReasonCodeType.cs index d450e8e..d3f608c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProcessReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProcessReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProcessReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProcessReasonCodeType : CodeType1 { - } + public static implicit operator ProcessReasonCodeType(string val) + { + return new ProcessReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProcessReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProcessReasonType.cs index 18efce8..ec0ed4b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProcessReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProcessReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProcessReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProcessReasonType : TextType1 { - } + public static implicit operator ProcessReasonType(string val) + { + return new ProcessReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProcurementSubTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProcurementSubTypeCodeType.cs index 3137940..31d3488 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProcurementSubTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProcurementSubTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProcurementSubTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProcurementSubTypeCodeType : CodeType1 { - } + public static implicit operator ProcurementSubTypeCodeType(string val) + { + return new ProcurementSubTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProcurementTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProcurementTypeCodeType.cs index 0eb5350..530228b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProcurementTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProcurementTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProcurementTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProcurementTypeCodeType : CodeType1 { - } + public static implicit operator ProcurementTypeCodeType(string val) + { + return new ProcurementTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProductTraceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProductTraceIDType.cs index 473e68e..9b484a8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProductTraceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProductTraceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProductTraceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProductTraceIDType : IdentifierType1 { - } + public static implicit operator ProductTraceIDType(string val) + { + return new ProductTraceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProfileExecutionIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProfileExecutionIDType.cs index a32169b..0a3d013 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProfileExecutionIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProfileExecutionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProfileExecutionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProfileExecutionIDType : IdentifierType1 { - } + public static implicit operator ProfileExecutionIDType(string val) + { + return new ProfileExecutionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProfileIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProfileIDType.cs index 31ed4d4..035ae0d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProfileIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProfileIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProfileID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProfileIDType : IdentifierType1 { - } + public static implicit operator ProfileIDType(string val) + { + return new ProfileIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProfileStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProfileStatusCodeType.cs index d2ff11d..e0e7973 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProfileStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProfileStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProfileStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProfileStatusCodeType : CodeType1 { - } + public static implicit operator ProfileStatusCodeType(string val) + { + return new ProfileStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProgressPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProgressPercentType.cs index bec9eca..ffec90b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProgressPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProgressPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProgressPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProgressPercentType : PercentType { - } + public static implicit operator ProgressPercentType(decimal val) + { + return new ProgressPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PromotionalEventTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PromotionalEventTypeCodeType.cs index 8b67a2b..5a84259 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PromotionalEventTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PromotionalEventTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PromotionalEventTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PromotionalEventTypeCodeType : CodeType1 { - } + public static implicit operator PromotionalEventTypeCodeType(string val) + { + return new PromotionalEventTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ProviderTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ProviderTypeCodeType.cs index 101995d..4d8f3bb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ProviderTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ProviderTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ProviderTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ProviderTypeCodeType : CodeType1 { - } + public static implicit operator ProviderTypeCodeType(string val) + { + return new ProviderTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PublishAwardIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/PublishAwardIndicatorType.cs index 5e20719..6646d7d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PublishAwardIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PublishAwardIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PublishAwardIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PublishAwardIndicatorType : IndicatorType { - } + public static implicit operator PublishAwardIndicatorType(bool val) + { + return new PublishAwardIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PurposeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PurposeCodeType.cs index 86f7dca..4f8ad38 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PurposeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PurposeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("PurposeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PurposeCodeType : CodeType1 { - } + public static implicit operator PurposeCodeType(string val) + { + return new PurposeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/PurposeType.cs b/Ubl-Tr/Common/CommonBasicComponents/PurposeType.cs index 963e420..6c488a2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/PurposeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/PurposeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Purpose", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class PurposeType : TextType1 { - } + public static implicit operator PurposeType(string val) + { + return new PurposeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/QualityControlCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/QualityControlCodeType.cs index 96d9847..3c82719 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/QualityControlCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/QualityControlCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("QualityControlCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class QualityControlCodeType : CodeType1 { - } + public static implicit operator QualityControlCodeType(string val) + { + return new QualityControlCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/QuantityDiscrepancyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/QuantityDiscrepancyCodeType.cs index ba1be89..745b631 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/QuantityDiscrepancyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/QuantityDiscrepancyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("QuantityDiscrepancyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class QuantityDiscrepancyCodeType : CodeType1 { - } + public static implicit operator QuantityDiscrepancyCodeType(string val) + { + return new QuantityDiscrepancyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/QuantityType2.cs b/Ubl-Tr/Common/CommonBasicComponents/QuantityType2.cs index 1bdba82..4377958 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/QuantityType2.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/QuantityType2.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Quantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class QuantityType2 : QuantityType1 { + public static implicit operator QuantityType2(decimal val) + { + return new QuantityType2 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RadioCallSignIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/RadioCallSignIDType.cs index 4dd1333..0424d54 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RadioCallSignIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RadioCallSignIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RadioCallSignID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RadioCallSignIDType : IdentifierType1 { - } + public static implicit operator RadioCallSignIDType(string val) + { + return new RadioCallSignIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RailCarIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/RailCarIDType.cs index 12faf68..91d9a30 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RailCarIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RailCarIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RailCarID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RailCarIDType : IdentifierType1 { - } + public static implicit operator RailCarIDType(string val) + { + return new RailCarIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RankType.cs b/Ubl-Tr/Common/CommonBasicComponents/RankType.cs index ec45875..5666bee 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RankType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RankType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Rank", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RankType : TextType1 { - } + public static implicit operator RankType(string val) + { + return new RankType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RateType1.cs b/Ubl-Tr/Common/CommonBasicComponents/RateType1.cs index 298e84a..7e44c78 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RateType1.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RateType1.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Rate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RateType1 : RateType { + public static implicit operator RateType1(decimal val) + { + return new RateType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReceiptAdviceTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReceiptAdviceTypeCodeType.cs index bf86739..7a1e8e3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReceiptAdviceTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReceiptAdviceTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReceiptAdviceTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReceiptAdviceTypeCodeType : CodeType1 { - } + public static implicit operator ReceiptAdviceTypeCodeType(string val) + { + return new ReceiptAdviceTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReceivedDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReceivedDateType.cs index a9ab289..863cf19 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReceivedDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReceivedDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReceivedDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReceivedDateType : DateType { - } + public static implicit operator ReceivedDateType(System.DateTime val) + { + return new ReceivedDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReceivedElectronicTenderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReceivedElectronicTenderQuantityType.cs index 8e49305..c745cf9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReceivedElectronicTenderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReceivedElectronicTenderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReceivedElectronicTenderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReceivedElectronicTenderQuantityType : QuantityType1 { - } + public static implicit operator ReceivedElectronicTenderQuantityType(decimal val) + { + return new ReceivedElectronicTenderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReceivedForeignTenderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReceivedForeignTenderQuantityType.cs index d834ec6..7060d83 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReceivedForeignTenderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReceivedForeignTenderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReceivedForeignTenderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReceivedForeignTenderQuantityType : QuantityType1 { - } + public static implicit operator ReceivedForeignTenderQuantityType(decimal val) + { + return new ReceivedForeignTenderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReceivedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReceivedQuantityType.cs index 4a219be..fd6da0a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReceivedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReceivedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReceivedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReceivedQuantityType : QuantityType1 { - } + public static implicit operator ReceivedQuantityType(decimal val) + { + return new ReceivedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReceivedTenderQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReceivedTenderQuantityType.cs index 5a598e5..120e7e8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReceivedTenderQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReceivedTenderQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReceivedTenderQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReceivedTenderQuantityType : QuantityType1 { - } + public static implicit operator ReceivedTenderQuantityType(decimal val) + { + return new ReceivedTenderQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReferenceDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReferenceDateType.cs index b5ed814..942e2d9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReferenceDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReferenceDateType.cs @@ -1,3 +1,5 @@ +using System; + namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] @@ -7,5 +9,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReferenceDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReferenceDateType : DateType { - } + public static implicit operator ReferenceDateType(DateTime val) + { + return new ReferenceDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReferenceEventCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReferenceEventCodeType.cs index be75d35..4c2e7ea 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReferenceEventCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReferenceEventCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReferenceEventCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReferenceEventCodeType : CodeType1 { - } + public static implicit operator ReferenceEventCodeType(string val) + { + return new ReferenceEventCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReferenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReferenceIDType.cs index b927f74..c7f2a26 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReferenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReferenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReferenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReferenceIDType : IdentifierType1 { - } + public static implicit operator ReferenceIDType(string val) + { + return new ReferenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReferenceTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReferenceTimeType.cs index 3b0f250..f56749e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReferenceTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReferenceTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReferenceTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReferenceTimeType : TimeType { - } + public static implicit operator ReferenceTimeType(System.DateTime val) + { + return new ReferenceTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReferenceType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReferenceType.cs index ea1e5b3..3cecce3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReferenceType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReferenceType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Reference", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReferenceType : TextType1 { - } + public static implicit operator ReferenceType(string val) + { + return new ReferenceType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReferencedConsignmentIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReferencedConsignmentIDType.cs index e3c37aa..733d728 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReferencedConsignmentIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReferencedConsignmentIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReferencedConsignmentID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReferencedConsignmentIDType : IdentifierType1 { - } + public static implicit operator ReferencedConsignmentIDType(string val) + { + return new ReferencedConsignmentIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RefrigeratedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/RefrigeratedIndicatorType.cs index 03dbe7d..7cfebb7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RefrigeratedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RefrigeratedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RefrigeratedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RefrigeratedIndicatorType : IndicatorType { - } + public static implicit operator RefrigeratedIndicatorType(bool val) + { + return new RefrigeratedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RefrigerationOnIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/RefrigerationOnIndicatorType.cs index 343346e..2f0ae69 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RefrigerationOnIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RefrigerationOnIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RefrigerationOnIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RefrigerationOnIndicatorType : IndicatorType { - } + public static implicit operator RefrigerationOnIndicatorType(bool val) + { + return new RefrigerationOnIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegionType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegionType.cs index 98288e7..9507a6e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Region", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegionType : TextType1 { - } + public static implicit operator RegionType(string val) + { + return new RegionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegisteredDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegisteredDateType.cs index 30b4295..4d5add7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegisteredDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegisteredDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegisteredDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegisteredDateType : DateType { - } + public static implicit operator RegisteredDateType(System.DateTime val) + { + return new RegisteredDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegisteredTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegisteredTimeType.cs index 497e097..fdf5c42 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegisteredTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegisteredTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegisteredTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegisteredTimeType : TimeType { - } + public static implicit operator RegisteredTimeType(System.DateTime val) + { + return new RegisteredTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegistrationDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegistrationDateType.cs index f133e3a..3ae995f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegistrationDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegistrationDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegistrationDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegistrationDateType : DateType { - } + public static implicit operator RegistrationDateType(System.DateTime val) + { + return new RegistrationDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegistrationExpirationDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegistrationExpirationDateType.cs index 3b4e3d0..a76a787 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegistrationExpirationDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegistrationExpirationDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegistrationExpirationDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegistrationExpirationDateType : DateType { - } + public static implicit operator RegistrationExpirationDateType(System.DateTime val) + { + return new RegistrationExpirationDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegistrationIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegistrationIDType.cs index a8d2a5e..08b349f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegistrationIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegistrationIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegistrationID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegistrationIDType : IdentifierType1 { - } + public static implicit operator RegistrationIDType(string val) + { + return new RegistrationIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegistrationNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegistrationNameType.cs index f04240a..a7beeca 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegistrationNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegistrationNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegistrationName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegistrationNameType : NameType { - } + public static implicit operator RegistrationNameType(string val) + { + return new RegistrationNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegistrationNationalityIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegistrationNationalityIDType.cs index 4847ef7..2d8dd34 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegistrationNationalityIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegistrationNationalityIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegistrationNationalityID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegistrationNationalityIDType : IdentifierType1 { - } + public static implicit operator RegistrationNationalityIDType(string val) + { + return new RegistrationNationalityIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegistrationNationalityType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegistrationNationalityType.cs index 5275762..b9709d9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegistrationNationalityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegistrationNationalityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegistrationNationality", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegistrationNationalityType : TextType1 { - } + public static implicit operator RegistrationNationalityType(string val) + { + return new RegistrationNationalityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RegulatoryDomainType.cs b/Ubl-Tr/Common/CommonBasicComponents/RegulatoryDomainType.cs index 32f2b8c..fb93151 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RegulatoryDomainType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RegulatoryDomainType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RegulatoryDomain", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RegulatoryDomainType : TextType1 { - } + public static implicit operator RegulatoryDomainType(string val) + { + return new RegulatoryDomainType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RejectActionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RejectActionCodeType.cs index 458b33e..22cc5da 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RejectActionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RejectActionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RejectActionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RejectActionCodeType : CodeType1 { - } + public static implicit operator RejectActionCodeType(string val) + { + return new RejectActionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RejectReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RejectReasonCodeType.cs index 6de29cd..f225f6a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RejectReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RejectReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RejectReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RejectReasonCodeType : CodeType1 { - } + public static implicit operator RejectReasonCodeType(string val) + { + return new RejectReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RejectReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/RejectReasonType.cs index befb8ca..851b81a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RejectReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RejectReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RejectReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RejectReasonType : TextType1 { - } + public static implicit operator RejectReasonType(string val) + { + return new RejectReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RejectedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/RejectedQuantityType.cs index cc50252..130c362 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RejectedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RejectedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RejectedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RejectedQuantityType : QuantityType1 { - } + public static implicit operator RejectedQuantityType(decimal val) + { + return new RejectedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RejectionNoteType.cs b/Ubl-Tr/Common/CommonBasicComponents/RejectionNoteType.cs index b3065f2..43b7610 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RejectionNoteType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RejectionNoteType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RejectionNote", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RejectionNoteType : TextType1 { - } + public static implicit operator RejectionNoteType(string val) + { + return new RejectionNoteType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReleaseIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReleaseIDType.cs index 099ff51..bd2605e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReleaseIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReleaseIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReleaseID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReleaseIDType : IdentifierType1 { - } + public static implicit operator ReleaseIDType(string val) + { + return new ReleaseIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReliabilityPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReliabilityPercentType.cs index ad7b6a5..41b8c43 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReliabilityPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReliabilityPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReliabilityPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReliabilityPercentType : PercentType { - } + public static implicit operator ReliabilityPercentType(decimal val) + { + return new ReliabilityPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RemarksType.cs b/Ubl-Tr/Common/CommonBasicComponents/RemarksType.cs index 17612c8..db356c4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RemarksType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RemarksType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Remarks", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RemarksType : TextType1 { - } + public static implicit operator RemarksType(string val) + { + return new RemarksType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReminderSequenceNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReminderSequenceNumericType.cs index fc506d3..12e436d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReminderSequenceNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReminderSequenceNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReminderSequenceNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReminderSequenceNumericType : NumericType1 { - } + public static implicit operator ReminderSequenceNumericType(decimal val) + { + return new ReminderSequenceNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReminderTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReminderTypeCodeType.cs index fac7532..9ffeca5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReminderTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReminderTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReminderTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReminderTypeCodeType : CodeType1 { - } + public static implicit operator ReminderTypeCodeType(string val) + { + return new ReminderTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReplenishmentOwnerDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReplenishmentOwnerDescriptionType.cs index f5c3999..ac691f8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReplenishmentOwnerDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReplenishmentOwnerDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReplenishmentOwnerDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReplenishmentOwnerDescriptionType : TextType1 { - } + public static implicit operator ReplenishmentOwnerDescriptionType(string val) + { + return new ReplenishmentOwnerDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequestForQuotationLineIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequestForQuotationLineIDType.cs index 1ea99c5..ddde280 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequestForQuotationLineIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequestForQuotationLineIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequestForQuotationLineID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequestForQuotationLineIDType : IdentifierType1 { - } + public static implicit operator RequestForQuotationLineIDType(string val) + { + return new RequestForQuotationLineIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequestedDeliveryDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequestedDeliveryDateType.cs index f98c0d3..23d126d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequestedDeliveryDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequestedDeliveryDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequestedDeliveryDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequestedDeliveryDateType : DateType { - } + public static implicit operator RequestedDeliveryDateType(System.DateTime val) + { + return new RequestedDeliveryDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequestedDespatchDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequestedDespatchDateType.cs index 774c7d2..f5d4cb6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequestedDespatchDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequestedDespatchDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequestedDespatchDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequestedDespatchDateType : DateType { - } + public static implicit operator RequestedDespatchDateType(System.DateTime val) + { + return new RequestedDespatchDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequestedDespatchTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequestedDespatchTimeType.cs index b7b386b..257b2b5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequestedDespatchTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequestedDespatchTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequestedDespatchTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequestedDespatchTimeType : TimeType { - } + public static implicit operator RequestedDespatchTimeType(System.DateTime val) + { + return new RequestedDespatchTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequestedInvoiceCurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequestedInvoiceCurrencyCodeType.cs index 391a5f1..9d8d2f5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequestedInvoiceCurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequestedInvoiceCurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequestedInvoiceCurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequestedInvoiceCurrencyCodeType : CodeType1 { - } + public static implicit operator RequestedInvoiceCurrencyCodeType(string val) + { + return new RequestedInvoiceCurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequestedPublicationDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequestedPublicationDateType.cs index a1899cb..f3b8882 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequestedPublicationDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequestedPublicationDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequestedPublicationDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequestedPublicationDateType : DateType { - } + public static implicit operator RequestedPublicationDateType(System.DateTime val) + { + return new RequestedPublicationDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequiredCurriculaIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequiredCurriculaIndicatorType.cs index 8432408..73468e0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequiredCurriculaIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequiredCurriculaIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequiredCurriculaIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequiredCurriculaIndicatorType : IndicatorType { - } + public static implicit operator RequiredCurriculaIndicatorType(bool val) + { + return new RequiredCurriculaIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequiredCustomsIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequiredCustomsIDType.cs index 3d087e4..1d2b6f3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequiredCustomsIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequiredCustomsIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequiredCustomsID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequiredCustomsIDType : IdentifierType1 { - } + public static implicit operator RequiredCustomsIDType(string val) + { + return new RequiredCustomsIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequiredDeliveryDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequiredDeliveryDateType.cs index 1910765..6a0db65 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequiredDeliveryDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequiredDeliveryDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequiredDeliveryDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequiredDeliveryDateType : DateType { - } + public static implicit operator RequiredDeliveryDateType(System.DateTime val) + { + return new RequiredDeliveryDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequiredDeliveryTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequiredDeliveryTimeType.cs index 4cf8eac..f3db55e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequiredDeliveryTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequiredDeliveryTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequiredDeliveryTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequiredDeliveryTimeType : TimeType { - } + public static implicit operator RequiredDeliveryTimeType(System.DateTime val) + { + return new RequiredDeliveryTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RequiredFeeAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/RequiredFeeAmountType.cs index 9395d85..97c4c9e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RequiredFeeAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RequiredFeeAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RequiredFeeAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RequiredFeeAmountType : AmountType1 { - } + public static implicit operator RequiredFeeAmountType(decimal val) + { + return new RequiredFeeAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResidenceTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResidenceTypeCodeType.cs index 0141d8d..e58edd9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResidenceTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResidenceTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResidenceTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResidenceTypeCodeType : CodeType1 { - } + public static implicit operator ResidenceTypeCodeType(string val) + { + return new ResidenceTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResidenceTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResidenceTypeType.cs index cda9b46..4eefd74 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResidenceTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResidenceTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResidenceType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResidenceTypeType : TextType1 { - } + public static implicit operator ResidenceTypeType(string val) + { + return new ResidenceTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResidentOccupantsNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResidentOccupantsNumericType.cs index 636a5f1..5ad8c08 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResidentOccupantsNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResidentOccupantsNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResidentOccupantsNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResidentOccupantsNumericType : NumericType1 { - } + public static implicit operator ResidentOccupantsNumericType(decimal val) + { + return new ResidentOccupantsNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResolutionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResolutionCodeType.cs index b9c8234..2fd06c0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResolutionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResolutionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResolutionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResolutionCodeType : CodeType1 { - } + public static implicit operator ResolutionCodeType(string val) + { + return new ResolutionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResolutionDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResolutionDateType.cs index 55b3099..a9f23ee 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResolutionDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResolutionDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResolutionDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResolutionDateType : DateType { - } + public static implicit operator ResolutionDateType(System.DateTime val) + { + return new ResolutionDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResolutionTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResolutionTimeType.cs index a43866f..8fd1a15 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResolutionTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResolutionTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResolutionTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResolutionTimeType : TimeType { - } + public static implicit operator ResolutionTimeType(System.DateTime val) + { + return new ResolutionTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResolutionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResolutionType.cs index aa9b702..61652fa 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResolutionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResolutionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Resolution", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResolutionType : TextType1 { - } + public static implicit operator ResolutionType(string val) + { + return new ResolutionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResponseCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResponseCodeType.cs index ea2f332..26b953f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResponseCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResponseCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResponseCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResponseCodeType : CodeType1 { - } + public static implicit operator ResponseCodeType(string val) + { + return new ResponseCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResponseDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResponseDateType.cs index a8244c9..7792f2a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResponseDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResponseDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResponseDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResponseDateType : DateType { - } + public static implicit operator ResponseDateType(System.DateTime val) + { + return new ResponseDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ResponseTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ResponseTimeType.cs index ee1bcdd..1a8885a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ResponseTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ResponseTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ResponseTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ResponseTimeType : TimeType { - } + public static implicit operator ResponseTimeType(System.DateTime val) + { + return new ResponseTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RetailEventNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/RetailEventNameType.cs index 1e1c3b0..dcb8ee8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RetailEventNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RetailEventNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RetailEventName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RetailEventNameType : NameType { - } + public static implicit operator RetailEventNameType(string val) + { + return new RetailEventNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RetailEventStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RetailEventStatusCodeType.cs index 45af006..ebd5543 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RetailEventStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RetailEventStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RetailEventStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RetailEventStatusCodeType : CodeType1 { - } + public static implicit operator RetailEventStatusCodeType(string val) + { + return new RetailEventStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReturnabilityIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReturnabilityIndicatorType.cs index a6aee57..b4a45f4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReturnabilityIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReturnabilityIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReturnabilityIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReturnabilityIndicatorType : IndicatorType { - } + public static implicit operator ReturnabilityIndicatorType(bool val) + { + return new ReturnabilityIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReturnableMaterialIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReturnableMaterialIndicatorType.cs index 9c001e7..24cbad7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReturnableMaterialIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReturnableMaterialIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReturnableMaterialIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReturnableMaterialIndicatorType : IndicatorType { - } + public static implicit operator ReturnableMaterialIndicatorType(bool val) + { + return new ReturnableMaterialIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ReturnableQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ReturnableQuantityType.cs index c0538f9..391b315 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ReturnableQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ReturnableQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReturnableQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ReturnableQuantityType : QuantityType1 { - } + public static implicit operator ReturnableQuantityType(decimal val) + { + return new ReturnableQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RevisedForecastLineIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/RevisedForecastLineIDType.cs index 9c706e0..960230e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RevisedForecastLineIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RevisedForecastLineIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RevisedForecastLineID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RevisedForecastLineIDType : IdentifierType1 { - } + public static implicit operator RevisedForecastLineIDType(string val) + { + return new RevisedForecastLineIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RevisionDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/RevisionDateType.cs index 57b81d3..3f7b7ba 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RevisionDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RevisionDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RevisionDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RevisionDateType : DateType { - } + public static implicit operator RevisionDateType(System.DateTime val) + { + return new RevisionDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RevisionStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RevisionStatusCodeType.cs index 6a79b08..28262cb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RevisionStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RevisionStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RevisionStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RevisionStatusCodeType : CodeType1 { - } + public static implicit operator RevisionStatusCodeType(string val) + { + return new RevisionStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RevisionTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RevisionTimeType.cs index 07841e7..9d0ce74 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RevisionTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RevisionTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RevisionTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RevisionTimeType : TimeType { - } + public static implicit operator RevisionTimeType(System.DateTime val) + { + return new RevisionTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RoamingPartnerNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/RoamingPartnerNameType.cs index edbf296..6c3b595 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RoamingPartnerNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RoamingPartnerNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RoamingPartnerName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RoamingPartnerNameType : NameType { - } + public static implicit operator RoamingPartnerNameType(string val) + { + return new RoamingPartnerNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RoleCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/RoleCodeType.cs index 08616fe..f3b6243 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RoleCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RoleCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RoleCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RoleCodeType : CodeType1 { - } + public static implicit operator RoleCodeType(string val) + { + return new RoleCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RoleDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/RoleDescriptionType.cs index 45660e5..12e2f4b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RoleDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RoleDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RoleDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RoleDescriptionType : TextType1 { - } + public static implicit operator RoleDescriptionType(string val) + { + return new RoleDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RoomType.cs b/Ubl-Tr/Common/CommonBasicComponents/RoomType.cs index e87d52a..a541f1b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RoomType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RoomType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Room", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RoomType : TextType1 { - } + public static implicit operator RoomType(string val) + { + return new RoomType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/RoundingAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/RoundingAmountType.cs index 274847b..1363f02 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/RoundingAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/RoundingAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("RoundingAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class RoundingAmountType : AmountType1 { - } + public static implicit operator RoundingAmountType(decimal val) + { + return new RoundingAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SalesOrderIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SalesOrderIDType.cs index 7ca9f32..f2a2371 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SalesOrderIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SalesOrderIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SalesOrderID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SalesOrderIDType : IdentifierType1 { - } + public static implicit operator SalesOrderIDType(string val) + { + return new SalesOrderIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SalesOrderLineIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SalesOrderLineIDType.cs index e9aeca4..373cd7c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SalesOrderLineIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SalesOrderLineIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SalesOrderLineID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SalesOrderLineIDType : IdentifierType1 { - } + public static implicit operator SalesOrderLineIDType(string val) + { + return new SalesOrderLineIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SchemeURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/SchemeURIType.cs index 26b9e3c..b8a07d6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SchemeURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SchemeURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SchemeURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SchemeURIType : IdentifierType1 { - } + public static implicit operator SchemeURIType(string val) + { + return new SchemeURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SealIssuerTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SealIssuerTypeCodeType.cs index 3828577..80ee265 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SealIssuerTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SealIssuerTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SealIssuerTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SealIssuerTypeCodeType : CodeType1 { - } + public static implicit operator SealIssuerTypeCodeType(string val) + { + return new SealIssuerTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SealStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SealStatusCodeType.cs index 235df50..6fd7a53 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SealStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SealStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SealStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SealStatusCodeType : CodeType1 { - } + public static implicit operator SealStatusCodeType(string val) + { + return new SealStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SealingPartyTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SealingPartyTypeType.cs index 1631a5d..9442ef0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SealingPartyTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SealingPartyTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SealingPartyType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SealingPartyTypeType : TextType1 { - } + public static implicit operator SealingPartyTypeType(string val) + { + return new SealingPartyTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SecurityClassificationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SecurityClassificationCodeType.cs index 0593664..e0896d9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SecurityClassificationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SecurityClassificationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SecurityClassificationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SecurityClassificationCodeType : CodeType1 { - } + public static implicit operator SecurityClassificationCodeType(string val) + { + return new SecurityClassificationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SecurityIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SecurityIDType.cs index e111c2e..7e68e76 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SecurityIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SecurityIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SecurityID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SecurityIDType : IdentifierType1 { - } + public static implicit operator SecurityIDType(string val) + { + return new SecurityIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SellerEventIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SellerEventIDType.cs index a2b597f..1b50d6e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SellerEventIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SellerEventIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SellerEventID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SellerEventIDType : IdentifierType1 { - } + public static implicit operator SellerEventIDType(string val) + { + return new SellerEventIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SequenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SequenceIDType.cs index dc7c7ff..6459e89 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SequenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SequenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SequenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SequenceIDType : IdentifierType1 { - } + public static implicit operator SequenceIDType(string val) + { + return new SequenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SequenceNumberIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SequenceNumberIDType.cs index cccc43e..8971770 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SequenceNumberIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SequenceNumberIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SequenceNumberID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SequenceNumberIDType : IdentifierType1 { - } + public static implicit operator SequenceNumberIDType(string val) + { + return new SequenceNumberIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SequenceNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/SequenceNumericType.cs index 72b62b6..eef4f30 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SequenceNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SequenceNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SequenceNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SequenceNumericType : NumericType1 { - } + public static implicit operator SequenceNumericType(decimal val) + { + return new SequenceNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SerialIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SerialIDType.cs index 3646873..39e6e45 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SerialIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SerialIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SerialID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SerialIDType : IdentifierType1 { - } + public static implicit operator SerialIDType(string val) + { + return new SerialIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ServiceInformationPreferenceCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ServiceInformationPreferenceCodeType.cs index 4a9bf13..81e7154 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ServiceInformationPreferenceCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ServiceInformationPreferenceCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ServiceInformationPreferenceCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ServiceInformationPreferenceCodeType : CodeType1 { - } + public static implicit operator ServiceInformationPreferenceCodeType(string val) + { + return new ServiceInformationPreferenceCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ServiceNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/ServiceNameType.cs index 36679d2..780c4c4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ServiceNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ServiceNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ServiceName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ServiceNameType : NameType { - } + public static implicit operator ServiceNameType(string val) + { + return new ServiceNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ServiceNumberCalledType.cs b/Ubl-Tr/Common/CommonBasicComponents/ServiceNumberCalledType.cs index 9fe0227..426258a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ServiceNumberCalledType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ServiceNumberCalledType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ServiceNumberCalled", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ServiceNumberCalledType : TextType1 { - } + public static implicit operator ServiceNumberCalledType(string val) + { + return new ServiceNumberCalledType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ServiceTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ServiceTypeCodeType.cs index 4d2953d..dfdba63 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ServiceTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ServiceTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ServiceTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ServiceTypeCodeType : CodeType1 { - } + public static implicit operator ServiceTypeCodeType(string val) + { + return new ServiceTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ServiceTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ServiceTypeType.cs index 1e066a2..29c9263 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ServiceTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ServiceTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ServiceType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ServiceTypeType : TextType1 { - } + public static implicit operator ServiceTypeType(string val) + { + return new ServiceTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SettlementDiscountAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/SettlementDiscountAmountType.cs index 284b2c5..83191f9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SettlementDiscountAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SettlementDiscountAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SettlementDiscountAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SettlementDiscountAmountType : AmountType1 { - } + public static implicit operator SettlementDiscountAmountType(decimal val) + { + return new SettlementDiscountAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SettlementDiscountPercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/SettlementDiscountPercentType.cs index c0f8936..76b6d7d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SettlementDiscountPercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SettlementDiscountPercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SettlementDiscountPercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SettlementDiscountPercentType : PercentType { - } + public static implicit operator SettlementDiscountPercentType(decimal val) + { + return new SettlementDiscountPercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SharesNumberQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/SharesNumberQuantityType.cs index c04e891..e9f332d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SharesNumberQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SharesNumberQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SharesNumberQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SharesNumberQuantityType : QuantityType1 { - } + public static implicit operator SharesNumberQuantityType(decimal val) + { + return new SharesNumberQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ShippingMarksType.cs b/Ubl-Tr/Common/CommonBasicComponents/ShippingMarksType.cs index aad8efc..c8f5302 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ShippingMarksType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ShippingMarksType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ShippingMarks", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ShippingMarksType : TextType1 { - } + public static implicit operator ShippingMarksType(string val) + { + return new ShippingMarksType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ShippingOrderIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ShippingOrderIDType.cs index 9d6866a..c6521c2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ShippingOrderIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ShippingOrderIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ShippingOrderID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ShippingOrderIDType : IdentifierType1 { - } + public static implicit operator ShippingOrderIDType(string val) + { + return new ShippingOrderIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ShippingPriorityLevelCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ShippingPriorityLevelCodeType.cs index 59655ad..f7f1f89 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ShippingPriorityLevelCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ShippingPriorityLevelCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ShippingPriorityLevelCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ShippingPriorityLevelCodeType : CodeType1 { - } + public static implicit operator ShippingPriorityLevelCodeType(string val) + { + return new ShippingPriorityLevelCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ShipsRequirementsType.cs b/Ubl-Tr/Common/CommonBasicComponents/ShipsRequirementsType.cs index 4681367..571c737 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ShipsRequirementsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ShipsRequirementsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ShipsRequirements", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ShipsRequirementsType : TextType1 { - } + public static implicit operator ShipsRequirementsType(string val) + { + return new ShipsRequirementsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ShortQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ShortQuantityType.cs index 6e50b30..4dea047 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ShortQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ShortQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ShortQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ShortQuantityType : QuantityType1 { - } + public static implicit operator ShortQuantityType(decimal val) + { + return new ShortQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ShortageActionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ShortageActionCodeType.cs index 97c49a6..f30169e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ShortageActionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ShortageActionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ShortageActionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ShortageActionCodeType : CodeType1 { - } + public static implicit operator ShortageActionCodeType(string val) + { + return new ShortageActionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SignatureIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SignatureIDType.cs index a7fc786..8a7e206 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SignatureIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SignatureIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SignatureID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SignatureIDType : IdentifierType1 { - } + public static implicit operator SignatureIDType(string val) + { + return new SignatureIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SignatureMethodType.cs b/Ubl-Tr/Common/CommonBasicComponents/SignatureMethodType.cs index 1a0bee3..3bcd947 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SignatureMethodType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SignatureMethodType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SignatureMethod", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SignatureMethodType : TextType1 { - } + public static implicit operator SignatureMethodType(string val) + { + return new SignatureMethodType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SizeTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SizeTypeCodeType.cs index 6267799..8b8d67d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SizeTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SizeTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SizeTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SizeTypeCodeType : CodeType1 { - } + public static implicit operator SizeTypeCodeType(string val) + { + return new SizeTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SoleProprietorshipIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/SoleProprietorshipIndicatorType.cs index c8b1fd2..469a834 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SoleProprietorshipIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SoleProprietorshipIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SoleProprietorshipIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SoleProprietorshipIndicatorType : IndicatorType { - } + public static implicit operator SoleProprietorshipIndicatorType(bool val) + { + return new SoleProprietorshipIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SourceCurrencyBaseRateType.cs b/Ubl-Tr/Common/CommonBasicComponents/SourceCurrencyBaseRateType.cs index 48550fa..0c1421f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SourceCurrencyBaseRateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SourceCurrencyBaseRateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SourceCurrencyBaseRate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SourceCurrencyBaseRateType : RateType { - } + public static implicit operator SourceCurrencyBaseRateType(decimal val) + { + return new SourceCurrencyBaseRateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SourceCurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SourceCurrencyCodeType.cs index c330596..92d08df 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SourceCurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SourceCurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SourceCurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SourceCurrencyCodeType : CodeType1 { - } + public static implicit operator SourceCurrencyCodeType(string val) + { + return new SourceCurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SourceForecastIssueDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/SourceForecastIssueDateType.cs index 2c7f45e..23ed05c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SourceForecastIssueDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SourceForecastIssueDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SourceForecastIssueDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SourceForecastIssueDateType : DateType { - } + public static implicit operator SourceForecastIssueDateType(System.DateTime val) + { + return new SourceForecastIssueDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SourceForecastIssueTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SourceForecastIssueTimeType.cs index bf80349..f7b281a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SourceForecastIssueTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SourceForecastIssueTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SourceForecastIssueTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SourceForecastIssueTimeType : TimeType { - } + public static implicit operator SourceForecastIssueTimeType(System.DateTime val) + { + return new SourceForecastIssueTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SourceValueMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/SourceValueMeasureType.cs index 0fc29f5..7e61686 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SourceValueMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SourceValueMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SourceValueMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SourceValueMeasureType : MeasureType1 { - } + public static implicit operator SourceValueMeasureType(decimal val) + { + return new SourceValueMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SpecialInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/SpecialInstructionsType.cs index 4722d4c..1c23f16 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SpecialInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SpecialInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SpecialInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SpecialInstructionsType : TextType1 { - } + public static implicit operator SpecialInstructionsType(string val) + { + return new SpecialInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SpecialSecurityIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/SpecialSecurityIndicatorType.cs index 54de6ba..785901d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SpecialSecurityIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SpecialSecurityIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SpecialSecurityIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SpecialSecurityIndicatorType : IndicatorType { - } + public static implicit operator SpecialSecurityIndicatorType(bool val) + { + return new SpecialSecurityIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SpecialServiceInstructionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/SpecialServiceInstructionsType.cs index 6f42ce9..e03b2b5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SpecialServiceInstructionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SpecialServiceInstructionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SpecialServiceInstructions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SpecialServiceInstructionsType : TextType1 { - } + public static implicit operator SpecialServiceInstructionsType(string val) + { + return new SpecialServiceInstructionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SpecialTermsType.cs b/Ubl-Tr/Common/CommonBasicComponents/SpecialTermsType.cs index 3a480b2..944b195 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SpecialTermsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SpecialTermsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SpecialTerms", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SpecialTermsType : TextType1 { - } + public static implicit operator SpecialTermsType(string val) + { + return new SpecialTermsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SpecialTransportRequirementsType.cs b/Ubl-Tr/Common/CommonBasicComponents/SpecialTransportRequirementsType.cs index 8067963..dd17eb4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SpecialTransportRequirementsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SpecialTransportRequirementsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SpecialTransportRequirements", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SpecialTransportRequirementsType : TextType1 { - } + public static implicit operator SpecialTransportRequirementsType(string val) + { + return new SpecialTransportRequirementsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SpecificationIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SpecificationIDType.cs index 51660e4..2d19ced 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SpecificationIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SpecificationIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SpecificationID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SpecificationIDType : IdentifierType1 { - } + public static implicit operator SpecificationIDType(string val) + { + return new SpecificationIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SpecificationTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SpecificationTypeCodeType.cs index a5c5eb9..611ca2d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SpecificationTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SpecificationTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SpecificationTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SpecificationTypeCodeType : CodeType1 { - } + public static implicit operator SpecificationTypeCodeType(string val) + { + return new SpecificationTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SplitConsignmentIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/SplitConsignmentIndicatorType.cs index ed102a8..615e804 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SplitConsignmentIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SplitConsignmentIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SplitConsignmentIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SplitConsignmentIndicatorType : IndicatorType { - } + public static implicit operator SplitConsignmentIndicatorType(bool val) + { + return new SplitConsignmentIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/StartDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/StartDateType.cs index a86723f..71ed01d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/StartDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/StartDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("StartDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class StartDateType : DateType { - } + public static implicit operator StartDateType(System.DateTime val) + { + return new StartDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/StartTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/StartTimeType.cs index ee2af47..71a3349 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/StartTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/StartTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("StartTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class StartTimeType : TimeType { - } + public static implicit operator StartTimeType(System.DateTime val) + { + return new StartTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/StatementTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/StatementTypeCodeType.cs index 0aefe48..594364e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/StatementTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/StatementTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("StatementTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class StatementTypeCodeType : CodeType1 { - } + public static implicit operator StatementTypeCodeType(string val) + { + return new StatementTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/StatusAvailableIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/StatusAvailableIndicatorType.cs index 88cd33e..7441a98 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/StatusAvailableIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/StatusAvailableIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("StatusAvailableIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class StatusAvailableIndicatorType : IndicatorType { - } + public static implicit operator StatusAvailableIndicatorType(bool val) + { + return new StatusAvailableIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/StatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/StatusCodeType.cs index 659b825..a355c05 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/StatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/StatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("StatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class StatusCodeType : CodeType1 { - } + public static implicit operator StatusCodeType(string val) + { + return new StatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/StatusReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/StatusReasonCodeType.cs index 152c34f..f83efe3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/StatusReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/StatusReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("StatusReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class StatusReasonCodeType : CodeType1 { - } + public static implicit operator StatusReasonCodeType(string val) + { + return new StatusReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/StatusReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/StatusReasonType.cs index 01203ad..13d3d77 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/StatusReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/StatusReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("StatusReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class StatusReasonType : TextType1 { - } + public static implicit operator StatusReasonType(string val) + { + return new StatusReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/StreetNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/StreetNameType.cs index 8830293..69e8f2c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/StreetNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/StreetNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("StreetName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class StreetNameType : NameType { - } + public static implicit operator StreetNameType(string val) + { + return new StreetNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SubcontractingConditionsCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SubcontractingConditionsCodeType.cs index 6eab1ce..b5dc278 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SubcontractingConditionsCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SubcontractingConditionsCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SubcontractingConditionsCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SubcontractingConditionsCodeType : CodeType1 { - } + public static implicit operator SubcontractingConditionsCodeType(string val) + { + return new SubcontractingConditionsCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SubmissionDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/SubmissionDateType.cs index 164ecd3..342366e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SubmissionDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SubmissionDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SubmissionDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SubmissionDateType : DateType { - } + public static implicit operator SubmissionDateType(System.DateTime val) + { + return new SubmissionDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SubmissionDueDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/SubmissionDueDateType.cs index e3406d7..8bb0058 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SubmissionDueDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SubmissionDueDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SubmissionDueDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SubmissionDueDateType : DateType { - } + public static implicit operator SubmissionDueDateType(System.DateTime val) + { + return new SubmissionDueDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SubmissionMethodCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SubmissionMethodCodeType.cs index 59a4b6f..bf61961 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SubmissionMethodCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SubmissionMethodCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SubmissionMethodCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SubmissionMethodCodeType : CodeType1 { - } + public static implicit operator SubmissionMethodCodeType(string val) + { + return new SubmissionMethodCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SubscriberIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SubscriberIDType.cs index f0148e9..f139d79 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SubscriberIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SubscriberIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SubscriberID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SubscriberIDType : IdentifierType1 { - } + public static implicit operator SubscriberIDType(string val) + { + return new SubscriberIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SubscriberTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SubscriberTypeCodeType.cs index 59cbff1..9aa7498 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SubscriberTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SubscriberTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SubscriberTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SubscriberTypeCodeType : CodeType1 { - } + public static implicit operator SubscriberTypeCodeType(string val) + { + return new SubscriberTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SubscriberTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SubscriberTypeType.cs index bb0284e..bff7055 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SubscriberTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SubscriberTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SubscriberType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SubscriberTypeType : TextType1 { - } + public static implicit operator SubscriberTypeType(string val) + { + return new SubscriberTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SubstitutionStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SubstitutionStatusCodeType.cs index 44d25b9..ebc2454 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SubstitutionStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SubstitutionStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SubstitutionStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SubstitutionStatusCodeType : CodeType1 { - } + public static implicit operator SubstitutionStatusCodeType(string val) + { + return new SubstitutionStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SuccessiveSequenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SuccessiveSequenceIDType.cs index 4d4230d..74d86e2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SuccessiveSequenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SuccessiveSequenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SuccessiveSequenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SuccessiveSequenceIDType : IdentifierType1 { - } + public static implicit operator SuccessiveSequenceIDType(string val) + { + return new SuccessiveSequenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SummaryDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/SummaryDescriptionType.cs index 3c7d154..fc24979 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SummaryDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SummaryDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SummaryDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SummaryDescriptionType : TextType1 { - } + public static implicit operator SummaryDescriptionType(string val) + { + return new SummaryDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SupplierAssignedAccountIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/SupplierAssignedAccountIDType.cs index 98ea02c..1faeb8c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SupplierAssignedAccountIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SupplierAssignedAccountIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SupplierAssignedAccountID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SupplierAssignedAccountIDType : IdentifierType1 { - } + public static implicit operator SupplierAssignedAccountIDType(string val) + { + return new SupplierAssignedAccountIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/SupplyChainActivityTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/SupplyChainActivityTypeCodeType.cs index d017005..412bb03 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/SupplyChainActivityTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/SupplyChainActivityTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("SupplyChainActivityTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class SupplyChainActivityTypeCodeType : CodeType1 { - } + public static implicit operator SupplyChainActivityTypeCodeType(string val) + { + return new SupplyChainActivityTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TareWeightMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/TareWeightMeasureType.cs index 76e0387..1695718 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TareWeightMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TareWeightMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TareWeightMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TareWeightMeasureType : MeasureType1 { - } + public static implicit operator TareWeightMeasureType(decimal val) + { + return new TareWeightMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TargetCurrencyBaseRateType.cs b/Ubl-Tr/Common/CommonBasicComponents/TargetCurrencyBaseRateType.cs index f67635a..4c21c33 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TargetCurrencyBaseRateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TargetCurrencyBaseRateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TargetCurrencyBaseRate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TargetCurrencyBaseRateType : RateType { - } + public static implicit operator TargetCurrencyBaseRateType(decimal val) + { + return new TargetCurrencyBaseRateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TargetCurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TargetCurrencyCodeType.cs index 39fffca..3869312 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TargetCurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TargetCurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TargetCurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TargetCurrencyCodeType : CodeType1 { - } + public static implicit operator TargetCurrencyCodeType(string val) + { + return new TargetCurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TargetInventoryQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TargetInventoryQuantityType.cs index a77de3f..6ae6cf1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TargetInventoryQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TargetInventoryQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TargetInventoryQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TargetInventoryQuantityType : QuantityType1 { - } + public static implicit operator TargetInventoryQuantityType(decimal val) + { + return new TargetInventoryQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TargetServicePercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/TargetServicePercentType.cs index a18518b..019957d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TargetServicePercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TargetServicePercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TargetServicePercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TargetServicePercentType : PercentType { - } + public static implicit operator TargetServicePercentType(decimal val) + { + return new TargetServicePercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TariffClassCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TariffClassCodeType.cs index 54d4344..771e449 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TariffClassCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TariffClassCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TariffClassCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TariffClassCodeType : CodeType1 { - } + public static implicit operator TariffClassCodeType(string val) + { + return new TariffClassCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TariffCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TariffCodeType.cs index a2d7c75..732fbc5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TariffCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TariffCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TariffCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TariffCodeType : CodeType1 { - } + public static implicit operator TariffCodeType(string val) + { + return new TariffCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TariffDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/TariffDescriptionType.cs index 8095733..ad8b68a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TariffDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TariffDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TariffDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TariffDescriptionType : TextType1 { - } + public static implicit operator TariffDescriptionType(string val) + { + return new TariffDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxAmountType.cs index de8fe31..437828e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxAmountType : AmountType1 { - } + public static implicit operator TaxAmountType(decimal val) + { + return new TaxAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxCurrencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxCurrencyCodeType.cs index 9777c56..aacede9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxCurrencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxCurrencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxCurrencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxCurrencyCodeType : CodeType1 { - } + public static implicit operator TaxCurrencyCodeType(string val) + { + return new TaxCurrencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyAmountType.cs index 1c9c82b..cf2c126 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxEnergyAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxEnergyAmountType : AmountType1 { - } + public static implicit operator TaxEnergyAmountType(decimal val) + { + return new TaxEnergyAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyBalanceAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyBalanceAmountType.cs index cc838ad..0f7f4fa 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyBalanceAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyBalanceAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxEnergyBalanceAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxEnergyBalanceAmountType : AmountType1 { - } + public static implicit operator TaxEnergyBalanceAmountType(decimal val) + { + return new TaxEnergyBalanceAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyOnAccountAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyOnAccountAmountType.cs index 2cb6b26..22f1f24 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyOnAccountAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxEnergyOnAccountAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxEnergyOnAccountAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxEnergyOnAccountAmountType : AmountType1 { - } + public static implicit operator TaxEnergyOnAccountAmountType(decimal val) + { + return new TaxEnergyOnAccountAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxEvidenceIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxEvidenceIndicatorType.cs index 789710e..943c963 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxEvidenceIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxEvidenceIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxEvidenceIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxEvidenceIndicatorType : IndicatorType { - } + public static implicit operator TaxEvidenceIndicatorType(bool val) + { + return new TaxEvidenceIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxExclusiveAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxExclusiveAmountType.cs index 6441d5e..0866c78 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxExclusiveAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxExclusiveAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxExclusiveAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxExclusiveAmountType : AmountType1 { - } + public static implicit operator TaxExclusiveAmountType(decimal val) + { + return new TaxExclusiveAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxExemptionReasonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxExemptionReasonCodeType.cs index c09c292..4b78b73 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxExemptionReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxExemptionReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxExemptionReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxExemptionReasonCodeType : CodeType1 { - } + public static implicit operator TaxExemptionReasonCodeType(string val) + { + return new TaxExemptionReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxExemptionReasonType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxExemptionReasonType.cs index b93721a..64b526b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxExemptionReasonType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxExemptionReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxExemptionReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxExemptionReasonType : TextType1 { - } + public static implicit operator TaxExemptionReasonType(string val) + { + return new TaxExemptionReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxIncludedIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxIncludedIndicatorType.cs index bffa573..4c96b35 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxIncludedIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxIncludedIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxIncludedIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxIncludedIndicatorType : IndicatorType { - } + public static implicit operator TaxIncludedIndicatorType(bool val) + { + return new TaxIncludedIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxInclusiveAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxInclusiveAmountType.cs index a5834a1..2cd715f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxInclusiveAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxInclusiveAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxInclusiveAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxInclusiveAmountType : AmountType1 { - } + public static implicit operator TaxInclusiveAmountType(decimal val) + { + return new TaxInclusiveAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxLevelCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxLevelCodeType.cs index 4b78235..dc15461 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxLevelCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxLevelCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxLevelCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxLevelCodeType : CodeType1 { - } + public static implicit operator TaxLevelCodeType(string val) + { + return new TaxLevelCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxPointDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxPointDateType.cs index 35d8c59..cd138c9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxPointDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxPointDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxPointDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxPointDateType : DateType { - } + public static implicit operator TaxPointDateType(System.DateTime val) + { + return new TaxPointDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxTypeCodeType.cs index 8eaec48..ddfe8e2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxTypeCodeType : CodeType1 { - } + public static implicit operator TaxTypeCodeType(string val) + { + return new TaxTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TaxableAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TaxableAmountType.cs index 401f8f6..e94215a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TaxableAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TaxableAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TaxableAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TaxableAmountType : AmountType1 { - } + public static implicit operator TaxableAmountType(decimal val) + { + return new TaxableAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TechnicalCommitteeDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/TechnicalCommitteeDescriptionType.cs index 90036af..2b46936 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TechnicalCommitteeDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TechnicalCommitteeDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TechnicalCommitteeDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TechnicalCommitteeDescriptionType : TextType1 { - } + public static implicit operator TechnicalCommitteeDescriptionType(string val) + { + return new TechnicalCommitteeDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TechnicalNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/TechnicalNameType.cs index 76083b3..69eec44 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TechnicalNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TechnicalNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TechnicalName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TechnicalNameType : NameType { - } + public static implicit operator TechnicalNameType(string val) + { + return new TechnicalNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCallCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCallCodeType.cs index 4dbb73d..b5238c0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCallCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCallCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TelecommunicationsServiceCallCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TelecommunicationsServiceCallCodeType : CodeType1 { - } + public static implicit operator TelecommunicationsServiceCallCodeType(string val) + { + return new TelecommunicationsServiceCallCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCallType.cs b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCallType.cs index 36d8770..65efa75 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCallType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCallType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TelecommunicationsServiceCall", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TelecommunicationsServiceCallType : TextType1 { - } + public static implicit operator TelecommunicationsServiceCallType(string val) + { + return new TelecommunicationsServiceCallType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCategoryCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCategoryCodeType.cs index 8e99eab..3eb2a51 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCategoryCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCategoryCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TelecommunicationsServiceCategoryCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TelecommunicationsServiceCategoryCodeType : CodeType1 { - } + public static implicit operator TelecommunicationsServiceCategoryCodeType(string val) + { + return new TelecommunicationsServiceCategoryCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCategoryType.cs b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCategoryType.cs index 27caff7..8316750 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCategoryType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsServiceCategoryType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TelecommunicationsServiceCategory", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TelecommunicationsServiceCategoryType : TextType1 { - } + public static implicit operator TelecommunicationsServiceCategoryType(string val) + { + return new TelecommunicationsServiceCategoryType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsSupplyTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsSupplyTypeCodeType.cs index 11fae4d..241cb54 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsSupplyTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsSupplyTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TelecommunicationsSupplyTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TelecommunicationsSupplyTypeCodeType : CodeType1 { - } + public static implicit operator TelecommunicationsSupplyTypeCodeType(string val) + { + return new TelecommunicationsSupplyTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsSupplyTypeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsSupplyTypeType.cs index fb86c47..40f3286 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsSupplyTypeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TelecommunicationsSupplyTypeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TelecommunicationsSupplyType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TelecommunicationsSupplyTypeType : TextType1 { - } + public static implicit operator TelecommunicationsSupplyTypeType(string val) + { + return new TelecommunicationsSupplyTypeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TelefaxType.cs b/Ubl-Tr/Common/CommonBasicComponents/TelefaxType.cs index 9c59b48..7a67a12 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TelefaxType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TelefaxType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Telefax", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TelefaxType : TextType1 { - } + public static implicit operator TelefaxType(string val) + { + return new TelefaxType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TelephoneType.cs b/Ubl-Tr/Common/CommonBasicComponents/TelephoneType.cs index 67baba6..d2eac49 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TelephoneType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TelephoneType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Telephone", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TelephoneType : TextType1 { - } + public static implicit operator TelephoneType(string val) + { + return new TelephoneType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TenderEnvelopeIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/TenderEnvelopeIDType.cs index 43953bb..64b115f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TenderEnvelopeIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TenderEnvelopeIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TenderEnvelopeID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TenderEnvelopeIDType : IdentifierType1 { - } + public static implicit operator TenderEnvelopeIDType(string val) + { + return new TenderEnvelopeIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TenderEnvelopeTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TenderEnvelopeTypeCodeType.cs index 9ff9f53..1a3a5b1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TenderEnvelopeTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TenderEnvelopeTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TenderEnvelopeTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TenderEnvelopeTypeCodeType : CodeType1 { - } + public static implicit operator TenderEnvelopeTypeCodeType(string val) + { + return new TenderEnvelopeTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TenderResultCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TenderResultCodeType.cs index 56d84da..5d6aef2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TenderResultCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TenderResultCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TenderResultCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TenderResultCodeType : CodeType1 { - } + public static implicit operator TenderResultCodeType(string val) + { + return new TenderResultCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TenderTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TenderTypeCodeType.cs index 8939332..346005f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TenderTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TenderTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TenderTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TenderTypeCodeType : CodeType1 { - } + public static implicit operator TenderTypeCodeType(string val) + { + return new TenderTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TendererRequirementTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TendererRequirementTypeCodeType.cs index 4c28d5a..1b6f144 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TendererRequirementTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TendererRequirementTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TendererRequirementTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TendererRequirementTypeCodeType : CodeType1 { - } + public static implicit operator TendererRequirementTypeCodeType(string val) + { + return new TendererRequirementTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TendererRoleCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TendererRoleCodeType.cs index e597dec..eaa4a6a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TendererRoleCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TendererRoleCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TendererRoleCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TendererRoleCodeType : CodeType1 { - } + public static implicit operator TendererRoleCodeType(string val) + { + return new TendererRoleCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TestMethodType.cs b/Ubl-Tr/Common/CommonBasicComponents/TestMethodType.cs index 49e5fc6..bfeb0a0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TestMethodType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TestMethodType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TestMethod", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TestMethodType : TextType1 { - } + public static implicit operator TestMethodType(string val) + { + return new TestMethodType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TextType2.cs b/Ubl-Tr/Common/CommonBasicComponents/TextType2.cs index f1e0bab..9abbbb6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TextType2.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TextType2.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Text", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TextType2 : TextType1 { + public static implicit operator TextType2(string val) + { + return new TextType2 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ThirdPartyPayerIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/ThirdPartyPayerIndicatorType.cs index a5f1db8..ae664da 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ThirdPartyPayerIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ThirdPartyPayerIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ThirdPartyPayerIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ThirdPartyPayerIndicatorType : IndicatorType { - } + public static implicit operator ThirdPartyPayerIndicatorType(bool val) + { + return new ThirdPartyPayerIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ThresholdAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/ThresholdAmountType.cs index b2d3b82..1100e43 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ThresholdAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ThresholdAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ThresholdAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ThresholdAmountType : AmountType1 { - } + public static implicit operator ThresholdAmountType(decimal val) + { + return new ThresholdAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ThresholdQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ThresholdQuantityType.cs index 2e4354d..0575de0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ThresholdQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ThresholdQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ThresholdQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ThresholdQuantityType : QuantityType1 { - } + public static implicit operator ThresholdQuantityType(decimal val) + { + return new ThresholdQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ThresholdValueComparisonCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ThresholdValueComparisonCodeType.cs index ed5894f..3371884 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ThresholdValueComparisonCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ThresholdValueComparisonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ThresholdValueComparisonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ThresholdValueComparisonCodeType : CodeType1 { - } + public static implicit operator ThresholdValueComparisonCodeType(string val) + { + return new ThresholdValueComparisonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TierRangeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TierRangeType.cs index 00ec325..24aedec 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TierRangeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TierRangeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TierRange", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TierRangeType : TextType1 { - } + public static implicit operator TierRangeType(string val) + { + return new TierRangeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TierRatePercentType.cs b/Ubl-Tr/Common/CommonBasicComponents/TierRatePercentType.cs index a677477..50810af 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TierRatePercentType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TierRatePercentType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TierRatePercent", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TierRatePercentType : PercentType { - } + public static implicit operator TierRatePercentType(decimal val) + { + return new TierRatePercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TimeAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TimeAmountType.cs index 7ec2497..f215af6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TimeAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TimeAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TimeAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TimeAmountType : TextType1 { - } + public static implicit operator TimeAmountType(string val) + { + return new TimeAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TimeDeltaDaysQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TimeDeltaDaysQuantityType.cs index fdee7ac..34f6064 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TimeDeltaDaysQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TimeDeltaDaysQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TimeDeltaDaysQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TimeDeltaDaysQuantityType : QuantityType1 { - } + public static implicit operator TimeDeltaDaysQuantityType(decimal val) + { + return new TimeDeltaDaysQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TimeFrequencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TimeFrequencyCodeType.cs index 0a3f894..aa35adb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TimeFrequencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TimeFrequencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TimeFrequencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TimeFrequencyCodeType : CodeType1 { - } + public static implicit operator TimeFrequencyCodeType(string val) + { + return new TimeFrequencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TimezoneOffsetType.cs b/Ubl-Tr/Common/CommonBasicComponents/TimezoneOffsetType.cs index 884795d..f1670c3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TimezoneOffsetType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TimezoneOffsetType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TimezoneOffset", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TimezoneOffsetType : TextType1 { - } + public static implicit operator TimezoneOffsetType(string val) + { + return new TimezoneOffsetType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TimingComplaintCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TimingComplaintCodeType.cs index 88d9d66..9ba483a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TimingComplaintCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TimingComplaintCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TimingComplaintCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TimingComplaintCodeType : CodeType1 { - } + public static implicit operator TimingComplaintCodeType(string val) + { + return new TimingComplaintCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TimingComplaintType.cs b/Ubl-Tr/Common/CommonBasicComponents/TimingComplaintType.cs index 57567a9..15d7a74 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TimingComplaintType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TimingComplaintType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TimingComplaint", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TimingComplaintType : TextType1 { - } + public static implicit operator TimingComplaintType(string val) + { + return new TimingComplaintType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TitleType.cs b/Ubl-Tr/Common/CommonBasicComponents/TitleType.cs index c049788..5214539 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TitleType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TitleType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Title", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TitleType : TextType1 { - } + public static implicit operator TitleType(string val) + { + return new TitleType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ToOrderIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/ToOrderIndicatorType.cs index f0260a4..0f0bf25 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ToOrderIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ToOrderIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ToOrderIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ToOrderIndicatorType : IndicatorType { - } + public static implicit operator ToOrderIndicatorType(bool val) + { + return new ToOrderIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalAmountType.cs index c0d83b0..8989f62 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalAmountType : AmountType1 { - } + public static implicit operator TotalAmountType(decimal val) + { + return new TotalAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalBalanceAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalBalanceAmountType.cs index a530148..5a3abf5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalBalanceAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalBalanceAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalBalanceAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalBalanceAmountType : AmountType1 { - } + public static implicit operator TotalBalanceAmountType(decimal val) + { + return new TotalBalanceAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalConsumedQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalConsumedQuantityType.cs index 6915d8c..f65fee0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalConsumedQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalConsumedQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalConsumedQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalConsumedQuantityType : QuantityType1 { - } + public static implicit operator TotalConsumedQuantityType(decimal val) + { + return new TotalConsumedQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalCreditAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalCreditAmountType.cs index 75eaac1..0beedc7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalCreditAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalCreditAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalCreditAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalCreditAmountType : AmountType1 { - } + public static implicit operator TotalCreditAmountType(decimal val) + { + return new TotalCreditAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalDebitAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalDebitAmountType.cs index be74cac..3680b8f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalDebitAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalDebitAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalDebitAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalDebitAmountType : AmountType1 { - } + public static implicit operator TotalDebitAmountType(decimal val) + { + return new TotalDebitAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalDeliveredQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalDeliveredQuantityType.cs index 4f739a2..8345bdf 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalDeliveredQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalDeliveredQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalDeliveredQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalDeliveredQuantityType : QuantityType1 { - } + public static implicit operator TotalDeliveredQuantityType(decimal val) + { + return new TotalDeliveredQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalGoodsItemQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalGoodsItemQuantityType.cs index af025da..16114e2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalGoodsItemQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalGoodsItemQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalGoodsItemQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalGoodsItemQuantityType : QuantityType1 { - } + public static implicit operator TotalGoodsItemQuantityType(decimal val) + { + return new TotalGoodsItemQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalInvoiceAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalInvoiceAmountType.cs index f666e61..9d4fd26 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalInvoiceAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalInvoiceAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalInvoiceAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalInvoiceAmountType : AmountType1 { - } + public static implicit operator TotalInvoiceAmountType(decimal val) + { + return new TotalInvoiceAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalMeteredQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalMeteredQuantityType.cs index 5e2e46c..f8ed361 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalMeteredQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalMeteredQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalMeteredQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalMeteredQuantityType : QuantityType1 { - } + public static implicit operator TotalMeteredQuantityType(decimal val) + { + return new TotalMeteredQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalPackageQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalPackageQuantityType.cs index 8f44d4c..503cbf9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalPackageQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalPackageQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalPackageQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalPackageQuantityType : QuantityType1 { - } + public static implicit operator TotalPackageQuantityType(decimal val) + { + return new TotalPackageQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalPackagesQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalPackagesQuantityType.cs index 2de7ae3..78b2395 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalPackagesQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalPackagesQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalPackagesQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalPackagesQuantityType : QuantityType1 { - } + public static implicit operator TotalPackagesQuantityType(decimal val) + { + return new TotalPackagesQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalPaymentAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalPaymentAmountType.cs index 05ba0c3..3d8b7b6 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalPaymentAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalPaymentAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalPaymentAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalPaymentAmountType : AmountType1 { - } + public static implicit operator TotalPaymentAmountType(decimal val) + { + return new TotalPaymentAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalTaskAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalTaskAmountType.cs index c3bea71..2e59acc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalTaskAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalTaskAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalTaskAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalTaskAmountType : AmountType1 { - } + public static implicit operator TotalTaskAmountType(decimal val) + { + return new TotalTaskAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalTaxAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalTaxAmountType.cs index d1f15de..e2778a0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalTaxAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalTaxAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalTaxAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalTaxAmountType : AmountType1 { - } + public static implicit operator TotalTaxAmountType(decimal val) + { + return new TotalTaxAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TotalTransportHandlingUnitQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/TotalTransportHandlingUnitQuantityType.cs index 20d2add..4ff3cfc 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TotalTransportHandlingUnitQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TotalTransportHandlingUnitQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TotalTransportHandlingUnitQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TotalTransportHandlingUnitQuantityType : QuantityType1 { - } + public static implicit operator TotalTransportHandlingUnitQuantityType(decimal val) + { + return new TotalTransportHandlingUnitQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TraceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/TraceIDType.cs index 092aecd..3783d2c 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TraceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TraceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TraceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TraceIDType : IdentifierType1 { - } + public static implicit operator TraceIDType(string val) + { + return new TraceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TrackingDeviceCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TrackingDeviceCodeType.cs index 0799db6..4a3ca45 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TrackingDeviceCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TrackingDeviceCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TrackingDeviceCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TrackingDeviceCodeType : CodeType1 { - } + public static implicit operator TrackingDeviceCodeType(string val) + { + return new TrackingDeviceCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TrackingIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/TrackingIDType.cs index bdb876d..719b343 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TrackingIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TrackingIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TrackingID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TrackingIDType : IdentifierType1 { - } + public static implicit operator TrackingIDType(string val) + { + return new TrackingIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TradeItemPackingLabelingTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TradeItemPackingLabelingTypeCodeType.cs index dfde291..931ddfe 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TradeItemPackingLabelingTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TradeItemPackingLabelingTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TradeItemPackingLabelingTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TradeItemPackingLabelingTypeCodeType : CodeType1 { - } + public static implicit operator TradeItemPackingLabelingTypeCodeType(string val) + { + return new TradeItemPackingLabelingTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TradeServiceCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TradeServiceCodeType.cs index 6799db3..f2f17ca 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TradeServiceCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TradeServiceCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TradeServiceCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TradeServiceCodeType : CodeType1 { - } + public static implicit operator TradeServiceCodeType(string val) + { + return new TradeServiceCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TradingRestrictionsType.cs b/Ubl-Tr/Common/CommonBasicComponents/TradingRestrictionsType.cs index 48a99bb..6ee4754 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TradingRestrictionsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TradingRestrictionsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TradingRestrictions", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TradingRestrictionsType : TextType1 { - } + public static implicit operator TradingRestrictionsType(string val) + { + return new TradingRestrictionsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TrainIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/TrainIDType.cs index d0f6582..bc5cc84 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TrainIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TrainIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TrainID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TrainIDType : IdentifierType1 { - } + public static implicit operator TrainIDType(string val) + { + return new TrainIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransactionCurrencyTaxAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransactionCurrencyTaxAmountType.cs index 78ffd7f..5741859 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransactionCurrencyTaxAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransactionCurrencyTaxAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransactionCurrencyTaxAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransactionCurrencyTaxAmountType : AmountType1 { - } + public static implicit operator TransactionCurrencyTaxAmountType(decimal val) + { + return new TransactionCurrencyTaxAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransitDirectionCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransitDirectionCodeType.cs index e3c849f..97a354d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransitDirectionCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransitDirectionCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransitDirectionCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransitDirectionCodeType : CodeType1 { - } + public static implicit operator TransitDirectionCodeType(string val) + { + return new TransitDirectionCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportAuthorizationCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportAuthorizationCodeType.cs index ff081ff..9ff170a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportAuthorizationCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportAuthorizationCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportAuthorizationCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportAuthorizationCodeType : CodeType1 { - } + public static implicit operator TransportAuthorizationCodeType(string val) + { + return new TransportAuthorizationCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportEmergencyCardCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportEmergencyCardCodeType.cs index 26a75e0..70b049b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportEmergencyCardCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportEmergencyCardCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportEmergencyCardCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportEmergencyCardCodeType : CodeType1 { - } + public static implicit operator TransportEmergencyCardCodeType(string val) + { + return new TransportEmergencyCardCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportEquipmentTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportEquipmentTypeCodeType.cs index 9778f48..7a241da 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportEquipmentTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportEquipmentTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportEquipmentTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportEquipmentTypeCodeType : CodeType1 { - } + public static implicit operator TransportEquipmentTypeCodeType(string val) + { + return new TransportEquipmentTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportEventTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportEventTypeCodeType.cs index 9a6f091..b885530 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportEventTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportEventTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportEventTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportEventTypeCodeType : CodeType1 { - } + public static implicit operator TransportEventTypeCodeType(string val) + { + return new TransportEventTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportExecutionPlanReferenceIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportExecutionPlanReferenceIDType.cs index 3c41c07..f8a1199 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportExecutionPlanReferenceIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportExecutionPlanReferenceIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportExecutionPlanReferenceID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportExecutionPlanReferenceIDType : IdentifierType1 { - } + public static implicit operator TransportExecutionPlanReferenceIDType(string val) + { + return new TransportExecutionPlanReferenceIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportExecutionStatusCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportExecutionStatusCodeType.cs index 56cd91b..5799e73 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportExecutionStatusCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportExecutionStatusCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportExecutionStatusCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportExecutionStatusCodeType : CodeType1 { - } + public static implicit operator TransportExecutionStatusCodeType(string val) + { + return new TransportExecutionStatusCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportHandlingUnitTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportHandlingUnitTypeCodeType.cs index e40a008..305ee58 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportHandlingUnitTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportHandlingUnitTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportHandlingUnitTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportHandlingUnitTypeCodeType : CodeType1 { - } + public static implicit operator TransportHandlingUnitTypeCodeType(string val) + { + return new TransportHandlingUnitTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportMeansTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportMeansTypeCodeType.cs index 78d011e..92f2a2e 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportMeansTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportMeansTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportMeansTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportMeansTypeCodeType : CodeType1 { - } + public static implicit operator TransportMeansTypeCodeType(string val) + { + return new TransportMeansTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportModeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportModeCodeType.cs index 0a6c6a9..aa11382 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportModeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportModeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportModeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportModeCodeType : CodeType1 { - } + public static implicit operator TransportModeCodeType(string val) + { + return new TransportModeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportServiceCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportServiceCodeType.cs index 234cb0f..9265007 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportServiceCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportServiceCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportServiceCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportServiceCodeType : CodeType1 { - } + public static implicit operator TransportServiceCodeType(string val) + { + return new TransportServiceCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportServiceProviderRemarksType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportServiceProviderRemarksType.cs index d0dff2b..9ffb7bb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportServiceProviderRemarksType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportServiceProviderRemarksType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportServiceProviderRemarks", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportServiceProviderRemarksType : TextType1 { - } + public static implicit operator TransportServiceProviderRemarksType(string val) + { + return new TransportServiceProviderRemarksType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportServiceProviderSpecialTermsType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportServiceProviderSpecialTermsType.cs index 71f1241..2d6a301 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportServiceProviderSpecialTermsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportServiceProviderSpecialTermsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportServiceProviderSpecialTerms", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportServiceProviderSpecialTermsType : TextType1 { - } + public static implicit operator TransportServiceProviderSpecialTermsType(string val) + { + return new TransportServiceProviderSpecialTermsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportUserRemarksType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportUserRemarksType.cs index dae8a97..90adb5f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportUserRemarksType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportUserRemarksType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportUserRemarks", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportUserRemarksType : TextType1 { - } + public static implicit operator TransportUserRemarksType(string val) + { + return new TransportUserRemarksType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportUserSpecialTermsType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportUserSpecialTermsType.cs index 63638b8..3d0625f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportUserSpecialTermsType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportUserSpecialTermsType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportUserSpecialTerms", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportUserSpecialTermsType : TextType1 { - } + public static implicit operator TransportUserSpecialTermsType(string val) + { + return new TransportUserSpecialTermsType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportationServiceDescriptionType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportationServiceDescriptionType.cs index b9a4a8b..96a0e09 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportationServiceDescriptionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportationServiceDescriptionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportationServiceDescription", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportationServiceDescriptionType : TextType1 { - } + public static implicit operator TransportationServiceDescriptionType(string val) + { + return new TransportationServiceDescriptionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportationServiceDetailsURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportationServiceDetailsURIType.cs index 0870a6a..82e9bc9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportationServiceDetailsURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportationServiceDetailsURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportationServiceDetailsURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportationServiceDetailsURIType : IdentifierType1 { - } + public static implicit operator TransportationServiceDetailsURIType(string val) + { + return new TransportationServiceDetailsURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TransportationStatusTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TransportationStatusTypeCodeType.cs index 9075984..7deb224 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TransportationStatusTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TransportationStatusTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TransportationStatusTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TransportationStatusTypeCodeType : CodeType1 { - } + public static implicit operator TransportationStatusTypeCodeType(string val) + { + return new TransportationStatusTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/TypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/TypeCodeType.cs index 06c152c..f9bc425 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/TypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/TypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("TypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class TypeCodeType : CodeType1 { - } + public static implicit operator TypeCodeType(string val) + { + return new TypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/UBLVersionIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/UBLVersionIDType.cs index cbe790d..1bea94b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/UBLVersionIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/UBLVersionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("UBLVersionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class UBLVersionIDType : IdentifierType1 { - } + public static implicit operator UBLVersionIDType(string val) + { + return new UBLVersionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/UNDGCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/UNDGCodeType.cs index 2f5cb82..8ebb49f 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/UNDGCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/UNDGCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("UNDGCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class UNDGCodeType : CodeType1 { - } + public static implicit operator UNDGCodeType(string val) + { + return new UNDGCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/URIType.cs b/Ubl-Tr/Common/CommonBasicComponents/URIType.cs index b8e5b9a..c9abad1 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/URIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/URIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("URI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class URIType : IdentifierType1 { - } + public static implicit operator URIType(string val) + { + return new URIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/UUIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/UUIDType.cs index b501921..822402d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/UUIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/UUIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("UUID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class UUIDType : IdentifierType1 { - } + public static implicit operator UUIDType(string val) + { + return new UUIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/UnknownPriceIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/UnknownPriceIndicatorType.cs index 9c539b4..62b8994 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/UnknownPriceIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/UnknownPriceIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("UnknownPriceIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class UnknownPriceIndicatorType : IndicatorType { - } + public static implicit operator UnknownPriceIndicatorType(bool val) + { + return new UnknownPriceIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/UpperOrangeHazardPlacardIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/UpperOrangeHazardPlacardIDType.cs index 7ef88cb..dc07981 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/UpperOrangeHazardPlacardIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/UpperOrangeHazardPlacardIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("UpperOrangeHazardPlacardID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class UpperOrangeHazardPlacardIDType : IdentifierType1 { - } + public static implicit operator UpperOrangeHazardPlacardIDType(string val) + { + return new UpperOrangeHazardPlacardIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/UrgencyCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/UrgencyCodeType.cs index 6310c3e..623cf7b 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/UrgencyCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/UrgencyCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("UrgencyCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class UrgencyCodeType : CodeType1 { - } + public static implicit operator UrgencyCodeType(string val) + { + return new UrgencyCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/UtilityStatementTypeCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/UtilityStatementTypeCodeType.cs index f16787f..8f425cd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/UtilityStatementTypeCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/UtilityStatementTypeCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("UtilityStatementTypeCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class UtilityStatementTypeCodeType : CodeType1 { - } + public static implicit operator UtilityStatementTypeCodeType(string val) + { + return new UtilityStatementTypeCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValidateProcessType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValidateProcessType.cs index d3f740f..05f2342 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValidateProcessType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValidateProcessType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValidateProcess", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValidateProcessType : TextType1 { - } + public static implicit operator ValidateProcessType(string val) + { + return new ValidateProcessType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValidateToolType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValidateToolType.cs index 8c755ab..e6a7ee3 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValidateToolType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValidateToolType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValidateTool", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValidateToolType : TextType1 { - } + public static implicit operator ValidateToolType(string val) + { + return new ValidateToolType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValidateToolVersionType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValidateToolVersionType.cs index 2b3ef4d..b83af45 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValidateToolVersionType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValidateToolVersionType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValidateToolVersion", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValidateToolVersionType : TextType1 { - } + public static implicit operator ValidateToolVersionType(string val) + { + return new ValidateToolVersionType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValidationDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValidationDateType.cs index 681c245..6e8f479 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValidationDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValidationDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValidationDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValidationDateType : DateType { - } + public static implicit operator ValidationDateType(System.DateTime val) + { + return new ValidationDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValidationResultCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValidationResultCodeType.cs index c10c140..cfb987a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValidationResultCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValidationResultCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValidationResultCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValidationResultCodeType : CodeType1 { - } + public static implicit operator ValidationResultCodeType(string val) + { + return new ValidationResultCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValidationTimeType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValidationTimeType.cs index efc10bc..2982edb 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValidationTimeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValidationTimeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValidationTime", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValidationTimeType : TimeType { - } + public static implicit operator ValidationTimeType(System.DateTime val) + { + return new ValidationTimeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValidatorIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValidatorIDType.cs index 41a0f24..acd5198 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValidatorIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValidatorIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValidatorID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValidatorIDType : IdentifierType1 { - } + public static implicit operator ValidatorIDType(string val) + { + return new ValidatorIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValidityStartDateType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValidityStartDateType.cs index 7420abb..cf119e0 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValidityStartDateType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValidityStartDateType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValidityStartDate", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValidityStartDateType : DateType { - } + public static implicit operator ValidityStartDateType(System.DateTime val) + { + return new ValidityStartDateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValueAmountType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValueAmountType.cs index 78e6689..64f4f3d 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValueAmountType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValueAmountType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValueAmount", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValueAmountType : AmountType1 { - } + public static implicit operator ValueAmountType(decimal val) + { + return new ValueAmountType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValueMeasureType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValueMeasureType.cs index 4eef958..ba011c8 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValueMeasureType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValueMeasureType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValueMeasure", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValueMeasureType : MeasureType1 { - } + public static implicit operator ValueMeasureType(decimal val) + { + return new ValueMeasureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValueQualifierType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValueQualifierType.cs index e7e0dfc..a49cb81 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValueQualifierType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValueQualifierType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValueQualifier", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValueQualifierType : TextType1 { - } + public static implicit operator ValueQualifierType(string val) + { + return new ValueQualifierType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValueQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValueQuantityType.cs index 803b5e1..143c902 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValueQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValueQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ValueQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValueQuantityType : QuantityType1 { - } + public static implicit operator ValueQuantityType(decimal val) + { + return new ValueQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/ValueType.cs b/Ubl-Tr/Common/CommonBasicComponents/ValueType.cs index 7208bf4..f247407 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/ValueType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/ValueType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Value", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class ValueType : TextType1 { - } + public static implicit operator ValueType(string val) + { + return new ValueType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/VarianceQuantityType.cs b/Ubl-Tr/Common/CommonBasicComponents/VarianceQuantityType.cs index f924e03..59f8302 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/VarianceQuantityType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/VarianceQuantityType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("VarianceQuantity", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class VarianceQuantityType : QuantityType1 { - } + public static implicit operator VarianceQuantityType(decimal val) + { + return new VarianceQuantityType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/VariantConstraintIndicatorType.cs b/Ubl-Tr/Common/CommonBasicComponents/VariantConstraintIndicatorType.cs index f2ae12f..f2dab7a 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/VariantConstraintIndicatorType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/VariantConstraintIndicatorType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("VariantConstraintIndicator", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class VariantConstraintIndicatorType : IndicatorType { - } + public static implicit operator VariantConstraintIndicatorType(bool val) + { + return new VariantConstraintIndicatorType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/VariantIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/VariantIDType.cs index e1f81e2..fe57579 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/VariantIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/VariantIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("VariantID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class VariantIDType : IdentifierType1 { - } + public static implicit operator VariantIDType(string val) + { + return new VariantIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/VersionIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/VersionIDType.cs index ec2c147..48f10c9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/VersionIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/VersionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("VersionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class VersionIDType : IdentifierType1 { - } + public static implicit operator VersionIDType(string val) + { + return new VersionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/VesselIDType.cs b/Ubl-Tr/Common/CommonBasicComponents/VesselIDType.cs index cc2359f..38c74f9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/VesselIDType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/VesselIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("VesselID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class VesselIDType : IdentifierType1 { - } + public static implicit operator VesselIDType(string val) + { + return new VesselIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/VesselNameType.cs b/Ubl-Tr/Common/CommonBasicComponents/VesselNameType.cs index bd510a0..f7deac7 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/VesselNameType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/VesselNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("VesselName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class VesselNameType : NameType { - } + public static implicit operator VesselNameType(string val) + { + return new VesselNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/WarrantyInformationType.cs b/Ubl-Tr/Common/CommonBasicComponents/WarrantyInformationType.cs index c189101..9bf6be4 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/WarrantyInformationType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/WarrantyInformationType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("WarrantyInformation", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class WarrantyInformationType : TextType1 { - } + public static implicit operator WarrantyInformationType(string val) + { + return new WarrantyInformationType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/WebsiteURIType.cs b/Ubl-Tr/Common/CommonBasicComponents/WebsiteURIType.cs index 30ca0a4..a7ae9e2 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/WebsiteURIType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/WebsiteURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("WebsiteURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class WebsiteURIType : IdentifierType1 { - } + public static implicit operator WebsiteURIType(string val) + { + return new WebsiteURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/WeekDayCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/WeekDayCodeType.cs index 5a818f2..9225738 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/WeekDayCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/WeekDayCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("WeekDayCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class WeekDayCodeType : CodeType1 { - } + public static implicit operator WeekDayCodeType(string val) + { + return new WeekDayCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/WeightNumericType.cs b/Ubl-Tr/Common/CommonBasicComponents/WeightNumericType.cs index 5fdec9f..81d75cd 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/WeightNumericType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/WeightNumericType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("WeightNumeric", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class WeightNumericType : NumericType1 { - } + public static implicit operator WeightNumericType(decimal val) + { + return new WeightNumericType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/WeightType.cs b/Ubl-Tr/Common/CommonBasicComponents/WeightType.cs index 5e90592..dc9e2da 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/WeightType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/WeightType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("Weight", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class WeightType : TextType1 { - } + public static implicit operator WeightType(string val) + { + return new WeightType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/WeightingAlgorithmCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/WeightingAlgorithmCodeType.cs index 8749875..9a9ebd9 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/WeightingAlgorithmCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/WeightingAlgorithmCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("WeightingAlgorithmCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class WeightingAlgorithmCodeType : CodeType1 { - } + public static implicit operator WeightingAlgorithmCodeType(string val) + { + return new WeightingAlgorithmCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/WorkPhaseCodeType.cs b/Ubl-Tr/Common/CommonBasicComponents/WorkPhaseCodeType.cs index 801c5be..74e0bfe 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/WorkPhaseCodeType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/WorkPhaseCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("WorkPhaseCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class WorkPhaseCodeType : CodeType1 { - } + public static implicit operator WorkPhaseCodeType(string val) + { + return new WorkPhaseCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/WorkPhaseType.cs b/Ubl-Tr/Common/CommonBasicComponents/WorkPhaseType.cs index 3cedfce..776c307 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/WorkPhaseType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/WorkPhaseType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("WorkPhase", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class WorkPhaseType : TextType1 { - } + public static implicit operator WorkPhaseType(string val) + { + return new WorkPhaseType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonBasicComponents/XPathType.cs b/Ubl-Tr/Common/CommonBasicComponents/XPathType.cs index 924b1ac..16deea5 100644 --- a/Ubl-Tr/Common/CommonBasicComponents/XPathType.cs +++ b/Ubl-Tr/Common/CommonBasicComponents/XPathType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("XPath", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", IsNullable = false)] public partial class XPathType : TextType1 { - } + public static implicit operator XPathType(string val) + { + return new XPathType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyIDType.cs b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyIDType.cs index 3ad19a7..1a69042 100644 --- a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyIDType.cs +++ b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExtensionAgencyID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", IsNullable = false)] public partial class ExtensionAgencyIDType : IdentifierType1 { - } + public static implicit operator ExtensionAgencyIDType(string val) + { + return new ExtensionAgencyIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyNameType.cs b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyNameType.cs index c50c0d3..5dc1c40 100644 --- a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyNameType.cs +++ b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyNameType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExtensionAgencyName", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", IsNullable = false)] public partial class ExtensionAgencyNameType : TextType1 { - } + public static implicit operator ExtensionAgencyNameType(string val) + { + return new ExtensionAgencyNameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyURIType.cs b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyURIType.cs index 54ee127..c34e71d 100644 --- a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyURIType.cs +++ b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionAgencyURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExtensionAgencyURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", IsNullable = false)] public partial class ExtensionAgencyURIType : IdentifierType1 { - } + public static implicit operator ExtensionAgencyURIType(string val) + { + return new ExtensionAgencyURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionReasonCodeType.cs b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionReasonCodeType.cs index 533ab03..284660a 100644 --- a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionReasonCodeType.cs +++ b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionReasonCodeType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExtensionReasonCode", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", IsNullable = false)] public partial class ExtensionReasonCodeType : CodeType1 { - } + public static implicit operator ExtensionReasonCodeType(string val) + { + return new ExtensionReasonCodeType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionReasonType.cs b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionReasonType.cs index c31a94f..6dcf2b7 100644 --- a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionReasonType.cs +++ b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionReasonType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExtensionReason", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", IsNullable = false)] public partial class ExtensionReasonType : TextType1 { - } + public static implicit operator ExtensionReasonType(string val) + { + return new ExtensionReasonType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionURIType.cs b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionURIType.cs index b735048..376ceb4 100644 --- a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionURIType.cs +++ b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionURIType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExtensionURI", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", IsNullable = false)] public partial class ExtensionURIType : IdentifierType1 { - } + public static implicit operator ExtensionURIType(string val) + { + return new ExtensionURIType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionVersionIDType.cs b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionVersionIDType.cs index 9e67ce8..b8ab13f 100644 --- a/Ubl-Tr/Common/CommonExtensionComponents/ExtensionVersionIDType.cs +++ b/Ubl-Tr/Common/CommonExtensionComponents/ExtensionVersionIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ExtensionVersionID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", IsNullable = false)] public partial class ExtensionVersionIDType : IdentifierType1 { - } + public static implicit operator ExtensionVersionIDType(string val) + { + return new ExtensionVersionIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/SignatureBasicComponents/ReferencedSignatureIDType.cs b/Ubl-Tr/Common/SignatureBasicComponents/ReferencedSignatureIDType.cs index c36d5d7..734573e 100644 --- a/Ubl-Tr/Common/SignatureBasicComponents/ReferencedSignatureIDType.cs +++ b/Ubl-Tr/Common/SignatureBasicComponents/ReferencedSignatureIDType.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlRootAttribute("ReferencedSignatureID", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2", IsNullable = false)] public partial class ReferencedSignatureIDType : IdentifierType1 { - } + public static implicit operator ReferencedSignatureIDType(string val) + { + return new ReferencedSignatureIDType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/AmountType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/AmountType1.cs index b65df71..eb19ead 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/AmountType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/AmountType1.cs @@ -74,5 +74,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AmountType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class AmountType1 : AmountType { + public static implicit operator AmountType1(decimal val) + { + return new AmountType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/BinaryObjectType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/BinaryObjectType1.cs index c526406..ed2161f 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/BinaryObjectType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/BinaryObjectType1.cs @@ -7,5 +7,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "BinaryObjectType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class BinaryObjectType1 : BinaryObjectType { + public static implicit operator BinaryObjectType1(byte[] val) + { + return new BinaryObjectType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/CodeType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/CodeType1.cs index d8ed589..b7ab5da 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/CodeType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/CodeType1.cs @@ -220,5 +220,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CodeType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class CodeType1 : CodeType { + public static implicit operator CodeType1(string val) + { + return new CodeType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/GraphicType.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/GraphicType.cs index b44b4af..6473b62 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/GraphicType.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/GraphicType.cs @@ -6,5 +6,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class GraphicType : BinaryObjectType { - } + public static implicit operator GraphicType(byte[] val) + { + return new GraphicType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/IdentifierType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/IdentifierType1.cs index 920e119..dc888c1 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/IdentifierType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/IdentifierType1.cs @@ -119,5 +119,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "IdentifierType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class IdentifierType1 : IdentifierType { + public static implicit operator IdentifierType1(string val) + { + return new IdentifierType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/MeasureType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/MeasureType1.cs index 6813f43..eb6f913 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/MeasureType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/MeasureType1.cs @@ -32,5 +32,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "MeasureType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class MeasureType1 : MeasureType { + public static implicit operator MeasureType1(decimal val) + { + return new MeasureType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/NameType.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/NameType.cs index 1e01b1f..c90b8cf 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/NameType.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/NameType.cs @@ -29,5 +29,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class NameType : TextType { - } + public static implicit operator NameType(string val) + { + return new NameType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/NumericType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/NumericType1.cs index 87c59d6..1b0454a 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/NumericType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/NumericType1.cs @@ -23,5 +23,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "NumericType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class NumericType1 : NumericType { + public static implicit operator NumericType1(decimal val) + { + return new NumericType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/PercentType.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/PercentType.cs index e65ecca..2e8627f 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/PercentType.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/PercentType.cs @@ -20,5 +20,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class PercentType : NumericType { - } + public static implicit operator PercentType(decimal val) + { + return new PercentType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/PictureType.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/PictureType.cs index 4309813..ac485fc 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/PictureType.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/PictureType.cs @@ -6,5 +6,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class PictureType : BinaryObjectType { - } + public static implicit operator PictureType(byte[] val) + { + return new PictureType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/QuantityType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/QuantityType1.cs index 8bdbf2b..e4ed804 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/QuantityType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/QuantityType1.cs @@ -71,5 +71,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "QuantityType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class QuantityType1 : QuantityType { + public static implicit operator QuantityType1(decimal val) + { + return new QuantityType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/RateType.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/RateType.cs index 57b7c1a..9a9b0fe 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/RateType.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/RateType.cs @@ -12,5 +12,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class RateType : NumericType { - } + public static implicit operator RateType(decimal val) + { + return new RateType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/SoundType.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/SoundType.cs index 2213cfb..9bb694b 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/SoundType.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/SoundType.cs @@ -6,5 +6,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class SoundType : BinaryObjectType { - } + public static implicit operator SoundType(byte[] val) + { + return new SoundType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/TextType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/TextType1.cs index 0ec8098..88477ef 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/TextType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/TextType1.cs @@ -195,5 +195,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "TextType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class TextType1 : TextType { + public static implicit operator TextType1(string val) + { + return new TextType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/ValueType1.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/ValueType1.cs index 30d8cd4..146c258 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/ValueType1.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/ValueType1.cs @@ -6,5 +6,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ValueType", Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class ValueType1 : NumericType { + public static implicit operator ValueType1(decimal val) + { + return new ValueType1 + { + Value = val + }; + } } } \ No newline at end of file diff --git a/Ubl-Tr/Common/UnqualifiedDataTypes/VideoType.cs b/Ubl-Tr/Common/UnqualifiedDataTypes/VideoType.cs index 739bb90..b98a6f7 100644 --- a/Ubl-Tr/Common/UnqualifiedDataTypes/VideoType.cs +++ b/Ubl-Tr/Common/UnqualifiedDataTypes/VideoType.cs @@ -6,5 +6,12 @@ namespace UblTr.Common [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2")] public partial class VideoType : BinaryObjectType { - } + public static implicit operator VideoType(byte[] val) + { + return new VideoType + { + Value = val + }; + } + } } \ No newline at end of file diff --git a/UblTr.Tests/InvoiceTypeTest.cs b/UblTr.Tests/InvoiceTypeTest.cs index 0a1cda1..dd5e87d 100644 --- a/UblTr.Tests/InvoiceTypeTest.cs +++ b/UblTr.Tests/InvoiceTypeTest.cs @@ -93,19 +93,19 @@ public void InvoiceType_BasicInvoice_Serialize() var invoice = new InvoiceType { - UUID = new Common.UUIDType() { Value = Guid.NewGuid().ToString() }, - UBLVersionID = new Common.UBLVersionIDType() { Value = "2.1" }, - CustomizationID = new Common.CustomizationIDType() { Value = "TR1.2" }, - ProfileID = new Common.ProfileIDType() { Value = "TEMELFATURA" }, - ID = new Common.IDType() { Value = "INV20200000000001" }, - CopyIndicator = new Common.CopyIndicatorType() { Value = false }, + UUID = Guid.NewGuid().ToString(), + UBLVersionID = "2.1", + CustomizationID = "TR1.2", + ProfileID = "TEMELFATURA", + ID = "INV20200000000001", + CopyIndicator = false, UBLExtensions = new Common.UBLExtensionType[] { new Common.UBLExtensionType() { ExtensionContent = document.CreateElement("auto-generated_for_wildcard","n4") } }, - IssueTime = new Common.IssueTimeType() { Value = date }, - IssueDate = new Common.IssueDateType() { Value = date } + IssueTime = date, + IssueDate = date }; @@ -134,19 +134,19 @@ public void InvoiceType_BasicInvoice_TimeSerialize() var date = DateTime.Now; var invoice = new InvoiceType { - UUID = new Common.UUIDType() { Value = Guid.NewGuid().ToString() }, - UBLVersionID = new Common.UBLVersionIDType() { Value = "2.1" }, - CustomizationID = new Common.CustomizationIDType() { Value = "TR1.2" }, - ProfileID = new Common.ProfileIDType() { Value = "TEMELFATURA" }, - ID = new Common.IDType() { Value = "INV20200000000001" }, - CopyIndicator = new Common.CopyIndicatorType() { Value = false }, + UUID = Guid.NewGuid().ToString(), + UBLVersionID = "2.1", + CustomizationID = "TR1.2", + ProfileID = "TEMELFATURA", + ID = "INV20200000000001", + CopyIndicator = false, UBLExtensions = new Common.UBLExtensionType[] { new Common.UBLExtensionType() { ExtensionContent = document.CreateElement("auto-generated_for_wildcard","n4") } }, - IssueTime = new Common.IssueTimeType() { Value = date }, - IssueDate = new Common.IssueDateType() { Value = date } + IssueTime = date, + IssueDate = date };