/* Options: Date: 2024-12-29 02:52:02 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FinanceCreateSaleRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/Dynamics/CreateSale/{regent_id}", Verbs="POST") open class FinanceCreateSaleRequest : IReturn { var regent_id:Int? = null var amount:BigDecimal? = null var code:String? = null var rebate_code:String? = null var rebate_amount:BigDecimal? = null var payment_id:String? = null var reporting_term:String? = null var sale_items:ArrayList = ArrayList() companion object { private val responseType = ResponseStatus::class.java } override fun getResponseType(): Any? = FinanceCreateSaleRequest.responseType } @DataContract open class ResponseStatus { @DataMember(Order=1) var errorCode:String? = null @DataMember(Order=2) var message:String? = null @DataMember(Order=3) var stackTrace:String? = null @DataMember(Order=4) var errors:ArrayList = ArrayList() @DataMember(Order=5) var meta:HashMap = HashMap() } open class FinanceCreateSaleItemsRequest { var amount:BigDecimal? = null var code:String? = null }