|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.Fare
public class Fare
Holds a base fare, tax, total and currency information on a price 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="FareType"> <xs:sequence> <xs:element name="BaseFare" minOccurs="0"> <!-- Reference to inner class BaseFare --> </xs:element> <xs:element name="EquivFare" minOccurs="0" maxOccurs="9"> <!-- Reference to inner class EquivFare --> </xs:element> <xs:element name="Taxes" minOccurs="0"> <!-- Reference to inner class Taxes --> </xs:element> <xs:element name="Fees" minOccurs="0"> <!-- Reference to inner class Fees --> </xs:element> <xs:element name="TotalFare" minOccurs="0"> <!-- Reference to inner class TotalFare --> </xs:element> <xs:element name="FareConstruction" minOccurs="0"> <!-- Reference to inner class FareConstruction --> </xs:element> <xs:element name="UnstructuredFareCalc" minOccurs="0"> <!-- Reference to inner class UnstructuredFareCalc --> </xs:element> <xs:element name="FareBaggageAllowance" minOccurs="0" maxOccurs="99"> <!-- Reference to inner class FareBaggageAllowance --> </xs:element> <xs:element name="TourCode" minOccurs="0"> <!-- Reference to inner class TourCode --> </xs:element> <xs:element type="xs:string" name="Remark" minOccurs="0" maxOccurs="10"/> <xs:element name="OriginalIssueInfo" minOccurs="0"> <!-- Reference to inner class OriginalIssueInfo --> </xs:element> <xs:element name="ExchangeInfo" minOccurs="0"> <!-- Reference to inner class ExchangeInfo --> </xs:element> <xs:element name="Discounts" minOccurs="0"> <!-- Reference to inner class Discounts --> </xs:element> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:NegotiatedFareAttributes"/> <xs:attribute type="xs:string" use="optional" name="TicketDesignatorCode"/> <xs:attribute type="xs:int" use="optional" name="TotalNbrTrips"/> <xs:attribute type="xs:int" use="optional" name="TotalNbrPTC"/> </xs:complexType> <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
Nested Class Summary | |
---|---|
static class |
Fare.BaseFare
Price of the inventory excluding taxes and fees. |
static class |
Fare.Discounts
Collection for discounts. |
static class |
Fare.EquivFare
Price of the inventory excluding taxes and fees in the payable currency. |
static class |
Fare.ExchangeInfo
Exchange ticket/document information. |
static class |
Fare.FareBaggageAllowance
Checked baggage allowance for the fare. |
static class |
Fare.FareConstruction
Should not contain unstructured FareCalc data. |
static class |
Fare.Fees
This is a collection of Fees Schema fragment(s) for this class: |
static class |
Fare.OriginalIssueInfo
The original ticket/document issue information. |
static class |
Fare.Taxes
This is a collection of Taxes Schema fragment(s) for this class: |
static class |
Fare.TotalFare
The total price that the passenger would pay (includes fare, taxes, fees) Schema fragment(s) for this class: |
static class |
Fare.TourCode
The tour code associated with the fare. |
static class |
Fare.UnstructuredFareCalc
Contains the fare calc information for the stored fare for the passenger. |
Constructor Summary | |
---|---|
Fare()
|
Method Summary | |
---|---|
void |
addEquivFare(Fare.EquivFare item)
Add a 'EquivFare' element item. |
void |
addFareBaggageAllowance(Fare.FareBaggageAllowance item)
Add a 'FareBaggageAllowance' element item. |
void |
addRemark(java.lang.String item)
Add a 'Remark' element item. |
void |
clearEquivFares()
Remove all 'EquivFare' element items. |
void |
clearFareBaggageAllowances()
Remove all 'FareBaggageAllowance' element items. |
void |
clearRemarks()
Remove all 'Remark' element items. |
Fare.BaseFare |
getBaseFare()
Get the 'BaseFare' element value. |
Fare.Discounts |
getDiscounts()
Get the 'Discounts' element value. |
Fare.EquivFare |
getEquivFare(int index)
Get 'EquivFare' element item by position. |
java.util.List<Fare.EquivFare> |
getEquivFares()
Get the list of 'EquivFare' element items. |
Fare.ExchangeInfo |
getExchangeInfo()
Get the 'ExchangeInfo' element value. |
Fare.FareBaggageAllowance |
getFareBaggageAllowance(int index)
Get 'FareBaggageAllowance' element item by position. |
java.util.List<Fare.FareBaggageAllowance> |
getFareBaggageAllowances()
Get the list of 'FareBaggageAllowance' element items. |
Fare.FareConstruction |
getFareConstruction()
Get the 'FareConstruction' element value. |
Fare.Fees |
getFees()
Get the 'Fees' element value. |
NegotiatedFareAttributes |
getNegotiatedFareAttributes()
Get the 'NegotiatedFareAttributes' attributeGroup value. |
Fare.OriginalIssueInfo |
getOriginalIssueInfo()
Get the 'OriginalIssueInfo' element value. |
java.lang.String |
getRemark(int index)
Get 'Remark' element item by position. |
java.util.List<java.lang.String> |
getRemarks()
Get the list of 'Remark' element items. |
Fare.Taxes |
getTaxes()
Get the 'Taxes' element value. |
java.lang.String |
getTicketDesignatorCode()
Get the 'TicketDesignatorCode' attribute value. |
Fare.TotalFare |
getTotalFare()
Get the 'TotalFare' element value. |
java.lang.Integer |
getTotalNbrPTC()
Get the 'TotalNbrPTC' attribute value. |
java.lang.Integer |
getTotalNbrTrips()
Get the 'TotalNbrTrips' attribute value. |
Fare.TourCode |
getTourCode()
Get the 'TourCode' element value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
Fare.UnstructuredFareCalc |
getUnstructuredFareCalc()
Get the 'UnstructuredFareCalc' element value. |
void |
setBaseFare(Fare.BaseFare baseFare)
Set the 'BaseFare' element value. |
void |
setDiscounts(Fare.Discounts discounts)
Set the 'Discounts' element value. |
void |
setEquivFares(java.util.List<Fare.EquivFare> list)
Set the list of 'EquivFare' element items. |
void |
setExchangeInfo(Fare.ExchangeInfo exchangeInfo)
Set the 'ExchangeInfo' element value. |
void |
setFareBaggageAllowances(java.util.List<Fare.FareBaggageAllowance> list)
Set the list of 'FareBaggageAllowance' element items. |
void |
setFareConstruction(Fare.FareConstruction fareConstruction)
Set the 'FareConstruction' element value. |
void |
setFees(Fare.Fees fees)
Set the 'Fees' element value. |
void |
setNegotiatedFareAttributes(NegotiatedFareAttributes negotiatedFareAttributes)
Set the 'NegotiatedFareAttributes' attributeGroup value. |
void |
setOriginalIssueInfo(Fare.OriginalIssueInfo originalIssueInfo)
Set the 'OriginalIssueInfo' element value. |
void |
setRemarks(java.util.List<java.lang.String> list)
Set the list of 'Remark' element items. |
void |
setTaxes(Fare.Taxes taxes)
Set the 'Taxes' element value. |
void |
setTicketDesignatorCode(java.lang.String ticketDesignatorCode)
Set the 'TicketDesignatorCode' attribute value. |
void |
setTotalFare(Fare.TotalFare totalFare)
Set the 'TotalFare' element value. |
void |
setTotalNbrPTC(java.lang.Integer totalNbrPTC)
Set the 'TotalNbrPTC' attribute value. |
void |
setTotalNbrTrips(java.lang.Integer totalNbrTrips)
Set the 'TotalNbrTrips' attribute value. |
void |
setTourCode(Fare.TourCode tourCode)
Set the 'TourCode' element value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setUnstructuredFareCalc(Fare.UnstructuredFareCalc unstructuredFareCalc)
Set the 'UnstructuredFareCalc' element value. |
int |
sizeEquivFares()
Get the number of 'EquivFare' element items. |
int |
sizeFareBaggageAllowances()
Get the number of 'FareBaggageAllowance' element items. |
int |
sizeRemarks()
Get the number of 'Remark' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fare()
Method Detail |
---|
public Fare.BaseFare getBaseFare()
public void setBaseFare(Fare.BaseFare baseFare)
baseFare
- public java.util.List<Fare.EquivFare> getEquivFares()
public void setEquivFares(java.util.List<Fare.EquivFare> list)
list
- public int sizeEquivFares()
public void addEquivFare(Fare.EquivFare item)
item
- public Fare.EquivFare getEquivFare(int index)
index
-
public void clearEquivFares()
public Fare.Taxes getTaxes()
public void setTaxes(Fare.Taxes taxes)
taxes
- public Fare.Fees getFees()
public void setFees(Fare.Fees fees)
fees
- public Fare.TotalFare getTotalFare()
public void setTotalFare(Fare.TotalFare totalFare)
totalFare
- public Fare.FareConstruction getFareConstruction()
public void setFareConstruction(Fare.FareConstruction fareConstruction)
fareConstruction
- public Fare.UnstructuredFareCalc getUnstructuredFareCalc()
public void setUnstructuredFareCalc(Fare.UnstructuredFareCalc unstructuredFareCalc)
unstructuredFareCalc
- public java.util.List<Fare.FareBaggageAllowance> getFareBaggageAllowances()
public void setFareBaggageAllowances(java.util.List<Fare.FareBaggageAllowance> list)
list
- public int sizeFareBaggageAllowances()
public void addFareBaggageAllowance(Fare.FareBaggageAllowance item)
item
- public Fare.FareBaggageAllowance getFareBaggageAllowance(int index)
index
-
public void clearFareBaggageAllowances()
public Fare.TourCode getTourCode()
public void setTourCode(Fare.TourCode tourCode)
tourCode
- public java.util.List<java.lang.String> getRemarks()
public void setRemarks(java.util.List<java.lang.String> list)
list
- public int sizeRemarks()
public void addRemark(java.lang.String item)
item
- public java.lang.String getRemark(int index)
index
-
public void clearRemarks()
public Fare.OriginalIssueInfo getOriginalIssueInfo()
public void setOriginalIssueInfo(Fare.OriginalIssueInfo originalIssueInfo)
originalIssueInfo
- public Fare.ExchangeInfo getExchangeInfo()
public void setExchangeInfo(Fare.ExchangeInfo exchangeInfo)
exchangeInfo
- public Fare.Discounts getDiscounts()
public void setDiscounts(Fare.Discounts discounts)
discounts
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public NegotiatedFareAttributes getNegotiatedFareAttributes()
public void setNegotiatedFareAttributes(NegotiatedFareAttributes negotiatedFareAttributes)
negotiatedFareAttributes
- public java.lang.String getTicketDesignatorCode()
public void setTicketDesignatorCode(java.lang.String ticketDesignatorCode)
ticketDesignatorCode
- public java.lang.Integer getTotalNbrTrips()
public void setTotalNbrTrips(java.lang.Integer totalNbrTrips)
totalNbrTrips
- public java.lang.Integer getTotalNbrPTC()
public void setTotalNbrPTC(java.lang.Integer totalNbrPTC)
totalNbrPTC
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |