' Options: 'Date: 2026-02-14 10:11:05 '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: GetPurchaseConditionByIdentification.* '''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.STF.Models.Dto.GS1 Imports DX.STF.Application.ClientApi.Messages.PurchaseCondition Namespace Global Namespace DX.STF.Application.ClientApi.Messages.PurchaseCondition ''' '''Purchase Conditions ''' Public Partial Class GetPurchaseConditionByIdentification Implements IReturn(Of PurchaseConditionsMessage) ''' '''Purchase Condition Owner GLN ''' Public Overridable Property OwnerGln As String ''' '''Purchase Condition Identifier ''' Public Overridable Property Identification As String End Class End Namespace Namespace DX.STF.Models.Dto.GS1 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 AllowanceCharge Public Overridable Property AllowanceChargeAmount As Decimal? Public Overridable Property AllowanceChargePercentage As Decimal? Public Overridable Property AllowanceChargeType As String Public Overridable Property AllowanceOrChargeType As String Public Overridable Property AmountPerUnit As Decimal? Public Overridable Property BaseAmount As Decimal? Public Overridable Property BaseNumberOfUnits As String Public Overridable Property BracketIdentifier As String Public Overridable Property EffectiveDateType As Date? Public Overridable Property SequenceNumber As String Public Overridable Property SettlementType As String Public Overridable Property SpecialServiceType As String Public Overridable Property AllowanceChargeDescription 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 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 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 CurrencyExchangeRateInformation Public Overridable Property CurrencyConversionFromCode As String Public Overridable Property CurrencyConversionToCode As String Public Overridable Property ExchangeRate As Long? Public Overridable Property ExchangeRateDateTime As Date? End Class Public Partial Class DateTimeRange Public Overridable Property BeginDate As DateOnly Public Overridable Property BeginTime As TimeOnly? Public Overridable Property EndDate As DateOnly? Public Overridable Property EndTime As TimeOnly? 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_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 LeviedDutyFeeTax Public Overridable Property DutyFeeTaxAmount As Decimal? Public Overridable Property DutyFeeTaxBasisAmount As Decimal? Public Overridable Property DutyFeeTaxDescription As String Public Overridable Property DutyFeeTaxPercentage As Decimal? 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 PurchaseConditions Inherits BaseDocument Public Overridable Property PurchaseConditionsCurrencyCode As String Public Overridable Property PurchaseConditionsLocationInformation As List(Of PurchaseConditionsLocationInformation) = New List(Of PurchaseConditionsLocationInformation) Public Overridable Property CurrencyExchangeRateInformation As CurrencyExchangeRateInformation Public Overridable Property Buyer As TransactionalParty Public Overridable Property Payee As TransactionalParty Public Overridable Property Payer As TransactionalParty Public Overridable Property PurchaseConditionsIdentification As String Public Overridable Property RemitTo As TransactionalParty Public Overridable Property Seller As TransactionalParty Public Overridable Property TaxRepresentative As TransactionalParty End Class Public Partial Class PurchaseConditionsCommitmentPeriod Public Overridable Property CommitmentPeriodDuration As TimeMeasurement Public Overridable Property PurchaseConditionsCommitmentTypeCode As String End Class Public Partial Class PurchaseConditionsLineItem Public Overridable Property DiscrepancyTolerancePercentage As Decimal? Public Overridable Property LineItemNumber As Long? Public Overridable Property PackagingTypeCode As String Public Overridable Property ParentLineItemNumber As Long? Public Overridable Property PurchaseConditionsQuantity As Quantity Public Overridable Property PurchaseConditionsCommitmentPeriod As List(Of PurchaseConditionsCommitmentPeriod) = New List(Of PurchaseConditionsCommitmentPeriod) Public Overridable Property PurchaseConditionsPriceInformation As List(Of PurchaseConditionsPriceInformation) = New List(Of PurchaseConditionsPriceInformation) Public Overridable Property AllowanceCharge As List(Of AllowanceCharge) = New List(Of AllowanceCharge) Public Overridable Property TransactionalTradeItem As TransactionalTradeItem Public Overridable Property LeviedDutyFeeTax As LeviedDutyFeeTax Public Overridable Property AvpList As List(Of AvpList) = New List(Of AvpList) Public Overridable Property EffectivePeriod As DateTimeRange Public Overridable Property MaterialSpecification As DocumentReference Public Overridable Property PurchaseConditionsQuantityRange As QuantityRange End Class Public Partial Class PurchaseConditionsLocationInformation Public Overridable Property PurchaseConditionsLineItem As List(Of PurchaseConditionsLineItem) = New List(Of PurchaseConditionsLineItem) Public Overridable Property ShipFrom As TransactionalParty Public Overridable Property ShipTo As TransactionalParty End Class Public Partial Class PurchaseConditionsMessage Public Overridable Property Header As Header Public Overridable Property PurchaseConditions As PurchaseConditions End Class Public Partial Class PurchaseConditionsPriceInformation Public Overridable Property ItemPriceBaseQuantity As Quantity Public Overridable Property ItemPriceExclusiveAllowancesCharges As Decimal? Public Overridable Property QuantityRange As QuantityRange Public Overridable Property EffectivePeriod As DateTimeRange 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 QuantityRange Public Overridable Property MaximumQuantity As Quantity Public Overridable Property MinimumQuantity As Quantity 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 TimeMeasurement Public Overridable Property TimeMeasurementUnitCode As String Public Overridable Property Value As Decimal? 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 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 End Namespace End Namespace