/* Options: Date: 2025-05-10 02:21:15 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: InventoryHistoryRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * InventoryHistoryRequires active-e Inventory Service */ @Route(Path="/InventoryHistory", Verbs="GET") @DataContract public static class InventoryHistoryRequest extends BaseSecureRequest implements IReturn { @DataMember public Long LocId = null; @DataMember public String Item = null; public Long getLocId() { return LocId; } public InventoryHistoryRequest setLocId(Long value) { this.LocId = value; return this; } public String getItem() { return Item; } public InventoryHistoryRequest setItem(String value) { this.Item = value; return this; } private static Object responseType = InventoryHistoryResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class InventoryHistoryResponse extends BaseResponse { @DataMember @ApiMember(Name="HistoryRecords", ParameterType="body") public ArrayList HistoryRecords = null; @DataMember @ApiMember(Name="InventoryDetail", ParameterType="body") public InventoryDetailResponse InventoryDetail = null; public ArrayList getHistoryRecords() { return HistoryRecords; } public InventoryHistoryResponse setHistoryRecords(ArrayList value) { this.HistoryRecords = value; return this; } public InventoryDetailResponse getInventoryDetail() { return InventoryDetail; } public InventoryHistoryResponse setInventoryDetail(InventoryDetailResponse value) { this.InventoryDetail = 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 InventoryHistoryObj { @DataMember public Date DateVal = null; @DataMember public Date SDateVal = null; @DataMember public Integer Acct = null; @DataMember public Integer Sub = null; @DataMember public String CusName = null; @DataMember public BigDecimal Qty = null; @DataMember public BigDecimal Amt = null; @DataMember public String Ref = null; @DataMember public String Type = null; @DataMember public String Serial = null; @DataMember public String Employee = null; @DataMember public String EmployeeName = null; @DataMember public String Stloc = null; @DataMember public String Dunn = null; @DataMember public String SoldDesc = null; @DataMember public String Tcp_rtncode = null; @DataMember public String TableName = null; @DataMember public Long TraPk = null; @DataMember public Long CusPk = null; @DataMember public Long SasPk = null; @DataMember public Long SaqPk = null; @DataMember public Long SkuPk = null; @DataMember public Long SadPk = null; @DataMember public Long TablePk = null; @DataMember public String Description = null; public Date getDateVal() { return DateVal; } public InventoryHistoryObj setDateVal(Date value) { this.DateVal = value; return this; } public Date getSDateVal() { return SDateVal; } public InventoryHistoryObj setSDateVal(Date value) { this.SDateVal = value; return this; } public Integer getAcct() { return Acct; } public InventoryHistoryObj setAcct(Integer value) { this.Acct = value; return this; } public Integer getSub() { return Sub; } public InventoryHistoryObj setSub(Integer value) { this.Sub = value; return this; } public String getCusName() { return CusName; } public InventoryHistoryObj setCusName(String value) { this.CusName = value; return this; } public BigDecimal getQty() { return Qty; } public InventoryHistoryObj setQty(BigDecimal value) { this.Qty = value; return this; } public BigDecimal getAmt() { return Amt; } public InventoryHistoryObj setAmt(BigDecimal value) { this.Amt = value; return this; } public String getRef() { return Ref; } public InventoryHistoryObj setRef(String value) { this.Ref = value; return this; } public String getType() { return Type; } public InventoryHistoryObj setType(String value) { this.Type = value; return this; } public String getSerial() { return Serial; } public InventoryHistoryObj setSerial(String value) { this.Serial = value; return this; } public String getEmployee() { return Employee; } public InventoryHistoryObj setEmployee(String value) { this.Employee = value; return this; } public String getEmployeeName() { return EmployeeName; } public InventoryHistoryObj setEmployeeName(String value) { this.EmployeeName = value; return this; } public String getStloc() { return Stloc; } public InventoryHistoryObj setStloc(String value) { this.Stloc = value; return this; } public String getDunn() { return Dunn; } public InventoryHistoryObj setDunn(String value) { this.Dunn = value; return this; } public String getSoldDesc() { return SoldDesc; } public InventoryHistoryObj setSoldDesc(String value) { this.SoldDesc = value; return this; } public String getTcpRtncode() { return Tcp_rtncode; } public InventoryHistoryObj setTcpRtncode(String value) { this.Tcp_rtncode = value; return this; } public String getTableName() { return TableName; } public InventoryHistoryObj setTableName(String value) { this.TableName = value; return this; } public Long getTraPk() { return TraPk; } public InventoryHistoryObj setTraPk(Long value) { this.TraPk = value; return this; } public Long getCusPk() { return CusPk; } public InventoryHistoryObj setCusPk(Long value) { this.CusPk = value; return this; } public Long getSasPk() { return SasPk; } public InventoryHistoryObj setSasPk(Long value) { this.SasPk = value; return this; } public Long getSaqPk() { return SaqPk; } public InventoryHistoryObj setSaqPk(Long value) { this.SaqPk = value; return this; } public Long getSkuPk() { return SkuPk; } public InventoryHistoryObj setSkuPk(Long value) { this.SkuPk = value; return this; } public Long getSadPk() { return SadPk; } public InventoryHistoryObj setSadPk(Long value) { this.SadPk = value; return this; } public Long getTablePk() { return TablePk; } public InventoryHistoryObj setTablePk(Long value) { this.TablePk = value; return this; } public String getDescription() { return Description; } public InventoryHistoryObj setDescription(String value) { this.Description = value; return this; } } @DataContract public static class InventoryDetailResponse extends BaseResponse { @DataMember public Long SadPk = null; @DataMember public String InvType = null; @DataMember public String Model = null; @DataMember public String Description = null; @DataMember public String Mfg = null; @DataMember public Integer Category = null; @DataMember public String CategoryDescription = null; @DataMember public Integer SubCategory = null; @DataMember public String SubCategoryDescription = null; @DataMember public String SelectionCode = null; @DataMember public String SelectionCodeDescription = null; @DataMember public Boolean SellSerialsOnline = null; @DataMember public String Notes = null; @DataMember public ArrayList Images = null; @DataMember public Boolean HasImages = null; @DataMember public ArrayList VariantDetails = null; @DataMember public ArrayList AddOns = null; @DataMember public ActiveEInfo ActiveEInfo = null; @DataMember public BigDecimal Weight = null; @DataMember public String Unit = null; @DataMember public BigDecimal ShipCharge = null; public Long getSadPk() { return SadPk; } public InventoryDetailResponse setSadPk(Long value) { this.SadPk = value; return this; } public String getInvType() { return InvType; } public InventoryDetailResponse setInvType(String value) { this.InvType = value; return this; } public String getModel() { return Model; } public InventoryDetailResponse setModel(String value) { this.Model = value; return this; } public String getDescription() { return Description; } public InventoryDetailResponse setDescription(String value) { this.Description = value; return this; } public String getMfg() { return Mfg; } public InventoryDetailResponse setMfg(String value) { this.Mfg = value; return this; } public Integer getCategory() { return Category; } public InventoryDetailResponse setCategory(Integer value) { this.Category = value; return this; } public String getCategoryDescription() { return CategoryDescription; } public InventoryDetailResponse setCategoryDescription(String value) { this.CategoryDescription = value; return this; } public Integer getSubCategory() { return SubCategory; } public InventoryDetailResponse setSubCategory(Integer value) { this.SubCategory = value; return this; } public String getSubCategoryDescription() { return SubCategoryDescription; } public InventoryDetailResponse setSubCategoryDescription(String value) { this.SubCategoryDescription = value; return this; } public String getSelectionCode() { return SelectionCode; } public InventoryDetailResponse setSelectionCode(String value) { this.SelectionCode = value; return this; } public String getSelectionCodeDescription() { return SelectionCodeDescription; } public InventoryDetailResponse setSelectionCodeDescription(String value) { this.SelectionCodeDescription = value; return this; } public Boolean isSellSerialsOnline() { return SellSerialsOnline; } public InventoryDetailResponse setSellSerialsOnline(Boolean value) { this.SellSerialsOnline = value; return this; } public String getNotes() { return Notes; } public InventoryDetailResponse setNotes(String value) { this.Notes = value; return this; } public ArrayList getImages() { return Images; } public InventoryDetailResponse setImages(ArrayList value) { this.Images = value; return this; } public Boolean isHasImages() { return HasImages; } public InventoryDetailResponse setHasImages(Boolean value) { this.HasImages = value; return this; } public ArrayList getVariantDetails() { return VariantDetails; } public InventoryDetailResponse setVariantDetails(ArrayList value) { this.VariantDetails = value; return this; } public ArrayList getAddOns() { return AddOns; } public InventoryDetailResponse setAddOns(ArrayList value) { this.AddOns = value; return this; } public ActiveEInfo getActiveEInfo() { return ActiveEInfo; } public InventoryDetailResponse setActiveEInfo(ActiveEInfo value) { this.ActiveEInfo = value; return this; } public BigDecimal getWeight() { return Weight; } public InventoryDetailResponse setWeight(BigDecimal value) { this.Weight = value; return this; } public String getUnit() { return Unit; } public InventoryDetailResponse setUnit(String value) { this.Unit = value; return this; } public BigDecimal getShipCharge() { return ShipCharge; } public InventoryDetailResponse setShipCharge(BigDecimal value) { this.ShipCharge = 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; } } }