| GET | /v2/hotelInventoryBlocks/{Query}/{CendynPropertyId} | ||
|---|---|---|---|
| GET | /v2/hotelInventoryBlocks/{Query} |
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
public static class HotelInventoryBlockRequest
{
public String cendynPropertyId = null;
public InventoryBlockQueryType query = null;
public Date startDate = null;
public Date endDate = null;
public String blockName = null;
public String id = null;
@DataMember(Name="Limit")
@SerializedName("Limit")
public Integer pageSize = null;
@DataMember(Name="Page")
@SerializedName("Page")
public Integer pageNumber = null;
public String getCendynPropertyId() { return cendynPropertyId; }
public HotelInventoryBlockRequest setCendynPropertyId(String value) { this.cendynPropertyId = value; return this; }
public InventoryBlockQueryType getQuery() { return query; }
public HotelInventoryBlockRequest setQuery(InventoryBlockQueryType value) { this.query = value; return this; }
public Date getStartDate() { return startDate; }
public HotelInventoryBlockRequest setStartDate(Date value) { this.startDate = value; return this; }
public Date getEndDate() { return endDate; }
public HotelInventoryBlockRequest setEndDate(Date value) { this.endDate = value; return this; }
public String getBlockName() { return blockName; }
public HotelInventoryBlockRequest setBlockName(String value) { this.blockName = value; return this; }
public String getId() { return id; }
public HotelInventoryBlockRequest setId(String value) { this.id = value; return this; }
public Integer getPageSize() { return pageSize; }
public HotelInventoryBlockRequest setPageSize(Integer value) { this.pageSize = value; return this; }
public Integer getPageNumber() { return pageNumber; }
public HotelInventoryBlockRequest setPageNumber(Integer value) { this.pageNumber = value; return this; }
}
public static enum InventoryBlockQueryType
{
Name,
Id,
LastUpdated;
}
public static class HotelInventoryBlockResponse extends CenResResponse
{
public ArrayList<InventoryBlock> records = null;
public ArrayList<InventoryBlock> getRecords() { return records; }
public HotelInventoryBlockResponse setRecords(ArrayList<InventoryBlock> value) { this.records = value; return this; }
}
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 enum RequestStatus
{
Success,
Warning,
Error,
NotAuthorized,
Failure;
}
public static class InventoryBlock
{
public String cendynPropertyID = null;
public String hotelCode = null;
public String actionCode = null;
public String blockName = null;
public String blockCodeType = null;
public String blockType = null;
public String inventoryBlockStatus = null;
public String groupingCode = null;
public String blockCodes = null;
public String description = null;
public String resortAllotmentId = null;
public Date blockStartDate = null;
public Date blockEndDate = null;
public String marketCode = null;
public String sourceCode = null;
public String channelCode = null;
public Date cutOffStartDate = null;
public Date cutOffEndDate = null;
public Boolean priceViewable = null;
public BigDecimal averageRate = null;
public Boolean pickupComplete = null;
public String comments = null;
public String lostReason = null;
public String externalID = null;
public String sourceName = null;
public String sourceID = null;
public Date sourceDateCreated = null;
public String sourceCreateUser = null;
public Date sourceDateUpdated = null;
public String sourceUpdateUser = null;
public Boolean isActive = null;
public Date inactiveDate = null;
public String recordStatus = null;
public ArrayList<InventoryBlockEvent> inventoryBlockEvents = null;
public ArrayList<InventoryBlockRate> inventoryBlockRates = null;
public ArrayList<Profile> profiles = null;
public String getCendynPropertyID() { return cendynPropertyID; }
public InventoryBlock setCendynPropertyID(String value) { this.cendynPropertyID = value; return this; }
public String getHotelCode() { return hotelCode; }
public InventoryBlock setHotelCode(String value) { this.hotelCode = value; return this; }
public String getActionCode() { return actionCode; }
public InventoryBlock setActionCode(String value) { this.actionCode = value; return this; }
public String getBlockName() { return blockName; }
public InventoryBlock setBlockName(String value) { this.blockName = value; return this; }
public String getBlockCodeType() { return blockCodeType; }
public InventoryBlock setBlockCodeType(String value) { this.blockCodeType = value; return this; }
public String getBlockType() { return blockType; }
public InventoryBlock setBlockType(String value) { this.blockType = value; return this; }
public String getInventoryBlockStatus() { return inventoryBlockStatus; }
public InventoryBlock setInventoryBlockStatus(String value) { this.inventoryBlockStatus = value; return this; }
public String getGroupingCode() { return groupingCode; }
public InventoryBlock setGroupingCode(String value) { this.groupingCode = value; return this; }
public String getBlockCodes() { return blockCodes; }
public InventoryBlock setBlockCodes(String value) { this.blockCodes = value; return this; }
public String getDescription() { return description; }
public InventoryBlock setDescription(String value) { this.description = value; return this; }
public String getResortAllotmentId() { return resortAllotmentId; }
public InventoryBlock setResortAllotmentId(String value) { this.resortAllotmentId = value; return this; }
public Date getBlockStartDate() { return blockStartDate; }
public InventoryBlock setBlockStartDate(Date value) { this.blockStartDate = value; return this; }
public Date getBlockEndDate() { return blockEndDate; }
public InventoryBlock setBlockEndDate(Date value) { this.blockEndDate = value; return this; }
public String getMarketCode() { return marketCode; }
public InventoryBlock setMarketCode(String value) { this.marketCode = value; return this; }
public String getSourceCode() { return sourceCode; }
public InventoryBlock setSourceCode(String value) { this.sourceCode = value; return this; }
public String getChannelCode() { return channelCode; }
public InventoryBlock setChannelCode(String value) { this.channelCode = value; return this; }
public Date getCutOffStartDate() { return cutOffStartDate; }
public InventoryBlock setCutOffStartDate(Date value) { this.cutOffStartDate = value; return this; }
public Date getCutOffEndDate() { return cutOffEndDate; }
public InventoryBlock setCutOffEndDate(Date value) { this.cutOffEndDate = value; return this; }
public Boolean isPriceViewable() { return priceViewable; }
public InventoryBlock setPriceViewable(Boolean value) { this.priceViewable = value; return this; }
public BigDecimal getAverageRate() { return averageRate; }
public InventoryBlock setAverageRate(BigDecimal value) { this.averageRate = value; return this; }
public Boolean isPickupComplete() { return pickupComplete; }
public InventoryBlock setPickupComplete(Boolean value) { this.pickupComplete = value; return this; }
public String getComments() { return comments; }
public InventoryBlock setComments(String value) { this.comments = value; return this; }
public String getLostReason() { return lostReason; }
public InventoryBlock setLostReason(String value) { this.lostReason = value; return this; }
public String getExternalID() { return externalID; }
public InventoryBlock setExternalID(String value) { this.externalID = value; return this; }
public String getSourceName() { return sourceName; }
public InventoryBlock setSourceName(String value) { this.sourceName = value; return this; }
public String getSourceID() { return sourceID; }
public InventoryBlock setSourceID(String value) { this.sourceID = value; return this; }
public Date getSourceDateCreated() { return sourceDateCreated; }
public InventoryBlock setSourceDateCreated(Date value) { this.sourceDateCreated = value; return this; }
public String getSourceCreateUser() { return sourceCreateUser; }
public InventoryBlock setSourceCreateUser(String value) { this.sourceCreateUser = value; return this; }
public Date getSourceDateUpdated() { return sourceDateUpdated; }
public InventoryBlock setSourceDateUpdated(Date value) { this.sourceDateUpdated = value; return this; }
public String getSourceUpdateUser() { return sourceUpdateUser; }
public InventoryBlock setSourceUpdateUser(String value) { this.sourceUpdateUser = value; return this; }
public Boolean getIsActive() { return isActive; }
public InventoryBlock setIsActive(Boolean value) { this.isActive = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public InventoryBlock setInactiveDate(Date value) { this.inactiveDate = value; return this; }
public String getRecordStatus() { return recordStatus; }
public InventoryBlock setRecordStatus(String value) { this.recordStatus = value; return this; }
public ArrayList<InventoryBlockEvent> getInventoryBlockEvents() { return inventoryBlockEvents; }
public InventoryBlock setInventoryBlockEvents(ArrayList<InventoryBlockEvent> value) { this.inventoryBlockEvents = value; return this; }
public ArrayList<InventoryBlockRate> getInventoryBlockRates() { return inventoryBlockRates; }
public InventoryBlock setInventoryBlockRates(ArrayList<InventoryBlockRate> value) { this.inventoryBlockRates = value; return this; }
public ArrayList<Profile> getProfiles() { return profiles; }
public InventoryBlock setProfiles(ArrayList<Profile> value) { this.profiles = value; return this; }
}
public static class InventoryBlockEvent
{
public String cendynPropertyID = null;
public String hotelCode = null;
public String inventoryCode = null;
public Date eventStartDate = null;
public Date eventEndDate = null;
public String eventName = null;
public String eventClassification = null;
public Date eventBookedDate = null;
public String eventStatus = null;
public String roomSetupCode = null;
public String roomSetupDescription = null;
public Integer roomSetupCapacity = null;
public Integer expectedAttendance = null;
public BigDecimal expectedRevenue = null;
public BigDecimal foodRevenue = null;
public BigDecimal beverageRevenue = null;
public BigDecimal roomRevenue = null;
public BigDecimal resourceRevenue = null;
public BigDecimal otherRevenue = null;
public String comments = null;
public String externalID = null;
public Date sourceDateCreated = null;
public String sourceCreateUser = null;
public Date sourceDateUpdated = null;
public String sourceUpdateUser = null;
public Boolean isActive = null;
public Date inactiveDate = null;
public String recordStatus = null;
public String getCendynPropertyID() { return cendynPropertyID; }
public InventoryBlockEvent setCendynPropertyID(String value) { this.cendynPropertyID = value; return this; }
public String getHotelCode() { return hotelCode; }
public InventoryBlockEvent setHotelCode(String value) { this.hotelCode = value; return this; }
public String getInventoryCode() { return inventoryCode; }
public InventoryBlockEvent setInventoryCode(String value) { this.inventoryCode = value; return this; }
public Date getEventStartDate() { return eventStartDate; }
public InventoryBlockEvent setEventStartDate(Date value) { this.eventStartDate = value; return this; }
public Date getEventEndDate() { return eventEndDate; }
public InventoryBlockEvent setEventEndDate(Date value) { this.eventEndDate = value; return this; }
public String getEventName() { return eventName; }
public InventoryBlockEvent setEventName(String value) { this.eventName = value; return this; }
public String getEventClassification() { return eventClassification; }
public InventoryBlockEvent setEventClassification(String value) { this.eventClassification = value; return this; }
public Date getEventBookedDate() { return eventBookedDate; }
public InventoryBlockEvent setEventBookedDate(Date value) { this.eventBookedDate = value; return this; }
public String getEventStatus() { return eventStatus; }
public InventoryBlockEvent setEventStatus(String value) { this.eventStatus = value; return this; }
public String getRoomSetupCode() { return roomSetupCode; }
public InventoryBlockEvent setRoomSetupCode(String value) { this.roomSetupCode = value; return this; }
public String getRoomSetupDescription() { return roomSetupDescription; }
public InventoryBlockEvent setRoomSetupDescription(String value) { this.roomSetupDescription = value; return this; }
public Integer getRoomSetupCapacity() { return roomSetupCapacity; }
public InventoryBlockEvent setRoomSetupCapacity(Integer value) { this.roomSetupCapacity = value; return this; }
public Integer getExpectedAttendance() { return expectedAttendance; }
public InventoryBlockEvent setExpectedAttendance(Integer value) { this.expectedAttendance = value; return this; }
public BigDecimal getExpectedRevenue() { return expectedRevenue; }
public InventoryBlockEvent setExpectedRevenue(BigDecimal value) { this.expectedRevenue = value; return this; }
public BigDecimal getFoodRevenue() { return foodRevenue; }
public InventoryBlockEvent setFoodRevenue(BigDecimal value) { this.foodRevenue = value; return this; }
public BigDecimal getBeverageRevenue() { return beverageRevenue; }
public InventoryBlockEvent setBeverageRevenue(BigDecimal value) { this.beverageRevenue = value; return this; }
public BigDecimal getRoomRevenue() { return roomRevenue; }
public InventoryBlockEvent setRoomRevenue(BigDecimal value) { this.roomRevenue = value; return this; }
public BigDecimal getResourceRevenue() { return resourceRevenue; }
public InventoryBlockEvent setResourceRevenue(BigDecimal value) { this.resourceRevenue = value; return this; }
public BigDecimal getOtherRevenue() { return otherRevenue; }
public InventoryBlockEvent setOtherRevenue(BigDecimal value) { this.otherRevenue = value; return this; }
public String getComments() { return comments; }
public InventoryBlockEvent setComments(String value) { this.comments = value; return this; }
public String getExternalID() { return externalID; }
public InventoryBlockEvent setExternalID(String value) { this.externalID = value; return this; }
public Date getSourceDateCreated() { return sourceDateCreated; }
public InventoryBlockEvent setSourceDateCreated(Date value) { this.sourceDateCreated = value; return this; }
public String getSourceCreateUser() { return sourceCreateUser; }
public InventoryBlockEvent setSourceCreateUser(String value) { this.sourceCreateUser = value; return this; }
public Date getSourceDateUpdated() { return sourceDateUpdated; }
public InventoryBlockEvent setSourceDateUpdated(Date value) { this.sourceDateUpdated = value; return this; }
public String getSourceUpdateUser() { return sourceUpdateUser; }
public InventoryBlockEvent setSourceUpdateUser(String value) { this.sourceUpdateUser = value; return this; }
public Boolean getIsActive() { return isActive; }
public InventoryBlockEvent setIsActive(Boolean value) { this.isActive = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public InventoryBlockEvent setInactiveDate(Date value) { this.inactiveDate = value; return this; }
public String getRecordStatus() { return recordStatus; }
public InventoryBlockEvent setRecordStatus(String value) { this.recordStatus = value; return this; }
}
public static class InventoryBlockRate
{
public String cendynPropertyID = null;
public String hotelCode = null;
public String inventoryCode = null;
public Integer blockCount = null;
public Date inventoryDay = null;
public BigDecimal rate1 = null;
public BigDecimal rate2 = null;
public BigDecimal rate3 = null;
public BigDecimal rate4 = null;
public BigDecimal extraAdult = null;
public BigDecimal extraChild = null;
public Integer blocksSold = null;
public Integer roomsContracted = null;
public Integer roomsReserved = null;
public Boolean isActive = null;
public Date inactiveDate = null;
public String roomBlockID = null;
public String roomBlockName = null;
public String roomBlockStatus = null;
public String recordStatus = null;
public String getCendynPropertyID() { return cendynPropertyID; }
public InventoryBlockRate setCendynPropertyID(String value) { this.cendynPropertyID = value; return this; }
public String getHotelCode() { return hotelCode; }
public InventoryBlockRate setHotelCode(String value) { this.hotelCode = value; return this; }
public String getInventoryCode() { return inventoryCode; }
public InventoryBlockRate setInventoryCode(String value) { this.inventoryCode = value; return this; }
public Integer getBlockCount() { return blockCount; }
public InventoryBlockRate setBlockCount(Integer value) { this.blockCount = value; return this; }
public Date getInventoryDay() { return inventoryDay; }
public InventoryBlockRate setInventoryDay(Date value) { this.inventoryDay = value; return this; }
public BigDecimal getRate1() { return rate1; }
public InventoryBlockRate setRate1(BigDecimal value) { this.rate1 = value; return this; }
public BigDecimal getRate2() { return rate2; }
public InventoryBlockRate setRate2(BigDecimal value) { this.rate2 = value; return this; }
public BigDecimal getRate3() { return rate3; }
public InventoryBlockRate setRate3(BigDecimal value) { this.rate3 = value; return this; }
public BigDecimal getRate4() { return rate4; }
public InventoryBlockRate setRate4(BigDecimal value) { this.rate4 = value; return this; }
public BigDecimal getExtraAdult() { return extraAdult; }
public InventoryBlockRate setExtraAdult(BigDecimal value) { this.extraAdult = value; return this; }
public BigDecimal getExtraChild() { return extraChild; }
public InventoryBlockRate setExtraChild(BigDecimal value) { this.extraChild = value; return this; }
public Integer getBlocksSold() { return blocksSold; }
public InventoryBlockRate setBlocksSold(Integer value) { this.blocksSold = value; return this; }
public Integer getRoomsContracted() { return roomsContracted; }
public InventoryBlockRate setRoomsContracted(Integer value) { this.roomsContracted = value; return this; }
public Integer getRoomsReserved() { return roomsReserved; }
public InventoryBlockRate setRoomsReserved(Integer value) { this.roomsReserved = value; return this; }
public Boolean getIsActive() { return isActive; }
public InventoryBlockRate setIsActive(Boolean value) { this.isActive = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public InventoryBlockRate setInactiveDate(Date value) { this.inactiveDate = value; return this; }
public String getRoomBlockID() { return roomBlockID; }
public InventoryBlockRate setRoomBlockID(String value) { this.roomBlockID = value; return this; }
public String getRoomBlockName() { return roomBlockName; }
public InventoryBlockRate setRoomBlockName(String value) { this.roomBlockName = value; return this; }
public String getRoomBlockStatus() { return roomBlockStatus; }
public InventoryBlockRate setRoomBlockStatus(String value) { this.roomBlockStatus = value; return this; }
public String getRecordStatus() { return recordStatus; }
public InventoryBlockRate setRecordStatus(String value) { this.recordStatus = value; return this; }
}
public static class Profile
{
public String cendynPropertyID = null;
public String propertyName = null;
public ArrayList<UniqueIDType> uniqueIDs = null;
public String profileTypeCode = null;
public String profileTypeDescription = null;
public String nameCode = null;
public String profileTypeCategory = null;
public String jobTitle = null;
public String salutation = null;
public String firstName = null;
public String familiarName = null;
public String middleName = null;
public String lastName = null;
public String fullName = null;
public String nameSuffix = null;
public String vipid = null;
public String vipCode = null;
public String primaryLanguage = null;
public String genderCode = null;
public String dobYear = null;
public String dobMonth = null;
public String dobDayOfMonth = null;
public String companyName = null;
public String arNumber = null;
public Boolean allowMail = null;
public Boolean allowEMail = null;
public Boolean guestPriv = null;
public Boolean allowPhone = null;
public Boolean allowSMS = null;
public Boolean allowHistory = null;
public Boolean allowMarketResearch = null;
public Boolean allowThirdParty = null;
public Boolean allowLoyaltyProgram = null;
public String creatorCode = null;
public String lastUpdaterCode = null;
public Date dateProfileCreated = null;
public Date dateProfileUpdated = null;
public Date inactiveDate = null;
public String nationality = null;
public String resortCode = null;
public String retiredProfileId = null;
public String transferredSubscriptionId = null;
public String sourceName = null;
public String sourceID = null;
public Boolean optOutMarketing = null;
public Date optOutDate = null;
public ProfileExtension profileExtension = null;
public ArrayList<Address> addresses = null;
public ArrayList<Membership> memberships = null;
public ArrayList<ContactMethod> contactMethods = null;
public ArrayList<ActionComment> actionComments = null;
public ArrayList<SpecialRequest> specialRequests = null;
public ArrayList<UDFDataType> udfDataCollection = null;
public Lead lead = null;
public ArrayList<RelatedTraveler> relatedTravelers = null;
public ArrayList<Document> documents = null;
public ArrayList<Voucher> vouchers = null;
public ArrayList<ProfilePolicy> profilePolicies = null;
public String getCendynPropertyID() { return cendynPropertyID; }
public Profile setCendynPropertyID(String value) { this.cendynPropertyID = value; return this; }
public String getPropertyName() { return propertyName; }
public Profile setPropertyName(String value) { this.propertyName = value; return this; }
public ArrayList<UniqueIDType> getUniqueIDs() { return uniqueIDs; }
public Profile setUniqueIDs(ArrayList<UniqueIDType> value) { this.uniqueIDs = value; return this; }
public String getProfileTypeCode() { return profileTypeCode; }
public Profile setProfileTypeCode(String value) { this.profileTypeCode = value; return this; }
public String getProfileTypeDescription() { return profileTypeDescription; }
public Profile setProfileTypeDescription(String value) { this.profileTypeDescription = value; return this; }
public String getNameCode() { return nameCode; }
public Profile setNameCode(String value) { this.nameCode = value; return this; }
public String getProfileTypeCategory() { return profileTypeCategory; }
public Profile setProfileTypeCategory(String value) { this.profileTypeCategory = value; return this; }
public String getJobTitle() { return jobTitle; }
public Profile setJobTitle(String value) { this.jobTitle = value; return this; }
public String getSalutation() { return salutation; }
public Profile setSalutation(String value) { this.salutation = value; return this; }
public String getFirstName() { return firstName; }
public Profile setFirstName(String value) { this.firstName = value; return this; }
public String getFamiliarName() { return familiarName; }
public Profile setFamiliarName(String value) { this.familiarName = value; return this; }
public String getMiddleName() { return middleName; }
public Profile setMiddleName(String value) { this.middleName = value; return this; }
public String getLastName() { return lastName; }
public Profile setLastName(String value) { this.lastName = value; return this; }
public String getFullName() { return fullName; }
public Profile setFullName(String value) { this.fullName = value; return this; }
public String getNameSuffix() { return nameSuffix; }
public Profile setNameSuffix(String value) { this.nameSuffix = value; return this; }
public String getVipid() { return vipid; }
public Profile setVipid(String value) { this.vipid = value; return this; }
public String getVipCode() { return vipCode; }
public Profile setVipCode(String value) { this.vipCode = value; return this; }
public String getPrimaryLanguage() { return primaryLanguage; }
public Profile setPrimaryLanguage(String value) { this.primaryLanguage = value; return this; }
public String getGenderCode() { return genderCode; }
public Profile setGenderCode(String value) { this.genderCode = value; return this; }
public String getDobYear() { return dobYear; }
public Profile setDobYear(String value) { this.dobYear = value; return this; }
public String getDobMonth() { return dobMonth; }
public Profile setDobMonth(String value) { this.dobMonth = value; return this; }
public String getDobDayOfMonth() { return dobDayOfMonth; }
public Profile setDobDayOfMonth(String value) { this.dobDayOfMonth = value; return this; }
public String getCompanyName() { return companyName; }
public Profile setCompanyName(String value) { this.companyName = value; return this; }
public String getArNumber() { return arNumber; }
public Profile setArNumber(String value) { this.arNumber = value; return this; }
public Boolean isAllowMail() { return allowMail; }
public Profile setAllowMail(Boolean value) { this.allowMail = value; return this; }
public Boolean isAllowEMail() { return allowEMail; }
public Profile setAllowEMail(Boolean value) { this.allowEMail = value; return this; }
public Boolean isGuestPriv() { return guestPriv; }
public Profile setGuestPriv(Boolean value) { this.guestPriv = value; return this; }
public Boolean isAllowPhone() { return allowPhone; }
public Profile setAllowPhone(Boolean value) { this.allowPhone = value; return this; }
public Boolean isAllowSMS() { return allowSMS; }
public Profile setAllowSMS(Boolean value) { this.allowSMS = value; return this; }
public Boolean isAllowHistory() { return allowHistory; }
public Profile setAllowHistory(Boolean value) { this.allowHistory = value; return this; }
public Boolean isAllowMarketResearch() { return allowMarketResearch; }
public Profile setAllowMarketResearch(Boolean value) { this.allowMarketResearch = value; return this; }
public Boolean isAllowThirdParty() { return allowThirdParty; }
public Profile setAllowThirdParty(Boolean value) { this.allowThirdParty = value; return this; }
public Boolean isAllowLoyaltyProgram() { return allowLoyaltyProgram; }
public Profile setAllowLoyaltyProgram(Boolean value) { this.allowLoyaltyProgram = value; return this; }
public String getCreatorCode() { return creatorCode; }
public Profile setCreatorCode(String value) { this.creatorCode = value; return this; }
public String getLastUpdaterCode() { return lastUpdaterCode; }
public Profile setLastUpdaterCode(String value) { this.lastUpdaterCode = value; return this; }
public Date getDateProfileCreated() { return dateProfileCreated; }
public Profile setDateProfileCreated(Date value) { this.dateProfileCreated = value; return this; }
public Date getDateProfileUpdated() { return dateProfileUpdated; }
public Profile setDateProfileUpdated(Date value) { this.dateProfileUpdated = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public Profile setInactiveDate(Date value) { this.inactiveDate = value; return this; }
public String getNationality() { return nationality; }
public Profile setNationality(String value) { this.nationality = value; return this; }
public String getResortCode() { return resortCode; }
public Profile setResortCode(String value) { this.resortCode = value; return this; }
public String getRetiredProfileId() { return retiredProfileId; }
public Profile setRetiredProfileId(String value) { this.retiredProfileId = value; return this; }
public String getTransferredSubscriptionId() { return transferredSubscriptionId; }
public Profile setTransferredSubscriptionId(String value) { this.transferredSubscriptionId = value; return this; }
public String getSourceName() { return sourceName; }
public Profile setSourceName(String value) { this.sourceName = value; return this; }
public String getSourceID() { return sourceID; }
public Profile setSourceID(String value) { this.sourceID = value; return this; }
public Boolean isOptOutMarketing() { return optOutMarketing; }
public Profile setOptOutMarketing(Boolean value) { this.optOutMarketing = value; return this; }
public Date getOptOutDate() { return optOutDate; }
public Profile setOptOutDate(Date value) { this.optOutDate = value; return this; }
public ProfileExtension getProfileExtension() { return profileExtension; }
public Profile setProfileExtension(ProfileExtension value) { this.profileExtension = value; return this; }
public ArrayList<Address> getAddresses() { return addresses; }
public Profile setAddresses(ArrayList<Address> value) { this.addresses = value; return this; }
public ArrayList<Membership> getMemberships() { return memberships; }
public Profile setMemberships(ArrayList<Membership> value) { this.memberships = value; return this; }
public ArrayList<ContactMethod> getContactMethods() { return contactMethods; }
public Profile setContactMethods(ArrayList<ContactMethod> value) { this.contactMethods = value; return this; }
public ArrayList<ActionComment> getActionComments() { return actionComments; }
public Profile setActionComments(ArrayList<ActionComment> value) { this.actionComments = value; return this; }
public ArrayList<SpecialRequest> getSpecialRequests() { return specialRequests; }
public Profile setSpecialRequests(ArrayList<SpecialRequest> value) { this.specialRequests = value; return this; }
public ArrayList<UDFDataType> getUdfDataCollection() { return udfDataCollection; }
public Profile setUdfDataCollection(ArrayList<UDFDataType> value) { this.udfDataCollection = value; return this; }
public Lead getLead() { return lead; }
public Profile setLead(Lead value) { this.lead = value; return this; }
public ArrayList<RelatedTraveler> getRelatedTravelers() { return relatedTravelers; }
public Profile setRelatedTravelers(ArrayList<RelatedTraveler> value) { this.relatedTravelers = value; return this; }
public ArrayList<Document> getDocuments() { return documents; }
public Profile setDocuments(ArrayList<Document> value) { this.documents = value; return this; }
public ArrayList<Voucher> getVouchers() { return vouchers; }
public Profile setVouchers(ArrayList<Voucher> value) { this.vouchers = value; return this; }
public ArrayList<ProfilePolicy> getProfilePolicies() { return profilePolicies; }
public Profile setProfilePolicies(ArrayList<ProfilePolicy> value) { this.profilePolicies = 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 ProfileExtension
{
public String languageCode = null;
public String salutationExt = null;
public String firstNameExt = null;
public String familiarNameExt = null;
public String middleNameExt = null;
public String lastNameExt = null;
public String nameSuffixExt = null;
public String companyNameExt = null;
public String blacklist = null;
public String blackListMessage = null;
public String anonymizationStatus = null;
public String getLanguageCode() { return languageCode; }
public ProfileExtension setLanguageCode(String value) { this.languageCode = value; return this; }
public String getSalutationExt() { return salutationExt; }
public ProfileExtension setSalutationExt(String value) { this.salutationExt = value; return this; }
public String getFirstNameExt() { return firstNameExt; }
public ProfileExtension setFirstNameExt(String value) { this.firstNameExt = value; return this; }
public String getFamiliarNameExt() { return familiarNameExt; }
public ProfileExtension setFamiliarNameExt(String value) { this.familiarNameExt = value; return this; }
public String getMiddleNameExt() { return middleNameExt; }
public ProfileExtension setMiddleNameExt(String value) { this.middleNameExt = value; return this; }
public String getLastNameExt() { return lastNameExt; }
public ProfileExtension setLastNameExt(String value) { this.lastNameExt = value; return this; }
public String getNameSuffixExt() { return nameSuffixExt; }
public ProfileExtension setNameSuffixExt(String value) { this.nameSuffixExt = value; return this; }
public String getCompanyNameExt() { return companyNameExt; }
public ProfileExtension setCompanyNameExt(String value) { this.companyNameExt = value; return this; }
public String getBlacklist() { return blacklist; }
public ProfileExtension setBlacklist(String value) { this.blacklist = value; return this; }
public String getBlackListMessage() { return blackListMessage; }
public ProfileExtension setBlackListMessage(String value) { this.blackListMessage = value; return this; }
public String getAnonymizationStatus() { return anonymizationStatus; }
public ProfileExtension setAnonymizationStatus(String value) { this.anonymizationStatus = value; return this; }
}
public static class Address
{
public String addressTypeCode = null;
public String addressTypeDescription = null;
public String addressStatus = null;
public String attn = null;
public String address1 = null;
public String address2 = null;
public String city = null;
public String stateProvince = null;
public String postalCode = null;
public String countryCode = null;
public Boolean isPrimary = null;
public String addressLanguage = null;
public Boolean addressCleansed = null;
public Boolean optOutMarketing = null;
public Date optOutDate = null;
public String getAddressTypeCode() { return addressTypeCode; }
public Address setAddressTypeCode(String value) { this.addressTypeCode = value; return this; }
public String getAddressTypeDescription() { return addressTypeDescription; }
public Address setAddressTypeDescription(String value) { this.addressTypeDescription = value; return this; }
public String getAddressStatus() { return addressStatus; }
public Address setAddressStatus(String value) { this.addressStatus = value; return this; }
public String getAttn() { return attn; }
public Address setAttn(String value) { this.attn = value; return this; }
public String getAddress1() { return address1; }
public Address setAddress1(String value) { this.address1 = value; return this; }
public String getAddress2() { return address2; }
public Address setAddress2(String value) { this.address2 = value; return this; }
public String getCity() { return city; }
public Address setCity(String value) { this.city = value; return this; }
public String getStateProvince() { return stateProvince; }
public Address setStateProvince(String value) { this.stateProvince = value; return this; }
public String getPostalCode() { return postalCode; }
public Address setPostalCode(String value) { this.postalCode = value; return this; }
public String getCountryCode() { return countryCode; }
public Address setCountryCode(String value) { this.countryCode = value; return this; }
public Boolean getIsPrimary() { return isPrimary; }
public Address setIsPrimary(Boolean value) { this.isPrimary = value; return this; }
public String getAddressLanguage() { return addressLanguage; }
public Address setAddressLanguage(String value) { this.addressLanguage = value; return this; }
public Boolean isAddressCleansed() { return addressCleansed; }
public Address setAddressCleansed(Boolean value) { this.addressCleansed = value; return this; }
public Boolean isOptOutMarketing() { return optOutMarketing; }
public Address setOptOutMarketing(Boolean value) { this.optOutMarketing = value; return this; }
public Date getOptOutDate() { return optOutDate; }
public Address setOptOutDate(Date value) { this.optOutDate = value; return this; }
}
public static class Membership
{
public String externalID = null;
public String programCode = null;
public String membershipID = null;
public String membershipCategory = null;
public String membershipName = null;
public String membershipLevel = null;
public String membershipStatus = null;
public String enrollmentCode = null;
public Date dateMembershipStarts = null;
public Date dateMembershipExpires = null;
public Integer totalStays = null;
public Integer awardCredits = null;
public Integer awardAvailable = null;
public Boolean primaryAirline = null;
public Integer displaySequence = null;
public String sourceName = null;
public String sourceID = null;
public Boolean isActive = null;
public Date inactiveDate = null;
public Boolean pointsIndicator = null;
public String getExternalID() { return externalID; }
public Membership setExternalID(String value) { this.externalID = value; return this; }
public String getProgramCode() { return programCode; }
public Membership setProgramCode(String value) { this.programCode = value; return this; }
public String getMembershipID() { return membershipID; }
public Membership setMembershipID(String value) { this.membershipID = value; return this; }
public String getMembershipCategory() { return membershipCategory; }
public Membership setMembershipCategory(String value) { this.membershipCategory = value; return this; }
public String getMembershipName() { return membershipName; }
public Membership setMembershipName(String value) { this.membershipName = value; return this; }
public String getMembershipLevel() { return membershipLevel; }
public Membership setMembershipLevel(String value) { this.membershipLevel = value; return this; }
public String getMembershipStatus() { return membershipStatus; }
public Membership setMembershipStatus(String value) { this.membershipStatus = value; return this; }
public String getEnrollmentCode() { return enrollmentCode; }
public Membership setEnrollmentCode(String value) { this.enrollmentCode = value; return this; }
public Date getDateMembershipStarts() { return dateMembershipStarts; }
public Membership setDateMembershipStarts(Date value) { this.dateMembershipStarts = value; return this; }
public Date getDateMembershipExpires() { return dateMembershipExpires; }
public Membership setDateMembershipExpires(Date value) { this.dateMembershipExpires = value; return this; }
public Integer getTotalStays() { return totalStays; }
public Membership setTotalStays(Integer value) { this.totalStays = value; return this; }
public Integer getAwardCredits() { return awardCredits; }
public Membership setAwardCredits(Integer value) { this.awardCredits = value; return this; }
public Integer getAwardAvailable() { return awardAvailable; }
public Membership setAwardAvailable(Integer value) { this.awardAvailable = value; return this; }
public Boolean isPrimaryAirline() { return primaryAirline; }
public Membership setPrimaryAirline(Boolean value) { this.primaryAirline = value; return this; }
public Integer getDisplaySequence() { return displaySequence; }
public Membership setDisplaySequence(Integer value) { this.displaySequence = value; return this; }
public String getSourceName() { return sourceName; }
public Membership setSourceName(String value) { this.sourceName = value; return this; }
public String getSourceID() { return sourceID; }
public Membership setSourceID(String value) { this.sourceID = value; return this; }
public Boolean getIsActive() { return isActive; }
public Membership setIsActive(Boolean value) { this.isActive = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public Membership setInactiveDate(Date value) { this.inactiveDate = value; return this; }
public Boolean isPointsIndicator() { return pointsIndicator; }
public Membership setPointsIndicator(Boolean value) { this.pointsIndicator = value; return this; }
}
public static class ContactMethod
{
public String type = null;
public String category = null;
public String dataValue = null;
public String extraData = null;
public Boolean optOut = null;
public Date sourceDate = null;
public Boolean isPrimary = null;
public Boolean confirmation = null;
public Date inactiveDate = null;
public Boolean optOutMarketing = null;
public Date optOutDate = null;
public String getType() { return type; }
public ContactMethod setType(String value) { this.type = value; return this; }
public String getCategory() { return category; }
public ContactMethod setCategory(String value) { this.category = value; return this; }
public String getDataValue() { return dataValue; }
public ContactMethod setDataValue(String value) { this.dataValue = value; return this; }
public String getExtraData() { return extraData; }
public ContactMethod setExtraData(String value) { this.extraData = value; return this; }
public Boolean isOptOut() { return optOut; }
public ContactMethod setOptOut(Boolean value) { this.optOut = value; return this; }
public Date getSourceDate() { return sourceDate; }
public ContactMethod setSourceDate(Date value) { this.sourceDate = value; return this; }
public Boolean getIsPrimary() { return isPrimary; }
public ContactMethod setIsPrimary(Boolean value) { this.isPrimary = value; return this; }
public Boolean isConfirmation() { return confirmation; }
public ContactMethod setConfirmation(Boolean value) { this.confirmation = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public ContactMethod setInactiveDate(Date value) { this.inactiveDate = value; return this; }
public Boolean isOptOutMarketing() { return optOutMarketing; }
public ContactMethod setOptOutMarketing(Boolean value) { this.optOutMarketing = value; return this; }
public Date getOptOutDate() { return optOutDate; }
public ContactMethod setOptOutDate(Date value) { this.optOutDate = value; return this; }
}
public static class ActionComment
{
public String externalID = null;
public String commentType = null;
public String commentTitle = null;
public String commentClass = null;
public String actionType = null;
public String comment = null;
public Date actionDate = null;
public Date inactiveDate = null;
public Boolean guestViewable = null;
public String creatorCode = null;
public Date dateCommentCreated = null;
public String resortCode = null;
public String getExternalID() { return externalID; }
public ActionComment setExternalID(String value) { this.externalID = value; return this; }
public String getCommentType() { return commentType; }
public ActionComment setCommentType(String value) { this.commentType = value; return this; }
public String getCommentTitle() { return commentTitle; }
public ActionComment setCommentTitle(String value) { this.commentTitle = value; return this; }
public String getCommentClass() { return commentClass; }
public ActionComment setCommentClass(String value) { this.commentClass = value; return this; }
public String getActionType() { return actionType; }
public ActionComment setActionType(String value) { this.actionType = value; return this; }
public String getComment() { return comment; }
public ActionComment setComment(String value) { this.comment = value; return this; }
public Date getActionDate() { return actionDate; }
public ActionComment setActionDate(Date value) { this.actionDate = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public ActionComment setInactiveDate(Date value) { this.inactiveDate = value; return this; }
public Boolean isGuestViewable() { return guestViewable; }
public ActionComment setGuestViewable(Boolean value) { this.guestViewable = value; return this; }
public String getCreatorCode() { return creatorCode; }
public ActionComment setCreatorCode(String value) { this.creatorCode = value; return this; }
public Date getDateCommentCreated() { return dateCommentCreated; }
public ActionComment setDateCommentCreated(Date value) { this.dateCommentCreated = value; return this; }
public String getResortCode() { return resortCode; }
public ActionComment setResortCode(String value) { this.resortCode = value; return this; }
}
public static class SpecialRequest
{
public String externalID = null;
public String requestType = null;
public String requestCode = null;
public String requestComments = null;
public String resortField = null;
public String actionTypeCode = null;
public String actionType = null;
public Date inactiveDate = null;
public String getExternalID() { return externalID; }
public SpecialRequest setExternalID(String value) { this.externalID = value; return this; }
public String getRequestType() { return requestType; }
public SpecialRequest setRequestType(String value) { this.requestType = value; return this; }
public String getRequestCode() { return requestCode; }
public SpecialRequest setRequestCode(String value) { this.requestCode = value; return this; }
public String getRequestComments() { return requestComments; }
public SpecialRequest setRequestComments(String value) { this.requestComments = value; return this; }
public String getResortField() { return resortField; }
public SpecialRequest setResortField(String value) { this.resortField = value; return this; }
public String getActionTypeCode() { return actionTypeCode; }
public SpecialRequest setActionTypeCode(String value) { this.actionTypeCode = value; return this; }
public String getActionType() { return actionType; }
public SpecialRequest setActionType(String value) { this.actionType = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public SpecialRequest setInactiveDate(Date value) { this.inactiveDate = value; return this; }
}
public static class UDFDataType
{
public String cendynPropertyID = null;
public String moduleName = null;
public String tableName = null;
public String columnName = null;
public String udfValue = null;
public String getCendynPropertyID() { return cendynPropertyID; }
public UDFDataType setCendynPropertyID(String value) { this.cendynPropertyID = value; return this; }
public String getModuleName() { return moduleName; }
public UDFDataType setModuleName(String value) { this.moduleName = value; return this; }
public String getTableName() { return tableName; }
public UDFDataType setTableName(String value) { this.tableName = value; return this; }
public String getColumnName() { return columnName; }
public UDFDataType setColumnName(String value) { this.columnName = value; return this; }
public String getUdfValue() { return udfValue; }
public UDFDataType setUdfValue(String value) { this.udfValue = value; return this; }
}
public static class Lead
{
public UUID fK_Reservation = null;
public String externalLeadID = null;
public String externalLeadSource = null;
public String leadStatus = null;
public Date leadAcquired = null;
public Date tentativeStartDate = null;
public Date tentativeEndDate = null;
public String assignedAgent = null;
public Date assignedDate = null;
public String contactMethod = null;
public String contactAgent = null;
public Date contactDate = null;
public String lastFollowupMethod = null;
public String lastFollowupAgent = null;
public Date lastFollowupDate = null;
public String bookingMethod = null;
public String bookingAgent = null;
public Date bookingDate = null;
public String reasonforStay = null;
public String marketCode = null;
public String campaignCode = null;
public String campaignName = null;
public BigDecimal priceEstimate = null;
public Boolean flaggedForAttention = null;
public UUID getFKReservation() { return fK_Reservation; }
public Lead setFKReservation(UUID value) { this.fK_Reservation = value; return this; }
public String getExternalLeadID() { return externalLeadID; }
public Lead setExternalLeadID(String value) { this.externalLeadID = value; return this; }
public String getExternalLeadSource() { return externalLeadSource; }
public Lead setExternalLeadSource(String value) { this.externalLeadSource = value; return this; }
public String getLeadStatus() { return leadStatus; }
public Lead setLeadStatus(String value) { this.leadStatus = value; return this; }
public Date getLeadAcquired() { return leadAcquired; }
public Lead setLeadAcquired(Date value) { this.leadAcquired = value; return this; }
public Date getTentativeStartDate() { return tentativeStartDate; }
public Lead setTentativeStartDate(Date value) { this.tentativeStartDate = value; return this; }
public Date getTentativeEndDate() { return tentativeEndDate; }
public Lead setTentativeEndDate(Date value) { this.tentativeEndDate = value; return this; }
public String getAssignedAgent() { return assignedAgent; }
public Lead setAssignedAgent(String value) { this.assignedAgent = value; return this; }
public Date getAssignedDate() { return assignedDate; }
public Lead setAssignedDate(Date value) { this.assignedDate = value; return this; }
public String getContactMethod() { return contactMethod; }
public Lead setContactMethod(String value) { this.contactMethod = value; return this; }
public String getContactAgent() { return contactAgent; }
public Lead setContactAgent(String value) { this.contactAgent = value; return this; }
public Date getContactDate() { return contactDate; }
public Lead setContactDate(Date value) { this.contactDate = value; return this; }
public String getLastFollowupMethod() { return lastFollowupMethod; }
public Lead setLastFollowupMethod(String value) { this.lastFollowupMethod = value; return this; }
public String getLastFollowupAgent() { return lastFollowupAgent; }
public Lead setLastFollowupAgent(String value) { this.lastFollowupAgent = value; return this; }
public Date getLastFollowupDate() { return lastFollowupDate; }
public Lead setLastFollowupDate(Date value) { this.lastFollowupDate = value; return this; }
public String getBookingMethod() { return bookingMethod; }
public Lead setBookingMethod(String value) { this.bookingMethod = value; return this; }
public String getBookingAgent() { return bookingAgent; }
public Lead setBookingAgent(String value) { this.bookingAgent = value; return this; }
public Date getBookingDate() { return bookingDate; }
public Lead setBookingDate(Date value) { this.bookingDate = value; return this; }
public String getReasonforStay() { return reasonforStay; }
public Lead setReasonforStay(String value) { this.reasonforStay = value; return this; }
public String getMarketCode() { return marketCode; }
public Lead setMarketCode(String value) { this.marketCode = value; return this; }
public String getCampaignCode() { return campaignCode; }
public Lead setCampaignCode(String value) { this.campaignCode = value; return this; }
public String getCampaignName() { return campaignName; }
public Lead setCampaignName(String value) { this.campaignName = value; return this; }
public BigDecimal getPriceEstimate() { return priceEstimate; }
public Lead setPriceEstimate(BigDecimal value) { this.priceEstimate = value; return this; }
public Boolean isFlaggedForAttention() { return flaggedForAttention; }
public Lead setFlaggedForAttention(Boolean value) { this.flaggedForAttention = value; return this; }
}
public static class RelatedTraveler
{
public String cendynPropertyID = null;
public String propertyName = null;
public ArrayList<UniqueIDType> uniqueIDs = null;
public String salutation = null;
public String firstName = null;
public String familiarName = null;
public String middleName = null;
public String lastName = null;
public String fullName = null;
public String suffix = null;
public String relation = null;
public Boolean isPrimary = null;
public String getCendynPropertyID() { return cendynPropertyID; }
public RelatedTraveler setCendynPropertyID(String value) { this.cendynPropertyID = value; return this; }
public String getPropertyName() { return propertyName; }
public RelatedTraveler setPropertyName(String value) { this.propertyName = value; return this; }
public ArrayList<UniqueIDType> getUniqueIDs() { return uniqueIDs; }
public RelatedTraveler setUniqueIDs(ArrayList<UniqueIDType> value) { this.uniqueIDs = value; return this; }
public String getSalutation() { return salutation; }
public RelatedTraveler setSalutation(String value) { this.salutation = value; return this; }
public String getFirstName() { return firstName; }
public RelatedTraveler setFirstName(String value) { this.firstName = value; return this; }
public String getFamiliarName() { return familiarName; }
public RelatedTraveler setFamiliarName(String value) { this.familiarName = value; return this; }
public String getMiddleName() { return middleName; }
public RelatedTraveler setMiddleName(String value) { this.middleName = value; return this; }
public String getLastName() { return lastName; }
public RelatedTraveler setLastName(String value) { this.lastName = value; return this; }
public String getFullName() { return fullName; }
public RelatedTraveler setFullName(String value) { this.fullName = value; return this; }
public String getSuffix() { return suffix; }
public RelatedTraveler setSuffix(String value) { this.suffix = value; return this; }
public String getRelation() { return relation; }
public RelatedTraveler setRelation(String value) { this.relation = value; return this; }
public Boolean getIsPrimary() { return isPrimary; }
public RelatedTraveler setIsPrimary(Boolean value) { this.isPrimary = value; return this; }
}
public static class Document
{
public String documentID = null;
public String documentType = null;
public String documentSource = null;
public String codeOnDocument = null;
public String documentNotes = null;
public String nameOnDocument = null;
public String nationalityOnDocument = null;
public Date effectiveDate = null;
public Date expirationDate = null;
public String issuer = null;
public String issuerCountry = null;
public Boolean isPrimary = null;
public String piI_StoredAs = null;
public Date inactiveDate = null;
public String getDocumentID() { return documentID; }
public Document setDocumentID(String value) { this.documentID = value; return this; }
public String getDocumentType() { return documentType; }
public Document setDocumentType(String value) { this.documentType = value; return this; }
public String getDocumentSource() { return documentSource; }
public Document setDocumentSource(String value) { this.documentSource = value; return this; }
public String getCodeOnDocument() { return codeOnDocument; }
public Document setCodeOnDocument(String value) { this.codeOnDocument = value; return this; }
public String getDocumentNotes() { return documentNotes; }
public Document setDocumentNotes(String value) { this.documentNotes = value; return this; }
public String getNameOnDocument() { return nameOnDocument; }
public Document setNameOnDocument(String value) { this.nameOnDocument = value; return this; }
public String getNationalityOnDocument() { return nationalityOnDocument; }
public Document setNationalityOnDocument(String value) { this.nationalityOnDocument = value; return this; }
public Date getEffectiveDate() { return effectiveDate; }
public Document setEffectiveDate(Date value) { this.effectiveDate = value; return this; }
public Date getExpirationDate() { return expirationDate; }
public Document setExpirationDate(Date value) { this.expirationDate = value; return this; }
public String getIssuer() { return issuer; }
public Document setIssuer(String value) { this.issuer = value; return this; }
public String getIssuerCountry() { return issuerCountry; }
public Document setIssuerCountry(String value) { this.issuerCountry = value; return this; }
public Boolean getIsPrimary() { return isPrimary; }
public Document setIsPrimary(Boolean value) { this.isPrimary = value; return this; }
public String getPiIStoredAs() { return piI_StoredAs; }
public Document setPiIStoredAs(String value) { this.piI_StoredAs = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public Document setInactiveDate(Date value) { this.inactiveDate = value; return this; }
}
public static class Voucher
{
public String hotelCode = null;
public String voucherID = null;
public String voucherID2 = null;
public String appliedToResort = null;
public String reservationID = null;
public String profileIDRecipient = null;
public String subscriberIDRecipient = null;
public String recipientName = null;
public String emailaddress = null;
public String profileIDPurchaser = null;
public String purchaserName = null;
public String voucherStatus = null;
public String voucherType = null;
public String membershipType = null;
public String certCode = null;
public String certNo = null;
public String shortDescription = null;
public String giftMessage = null;
public String comments = null;
public BigDecimal voucherAmount = null;
public String currencyCode = null;
public String issueType = null;
public Date dateConsumed = null;
public Date expirationDate = null;
public Integer awardPoints = null;
public String ruleType = null;
public String ruleValue = null;
public Boolean cancelAllowed = null;
public Integer maxExtensions = null;
public String referenceType = null;
public String referenceID = null;
public String promotionCode = null;
public Boolean reservationConsumed = null;
public Boolean webConsumed = null;
public Boolean pmsConsumed = null;
public Boolean verifyCertNo = null;
public Boolean generateInLieu = null;
public String creatorCode = null;
public String lastUpdaterCode = null;
public String folioID = null;
public Date inactiveDate = null;
public String getHotelCode() { return hotelCode; }
public Voucher setHotelCode(String value) { this.hotelCode = value; return this; }
public String getVoucherID() { return voucherID; }
public Voucher setVoucherID(String value) { this.voucherID = value; return this; }
public String getVoucherID2() { return voucherID2; }
public Voucher setVoucherID2(String value) { this.voucherID2 = value; return this; }
public String getAppliedToResort() { return appliedToResort; }
public Voucher setAppliedToResort(String value) { this.appliedToResort = value; return this; }
public String getReservationID() { return reservationID; }
public Voucher setReservationID(String value) { this.reservationID = value; return this; }
public String getProfileIDRecipient() { return profileIDRecipient; }
public Voucher setProfileIDRecipient(String value) { this.profileIDRecipient = value; return this; }
public String getSubscriberIDRecipient() { return subscriberIDRecipient; }
public Voucher setSubscriberIDRecipient(String value) { this.subscriberIDRecipient = value; return this; }
public String getRecipientName() { return recipientName; }
public Voucher setRecipientName(String value) { this.recipientName = value; return this; }
public String getEmailaddress() { return emailaddress; }
public Voucher setEmailaddress(String value) { this.emailaddress = value; return this; }
public String getProfileIDPurchaser() { return profileIDPurchaser; }
public Voucher setProfileIDPurchaser(String value) { this.profileIDPurchaser = value; return this; }
public String getPurchaserName() { return purchaserName; }
public Voucher setPurchaserName(String value) { this.purchaserName = value; return this; }
public String getVoucherStatus() { return voucherStatus; }
public Voucher setVoucherStatus(String value) { this.voucherStatus = value; return this; }
public String getVoucherType() { return voucherType; }
public Voucher setVoucherType(String value) { this.voucherType = value; return this; }
public String getMembershipType() { return membershipType; }
public Voucher setMembershipType(String value) { this.membershipType = value; return this; }
public String getCertCode() { return certCode; }
public Voucher setCertCode(String value) { this.certCode = value; return this; }
public String getCertNo() { return certNo; }
public Voucher setCertNo(String value) { this.certNo = value; return this; }
public String getShortDescription() { return shortDescription; }
public Voucher setShortDescription(String value) { this.shortDescription = value; return this; }
public String getGiftMessage() { return giftMessage; }
public Voucher setGiftMessage(String value) { this.giftMessage = value; return this; }
public String getComments() { return comments; }
public Voucher setComments(String value) { this.comments = value; return this; }
public BigDecimal getVoucherAmount() { return voucherAmount; }
public Voucher setVoucherAmount(BigDecimal value) { this.voucherAmount = value; return this; }
public String getCurrencyCode() { return currencyCode; }
public Voucher setCurrencyCode(String value) { this.currencyCode = value; return this; }
public String getIssueType() { return issueType; }
public Voucher setIssueType(String value) { this.issueType = value; return this; }
public Date getDateConsumed() { return dateConsumed; }
public Voucher setDateConsumed(Date value) { this.dateConsumed = value; return this; }
public Date getExpirationDate() { return expirationDate; }
public Voucher setExpirationDate(Date value) { this.expirationDate = value; return this; }
public Integer getAwardPoints() { return awardPoints; }
public Voucher setAwardPoints(Integer value) { this.awardPoints = value; return this; }
public String getRuleType() { return ruleType; }
public Voucher setRuleType(String value) { this.ruleType = value; return this; }
public String getRuleValue() { return ruleValue; }
public Voucher setRuleValue(String value) { this.ruleValue = value; return this; }
public Boolean isCancelAllowed() { return cancelAllowed; }
public Voucher setCancelAllowed(Boolean value) { this.cancelAllowed = value; return this; }
public Integer getMaxExtensions() { return maxExtensions; }
public Voucher setMaxExtensions(Integer value) { this.maxExtensions = value; return this; }
public String getReferenceType() { return referenceType; }
public Voucher setReferenceType(String value) { this.referenceType = value; return this; }
public String getReferenceID() { return referenceID; }
public Voucher setReferenceID(String value) { this.referenceID = value; return this; }
public String getPromotionCode() { return promotionCode; }
public Voucher setPromotionCode(String value) { this.promotionCode = value; return this; }
public Boolean isReservationConsumed() { return reservationConsumed; }
public Voucher setReservationConsumed(Boolean value) { this.reservationConsumed = value; return this; }
public Boolean isWebConsumed() { return webConsumed; }
public Voucher setWebConsumed(Boolean value) { this.webConsumed = value; return this; }
public Boolean isPmsConsumed() { return pmsConsumed; }
public Voucher setPmsConsumed(Boolean value) { this.pmsConsumed = value; return this; }
public Boolean isVerifyCertNo() { return verifyCertNo; }
public Voucher setVerifyCertNo(Boolean value) { this.verifyCertNo = value; return this; }
public Boolean isGenerateInLieu() { return generateInLieu; }
public Voucher setGenerateInLieu(Boolean value) { this.generateInLieu = value; return this; }
public String getCreatorCode() { return creatorCode; }
public Voucher setCreatorCode(String value) { this.creatorCode = value; return this; }
public String getLastUpdaterCode() { return lastUpdaterCode; }
public Voucher setLastUpdaterCode(String value) { this.lastUpdaterCode = value; return this; }
public String getFolioID() { return folioID; }
public Voucher setFolioID(String value) { this.folioID = value; return this; }
public Date getInactiveDate() { return inactiveDate; }
public Voucher setInactiveDate(Date value) { this.inactiveDate = value; return this; }
}
public static class ProfilePolicy
{
public String policyType = null;
public String attributeName = null;
public Integer integerValue = null;
public String stringValue = null;
public Date effectiveDate = null;
public Date expirationDate = null;
public String comments = null;
public String externalID = null;
public String appliesTo = null;
public String appliesToDescriptor = null;
public String getPolicyType() { return policyType; }
public ProfilePolicy setPolicyType(String value) { this.policyType = value; return this; }
public String getAttributeName() { return attributeName; }
public ProfilePolicy setAttributeName(String value) { this.attributeName = value; return this; }
public Integer getIntegerValue() { return integerValue; }
public ProfilePolicy setIntegerValue(Integer value) { this.integerValue = value; return this; }
public String getStringValue() { return stringValue; }
public ProfilePolicy setStringValue(String value) { this.stringValue = value; return this; }
public Date getEffectiveDate() { return effectiveDate; }
public ProfilePolicy setEffectiveDate(Date value) { this.effectiveDate = value; return this; }
public Date getExpirationDate() { return expirationDate; }
public ProfilePolicy setExpirationDate(Date value) { this.expirationDate = value; return this; }
public String getComments() { return comments; }
public ProfilePolicy setComments(String value) { this.comments = value; return this; }
public String getExternalID() { return externalID; }
public ProfilePolicy setExternalID(String value) { this.externalID = value; return this; }
public String getAppliesTo() { return appliesTo; }
public ProfilePolicy setAppliesTo(String value) { this.appliesTo = value; return this; }
public String getAppliesToDescriptor() { return appliesToDescriptor; }
public ProfilePolicy setAppliesToDescriptor(String value) { this.appliesToDescriptor = value; return this; }
}
}
Java HotelInventoryBlockRequest 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.
GET /v2/hotelInventoryBlocks/{Query}/{CendynPropertyId} HTTP/1.1
Host: cert.cendyn.com
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"records":[{"cendynPropertyID":"String","hotelCode":"String","actionCode":"String","blockName":"String","blockCodeType":"String","blockType":"String","inventoryBlockStatus":"String","groupingCode":"String","blockCodes":"String","description":"String","resortAllotmentId":"String","blockStartDate":"0001-01-01T00:00:00.0000000","blockEndDate":"0001-01-01T00:00:00.0000000","marketCode":"String","sourceCode":"String","channelCode":"String","cutOffStartDate":"0001-01-01T00:00:00.0000000","cutOffEndDate":"0001-01-01T00:00:00.0000000","priceViewable":false,"averageRate":0,"pickupComplete":false,"comments":"String","lostReason":"String","externalID":"String","sourceName":"String","sourceID":"String","sourceDateCreated":"0001-01-01T00:00:00.0000000","sourceCreateUser":"String","sourceDateUpdated":"0001-01-01T00:00:00.0000000","sourceUpdateUser":"String","isActive":false,"inactiveDate":"0001-01-01T00:00:00.0000000","recordStatus":"String","inventoryBlockEvents":[{"cendynPropertyID":"String","hotelCode":"String","inventoryCode":"String","eventStartDate":"0001-01-01T00:00:00.0000000","eventEndDate":"0001-01-01T00:00:00.0000000","eventName":"String","eventClassification":"String","eventBookedDate":"0001-01-01T00:00:00.0000000","eventStatus":"String","roomSetupCode":"String","roomSetupDescription":"String","roomSetupCapacity":0,"expectedAttendance":0,"expectedRevenue":0,"foodRevenue":0,"beverageRevenue":0,"roomRevenue":0,"resourceRevenue":0,"otherRevenue":0,"comments":"String","externalID":"String","sourceDateCreated":"0001-01-01T00:00:00.0000000","sourceCreateUser":"String","sourceDateUpdated":"0001-01-01T00:00:00.0000000","sourceUpdateUser":"String","isActive":false,"inactiveDate":"0001-01-01T00:00:00.0000000","recordStatus":"String"}],"inventoryBlockRates":[{"cendynPropertyID":"String","hotelCode":"String","inventoryCode":"String","blockCount":0,"inventoryDay":"0001-01-01T00:00:00.0000000","rate1":0,"rate2":0,"rate3":0,"rate4":0,"extraAdult":0,"extraChild":0,"blocksSold":0,"roomsContracted":0,"roomsReserved":0,"isActive":false,"inactiveDate":"0001-01-01T00:00:00.0000000","roomBlockID":"String","roomBlockName":"String","roomBlockStatus":"String","recordStatus":"String"}],"profiles":[{"cendynPropertyID":"String","propertyName":"String","uniqueIDs":[{"id":"String","type":"String","context":"String"}],"profileTypeCode":"String","profileTypeDescription":"String","nameCode":"String","profileTypeCategory":"String","jobTitle":"String","salutation":"String","firstName":"String","familiarName":"String","middleName":"String","lastName":"String","fullName":"String","nameSuffix":"String","vipid":"String","vipCode":"String","primaryLanguage":"String","genderCode":"String","dobYear":"String","dobMonth":"String","dobDayOfMonth":"String","companyName":"String","arNumber":"String","allowMail":false,"allowEMail":false,"guestPriv":false,"allowPhone":false,"allowSMS":false,"allowHistory":false,"allowMarketResearch":false,"allowThirdParty":false,"allowLoyaltyProgram":false,"creatorCode":"String","lastUpdaterCode":"String","dateProfileCreated":"0001-01-01T00:00:00.0000000","dateProfileUpdated":"0001-01-01T00:00:00.0000000","inactiveDate":"0001-01-01T00:00:00.0000000","nationality":"String","resortCode":"String","retiredProfileId":"String","transferredSubscriptionId":"String","sourceName":"String","sourceID":"String","optOutMarketing":false,"optOutDate":"0001-01-01T00:00:00.0000000","profileExtension":{"languageCode":"String","salutationExt":"String","firstNameExt":"String","familiarNameExt":"String","middleNameExt":"String","lastNameExt":"String","nameSuffixExt":"String","companyNameExt":"String","blacklist":"String","blackListMessage":"String","anonymizationStatus":"String"},"addresses":[{"addressTypeCode":"String","addressTypeDescription":"String","addressStatus":"String","attn":"String","address1":"String","address2":"String","city":"String","stateProvince":"String","postalCode":"String","countryCode":"String","isPrimary":false,"addressLanguage":"String","addressCleansed":false,"optOutMarketing":false,"optOutDate":"0001-01-01T00:00:00.0000000"}],"memberships":[{"externalID":"String","programCode":"String","membershipID":"String","membershipCategory":"String","membershipName":"String","membershipLevel":"String","membershipStatus":"String","enrollmentCode":"String","dateMembershipStarts":"0001-01-01T00:00:00.0000000","dateMembershipExpires":"0001-01-01T00:00:00.0000000","totalStays":0,"awardCredits":0,"awardAvailable":0,"primaryAirline":false,"displaySequence":0,"sourceName":"String","sourceID":"String","isActive":false,"inactiveDate":"0001-01-01T00:00:00.0000000","pointsIndicator":false}],"contactMethods":[{"type":"String","category":"String","dataValue":"String","extraData":"String","optOut":false,"sourceDate":"0001-01-01T00:00:00.0000000","isPrimary":false,"confirmation":false,"inactiveDate":"0001-01-01T00:00:00.0000000","optOutMarketing":false,"optOutDate":"0001-01-01T00:00:00.0000000"}],"actionComments":[{"externalID":"String","commentType":"String","commentTitle":"String","commentClass":"String","actionType":"String","comment":"String","actionDate":"0001-01-01T00:00:00.0000000","inactiveDate":"0001-01-01T00:00:00.0000000","guestViewable":false,"creatorCode":"String","dateCommentCreated":"0001-01-01T00:00:00.0000000","resortCode":"String"}],"specialRequests":[{"externalID":"String","requestType":"String","requestCode":"String","requestComments":"String","resortField":"String","actionTypeCode":"String","actionType":"String","inactiveDate":"0001-01-01T00:00:00.0000000"}],"udfDataCollection":[{"cendynPropertyID":"String","moduleName":"String","tableName":"String","columnName":"String","udfValue":"String"}],"lead":{"fK_Reservation":"00000000000000000000000000000000","externalLeadID":"String","externalLeadSource":"String","leadStatus":"String","leadAcquired":"0001-01-01T00:00:00.0000000","tentativeStartDate":"0001-01-01T00:00:00.0000000","tentativeEndDate":"0001-01-01T00:00:00.0000000","assignedAgent":"String","assignedDate":"0001-01-01T00:00:00.0000000","contactMethod":"String","contactAgent":"String","contactDate":"0001-01-01T00:00:00.0000000","lastFollowupMethod":"String","lastFollowupAgent":"String","lastFollowupDate":"0001-01-01T00:00:00.0000000","bookingMethod":"String","bookingAgent":"String","bookingDate":"0001-01-01T00:00:00.0000000","reasonforStay":"String","marketCode":"String","campaignCode":"String","campaignName":"String","priceEstimate":0,"flaggedForAttention":false},"relatedTravelers":[{"cendynPropertyID":"String","propertyName":"String","uniqueIDs":[{"id":"String","type":"String","context":"String"}],"salutation":"String","firstName":"String","familiarName":"String","middleName":"String","lastName":"String","fullName":"String","suffix":"String","relation":"String","isPrimary":false}],"documents":[{"documentID":"String","documentType":"String","documentSource":"String","codeOnDocument":"String","documentNotes":"String","nameOnDocument":"String","nationalityOnDocument":"String","effectiveDate":"0001-01-01T00:00:00.0000000","expirationDate":"0001-01-01T00:00:00.0000000","issuer":"String","issuerCountry":"String","isPrimary":false,"piI_StoredAs":"String","inactiveDate":"0001-01-01T00:00:00.0000000"}],"vouchers":[{"hotelCode":"String","voucherID":"String","voucherID2":"String","appliedToResort":"String","reservationID":"String","profileIDRecipient":"String","subscriberIDRecipient":"String","recipientName":"String","emailaddress":"String","profileIDPurchaser":"String","purchaserName":"String","voucherStatus":"String","voucherType":"String","membershipType":"String","certCode":"String","certNo":"String","shortDescription":"String","giftMessage":"String","comments":"String","voucherAmount":0,"currencyCode":"String","issueType":"String","dateConsumed":"0001-01-01T00:00:00.0000000","expirationDate":"0001-01-01T00:00:00.0000000","awardPoints":0,"ruleType":"String","ruleValue":"String","cancelAllowed":false,"maxExtensions":0,"referenceType":"String","referenceID":"String","promotionCode":"String","reservationConsumed":false,"webConsumed":false,"pmsConsumed":false,"verifyCertNo":false,"generateInLieu":false,"creatorCode":"String","lastUpdaterCode":"String","folioID":"String","inactiveDate":"0001-01-01T00:00:00.0000000"}],"profilePolicies":[{"policyType":"String","attributeName":"String","integerValue":0,"stringValue":"String","effectiveDate":"0001-01-01T00:00:00.0000000","expirationDate":"0001-01-01T00:00:00.0000000","comments":"String","externalID":"String","appliesTo":"String","appliesToDescriptor":"String"}]}]}],"status":"Success","statusMessage":"String","recordsReturned":0,"recordsAvailable":0,"pageNumber":0,"pageSize":0}