/* Options: Date: 2025-05-10 01:39:48 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ServiceTicketFullDetailsRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * ServiceTicketFullDetailsRequires active-e Service Tickets Service */ @Route(Path="/ServiceTicketFullDetails", Verbs="GET") @DataContract public static class ServiceTicketFullDetailsRequest extends BaseSecureRequest implements IReturn { @DataMember public Integer Acct = null; @DataMember public String RefNumber = null; @DataMember public Date ChangedDate = null; public Integer getAcct() { return Acct; } public ServiceTicketFullDetailsRequest setAcct(Integer value) { this.Acct = value; return this; } public String getRefNumber() { return RefNumber; } public ServiceTicketFullDetailsRequest setRefNumber(String value) { this.RefNumber = value; return this; } public Date getChangedDate() { return ChangedDate; } public ServiceTicketFullDetailsRequest setChangedDate(Date value) { this.ChangedDate = value; return this; } private static Object responseType = ServiceTicketFullDetailsResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class ServiceTicketFullDetailsResponse extends BaseResponse { @DataMember public ArrayList Tickets = null; public ArrayList getTickets() { return Tickets; } public ServiceTicketFullDetailsResponse setTickets(ArrayList value) { this.Tickets = value; return this; } } @DataContract public static class BaseRequest { /** * This is your AIM API Key provided by Tri-Tech */ @DataMember @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="header") public String ApiKey = null; @DataMember @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header") public String OAuthToken = null; public String getApiKey() { return ApiKey; } public BaseRequest setApiKey(String value) { this.ApiKey = value; return this; } public String getOAuthToken() { return OAuthToken; } public BaseRequest setOAuthToken(String value) { this.OAuthToken = value; return this; } } @DataContract public static class BaseSecureRequest extends BaseRequest { /** * */ @DataMember @ApiMember(DataType="string", Description="", Name="Token", ParameterType="Header") public String Token = null; /** * */ @DataMember @ApiMember(DataType="string", Description="", Name="DeviceId", ParameterType="Header") public String DeviceId = null; /** * */ @DataMember @ApiMember(DataType="string", Description="", IsRequired=true, Name="AppId", ParameterType="Header") public String AppId = null; public String getToken() { return Token; } public BaseSecureRequest setToken(String value) { this.Token = value; return this; } public String getDeviceId() { return DeviceId; } public BaseSecureRequest setDeviceId(String value) { this.DeviceId = value; return this; } public String getAppId() { return AppId; } public BaseSecureRequest setAppId(String value) { this.AppId = value; return this; } } @DataContract public static class TicketInfo { @DataMember public Integer Terms = null; @DataMember public String PoNumber = null; @DataMember public String ReturnAuthorizationNumber = null; @DataMember public String Status = null; @DataMember public BigDecimal ApprovedAmount = null; @DataMember public BigDecimal TotalDue = null; @DataMember public BigDecimal Subtotal = null; @DataMember public BigDecimal Tax1 = null; @DataMember public BigDecimal Tax2 = null; @DataMember public Date ApprovedDate = null; @DataMember public Date BilledDate = null; @DataMember public String Contact = null; @DataMember public Integer Category = null; @DataMember public ArrayList Services = null; @DataMember public String CategoryDescription = null; @DataMember public Integer SubCategory = null; @DataMember public String SubCategoryDescription = null; @DataMember public String Item = null; @DataMember public String ItemDescription = null; @DataMember public String Manufacturer = null; @DataMember public String Notes = null; @DataMember public Date Timestamp = null; @DataMember public Integer SoldToCustomerAcct = null; @DataMember public Integer BillToCustomerAcct = null; @DataMember public String Model = null; @DataMember public String StLoc = null; @DataMember public String TaxLoc = null; @DataMember public String RefNumber = null; @DataMember public String MasterNumber = null; @DataMember public Boolean Invoiced = null; @DataMember public ArrayList Deposits = null; @DataMember public String SoldToCustomerName = null; @DataMember public String BillToCustomerName = null; @DataMember public String ShipToName = null; @DataMember public Long ShipToId = null; public Integer getTerms() { return Terms; } public TicketInfo setTerms(Integer value) { this.Terms = value; return this; } public String getPoNumber() { return PoNumber; } public TicketInfo setPoNumber(String value) { this.PoNumber = value; return this; } public String getReturnAuthorizationNumber() { return ReturnAuthorizationNumber; } public TicketInfo setReturnAuthorizationNumber(String value) { this.ReturnAuthorizationNumber = value; return this; } public String getStatus() { return Status; } public TicketInfo setStatus(String value) { this.Status = value; return this; } public BigDecimal getApprovedAmount() { return ApprovedAmount; } public TicketInfo setApprovedAmount(BigDecimal value) { this.ApprovedAmount = value; return this; } public BigDecimal getTotalDue() { return TotalDue; } public TicketInfo setTotalDue(BigDecimal value) { this.TotalDue = value; return this; } public BigDecimal getSubtotal() { return Subtotal; } public TicketInfo setSubtotal(BigDecimal value) { this.Subtotal = value; return this; } public BigDecimal getTax1() { return Tax1; } public TicketInfo setTax1(BigDecimal value) { this.Tax1 = value; return this; } public BigDecimal getTax2() { return Tax2; } public TicketInfo setTax2(BigDecimal value) { this.Tax2 = value; return this; } public Date getApprovedDate() { return ApprovedDate; } public TicketInfo setApprovedDate(Date value) { this.ApprovedDate = value; return this; } public Date getBilledDate() { return BilledDate; } public TicketInfo setBilledDate(Date value) { this.BilledDate = value; return this; } public String getContact() { return Contact; } public TicketInfo setContact(String value) { this.Contact = value; return this; } public Integer getCategory() { return Category; } public TicketInfo setCategory(Integer value) { this.Category = value; return this; } public ArrayList getServices() { return Services; } public TicketInfo setServices(ArrayList value) { this.Services = value; return this; } public String getCategoryDescription() { return CategoryDescription; } public TicketInfo setCategoryDescription(String value) { this.CategoryDescription = value; return this; } public Integer getSubCategory() { return SubCategory; } public TicketInfo setSubCategory(Integer value) { this.SubCategory = value; return this; } public String getSubCategoryDescription() { return SubCategoryDescription; } public TicketInfo setSubCategoryDescription(String value) { this.SubCategoryDescription = value; return this; } public String getItem() { return Item; } public TicketInfo setItem(String value) { this.Item = value; return this; } public String getItemDescription() { return ItemDescription; } public TicketInfo setItemDescription(String value) { this.ItemDescription = value; return this; } public String getManufacturer() { return Manufacturer; } public TicketInfo setManufacturer(String value) { this.Manufacturer = value; return this; } public String getNotes() { return Notes; } public TicketInfo setNotes(String value) { this.Notes = value; return this; } public Date getTimestamp() { return Timestamp; } public TicketInfo setTimestamp(Date value) { this.Timestamp = value; return this; } public Integer getSoldToCustomerAcct() { return SoldToCustomerAcct; } public TicketInfo setSoldToCustomerAcct(Integer value) { this.SoldToCustomerAcct = value; return this; } public Integer getBillToCustomerAcct() { return BillToCustomerAcct; } public TicketInfo setBillToCustomerAcct(Integer value) { this.BillToCustomerAcct = value; return this; } public String getModel() { return Model; } public TicketInfo setModel(String value) { this.Model = value; return this; } public String getStLoc() { return StLoc; } public TicketInfo setStLoc(String value) { this.StLoc = value; return this; } public String getTaxLoc() { return TaxLoc; } public TicketInfo setTaxLoc(String value) { this.TaxLoc = value; return this; } public String getRefNumber() { return RefNumber; } public TicketInfo setRefNumber(String value) { this.RefNumber = value; return this; } public String getMasterNumber() { return MasterNumber; } public TicketInfo setMasterNumber(String value) { this.MasterNumber = value; return this; } public Boolean isInvoiced() { return Invoiced; } public TicketInfo setInvoiced(Boolean value) { this.Invoiced = value; return this; } public ArrayList getDeposits() { return Deposits; } public TicketInfo setDeposits(ArrayList value) { this.Deposits = value; return this; } public String getSoldToCustomerName() { return SoldToCustomerName; } public TicketInfo setSoldToCustomerName(String value) { this.SoldToCustomerName = value; return this; } public String getBillToCustomerName() { return BillToCustomerName; } public TicketInfo setBillToCustomerName(String value) { this.BillToCustomerName = value; return this; } public String getShipToName() { return ShipToName; } public TicketInfo setShipToName(String value) { this.ShipToName = value; return this; } public Long getShipToId() { return ShipToId; } public TicketInfo setShipToId(Long value) { this.ShipToId = value; return this; } } public static class ServiceInfo { @DataMember public Long Id = null; @DataMember public ArrayList Parts = null; @DataMember public String Description = null; @DataMember public BigDecimal Quantity = null; @DataMember public BigDecimal Rate = null; @DataMember public BigDecimal Discount = null; @DataMember public BigDecimal Total = null; @DataMember public BigDecimal Time = null; @DataMember public Boolean Completed = null; @DataMember public Date CompletedDate = null; @DataMember public String Technician = null; @DataMember public String Notes = null; @DataMember public Integer Category = null; @DataMember public String CategoryDescription = null; @DataMember public Boolean TimerActive = null; @DataMember public Date TimerStartTime = null; public Long getId() { return Id; } public ServiceInfo setId(Long value) { this.Id = value; return this; } public ArrayList getParts() { return Parts; } public ServiceInfo setParts(ArrayList value) { this.Parts = value; return this; } public String getDescription() { return Description; } public ServiceInfo setDescription(String value) { this.Description = value; return this; } public BigDecimal getQuantity() { return Quantity; } public ServiceInfo setQuantity(BigDecimal value) { this.Quantity = value; return this; } public BigDecimal getRate() { return Rate; } public ServiceInfo setRate(BigDecimal value) { this.Rate = value; return this; } public BigDecimal getDiscount() { return Discount; } public ServiceInfo setDiscount(BigDecimal value) { this.Discount = value; return this; } public BigDecimal getTotal() { return Total; } public ServiceInfo setTotal(BigDecimal value) { this.Total = value; return this; } public BigDecimal getTime() { return Time; } public ServiceInfo setTime(BigDecimal value) { this.Time = value; return this; } public Boolean isCompleted() { return Completed; } public ServiceInfo setCompleted(Boolean value) { this.Completed = value; return this; } public Date getCompletedDate() { return CompletedDate; } public ServiceInfo setCompletedDate(Date value) { this.CompletedDate = value; return this; } public String getTechnician() { return Technician; } public ServiceInfo setTechnician(String value) { this.Technician = value; return this; } public String getNotes() { return Notes; } public ServiceInfo setNotes(String value) { this.Notes = value; return this; } public Integer getCategory() { return Category; } public ServiceInfo setCategory(Integer value) { this.Category = value; return this; } public String getCategoryDescription() { return CategoryDescription; } public ServiceInfo setCategoryDescription(String value) { this.CategoryDescription = value; return this; } public Boolean isTimerActive() { return TimerActive; } public ServiceInfo setTimerActive(Boolean value) { this.TimerActive = value; return this; } public Date getTimerStartTime() { return TimerStartTime; } public ServiceInfo setTimerStartTime(Date value) { this.TimerStartTime = value; return this; } } public static class DepositInfo { @DataMember public BigDecimal OriginalAmount = null; @DataMember public BigDecimal Amount = null; @DataMember public String RefNumber = null; public BigDecimal getOriginalAmount() { return OriginalAmount; } public DepositInfo setOriginalAmount(BigDecimal value) { this.OriginalAmount = value; return this; } public BigDecimal getAmount() { return Amount; } public DepositInfo setAmount(BigDecimal value) { this.Amount = value; return this; } public String getRefNumber() { return RefNumber; } public DepositInfo setRefNumber(String value) { this.RefNumber = value; return this; } } public static class PartInfo { @DataMember public String Description = null; @DataMember public BigDecimal Quantity = null; @DataMember public BigDecimal Price = null; @DataMember public BigDecimal Discount = null; @DataMember public BigDecimal Total = null; @DataMember public String Notes = null; @DataMember public Integer Category = null; @DataMember public String CategoryDescription = null; @DataMember public String Sku = null; public String getDescription() { return Description; } public PartInfo setDescription(String value) { this.Description = value; return this; } public BigDecimal getQuantity() { return Quantity; } public PartInfo setQuantity(BigDecimal value) { this.Quantity = value; return this; } public BigDecimal getPrice() { return Price; } public PartInfo setPrice(BigDecimal value) { this.Price = value; return this; } public BigDecimal getDiscount() { return Discount; } public PartInfo setDiscount(BigDecimal value) { this.Discount = value; return this; } public BigDecimal getTotal() { return Total; } public PartInfo setTotal(BigDecimal value) { this.Total = value; return this; } public String getNotes() { return Notes; } public PartInfo setNotes(String value) { this.Notes = value; return this; } public Integer getCategory() { return Category; } public PartInfo setCategory(Integer value) { this.Category = value; return this; } public String getCategoryDescription() { return CategoryDescription; } public PartInfo setCategoryDescription(String value) { this.CategoryDescription = value; return this; } public String getSku() { return Sku; } public PartInfo setSku(String value) { this.Sku = value; return this; } } @DataContract public static class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") public BaseResponseResult Status = null; public BaseResponseResult getStatus() { return Status; } public BaseResponse setStatus(BaseResponseResult value) { this.Status = value; return this; } } }