/* Options: Date: 2024-11-21 11:42:47 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: ExportRebateCode.* //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="/rebatecodes/{RebateCodeId}/reports", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") public static class ExportRebateCode implements ICompany { /** * Id of the rebate code */ @ApiMember(Description="Id of the rebate code", IsRequired=true, ParameterType="path") public Integer RebateCodeId = 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 SendReceiptMethod SendReceiptMethod = null; public Integer getRebateCodeId() { return RebateCodeId; } public ExportRebateCode setRebateCodeId(Integer value) { this.RebateCodeId = value; return this; } public UUID getCompanyId() { return CompanyId; } public ExportRebateCode setCompanyId(UUID value) { this.CompanyId = value; return this; } public SendReceiptMethod getSendReceiptMethod() { return SendReceiptMethod; } public ExportRebateCode setSendReceiptMethod(SendReceiptMethod value) { this.SendReceiptMethod = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static enum SendReceiptMethod { Email(1), PdfExport(2); private final int value; SendReceiptMethod(final int intValue) { value = intValue; } public int getValue() { return value; } } }