/* Options: Date: 2026-09-09 11:00:27 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://services.acct.2service.nl //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetShipment.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/dealers/shipment/{ShipmentId}", Verbs="GET") public static class GetShipment extends AuthenticatedRequest implements IReturn { /** * Shipment ID to retrieve the status for. */ @ApiMember(Description="Shipment ID to retrieve the status for.", IsRequired=true, ParameterType="path") public Integer ShipmentId = null; public Integer getShipmentId() { return ShipmentId; } public GetShipment setShipmentId(Integer value) { this.ShipmentId = value; return this; } private static Object responseType = ShipmentResponse.class; public Object getResponseType() { return responseType; } } public static class ShipmentResponse extends OperationResult_1 { } public static class AuthenticatedRequest { /** * Session token received from successful authentication. */ @ApiMember(Description="Session token received from successful authentication.", IsRequired=true, ParameterType="query") public String SessionToken = null; public String getSessionToken() { return SessionToken; } public AuthenticatedRequest setSessionToken(String value) { this.SessionToken = value; return this; } } public static class OperationResult_1 extends OperationResult { /** * Result value */ @ApiMember(Description="Result value", ParameterType="model") public T Result = null; public T getResult() { return Result; } public OperationResult_1 setResult(T value) { this.Result = value; return this; } } public static class ShipmentResult { /** * ID of the shipment. */ @ApiMember(Description="ID of the shipment.") public Integer ShipmentId = null; /** * Determines of the shipment has been dispatched. */ @ApiMember(Description="Determines of the shipment has been dispatched.") public Boolean HasBeenDispatched = null; /** * Date/time of dispatch. */ @ApiMember(Description="Date/time of dispatch.") public Date DispatchDate = null; /** * List of articles in shipment. */ @ApiMember(Description="List of articles in shipment.") public ArrayList Articles = null; /** * List of packages for shipment. */ @ApiMember(Description="List of packages for shipment.") public ArrayList Packages = null; public Integer getShipmentId() { return ShipmentId; } public ShipmentResult setShipmentId(Integer value) { this.ShipmentId = value; return this; } public Boolean isHasBeenDispatched() { return HasBeenDispatched; } public ShipmentResult setHasBeenDispatched(Boolean value) { this.HasBeenDispatched = value; return this; } public Date getDispatchDate() { return DispatchDate; } public ShipmentResult setDispatchDate(Date value) { this.DispatchDate = value; return this; } public ArrayList getArticles() { return Articles; } public ShipmentResult setArticles(ArrayList value) { this.Articles = value; return this; } public ArrayList getPackages() { return Packages; } public ShipmentResult setPackages(ArrayList value) { this.Packages = value; return this; } } public static class OperationResult { /** * Specifies if the operation was successful. */ @ApiMember(Description="Specifies if the operation was successful.", ParameterType="model") public Boolean IsSuccessful = null; /** * States error message in case of unsuccessful operation. */ @ApiMember(Description="States error message in case of unsuccessful operation.", ParameterType="model") public String ErrorMessage = null; public Boolean getIsSuccessful() { return IsSuccessful; } public OperationResult setIsSuccessful(Boolean value) { this.IsSuccessful = value; return this; } public String getErrorMessage() { return ErrorMessage; } public OperationResult setErrorMessage(String value) { this.ErrorMessage = value; return this; } } public static class ShipmentArticleResult { /** * Order number. */ @ApiMember(Description="Order number.") public String OrderNumber = null; /** * Article number. */ @ApiMember(Description="Article number.") public String ArticleNumber = null; /** * Quantity. */ @ApiMember(Description="Quantity.") public Integer Quantity = null; /** * Custom reference. */ @ApiMember(Description="Custom reference.") public String CustomReference = null; public String getOrderNumber() { return OrderNumber; } public ShipmentArticleResult setOrderNumber(String value) { this.OrderNumber = value; return this; } public String getArticleNumber() { return ArticleNumber; } public ShipmentArticleResult setArticleNumber(String value) { this.ArticleNumber = value; return this; } public Integer getQuantity() { return Quantity; } public ShipmentArticleResult setQuantity(Integer value) { this.Quantity = value; return this; } public String getCustomReference() { return CustomReference; } public ShipmentArticleResult setCustomReference(String value) { this.CustomReference = value; return this; } } public static class ShipmentPackageResult { /** * Shipment method. */ @ApiMember(Description="Shipment method.") public String ShipmentMethod = null; /** * Tracking number. */ @ApiMember(Description="Tracking number.") public String TrackingNumber = null; /** * Tracking URL. */ @ApiMember(Description="Tracking URL.") public String TrackingUrl = null; public String getShipmentMethod() { return ShipmentMethod; } public ShipmentPackageResult setShipmentMethod(String value) { this.ShipmentMethod = value; return this; } public String getTrackingNumber() { return TrackingNumber; } public ShipmentPackageResult setTrackingNumber(String value) { this.TrackingNumber = value; return this; } public String getTrackingUrl() { return TrackingUrl; } public ShipmentPackageResult setTrackingUrl(String value) { this.TrackingUrl = value; return this; } } }