Project 4

com.amazon.soap.AWSECommerceService
Class OfferListing

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

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

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  Price amountSaved
           
private  java.lang.String availability
           
private  OfferListingAvailabilityAttributes availabilityAttributes
           
private  java.lang.String exchangeId
           
private  java.lang.Boolean isEligibleForSuperSaverShipping
           
private  Address ISPUStoreAddress
           
private  java.lang.String ISPUStoreHours
           
private  java.lang.String offerListingId
           
private  org.apache.axis.types.NonNegativeInteger percentageSaved
           
private  Price price
           
private  java.math.BigInteger quantity
           
private  Price salePrice
           
private  java.lang.String salesRestriction
           
private  OfferListingShippingCharge[] shippingCharge
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
OfferListing()
           
OfferListing(java.lang.String offerListingId, java.lang.String exchangeId, Price price, Price salePrice, Price amountSaved, org.apache.axis.types.NonNegativeInteger percentageSaved, java.lang.String availability, OfferListingAvailabilityAttributes availabilityAttributes, java.math.BigInteger quantity, Address ISPUStoreAddress, java.lang.String ISPUStoreHours, java.lang.Boolean isEligibleForSuperSaverShipping, java.lang.String salesRestriction, OfferListingShippingCharge[] shippingCharge)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Price getAmountSaved()
          Gets the amountSaved value for this OfferListing.
 java.lang.String getAvailability()
          Gets the availability value for this OfferListing.
 OfferListingAvailabilityAttributes getAvailabilityAttributes()
          Gets the availabilityAttributes value for this OfferListing.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getExchangeId()
          Gets the exchangeId value for this OfferListing.
 java.lang.Boolean getIsEligibleForSuperSaverShipping()
          Gets the isEligibleForSuperSaverShipping value for this OfferListing.
 Address getISPUStoreAddress()
          Gets the ISPUStoreAddress value for this OfferListing.
 java.lang.String getISPUStoreHours()
          Gets the ISPUStoreHours value for this OfferListing.
 java.lang.String getOfferListingId()
          Gets the offerListingId value for this OfferListing.
 org.apache.axis.types.NonNegativeInteger getPercentageSaved()
          Gets the percentageSaved value for this OfferListing.
 Price getPrice()
          Gets the price value for this OfferListing.
 java.math.BigInteger getQuantity()
          Gets the quantity value for this OfferListing.
 Price getSalePrice()
          Gets the salePrice value for this OfferListing.
 java.lang.String getSalesRestriction()
          Gets the salesRestriction value for this OfferListing.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 OfferListingShippingCharge[] getShippingCharge()
          Gets the shippingCharge value for this OfferListing.
 OfferListingShippingCharge getShippingCharge(int i)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAmountSaved(Price amountSaved)
          Sets the amountSaved value for this OfferListing.
 void setAvailability(java.lang.String availability)
          Sets the availability value for this OfferListing.
 void setAvailabilityAttributes(OfferListingAvailabilityAttributes availabilityAttributes)
          Sets the availabilityAttributes value for this OfferListing.
 void setExchangeId(java.lang.String exchangeId)
          Sets the exchangeId value for this OfferListing.
 void setIsEligibleForSuperSaverShipping(java.lang.Boolean isEligibleForSuperSaverShipping)
          Sets the isEligibleForSuperSaverShipping value for this OfferListing.
 void setISPUStoreAddress(Address ISPUStoreAddress)
          Sets the ISPUStoreAddress value for this OfferListing.
 void setISPUStoreHours(java.lang.String ISPUStoreHours)
          Sets the ISPUStoreHours value for this OfferListing.
 void setOfferListingId(java.lang.String offerListingId)
          Sets the offerListingId value for this OfferListing.
 void setPercentageSaved(org.apache.axis.types.NonNegativeInteger percentageSaved)
          Sets the percentageSaved value for this OfferListing.
 void setPrice(Price price)
          Sets the price value for this OfferListing.
 void setQuantity(java.math.BigInteger quantity)
          Sets the quantity value for this OfferListing.
 void setSalePrice(Price salePrice)
          Sets the salePrice value for this OfferListing.
 void setSalesRestriction(java.lang.String salesRestriction)
          Sets the salesRestriction value for this OfferListing.
 void setShippingCharge(int i, OfferListingShippingCharge _value)
           
 void setShippingCharge(OfferListingShippingCharge[] shippingCharge)
          Sets the shippingCharge value for this OfferListing.
 
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

amountSaved

private Price amountSaved

availability

private java.lang.String availability

availabilityAttributes

private OfferListingAvailabilityAttributes availabilityAttributes

exchangeId

private java.lang.String exchangeId

isEligibleForSuperSaverShipping

private java.lang.Boolean isEligibleForSuperSaverShipping

ISPUStoreAddress

private Address ISPUStoreAddress

ISPUStoreHours

private java.lang.String ISPUStoreHours

offerListingId

private java.lang.String offerListingId

percentageSaved

private org.apache.axis.types.NonNegativeInteger percentageSaved

price

private Price price

quantity

private java.math.BigInteger quantity

salePrice

private Price salePrice

salesRestriction

private java.lang.String salesRestriction

shippingCharge

private OfferListingShippingCharge[] shippingCharge

typeDesc

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

OfferListing

public OfferListing()

OfferListing

public OfferListing(java.lang.String offerListingId,
                    java.lang.String exchangeId,
                    Price price,
                    Price salePrice,
                    Price amountSaved,
                    org.apache.axis.types.NonNegativeInteger percentageSaved,
                    java.lang.String availability,
                    OfferListingAvailabilityAttributes availabilityAttributes,
                    java.math.BigInteger quantity,
                    Address ISPUStoreAddress,
                    java.lang.String ISPUStoreHours,
                    java.lang.Boolean isEligibleForSuperSaverShipping,
                    java.lang.String salesRestriction,
                    OfferListingShippingCharge[] shippingCharge)
Method Detail

equals

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

getAmountSaved

public Price getAmountSaved()
Gets the amountSaved value for this OfferListing.

Returns:
amountSaved

getAvailability

public java.lang.String getAvailability()
Gets the availability value for this OfferListing.

Returns:
availability

getAvailabilityAttributes

public OfferListingAvailabilityAttributes getAvailabilityAttributes()
Gets the availabilityAttributes value for this OfferListing.

Returns:
availabilityAttributes

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


getExchangeId

public java.lang.String getExchangeId()
Gets the exchangeId value for this OfferListing.

Returns:
exchangeId

getIsEligibleForSuperSaverShipping

public java.lang.Boolean getIsEligibleForSuperSaverShipping()
Gets the isEligibleForSuperSaverShipping value for this OfferListing.

Returns:
isEligibleForSuperSaverShipping

getISPUStoreAddress

public Address getISPUStoreAddress()
Gets the ISPUStoreAddress value for this OfferListing.

Returns:
ISPUStoreAddress

getISPUStoreHours

public java.lang.String getISPUStoreHours()
Gets the ISPUStoreHours value for this OfferListing.

Returns:
ISPUStoreHours

getOfferListingId

public java.lang.String getOfferListingId()
Gets the offerListingId value for this OfferListing.

Returns:
offerListingId

getPercentageSaved

public org.apache.axis.types.NonNegativeInteger getPercentageSaved()
Gets the percentageSaved value for this OfferListing.

Returns:
percentageSaved

getPrice

public Price getPrice()
Gets the price value for this OfferListing.

Returns:
price

getQuantity

public java.math.BigInteger getQuantity()
Gets the quantity value for this OfferListing.

Returns:
quantity

getSalePrice

public Price getSalePrice()
Gets the salePrice value for this OfferListing.

Returns:
salePrice

getSalesRestriction

public java.lang.String getSalesRestriction()
Gets the salesRestriction value for this OfferListing.

Returns:
salesRestriction

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


getShippingCharge

public OfferListingShippingCharge[] getShippingCharge()
Gets the shippingCharge value for this OfferListing.

Returns:
shippingCharge

getShippingCharge

public OfferListingShippingCharge getShippingCharge(int i)

getTypeDesc

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


hashCode

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

setAmountSaved

public void setAmountSaved(Price amountSaved)
Sets the amountSaved value for this OfferListing.

Parameters:
amountSaved -

setAvailability

public void setAvailability(java.lang.String availability)
Sets the availability value for this OfferListing.

Parameters:
availability -

setAvailabilityAttributes

public void setAvailabilityAttributes(OfferListingAvailabilityAttributes availabilityAttributes)
Sets the availabilityAttributes value for this OfferListing.

Parameters:
availabilityAttributes -

setExchangeId

public void setExchangeId(java.lang.String exchangeId)
Sets the exchangeId value for this OfferListing.

Parameters:
exchangeId -

setIsEligibleForSuperSaverShipping

public void setIsEligibleForSuperSaverShipping(java.lang.Boolean isEligibleForSuperSaverShipping)
Sets the isEligibleForSuperSaverShipping value for this OfferListing.

Parameters:
isEligibleForSuperSaverShipping -

setISPUStoreAddress

public void setISPUStoreAddress(Address ISPUStoreAddress)
Sets the ISPUStoreAddress value for this OfferListing.

Parameters:
ISPUStoreAddress -

setISPUStoreHours

public void setISPUStoreHours(java.lang.String ISPUStoreHours)
Sets the ISPUStoreHours value for this OfferListing.

Parameters:
ISPUStoreHours -

setOfferListingId

public void setOfferListingId(java.lang.String offerListingId)
Sets the offerListingId value for this OfferListing.

Parameters:
offerListingId -

setPercentageSaved

public void setPercentageSaved(org.apache.axis.types.NonNegativeInteger percentageSaved)
Sets the percentageSaved value for this OfferListing.

Parameters:
percentageSaved -

setPrice

public void setPrice(Price price)
Sets the price value for this OfferListing.

Parameters:
price -

setQuantity

public void setQuantity(java.math.BigInteger quantity)
Sets the quantity value for this OfferListing.

Parameters:
quantity -

setSalePrice

public void setSalePrice(Price salePrice)
Sets the salePrice value for this OfferListing.

Parameters:
salePrice -

setSalesRestriction

public void setSalesRestriction(java.lang.String salesRestriction)
Sets the salesRestriction value for this OfferListing.

Parameters:
salesRestriction -

setShippingCharge

public void setShippingCharge(int i,
                              OfferListingShippingCharge _value)

setShippingCharge

public void setShippingCharge(OfferListingShippingCharge[] shippingCharge)
Sets the shippingCharge value for this OfferListing.

Parameters:
shippingCharge -

Project 4