/* Options:
Date: 2025-01-06 02:22:14
Version: 8.51
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://blazor-gallery.servicestack.net

//Package: 
//AddServiceStackTypes: True
//AddResponseStatus: False
//AddImplicitVersion: 
//AddDescriptionAsComments: True
IncludeTypes: UpdateInvoices.*
//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="/invoices/{InvoiceId}", Verbs="PUT")
open class UpdateInvoices : IReturn<IdResponse>, IPut, IUpdateDb<Invoices>
{
    open var invoiceId:Long? = null
    open var customerId:Long? = null
    open var invoiceDate:Date? = null
    open var billingAddress:String? = null
    open var billingCity:String? = null
    open var billingState:String? = null
    open var billingCountry:String? = null
    open var billingPostalCode:String? = null
    open var total:BigDecimal? = null
    companion object { private val responseType = IdResponse::class.java }
    override fun getResponseType(): Any? = UpdateInvoices.responseType
}

@DataContract
open class IdResponse
{
    @DataMember(Order=1)
    open var id:String? = null

    @DataMember(Order=2)
    open var responseStatus:ResponseStatus? = null
}

open class Invoices
{
    open var invoiceId:Long? = null
    open var customerId:Long? = null
    open var invoiceDate:Date? = null
    open var billingAddress:String? = null
    open var billingCity:String? = null
    open var billingState:String? = null
    open var billingCountry:String? = null
    open var billingPostalCode:String? = null
    open var total:BigDecimal? = null
}