/* Options: Date: 2024-11-21 13:31:10 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: EAccountingTermOfPaymentQuery.* //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/termofpayments", Verbs="GET") public static class EAccountingTermOfPaymentQuery implements IReturn, ICompany { /** * Payment Term Id in e-accounting. */ @ApiMember(Description="Payment Term Id in e-accounting.") public String PaymentTermId = null; /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public UUID CompanyId = null; public String getPaymentTermId() { return PaymentTermId; } public EAccountingTermOfPaymentQuery setPaymentTermId(String value) { this.PaymentTermId = value; return this; } public UUID getCompanyId() { return CompanyId; } public EAccountingTermOfPaymentQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } private static Object responseType = EAccountingTermsOfPaymentQueryResponse.class; public Object getResponseType() { return responseType; } } 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; } } public static interface ICompany { public UUID CompanyId = null; } }