/* Options: Date: 2024-11-23 10:31:44 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EAccountingInvoiceDraftConvertQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/eaccounting/invoicedrafts/convert", Verbs="POST") open class EAccountingInvoiceDraftConvertQuery : IReturn, ICompany { var InvoiceDraftId:String? = null var BookingId:Int? = null /** * Used for sending the invoice via Auto-invoice Default:None, 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C = ['0', '1', '2', '3']. */ @ApiMember(Description="Used for sending the invoice via Auto-invoice Default:None, 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C = ['0', '1', '2', '3'].", IsRequired=true) var SendType:EAccountingInvoiceSendTypes? = null var CompanyId:UUID? = null companion object { private val responseType = CreateInvoiceQueryResponse::class.java } override fun getResponseType(): Any? = EAccountingInvoiceDraftConvertQuery.responseType } open class CreateInvoiceQueryResponse { var Invoice:InvoiceQueryResponse? = null var InvoiceUri:String? = null var ResponseStatus:ResponseStatus? = null } open interface ICompany { var CompanyId:UUID? } enum class EAccountingInvoiceSendTypes { None, AutoInvoiceElectronic, AutoInvoicePrint, AutoInvoiceB2C, } open class InvoiceQueryResponse { var InvoiceId:UUID? = null var CreatedDate:Date? = null var TotalAmount:BigDecimal? = null var TotalVatAmount:BigDecimal? = null var CustomerId:String? = null var Rows:ArrayList = ArrayList() var VatSpecification:ArrayList = ArrayList() var InvoiceDate:String? = null var DueDate:String? = null var DeliveryDate:Date? = null var Persons:ArrayList = ArrayList() var InvoiceCustomerName:String? = null var InvoiceAddress:InvoiceAddress? = null var CustomerIsPrivatePerson:Boolean? = null var TermsOfPaymentId:String? = null var TermsOfPaymentData:EAccountingTermsOfPaymentQueryResponse? = null var CustomerEmail:String? = null var InvoiceNumber:Int? = null var CustomerNumber:String? = null var Notes:ArrayList = ArrayList() var NoteIds:ArrayList = ArrayList() var CreatedUtc:Date? = null var ModifiedUtc:Date? = null var IncludesVat:Boolean? = null var SendType:EAccountingInvoiceSendTypes? = null var IsSold:Boolean? = null var PaymentDate:Date? = null var PaymentStatus:PaymentStatus? = null var PaymentStatusTitle:String? = null var CreditedBy:ArrayList = ArrayList() var PriceSign:String? = null var BookingId:String? = null }