/* Options: Date: 2026-10-08 22:15:50 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cert.cendyn.com/CenResServiceR2Test //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: StayHistoryRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/v2/stayhistory/{Query}", Verbs="GET") // @Route(Path="/v2/stayhistory/{Query}/{CendynPropertyId}", Verbs="GET") public static class StayHistoryRequest implements IReturn { public String cendynPropertyId = null; public StayHistoryQueryType query = null; public String id = null; public String getCendynPropertyId() { return cendynPropertyId; } public StayHistoryRequest setCendynPropertyId(String value) { this.cendynPropertyId = value; return this; } public StayHistoryQueryType getQuery() { return query; } public StayHistoryRequest setQuery(StayHistoryQueryType value) { this.query = value; return this; } public String getId() { return id; } public StayHistoryRequest setId(String value) { this.id = value; return this; } private static Object responseType = StayHistoryResponse.class; public Object getResponseType() { return responseType; } } public static class StayHistoryResponse extends CenResResponse { public ArrayList records = null; public ArrayList getRecords() { return records; } public StayHistoryResponse setRecords(ArrayList value) { this.records = value; return this; } } public static enum StayHistoryQueryType { ProfileId, ResId; } public static enum RequestStatus { Success, Warning, Error, NotAuthorized, Failure; } public static class CenResResponse { public RequestStatus status = null; public String statusMessage = null; public Integer recordsReturned = null; public Integer recordsAvailable = null; public Integer pageNumber = null; public Integer pageSize = null; public RequestStatus getStatus() { return status; } public CenResResponse setStatus(RequestStatus value) { this.status = value; return this; } public String getStatusMessage() { return statusMessage; } public CenResResponse setStatusMessage(String value) { this.statusMessage = value; return this; } public Integer getRecordsReturned() { return recordsReturned; } public CenResResponse setRecordsReturned(Integer value) { this.recordsReturned = value; return this; } public Integer getRecordsAvailable() { return recordsAvailable; } public CenResResponse setRecordsAvailable(Integer value) { this.recordsAvailable = value; return this; } public Integer getPageNumber() { return pageNumber; } public CenResResponse setPageNumber(Integer value) { this.pageNumber = value; return this; } public Integer getPageSize() { return pageSize; } public CenResResponse setPageSize(Integer value) { this.pageSize = value; return this; } } public static class StayHistory { public String cendynPropertyID = null; public String resortID = null; public String externalProfileID1 = null; public String externalResId1 = null; public String crsBookNo = null; public String resortBookNo = null; public Integer resortLegNo = null; public String confirmationID = null; public String reservationStatus = null; public Boolean hasDailyRooms = null; public String rateRoomType = null; public Date actualArrivalDate = null; public Date actualDepartureDate = null; public Date bookDate = null; public Date bookedArrivalDate = null; public Date bookedDepartureDate = null; public String compYN = null; public Integer adults = null; public Integer children = null; public String roomCategory = null; public String roomNumber = null; public BigDecimal rateAmount = null; public String rateCode = null; public String rateAmountCurrencyCode = null; public String currencyCode = null; public String sourceCode = null; public String marketCode = null; public String travelAgentID = null; public String companyID = null; public String channel = null; public String paymentMethod = null; public String rateCurrencyCode = null; public BigDecimal totalRevenue = null; public BigDecimal roomRevenue = null; public BigDecimal fbRevenue = null; public String membershipType = null; public String membershipID = null; public String transactionID = null; public String transactionStatus = null; public ArrayList uniqueIDs = null; public ArrayList stayHistoryRevenueCollection = null; public ArrayList stayHistoryDailyRateCollection = null; public String getCendynPropertyID() { return cendynPropertyID; } public StayHistory setCendynPropertyID(String value) { this.cendynPropertyID = value; return this; } public String getResortID() { return resortID; } public StayHistory setResortID(String value) { this.resortID = value; return this; } public String getExternalProfileID1() { return externalProfileID1; } public StayHistory setExternalProfileID1(String value) { this.externalProfileID1 = value; return this; } public String getExternalResId1() { return externalResId1; } public StayHistory setExternalResId1(String value) { this.externalResId1 = value; return this; } public String getCrsBookNo() { return crsBookNo; } public StayHistory setCrsBookNo(String value) { this.crsBookNo = value; return this; } public String getResortBookNo() { return resortBookNo; } public StayHistory setResortBookNo(String value) { this.resortBookNo = value; return this; } public Integer getResortLegNo() { return resortLegNo; } public StayHistory setResortLegNo(Integer value) { this.resortLegNo = value; return this; } public String getConfirmationID() { return confirmationID; } public StayHistory setConfirmationID(String value) { this.confirmationID = value; return this; } public String getReservationStatus() { return reservationStatus; } public StayHistory setReservationStatus(String value) { this.reservationStatus = value; return this; } public Boolean isHasDailyRooms() { return hasDailyRooms; } public StayHistory setHasDailyRooms(Boolean value) { this.hasDailyRooms = value; return this; } public String getRateRoomType() { return rateRoomType; } public StayHistory setRateRoomType(String value) { this.rateRoomType = value; return this; } public Date getActualArrivalDate() { return actualArrivalDate; } public StayHistory setActualArrivalDate(Date value) { this.actualArrivalDate = value; return this; } public Date getActualDepartureDate() { return actualDepartureDate; } public StayHistory setActualDepartureDate(Date value) { this.actualDepartureDate = value; return this; } public Date getBookDate() { return bookDate; } public StayHistory setBookDate(Date value) { this.bookDate = value; return this; } public Date getBookedArrivalDate() { return bookedArrivalDate; } public StayHistory setBookedArrivalDate(Date value) { this.bookedArrivalDate = value; return this; } public Date getBookedDepartureDate() { return bookedDepartureDate; } public StayHistory setBookedDepartureDate(Date value) { this.bookedDepartureDate = value; return this; } public String getCompYN() { return compYN; } public StayHistory setCompYN(String value) { this.compYN = value; return this; } public Integer getAdults() { return adults; } public StayHistory setAdults(Integer value) { this.adults = value; return this; } public Integer getChildren() { return children; } public StayHistory setChildren(Integer value) { this.children = value; return this; } public String getRoomCategory() { return roomCategory; } public StayHistory setRoomCategory(String value) { this.roomCategory = value; return this; } public String getRoomNumber() { return roomNumber; } public StayHistory setRoomNumber(String value) { this.roomNumber = value; return this; } public BigDecimal getRateAmount() { return rateAmount; } public StayHistory setRateAmount(BigDecimal value) { this.rateAmount = value; return this; } public String getRateCode() { return rateCode; } public StayHistory setRateCode(String value) { this.rateCode = value; return this; } public String getRateAmountCurrencyCode() { return rateAmountCurrencyCode; } public StayHistory setRateAmountCurrencyCode(String value) { this.rateAmountCurrencyCode = value; return this; } public String getCurrencyCode() { return currencyCode; } public StayHistory setCurrencyCode(String value) { this.currencyCode = value; return this; } public String getSourceCode() { return sourceCode; } public StayHistory setSourceCode(String value) { this.sourceCode = value; return this; } public String getMarketCode() { return marketCode; } public StayHistory setMarketCode(String value) { this.marketCode = value; return this; } public String getTravelAgentID() { return travelAgentID; } public StayHistory setTravelAgentID(String value) { this.travelAgentID = value; return this; } public String getCompanyID() { return companyID; } public StayHistory setCompanyID(String value) { this.companyID = value; return this; } public String getChannel() { return channel; } public StayHistory setChannel(String value) { this.channel = value; return this; } public String getPaymentMethod() { return paymentMethod; } public StayHistory setPaymentMethod(String value) { this.paymentMethod = value; return this; } public String getRateCurrencyCode() { return rateCurrencyCode; } public StayHistory setRateCurrencyCode(String value) { this.rateCurrencyCode = value; return this; } public BigDecimal getTotalRevenue() { return totalRevenue; } public StayHistory setTotalRevenue(BigDecimal value) { this.totalRevenue = value; return this; } public BigDecimal getRoomRevenue() { return roomRevenue; } public StayHistory setRoomRevenue(BigDecimal value) { this.roomRevenue = value; return this; } public BigDecimal getFbRevenue() { return fbRevenue; } public StayHistory setFbRevenue(BigDecimal value) { this.fbRevenue = value; return this; } public String getMembershipType() { return membershipType; } public StayHistory setMembershipType(String value) { this.membershipType = value; return this; } public String getMembershipID() { return membershipID; } public StayHistory setMembershipID(String value) { this.membershipID = value; return this; } public String getTransactionID() { return transactionID; } public StayHistory setTransactionID(String value) { this.transactionID = value; return this; } public String getTransactionStatus() { return transactionStatus; } public StayHistory setTransactionStatus(String value) { this.transactionStatus = value; return this; } public ArrayList getUniqueIDs() { return uniqueIDs; } public StayHistory setUniqueIDs(ArrayList value) { this.uniqueIDs = value; return this; } public ArrayList getStayHistoryRevenueCollection() { return stayHistoryRevenueCollection; } public StayHistory setStayHistoryRevenueCollection(ArrayList value) { this.stayHistoryRevenueCollection = value; return this; } public ArrayList getStayHistoryDailyRateCollection() { return stayHistoryDailyRateCollection; } public StayHistory setStayHistoryDailyRateCollection(ArrayList value) { this.stayHistoryDailyRateCollection = value; return this; } } public static class StayHistoryRevenue { public String recordStatus = null; @DataMember(IsRequired=true) public String revenueGroup = null; @DataMember(IsRequired=true) public String revenueType = null; @DataMember(IsRequired=true) public BigDecimal amount = null; public String currencyCode = null; public String folioWindow = null; public Date transactionDate = null; public Date inactiveDate = null; public String getRecordStatus() { return recordStatus; } public StayHistoryRevenue setRecordStatus(String value) { this.recordStatus = value; return this; } public String getRevenueGroup() { return revenueGroup; } public StayHistoryRevenue setRevenueGroup(String value) { this.revenueGroup = value; return this; } public String getRevenueType() { return revenueType; } public StayHistoryRevenue setRevenueType(String value) { this.revenueType = value; return this; } public BigDecimal getAmount() { return amount; } public StayHistoryRevenue setAmount(BigDecimal value) { this.amount = value; return this; } public String getCurrencyCode() { return currencyCode; } public StayHistoryRevenue setCurrencyCode(String value) { this.currencyCode = value; return this; } public String getFolioWindow() { return folioWindow; } public StayHistoryRevenue setFolioWindow(String value) { this.folioWindow = value; return this; } public Date getTransactionDate() { return transactionDate; } public StayHistoryRevenue setTransactionDate(Date value) { this.transactionDate = value; return this; } public Date getInactiveDate() { return inactiveDate; } public StayHistoryRevenue setInactiveDate(Date value) { this.inactiveDate = value; return this; } } public static class UniqueIDType { public String id = null; public String type = null; public String context = null; public String getId() { return id; } public UniqueIDType setId(String value) { this.id = value; return this; } public String getType() { return type; } public UniqueIDType setType(String value) { this.type = value; return this; } public String getContext() { return context; } public UniqueIDType setContext(String value) { this.context = value; return this; } } public static class StayHistoryDailyRate { public String recordStatus = null; public Date transactionDate = null; public String rateCode = null; public String marketCode = null; public BigDecimal amount = null; public String currencyCode = null; public String roomNumber = null; public String resourceID = null; public String pseudoRoom = null; public String roomCategory = null; public String rateRoomType = null; public Date inactiveDate = null; public String getRecordStatus() { return recordStatus; } public StayHistoryDailyRate setRecordStatus(String value) { this.recordStatus = value; return this; } public Date getTransactionDate() { return transactionDate; } public StayHistoryDailyRate setTransactionDate(Date value) { this.transactionDate = value; return this; } public String getRateCode() { return rateCode; } public StayHistoryDailyRate setRateCode(String value) { this.rateCode = value; return this; } public String getMarketCode() { return marketCode; } public StayHistoryDailyRate setMarketCode(String value) { this.marketCode = value; return this; } public BigDecimal getAmount() { return amount; } public StayHistoryDailyRate setAmount(BigDecimal value) { this.amount = value; return this; } public String getCurrencyCode() { return currencyCode; } public StayHistoryDailyRate setCurrencyCode(String value) { this.currencyCode = value; return this; } public String getRoomNumber() { return roomNumber; } public StayHistoryDailyRate setRoomNumber(String value) { this.roomNumber = value; return this; } public String getResourceID() { return resourceID; } public StayHistoryDailyRate setResourceID(String value) { this.resourceID = value; return this; } public String getPseudoRoom() { return pseudoRoom; } public StayHistoryDailyRate setPseudoRoom(String value) { this.pseudoRoom = value; return this; } public String getRoomCategory() { return roomCategory; } public StayHistoryDailyRate setRoomCategory(String value) { this.roomCategory = value; return this; } public String getRateRoomType() { return rateRoomType; } public StayHistoryDailyRate setRateRoomType(String value) { this.rateRoomType = value; return this; } public Date getInactiveDate() { return inactiveDate; } public StayHistoryDailyRate setInactiveDate(Date value) { this.inactiveDate = value; return this; } } }