/* Options: Date: 2026-02-14 09:56:43 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AddCreditNote.* //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 { /** * Credit Note */ @Route(Path="/creditNote", Verbs="POST") @Api(Description="Credit Note") @ApiResponse(Description="Add credit note request received", IsDefaultResponse=true, StatusCode=200) // @ApiResponse(Description="Credit note not accepted, Confirm Sender GLN", ResponseType=UnauthorizedAccessException.class, StatusCode=403) public static class AddCreditNote implements IReturn { /** * Credit Note model containing all of the Credit Note data */ @ApiMember(Description="Credit Note model containing all of the Credit Note data", ParameterType="model") public InvoiceMessage creditNote = null; public InvoiceMessage getCreditNote() { return creditNote; } public AddCreditNote setCreditNote(InvoiceMessage value) { this.creditNote = value; return this; } private static Object responseType = TokenDto.class; public Object getResponseType() { return responseType; } } public static class TokenDto implements ICommandResponse { public UUID token = null; public UUID getToken() { return token; } public TokenDto setToken(UUID value) { this.token = value; return this; } } public static interface ICommandResponse { } public static class InvoiceMessage { public Header header = null; public InvoiceClass invoice = null; public Header getHeader() { return header; } public InvoiceMessage setHeader(Header value) { this.header = value; return this; } public InvoiceClass getInvoice() { return invoice; } public InvoiceMessage setInvoice(InvoiceClass value) { this.invoice = value; return this; } } }