' Options: 'Date: 2026-02-14 11:49:00 'Version: 10.04 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://stf-api-uat.data-xchange.co.za ' '''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: GetReceivingAdvice.* '''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 DX.Framework.Core.Domain Imports DX.Framework.Core.Querying Imports DX.STF.Models.Dto.GS1 Imports DX.STF.Application.ClientApi.Messages.ReceivingAdvice Namespace Global Namespace DX.Framework.Core.Domain Public Interface IDocument Implements IHaveToken End Interface Public Interface IHaveToken Property Token As Guid End Interface End Namespace Namespace DX.Framework.Core.Querying Public Partial Class ResultItem(Of T) Implements IDocument Public Overridable Property Token As Guid Public Overridable Property Item As ReceivingAdviceMessage End Class End Namespace Namespace DX.STF.Application.ClientApi.Messages.ReceivingAdvice ''' '''Receiving Advice ''' Public Partial Class GetReceivingAdvice Implements IReturn(Of ResultItem(Of ReceivingAdviceMessage)) End Class End Namespace Namespace DX.STF.Models.Dto.GS1 Public Partial Class AdditionalConsignmentIdentification Public Overridable Property Text As String Public Overridable Property AdditionalConsignmentIdentificationTypeCode As String End Class Public Partial Class AdditionalIndividualAssetIdentification Public Overridable Property Value As Decimal? Public Overridable Property AdditionalIndividualAssetIdentificationTypeCode As String End Class Public Partial Class AdditionalLogisticUnitIdentification Public Overridable Property Value As Decimal? Public Overridable Property AdditionalLogisticUnitIdentificationTypeCode As String End Class Public Partial Class AdditionalReturnableAssetIdentification Public Overridable Property Value As String Public Overridable Property AdditionalReturnableAssetIdentificationTypeCode As String End Class Public Partial Class Address Public Overridable Property StreetAddressOne As String Public Overridable Property StreetAddressTwo As String Public Overridable Property StreetAddressThree As String Public Overridable Property City As String Public Overridable Property PostalCode As String Public Overridable Property ProvinceCode As String Public Overridable Property CountryCode As String End Class Public Partial Class AvpList Public Overridable Property Code As String Public Overridable Property Value As String End Class Public Partial Class BaseDocument Public Overridable Property CurrencyCode As String Public Overridable Property CreationDateTime As Date Public Overridable Property DocumentActionCode As DocumentAction Public Overridable Property DocumentStatusCode As DocumentStatus Public Overridable Property DocumentStructureVersion As String Public Overridable Property LastUpdateDateTime As Date? Public Overridable Property RevisionNumber As Long? Public Overridable Property AvpList As List(Of AvpList) = New List(Of AvpList) End Class Public Partial Class CarrierTrackAndTraceInformation Public Overridable Property CarrierTrackAndTraceURL As String Public Overridable Property PackageTrackingNumber As String End Class Public Partial Class Colour Public Overridable Property ColourCode As String Public Overridable Property ColourDescription As String End Class Public Partial Class CommunicationChannel Public Overridable Property CommunicationChannelCode As String Public Overridable Property CommunicationChannelName As String Public Overridable Property CommunicationValue As String End Class Public Partial Class ConsignmentIdentification Public Overridable Property Ginc As String Public Overridable Property AdditionalConsignmentIdentification As AdditionalConsignmentIdentification End Class Public Partial Class Contact Public Overridable Property ContactTypeCode As String Public Overridable Property PersonName As String Public Overridable Property DepartmentName As String Public Overridable Property JobTitle As String Public Overridable Property Responsibility As String Public Overridable Property CommunicationChannel As List(Of CommunicationChannel) = New List(Of CommunicationChannel) End Class Public Partial Class ContactInformation End Class Public Partial Class Dimension Public Overridable Property Depth As Measurement Public Overridable Property Height As Measurement Public Overridable Property Width As Measurement End Class Public Enum DocumentAction ADD CHANGE_BY_REFRESH DELETE REJECTED End Enum Public Partial Class DocumentIdentification Public Overridable Property Identifier As String Public Overridable Property Type As String Public Overridable Property CreationDateAndTime As Date End Class Public Partial Class DocumentReference Public Overridable Property CreationDateTime As Date? Public Overridable Property RevisionNumber As Long? Public Overridable Property LineItemNumber As Long? Public Overridable Property EntityIdentification As String End Class Public Enum DocumentStatus ADDITIONAL_TRANSMISSION COPY ORIGINAL End Enum Public Partial Class Ecom_IndividualAssetIdentification Public Overridable Property additionalIndividualAssetIdentification As List(Of AdditionalIndividualAssetIdentification) = New List(Of AdditionalIndividualAssetIdentification) Public Overridable Property Giai As String End Class Public Partial Class Ecom_LogisticUnitIdentification Public Overridable Property additionalLogisiticUnitIdentification As List(Of AdditionalLogisticUnitIdentification) = New List(Of AdditionalLogisticUnitIdentification) Public Overridable Property Sscc As String End Class Public Partial Class Ecom_PartyIdentificationType Public Overridable Property Gln As String Public Overridable Property Name As String Public Overridable Property AdditionalPartyIdentification As List(Of AvpList) = New List(Of AvpList) End Class Public Partial Class FinancialAccount Public Overridable Property Number As String Public Overridable Property NumberTypeCode As String Public Overridable Property Name As String End Class Public Partial Class FinancialInstitutionInformation Public Overridable Property FinancialInstitutionBranchName As String Public Overridable Property FinancialInstitutionName As String Public Overridable Property FinancialRoutingNumber As FinancialRoutingNumber Public Overridable Property FinancialAccount As FinancialAccount Public Overridable Property SwiftCode As String Public Overridable Property ExportersCode As String End Class Public Partial Class FinancialRoutingNumber Public Overridable Property Number As String Public Overridable Property NumberTypeCode As String End Class Public Partial Class Header Public Overridable Property DocumentIdentification As DocumentIdentification Public Overridable Property Sender As Partner Public Overridable Property Receiver As Partner End Class Public Partial Class Identifier Public Overridable Property Authority As String Public Overridable Property Text As String End Class Public Partial Class IdentityDocument Public Overridable Property IdentityDocumentIssuer As String Public Overridable Property IdentityDocumentNumber As String Public Overridable Property IdentityDocumentType As String End Class Public Partial Class LogisticUnitMeasurement Public Overridable Property Dimension As Dimension Public Overridable Property UnitMeasurement As UnitMeasurement End Class Public Partial Class LogisticUnits Public Overridable Property ChildPackageTypeCode As String Public Overridable Property LevelIdentification As Long? Public Overridable Property PackageTypeCode As String Public Overridable Property ParentLevelIdentification As Long? Public Overridable Property QuantityOfChildren As Long? Public Overridable Property QuantityOfLogisticUnits As Long? Public Overridable Property LogisticUnitMeasurement As LogisticUnitMeasurement Public Overridable Property ReturnablePackaging As List(Of ReturnablePackaging) = New List(Of ReturnablePackaging) Public Overridable Property CarrierTrackAndTraceInformation As CarrierTrackAndTraceInformation Public Overridable Property AvpList As AvpList Public Overridable Property IndividualAssetIdentification As List(Of Ecom_IndividualAssetIdentification) = New List(Of Ecom_IndividualAssetIdentification) Public Overridable Property LogisticUnitIdentification As Ecom_LogisticUnitIdentification End Class Public Partial Class Measurement Public Overridable Property Value As Decimal? Public Overridable Property CodeListVersion As String Public Overridable Property MeasurementUnitCode As String End Class Public Partial Class Partner Public Overridable Property Identifier As Identifier Public Overridable Property ContactInformation As List(Of ContactInformation) = New List(Of ContactInformation) End Class Public Partial Class Person Public Overridable Property DateOfBirth As Date? Public Overridable Property Gender As String Public Overridable Property Nationality As String Public Overridable Property PersonName As String Public Overridable Property IdentityDocument As List(Of IdentityDocument) = New List(Of IdentityDocument) End Class Public Partial Class Quantity Public Overridable Property Value As Decimal? Public Overridable Property MeasurementUnitCode As String Public Overridable Property CodeListVersion As String End Class Public Partial Class ReceivingAdvice Inherits BaseDocument Public Overridable Property DespatchAdviceDeliveryDateTime As Date? Public Overridable Property Note As String Public Overridable Property PaymentDateTime As Date? Public Overridable Property ReceivingDateTime As Date? Public Overridable Property ReportingCode As String Public Overridable Property TotalDepositAmount As Decimal? Public Overridable Property ReceivingAdviceTransportInformation As ReceivingAdviceTransportInformation Public Overridable Property BillOfLadingNumber As DocumentReference Public Overridable Property Buyer As TransactionalParty Public Overridable Property Carrier As TransactionalParty Public Overridable Property ConsignmentIdentification As ConsignmentIdentification Public Overridable Property DeliveryNote As DocumentReference Public Overridable Property DespatchAdvice As String Public Overridable Property inventoryLocation As TransactionalParty Public Overridable Property PurchaseOrder As DocumentReference Public Overridable Property Receiver As TransactionalParty Public Overridable Property ReceivingAdviceIdentification As String Public Overridable Property Seller As TransactionalParty Public Overridable Property ShipFrom As TransactionalParty Public Overridable Property ShipmentIdentification As ConsignmentIdentification Public Overridable Property Shipper As TransactionalParty Public Overridable Property ShipTo As TransactionalParty Public Overridable Property ReceivingAdviceLogisticUnit As List(Of ReceivingAdviceLogisticUnit) = New List(Of ReceivingAdviceLogisticUnit) End Class Public Partial Class ReceivingAdviceLineItem Public Overridable Property Extension As String Public Overridable Property LineItemNumber As Long? Public Overridable Property note As String Public Overridable Property ParentLineItemNumber As Long? Public Overridable Property QuantityAccepted As Quantity Public Overridable Property QuantityDespatched As Quantity Public Overridable Property QuantityReceived As Quantity Public Overridable Property ReceivingConditionInformation As List(Of ReceivingConditionInformation) = New List(Of ReceivingConditionInformation) Public Overridable Property TransactionalTradeItem As TransactionalTradeItem Public Overridable Property ConsignmentIdentification As ConsignmentIdentification Public Overridable Property AvpList As AvpList Public Overridable Property Contract As DocumentReference Public Overridable Property CustomerReference As DocumentReference Public Overridable Property DeliveryNote As DocumentReference Public Overridable Property DespatchAdvice As DocumentReference Public Overridable Property ProductCertification As DocumentReference Public Overridable Property PromotionalDeal As DocumentReference Public Overridable Property PurchaseConditions As DocumentReference Public Overridable Property PurchaseOrder As DocumentReference Public Overridable Property RequestedItemIdentification As TradeItemIdentification Public Overridable Property Specification As DocumentReference End Class Public Partial Class ReceivingAdviceLogisticUnit Inherits LogisticUnits Public Overridable Property ReceivingAdviceLineItem As List(Of ReceivingAdviceLineItem) = New List(Of ReceivingAdviceLineItem) End Class Public Partial Class ReceivingAdviceMessage Public Overridable Property Header As Header Public Overridable Property ReceivingAdvice As ReceivingAdvice End Class Public Partial Class ReceivingAdviceTransportInformation Public Overridable Property RouteID As Identifier Public Overridable Property TransportMeansID As Identifier Public Overridable Property TransportMeansName As String Public Overridable Property Driver As Contact Public Overridable Property DriverID As Person Public Overridable Property Receiver As Contact Public Overridable Property ReceiverID As Person End Class Public Partial Class ReceivingConditionInformation Public Overridable Property ReceivedGoodsDisposition As String Public Overridable Property ReceivingConditionCode As String Public Overridable Property ReceivingConditionQuantity As Quantity End Class Public Partial Class ReturnableAssetIdentification Public Overridable Property AdditionalReturnableAssetIdentification As List(Of AdditionalReturnableAssetIdentification) = New List(Of AdditionalReturnableAssetIdentification) Public Overridable Property Grai As String End Class Public Partial Class ReturnablePackaging Public Overridable Property CurrentHolderRegistration As Identifier Public Overridable Property NewHolderRegistration As Identifier Public Overridable Property PackagingConditionCode As String Public Overridable Property PackagingQuantity As Long? Public Overridable Property IndividualReturnableAssetIdentification As List(Of ReturnableAssetIdentification) = New List(Of ReturnableAssetIdentification) Public Overridable Property ReturnableAssetIdentification As ReturnableAssetIdentification End Class Public Partial Class SerialNumberRange Public Overridable Property MaximumValue As String Public Overridable Property MinimumValue As String End Class Public Partial Class Size Public Overridable Property DescriptiveSize As String Public Overridable Property SizeCode As String End Class Public Partial Class TradeItemClassification Public Overridable Property GpcCategoryCode As String Public Overridable Property AdditionalTradeItemClassificationCode As List(Of AvpList) = New List(Of AvpList) Public Overridable Property GpcCategoryName As String Public Overridable Property GpcAttribute As List(Of AvpList) = New List(Of AvpList) End Class Public Partial Class TradeItemIdentification Public Overridable Property AdditionalTradeItemIdentification As List(Of AvpList) = New List(Of AvpList) Public Overridable Property Gtin As String End Class Public Partial Class TradeItemWaste Public Overridable Property WasteIdentification As String Public Overridable Property TypeOfWaste As List(Of AvpList) = New List(Of AvpList) End Class Public Partial Class TransactionalItem Public Overridable Property MeasurementUnitCode As String Public Overridable Property MeasurementType As String Public Overridable Property MeasurementValue As String End Class Public Partial Class TransactionalItemData Public Overridable Property AvailableForSaleDate As Date? Public Overridable Property BatchNumber As String Public Overridable Property BestBeforeDate As Date? Public Overridable Property CountryOfOrigin As String Public Overridable Property ItemExpirationDate As Date? Public Overridable Property LotNumber As String Public Overridable Property PackagingDate As Date? Public Overridable Property ProductionDate As Date? Public Overridable Property ProductQualityIndication As String Public Overridable Property SellByDate As Date? Public Overridable Property SerialNumber As List(Of String) = New List(Of String) Public Overridable Property ShelfLife As String Public Overridable Property TradeItemQuantity As Long? Public Overridable Property ItemInContactWithFoodProduct As Boolean? Public Overridable Property TransactionalItemWeight As List(Of TransactionalItem) = New List(Of TransactionalItem) Public Overridable Property TransactionalItemVolume As List(Of TransactionalItem) = New List(Of TransactionalItem) Public Overridable Property SerialNumberRange As List(Of SerialNumberRange) = New List(Of SerialNumberRange) Public Overridable Property TransactionalItemDimensions As List(Of TransactionalItemDimension) = New List(Of TransactionalItemDimension) Public Overridable Property TransactionalItemLogisticUnitInformation As TransactionalItemLogisticUnitInformation Public Overridable Property TransactionalItemDataCarrierAndIdentification As TransactionalItemDataCarrierAndIdentification Public Overridable Property TradeItemWaste As List(Of TradeItemWaste) = New List(Of TradeItemWaste) Public Overridable Property TransactionalItemOrganicInformation As TransactionalItemOrganicInformation Public Overridable Property AvpList As List(Of AvpList) = New List(Of AvpList) End Class Public Partial Class TransactionalItemDataCarrierAndIdentification Public Overridable Property Gs1TransactionalItemIdentificationKey As String Public Overridable Property DataCarrier As String End Class Public Partial Class TransactionalItemDimension Public Overridable Property MeasurementUnitCode As String Public Overridable Property Depth As String Public Overridable Property Height As String Public Overridable Property Width As String End Class Public Partial Class TransactionalItemLogisticUnitInformation Public Overridable Property NumberOfLayers As Long? Public Overridable Property NumberOfUnitsPerLayer As Long? Public Overridable Property NumberOfUnitsPerPallet As Long? Public Overridable Property PackagingTerms As String Public Overridable Property PackageTypeCode As String Public Overridable Property MaximumStackingFactor As Long? Public Overridable Property ReturnablePackageTransportCostPayment As String Public Overridable Property DimensionsOfLogisticUnit As List(Of TransactionalItemDimension) = New List(Of TransactionalItemDimension) End Class Public Partial Class TransactionalItemOrganicInformation Public Overridable Property IsTradeItemOrganic As Boolean? Public Overridable Property OrganicCertification As String End Class Public Partial Class TransactionalParty Inherits Ecom_PartyIdentificationType Public Overridable Property Contact As List(Of Contact) = New List(Of Contact) Public Overridable Property Address As Address Public Overridable Property CommunicationChannel As List(Of AvpList) = New List(Of AvpList) Public Overridable Property FinancialInstitutionInformation As FinancialInstitutionInformation Public Overridable Property DutyFeeTaxRegistration As String Public Overridable Property EntityIdentification As String End Class Public Partial Class TransactionalTradeItem Public Overridable Property Gtin As String Public Overridable Property AdditionalTradeItemIdentification As List(Of AvpList) = New List(Of AvpList) Public Overridable Property TradeItemQuantity As Decimal? Public Overridable Property TradeItemDescription As String Public Overridable Property ProductVariantIdentifier As String Public Overridable Property ItemTypeCode As String Public Overridable Property TradeItemDataOwner As String Public Overridable Property ButterFatReference As String Public Overridable Property TransactionalItemData As List(Of TransactionalItemData) = New List(Of TransactionalItemData) Public Overridable Property Colour As List(Of Colour) = New List(Of Colour) Public Overridable Property Size As Size Public Overridable Property TradeItemClassification As TradeItemClassification Public Overridable Property AvpList As List(Of AvpList) = New List(Of AvpList) End Class Public Partial Class UnitMeasurement Public Overridable Property MeasurementType As String Public Overridable Property MeasurementValue As Measurement End Class End Namespace End Namespace