org.ota.shared
Class Orders.Order.Products.Product

java.lang.Object
  extended by org.ota.shared.Orders.Order.Products.Product
Enclosing class:
Orders.Order.Products

public static class Orders.Order.Products.Product
extends java.lang.Object

The details associated to a specific product. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Product" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="ProductIssueDate"/>
     <xs:attribute type="xs:string" use="optional" name="ProductID"/>
     <xs:attribute type="xs:string" use="optional" name="ProductType"/>
     <xs:attribute type="xs:int" use="optional" name="ProductQuantity"/>
     <xs:attribute type="xs:string" use="optional" name="ProductSerialNumber"/>
     <xs:attribute type="xs:string" use="optional" name="DiscountCode"/>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
     <xs:attribute use="optional" name="Status">
       <xs:simpleType>
         <!-- Reference to inner class Status -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:string" use="optional" name="ListOfRecipientRPH"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Orders.Order.Products.Product.Status
          Schema fragment(s) for this class:
 
Constructor Summary
Orders.Order.Products.Product()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getDiscountCode()
          Get the 'DiscountCode' attribute value.
 java.lang.String getListOfRecipientRPH()
          Get the 'ListOfRecipientRPH' attribute value.
 java.lang.String getProduct()
          Get the 'ProductType' attribute value.
 java.lang.String getProductID()
          Get the 'ProductID' attribute value.
 java.lang.String getProductIssueDate()
          Get the 'ProductIssueDate' attribute value.
 java.lang.Integer getProductQuantity()
          Get the 'ProductQuantity' attribute value.
 java.lang.String getProductSerialNumber()
          Get the 'ProductSerialNumber' attribute value.
 Orders.Order.Products.Product.Status getStatus()
          Get the 'Status' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDiscountCode(java.lang.String discountCode)
          Set the 'DiscountCode' attribute value.
 void setListOfRecipientRPH(java.lang.String listOfRecipientRPH)
          Set the 'ListOfRecipientRPH' attribute value.
 void setProduct(java.lang.String product)
          Set the 'ProductType' attribute value.
 void setProductID(java.lang.String productID)
          Set the 'ProductID' attribute value.
 void setProductIssueDate(java.lang.String productIssueDate)
          Set the 'ProductIssueDate' attribute value.
 void setProductQuantity(java.lang.Integer productQuantity)
          Set the 'ProductQuantity' attribute value.
 void setProductSerialNumber(java.lang.String productSerialNumber)
          Set the 'ProductSerialNumber' attribute value.
 void setStatus(Orders.Order.Products.Product.Status status)
          Set the 'Status' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Orders.Order.Products.Product

public Orders.Order.Products.Product()
Method Detail

getProductIssueDate

public java.lang.String getProductIssueDate()
Get the 'ProductIssueDate' attribute value. The date or date and time that the product was issued.

Returns:
value

setProductIssueDate

public void setProductIssueDate(java.lang.String productIssueDate)
Set the 'ProductIssueDate' attribute value. The date or date and time that the product was issued.

Parameters:
productIssueDate -

getProductID

public java.lang.String getProductID()
Get the 'ProductID' attribute value. An identification number associated to the specific product.

Returns:
value

setProductID

public void setProductID(java.lang.String productID)
Set the 'ProductID' attribute value. An identification number associated to the specific product.

Parameters:
productID -

getProduct

public java.lang.String getProduct()
Get the 'ProductType' attribute value. Identifies the type of product being purchased.

Returns:
value

setProduct

public void setProduct(java.lang.String product)
Set the 'ProductType' attribute value. Identifies the type of product being purchased.

Parameters:
product -

getProductQuantity

public java.lang.Integer getProductQuantity()
Get the 'ProductQuantity' attribute value. The number of the specific product being purchased.

Returns:
value

setProductQuantity

public void setProductQuantity(java.lang.Integer productQuantity)
Set the 'ProductQuantity' attribute value. The number of the specific product being purchased.

Parameters:
productQuantity -

getProductSerialNumber

public java.lang.String getProductSerialNumber()
Get the 'ProductSerialNumber' attribute value. The serial number of the specific product.

Returns:
value

setProductSerialNumber

public void setProductSerialNumber(java.lang.String productSerialNumber)
Set the 'ProductSerialNumber' attribute value. The serial number of the specific product.

Parameters:
productSerialNumber -

getDiscountCode

public java.lang.String getDiscountCode()
Get the 'DiscountCode' attribute value. The discount code that applies to the specific product.

Returns:
value

setDiscountCode

public void setDiscountCode(java.lang.String discountCode)
Set the 'DiscountCode' attribute value. The discount code that applies to the specific product.

Parameters:
discountCode -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. The amount related to the specific item (e.g., if the item being purchased is a gift certificate, and only one item is being purchased the full amount is applied to the gift certificate).

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. The amount related to the specific item (e.g., if the item being purchased is a gift certificate, and only one item is being purchased the full amount is applied to the gift certificate).

Parameters:
currencyAmountGroup -

getStatus

public Orders.Order.Products.Product.Status getStatus()
Get the 'Status' attribute value. The status of the product. This attribute would primarily be used in the response message to identify the status of the item being purchased.

Returns:
value

setStatus

public void setStatus(Orders.Order.Products.Product.Status status)
Set the 'Status' attribute value. The status of the product. This attribute would primarily be used in the response message to identify the status of the item being purchased.

Parameters:
status -

getListOfRecipientRPH

public java.lang.String getListOfRecipientRPH()
Get the 'ListOfRecipientRPH' attribute value. The recipient(s) to whom the product pertains.

Returns:
value

setListOfRecipientRPH

public void setListOfRecipientRPH(java.lang.String listOfRecipientRPH)
Set the 'ListOfRecipientRPH' attribute value. The recipient(s) to whom the product pertains.

Parameters:
listOfRecipientRPH -