/* Options: Date: 2025-04-03 07:06:42 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://northwind.netcore.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetOrders.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/orders") // @Route(Path="/orders/page/{Page}") // @Route(Path="/customers/{CustomerId}/orders") open class GetOrders : IReturn, IGet { open var page:Int? = null open var customerId:String? = null companion object { private val responseType = OrdersResponse::class.java } override fun getResponseType(): Any? = GetOrders.responseType } @DataContract open class OrdersResponse { @DataMember open var results:ArrayList = ArrayList() @DataMember open var responseStatus:ResponseStatus? = null } @DataContract open class Order { @DataMember open var id:Int? = null @DataMember open var customerId:String? = null @DataMember open var employeeId:Int? = null @DataMember open var orderDate:Date? = null @DataMember open var requiredDate:Date? = null @DataMember open var shippedDate:Date? = null @DataMember open var shipVia:Int? = null @DataMember open var freight:BigDecimal? = null @DataMember open var shipName:String? = null @DataMember open var shipAddress:String? = null @DataMember open var shipCity:String? = null @DataMember open var shipRegion:String? = null @DataMember open var shipPostalCode:String? = null @DataMember open var shipCountry:String? = null } @DataContract open class CustomerOrder { @DataMember open var order:Order? = null @DataMember open var orderDetails:ArrayList = ArrayList() } @DataContract open class OrderDetail { @DataMember open var orderId:Int? = null @DataMember open var productId:Int? = null @DataMember open var unitPrice:BigDecimal? = null @DataMember open var quantity:Short? = null @DataMember open var discount:Double? = null }