|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.shared.PaymentForm.Choice
public static class PaymentForm.Choice
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 |
|---|
public PaymentForm.Choice()
| Method Detail |
|---|
public void clearChoiceSelect()
public boolean ifPaymentCard()
true if selection, false if notpublic PaymentCard getPaymentCard()
public void setPaymentCard(PaymentCard paymentCard)
paymentCard - public boolean ifBankAcct()
true if selection, false if notpublic BankAcct getBankAcct()
public void setBankAcct(BankAcct bankAcct)
bankAcct - public boolean ifDirectBill()
true if selection, false if notpublic DirectBill getDirectBill()
public void setDirectBill(DirectBill directBill)
directBill - public boolean ifVoucher()
true if selection, false if notpublic EffectiveExpireOptionalDateGroup getVoucherEffectiveExpireOptionalDateGroup()
public void setVoucherEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup voucherEffectiveExpireOptionalDateGroup)
voucherEffectiveExpireOptionalDateGroup - public java.lang.String getVoucherSeriesCode()
public void setVoucherSeriesCode(java.lang.String voucherSeriesCode)
voucherSeriesCode - public java.lang.String getVoucherBillingNumber()
public void setVoucherBillingNumber(java.lang.String voucherBillingNumber)
voucherBillingNumber - public java.lang.String getVoucherSupplierIdentifier()
public void setVoucherSupplierIdentifier(java.lang.String voucherSupplierIdentifier)
voucherSupplierIdentifier - public java.lang.String getVoucherIdentifier()
public void setVoucherIdentifier(java.lang.String voucherIdentifier)
voucherIdentifier - public java.lang.String getVoucherValue()
public void setVoucherValue(java.lang.String voucherValue)
voucherValue - public java.lang.Boolean getVoucherElectronicIndicator()
public void setVoucherElectronicIndicator(java.lang.Boolean voucherElectronicIndicator)
voucherElectronicIndicator - public boolean ifLoyaltyRedemption()
true if selection, false if notpublic PaymentForm.Choice.LoyaltyRedemption getLoyaltyRedemption()
public void setLoyaltyRedemption(PaymentForm.Choice.LoyaltyRedemption loyaltyRedemption)
loyaltyRedemption - public boolean ifMiscChargeOrder()
true if selection, false if notpublic PaymentForm.Choice.MiscChargeOrder getMiscChargeOrder()
public void setMiscChargeOrder(PaymentForm.Choice.MiscChargeOrder miscChargeOrder)
miscChargeOrder - public boolean ifTicket()
true if selection, false if notpublic PaymentForm.Choice.Ticket getTicket()
public void setTicket(PaymentForm.Choice.Ticket ticket)
ticket - public boolean ifCash()
true if selection, false if notpublic java.lang.Boolean getCashIndicator()
public void setCashIndicator(java.lang.Boolean cashIndicator)
cashIndicator -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||