org.ota.shared
Class DirectBill

java.lang.Object
  extended by org.ota.shared.DirectBill
Direct Known Subclasses:
HotelRoomList.MasterAccount

public class DirectBill
extends java.lang.Object

Company name and location for sending invoice for remittances for travel services. 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="DirectBillType">
   <xs:sequence>
     <xs:element name="CompanyName" minOccurs="0">
       <!-- Reference to inner class CompanyName -->
     </xs:element>
     <xs:element type="ns:AddressInfoType" name="Address" minOccurs="0"/>
     <xs:element type="ns:EmailType" name="Email" minOccurs="0"/>
     <xs:element name="Telephone" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:TelephoneInfoGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
   <xs:attribute type="xs:string" use="optional" name="DirectBill_ID"/>
   <xs:attribute type="xs:string" use="optional" name="BillingNumber"/>
 </xs:complexType>
 


Nested Class Summary
static class DirectBill.CompanyName
          Company name to whom remittance should be directed.
 
Constructor Summary
DirectBill()
           
 
Method Summary
 AddressInfo getAddress()
          Get the 'Address' element value.
 java.lang.String getBillingNumber()
          Get the 'BillingNumber' attribute value.
 DirectBill.CompanyName getCompanyName()
          Get the 'CompanyName' element value.
 java.lang.String getDirectBillID()
          Get the 'DirectBill_ID' attribute value.
 Email getEmail()
          Get the 'Email' element value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 TelephoneInfoGroup getTelephone()
          Get the 'TelephoneInfoGroup' attributeGroup value.
 void setAddress(AddressInfo address)
          Set the 'Address' element value.
 void setBillingNumber(java.lang.String billingNumber)
          Set the 'BillingNumber' attribute value.
 void setCompanyName(DirectBill.CompanyName companyName)
          Set the 'CompanyName' element value.
 void setDirectBillID(java.lang.String directBillID)
          Set the 'DirectBill_ID' attribute value.
 void setEmail(Email email)
          Set the 'Email' element value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setTelephone(TelephoneInfoGroup telephone)
          Set the 'TelephoneInfoGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectBill

public DirectBill()
Method Detail

getCompanyName

public DirectBill.CompanyName getCompanyName()
Get the 'CompanyName' element value.

Returns:
value

setCompanyName

public void setCompanyName(DirectBill.CompanyName companyName)
Set the 'CompanyName' element value.

Parameters:
companyName -

getAddress

public AddressInfo getAddress()
Get the 'Address' element value. Address where remittance should be directed.

Returns:
value

setAddress

public void setAddress(AddressInfo address)
Set the 'Address' element value. Address where remittance should be directed.

Parameters:
address -

getEmail

public Email getEmail()
Get the 'Email' element value. Email address to which remittance should be directed.

Returns:
value

setEmail

public void setEmail(Email email)
Set the 'Email' element value. Email address to which remittance should be directed.

Parameters:
email -

getTelephone

public TelephoneInfoGroup getTelephone()
Get the 'TelephoneInfoGroup' attributeGroup value. Information about a telephone number, including the actual number and its usage.

Returns:
value

setTelephone

public void setTelephone(TelephoneInfoGroup telephone)
Set the 'TelephoneInfoGroup' attributeGroup value. Information about a telephone number, including the actual number and its usage.

Parameters:
telephone -

getPrivacyGroup

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

Returns:
value

setPrivacyGroup

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

Parameters:
privacyGroup -

getDirectBillID

public java.lang.String getDirectBillID()
Get the 'DirectBill_ID' attribute value. Identifier for the organization to be billed directly for travel services.

Returns:
value

setDirectBillID

public void setDirectBillID(java.lang.String directBillID)
Set the 'DirectBill_ID' attribute value. Identifier for the organization to be billed directly for travel services.

Parameters:
directBillID -

getBillingNumber

public java.lang.String getBillingNumber()
Get the 'BillingNumber' attribute value. The number assigned by the subscriber for billing reconciliation of a corporate account.

Returns:
value

setBillingNumber

public void setBillingNumber(java.lang.String billingNumber)
Set the 'BillingNumber' attribute value. The number assigned by the subscriber for billing reconciliation of a corporate account.

Parameters:
billingNumber -