/* Options: Date: 2024-12-15 19:36:10 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: CreatePaymentRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/payments", Verbs="POST") open class CreatePaymentRequest : PostOperationTenanted(), IReturn { var salaryPackageId:String? = null var amount:BigDecimal? = null var gstAmount:BigDecimal? = null var particulars:String? = null var budgetCategory:String? = null companion object { private val responseType = CreatePaymentResponse::class.java } override fun getResponseType(): Any? = CreatePaymentRequest.responseType } open class CreatePaymentResponse { var responseStatus:ResponseStatus? = null var payment:Payment? = null } open class PostOperationUnTenanted : IPost { } open class PostOperationTenanted : PostOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open interface ITenantedRequest { var organisationId:String? } open class Payment : IIdentifiableResource { var salaryPackageId:String? = null var amount:BigDecimal? = null var gstAmount:BigDecimal? = null var particulars:String? = null var budgetCategory:String? = null var status:String? = null var toAccount:BankAccount? = null var id:String? = null } open interface IIdentifiableResource { var id:String? } open class BankAccount { var bsbNumber:String? = null var accountNumber:String? = null }