Skip to content
Permalink
Browse files

corrected PARTY and ORDER_ITEM elements

  • Loading branch information...
DXSdata committed Sep 2, 2019
1 parent e02aad0 commit 0f429bd7aa72cdbda6ae9534ab62aec2cd025adf
Showing with 7 additions and 3 deletions.
  1. +5 −2 openTRANS/Order.cs
  2. +2 −1 openTRANS/openTRANS.csproj
@@ -16,7 +16,8 @@ public class Order
[XmlElement("ORDER_HEADER")]
public OrderHeader OrderHeader = new OrderHeader();

[XmlElement("ORDER_ITEM_LIST")]
[XmlArray("ORDER_ITEM_LIST")]
[XmlArrayItem("ORDER_ITEM")]
public List<OrderItem> OrderItemList = new List<OrderItem>();

[XmlElement("ORDER_SUMMARY")]
@@ -63,7 +64,9 @@ public class OrderInfo
public DeliveryDate DeliveryDate = new DeliveryDate();

[XmlArray("PARTIES")]
[XmlArrayItem("PARTY")]
public List<Party> Parties = new List<Party>();


[XmlElement("ORDER_PARTIES_REFERENCE")]
public OrderPartiesReference OrderPartiesReference = new OrderPartiesReference();
@@ -82,7 +85,7 @@ public class DeliveryDate
public DateTime DeliveryEndDate;
}


public class Party
{
[XmlElement("PARTY_ID", Namespace = Common.Namespace.bmecat)]
@@ -5,7 +5,8 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>DXSdata</Authors>
<Company>DXSdata GmbH</Company>
<Description>.NET Core / Standard Implementation of the openTRANS v2.1 definitions by Fraunhofer IAO</Description>
<Description>.NET Core / Standard implementation of the openTRANS v2.1 definitions by Fraunhofer IAO</Description>
<Version>1.0.1</Version>
</PropertyGroup>

</Project>

0 comments on commit 0f429bd

Please sign in to comment.
You can’t perform that action at this time.