/* Options: Date: 2024-06-26 08:32:41 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: EAccountingInvoiceDraftConvertQuery.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/eaccounting/invoicedrafts/convert", Verbs="POST") public static class EAccountingInvoiceDraftConvertQuery implements IReturn, ICompany { public String InvoiceDraftId = null; public Integer BookingId = 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) public EAccountingInvoiceSendTypes SendType = null; public UUID CompanyId = null; public String getInvoiceDraftId() { return InvoiceDraftId; } public EAccountingInvoiceDraftConvertQuery setInvoiceDraftId(String value) { this.InvoiceDraftId = value; return this; } public Integer getBookingId() { return BookingId; } public EAccountingInvoiceDraftConvertQuery setBookingId(Integer value) { this.BookingId = value; return this; } public EAccountingInvoiceSendTypes getSendType() { return SendType; } public EAccountingInvoiceDraftConvertQuery setSendType(EAccountingInvoiceSendTypes value) { this.SendType = value; return this; } public UUID getCompanyId() { return CompanyId; } public EAccountingInvoiceDraftConvertQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } private static Object responseType = CreateInvoiceQueryResponse.class; public Object getResponseType() { return responseType; } } public static class CreateInvoiceQueryResponse { public InvoiceQueryResponse Invoice = null; public String InvoiceUri = null; public ResponseStatus ResponseStatus = null; public InvoiceQueryResponse getInvoice() { return Invoice; } public CreateInvoiceQueryResponse setInvoice(InvoiceQueryResponse value) { this.Invoice = value; return this; } public String getInvoiceUri() { return InvoiceUri; } public CreateInvoiceQueryResponse setInvoiceUri(String value) { this.InvoiceUri = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public CreateInvoiceQueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static enum EAccountingInvoiceSendTypes { None, AutoInvoiceElectronic, AutoInvoicePrint, AutoInvoiceB2C; } public static class InvoiceQueryResponse { public UUID InvoiceId = null; public Date CreatedDate = null; public BigDecimal TotalAmount = null; public BigDecimal TotalVatAmount = null; public String CustomerId = null; public ArrayList Rows = null; public ArrayList VatSpecification = null; public String InvoiceDate = null; public String DueDate = null; public Date DeliveryDate = null; public ArrayList Persons = null; public String InvoiceCustomerName = null; public InvoiceAddress InvoiceAddress = null; public Boolean CustomerIsPrivatePerson = null; public String TermsOfPaymentId = null; public EAccountingTermsOfPaymentQueryResponse TermsOfPaymentData = null; public String CustomerEmail = null; public Integer InvoiceNumber = null; public String CustomerNumber = null; public ArrayList Notes = null; public ArrayList NoteIds = null; public Date CreatedUtc = null; public Date ModifiedUtc = null; public Boolean IncludesVat = null; public EAccountingInvoiceSendTypes SendType = null; public Boolean IsSold = null; public Date PaymentDate = null; public PaymentStatus PaymentStatus = null; public String PaymentStatusTitle = null; public ArrayList CreditedBy = null; public String PriceSign = null; public String BookingId = null; public UUID getInvoiceId() { return InvoiceId; } public InvoiceQueryResponse setInvoiceId(UUID value) { this.InvoiceId = value; return this; } public Date getCreatedDate() { return CreatedDate; } public InvoiceQueryResponse setCreatedDate(Date value) { this.CreatedDate = value; return this; } public BigDecimal getTotalAmount() { return TotalAmount; } public InvoiceQueryResponse setTotalAmount(BigDecimal value) { this.TotalAmount = value; return this; } public BigDecimal getTotalVatAmount() { return TotalVatAmount; } public InvoiceQueryResponse setTotalVatAmount(BigDecimal value) { this.TotalVatAmount = value; return this; } public String getCustomerId() { return CustomerId; } public InvoiceQueryResponse setCustomerId(String value) { this.CustomerId = value; return this; } public ArrayList getRows() { return Rows; } public InvoiceQueryResponse setRows(ArrayList value) { this.Rows = value; return this; } public ArrayList getVatSpecification() { return VatSpecification; } public InvoiceQueryResponse setVatSpecification(ArrayList value) { this.VatSpecification = value; return this; } public String getInvoiceDate() { return InvoiceDate; } public InvoiceQueryResponse setInvoiceDate(String value) { this.InvoiceDate = value; return this; } public String getDueDate() { return DueDate; } public InvoiceQueryResponse setDueDate(String value) { this.DueDate = value; return this; } public Date getDeliveryDate() { return DeliveryDate; } public InvoiceQueryResponse setDeliveryDate(Date value) { this.DeliveryDate = value; return this; } public ArrayList getPersons() { return Persons; } public InvoiceQueryResponse setPersons(ArrayList value) { this.Persons = value; return this; } public String getInvoiceCustomerName() { return InvoiceCustomerName; } public InvoiceQueryResponse setInvoiceCustomerName(String value) { this.InvoiceCustomerName = value; return this; } public InvoiceAddress getInvoiceAddress() { return InvoiceAddress; } public InvoiceQueryResponse setInvoiceAddress(InvoiceAddress value) { this.InvoiceAddress = value; return this; } public Boolean isCustomerIsPrivatePerson() { return CustomerIsPrivatePerson; } public InvoiceQueryResponse setCustomerIsPrivatePerson(Boolean value) { this.CustomerIsPrivatePerson = value; return this; } public String getTermsOfPaymentId() { return TermsOfPaymentId; } public InvoiceQueryResponse setTermsOfPaymentId(String value) { this.TermsOfPaymentId = value; return this; } public EAccountingTermsOfPaymentQueryResponse getTermsOfPaymentData() { return TermsOfPaymentData; } public InvoiceQueryResponse setTermsOfPaymentData(EAccountingTermsOfPaymentQueryResponse value) { this.TermsOfPaymentData = value; return this; } public String getCustomerEmail() { return CustomerEmail; } public InvoiceQueryResponse setCustomerEmail(String value) { this.CustomerEmail = value; return this; } public Integer getInvoiceNumber() { return InvoiceNumber; } public InvoiceQueryResponse setInvoiceNumber(Integer value) { this.InvoiceNumber = value; return this; } public String getCustomerNumber() { return CustomerNumber; } public InvoiceQueryResponse setCustomerNumber(String value) { this.CustomerNumber = value; return this; } public ArrayList getNotes() { return Notes; } public InvoiceQueryResponse setNotes(ArrayList value) { this.Notes = value; return this; } public ArrayList getNoteIds() { return NoteIds; } public InvoiceQueryResponse setNoteIds(ArrayList value) { this.NoteIds = value; return this; } public Date getCreatedUtc() { return CreatedUtc; } public InvoiceQueryResponse setCreatedUtc(Date value) { this.CreatedUtc = value; return this; } public Date getModifiedUtc() { return ModifiedUtc; } public InvoiceQueryResponse setModifiedUtc(Date value) { this.ModifiedUtc = value; return this; } public Boolean isIncludesVat() { return IncludesVat; } public InvoiceQueryResponse setIncludesVat(Boolean value) { this.IncludesVat = value; return this; } public EAccountingInvoiceSendTypes getSendType() { return SendType; } public InvoiceQueryResponse setSendType(EAccountingInvoiceSendTypes value) { this.SendType = value; return this; } public Boolean getIsSold() { return IsSold; } public InvoiceQueryResponse setIsSold(Boolean value) { this.IsSold = value; return this; } public Date getPaymentDate() { return PaymentDate; } public InvoiceQueryResponse setPaymentDate(Date value) { this.PaymentDate = value; return this; } public PaymentStatus getPaymentStatus() { return PaymentStatus; } public InvoiceQueryResponse setPaymentStatus(PaymentStatus value) { this.PaymentStatus = value; return this; } public String getPaymentStatusTitle() { return PaymentStatusTitle; } public InvoiceQueryResponse setPaymentStatusTitle(String value) { this.PaymentStatusTitle = value; return this; } public ArrayList getCreditedBy() { return CreditedBy; } public InvoiceQueryResponse setCreditedBy(ArrayList value) { this.CreditedBy = value; return this; } public String getPriceSign() { return PriceSign; } public InvoiceQueryResponse setPriceSign(String value) { this.PriceSign = value; return this; } public String getBookingId() { return BookingId; } public InvoiceQueryResponse setBookingId(String value) { this.BookingId = value; return this; } } }