Project 4

com.amazon.soap.AWSECommerceService
Class Offer

java.lang.Object
  extended by com.amazon.soap.AWSECommerceService.Offer
All Implemented Interfaces:
java.io.Serializable

public class Offer
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  LoyaltyPoints loyaltyPoints
           
private  Merchant merchant
           
private  OfferAttributes offerAttributes
           
private  OfferListing[] offerListing
           
private  Promotion[] promotions
           
private  Seller seller
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
Offer()
           
Offer(Merchant merchant, Seller seller, OfferAttributes offerAttributes, OfferListing[] offerListing, LoyaltyPoints loyaltyPoints, Promotion[] promotions)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 LoyaltyPoints getLoyaltyPoints()
          Gets the loyaltyPoints value for this Offer.
 Merchant getMerchant()
          Gets the merchant value for this Offer.
 OfferAttributes getOfferAttributes()
          Gets the offerAttributes value for this Offer.
 OfferListing[] getOfferListing()
          Gets the offerListing value for this Offer.
 OfferListing getOfferListing(int i)
           
 Promotion[] getPromotions()
          Gets the promotions value for this Offer.
 Seller getSeller()
          Gets the seller value for this Offer.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setLoyaltyPoints(LoyaltyPoints loyaltyPoints)
          Sets the loyaltyPoints value for this Offer.
 void setMerchant(Merchant merchant)
          Sets the merchant value for this Offer.
 void setOfferAttributes(OfferAttributes offerAttributes)
          Sets the offerAttributes value for this Offer.
 void setOfferListing(int i, OfferListing _value)
           
 void setOfferListing(OfferListing[] offerListing)
          Sets the offerListing value for this Offer.
 void setPromotions(Promotion[] promotions)
          Sets the promotions value for this Offer.
 void setSeller(Seller seller)
          Sets the seller value for this Offer.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

loyaltyPoints

private LoyaltyPoints loyaltyPoints

merchant

private Merchant merchant

offerAttributes

private OfferAttributes offerAttributes

offerListing

private OfferListing[] offerListing

promotions

private Promotion[] promotions

seller

private Seller seller

typeDesc

private static org.apache.axis.description.TypeDesc typeDesc
Constructor Detail

Offer

public Offer()

Offer

public Offer(Merchant merchant,
             Seller seller,
             OfferAttributes offerAttributes,
             OfferListing[] offerListing,
             LoyaltyPoints loyaltyPoints,
             Promotion[] promotions)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer


getLoyaltyPoints

public LoyaltyPoints getLoyaltyPoints()
Gets the loyaltyPoints value for this Offer.

Returns:
loyaltyPoints

getMerchant

public Merchant getMerchant()
Gets the merchant value for this Offer.

Returns:
merchant

getOfferAttributes

public OfferAttributes getOfferAttributes()
Gets the offerAttributes value for this Offer.

Returns:
offerAttributes

getOfferListing

public OfferListing[] getOfferListing()
Gets the offerListing value for this Offer.

Returns:
offerListing

getOfferListing

public OfferListing getOfferListing(int i)

getPromotions

public Promotion[] getPromotions()
Gets the promotions value for this Offer.

Returns:
promotions

getSeller

public Seller getSeller()
Gets the seller value for this Offer.

Returns:
seller

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setLoyaltyPoints

public void setLoyaltyPoints(LoyaltyPoints loyaltyPoints)
Sets the loyaltyPoints value for this Offer.

Parameters:
loyaltyPoints -

setMerchant

public void setMerchant(Merchant merchant)
Sets the merchant value for this Offer.

Parameters:
merchant -

setOfferAttributes

public void setOfferAttributes(OfferAttributes offerAttributes)
Sets the offerAttributes value for this Offer.

Parameters:
offerAttributes -

setOfferListing

public void setOfferListing(int i,
                            OfferListing _value)

setOfferListing

public void setOfferListing(OfferListing[] offerListing)
Sets the offerListing value for this Offer.

Parameters:
offerListing -

setPromotions

public void setPromotions(Promotion[] promotions)
Sets the promotions value for this Offer.

Parameters:
promotions -

setSeller

public void setSeller(Seller seller)
Sets the seller value for this Offer.

Parameters:
seller -

Project 4