|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.shared.CancelRule
public class CancelRule
Provides the cancellation amount due according to the time before the booking date that the cancellation occurs. The amount may be either an amount or a percentage (e.g. 50% within 30 days or $100 outside 30 days). Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CancelRuleType">
<xs:sequence>
<xs:element type="ns:PaymentCardType" name="PaymentCard" minOccurs="0"/>
</xs:sequence>
<xs:attribute type="xs:string" name="CancelByDate"/>
<xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
<xs:attribute type="xs:float" use="optional" name="Percent"/>
<xs:attribute use="optional" name="Type">
<xs:simpleType>
<!-- Reference to inner class Type -->
</xs:simpleType>
</xs:attribute>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
CancelRule.Type
Schema fragment(s) for this class: |
| Constructor Summary | |
|---|---|
CancelRule()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCancelByDate()
Get the 'CancelByDate' attribute value. |
CurrencyAmountGroup |
getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. |
PaymentCard |
getPaymentCard()
Get the 'PaymentCard' element value. |
java.lang.Float |
getPercent()
Get the 'Percent' attribute value. |
CancelRule.Type |
getType()
Get the 'Type' attribute value. |
void |
setCancelByDate(java.lang.String cancelByDate)
Set the 'CancelByDate' attribute value. |
void |
setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. |
void |
setPaymentCard(PaymentCard paymentCard)
Set the 'PaymentCard' element value. |
void |
setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. |
void |
setType(CancelRule.Type type)
Set the 'Type' attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CancelRule()
| Method Detail |
|---|
public PaymentCard getPaymentCard()
public void setPaymentCard(PaymentCard paymentCard)
paymentCard - public java.lang.String getCancelByDate()
public void setCancelByDate(java.lang.String cancelByDate)
cancelByDate - public CurrencyAmountGroup getCurrencyAmountGroup()
public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
currencyAmountGroup - public java.lang.Float getPercent()
public void setPercent(java.lang.Float percent)
percent - public CancelRule.Type getType()
public void setType(CancelRule.Type type)
type -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||