org.ota.air
Class Fulfillment

java.lang.Object
  extended by org.ota.air.Fulfillment

public class Fulfillment
extends java.lang.Object

Payment information relevant to a booking. 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="FulfillmentType">
   <xs:sequence>
     <xs:element name="PaymentDetails" minOccurs="0">
       <!-- Reference to inner class PaymentDetails -->
     </xs:element>
     <xs:element type="ns:AddressType" name="DeliveryAddress" minOccurs="0"/>
     <xs:element type="ns:PersonNameType" name="Name" minOccurs="0"/>
     <xs:element name="Receipt" minOccurs="0">
       <!-- Reference to inner class Receipt -->
     </xs:element>
     <xs:element name="PaymentText" minOccurs="0" maxOccurs="5">
       <!-- Reference to inner class PaymentText -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class Fulfillment.PaymentDetails
          Container for Payment Detail.
static class Fulfillment.PaymentText
          Used to provide textual information concerning fulfillment.
static class Fulfillment.Receipt
          Specifies the requested distribution method for the ticket receipt.
 
Constructor Summary
Fulfillment()
           
 
Method Summary
 void addPaymentText(Fulfillment.PaymentText item)
          Add a 'PaymentText' element item.
 void clearPaymentTexts()
          Remove all 'PaymentText' element items.
 Address getDeliveryAddress()
          Get the 'DeliveryAddress' element value.
 PersonName getName()
          Get the 'Name' element value.
 Fulfillment.PaymentDetails getPaymentDetails()
          Get the 'PaymentDetails' element value.
 Fulfillment.PaymentText getPaymentText(int index)
          Get 'PaymentText' element item by position.
 java.util.List<Fulfillment.PaymentText> getPaymentTexts()
          Get the list of 'PaymentText' element items.
 Fulfillment.Receipt getReceipt()
          Get the 'Receipt' element value.
 void setDeliveryAddress(Address deliveryAddress)
          Set the 'DeliveryAddress' element value.
 void setName(PersonName name)
          Set the 'Name' element value.
 void setPaymentDetails(Fulfillment.PaymentDetails paymentDetails)
          Set the 'PaymentDetails' element value.
 void setPaymentTexts(java.util.List<Fulfillment.PaymentText> list)
          Set the list of 'PaymentText' element items.
 void setReceipt(Fulfillment.Receipt receipt)
          Set the 'Receipt' element value.
 int sizePaymentTexts()
          Get the number of 'PaymentText' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fulfillment

public Fulfillment()
Method Detail

getPaymentDetails

public Fulfillment.PaymentDetails getPaymentDetails()
Get the 'PaymentDetails' element value.

Returns:
value

setPaymentDetails

public void setPaymentDetails(Fulfillment.PaymentDetails paymentDetails)
Set the 'PaymentDetails' element value.

Parameters:
paymentDetails -

getDeliveryAddress

public Address getDeliveryAddress()
Get the 'DeliveryAddress' element value. Ticket delivery information for the booking request.

Returns:
value

setDeliveryAddress

public void setDeliveryAddress(Address deliveryAddress)
Set the 'DeliveryAddress' element value. Ticket delivery information for the booking request.

Parameters:
deliveryAddress -

getName

public PersonName getName()
Get the 'Name' element value. Purchaser name details

Returns:
value

setName

public void setName(PersonName name)
Set the 'Name' element value. Purchaser name details

Parameters:
name -

getReceipt

public Fulfillment.Receipt getReceipt()
Get the 'Receipt' element value.

Returns:
value

setReceipt

public void setReceipt(Fulfillment.Receipt receipt)
Set the 'Receipt' element value.

Parameters:
receipt -

getPaymentTexts

public java.util.List<Fulfillment.PaymentText> getPaymentTexts()
Get the list of 'PaymentText' element items.

Returns:
list

setPaymentTexts

public void setPaymentTexts(java.util.List<Fulfillment.PaymentText> list)
Set the list of 'PaymentText' element items.

Parameters:
list -

sizePaymentTexts

public int sizePaymentTexts()
Get the number of 'PaymentText' element items.

Returns:
count

addPaymentText

public void addPaymentText(Fulfillment.PaymentText item)
Add a 'PaymentText' element item.

Parameters:
item -

getPaymentText

public Fulfillment.PaymentText getPaymentText(int index)
Get 'PaymentText' element item by position.

Parameters:
index -
Returns:
item

clearPaymentTexts

public void clearPaymentTexts()
Remove all 'PaymentText' element items.