/* Options: Date: 2024-07-03 13:06:22 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GenerateRegisterDibsPaymentCardToken.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/token/GenerateRegisterDibsPaymentCardToken", Verbs="POST") @ValidateRequest(Validator="IsAuthenticated") open class GenerateRegisterDibsPaymentCardToken : IReturn, ICompany { /** * Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used */ @ApiMember(Description="Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used", ParameterType="query") var CompanyId:UUID? = null companion object { private val responseType = TokenResponse::class.java } override fun getResponseType(): Any? = GenerateRegisterDibsPaymentCardToken.responseType } open class TokenResponse { /** * The token indentifier */ @ApiMember(Description="The token indentifier") var TokenIdentifier:String? = null var Type:Int? = null /** * The unique token */ @ApiMember(Description="The unique token", IsRequired=true) var UniqueToken:String? = null var ExpirationDate:Date? = null var ResponseStatus:ResponseStatus? = null } open interface ICompany { var CompanyId:UUID? }