/* Options: Date: 2025-05-10 00:49:55 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: GetCustomerHistoryRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * GetCustomerHistoryRequires active-e Customer Service. */ @Route(Path="/GetCustomerHistory", Verbs="POST, GET") @DataContract public static class GetCustomerHistoryRequest extends BaseSecureRequest implements IReturn { @DataMember public Boolean GetInvoices = null; @DataMember public Boolean GetTickets = null; @DataMember public Boolean GetProposals = null; @DataMember public Boolean GetContracts = null; @DataMember public Boolean GetOrders = null; @DataMember public Boolean GetShortTermRentals = null; @DataMember public Boolean GetWebPayments = null; @DataMember public Boolean ShowClosed = null; @DataMember public Boolean GetPaymentsDue = null; @DataMember public String DateFrom = null; @DataMember public String DateTo = null; @DataMember public Integer Acct = null; @DataMember public Boolean GetMemberships = null; @DataMember public Boolean GetPendingWebOrders = null; @DataMember public Boolean GetFutureTeeTimes = null; @DataMember public Boolean GetStationReservations = null; @DataMember public Boolean GetPendingWebRentals = null; @DataMember public Boolean GetValuePacks = null; @DataMember public Boolean IncludeUninvoicedScheduling = null; @DataMember public Boolean IncludeOnHold = null; @DataMember public Boolean GetConsignments = null; @DataMember public Boolean GetRecurringHeaderInfo = null; public Boolean isGetInvoices() { return GetInvoices; } public GetCustomerHistoryRequest setGetInvoices(Boolean value) { this.GetInvoices = value; return this; } public Boolean isGetTickets() { return GetTickets; } public GetCustomerHistoryRequest setGetTickets(Boolean value) { this.GetTickets = value; return this; } public Boolean isGetProposals() { return GetProposals; } public GetCustomerHistoryRequest setGetProposals(Boolean value) { this.GetProposals = value; return this; } public Boolean isGetContracts() { return GetContracts; } public GetCustomerHistoryRequest setGetContracts(Boolean value) { this.GetContracts = value; return this; } public Boolean isGetOrders() { return GetOrders; } public GetCustomerHistoryRequest setGetOrders(Boolean value) { this.GetOrders = value; return this; } public Boolean isGetShortTermRentals() { return GetShortTermRentals; } public GetCustomerHistoryRequest setGetShortTermRentals(Boolean value) { this.GetShortTermRentals = value; return this; } public Boolean isGetWebPayments() { return GetWebPayments; } public GetCustomerHistoryRequest setGetWebPayments(Boolean value) { this.GetWebPayments = value; return this; } public Boolean isShowClosed() { return ShowClosed; } public GetCustomerHistoryRequest setShowClosed(Boolean value) { this.ShowClosed = value; return this; } public Boolean isGetPaymentsDue() { return GetPaymentsDue; } public GetCustomerHistoryRequest setGetPaymentsDue(Boolean value) { this.GetPaymentsDue = value; return this; } public String getDateFrom() { return DateFrom; } public GetCustomerHistoryRequest setDateFrom(String value) { this.DateFrom = value; return this; } public String getDateTo() { return DateTo; } public GetCustomerHistoryRequest setDateTo(String value) { this.DateTo = value; return this; } public Integer getAcct() { return Acct; } public GetCustomerHistoryRequest setAcct(Integer value) { this.Acct = value; return this; } public Boolean isGetMemberships() { return GetMemberships; } public GetCustomerHistoryRequest setGetMemberships(Boolean value) { this.GetMemberships = value; return this; } public Boolean isGetPendingWebOrders() { return GetPendingWebOrders; } public GetCustomerHistoryRequest setGetPendingWebOrders(Boolean value) { this.GetPendingWebOrders = value; return this; } public Boolean isGetFutureTeeTimes() { return GetFutureTeeTimes; } public GetCustomerHistoryRequest setGetFutureTeeTimes(Boolean value) { this.GetFutureTeeTimes = value; return this; } public Boolean isGetStationReservations() { return GetStationReservations; } public GetCustomerHistoryRequest setGetStationReservations(Boolean value) { this.GetStationReservations = value; return this; } public Boolean isGetPendingWebRentals() { return GetPendingWebRentals; } public GetCustomerHistoryRequest setGetPendingWebRentals(Boolean value) { this.GetPendingWebRentals = value; return this; } public Boolean isGetValuePacks() { return GetValuePacks; } public GetCustomerHistoryRequest setGetValuePacks(Boolean value) { this.GetValuePacks = value; return this; } public Boolean isIncludeUninvoicedScheduling() { return IncludeUninvoicedScheduling; } public GetCustomerHistoryRequest setIncludeUninvoicedScheduling(Boolean value) { this.IncludeUninvoicedScheduling = value; return this; } public Boolean isIncludeOnHold() { return IncludeOnHold; } public GetCustomerHistoryRequest setIncludeOnHold(Boolean value) { this.IncludeOnHold = value; return this; } public Boolean isGetConsignments() { return GetConsignments; } public GetCustomerHistoryRequest setGetConsignments(Boolean value) { this.GetConsignments = value; return this; } public Boolean isGetRecurringHeaderInfo() { return GetRecurringHeaderInfo; } public GetCustomerHistoryRequest setGetRecurringHeaderInfo(Boolean value) { this.GetRecurringHeaderInfo = value; return this; } private static Object responseType = GetCustomerHistoryResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class GetCustomerHistoryResponse extends BaseResponse { @DataMember public ArrayList CustomerHistory = null; public ArrayList getCustomerHistory() { return CustomerHistory; } public GetCustomerHistoryResponse setCustomerHistory(ArrayList value) { this.CustomerHistory = 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 CustomerHistoryGeneric { @DataMember public Date Date = null; @DataMember public String DateStr = null; @DataMember public String Ref = null; @DataMember public String Desc = null; @DataMember public BigDecimal Amount = null; @DataMember public BigDecimal OrigAmount = null; @DataMember public Boolean Late = null; @DataMember public String RefType = null; @DataMember public String PO = null; @DataMember public Date EstReceivedDate = null; public Date getDate() { return Date; } public CustomerHistoryGeneric setDate(Date value) { this.Date = value; return this; } public String getDateStr() { return DateStr; } public CustomerHistoryGeneric setDateStr(String value) { this.DateStr = value; return this; } public String getRef() { return Ref; } public CustomerHistoryGeneric setRef(String value) { this.Ref = value; return this; } public String getDesc() { return Desc; } public CustomerHistoryGeneric setDesc(String value) { this.Desc = value; return this; } public BigDecimal getAmount() { return Amount; } public CustomerHistoryGeneric setAmount(BigDecimal value) { this.Amount = value; return this; } public BigDecimal getOrigAmount() { return OrigAmount; } public CustomerHistoryGeneric setOrigAmount(BigDecimal value) { this.OrigAmount = value; return this; } public Boolean isLate() { return Late; } public CustomerHistoryGeneric setLate(Boolean value) { this.Late = value; return this; } public String getRefType() { return RefType; } public CustomerHistoryGeneric setRefType(String value) { this.RefType = value; return this; } public String getPo() { return PO; } public CustomerHistoryGeneric setPo(String value) { this.PO = value; return this; } public Date getEstReceivedDate() { return EstReceivedDate; } public CustomerHistoryGeneric setEstReceivedDate(Date value) { this.EstReceivedDate = 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; } } }