/* Options: Date: 2026-03-25 03:34:03 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: EAccountingCustomerQuery.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/eaccounting/customers", Verbs="GET") public static class EAccountingCustomerQuery extends QueryData implements IReturn>, ICompany { public UUID CompanyId = null; public UUID getCompanyId() { return CompanyId; } public EAccountingCustomerQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer Offset = null; @DataMember(Order=2) public Integer Total = null; @DataMember(Order=3) public ArrayList Results = new ArrayList(); @DataMember(Order=4) public HashMap Meta = null; @DataMember(Order=5) public ResponseStatus ResponseStatus = null; public Integer getOffset() { return Offset; } public QueryResponse setOffset(Integer value) { this.Offset = value; return this; } public Integer getTotal() { return Total; } public QueryResponse setTotal(Integer value) { this.Total = value; return this; } public ArrayList getResults() { return Results; } public QueryResponse setResults(ArrayList value) { this.Results = value; return this; } public HashMap getMeta() { return Meta; } public QueryResponse setMeta(HashMap value) { this.Meta = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static class QueryData extends QueryBase { } public static class EAccountingCustomerQueryResponse { public String Id = null; public String CustomerNumber = null; public String CorporateIdentityNumber = null; public String ContactPersonEmail = null; public String ContactPersonMobile = null; public String ContactPersonName = null; public String ContactPersonPhone = null; public String CurrencyCode = null; public String GLN = null; public String InvoiceCity = null; public String InvoicePostalCode = null; public String EmailAddress = null; public String EmailAddressOrder = null; public String EmailAddressQuote = null; public EAccountingInvoiceAddress InvoiceAddress = null; public String DeliveryCustomerName = null; public String DeliveryAddress1 = null; public String DeliveryAddress2 = null; public String DeliveryCity = null; public String DeliveryCountryCode = null; public String DeliveryPostalCode = null; public String DeliveryMethodId = null; public String DeliveryTermId = null; public String PayToAccountId = null; public String Name = null; public String Note = null; public Boolean ReverseChargeOnConstructionServices = null; public Integer WebshopCustomerNumber = null; public String MobilePhone = null; public String Telephone = null; public String TermsOfPaymentId = null; public EAccountingTermsOfPaymentQueryResponse EAccountingTermsOfPayment = null; public String VatNumber = null; public String WwwAddress = null; public String LastInvoiceDate = null; public Boolean IsPrivatePerson = null; public Boolean IsNorthernIreland = null; public BigDecimal DiscountPercentage = null; public Date ChangedUtc = null; public Boolean IsActive = null; public Boolean ForceBookkeepVat = null; public String EdiGlnNumber = null; public String SalesDocumentLanguage = null; public String ElectronicAddress = null; public String ElectronicReference = null; public String EdiServiceDelivererId = null; public Date AutoInvoiceActivationEmailSentDate = null; public Date AutoInvoiceRegistrationRequestSentDate = null; public ArrayList EmailAddresses = new ArrayList(); public ArrayList CustomerLabels = new ArrayList(); public ArrayList MessageThreads = new ArrayList(); public ArrayList Notes = new ArrayList(); public Boolean IsFutureInvoiceDateAllowed = null; public Boolean DeliveryBasedVat = null; public String SalesPriceListId = null; public String Iban = null; public DirectDebitCustomerSettingsQueryResponse DirectDebitCustomerSettings = null; public String DiscountAgreementId = null; public BigDecimal UnpaidInvoicesAmount = null; public String getId() { return Id; } public EAccountingCustomerQueryResponse setId(String value) { this.Id = value; return this; } public String getCustomerNumber() { return CustomerNumber; } public EAccountingCustomerQueryResponse setCustomerNumber(String value) { this.CustomerNumber = value; return this; } public String getCorporateIdentityNumber() { return CorporateIdentityNumber; } public EAccountingCustomerQueryResponse setCorporateIdentityNumber(String value) { this.CorporateIdentityNumber = value; return this; } public String getContactPersonEmail() { return ContactPersonEmail; } public EAccountingCustomerQueryResponse setContactPersonEmail(String value) { this.ContactPersonEmail = value; return this; } public String getContactPersonMobile() { return ContactPersonMobile; } public EAccountingCustomerQueryResponse setContactPersonMobile(String value) { this.ContactPersonMobile = value; return this; } public String getContactPersonName() { return ContactPersonName; } public EAccountingCustomerQueryResponse setContactPersonName(String value) { this.ContactPersonName = value; return this; } public String getContactPersonPhone() { return ContactPersonPhone; } public EAccountingCustomerQueryResponse setContactPersonPhone(String value) { this.ContactPersonPhone = value; return this; } public String getCurrencyCode() { return CurrencyCode; } public EAccountingCustomerQueryResponse setCurrencyCode(String value) { this.CurrencyCode = value; return this; } public String getGln() { return GLN; } public EAccountingCustomerQueryResponse setGln(String value) { this.GLN = value; return this; } public String getInvoiceCity() { return InvoiceCity; } public EAccountingCustomerQueryResponse setInvoiceCity(String value) { this.InvoiceCity = value; return this; } public String getInvoicePostalCode() { return InvoicePostalCode; } public EAccountingCustomerQueryResponse setInvoicePostalCode(String value) { this.InvoicePostalCode = value; return this; } public String getEmailAddress() { return EmailAddress; } public EAccountingCustomerQueryResponse setEmailAddress(String value) { this.EmailAddress = value; return this; } public String getEmailAddressOrder() { return EmailAddressOrder; } public EAccountingCustomerQueryResponse setEmailAddressOrder(String value) { this.EmailAddressOrder = value; return this; } public String getEmailAddressQuote() { return EmailAddressQuote; } public EAccountingCustomerQueryResponse setEmailAddressQuote(String value) { this.EmailAddressQuote = value; return this; } public EAccountingInvoiceAddress getInvoiceAddress() { return InvoiceAddress; } public EAccountingCustomerQueryResponse setInvoiceAddress(EAccountingInvoiceAddress value) { this.InvoiceAddress = value; return this; } public String getDeliveryCustomerName() { return DeliveryCustomerName; } public EAccountingCustomerQueryResponse setDeliveryCustomerName(String value) { this.DeliveryCustomerName = value; return this; } public String getDeliveryAddress1() { return DeliveryAddress1; } public EAccountingCustomerQueryResponse setDeliveryAddress1(String value) { this.DeliveryAddress1 = value; return this; } public String getDeliveryAddress2() { return DeliveryAddress2; } public EAccountingCustomerQueryResponse setDeliveryAddress2(String value) { this.DeliveryAddress2 = value; return this; } public String getDeliveryCity() { return DeliveryCity; } public EAccountingCustomerQueryResponse setDeliveryCity(String value) { this.DeliveryCity = value; return this; } public String getDeliveryCountryCode() { return DeliveryCountryCode; } public EAccountingCustomerQueryResponse setDeliveryCountryCode(String value) { this.DeliveryCountryCode = value; return this; } public String getDeliveryPostalCode() { return DeliveryPostalCode; } public EAccountingCustomerQueryResponse setDeliveryPostalCode(String value) { this.DeliveryPostalCode = value; return this; } public String getDeliveryMethodId() { return DeliveryMethodId; } public EAccountingCustomerQueryResponse setDeliveryMethodId(String value) { this.DeliveryMethodId = value; return this; } public String getDeliveryTermId() { return DeliveryTermId; } public EAccountingCustomerQueryResponse setDeliveryTermId(String value) { this.DeliveryTermId = value; return this; } public String getPayToAccountId() { return PayToAccountId; } public EAccountingCustomerQueryResponse setPayToAccountId(String value) { this.PayToAccountId = value; return this; } public String getName() { return Name; } public EAccountingCustomerQueryResponse setName(String value) { this.Name = value; return this; } public String getNote() { return Note; } public EAccountingCustomerQueryResponse setNote(String value) { this.Note = value; return this; } public Boolean isReverseChargeOnConstructionServices() { return ReverseChargeOnConstructionServices; } public EAccountingCustomerQueryResponse setReverseChargeOnConstructionServices(Boolean value) { this.ReverseChargeOnConstructionServices = value; return this; } public Integer getWebshopCustomerNumber() { return WebshopCustomerNumber; } public EAccountingCustomerQueryResponse setWebshopCustomerNumber(Integer value) { this.WebshopCustomerNumber = value; return this; } public String getMobilePhone() { return MobilePhone; } public EAccountingCustomerQueryResponse setMobilePhone(String value) { this.MobilePhone = value; return this; } public String getTelephone() { return Telephone; } public EAccountingCustomerQueryResponse setTelephone(String value) { this.Telephone = value; return this; } public String getTermsOfPaymentId() { return TermsOfPaymentId; } public EAccountingCustomerQueryResponse setTermsOfPaymentId(String value) { this.TermsOfPaymentId = value; return this; } public EAccountingTermsOfPaymentQueryResponse getEAccountingTermsOfPayment() { return EAccountingTermsOfPayment; } public EAccountingCustomerQueryResponse setEAccountingTermsOfPayment(EAccountingTermsOfPaymentQueryResponse value) { this.EAccountingTermsOfPayment = value; return this; } public String getVatNumber() { return VatNumber; } public EAccountingCustomerQueryResponse setVatNumber(String value) { this.VatNumber = value; return this; } public String getWwwAddress() { return WwwAddress; } public EAccountingCustomerQueryResponse setWwwAddress(String value) { this.WwwAddress = value; return this; } public String getLastInvoiceDate() { return LastInvoiceDate; } public EAccountingCustomerQueryResponse setLastInvoiceDate(String value) { this.LastInvoiceDate = value; return this; } public Boolean getIsPrivatePerson() { return IsPrivatePerson; } public EAccountingCustomerQueryResponse setIsPrivatePerson(Boolean value) { this.IsPrivatePerson = value; return this; } public Boolean getIsNorthernIreland() { return IsNorthernIreland; } public EAccountingCustomerQueryResponse setIsNorthernIreland(Boolean value) { this.IsNorthernIreland = value; return this; } public BigDecimal getDiscountPercentage() { return DiscountPercentage; } public EAccountingCustomerQueryResponse setDiscountPercentage(BigDecimal value) { this.DiscountPercentage = value; return this; } public Date getChangedUtc() { return ChangedUtc; } public EAccountingCustomerQueryResponse setChangedUtc(Date value) { this.ChangedUtc = value; return this; } public Boolean getIsActive() { return IsActive; } public EAccountingCustomerQueryResponse setIsActive(Boolean value) { this.IsActive = value; return this; } public Boolean isForceBookkeepVat() { return ForceBookkeepVat; } public EAccountingCustomerQueryResponse setForceBookkeepVat(Boolean value) { this.ForceBookkeepVat = value; return this; } public String getEdiGlnNumber() { return EdiGlnNumber; } public EAccountingCustomerQueryResponse setEdiGlnNumber(String value) { this.EdiGlnNumber = value; return this; } public String getSalesDocumentLanguage() { return SalesDocumentLanguage; } public EAccountingCustomerQueryResponse setSalesDocumentLanguage(String value) { this.SalesDocumentLanguage = value; return this; } public String getElectronicAddress() { return ElectronicAddress; } public EAccountingCustomerQueryResponse setElectronicAddress(String value) { this.ElectronicAddress = value; return this; } public String getElectronicReference() { return ElectronicReference; } public EAccountingCustomerQueryResponse setElectronicReference(String value) { this.ElectronicReference = value; return this; } public String getEdiServiceDelivererId() { return EdiServiceDelivererId; } public EAccountingCustomerQueryResponse setEdiServiceDelivererId(String value) { this.EdiServiceDelivererId = value; return this; } public Date getAutoInvoiceActivationEmailSentDate() { return AutoInvoiceActivationEmailSentDate; } public EAccountingCustomerQueryResponse setAutoInvoiceActivationEmailSentDate(Date value) { this.AutoInvoiceActivationEmailSentDate = value; return this; } public Date getAutoInvoiceRegistrationRequestSentDate() { return AutoInvoiceRegistrationRequestSentDate; } public EAccountingCustomerQueryResponse setAutoInvoiceRegistrationRequestSentDate(Date value) { this.AutoInvoiceRegistrationRequestSentDate = value; return this; } public ArrayList getEmailAddresses() { return EmailAddresses; } public EAccountingCustomerQueryResponse setEmailAddresses(ArrayList value) { this.EmailAddresses = value; return this; } public ArrayList getCustomerLabels() { return CustomerLabels; } public EAccountingCustomerQueryResponse setCustomerLabels(ArrayList value) { this.CustomerLabels = value; return this; } public ArrayList getMessageThreads() { return MessageThreads; } public EAccountingCustomerQueryResponse setMessageThreads(ArrayList value) { this.MessageThreads = value; return this; } public ArrayList getNotes() { return Notes; } public EAccountingCustomerQueryResponse setNotes(ArrayList value) { this.Notes = value; return this; } public Boolean getIsFutureInvoiceDateAllowed() { return IsFutureInvoiceDateAllowed; } public EAccountingCustomerQueryResponse setIsFutureInvoiceDateAllowed(Boolean value) { this.IsFutureInvoiceDateAllowed = value; return this; } public Boolean isDeliveryBasedVat() { return DeliveryBasedVat; } public EAccountingCustomerQueryResponse setDeliveryBasedVat(Boolean value) { this.DeliveryBasedVat = value; return this; } public String getSalesPriceListId() { return SalesPriceListId; } public EAccountingCustomerQueryResponse setSalesPriceListId(String value) { this.SalesPriceListId = value; return this; } public String getIban() { return Iban; } public EAccountingCustomerQueryResponse setIban(String value) { this.Iban = value; return this; } public DirectDebitCustomerSettingsQueryResponse getDirectDebitCustomerSettings() { return DirectDebitCustomerSettings; } public EAccountingCustomerQueryResponse setDirectDebitCustomerSettings(DirectDebitCustomerSettingsQueryResponse value) { this.DirectDebitCustomerSettings = value; return this; } public String getDiscountAgreementId() { return DiscountAgreementId; } public EAccountingCustomerQueryResponse setDiscountAgreementId(String value) { this.DiscountAgreementId = value; return this; } public BigDecimal getUnpaidInvoicesAmount() { return UnpaidInvoicesAmount; } public EAccountingCustomerQueryResponse setUnpaidInvoicesAmount(BigDecimal value) { this.UnpaidInvoicesAmount = value; return this; } } public static class EAccountingInvoiceAddress { public String CorporateIdentityNumber = null; public String InvoiceAddress1 = null; public String InvoiceAddress2 = null; public String InvoiceCity = null; public String InvoicePostalCode = null; public String InvoiceCountryCode = null; public String getCorporateIdentityNumber() { return CorporateIdentityNumber; } public EAccountingInvoiceAddress setCorporateIdentityNumber(String value) { this.CorporateIdentityNumber = value; return this; } public String getInvoiceAddress1() { return InvoiceAddress1; } public EAccountingInvoiceAddress setInvoiceAddress1(String value) { this.InvoiceAddress1 = value; return this; } public String getInvoiceAddress2() { return InvoiceAddress2; } public EAccountingInvoiceAddress setInvoiceAddress2(String value) { this.InvoiceAddress2 = value; return this; } public String getInvoiceCity() { return InvoiceCity; } public EAccountingInvoiceAddress setInvoiceCity(String value) { this.InvoiceCity = value; return this; } public String getInvoicePostalCode() { return InvoicePostalCode; } public EAccountingInvoiceAddress setInvoicePostalCode(String value) { this.InvoicePostalCode = value; return this; } public String getInvoiceCountryCode() { return InvoiceCountryCode; } public EAccountingInvoiceAddress setInvoiceCountryCode(String value) { this.InvoiceCountryCode = value; return this; } } @DataContract public static class QueryBase { @DataMember(Order=1) public Integer Skip = null; @DataMember(Order=2) public Integer Take = null; @DataMember(Order=3) public String OrderBy = null; @DataMember(Order=4) public String OrderByDesc = null; @DataMember(Order=5) public String Include = null; @DataMember(Order=6) public String Fields = null; @DataMember(Order=7) public HashMap Meta = null; public Integer getSkip() { return Skip; } public QueryBase setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public QueryBase setTake(Integer value) { this.Take = value; return this; } public String getOrderBy() { return OrderBy; } public QueryBase setOrderBy(String value) { this.OrderBy = value; return this; } public String getOrderByDesc() { return OrderByDesc; } public QueryBase setOrderByDesc(String value) { this.OrderByDesc = value; return this; } public String getInclude() { return Include; } public QueryBase setInclude(String value) { this.Include = value; return this; } public String getFields() { return Fields; } public QueryBase setFields(String value) { this.Fields = value; return this; } public HashMap getMeta() { return Meta; } public QueryBase setMeta(HashMap value) { this.Meta = value; return this; } } public static class CustomerLabelQueryResponse { public String Id = null; public String Name = null; public String Description = null; public String getId() { return Id; } public CustomerLabelQueryResponse setId(String value) { this.Id = value; return this; } public String getName() { return Name; } public CustomerLabelQueryResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CustomerLabelQueryResponse setDescription(String value) { this.Description = value; return this; } } public static class DirectDebitCustomerSettingsQueryResponse { public String MandateId = null; public Integer MandateType = null; public Integer SequenceType = null; public Date SigningDate = null; public Date EndDate = null; public Date LatestDirectDebit = null; public String getMandateId() { return MandateId; } public DirectDebitCustomerSettingsQueryResponse setMandateId(String value) { this.MandateId = value; return this; } public Integer getMandateType() { return MandateType; } public DirectDebitCustomerSettingsQueryResponse setMandateType(Integer value) { this.MandateType = value; return this; } public Integer getSequenceType() { return SequenceType; } public DirectDebitCustomerSettingsQueryResponse setSequenceType(Integer value) { this.SequenceType = value; return this; } public Date getSigningDate() { return SigningDate; } public DirectDebitCustomerSettingsQueryResponse setSigningDate(Date value) { this.SigningDate = value; return this; } public Date getEndDate() { return EndDate; } public DirectDebitCustomerSettingsQueryResponse setEndDate(Date value) { this.EndDate = value; return this; } public Date getLatestDirectDebit() { return LatestDirectDebit; } public DirectDebitCustomerSettingsQueryResponse setLatestDirectDebit(Date value) { this.LatestDirectDebit = value; return this; } } public static class EAccountingTermsOfPaymentQueryResponse { public String Id = null; public String Name = null; public String NameEnglish = null; public Integer NumberOfDays = null; public Integer TermsOfPaymentTypeId = null; public String TermsOfPaymentTypeText = null; public Boolean AvailableForSales = null; public Boolean AvailableForPurchase = null; public String getId() { return Id; } public EAccountingTermsOfPaymentQueryResponse setId(String value) { this.Id = value; return this; } public String getName() { return Name; } public EAccountingTermsOfPaymentQueryResponse setName(String value) { this.Name = value; return this; } public String getNameEnglish() { return NameEnglish; } public EAccountingTermsOfPaymentQueryResponse setNameEnglish(String value) { this.NameEnglish = value; return this; } public Integer getNumberOfDays() { return NumberOfDays; } public EAccountingTermsOfPaymentQueryResponse setNumberOfDays(Integer value) { this.NumberOfDays = value; return this; } public Integer getTermsOfPaymentTypeId() { return TermsOfPaymentTypeId; } public EAccountingTermsOfPaymentQueryResponse setTermsOfPaymentTypeId(Integer value) { this.TermsOfPaymentTypeId = value; return this; } public String getTermsOfPaymentTypeText() { return TermsOfPaymentTypeText; } public EAccountingTermsOfPaymentQueryResponse setTermsOfPaymentTypeText(String value) { this.TermsOfPaymentTypeText = value; return this; } public Boolean isAvailableForSales() { return AvailableForSales; } public EAccountingTermsOfPaymentQueryResponse setAvailableForSales(Boolean value) { this.AvailableForSales = value; return this; } public Boolean isAvailableForPurchase() { return AvailableForPurchase; } public EAccountingTermsOfPaymentQueryResponse setAvailableForPurchase(Boolean value) { this.AvailableForPurchase = value; return this; } } }