/* Options: Date: 2024-12-15 19:29:56 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: SearchAllPaymentsRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/payments", Verbs="GET") open class SearchAllPaymentsRequest : SearchOperationTenanted(), IReturn { var status:String? = null companion object { private val responseType = SearchAllPaymentsResponse::class.java } override fun getResponseType(): Any? = SearchAllPaymentsRequest.responseType } open class SearchAllPaymentsResponse : SearchOperationResponse() { var responseStatus:ResponseStatus? = null var payments:ArrayList = ArrayList() } open class GetOperationUnTenanted : IHasGetOptions, IGet { var embed:String? = null } open interface IHasGetOptions { var embed:String? } open class SearchOperationUnTenanted : GetOperationUnTenanted(), IHasSearchOptions { var distinct:String? = null var limit:Int? = null var offset:Int? = null var sort:String? = null var filter:String? = null var search:String? = null } open interface IHasSearchOptions : IHasGetOptions { var limit:Int? var offset:Int? var sort:String? var filter:String? var search:String? } open interface ITenantedRequest { var organisationId:String? } open class SearchOperationTenanted : SearchOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open class SearchMetadata { var total:Int? = null var limit:Int? = null var offset:Int? = null var sort:Sorting? = null var filter:Filtering? = null } open class SearchOperationResponse { var metadata:SearchMetadata? = null } open class SearchAllPayment : IIdentifiableResource { var amount:BigDecimal? = null var budgetCategory:String? = null var status:String? = null var customerFirstName:String? = null var customerLastName:String? = null var toAccount:BankAccount? = null var id:String? = null } open interface IIdentifiableResource { var id:String? } open class Sorting { @SerializedName("by") var By:String? = null var direction:SortDirection? = null } open class Filtering { var fields:ArrayList = ArrayList() var search:String? = null } open class BankAccount { var bsbNumber:String? = null var accountNumber:String? = null } enum class SortDirection { Ascending, Descending, }