/* Options: Date: 2024-12-15 19:29:23 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateContributionRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/contributions", Verbs="POST") open class CreateContributionRequest : PostOperationTenanted(), IReturn { var amount:BigDecimal? = null var paymentDate:Date? = null var employerId:String? = null companion object { private val responseType = CreateContributionResponse::class.java } override fun getResponseType(): Any? = CreateContributionRequest.responseType } open class CreateContributionResponse { var responseStatus:ResponseStatus? = null var contribution:Contribution? = null } open class PostOperationUnTenanted : IPost { } open class PostOperationTenanted : PostOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open interface ITenantedRequest { var organisationId:String? } open class Contribution : IIdentifiableResource { var employerId:String? = null var employerName:String? = null var amount:BigDecimal? = null var paymentDate:Date? = null var distributed:Boolean? = null var id:String? = null } open interface IIdentifiableResource { var id:String? }