POST, GET | /api/SearchInventory |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
/**
* SearchInventoryRequires active-e Inventory Service
*/
@DataContract
public static class SearchInventoryRequest extends BaseSecureRequest
{
/**
* If sent, only items from the passed location will be returned
*/
@DataMember
@ApiMember(DataType="integer", Description="If sent, only items from the passed location will be returned", Format="int32", Name="LocFk")
public Integer LocFk = null;
/**
* For Internal Use Only
*/
@DataMember
@ApiMember(DataType="integer", Description="For Internal Use Only", Format="int32", Name="MfgFk")
public Integer MfgFk = null;
/**
* For Internal Use Only
*/
@DataMember
@ApiMember(DataType="integer", Description="For Internal Use Only", Format="int32", Name="CatFk")
public Integer CatFk = null;
/**
* For Internal Use Only
*/
@DataMember
@ApiMember(DataType="integer", Description="For Internal Use Only", Format="int32", Name="SubFk")
public Integer SubFk = null;
/**
* For Internal Use Only
*/
@DataMember
@ApiMember(DataType="integer", Description="For Internal Use Only", Format="int32", Name="SelFk")
public Integer SelFk = null;
/**
* If sent, only items from the passed category# will be returned
*/
@DataMember
@ApiMember(DataType="integer", Description="If sent, only items from the passed category# will be returned", Format="int32", Name="Cat")
public Integer Cat = null;
/**
* If sent, only items from the passed subcategory# will be returned. Must be used in conjunction with the Cat parameter.
*/
@DataMember
@ApiMember(DataType="integer", Description="If sent, only items from the passed subcategory# will be returned. Must be used in conjunction with the Cat parameter.", Format="int32", Name="Sub")
public Integer Sub = null;
/**
* If sent, only items with the passed selection code will be returned
*/
@DataMember
@ApiMember(Description="If sent, only items with the passed selection code will be returned", Name="SelectionCode")
public String SelectionCode = null;
/**
* If sent, only items with the passed mfg code will be returned
*/
@DataMember
@ApiMember(Description="If sent, only items with the passed mfg code will be returned", Name="Mfg")
public String Mfg = null;
/**
* Serialized Items will be included in the search results
*/
@DataMember
@ApiMember(DataType="boolean", Description="Serialized Items will be included in the search results", Name="IncludeSerials")
public Boolean IncludeSerials = null;
/**
* Media Items will be included in the search results
*/
@DataMember
@ApiMember(DataType="boolean", Description="Media Items will be included in the search results", Name="IncludeMedia")
public Boolean IncludeMedia = null;
/**
* Non-Serialized, Non-Media Items will be included in the search results
*/
@DataMember
@ApiMember(DataType="boolean", Description="Non-Serialized, Non-Media Items will be included in the search results", Name="IncludeAccessories")
public Boolean IncludeAccessories = null;
/**
* Package Deal Items will be included in the search results
*/
@DataMember
@ApiMember(DataType="boolean", Description="Package Deal Items will be included in the search results", Name="IncludePackages")
public Boolean IncludePackages = null;
/**
* The string to be searched for
*/
@DataMember
@ApiMember(Description="The string to be searched for", Name="SearchStr")
public String SearchStr = null;
/**
* If set, only items with the exact model contained in the search string will be returned
*/
@DataMember
@ApiMember(DataType="boolean", Description="If set, only items with the exact model contained in the search string will be returned", Name="ExactModel")
public Boolean ExactModel = null;
/**
* The Starting Offse
*/
@DataMember
@ApiMember(DataType="integer", Description="The Starting Offse", Format="int64", Name="StartOffset")
public Long StartOffset = null;
/**
* The # of records to be returned
*/
@DataMember
@ApiMember(DataType="integer", Description="The # of records to be returned", Format="int64", Name="RecordCount")
public Long RecordCount = null;
/**
* If set, Icon Image Urls will be included in the result, if available
*/
@DataMember
@ApiMember(DataType="boolean", Description="If set, Icon Image Urls will be included in the result, if available", Name="IncludeIconImage")
public Boolean IncludeIconImage = null;
/**
* If sent, only items from the passed category IDs will be returned
*/
@DataMember
@ApiMember(Description="If sent, only items from the passed category IDs will be returned", Name="CatIdList")
public ArrayList<Long> CatIdList = null;
/**
* If sent, only items from the passed subcategory IDs will be returned
*/
@DataMember
@ApiMember(Description="If sent, only items from the passed subcategory IDs will be returned", Name="SubIdList")
public ArrayList<Long> SubIdList = null;
/**
* If sent, only items from the passed mfg IDs will be returned
*/
@DataMember
@ApiMember(Description="If sent, only items from the passed mfg IDs will be returned", Name="MfgIdList")
public ArrayList<Long> MfgIdList = null;
/**
* If sent, only items from the passed selection code IDs will be returned
*/
@DataMember
@ApiMember(Description="If sent, only items from the passed selection code IDs will be returned", Name="SelIdList")
public ArrayList<Long> SelIdList = null;
/**
* Deleted Items will be included in the search results
*/
@DataMember
@ApiMember(DataType="boolean", Description="Deleted Items will be included in the search results", Name="IncludeDeleted")
public Boolean IncludeDeleted = null;
/**
* If sent, only inventory changed on or after this date/time will be included
*/
@DataMember
@ApiMember(DataType="string", Description="If sent, only inventory changed on or after this date/time will be included", Format="date", Name="ChangedDate", ParameterType="query")
public Date ChangedDate = null;
/**
* Package Deal Line Items will be included
*/
@DataMember
@ApiMember(DataType="boolean", Description="Package Deal Line Items will be included", Name="IncludePackageLineItems")
public Boolean IncludePackageLineItems = null;
/**
* If set, the InventoryDetails object for each item will also be returned. This is much slower.
*/
@DataMember
@ApiMember(DataType="boolean", Description="If set, the InventoryDetails object for each item will also be returned. This is much slower.", Name="IncludeDetails")
public Boolean IncludeDetails = null;
/**
* If sent, only items with an Available Quantity greater then or equal to the sent value will be returned. Use of this parameter requires that the LocFk parameter also be sent.
*/
@DataMember
@ApiMember(DataType="integer", Description="If sent, only items with an Available Quantity greater then or equal to the sent value will be returned. Use of this parameter requires that the LocFk parameter also be sent.", Format="int32", Name="MinimumAvailableQuantity")
public Integer MinimumAvailableQuantity = null;
public Integer getLocFk() { return LocFk; }
public SearchInventoryRequest setLocFk(Integer value) { this.LocFk = value; return this; }
public Integer getMfgFk() { return MfgFk; }
public SearchInventoryRequest setMfgFk(Integer value) { this.MfgFk = value; return this; }
public Integer getCatFk() { return CatFk; }
public SearchInventoryRequest setCatFk(Integer value) { this.CatFk = value; return this; }
public Integer getSubFk() { return SubFk; }
public SearchInventoryRequest setSubFk(Integer value) { this.SubFk = value; return this; }
public Integer getSelFk() { return SelFk; }
public SearchInventoryRequest setSelFk(Integer value) { this.SelFk = value; return this; }
public Integer getCat() { return Cat; }
public SearchInventoryRequest setCat(Integer value) { this.Cat = value; return this; }
public Integer getSub() { return Sub; }
public SearchInventoryRequest setSub(Integer value) { this.Sub = value; return this; }
public String getSelectionCode() { return SelectionCode; }
public SearchInventoryRequest setSelectionCode(String value) { this.SelectionCode = value; return this; }
public String getMfg() { return Mfg; }
public SearchInventoryRequest setMfg(String value) { this.Mfg = value; return this; }
public Boolean isIncludeSerials() { return IncludeSerials; }
public SearchInventoryRequest setIncludeSerials(Boolean value) { this.IncludeSerials = value; return this; }
public Boolean isIncludeMedia() { return IncludeMedia; }
public SearchInventoryRequest setIncludeMedia(Boolean value) { this.IncludeMedia = value; return this; }
public Boolean isIncludeAccessories() { return IncludeAccessories; }
public SearchInventoryRequest setIncludeAccessories(Boolean value) { this.IncludeAccessories = value; return this; }
public Boolean isIncludePackages() { return IncludePackages; }
public SearchInventoryRequest setIncludePackages(Boolean value) { this.IncludePackages = value; return this; }
public String getSearchStr() { return SearchStr; }
public SearchInventoryRequest setSearchStr(String value) { this.SearchStr = value; return this; }
public Boolean isExactModel() { return ExactModel; }
public SearchInventoryRequest setExactModel(Boolean value) { this.ExactModel = value; return this; }
public Long getStartOffset() { return StartOffset; }
public SearchInventoryRequest setStartOffset(Long value) { this.StartOffset = value; return this; }
public Long getRecordCount() { return RecordCount; }
public SearchInventoryRequest setRecordCount(Long value) { this.RecordCount = value; return this; }
public Boolean isIncludeIconImage() { return IncludeIconImage; }
public SearchInventoryRequest setIncludeIconImage(Boolean value) { this.IncludeIconImage = value; return this; }
public ArrayList<Long> getCatIdList() { return CatIdList; }
public SearchInventoryRequest setCatIdList(ArrayList<Long> value) { this.CatIdList = value; return this; }
public ArrayList<Long> getSubIdList() { return SubIdList; }
public SearchInventoryRequest setSubIdList(ArrayList<Long> value) { this.SubIdList = value; return this; }
public ArrayList<Long> getMfgIdList() { return MfgIdList; }
public SearchInventoryRequest setMfgIdList(ArrayList<Long> value) { this.MfgIdList = value; return this; }
public ArrayList<Long> getSelIdList() { return SelIdList; }
public SearchInventoryRequest setSelIdList(ArrayList<Long> value) { this.SelIdList = value; return this; }
public Boolean isIncludeDeleted() { return IncludeDeleted; }
public SearchInventoryRequest setIncludeDeleted(Boolean value) { this.IncludeDeleted = value; return this; }
public Date getChangedDate() { return ChangedDate; }
public SearchInventoryRequest setChangedDate(Date value) { this.ChangedDate = value; return this; }
public Boolean isIncludePackageLineItems() { return IncludePackageLineItems; }
public SearchInventoryRequest setIncludePackageLineItems(Boolean value) { this.IncludePackageLineItems = value; return this; }
public Boolean isIncludeDetails() { return IncludeDetails; }
public SearchInventoryRequest setIncludeDetails(Boolean value) { this.IncludeDetails = value; return this; }
public Integer getMinimumAvailableQuantity() { return MinimumAvailableQuantity; }
public SearchInventoryRequest setMinimumAvailableQuantity(Integer value) { this.MinimumAvailableQuantity = 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 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 SearchInventoryResponse extends BaseResponse
{
@DataMember
public Long StartOffset = null;
@DataMember
public Long RecordCount = null;
@DataMember
public Long RemainingRecords = null;
@DataMember
public Long TotalRecords = null;
@DataMember
@ApiMember(Name="Records", ParameterType="body")
public ArrayList<SearchInventoryApiResult> Records = null;
public Long getStartOffset() { return StartOffset; }
public SearchInventoryResponse setStartOffset(Long value) { this.StartOffset = value; return this; }
public Long getRecordCount() { return RecordCount; }
public SearchInventoryResponse setRecordCount(Long value) { this.RecordCount = value; return this; }
public Long getRemainingRecords() { return RemainingRecords; }
public SearchInventoryResponse setRemainingRecords(Long value) { this.RemainingRecords = value; return this; }
public Long getTotalRecords() { return TotalRecords; }
public SearchInventoryResponse setTotalRecords(Long value) { this.TotalRecords = value; return this; }
public ArrayList<SearchInventoryApiResult> getRecords() { return Records; }
public SearchInventoryResponse setRecords(ArrayList<SearchInventoryApiResult> value) { this.Records = 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; }
}
@DataContract
public static class BaseResponseResult
{
/**
*
*/
@DataMember
@ApiMember(DataType="string", Description="", Name="StatusCode", ParameterType="body")
public String StatusCode = null;
/**
*
*/
@DataMember
@ApiMember(DataType="string", Description="", Name="Login", ParameterType="body")
public String Login = null;
/**
*
*/
@DataMember
@ApiMember(DataType="string", Description="", Name="ErrorCode", ParameterType="body")
public String ErrorCode = null;
/**
*
*/
@DataMember
@ApiMember(DataType="string", Description="", Name="ErrorDisplayText", ParameterType="body")
public String ErrorDisplayText = null;
/**
*
*/
@DataMember
@ApiMember(DataType="string", Description="", Name="ErrorMessage", ParameterType="body")
public String ErrorMessage = null;
/**
*
*/
@DataMember
@ApiMember(DataType="string", Description="", ExcludeInSchema=true, Name="DomainName", ParameterType="body")
public String DomainName = null;
/**
*
*/
@DataMember
@ApiMember(DataType="string", Description="", ExcludeInSchema=true, Name="IPAddress", ParameterType="body")
public String IpAddress = null;
public String getStatusCode() { return StatusCode; }
public BaseResponseResult setStatusCode(String value) { this.StatusCode = value; return this; }
public String getLogin() { return Login; }
public BaseResponseResult setLogin(String value) { this.Login = value; return this; }
public String getErrorCode() { return ErrorCode; }
public BaseResponseResult setErrorCode(String value) { this.ErrorCode = value; return this; }
public String getErrorDisplayText() { return ErrorDisplayText; }
public BaseResponseResult setErrorDisplayText(String value) { this.ErrorDisplayText = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public BaseResponseResult setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public String getDomainName() { return DomainName; }
public BaseResponseResult setDomainName(String value) { this.DomainName = value; return this; }
public String getIpAddress() { return IpAddress; }
public BaseResponseResult setIpAddress(String value) { this.IpAddress = value; return this; }
}
@DataContract
public static class SearchInventoryApiResult extends SearchInventoryResultSet
{
@DataMember
public InventoryDetail Detail = null;
@DataMember
public ImageInfo IconImage = null;
@DataMember
public BigDecimal CustomerPrice = null;
public InventoryDetail getDetail() { return Detail; }
public SearchInventoryApiResult setDetail(InventoryDetail value) { this.Detail = value; return this; }
public ImageInfo getIconImage() { return IconImage; }
public SearchInventoryApiResult setIconImage(ImageInfo value) { this.IconImage = value; return this; }
public BigDecimal getCustomerPrice() { return CustomerPrice; }
public SearchInventoryApiResult setCustomerPrice(BigDecimal value) { this.CustomerPrice = value; return this; }
}
@DataContract
public static class SearchInventoryResultSet extends BindableObject implements IAIMInventoryRecord
{
@DataMember
public Long Pk = null;
@DataMember
public String Description = null;
@DataMember
public String InventoryType = null;
@DataMember
public String Manufacturer = null;
@DataMember
public String Model = null;
@DataMember
public BigDecimal Category = null;
@DataMember
public String CategoryDescription = null;
@DataMember
public BigDecimal SubCategory = null;
@DataMember
public String SubCategoryDescription = null;
@DataMember
public String SelectionCode = null;
@DataMember
public String SelectionCodeDescription = null;
@DataMember
public String Sku = null;
@DataMember
public String Mpn = null;
@DataMember
public Boolean Discontinued = null;
@DataMember
public String Attribute1 = null;
@DataMember
public String Attribute2 = null;
@DataMember
public String Attribute3 = null;
@DataMember
public String Attribute4 = null;
@DataMember
public String Attribute5 = null;
@DataMember
public String Attribute6 = null;
@DataMember
public String Attribute7 = null;
@DataMember
public String Attribute8 = null;
@DataMember
public String Attribute9 = null;
@DataMember
public String Attribute10 = null;
@DataMember
public String Attribute11 = null;
@DataMember
public String Attribute12 = null;
@DataMember
public String Attribute13 = null;
@DataMember
public String Attribute14 = null;
@DataMember
public String Attribute15 = null;
@DataMember
public String Attribute16 = null;
@DataMember
public String Attribute17 = null;
@DataMember
public String Attribute18 = null;
@DataMember
public String Attribute19 = null;
@DataMember
public String Attribute20 = null;
@DataMember
public BigDecimal ComputerQuantity = null;
@DataMember
public BigDecimal OurPrice = null;
@DataMember
public BigDecimal RetailPrice = null;
@DataMember
public BigDecimal ActiveePrice = null;
@DataMember
public BigDecimal PriceA = null;
@DataMember
public BigDecimal PriceB = null;
@DataMember
public BigDecimal PriceC = null;
@DataMember
public BigDecimal MinPrice = null;
@DataMember
public BigDecimal AvailableQuantity = null;
@DataMember
public Boolean IsMedia = null;
@DataMember
public Boolean IsPackage = null;
@DataMember
public Boolean HasImage = null;
@DataMember
public String SearchTerm = null;
@DataMember
public String Keywords = null;
@DataMember
public String KeywordsOrigin = null;
@DataMember
public Boolean Deleted = null;
@DataMember
public Date TimeStamp = null;
public Long getPk() { return Pk; }
public SearchInventoryResultSet setPk(Long value) { this.Pk = value; return this; }
public String getDescription() { return Description; }
public SearchInventoryResultSet setDescription(String value) { this.Description = value; return this; }
public String getInventoryType() { return InventoryType; }
public SearchInventoryResultSet setInventoryType(String value) { this.InventoryType = value; return this; }
public String getManufacturer() { return Manufacturer; }
public SearchInventoryResultSet setManufacturer(String value) { this.Manufacturer = value; return this; }
public String getModel() { return Model; }
public SearchInventoryResultSet setModel(String value) { this.Model = value; return this; }
public BigDecimal getCategory() { return Category; }
public SearchInventoryResultSet setCategory(BigDecimal value) { this.Category = value; return this; }
public String getCategoryDescription() { return CategoryDescription; }
public SearchInventoryResultSet setCategoryDescription(String value) { this.CategoryDescription = value; return this; }
public BigDecimal getSubCategory() { return SubCategory; }
public SearchInventoryResultSet setSubCategory(BigDecimal value) { this.SubCategory = value; return this; }
public String getSubCategoryDescription() { return SubCategoryDescription; }
public SearchInventoryResultSet setSubCategoryDescription(String value) { this.SubCategoryDescription = value; return this; }
public String getSelectionCode() { return SelectionCode; }
public SearchInventoryResultSet setSelectionCode(String value) { this.SelectionCode = value; return this; }
public String getSelectionCodeDescription() { return SelectionCodeDescription; }
public SearchInventoryResultSet setSelectionCodeDescription(String value) { this.SelectionCodeDescription = value; return this; }
public String getSku() { return Sku; }
public SearchInventoryResultSet setSku(String value) { this.Sku = value; return this; }
public String getMpn() { return Mpn; }
public SearchInventoryResultSet setMpn(String value) { this.Mpn = value; return this; }
public Boolean isDiscontinued() { return Discontinued; }
public SearchInventoryResultSet setDiscontinued(Boolean value) { this.Discontinued = value; return this; }
public String getAttribute1() { return Attribute1; }
public SearchInventoryResultSet setAttribute1(String value) { this.Attribute1 = value; return this; }
public String getAttribute2() { return Attribute2; }
public SearchInventoryResultSet setAttribute2(String value) { this.Attribute2 = value; return this; }
public String getAttribute3() { return Attribute3; }
public SearchInventoryResultSet setAttribute3(String value) { this.Attribute3 = value; return this; }
public String getAttribute4() { return Attribute4; }
public SearchInventoryResultSet setAttribute4(String value) { this.Attribute4 = value; return this; }
public String getAttribute5() { return Attribute5; }
public SearchInventoryResultSet setAttribute5(String value) { this.Attribute5 = value; return this; }
public String getAttribute6() { return Attribute6; }
public SearchInventoryResultSet setAttribute6(String value) { this.Attribute6 = value; return this; }
public String getAttribute7() { return Attribute7; }
public SearchInventoryResultSet setAttribute7(String value) { this.Attribute7 = value; return this; }
public String getAttribute8() { return Attribute8; }
public SearchInventoryResultSet setAttribute8(String value) { this.Attribute8 = value; return this; }
public String getAttribute9() { return Attribute9; }
public SearchInventoryResultSet setAttribute9(String value) { this.Attribute9 = value; return this; }
public String getAttribute10() { return Attribute10; }
public SearchInventoryResultSet setAttribute10(String value) { this.Attribute10 = value; return this; }
public String getAttribute11() { return Attribute11; }
public SearchInventoryResultSet setAttribute11(String value) { this.Attribute11 = value; return this; }
public String getAttribute12() { return Attribute12; }
public SearchInventoryResultSet setAttribute12(String value) { this.Attribute12 = value; return this; }
public String getAttribute13() { return Attribute13; }
public SearchInventoryResultSet setAttribute13(String value) { this.Attribute13 = value; return this; }
public String getAttribute14() { return Attribute14; }
public SearchInventoryResultSet setAttribute14(String value) { this.Attribute14 = value; return this; }
public String getAttribute15() { return Attribute15; }
public SearchInventoryResultSet setAttribute15(String value) { this.Attribute15 = value; return this; }
public String getAttribute16() { return Attribute16; }
public SearchInventoryResultSet setAttribute16(String value) { this.Attribute16 = value; return this; }
public String getAttribute17() { return Attribute17; }
public SearchInventoryResultSet setAttribute17(String value) { this.Attribute17 = value; return this; }
public String getAttribute18() { return Attribute18; }
public SearchInventoryResultSet setAttribute18(String value) { this.Attribute18 = value; return this; }
public String getAttribute19() { return Attribute19; }
public SearchInventoryResultSet setAttribute19(String value) { this.Attribute19 = value; return this; }
public String getAttribute20() { return Attribute20; }
public SearchInventoryResultSet setAttribute20(String value) { this.Attribute20 = value; return this; }
public BigDecimal getComputerQuantity() { return ComputerQuantity; }
public SearchInventoryResultSet setComputerQuantity(BigDecimal value) { this.ComputerQuantity = value; return this; }
public BigDecimal getOurPrice() { return OurPrice; }
public SearchInventoryResultSet setOurPrice(BigDecimal value) { this.OurPrice = value; return this; }
public BigDecimal getRetailPrice() { return RetailPrice; }
public SearchInventoryResultSet setRetailPrice(BigDecimal value) { this.RetailPrice = value; return this; }
public BigDecimal getActiveePrice() { return ActiveePrice; }
public SearchInventoryResultSet setActiveePrice(BigDecimal value) { this.ActiveePrice = value; return this; }
public BigDecimal getPriceA() { return PriceA; }
public SearchInventoryResultSet setPriceA(BigDecimal value) { this.PriceA = value; return this; }
public BigDecimal getPriceB() { return PriceB; }
public SearchInventoryResultSet setPriceB(BigDecimal value) { this.PriceB = value; return this; }
public BigDecimal getPriceC() { return PriceC; }
public SearchInventoryResultSet setPriceC(BigDecimal value) { this.PriceC = value; return this; }
public BigDecimal getMinPrice() { return MinPrice; }
public SearchInventoryResultSet setMinPrice(BigDecimal value) { this.MinPrice = value; return this; }
public BigDecimal getAvailableQuantity() { return AvailableQuantity; }
public SearchInventoryResultSet setAvailableQuantity(BigDecimal value) { this.AvailableQuantity = value; return this; }
public Boolean getIsMedia() { return IsMedia; }
public SearchInventoryResultSet setIsMedia(Boolean value) { this.IsMedia = value; return this; }
public Boolean getIsPackage() { return IsPackage; }
public SearchInventoryResultSet setIsPackage(Boolean value) { this.IsPackage = value; return this; }
public Boolean isHasImage() { return HasImage; }
public SearchInventoryResultSet setHasImage(Boolean value) { this.HasImage = value; return this; }
public String getSearchTerm() { return SearchTerm; }
public SearchInventoryResultSet setSearchTerm(String value) { this.SearchTerm = value; return this; }
public String getKeywords() { return Keywords; }
public SearchInventoryResultSet setKeywords(String value) { this.Keywords = value; return this; }
public String getKeywordsOrigin() { return KeywordsOrigin; }
public SearchInventoryResultSet setKeywordsOrigin(String value) { this.KeywordsOrigin = value; return this; }
public Boolean isDeleted() { return Deleted; }
public SearchInventoryResultSet setDeleted(Boolean value) { this.Deleted = value; return this; }
public Date getTimeStamp() { return TimeStamp; }
public SearchInventoryResultSet setTimeStamp(Date value) { this.TimeStamp = value; return this; }
}
@DataContract
public static class BindableObject
{
}
@DataContract
public static class InventoryDetail
{
@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<ImageInfo> Images = null;
@DataMember
public Boolean HasImages = null;
@DataMember
public ArrayList<InventoryDetailByVariant> VariantDetails = null;
@DataMember
public ArrayList<AddOnDetail> AddOns = null;
@DataMember
public ActiveEInfo ActiveEInfo = null;
@DataMember
public BigDecimal Weight = null;
@DataMember
public String Unit = null;
public Long getSadPk() { return SadPk; }
public InventoryDetail setSadPk(Long value) { this.SadPk = value; return this; }
public String getInvType() { return InvType; }
public InventoryDetail setInvType(String value) { this.InvType = value; return this; }
public String getModel() { return Model; }
public InventoryDetail setModel(String value) { this.Model = value; return this; }
public String getDescription() { return Description; }
public InventoryDetail setDescription(String value) { this.Description = value; return this; }
public String getMfg() { return Mfg; }
public InventoryDetail setMfg(String value) { this.Mfg = value; return this; }
public Integer getCategory() { return Category; }
public InventoryDetail setCategory(Integer value) { this.Category = value; return this; }
public String getCategoryDescription() { return CategoryDescription; }
public InventoryDetail setCategoryDescription(String value) { this.CategoryDescription = value; return this; }
public Integer getSubCategory() { return SubCategory; }
public InventoryDetail setSubCategory(Integer value) { this.SubCategory = value; return this; }
public String getSubCategoryDescription() { return SubCategoryDescription; }
public InventoryDetail setSubCategoryDescription(String value) { this.SubCategoryDescription = value; return this; }
public String getSelectionCode() { return SelectionCode; }
public InventoryDetail setSelectionCode(String value) { this.SelectionCode = value; return this; }
public String getSelectionCodeDescription() { return SelectionCodeDescription; }
public InventoryDetail setSelectionCodeDescription(String value) { this.SelectionCodeDescription = value; return this; }
public Boolean isSellSerialsOnline() { return SellSerialsOnline; }
public InventoryDetail setSellSerialsOnline(Boolean value) { this.SellSerialsOnline = value; return this; }
public String getNotes() { return Notes; }
public InventoryDetail setNotes(String value) { this.Notes = value; return this; }
public ArrayList<ImageInfo> getImages() { return Images; }
public InventoryDetail setImages(ArrayList<ImageInfo> value) { this.Images = value; return this; }
public Boolean isHasImages() { return HasImages; }
public InventoryDetail setHasImages(Boolean value) { this.HasImages = value; return this; }
public ArrayList<InventoryDetailByVariant> getVariantDetails() { return VariantDetails; }
public InventoryDetail setVariantDetails(ArrayList<InventoryDetailByVariant> value) { this.VariantDetails = value; return this; }
public ArrayList<AddOnDetail> getAddOns() { return AddOns; }
public InventoryDetail setAddOns(ArrayList<AddOnDetail> value) { this.AddOns = value; return this; }
public ActiveEInfo getActiveEInfo() { return ActiveEInfo; }
public InventoryDetail setActiveEInfo(ActiveEInfo value) { this.ActiveEInfo = value; return this; }
public BigDecimal getWeight() { return Weight; }
public InventoryDetail setWeight(BigDecimal value) { this.Weight = value; return this; }
public String getUnit() { return Unit; }
public InventoryDetail setUnit(String value) { this.Unit = value; return this; }
}
@DataContract
public static class ImageInfo
{
@DataMember
public String Url = null;
@DataMember
public String ImageStream = null;
@DataMember
public String ImageSize = null;
@DataMember
public String ErrorMessage = null;
@DataMember
public Long UriPk = null;
public String getUrl() { return Url; }
public ImageInfo setUrl(String value) { this.Url = value; return this; }
public String getImageStream() { return ImageStream; }
public ImageInfo setImageStream(String value) { this.ImageStream = value; return this; }
public String getImageSize() { return ImageSize; }
public ImageInfo setImageSize(String value) { this.ImageSize = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public ImageInfo setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public Long getUriPk() { return UriPk; }
public ImageInfo setUriPk(Long value) { this.UriPk = value; return this; }
}
@DataContract
public static class InventoryDetailByVariant
{
@DataMember
public Long SkuPk = null;
@DataMember
public String Sku = null;
@DataMember
public BigDecimal VendorCost = null;
@DataMember
public String VendorName = null;
@DataMember
public ArrayList<InventoryDetailAttribute> Attributes = null;
@DataMember
public ArrayList<InventoryDetailByLocation> LocationDetails = null;
@DataMember
public ArrayList<ImageInfo> Images = null;
@DataMember
public Boolean HasImages = null;
@DataMember
public ArrayList<String> Barcodes = null;
public Long getSkuPk() { return SkuPk; }
public InventoryDetailByVariant setSkuPk(Long value) { this.SkuPk = value; return this; }
public String getSku() { return Sku; }
public InventoryDetailByVariant setSku(String value) { this.Sku = value; return this; }
public BigDecimal getVendorCost() { return VendorCost; }
public InventoryDetailByVariant setVendorCost(BigDecimal value) { this.VendorCost = value; return this; }
public String getVendorName() { return VendorName; }
public InventoryDetailByVariant setVendorName(String value) { this.VendorName = value; return this; }
public ArrayList<InventoryDetailAttribute> getAttributes() { return Attributes; }
public InventoryDetailByVariant setAttributes(ArrayList<InventoryDetailAttribute> value) { this.Attributes = value; return this; }
public ArrayList<InventoryDetailByLocation> getLocationDetails() { return LocationDetails; }
public InventoryDetailByVariant setLocationDetails(ArrayList<InventoryDetailByLocation> value) { this.LocationDetails = value; return this; }
public ArrayList<ImageInfo> getImages() { return Images; }
public InventoryDetailByVariant setImages(ArrayList<ImageInfo> value) { this.Images = value; return this; }
public Boolean isHasImages() { return HasImages; }
public InventoryDetailByVariant setHasImages(Boolean value) { this.HasImages = value; return this; }
public ArrayList<String> getBarcodes() { return Barcodes; }
public InventoryDetailByVariant setBarcodes(ArrayList<String> value) { this.Barcodes = value; return this; }
}
@DataContract
public static class InventoryDetailAttribute
{
@DataMember
public String Name = null;
@DataMember
public String Value = null;
@DataMember
public Integer Priority = null;
/**
* 1 is 'Don't Send to Web', 2 is 'Guided Navigation'
*/
@DataMember
@ApiMember(DataType="int", Description="1 is 'Don't Send to Web', 2 is 'Guided Navigation'", Name="WebType", ParameterType="query")
public Integer WebType = null;
public String getName() { return Name; }
public InventoryDetailAttribute setName(String value) { this.Name = value; return this; }
public String getValue() { return Value; }
public InventoryDetailAttribute setValue(String value) { this.Value = value; return this; }
public Integer getPriority() { return Priority; }
public InventoryDetailAttribute setPriority(Integer value) { this.Priority = value; return this; }
public Integer getWebType() { return WebType; }
public InventoryDetailAttribute setWebType(Integer value) { this.WebType = value; return this; }
}
@DataContract
public static class InventoryDetailByLocation
{
@DataMember
public Long SaqPk = null;
@DataMember
public LocationInfo LocationInfo = null;
@DataMember
public ArrayList<InventoryDetailBySerial> Serials = null;
@DataMember
public ArrayList<InventoryDetailSubstitute> Substitutes = null;
@DataMember
public BigDecimal Retail = null;
@DataMember
public BigDecimal OurPrice = null;
@DataMember
public BigDecimal SalePrice = null;
@DataMember
public String SaleInfo = null;
@DataMember
public BigDecimal PriceA = null;
@DataMember
public BigDecimal PriceB = null;
@DataMember
public BigDecimal PriceC = null;
@DataMember
public BigDecimal MinPrice = null;
@DataMember
public BigDecimal ActiveEPrice = null;
@DataMember
public BigDecimal CustomerPrice = null;
@DataMember
public Boolean AllowPriceChange = null;
@DataMember
public BigDecimal Qty = null;
@DataMember
public BigDecimal QtyAvail = null;
@DataMember
public BigDecimal ActiveeHoldbackQty = null;
@DataMember
public Integer ReorderMin = null;
@DataMember
public Integer ReorderMax = null;
@DataMember
public BigDecimal AverageCost = null;
@DataMember
public BigDecimal WeightedCost = null;
@DataMember
public String Locator = null;
@DataMember
public String SelectionCode = null;
@DataMember
public String SelectionCodeDescription = null;
@DataMember
public BigDecimal Spiff = null;
@DataMember
public BigDecimal CurrentSpotCheckQty = null;
@DataMember
public BigDecimal QtyOut = null;
@DataMember
public BigDecimal QtyOnOrder = null;
@DataMember
public BigDecimal AvailableForSTR = null;
public Long getSaqPk() { return SaqPk; }
public InventoryDetailByLocation setSaqPk(Long value) { this.SaqPk = value; return this; }
public LocationInfo getLocationInfo() { return LocationInfo; }
public InventoryDetailByLocation setLocationInfo(LocationInfo value) { this.LocationInfo = value; return this; }
public ArrayList<InventoryDetailBySerial> getSerials() { return Serials; }
public InventoryDetailByLocation setSerials(ArrayList<InventoryDetailBySerial> value) { this.Serials = value; return this; }
public ArrayList<InventoryDetailSubstitute> getSubstitutes() { return Substitutes; }
public InventoryDetailByLocation setSubstitutes(ArrayList<InventoryDetailSubstitute> value) { this.Substitutes = value; return this; }
public BigDecimal getRetail() { return Retail; }
public InventoryDetailByLocation setRetail(BigDecimal value) { this.Retail = value; return this; }
public BigDecimal getOurPrice() { return OurPrice; }
public InventoryDetailByLocation setOurPrice(BigDecimal value) { this.OurPrice = value; return this; }
public BigDecimal getSalePrice() { return SalePrice; }
public InventoryDetailByLocation setSalePrice(BigDecimal value) { this.SalePrice = value; return this; }
public String getSaleInfo() { return SaleInfo; }
public InventoryDetailByLocation setSaleInfo(String value) { this.SaleInfo = value; return this; }
public BigDecimal getPriceA() { return PriceA; }
public InventoryDetailByLocation setPriceA(BigDecimal value) { this.PriceA = value; return this; }
public BigDecimal getPriceB() { return PriceB; }
public InventoryDetailByLocation setPriceB(BigDecimal value) { this.PriceB = value; return this; }
public BigDecimal getPriceC() { return PriceC; }
public InventoryDetailByLocation setPriceC(BigDecimal value) { this.PriceC = value; return this; }
public BigDecimal getMinPrice() { return MinPrice; }
public InventoryDetailByLocation setMinPrice(BigDecimal value) { this.MinPrice = value; return this; }
public BigDecimal getActiveEPrice() { return ActiveEPrice; }
public InventoryDetailByLocation setActiveEPrice(BigDecimal value) { this.ActiveEPrice = value; return this; }
public BigDecimal getCustomerPrice() { return CustomerPrice; }
public InventoryDetailByLocation setCustomerPrice(BigDecimal value) { this.CustomerPrice = value; return this; }
public Boolean isAllowPriceChange() { return AllowPriceChange; }
public InventoryDetailByLocation setAllowPriceChange(Boolean value) { this.AllowPriceChange = value; return this; }
public BigDecimal getQty() { return Qty; }
public InventoryDetailByLocation setQty(BigDecimal value) { this.Qty = value; return this; }
public BigDecimal getQtyAvail() { return QtyAvail; }
public InventoryDetailByLocation setQtyAvail(BigDecimal value) { this.QtyAvail = value; return this; }
public BigDecimal getActiveeHoldbackQty() { return ActiveeHoldbackQty; }
public InventoryDetailByLocation setActiveeHoldbackQty(BigDecimal value) { this.ActiveeHoldbackQty = value; return this; }
public Integer getReorderMin() { return ReorderMin; }
public InventoryDetailByLocation setReorderMin(Integer value) { this.ReorderMin = value; return this; }
public Integer getReorderMax() { return ReorderMax; }
public InventoryDetailByLocation setReorderMax(Integer value) { this.ReorderMax = value; return this; }
public BigDecimal getAverageCost() { return AverageCost; }
public InventoryDetailByLocation setAverageCost(BigDecimal value) { this.AverageCost = value; return this; }
public BigDecimal getWeightedCost() { return WeightedCost; }
public InventoryDetailByLocation setWeightedCost(BigDecimal value) { this.WeightedCost = value; return this; }
public String getLocator() { return Locator; }
public InventoryDetailByLocation setLocator(String value) { this.Locator = value; return this; }
public String getSelectionCode() { return SelectionCode; }
public InventoryDetailByLocation setSelectionCode(String value) { this.SelectionCode = value; return this; }
public String getSelectionCodeDescription() { return SelectionCodeDescription; }
public InventoryDetailByLocation setSelectionCodeDescription(String value) { this.SelectionCodeDescription = value; return this; }
public BigDecimal getSpiff() { return Spiff; }
public InventoryDetailByLocation setSpiff(BigDecimal value) { this.Spiff = value; return this; }
public BigDecimal getCurrentSpotCheckQty() { return CurrentSpotCheckQty; }
public InventoryDetailByLocation setCurrentSpotCheckQty(BigDecimal value) { this.CurrentSpotCheckQty = value; return this; }
public BigDecimal getQtyOut() { return QtyOut; }
public InventoryDetailByLocation setQtyOut(BigDecimal value) { this.QtyOut = value; return this; }
public BigDecimal getQtyOnOrder() { return QtyOnOrder; }
public InventoryDetailByLocation setQtyOnOrder(BigDecimal value) { this.QtyOnOrder = value; return this; }
public BigDecimal getAvailableForSTR() { return AvailableForSTR; }
public InventoryDetailByLocation setAvailableForSTR(BigDecimal value) { this.AvailableForSTR = value; return this; }
}
@DataContract
public static class LocationInfo
{
@DataMember
public Long Id = null;
@DataMember
public String Desc = null;
@DataMember
public String ShortDesc = null;
@DataMember
public String Region = null;
@DataMember
public BigDecimal Latitude = null;
@DataMember
public BigDecimal Longitude = null;
@DataMember
public String InStorePickup = null;
@DataMember
public Boolean Active = null;
@DataMember
public Integer CashSaleAcct = null;
public Long getId() { return Id; }
public LocationInfo setId(Long value) { this.Id = value; return this; }
public String getDesc() { return Desc; }
public LocationInfo setDesc(String value) { this.Desc = value; return this; }
public String getShortDesc() { return ShortDesc; }
public LocationInfo setShortDesc(String value) { this.ShortDesc = value; return this; }
public String getRegion() { return Region; }
public LocationInfo setRegion(String value) { this.Region = value; return this; }
public BigDecimal getLatitude() { return Latitude; }
public LocationInfo setLatitude(BigDecimal value) { this.Latitude = value; return this; }
public BigDecimal getLongitude() { return Longitude; }
public LocationInfo setLongitude(BigDecimal value) { this.Longitude = value; return this; }
public String getInStorePickup() { return InStorePickup; }
public LocationInfo setInStorePickup(String value) { this.InStorePickup = value; return this; }
public Boolean isActive() { return Active; }
public LocationInfo setActive(Boolean value) { this.Active = value; return this; }
public Integer getCashSaleAcct() { return CashSaleAcct; }
public LocationInfo setCashSaleAcct(Integer value) { this.CashSaleAcct = value; return this; }
}
@DataContract
public static class InventoryDetailBySerial
{
@DataMember
public Long SasPk = null;
@DataMember
public String Serial = null;
@DataMember
public BigDecimal Retail = null;
@DataMember
public BigDecimal OurPrice = null;
@DataMember
public BigDecimal SalePrice = null;
@DataMember
public String Status = null;
@DataMember
public String SaleInfo = null;
@DataMember
public BigDecimal PriceA = null;
@DataMember
public BigDecimal PriceB = null;
@DataMember
public BigDecimal PriceC = null;
@DataMember
public BigDecimal MinPrice = null;
@DataMember
public BigDecimal ActiveEPrice = null;
@DataMember
public Boolean AllowPriceChange = null;
@DataMember
public BigDecimal Cost = null;
@DataMember
public BigDecimal WeightedCost = null;
@DataMember
public String Notes = null;
@DataMember
public ArrayList<InventoryDetailAttribute> Attributes = null;
@DataMember
public ArrayList<ImageInfo> Images = null;
@DataMember
public Boolean HasImages = null;
@DataMember
public Boolean IsActiveeHoldback = null;
@DataMember
public Integer CustomerAcct = null;
@DataMember
public Boolean AvailableForSTR = null;
public Long getSasPk() { return SasPk; }
public InventoryDetailBySerial setSasPk(Long value) { this.SasPk = value; return this; }
public String getSerial() { return Serial; }
public InventoryDetailBySerial setSerial(String value) { this.Serial = value; return this; }
public BigDecimal getRetail() { return Retail; }
public InventoryDetailBySerial setRetail(BigDecimal value) { this.Retail = value; return this; }
public BigDecimal getOurPrice() { return OurPrice; }
public InventoryDetailBySerial setOurPrice(BigDecimal value) { this.OurPrice = value; return this; }
public BigDecimal getSalePrice() { return SalePrice; }
public InventoryDetailBySerial setSalePrice(BigDecimal value) { this.SalePrice = value; return this; }
public String getStatus() { return Status; }
public InventoryDetailBySerial setStatus(String value) { this.Status = value; return this; }
public String getSaleInfo() { return SaleInfo; }
public InventoryDetailBySerial setSaleInfo(String value) { this.SaleInfo = value; return this; }
public BigDecimal getPriceA() { return PriceA; }
public InventoryDetailBySerial setPriceA(BigDecimal value) { this.PriceA = value; return this; }
public BigDecimal getPriceB() { return PriceB; }
public InventoryDetailBySerial setPriceB(BigDecimal value) { this.PriceB = value; return this; }
public BigDecimal getPriceC() { return PriceC; }
public InventoryDetailBySerial setPriceC(BigDecimal value) { this.PriceC = value; return this; }
public BigDecimal getMinPrice() { return MinPrice; }
public InventoryDetailBySerial setMinPrice(BigDecimal value) { this.MinPrice = value; return this; }
public BigDecimal getActiveEPrice() { return ActiveEPrice; }
public InventoryDetailBySerial setActiveEPrice(BigDecimal value) { this.ActiveEPrice = value; return this; }
public Boolean isAllowPriceChange() { return AllowPriceChange; }
public InventoryDetailBySerial setAllowPriceChange(Boolean value) { this.AllowPriceChange = value; return this; }
public BigDecimal getCost() { return Cost; }
public InventoryDetailBySerial setCost(BigDecimal value) { this.Cost = value; return this; }
public BigDecimal getWeightedCost() { return WeightedCost; }
public InventoryDetailBySerial setWeightedCost(BigDecimal value) { this.WeightedCost = value; return this; }
public String getNotes() { return Notes; }
public InventoryDetailBySerial setNotes(String value) { this.Notes = value; return this; }
public ArrayList<InventoryDetailAttribute> getAttributes() { return Attributes; }
public InventoryDetailBySerial setAttributes(ArrayList<InventoryDetailAttribute> value) { this.Attributes = value; return this; }
public ArrayList<ImageInfo> getImages() { return Images; }
public InventoryDetailBySerial setImages(ArrayList<ImageInfo> value) { this.Images = value; return this; }
public Boolean isHasImages() { return HasImages; }
public InventoryDetailBySerial setHasImages(Boolean value) { this.HasImages = value; return this; }
public Boolean getIsActiveeHoldback() { return IsActiveeHoldback; }
public InventoryDetailBySerial setIsActiveeHoldback(Boolean value) { this.IsActiveeHoldback = value; return this; }
public Integer getCustomerAcct() { return CustomerAcct; }
public InventoryDetailBySerial setCustomerAcct(Integer value) { this.CustomerAcct = value; return this; }
public Boolean isAvailableForSTR() { return AvailableForSTR; }
public InventoryDetailBySerial setAvailableForSTR(Boolean value) { this.AvailableForSTR = value; return this; }
}
@DataContract
public static class InventoryDetailSubstitute
{
@DataMember
public String Model = null;
@DataMember
public String Sku = null;
@DataMember
public String Mfg = null;
@DataMember
public String Description = null;
@DataMember
public BigDecimal Price = null;
@DataMember
public BigDecimal AvailableQty = null;
public String getModel() { return Model; }
public InventoryDetailSubstitute setModel(String value) { this.Model = value; return this; }
public String getSku() { return Sku; }
public InventoryDetailSubstitute setSku(String value) { this.Sku = value; return this; }
public String getMfg() { return Mfg; }
public InventoryDetailSubstitute setMfg(String value) { this.Mfg = value; return this; }
public String getDescription() { return Description; }
public InventoryDetailSubstitute setDescription(String value) { this.Description = value; return this; }
public BigDecimal getPrice() { return Price; }
public InventoryDetailSubstitute setPrice(BigDecimal value) { this.Price = value; return this; }
public BigDecimal getAvailableQty() { return AvailableQty; }
public InventoryDetailSubstitute setAvailableQty(BigDecimal value) { this.AvailableQty = value; return this; }
}
@DataContract
public static class AddOnDetail
{
@DataMember
public Long SadPk = null;
@DataMember
public Long SkuPk = null;
@DataMember
public Long CatPk = null;
@DataMember
public Long SubPk = null;
@DataMember
public String Item = null;
@DataMember
public String Description = null;
@DataMember
public BigDecimal Price = null;
public Long getSadPk() { return SadPk; }
public AddOnDetail setSadPk(Long value) { this.SadPk = value; return this; }
public Long getSkuPk() { return SkuPk; }
public AddOnDetail setSkuPk(Long value) { this.SkuPk = value; return this; }
public Long getCatPk() { return CatPk; }
public AddOnDetail setCatPk(Long value) { this.CatPk = value; return this; }
public Long getSubPk() { return SubPk; }
public AddOnDetail setSubPk(Long value) { this.SubPk = value; return this; }
public String getItem() { return Item; }
public AddOnDetail setItem(String value) { this.Item = value; return this; }
public String getDescription() { return Description; }
public AddOnDetail setDescription(String value) { this.Description = value; return this; }
public BigDecimal getPrice() { return Price; }
public AddOnDetail setPrice(BigDecimal value) { this.Price = value; return this; }
}
@DataContract
public static class ActiveEInfo
{
@DataMember
public String Dimension = null;
@DataMember
public String WebDescription = null;
@DataMember
public String Summary = null;
@DataMember
public String SETitle = null;
@DataMember
public String SEDescription = null;
@DataMember
public String SEKeywords = null;
@DataMember
public String SEAltText = null;
@DataMember
public String SEHtmlFreeText = null;
@DataMember
public Boolean Unpublished = null;
@DataMember
public Boolean FreeShipping = null;
@DataMember
public Boolean IsFeatured = null;
@DataMember
public ArrayList<Long> WebCategoryIds = null;
public String getDimension() { return Dimension; }
public ActiveEInfo setDimension(String value) { this.Dimension = value; return this; }
public String getWebDescription() { return WebDescription; }
public ActiveEInfo setWebDescription(String value) { this.WebDescription = value; return this; }
public String getSummary() { return Summary; }
public ActiveEInfo setSummary(String value) { this.Summary = value; return this; }
public String getSeTitle() { return SETitle; }
public ActiveEInfo setSeTitle(String value) { this.SETitle = value; return this; }
public String getSeDescription() { return SEDescription; }
public ActiveEInfo setSeDescription(String value) { this.SEDescription = value; return this; }
public String getSeKeywords() { return SEKeywords; }
public ActiveEInfo setSeKeywords(String value) { this.SEKeywords = value; return this; }
public String getSeAltText() { return SEAltText; }
public ActiveEInfo setSeAltText(String value) { this.SEAltText = value; return this; }
public String getSeHtmlFreeText() { return SEHtmlFreeText; }
public ActiveEInfo setSeHtmlFreeText(String value) { this.SEHtmlFreeText = value; return this; }
public Boolean isUnpublished() { return Unpublished; }
public ActiveEInfo setUnpublished(Boolean value) { this.Unpublished = value; return this; }
public Boolean isFreeShipping() { return FreeShipping; }
public ActiveEInfo setFreeShipping(Boolean value) { this.FreeShipping = value; return this; }
public Boolean getIsFeatured() { return IsFeatured; }
public ActiveEInfo setIsFeatured(Boolean value) { this.IsFeatured = value; return this; }
public ArrayList<Long> getWebCategoryIds() { return WebCategoryIds; }
public ActiveEInfo setWebCategoryIds(ArrayList<Long> value) { this.WebCategoryIds = value; return this; }
}
}
Java SearchInventoryRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/SearchInventory HTTP/1.1
Host: active-ewebservice.biz
Accept: application/json
Content-Type: application/json
Content-Length: length
{"LocFk":0,"MfgFk":0,"CatFk":0,"SubFk":0,"SelFk":0,"Cat":0,"Sub":0,"SelectionCode":"String","Mfg":"String","IncludeSerials":false,"IncludeMedia":false,"IncludeAccessories":false,"IncludePackages":false,"SearchStr":"String","ExactModel":false,"StartOffset":0,"RecordCount":0,"IncludeIconImage":false,"CatIdList":[0],"SubIdList":[0],"MfgIdList":[0],"SelIdList":[0],"IncludeDeleted":false,"ChangedDate":"0001-01-01T00:00:00.0000000","IncludePackageLineItems":false,"IncludeDetails":false,"MinimumAvailableQuantity":0,"Token":"String","DeviceId":"String","AppId":"String","ApiKey":"String","OAuthToken":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"StartOffset":0,"RecordCount":0,"RemainingRecords":0,"TotalRecords":0,"Records":[{"Detail":{"SadPk":0,"InvType":"String","Model":"String","Description":"String","Mfg":"String","Category":0,"CategoryDescription":"String","SubCategory":0,"SubCategoryDescription":"String","SelectionCode":"String","SelectionCodeDescription":"String","SellSerialsOnline":false,"Notes":"String","Images":[{"Url":"String","ImageStream":"String","ImageSize":"String","ErrorMessage":"String","UriPk":0}],"HasImages":true,"VariantDetails":[{}],"AddOns":[{}],"ActiveEInfo":{"Dimension":"String","WebDescription":"String","Summary":"String","SETitle":"String","SEDescription":"String","SEKeywords":"String","SEAltText":"String","SEHtmlFreeText":"String","Unpublished":false,"FreeShipping":false,"IsFeatured":false,"WebCategoryIds":[0]},"Weight":0,"Unit":"String"},"IconImage":{"Url":"String","ImageStream":"String","ImageSize":"String","ErrorMessage":"String","UriPk":0},"CustomerPrice":0,"Pk":0,"Description":"String","InventoryType":"String","Manufacturer":"String","Model":"String","Category":0,"CategoryDescription":"String","SubCategory":0,"SubCategoryDescription":"String","SelectionCode":"String","SelectionCodeDescription":"String","Sku":"String","Mpn":"String","Discontinued":false,"Attribute1":"String","Attribute2":"String","Attribute3":"String","Attribute4":"String","Attribute5":"String","Attribute6":"String","Attribute7":"String","Attribute8":"String","Attribute9":"String","Attribute10":"String","Attribute11":"String","Attribute12":"String","Attribute13":"String","Attribute14":"String","Attribute15":"String","Attribute16":"String","Attribute17":"String","Attribute18":"String","Attribute19":"String","Attribute20":"String","ComputerQuantity":0,"OurPrice":0,"RetailPrice":0,"ActiveePrice":0,"PriceA":0,"PriceB":0,"PriceC":0,"MinPrice":0,"AvailableQuantity":0,"IsMedia":false,"IsPackage":false,"HasImage":false,"SearchTerm":"String","Keywords":"String","KeywordsOrigin":"String","Deleted":false,"PackageLineItems":[{"Model":"String","Cat":0,"Sub":0,"Description":"String","Quantity":0,"Amount":0,"Discount":0,"ItemType":"String"}]}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}