org.ota.shared
Class PaymentForm

java.lang.Object
  extended by org.ota.shared.PaymentForm
Direct Known Subclasses:
Customer.PaymentForm, Guarantee.GuaranteesAccepted.GuaranteeAccepted, PaymentDetail, Profile.CompanyInfo.PaymentForm

public class PaymentForm
extends java.lang.Object

Ways of providing funds and guarantees for travel by the individual. 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="PaymentFormType">
   <xs:choice minOccurs="0">
     <!-- Reference to inner class Choice -->
   </xs:choice>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
   <xs:attribute type="xs:string" use="optional" name="CostCenterID"/>
   <xs:attribute type="xs:string" use="optional" name="RPH"/>
   <xs:attribute use="optional" name="PaymentTransactionTypeCode">
     <xs:simpleType>
       <!-- Reference to inner class PaymentTransactionTypeCode -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:boolean" use="optional" name="GuaranteeIndicator"/>
   <xs:attribute type="xs:string" use="optional" name="GuaranteeTypeCode"/>
   <xs:attribute type="xs:string" use="optional" name="GuaranteeID"/>
   <xs:attribute type="xs:string" use="optional" name="Remark"/>
 </xs:complexType>
 


Nested Class Summary
static class PaymentForm.Choice
          Schema fragment(s) for this class:
static class PaymentForm.PaymentTransactionTypeCode
          Schema fragment(s) for this class:
 
Constructor Summary
PaymentForm()
           
 
Method Summary
 PaymentForm.Choice getChoice()
          Get the choice value.
 java.lang.String getCostCenterID()
          Get the 'CostCenterID' attribute value.
 java.lang.String getGuaranteeID()
          Get the 'GuaranteeID' attribute value.
 java.lang.Boolean getGuaranteeIndicator()
          Get the 'GuaranteeIndicator' attribute value.
 java.lang.String getGuaranteeTypeCode()
          Get the 'GuaranteeTypeCode' attribute value.
 PaymentForm.PaymentTransactionTypeCode getPaymentTransactionTypeCode()
          Get the 'PaymentTransactionTypeCode' attribute value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 java.lang.String getRemark()
          Get the 'Remark' attribute value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 void setChoice(PaymentForm.Choice choice)
          Set the choice value.
 void setCostCenterID(java.lang.String costCenterID)
          Set the 'CostCenterID' attribute value.
 void setGuaranteeID(java.lang.String guaranteeID)
          Set the 'GuaranteeID' attribute value.
 void setGuaranteeIndicator(java.lang.Boolean guaranteeIndicator)
          Set the 'GuaranteeIndicator' attribute value.
 void setGuaranteeTypeCode(java.lang.String guaranteeTypeCode)
          Set the 'GuaranteeTypeCode' attribute value.
 void setPaymentTransactionTypeCode(PaymentForm.PaymentTransactionTypeCode paymentTransactionTypeCode)
          Set the 'PaymentTransactionTypeCode' attribute value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setRemark(java.lang.String remark)
          Set the 'Remark' attribute value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentForm

public PaymentForm()
Method Detail

getChoice

public PaymentForm.Choice getChoice()
Get the choice value.

Returns:
value

setChoice

public void setChoice(PaymentForm.Choice choice)
Set the choice value.

Parameters:
choice -

getPrivacyGroup

public PrivacyGroup getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value. Allows for control of the sharing of payment form data between parties.

Returns:
value

setPrivacyGroup

public void setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value. Allows for control of the sharing of payment form data between parties.

Parameters:
privacyGroup -

getCostCenterID

public java.lang.String getCostCenterID()
Get the 'CostCenterID' attribute value. A reference to identify the billing department for allocating cost of travel to company account.

Returns:
value

setCostCenterID

public void setCostCenterID(java.lang.String costCenterID)
Set the 'CostCenterID' attribute value. A reference to identify the billing department for allocating cost of travel to company account.

Parameters:
costCenterID -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. Provides a reference to a specific form of payment.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. Provides a reference to a specific form of payment.

Parameters:
RPH -

getPaymentTransactionTypeCode

public PaymentForm.PaymentTransactionTypeCode getPaymentTransactionTypeCode()
Get the 'PaymentTransactionTypeCode' attribute value. This is used to indicate either a charge, reserve (deposit) or refund.

Returns:
value

setPaymentTransactionTypeCode

public void setPaymentTransactionTypeCode(PaymentForm.PaymentTransactionTypeCode paymentTransactionTypeCode)
Set the 'PaymentTransactionTypeCode' attribute value. This is used to indicate either a charge, reserve (deposit) or refund.

Parameters:
paymentTransactionTypeCode -

getGuaranteeIndicator

public java.lang.Boolean getGuaranteeIndicator()
Get the 'GuaranteeIndicator' attribute value. When true, indicates this represents a guarantee rather than a payment form.

Returns:
value

setGuaranteeIndicator

public void setGuaranteeIndicator(java.lang.Boolean guaranteeIndicator)
Set the 'GuaranteeIndicator' attribute value. When true, indicates this represents a guarantee rather than a payment form.

Parameters:
guaranteeIndicator -

getGuaranteeTypeCode

public java.lang.String getGuaranteeTypeCode()
Get the 'GuaranteeTypeCode' attribute value. Used to specify the method of guarantee. Refer to OpenTravel Code List Payment Type (PMT).

Returns:
value

setGuaranteeTypeCode

public void setGuaranteeTypeCode(java.lang.String guaranteeTypeCode)
Set the 'GuaranteeTypeCode' attribute value. Used to specify the method of guarantee. Refer to OpenTravel Code List Payment Type (PMT).

Parameters:
guaranteeTypeCode -

getGuaranteeID

public java.lang.String getGuaranteeID()
Get the 'GuaranteeID' attribute value. Provides the identifier as specified by the GuaranteeTypeCode (e.g., Corporate ID or IATA number).

Returns:
value

setGuaranteeID

public void setGuaranteeID(java.lang.String guaranteeID)
Set the 'GuaranteeID' attribute value. Provides the identifier as specified by the GuaranteeTypeCode (e.g., Corporate ID or IATA number).

Parameters:
guaranteeID -

getRemark

public java.lang.String getRemark()
Get the 'Remark' attribute value. A remark associated with the payment form.

Returns:
value

setRemark

public void setRemark(java.lang.String remark)
Set the 'Remark' attribute value. A remark associated with the payment form.

Parameters:
remark -