/* Options: Date: 2025-04-03 07:21:03 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: GetCustomerDetails.* //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="/customers/{Id}") open class GetCustomerDetails : IReturn, IGet { open var id:String? = null companion object { private val responseType = CustomerDetailsResponse::class.java } override fun getResponseType(): Any? = GetCustomerDetails.responseType } @DataContract open class CustomerDetailsResponse { @DataMember open var customer:Customer? = null @DataMember open var orders:ArrayList = ArrayList() @DataMember open var responseStatus:ResponseStatus? = null } @DataContract open class Customer { @DataMember open var id:String? = null @DataMember open var companyName:String? = null @DataMember open var contactName:String? = null @DataMember open var contactTitle:String? = null @DataMember open var address:String? = null @DataMember open var city:String? = null @DataMember open var region:String? = null @DataMember open var postalCode:String? = null @DataMember open var country:String? = null @DataMember open var phone:String? = null @DataMember open var fax:String? = 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 }