/* Options: Date: 2026-02-14 10:16:46 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: AddClaim.* //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.* /** * Claim */ @Route(Path="/claim", Verbs="POST") @Api(Description="Claim") @ApiResponse(Description="Add claim request received", IsDefaultResponse=true, ResponseType=TokenDto::class, StatusCode=202) // @ApiResponse(Description="Claim not accepted, Confirm Sender GLN", ResponseType=ErrorResponse::class, StatusCode=403) open class AddClaim : IReturn { /** * Claim model containing all of the claim data */ @ApiMember(Description="Claim model containing all of the claim data", Name="claim", ParameterType="model") open var claim:ClaimMessage? = null companion object { private val responseType = TokenDto::class.java } override fun getResponseType(): Any? = AddClaim.responseType } open class TokenDto : ICommandResponse { open var token:UUID? = null } interface ICommandResponse { } open class ClaimMessage { open var header:Header? = null open var claimNotification:ClaimNotification? = null }