' Options: 'Date: 2026-09-09 09:27:55 'Version: 10.08 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://services.acct.2service.nl ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: PostNewOrder.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports _2Service.Webservices.ServiceModel.Dealers Imports _2Service.Webservices.ServiceModel Imports _2Service.Library.Fulfilment.Interfaces Imports BlueFour.Helpers.Tax Namespace Global Namespace _2Service.Library.Fulfilment.Interfaces Public Enum AddressType Invoice Delivery Dropshipment End Enum Public Interface IAddress Implements ITaxRateContainer Property Id As Integer Property CustomerId As Integer Property Type As AddressType Property CompanyName As String Property FirstName As String Property LastName As String Property StreetName As String Property HouseNumber As String Property HouseNumberAddition As String Property PostalCode As String Property City As String Property CountryCode As String Property TelephoneNumber As String End Interface End Namespace Namespace _2Service.Webservices.ServiceModel Public Partial Class OperationResult ''' '''Specifies if the operation was successful. ''' Public Overridable Property IsSuccessful As Boolean ''' '''States error message in case of unsuccessful operation. ''' Public Overridable Property ErrorMessage As String End Class Public Partial Class OperationResult(Of T) Inherits OperationResult ''' '''Result value ''' Public Overridable Property Result As T End Class End Namespace Namespace _2Service.Webservices.ServiceModel.Dealers Public Partial Class AuthenticatedRequest ''' '''Session token received from successful authentication. ''' Public Overridable Property SessionToken As String End Class Public Partial Class NewOrderAddress Implements IAddress ''' '''Company name. ''' Public Overridable Property CompanyName As String Implements IAddress.CompanyName ''' '''First name. ''' Public Overridable Property FirstName As String Implements IAddress.FirstName ''' '''Last name. ''' Public Overridable Property LastName As String Implements IAddress.LastName ''' '''Street name. ''' Public Overridable Property StreetName As String Implements IAddress.StreetName ''' '''House number. ''' Public Overridable Property HouseNumber As String Implements IAddress.HouseNumber ''' '''House number addition. ''' Public Overridable Property HouseNumberAddition As String Implements IAddress.HouseNumberAddition ''' '''Postal code. ''' Public Overridable Property PostalCode As String Implements IAddress.PostalCode ''' '''City. ''' Public Overridable Property City As String Implements IAddress.City ''' '''Country code. ''' Public Overridable Property CountryCode As String Implements IAddress.CountryCode ''' '''Telephone number. ''' Public Overridable Property TelephoneNumber As String Implements IAddress.TelephoneNumber End Class Public Partial Class NewOrderItem ''' '''Unique ID for the part. ''' Public Overridable Property PartId As Integer ''' '''Quantity to order. ''' Public Overridable Property Quantity As Integer ''' '''Custom reference. ''' Public Overridable Property Reference As String End Class Public Partial Class NewOrderItemList Inherits List(Of NewOrderItem) End Class Public Partial Class NewOrderResponse Inherits OperationResult(Of NewOrderResult) End Class Public Partial Class NewOrderResult ''' '''Number for the order that has been placed. ''' Public Overridable Property OrderNumber As String End Class Public Partial Class PostNewOrder Inherits AuthenticatedRequest Implements IReturn(Of NewOrderResponse) ''' '''Items to order. ''' Public Overridable Property Items As NewOrderItemList ''' '''Dropshipment indication. ''' Public Overridable Property UseDropshipment As Boolean? ''' '''Delivery address. ''' Public Overridable Property DeliveryAddress As NewOrderAddress End Class End Namespace Namespace BlueFour.Helpers.Tax Public Interface ITaxRateContainer Property TaxRate As Decimal? End Interface End Namespace End Namespace