' Options: 'Date: 2025-12-06 06:47:00 'Version: 8.0 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.1fetch.co.za ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: PicUpCreateShipmentRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports CommonService.Api.Operations Imports WebService.ClientServiceModel Imports BusinessLogic.Entities Namespace Global Namespace BusinessLogic.Entities Public Partial Class LinkedWaypoint Public Overridable Property FromWaypointNumber As Integer Public Overridable Property ToWaypointNumber As Integer Public Overridable Property FromLatitude As Double Public Overridable Property FromLongitude As Double Public Overridable Property ToLatitude As Double Public Overridable Property ToLongitude As Double End Class End Namespace Namespace CommonService.Api.Operations Public Interface IHasApiKey Property ApiKey As String End Interface Public Interface ILogRequest End Interface End Namespace Namespace WebService.ClientServiceModel Public Partial Class BucketDetails Public Overridable Property DeliveryDate As DateTimeOffset End Class Public Partial Class CourierRequest Public Sub New() Shipments = New Shipment(){} End Sub Public Overridable Property BucketDetails As BucketDetails Public Overridable Property Shipments As Shipment() End Class Public Partial Class PicUpCreateShipmentRequest Implements IReturn(Of PicUpCreateShipmentResponse) Implements IHasApiKey Implements ILogRequest Public Overridable Property ApiKey As String Public Overridable Property CourierRequest As CourierRequest End Class Public Partial Class PicUpCreateShipmentResponse Public Sub New() Waypoints = New List(Of WaypointQuoteInformation) WaypointValidations = New List(Of WaypointValidationInformation) End Sub Public Overridable Property IsSuccess As Boolean Public Overridable Property CourierReference As String Public Overridable Property [Error] As String ''' '''List of order information for pricing etc between each waypoint ''' Public Overridable Property Waypoints As List(Of WaypointQuoteInformation) ''' '''List with validation information for each waypoint ''' Public Overridable Property WaypointValidations As List(Of WaypointValidationInformation) ''' '''The 1Fetch Waybill reference for the shipment ''' Public Overridable Property Waybill As String End Class Public Partial Class WaypointQuoteInformation Inherits LinkedWaypoint Public Sub New() ErrorDetails = New List(Of String) End Sub ''' '''Distance between waypoints as a number ''' Public Overridable Property Distance As Double ''' '''String formatted distance ''' Public Overridable Property DistanceValue As String Public Overridable Property WaypointValid As Boolean Public Overridable Property Message As String Public Overridable Property ErrorDetails As List(Of String) ''' '''Caculated price between waypoints excluding vat ''' Public Overridable Property Price As Decimal ''' '''Price excluding vat formatted as a string rand value ''' Public Overridable Property PriceValue As String ''' '''The price between waypoints including vat ''' Public Overridable Property PriceWithVAT As Decimal ''' '''The price including vat formatted as a rand value string ''' Public Overridable Property PriceValueWithVAT As String End Class Public Partial Class WaypointValidationInformation Public Sub New() ErrorMessages = New List(Of String) End Sub Public Overridable Property WaypointNumber As Integer Public Overridable Property IsValid As Boolean Public Overridable Property ErrorMessages As List(Of String) End Class End Namespace End Namespace