com.xtravelsystem.online.published.V1_0RC1.excursion.answers
Class GetReservationRS

java.lang.Object
  extended by com.xtravelsystem.online.published.V1_0RC1.common.AbstractGetReservationRS
      extended by com.xtravelsystem.online.published.V1_0RC1.excursion.answers.GetReservationRS
Direct Known Subclasses:
CancelRS, ConfirmRS, DateModificationRS, ExcursionBooking, PaxesModificationRS

public class GetReservationRS
extends AbstractGetReservationRS

holder for the getreservation method response. please note it extends the AbstractGetReservationRS class

Author:
Miguel Pérez

Field Summary
 
Fields inherited from class com.xtravelsystem.online.published.V1_0RC1.common.AbstractGetReservationRS
SERVICE_STATUS_CONFIRMED, SERVICE_STATUS_OK, SERVICE_VISIBLE_STATUS_CANCEL, SERVICE_VISIBLE_STATUS_CLOSED, SERVICE_VISIBLE_STATUS_OPEN, SERVICE_VISIBLE_STATUS_PSEUD_CANCEL
 
Constructor Summary
GetReservationRS()
           
GetReservationRS(Basket basket, java.lang.String serviceId, java.util.Date requestDate, java.util.Date okDate, java.lang.String status, java.lang.String contractId, ValuationLine[] valuationLines, com.jumbotours.disponibility.Amount total, CancellationTerm[] cancellationTerms, Comment[] comments, java.lang.String excursionId, int adults, int children, int[] childrenAges)
           
 
Method Summary
 int getAdults()
           
 int getChildren()
           
 int[] getChildrenAges()
           
 java.lang.String getExcursionId()
           
 void setAdults(int adults)
           
 void setChildren(int children)
           
 void setChildrenAges(int[] childrenAges)
           
 void setExcursionId(java.lang.String excursionId)
           
 
Methods inherited from class com.xtravelsystem.online.published.V1_0RC1.common.AbstractGetReservationRS
addComments, convertComment, getBasket, getCancellationDate, getCancellationTerms, getComments, getCommision, getContractId, getDescription, getHandlingFees, getInitialDate, getOkDate, getPointOfSaleId, getPositionInBasket, getRequestDate, getServiceId, getStatus, getTotal, getUserId, getValuationLines, getVoucherUrl, setBasket, setCancellationDate, setCancellationTerms, setComments, setComments, setCommision, setContractId, setDescription, setHandlingFees, setOkDate, setPointOfSaleId, setPositionInBasket, setRequestDate, setServiceId, setStatus, setTotal, setUserId, setValuationLines, setVoucherUrl, setWorkflowProcessed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetReservationRS

public GetReservationRS()

GetReservationRS

public GetReservationRS(Basket basket,
                        java.lang.String serviceId,
                        java.util.Date requestDate,
                        java.util.Date okDate,
                        java.lang.String status,
                        java.lang.String contractId,
                        ValuationLine[] valuationLines,
                        com.jumbotours.disponibility.Amount total,
                        CancellationTerm[] cancellationTerms,
                        Comment[] comments,
                        java.lang.String excursionId,
                        int adults,
                        int children,
                        int[] childrenAges)
Method Detail

getAdults

public int getAdults()

setAdults

public void setAdults(int adults)

getChildren

public int getChildren()

setChildren

public void setChildren(int children)

getChildrenAges

public int[] getChildrenAges()

setChildrenAges

public void setChildrenAges(int[] childrenAges)

getExcursionId

public java.lang.String getExcursionId()

setExcursionId

public void setExcursionId(java.lang.String excursionId)