com.xtravelsystem.online.published.V1_0RC1.hotel.answers
Class CancellationPrice

java.lang.Object
  extended by com.xtravelsystem.online.published.V1_0RC1.hotel.answers.CancellationPrice

public class CancellationPrice
extends java.lang.Object

cancellation term at establishment contract

Author:
Miguel Pérez

Constructor Summary
CancellationPrice()
           
CancellationPrice(int release, java.lang.String applyTo, double percentage, com.jumbotours.disponibility.Amount amount)
           
 
Method Summary
 com.jumbotours.disponibility.Amount getAmount()
           
 java.lang.String getApplyTo()
           
 double getPercentage()
           
 int getRelease()
           
 void setAmount(com.jumbotours.disponibility.Amount amount)
           
 void setApplyTo(java.lang.String i)
           
 void setPercentage(double i)
           
 void setRelease(int release)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancellationPrice

public CancellationPrice()

CancellationPrice

public CancellationPrice(int release,
                         java.lang.String applyTo,
                         double percentage,
                         com.jumbotours.disponibility.Amount amount)
Method Detail

getPercentage

public double getPercentage()
Returns:

setPercentage

public void setPercentage(double i)
Parameters:
i -

getApplyTo

public java.lang.String getApplyTo()
Returns:

setApplyTo

public void setApplyTo(java.lang.String i)
Parameters:
i -

getRelease

public int getRelease()
Returns:
Returns the release.

setRelease

public void setRelease(int release)
Parameters:
release - The release to set.

setAmount

public void setAmount(com.jumbotours.disponibility.Amount amount)

getAmount

public com.jumbotours.disponibility.Amount getAmount()