/* Options: Date: 2025-05-10 01:37:47 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: CustomerInfoRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * CustomerInfoRequires active-e Customer Service. */ @Route(Path="/CustomerInfo", Verbs="GET") @DataContract public static class CustomerInfoRequest extends BaseSecureRequest implements IReturn { @DataMember public Integer Acct = null; public Integer getAcct() { return Acct; } public CustomerInfoRequest setAcct(Integer value) { this.Acct = value; return this; } private static Object responseType = CustomerInfoResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class CustomerInfoResponse extends BaseResponse { @DataMember public CustomerSearchRecord Customer = null; @DataMember public CustomerDiscountInfo DiscountInfo = null; @DataMember public ArrayList Memberships = null; @DataMember public ArrayList Emails = null; public CustomerSearchRecord getCustomer() { return Customer; } public CustomerInfoResponse setCustomer(CustomerSearchRecord value) { this.Customer = value; return this; } public CustomerDiscountInfo getDiscountInfo() { return DiscountInfo; } public CustomerInfoResponse setDiscountInfo(CustomerDiscountInfo value) { this.DiscountInfo = value; return this; } public ArrayList getMemberships() { return Memberships; } public CustomerInfoResponse setMemberships(ArrayList value) { this.Memberships = value; return this; } public ArrayList getEmails() { return Emails; } public CustomerInfoResponse setEmails(ArrayList value) { this.Emails = 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 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 CustomerSearchRecord extends BindableObject { @DataMember public Long Pk = null; @DataMember public Integer Acct = null; @DataMember public String Last = null; @DataMember public String Name = null; @DataMember public String Addr1 = null; @DataMember public String Addr2 = null; @DataMember public String City = null; @DataMember public String St = null; @DataMember public String Zip = null; @DataMember public String Phone = null; @DataMember public String Email = null; @DataMember public Boolean OpenInvoices = null; @DataMember public Boolean RentalActivity = null; @DataMember public String StLoc = null; @DataMember public Boolean Hold = null; @DataMember public String Barcode = null; @DataMember public Integer Color = null; @DataMember public ArrayList DependantInfo = null; @DataMember public AdditionalDetail AdditionalDetails = null; @DataMember public String MatchedOn = null; public Long getPk() { return Pk; } public CustomerSearchRecord setPk(Long value) { this.Pk = value; return this; } public Integer getAcct() { return Acct; } public CustomerSearchRecord setAcct(Integer value) { this.Acct = value; return this; } public String getLast() { return Last; } public CustomerSearchRecord setLast(String value) { this.Last = value; return this; } public String getName() { return Name; } public CustomerSearchRecord setName(String value) { this.Name = value; return this; } public String getAddr1() { return Addr1; } public CustomerSearchRecord setAddr1(String value) { this.Addr1 = value; return this; } public String getAddr2() { return Addr2; } public CustomerSearchRecord setAddr2(String value) { this.Addr2 = value; return this; } public String getCity() { return City; } public CustomerSearchRecord setCity(String value) { this.City = value; return this; } public String getSt() { return St; } public CustomerSearchRecord setSt(String value) { this.St = value; return this; } public String getZip() { return Zip; } public CustomerSearchRecord setZip(String value) { this.Zip = value; return this; } public String getPhone() { return Phone; } public CustomerSearchRecord setPhone(String value) { this.Phone = value; return this; } public String getEmail() { return Email; } public CustomerSearchRecord setEmail(String value) { this.Email = value; return this; } public Boolean isOpenInvoices() { return OpenInvoices; } public CustomerSearchRecord setOpenInvoices(Boolean value) { this.OpenInvoices = value; return this; } public Boolean isRentalActivity() { return RentalActivity; } public CustomerSearchRecord setRentalActivity(Boolean value) { this.RentalActivity = value; return this; } public String getStLoc() { return StLoc; } public CustomerSearchRecord setStLoc(String value) { this.StLoc = value; return this; } public Boolean isHold() { return Hold; } public CustomerSearchRecord setHold(Boolean value) { this.Hold = value; return this; } public String getBarcode() { return Barcode; } public CustomerSearchRecord setBarcode(String value) { this.Barcode = value; return this; } public Integer getColor() { return Color; } public CustomerSearchRecord setColor(Integer value) { this.Color = value; return this; } public ArrayList getDependantInfo() { return DependantInfo; } public CustomerSearchRecord setDependantInfo(ArrayList value) { this.DependantInfo = value; return this; } public AdditionalDetail getAdditionalDetails() { return AdditionalDetails; } public CustomerSearchRecord setAdditionalDetails(AdditionalDetail value) { this.AdditionalDetails = value; return this; } public String getMatchedOn() { return MatchedOn; } public CustomerSearchRecord setMatchedOn(String value) { this.MatchedOn = value; return this; } } @DataContract public static class CustomerDiscountInfo { @DataMember public BigDecimal AccessoryInventory = null; @DataMember public BigDecimal SerializedInventory = null; @DataMember public BigDecimal ShortTermRental = null; @DataMember public BigDecimal NonInventory = null; @DataMember public BigDecimal Labor = null; @DataMember public BigDecimal MediaInventory = null; @DataMember public ArrayList CategoryLevelDiscounts = null; @DataMember public String PriceLevel = null; public BigDecimal getAccessoryInventory() { return AccessoryInventory; } public CustomerDiscountInfo setAccessoryInventory(BigDecimal value) { this.AccessoryInventory = value; return this; } public BigDecimal getSerializedInventory() { return SerializedInventory; } public CustomerDiscountInfo setSerializedInventory(BigDecimal value) { this.SerializedInventory = value; return this; } public BigDecimal getShortTermRental() { return ShortTermRental; } public CustomerDiscountInfo setShortTermRental(BigDecimal value) { this.ShortTermRental = value; return this; } public BigDecimal getNonInventory() { return NonInventory; } public CustomerDiscountInfo setNonInventory(BigDecimal value) { this.NonInventory = value; return this; } public BigDecimal getLabor() { return Labor; } public CustomerDiscountInfo setLabor(BigDecimal value) { this.Labor = value; return this; } public BigDecimal getMediaInventory() { return MediaInventory; } public CustomerDiscountInfo setMediaInventory(BigDecimal value) { this.MediaInventory = value; return this; } public ArrayList getCategoryLevelDiscounts() { return CategoryLevelDiscounts; } public CustomerDiscountInfo setCategoryLevelDiscounts(ArrayList value) { this.CategoryLevelDiscounts = value; return this; } public String getPriceLevel() { return PriceLevel; } public CustomerDiscountInfo setPriceLevel(String value) { this.PriceLevel = value; return this; } } @DataContract public static class CustomerMembershipInfo { @DataMember public String Description = null; @DataMember public Integer TeeLevel = null; @DataMember public Integer WebTeeLevel = null; @DataMember public Integer StationLevel = null; public String getDescription() { return Description; } public CustomerMembershipInfo setDescription(String value) { this.Description = value; return this; } public Integer getTeeLevel() { return TeeLevel; } public CustomerMembershipInfo setTeeLevel(Integer value) { this.TeeLevel = value; return this; } public Integer getWebTeeLevel() { return WebTeeLevel; } public CustomerMembershipInfo setWebTeeLevel(Integer value) { this.WebTeeLevel = value; return this; } public Integer getStationLevel() { return StationLevel; } public CustomerMembershipInfo setStationLevel(Integer value) { this.StationLevel = value; return this; } } @DataContract public static class CustomerEmailInfo { @DataMember public String Description = null; @DataMember public String Email = null; @DataMember public String Method = null; @DataMember public String Type = null; public String getDescription() { return Description; } public CustomerEmailInfo setDescription(String value) { this.Description = value; return this; } public String getEmail() { return Email; } public CustomerEmailInfo setEmail(String value) { this.Email = value; return this; } public String getMethod() { return Method; } public CustomerEmailInfo setMethod(String value) { this.Method = value; return this; } public String getType() { return Type; } public CustomerEmailInfo setType(String value) { this.Type = value; return this; } } @DataContract public static class CustomerDefaultInfo { @DataMember public Long Id = null; @DataMember public String Desc = null; @DataMember public String ShortDesc = null; public Long getId() { return Id; } public CustomerDefaultInfo setId(Long value) { this.Id = value; return this; } public String getDesc() { return Desc; } public CustomerDefaultInfo setDesc(String value) { this.Desc = value; return this; } public String getShortDesc() { return ShortDesc; } public CustomerDefaultInfo setShortDesc(String value) { this.ShortDesc = value; return this; } } @DataContract public static class DependantRecord { @DataMember public String Name = null; @DataMember public String OnlineId = null; @DataMember public String SchoolDistrict = null; @DataMember public String School = null; @DataMember public Long Id = null; public String getName() { return Name; } public DependantRecord setName(String value) { this.Name = value; return this; } public String getOnlineId() { return OnlineId; } public DependantRecord setOnlineId(String value) { this.OnlineId = value; return this; } public String getSchoolDistrict() { return SchoolDistrict; } public DependantRecord setSchoolDistrict(String value) { this.SchoolDistrict = value; return this; } public String getSchool() { return School; } public DependantRecord setSchool(String value) { this.School = value; return this; } public Long getId() { return Id; } public DependantRecord setId(Long value) { this.Id = value; return this; } } @DataContract public static class AdditionalDetail { @DataMember public Date CreationDate = null; @DataMember public Date LastModifiedDate = null; @DataMember public String Notes = null; @DataMember public CustomerDefaultInfo CustomerDefault = null; @DataMember public TaxAuthorityInfo TaxAuthority = null; @DataMember public Boolean CanCharge = null; @DataMember public String PopupNotes = null; @DataMember public String DlNumber = null; @DataMember public String Phone2 = null; @DataMember public String Phone3 = null; @DataMember public String Phone4 = null; @DataMember public LocationInfo Location = null; public Date getCreationDate() { return CreationDate; } public AdditionalDetail setCreationDate(Date value) { this.CreationDate = value; return this; } public Date getLastModifiedDate() { return LastModifiedDate; } public AdditionalDetail setLastModifiedDate(Date value) { this.LastModifiedDate = value; return this; } public String getNotes() { return Notes; } public AdditionalDetail setNotes(String value) { this.Notes = value; return this; } public CustomerDefaultInfo getCustomerDefault() { return CustomerDefault; } public AdditionalDetail setCustomerDefault(CustomerDefaultInfo value) { this.CustomerDefault = value; return this; } public TaxAuthorityInfo getTaxAuthority() { return TaxAuthority; } public AdditionalDetail setTaxAuthority(TaxAuthorityInfo value) { this.TaxAuthority = value; return this; } public Boolean isCanCharge() { return CanCharge; } public AdditionalDetail setCanCharge(Boolean value) { this.CanCharge = value; return this; } public String getPopupNotes() { return PopupNotes; } public AdditionalDetail setPopupNotes(String value) { this.PopupNotes = value; return this; } public String getDlNumber() { return DlNumber; } public AdditionalDetail setDlNumber(String value) { this.DlNumber = value; return this; } public String getPhone2() { return Phone2; } public AdditionalDetail setPhone2(String value) { this.Phone2 = value; return this; } public String getPhone3() { return Phone3; } public AdditionalDetail setPhone3(String value) { this.Phone3 = value; return this; } public String getPhone4() { return Phone4; } public AdditionalDetail setPhone4(String value) { this.Phone4 = value; return this; } public LocationInfo getLocation() { return Location; } public AdditionalDetail setLocation(LocationInfo value) { this.Location = value; return this; } } @DataContract public static class BindableObject { } @DataContract public static class CategoryLevelDiscount { @DataMember public Integer Category = null; @DataMember public Integer SubCategory = null; @DataMember public String DiscountType = null; @DataMember public BigDecimal DiscountAmount = null; public Integer getCategory() { return Category; } public CategoryLevelDiscount setCategory(Integer value) { this.Category = value; return this; } public Integer getSubCategory() { return SubCategory; } public CategoryLevelDiscount setSubCategory(Integer value) { this.SubCategory = value; return this; } public String getDiscountType() { return DiscountType; } public CategoryLevelDiscount setDiscountType(String value) { this.DiscountType = value; return this; } public BigDecimal getDiscountAmount() { return DiscountAmount; } public CategoryLevelDiscount setDiscountAmount(BigDecimal value) { this.DiscountAmount = value; return this; } } @DataContract public static class TaxAuthorityInfo { @DataMember public Long Id = null; @DataMember public String Desc = null; @DataMember public String ShortDesc = null; public Long getId() { return Id; } public TaxAuthorityInfo setId(Long value) { this.Id = value; return this; } public String getDesc() { return Desc; } public TaxAuthorityInfo setDesc(String value) { this.Desc = value; return this; } public String getShortDesc() { return ShortDesc; } public TaxAuthorityInfo setShortDesc(String value) { this.ShortDesc = 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; } } }