/* Options: Date: 2024-11-21 11:54:02 Version: 8.23 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: UpdateEAccountingSettingsQuery.* //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/settings", Verbs="PUT") public static class UpdateEAccountingSettingsQuery implements IReturn, ICompany { /** * Article id for 25% VAT in e-accounting system */ @ApiMember(Description="Article id for 25% VAT in e-accounting system") public String DefaultArticle25PercentVat = null; /** * Article id for 12% VAT in e-accounting system */ @ApiMember(Description="Article id for 12% VAT in e-accounting system") public String DefaultArticle12PercentVat = null; /** * Article id for 6% VAT in e-accounting system */ @ApiMember(Description="Article id for 6% VAT in e-accounting system") public String DefaultArticle6PercentVat = null; /** * Default invoice create type for invoice creation */ @ApiMember(Description="Default invoice create type for invoice creation") public String DefaultCreateType = null; /** * Determines wether e-accounting intergration is active or not */ @ApiMember(Description="Determines wether e-accounting intergration is active or not") public Boolean EAccountingIntegrationActive = null; /** * Default terms of payment value for invoice creation */ @ApiMember(Description="Default terms of payment value for invoice creation") public String DefaultTermsOfPaymentId = null; /** * E-Accounting settings company Id. */ @ApiMember(Description="E-Accounting settings company Id.") public UUID CompanyId = null; public String getDefaultArticle25PercentVat() { return DefaultArticle25PercentVat; } public UpdateEAccountingSettingsQuery setDefaultArticle25PercentVat(String value) { this.DefaultArticle25PercentVat = value; return this; } public String getDefaultArticle12PercentVat() { return DefaultArticle12PercentVat; } public UpdateEAccountingSettingsQuery setDefaultArticle12PercentVat(String value) { this.DefaultArticle12PercentVat = value; return this; } public String getDefaultArticle6PercentVat() { return DefaultArticle6PercentVat; } public UpdateEAccountingSettingsQuery setDefaultArticle6PercentVat(String value) { this.DefaultArticle6PercentVat = value; return this; } public String getDefaultCreateType() { return DefaultCreateType; } public UpdateEAccountingSettingsQuery setDefaultCreateType(String value) { this.DefaultCreateType = value; return this; } public Boolean isEAccountingIntegrationActive() { return EAccountingIntegrationActive; } public UpdateEAccountingSettingsQuery setEAccountingIntegrationActive(Boolean value) { this.EAccountingIntegrationActive = value; return this; } public String getDefaultTermsOfPaymentId() { return DefaultTermsOfPaymentId; } public UpdateEAccountingSettingsQuery setDefaultTermsOfPaymentId(String value) { this.DefaultTermsOfPaymentId = value; return this; } public UUID getCompanyId() { return CompanyId; } public UpdateEAccountingSettingsQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } private static Object responseType = EAccountingSettingsQueryResponse.class; public Object getResponseType() { return responseType; } } public static class EAccountingSettingsQueryResponse { public UUID CompanyId = null; public Boolean Active = null; public String DefaultArticle6PercentVat = null; public BigDecimal DefaultArticle12PercentVat = null; public BigDecimal DefaultArticle25PercentVat = null; public String DefaultCreateType = null; public String DefaultTermsOfPaymentId = null; public UUID getCompanyId() { return CompanyId; } public EAccountingSettingsQueryResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public Boolean isActive() { return Active; } public EAccountingSettingsQueryResponse setActive(Boolean value) { this.Active = value; return this; } public String getDefaultArticle6PercentVat() { return DefaultArticle6PercentVat; } public EAccountingSettingsQueryResponse setDefaultArticle6PercentVat(String value) { this.DefaultArticle6PercentVat = value; return this; } public BigDecimal getDefaultArticle12PercentVat() { return DefaultArticle12PercentVat; } public EAccountingSettingsQueryResponse setDefaultArticle12PercentVat(BigDecimal value) { this.DefaultArticle12PercentVat = value; return this; } public BigDecimal getDefaultArticle25PercentVat() { return DefaultArticle25PercentVat; } public EAccountingSettingsQueryResponse setDefaultArticle25PercentVat(BigDecimal value) { this.DefaultArticle25PercentVat = value; return this; } public String getDefaultCreateType() { return DefaultCreateType; } public EAccountingSettingsQueryResponse setDefaultCreateType(String value) { this.DefaultCreateType = value; return this; } public String getDefaultTermsOfPaymentId() { return DefaultTermsOfPaymentId; } public EAccountingSettingsQueryResponse setDefaultTermsOfPaymentId(String value) { this.DefaultTermsOfPaymentId = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } }