com.xtravelsystem.online.published.V1_0RC1.common
Class AbstractGetReservationRS
java.lang.Object
com.xtravelsystem.online.published.V1_0RC1.common.AbstractGetReservationRS
- Direct Known Subclasses:
- GetReservationRS, GetReservationRS, GetReservationRS, GetReservationRSBase, GetTransferReservationRS
public class AbstractGetReservationRS
- extends java.lang.Object
this class is the mother of all the getreservation methods responses. Here you will find
all the fields shared by all the getreservation method responses
- Author:
- Miguel Pérez
Constructor Summary |
AbstractGetReservationRS()
|
AbstractGetReservationRS(Basket basket,
java.lang.String serviceId,
java.lang.String userId,
java.util.Date requestDate,
java.util.Date okDate,
java.util.Date cancellationDate,
java.lang.String status,
ValuationLine[] valuationLines,
com.jumbotours.disponibility.Amount total,
CancellationTerm[] cancellationTerms,
Comment[] comments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_STATUS_OK
public static final java.lang.String SERVICE_STATUS_OK
- See Also:
- Constant Field Values
SERVICE_STATUS_CONFIRMED
public static final java.lang.String SERVICE_STATUS_CONFIRMED
- See Also:
- Constant Field Values
SERVICE_VISIBLE_STATUS_CLOSED
public static final java.lang.String SERVICE_VISIBLE_STATUS_CLOSED
- See Also:
- Constant Field Values
SERVICE_VISIBLE_STATUS_OPEN
public static final java.lang.String SERVICE_VISIBLE_STATUS_OPEN
- See Also:
- Constant Field Values
SERVICE_VISIBLE_STATUS_CANCEL
public static final java.lang.String SERVICE_VISIBLE_STATUS_CANCEL
- See Also:
- Constant Field Values
SERVICE_VISIBLE_STATUS_PSEUD_CANCEL
public static final java.lang.String SERVICE_VISIBLE_STATUS_PSEUD_CANCEL
- See Also:
- Constant Field Values
AbstractGetReservationRS
public AbstractGetReservationRS()
AbstractGetReservationRS
public AbstractGetReservationRS(Basket basket,
java.lang.String serviceId,
java.lang.String userId,
java.util.Date requestDate,
java.util.Date okDate,
java.util.Date cancellationDate,
java.lang.String status,
ValuationLine[] valuationLines,
com.jumbotours.disponibility.Amount total,
CancellationTerm[] cancellationTerms,
Comment[] comments)
setWorkflowProcessed
public void setWorkflowProcessed(boolean workflowProcessed)
getBasket
public Basket getBasket()
setBasket
public void setBasket(Basket basket)
getServiceId
public java.lang.String getServiceId()
setServiceId
public void setServiceId(java.lang.String serviceId)
getCancellationDate
public java.util.Date getCancellationDate()
setCancellationDate
public void setCancellationDate(java.util.Date cancellationDate)
getCancellationTerms
public CancellationTerm[] getCancellationTerms()
setCancellationTerms
public void setCancellationTerms(CancellationTerm[] cancellationTerms)
getComments
public Comment[] getComments()
setComments
public void setComments(Comment[] comments)
getVoucherUrl
public java.lang.String getVoucherUrl()
setVoucherUrl
public void setVoucherUrl(java.lang.String voucherUrl)
getOkDate
public java.util.Date getOkDate()
setOkDate
public void setOkDate(java.util.Date okDate)
getRequestDate
public java.util.Date getRequestDate()
setRequestDate
public void setRequestDate(java.util.Date requestDate)
getStatus
public java.lang.String getStatus()
setStatus
public void setStatus(java.lang.String status)
getTotal
public com.jumbotours.disponibility.Amount getTotal()
setTotal
public void setTotal(com.jumbotours.disponibility.Amount total)
getUserId
public java.lang.String getUserId()
setUserId
public void setUserId(java.lang.String userId)
getValuationLines
public ValuationLine[] getValuationLines()
setValuationLines
public void setValuationLines(ValuationLine[] valuationLines)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getContractId
public java.lang.String getContractId()
setContractId
public void setContractId(java.lang.String contractId)
getPointOfSaleId
public java.lang.String getPointOfSaleId()
setPointOfSaleId
public void setPointOfSaleId(java.lang.String pointOfSaleId)
getCommision
public Commision getCommision()
setCommision
public void setCommision(Commision commision)
getHandlingFees
public HandlingFee[] getHandlingFees()
setHandlingFees
public void setHandlingFees(HandlingFee[] handlingFees)
getPositionInBasket
public int getPositionInBasket()
setPositionInBasket
public void setPositionInBasket(int positionInBasket)
getInitialDate
public java.util.Date getInitialDate()
setComments
protected void setComments(AbstractServiceBooking pBooking)
convertComment
public Comment convertComment(com.jumbotours.model.common.Comment pComment)
addComments
public void addComments(java.util.Collection<Comment> comments)