org.ota.shared
Class PaymentForm.Choice

java.lang.Object
  extended by org.ota.shared.PaymentForm.Choice
Enclosing class:
PaymentForm

public static class PaymentForm.Choice
extends java.lang.Object

Schema fragment(s) for this class:

 <xs:choice xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" minOccurs="0">
   <xs:element type="ns:PaymentCardType" name="PaymentCard"/>
   <xs:element type="ns:BankAcctType" name="BankAcct"/>
   <xs:element type="ns:DirectBillType" name="DirectBill"/>
   <xs:element name="Voucher">
     <xs:complexType>
       <xs:attributeGroup ref="ns:VoucherGroup"/>
       <xs:attribute type="xs:string" use="optional" name="BillingNumber"/>
       <xs:attribute type="xs:string" use="optional" name="SupplierIdentifier"/>
       <xs:attribute type="xs:string" use="optional" name="Identifier"/>
       <xs:attribute type="xs:string" use="optional" name="ValueType"/>
       <xs:attribute type="xs:boolean" use="optional" name="ElectronicIndicator"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="LoyaltyRedemption">
     <!-- Reference to inner class LoyaltyRedemption -->
   </xs:element>
   <xs:element name="MiscChargeOrder">
     <!-- Reference to inner class MiscChargeOrder -->
   </xs:element>
   <xs:element name="Ticket">
     <!-- Reference to inner class Ticket -->
   </xs:element>
   <xs:element name="Cash">
     <xs:complexType>
       <xs:attribute type="xs:boolean" use="optional" name="CashIndicator"/>
     </xs:complexType>
   </xs:element>
 </xs:choice>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VoucherGroup">
   <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/>
   <xs:attribute type="xs:string" name="SeriesCode"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class PaymentForm.Choice.LoyaltyRedemption
          Details of a loyalty redemption arrangement.
static class PaymentForm.Choice.MiscChargeOrder
          Details of a miscellaneous charge order (MCO).
static class PaymentForm.Choice.Ticket
          Details of a ticket to be exchanged.
 
Constructor Summary
PaymentForm.Choice()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 BankAcct getBankAcct()
          Get the 'BankAcct' element value.
 java.lang.Boolean getCashIndicator()
          Get the 'CashIndicator' attribute value.
 DirectBill getDirectBill()
          Get the 'DirectBill' element value.
 PaymentForm.Choice.LoyaltyRedemption getLoyaltyRedemption()
          Get the 'LoyaltyRedemption' element value.
 PaymentForm.Choice.MiscChargeOrder getMiscChargeOrder()
          Get the 'MiscChargeOrder' element value.
 PaymentCard getPaymentCard()
          Get the 'PaymentCard' element value.
 PaymentForm.Choice.Ticket getTicket()
          Get the 'Ticket' element value.
 java.lang.String getVoucherBillingNumber()
          Get the 'BillingNumber' attribute value.
 EffectiveExpireOptionalDateGroup getVoucherEffectiveExpireOptionalDateGroup()
          Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 java.lang.Boolean getVoucherElectronicIndicator()
          Get the 'ElectronicIndicator' attribute value.
 java.lang.String getVoucherIdentifier()
          Get the 'Identifier' attribute value.
 java.lang.String getVoucherSeriesCode()
          Get the 'SeriesCode' attribute value.
 java.lang.String getVoucherSupplierIdentifier()
          Get the 'SupplierIdentifier' attribute value.
 java.lang.String getVoucherValue()
          Get the 'ValueType' attribute value.
 boolean ifBankAcct()
          Check if BankAcct is current selection for choice.
 boolean ifCash()
          Check if Cash is current selection for choice.
 boolean ifDirectBill()
          Check if DirectBill is current selection for choice.
 boolean ifLoyaltyRedemption()
          Check if LoyaltyRedemption is current selection for choice.
 boolean ifMiscChargeOrder()
          Check if MiscChargeOrder is current selection for choice.
 boolean ifPaymentCard()
          Check if PaymentCard is current selection for choice.
 boolean ifTicket()
          Check if Ticket is current selection for choice.
 boolean ifVoucher()
          Check if Voucher is current selection for choice.
 void setBankAcct(BankAcct bankAcct)
          Set the 'BankAcct' element value.
 void setCashIndicator(java.lang.Boolean cashIndicator)
          Set the 'CashIndicator' attribute value.
 void setDirectBill(DirectBill directBill)
          Set the 'DirectBill' element value.
 void setLoyaltyRedemption(PaymentForm.Choice.LoyaltyRedemption loyaltyRedemption)
          Set the 'LoyaltyRedemption' element value.
 void setMiscChargeOrder(PaymentForm.Choice.MiscChargeOrder miscChargeOrder)
          Set the 'MiscChargeOrder' element value.
 void setPaymentCard(PaymentCard paymentCard)
          Set the 'PaymentCard' element value.
 void setTicket(PaymentForm.Choice.Ticket ticket)
          Set the 'Ticket' element value.
 void setVoucherBillingNumber(java.lang.String voucherBillingNumber)
          Set the 'BillingNumber' attribute value.
 void setVoucherEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup voucherEffectiveExpireOptionalDateGroup)
          Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 void setVoucherElectronicIndicator(java.lang.Boolean voucherElectronicIndicator)
          Set the 'ElectronicIndicator' attribute value.
 void setVoucherIdentifier(java.lang.String voucherIdentifier)
          Set the 'Identifier' attribute value.
 void setVoucherSeriesCode(java.lang.String voucherSeriesCode)
          Set the 'SeriesCode' attribute value.
 void setVoucherSupplierIdentifier(java.lang.String voucherSupplierIdentifier)
          Set the 'SupplierIdentifier' attribute value.
 void setVoucherValue(java.lang.String voucherValue)
          Set the 'ValueType' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentForm.Choice

public PaymentForm.Choice()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifPaymentCard

public boolean ifPaymentCard()
Check if PaymentCard is current selection for choice.

Returns:
true if selection, false if not

getPaymentCard

public PaymentCard getPaymentCard()
Get the 'PaymentCard' element value. Details of a debit or credit card.

Returns:
value

setPaymentCard

public void setPaymentCard(PaymentCard paymentCard)
Set the 'PaymentCard' element value. Details of a debit or credit card.

Parameters:
paymentCard -

ifBankAcct

public boolean ifBankAcct()
Check if BankAcct is current selection for choice.

Returns:
true if selection, false if not

getBankAcct

public BankAcct getBankAcct()
Get the 'BankAcct' element value. Details of a bank account.

Returns:
value

setBankAcct

public void setBankAcct(BankAcct bankAcct)
Set the 'BankAcct' element value. Details of a bank account.

Parameters:
bankAcct -

ifDirectBill

public boolean ifDirectBill()
Check if DirectBill is current selection for choice.

Returns:
true if selection, false if not

getDirectBill

public DirectBill getDirectBill()
Get the 'DirectBill' element value. Details of a direct billing arrangement.

Returns:
value

setDirectBill

public void setDirectBill(DirectBill directBill)
Set the 'DirectBill' element value. Details of a direct billing arrangement.

Parameters:
directBill -

ifVoucher

public boolean ifVoucher()
Check if Voucher is current selection for choice.

Returns:
true if selection, false if not

getVoucherEffectiveExpireOptionalDateGroup

public EffectiveExpireOptionalDateGroup getVoucherEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The date when a voucher becomes valid for use, if applicable, and the the date when a voucher or series of coupons expires and is no longer valid.

Returns:
value

setVoucherEffectiveExpireOptionalDateGroup

public void setVoucherEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup voucherEffectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The date when a voucher becomes valid for use, if applicable, and the the date when a voucher or series of coupons expires and is no longer valid.

Parameters:
voucherEffectiveExpireOptionalDateGroup -

getVoucherSeriesCode

public java.lang.String getVoucherSeriesCode()
Get the 'SeriesCode' attribute value. Identification of a series of coupons or vouchers identified by serial number(s).

Returns:
value

setVoucherSeriesCode

public void setVoucherSeriesCode(java.lang.String voucherSeriesCode)
Set the 'SeriesCode' attribute value. Identification of a series of coupons or vouchers identified by serial number(s).

Parameters:
voucherSeriesCode -

getVoucherBillingNumber

public java.lang.String getVoucherBillingNumber()
Get the 'BillingNumber' attribute value. Reference of the billing account which handles the payment transaction.

Returns:
value

setVoucherBillingNumber

public void setVoucherBillingNumber(java.lang.String voucherBillingNumber)
Set the 'BillingNumber' attribute value. Reference of the billing account which handles the payment transaction.

Parameters:
voucherBillingNumber -

getVoucherSupplierIdentifier

public java.lang.String getVoucherSupplierIdentifier()
Get the 'SupplierIdentifier' attribute value. Unique identifier of the electronic voucher, created by the supplier.

Returns:
value

setVoucherSupplierIdentifier

public void setVoucherSupplierIdentifier(java.lang.String voucherSupplierIdentifier)
Set the 'SupplierIdentifier' attribute value. Unique identifier of the electronic voucher, created by the supplier.

Parameters:
voucherSupplierIdentifier -

getVoucherIdentifier

public java.lang.String getVoucherIdentifier()
Get the 'Identifier' attribute value. Unique identifier of the electronic voucher.

Returns:
value

setVoucherIdentifier

public void setVoucherIdentifier(java.lang.String voucherIdentifier)
Set the 'Identifier' attribute value. Unique identifier of the electronic voucher.

Parameters:
voucherIdentifier -

getVoucherValue

public java.lang.String getVoucherValue()
Get the 'ValueType' attribute value. Defines the type of voucher (e.g., full credit or partial credit).

Returns:
value

setVoucherValue

public void setVoucherValue(java.lang.String voucherValue)
Set the 'ValueType' attribute value. Defines the type of voucher (e.g., full credit or partial credit).

Parameters:
voucherValue -

getVoucherElectronicIndicator

public java.lang.Boolean getVoucherElectronicIndicator()
Get the 'ElectronicIndicator' attribute value. When true, indicates the voucher is electronic. An E-voucher is a value document issued by the Travel Agent for the customer. The e-voucher can be used as a proof of reservation, but more normally, as a full-payment or partial payment.

Returns:
value

setVoucherElectronicIndicator

public void setVoucherElectronicIndicator(java.lang.Boolean voucherElectronicIndicator)
Set the 'ElectronicIndicator' attribute value. When true, indicates the voucher is electronic. An E-voucher is a value document issued by the Travel Agent for the customer. The e-voucher can be used as a proof of reservation, but more normally, as a full-payment or partial payment.

Parameters:
voucherElectronicIndicator -

ifLoyaltyRedemption

public boolean ifLoyaltyRedemption()
Check if LoyaltyRedemption is current selection for choice.

Returns:
true if selection, false if not

getLoyaltyRedemption

public PaymentForm.Choice.LoyaltyRedemption getLoyaltyRedemption()
Get the 'LoyaltyRedemption' element value.

Returns:
value

setLoyaltyRedemption

public void setLoyaltyRedemption(PaymentForm.Choice.LoyaltyRedemption loyaltyRedemption)
Set the 'LoyaltyRedemption' element value.

Parameters:
loyaltyRedemption -

ifMiscChargeOrder

public boolean ifMiscChargeOrder()
Check if MiscChargeOrder is current selection for choice.

Returns:
true if selection, false if not

getMiscChargeOrder

public PaymentForm.Choice.MiscChargeOrder getMiscChargeOrder()
Get the 'MiscChargeOrder' element value.

Returns:
value

setMiscChargeOrder

public void setMiscChargeOrder(PaymentForm.Choice.MiscChargeOrder miscChargeOrder)
Set the 'MiscChargeOrder' element value.

Parameters:
miscChargeOrder -

ifTicket

public boolean ifTicket()
Check if Ticket is current selection for choice.

Returns:
true if selection, false if not

getTicket

public PaymentForm.Choice.Ticket getTicket()
Get the 'Ticket' element value.

Returns:
value

setTicket

public void setTicket(PaymentForm.Choice.Ticket ticket)
Set the 'Ticket' element value.

Parameters:
ticket -

ifCash

public boolean ifCash()
Check if Cash is current selection for choice.

Returns:
true if selection, false if not

getCashIndicator

public java.lang.Boolean getCashIndicator()
Get the 'CashIndicator' attribute value. If true, this indicates cash is being used. true

Returns:
value

setCashIndicator

public void setCashIndicator(java.lang.Boolean cashIndicator)
Set the 'CashIndicator' attribute value. If true, this indicates cash is being used. true

Parameters:
cashIndicator -