private void _createOrderResponse() { OrderResponse response = new OrderResponse() { OrderId = "GWAHJV-160131-1470", OrderDate = new DateTime(2016, 01, 31, 18, 29, 31), OrderChangeSequenceId = 1 }; response.Parties.Add(new Party() { Ids = new List <PartyId>() { new PartyId() { Id = "123456", Type = PartyIdTypes.SupplierSpecific } }, Roles = { PartyRoles.Buyer }, Name = "ITscope GmbH", Name2 = "Online Plattform", Name3 = String.Empty, Department = "a", Street = "Ludwig-Erhard-Allee 20", Zip = "76131", City = "Karlsruhe", CountryCode = CountryCodes.DE, ContactDetails = new Contact() { Name = "Support", FirstName = "ITscope", EmailAddresses = { "*****@*****.**" } } }); response.Parties.Add(new Party() { Ids = new List <PartyId>() { new PartyId() { Id = "123456", Type = PartyIdTypes.SupplierSpecific } }, Roles = { PartyRoles.Delivery }, Name = "ITscope GmbH", Name2 = "Online Plattform", Name3 = String.Empty, Department = "a", Street = "Ludwig-Erhard-Allee 20", Zip = "76131", City = "Karlsruhe", CountryCode = CountryCodes.DE, ContactDetails = new Contact() { Name = "Support", FirstName = "ITscope", EmailAddresses = { "*****@*****.**" } } }); response.Parties.Add(new Party() { Ids = new List <PartyId>() { new PartyId() { Id = "123456", Type = PartyIdTypes.SupplierSpecific } }, Roles = { PartyRoles.InvoiceRecipient }, Name = "ITscope GmbH", Name2 = "Online Plattform", Name3 = String.Empty, Department = "a", Street = "Ludwig-Erhard-Allee 20", Zip = "76131", City = "Karlsruhe", CountryCode = CountryCodes.DE, ContactDetails = new Contact() { Name = "Support", FirstName = "ITscope", EmailAddresses = { "*****@*****.**" } } }); response.Parties.Add(new Party() { Ids = new List <PartyId>() { new PartyId() { Id = "10000735", Type = PartyIdTypes.SupplierSpecific } }, Roles = { PartyRoles.Supplier }, Name = "ITscope GmbH", Name2 = "Online Plattform", Name3 = String.Empty, Department = "a", Street = "Ludwig-Erhard-Allee 20", Zip = "76131", City = "Karlsruhe", CountryCode = CountryCodes.DE, ContactDetails = new Contact() { Name = "Support", FirstName = "ITscope", EmailAddresses = { "*****@*****.**" } } }); response.OrderItems.Add(new OrderItem() { LineItemId = "100", ProductId = new ProductId() { SupplierPId = new SupplierProductId() { Id = "123002" }, DescriptionShort = "APPLE iPad Air 2 64GB 3G 4G Grau", DescriptionLong = "APPLE iPad Air 2 64GB 3G 4G Grau<br />24.63cm/9.7\" IPS(2048 x 1536), Kamera auf Rück - < br / > und Vorderseite, < br / > Bluetooth, Wi - Fi, 4G, Space - grau" }, Quantity = 1, OrderUnit = QuantityCodes.C62, LineAmount = 562 }); response.Save("BE_RESPONSE.xml"); } // !_createOrderResponse()