/* Options: Date: 2026-02-14 10:02:29 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddCreditNote.* //ExcludeTypes: //InitializeCollections: False //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.* /** * 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) open class AddCreditNote : 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") open var creditNote:InvoiceMessage? = null companion object { private val responseType = TokenDto::class.java } override fun getResponseType(): Any? = AddCreditNote.responseType } open class TokenDto : ICommandResponse { open var token:UUID? = null } interface ICommandResponse { } open class InvoiceMessage { open var header:Header? = null open var invoice:InvoiceClass? = null }