/* Options: Date: 2024-06-26 09:25:51 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: CreateArticle.* //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/articles", Verbs="POST") public static class CreateArticle extends BaseArticleDto implements IReturn, ICompany { public Integer ServiceId = null; public UUID CompanyId = null; public Integer getServiceId() { return ServiceId; } public CreateArticle setServiceId(Integer value) { this.ServiceId = value; return this; } public UUID getCompanyId() { return CompanyId; } public CreateArticle setCompanyId(UUID value) { this.CompanyId = value; return this; } private static Object responseType = ArticleQueryResponse.class; public Object getResponseType() { return responseType; } } public static class ArticleQueryResponse extends BaseArticleDto { public String UnitId = null; public String CodingId = null; public String VatRate = null; public String VatRatePercent = null; public String CurrencySign = null; public String getUnitId() { return UnitId; } public ArticleQueryResponse setUnitId(String value) { this.UnitId = value; return this; } public String getCodingId() { return CodingId; } public ArticleQueryResponse setCodingId(String value) { this.CodingId = value; return this; } public String getVatRate() { return VatRate; } public ArticleQueryResponse setVatRate(String value) { this.VatRate = value; return this; } public String getVatRatePercent() { return VatRatePercent; } public ArticleQueryResponse setVatRatePercent(String value) { this.VatRatePercent = value; return this; } public String getCurrencySign() { return CurrencySign; } public ArticleQueryResponse setCurrencySign(String value) { this.CurrencySign = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static class BaseArticleDto { public UUID ArticleId = null; public BigDecimal ArticlePrice = null; public String ArticleName = null; public Date CreatedDate = null; public UUID getArticleId() { return ArticleId; } public BaseArticleDto setArticleId(UUID value) { this.ArticleId = value; return this; } public BigDecimal getArticlePrice() { return ArticlePrice; } public BaseArticleDto setArticlePrice(BigDecimal value) { this.ArticlePrice = value; return this; } public String getArticleName() { return ArticleName; } public BaseArticleDto setArticleName(String value) { this.ArticleName = value; return this; } public Date getCreatedDate() { return CreatedDate; } public BaseArticleDto setCreatedDate(Date value) { this.CreatedDate = value; return this; } } }