com.xtravelsystem.online.published.V1_0RC1.rentACar.requests
Class ConfirmRQ

java.lang.Object
  extended by com.xtravelsystem.online.published.V1_0RC1.common.AbstractRQ
      extended by com.xtravelsystem.online.published.V1_0RC1.rentACar.requests.ConfirmRQ

public class ConfirmRQ
extends AbstractRQ

holder for the confirm method request

Author:
Miguel Pérez

Constructor Summary
ConfirmRQ()
           
 
Method Summary
 java.lang.String getAgencyReference()
          your reference.
 java.lang.String getBasketId()
          shopping basket id.
 java.lang.String getCarCategory()
          which kind of car you want
 CheckInOut getCheckin()
          when you will return the car
 CheckInOut getCheckout()
          when you will get the car
 Comment[] getComments()
          your comments
 Driver getDriver()
          driver data
 java.lang.String getFlightNumber()
          if car is collected at an airport, please fill this field with the flight number
 java.lang.String getLanguage()
          iso language code
 DesiredSupplement[] getOptionalSupplements()
          desired optional supplements
 java.lang.String getSendDocumentationToThisEmail()
          set this value if you want to receive booking documentation by email
 java.lang.String getServiceVersion()
           
 java.lang.String getUserId()
          user id.
 boolean isCloseBasket()
          set this to true if you don't want more bookings in this basket
 void setAgencyReference(java.lang.String agencyReference)
          your reference.
 void setBasketId(java.lang.String basketId)
          shopping basket id.
 void setCarCategory(java.lang.String carCategory)
          which kind of car you want
 void setCheckin(CheckInOut checkin)
          when you will return the car
 void setCheckout(CheckInOut checkout)
          when you will get the car
 void setCloseBasket(boolean closeBasket)
          set this to true if you don't want more bookings in this basket
 void setComments(Comment[] comments)
          your comments
 void setDriver(Driver driver)
          driver data
 void setFlightNumber(java.lang.String flightNumber)
          if car is collected at an airport, please fill this field with the flight number
 void setLanguage(java.lang.String language)
          iso language code
 void setOptionalSupplements(DesiredSupplement[] optionalSupplements)
          desired optional supplements
 void setSendDocumentationToThisEmail(java.lang.String sendDocumentationToThisEmail)
          set this value if you want to receive booking documentation by email
 void setServiceVersion(java.lang.String serviceVersion)
           
 void setUserId(java.lang.String userId)
          user id.
 
Methods inherited from class com.xtravelsystem.online.published.V1_0RC1.common.AbstractRQ
getAgencyCode, getBrandCode, getPointOfSaleId, setAgencyCode, setBrandCode, setPointOfSaleId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfirmRQ

public ConfirmRQ()
Method Detail

getServiceVersion

public java.lang.String getServiceVersion()

setServiceVersion

public void setServiceVersion(java.lang.String serviceVersion)

getBasketId

public java.lang.String getBasketId()
shopping basket id. Leave null if this is the first booking of the shopping basket


setBasketId

public void setBasketId(java.lang.String basketId)
shopping basket id. Leave null if this is the first booking of the shopping basket


getCarCategory

public java.lang.String getCarCategory()
which kind of car you want


setCarCategory

public void setCarCategory(java.lang.String carCategory)
which kind of car you want


getCheckin

public CheckInOut getCheckin()
when you will return the car


setCheckin

public void setCheckin(CheckInOut checkin)
when you will return the car


getCheckout

public CheckInOut getCheckout()
when you will get the car


setCheckout

public void setCheckout(CheckInOut checkout)
when you will get the car


getComments

public Comment[] getComments()
your comments


setComments

public void setComments(Comment[] comments)
your comments


getDriver

public Driver getDriver()
driver data


setDriver

public void setDriver(Driver driver)
driver data


getLanguage

public java.lang.String getLanguage()
iso language code


setLanguage

public void setLanguage(java.lang.String language)
iso language code


getOptionalSupplements

public DesiredSupplement[] getOptionalSupplements()
desired optional supplements


setOptionalSupplements

public void setOptionalSupplements(DesiredSupplement[] optionalSupplements)
desired optional supplements


getUserId

public java.lang.String getUserId()
user id. Feel free to use this field for your own purposes


setUserId

public void setUserId(java.lang.String userId)
user id. Feel free to use this field for your own purposes


getAgencyReference

public java.lang.String getAgencyReference()
your reference. This value will overwrite the shopping basket field

Since:
version 1.0 release candidate 1

setAgencyReference

public void setAgencyReference(java.lang.String agencyReference)
your reference. This value will overwrite the shopping basket field

Since:
version 1.0 release candidate 1

isCloseBasket

public boolean isCloseBasket()
set this to true if you don't want more bookings in this basket


setCloseBasket

public void setCloseBasket(boolean closeBasket)
set this to true if you don't want more bookings in this basket


getSendDocumentationToThisEmail

public java.lang.String getSendDocumentationToThisEmail()
set this value if you want to receive booking documentation by email


setSendDocumentationToThisEmail

public void setSendDocumentationToThisEmail(java.lang.String sendDocumentationToThisEmail)
set this value if you want to receive booking documentation by email


getFlightNumber

public java.lang.String getFlightNumber()
if car is collected at an airport, please fill this field with the flight number


setFlightNumber

public void setFlightNumber(java.lang.String flightNumber)
if car is collected at an airport, please fill this field with the flight number