/* Options: Date: 2026-09-01 21:49:00 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateInvoices.* //ExcludeTypes: //DefaultImports: */ package dtos import ( ss "github.com/ServiceStack/servicestack-go" "time" ) type Invoices struct { InvoiceId int64 `json:"invoiceId,omitempty"` CustomerId int64 `json:"customerId,omitempty"` InvoiceDate time.Time `json:"invoiceDate,omitempty"` BillingAddress string `json:"billingAddress"` BillingCity string `json:"billingCity"` BillingState string `json:"billingState"` BillingCountry string `json:"billingCountry"` BillingPostalCode string `json:"billingPostalCode"` Total float64 `json:"total,omitempty"` } // @Route("/invoices/{InvoiceId}", "PUT") type UpdateInvoices struct { InvoiceId int64 `json:"invoiceId,omitempty"` CustomerId int64 `json:"customerId,omitempty"` InvoiceDate time.Time `json:"invoiceDate,omitempty"` BillingAddress string `json:"billingAddress"` BillingCity string `json:"billingCity"` BillingState string `json:"billingState"` BillingCountry string `json:"billingCountry"` BillingPostalCode string `json:"billingPostalCode"` Total float64 `json:"total,omitempty"` } func (UpdateInvoices) CreateResponse() (r ss.IdResponse) { return } func (UpdateInvoices) HttpMethod() string { return "PUT" }