/* Options: Date: 2026-09-01 21:28:15 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: CreateInvoices.* //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", "POST") type CreateInvoices struct { 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 (CreateInvoices) CreateResponse() (r ss.IdResponse) { return } func (CreateInvoices) HttpMethod() string { return "POST" }