Project 4

com.amazon.soap.AWSECommerceService
Class PromotionDetails

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

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

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  PromotionBenefit[] benefits
           
private  java.lang.String couponCombinationType
           
private  PromotionEligibilityRequirement[] eligibilityRequirements
           
private  java.lang.String endDate
           
private  java.lang.String groupClaimCode
           
private  PromotionItemApplicability itemApplicability
           
private  java.lang.String merchantId
           
private  java.lang.String merchantPromotionId
           
private  java.lang.String owningMerchantId
           
private  java.lang.String promotionCategory
           
private  java.lang.String promotionId
           
private  java.lang.String startDate
           
private  java.lang.String termsAndConditions
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
PromotionDetails()
           
PromotionDetails(java.lang.String merchantId, java.lang.String owningMerchantId, java.lang.String promotionId, java.lang.String promotionCategory, java.lang.String merchantPromotionId, java.lang.String groupClaimCode, java.lang.String couponCombinationType, java.lang.String startDate, java.lang.String endDate, java.lang.String termsAndConditions, PromotionEligibilityRequirement[] eligibilityRequirements, PromotionBenefit[] benefits, PromotionItemApplicability itemApplicability)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 PromotionBenefit[] getBenefits()
          Gets the benefits value for this PromotionDetails.
 java.lang.String getCouponCombinationType()
          Gets the couponCombinationType value for this PromotionDetails.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 PromotionEligibilityRequirement[] getEligibilityRequirements()
          Gets the eligibilityRequirements value for this PromotionDetails.
 java.lang.String getEndDate()
          Gets the endDate value for this PromotionDetails.
 java.lang.String getGroupClaimCode()
          Gets the groupClaimCode value for this PromotionDetails.
 PromotionItemApplicability getItemApplicability()
          Gets the itemApplicability value for this PromotionDetails.
 java.lang.String getMerchantId()
          Gets the merchantId value for this PromotionDetails.
 java.lang.String getMerchantPromotionId()
          Gets the merchantPromotionId value for this PromotionDetails.
 java.lang.String getOwningMerchantId()
          Gets the owningMerchantId value for this PromotionDetails.
 java.lang.String getPromotionCategory()
          Gets the promotionCategory value for this PromotionDetails.
 java.lang.String getPromotionId()
          Gets the promotionId value for this PromotionDetails.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getStartDate()
          Gets the startDate value for this PromotionDetails.
 java.lang.String getTermsAndConditions()
          Gets the termsAndConditions value for this PromotionDetails.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setBenefits(PromotionBenefit[] benefits)
          Sets the benefits value for this PromotionDetails.
 void setCouponCombinationType(java.lang.String couponCombinationType)
          Sets the couponCombinationType value for this PromotionDetails.
 void setEligibilityRequirements(PromotionEligibilityRequirement[] eligibilityRequirements)
          Sets the eligibilityRequirements value for this PromotionDetails.
 void setEndDate(java.lang.String endDate)
          Sets the endDate value for this PromotionDetails.
 void setGroupClaimCode(java.lang.String groupClaimCode)
          Sets the groupClaimCode value for this PromotionDetails.
 void setItemApplicability(PromotionItemApplicability itemApplicability)
          Sets the itemApplicability value for this PromotionDetails.
 void setMerchantId(java.lang.String merchantId)
          Sets the merchantId value for this PromotionDetails.
 void setMerchantPromotionId(java.lang.String merchantPromotionId)
          Sets the merchantPromotionId value for this PromotionDetails.
 void setOwningMerchantId(java.lang.String owningMerchantId)
          Sets the owningMerchantId value for this PromotionDetails.
 void setPromotionCategory(java.lang.String promotionCategory)
          Sets the promotionCategory value for this PromotionDetails.
 void setPromotionId(java.lang.String promotionId)
          Sets the promotionId value for this PromotionDetails.
 void setStartDate(java.lang.String startDate)
          Sets the startDate value for this PromotionDetails.
 void setTermsAndConditions(java.lang.String termsAndConditions)
          Sets the termsAndConditions value for this PromotionDetails.
 
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

benefits

private PromotionBenefit[] benefits

couponCombinationType

private java.lang.String couponCombinationType

eligibilityRequirements

private PromotionEligibilityRequirement[] eligibilityRequirements

endDate

private java.lang.String endDate

groupClaimCode

private java.lang.String groupClaimCode

itemApplicability

private PromotionItemApplicability itemApplicability

merchantId

private java.lang.String merchantId

merchantPromotionId

private java.lang.String merchantPromotionId

owningMerchantId

private java.lang.String owningMerchantId

promotionCategory

private java.lang.String promotionCategory

promotionId

private java.lang.String promotionId

startDate

private java.lang.String startDate

termsAndConditions

private java.lang.String termsAndConditions

typeDesc

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

PromotionDetails

public PromotionDetails()

PromotionDetails

public PromotionDetails(java.lang.String merchantId,
                        java.lang.String owningMerchantId,
                        java.lang.String promotionId,
                        java.lang.String promotionCategory,
                        java.lang.String merchantPromotionId,
                        java.lang.String groupClaimCode,
                        java.lang.String couponCombinationType,
                        java.lang.String startDate,
                        java.lang.String endDate,
                        java.lang.String termsAndConditions,
                        PromotionEligibilityRequirement[] eligibilityRequirements,
                        PromotionBenefit[] benefits,
                        PromotionItemApplicability itemApplicability)
Method Detail

equals

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

getBenefits

public PromotionBenefit[] getBenefits()
Gets the benefits value for this PromotionDetails.

Returns:
benefits

getCouponCombinationType

public java.lang.String getCouponCombinationType()
Gets the couponCombinationType value for this PromotionDetails.

Returns:
couponCombinationType

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


getEligibilityRequirements

public PromotionEligibilityRequirement[] getEligibilityRequirements()
Gets the eligibilityRequirements value for this PromotionDetails.

Returns:
eligibilityRequirements

getEndDate

public java.lang.String getEndDate()
Gets the endDate value for this PromotionDetails.

Returns:
endDate

getGroupClaimCode

public java.lang.String getGroupClaimCode()
Gets the groupClaimCode value for this PromotionDetails.

Returns:
groupClaimCode

getItemApplicability

public PromotionItemApplicability getItemApplicability()
Gets the itemApplicability value for this PromotionDetails.

Returns:
itemApplicability

getMerchantId

public java.lang.String getMerchantId()
Gets the merchantId value for this PromotionDetails.

Returns:
merchantId

getMerchantPromotionId

public java.lang.String getMerchantPromotionId()
Gets the merchantPromotionId value for this PromotionDetails.

Returns:
merchantPromotionId

getOwningMerchantId

public java.lang.String getOwningMerchantId()
Gets the owningMerchantId value for this PromotionDetails.

Returns:
owningMerchantId

getPromotionCategory

public java.lang.String getPromotionCategory()
Gets the promotionCategory value for this PromotionDetails.

Returns:
promotionCategory

getPromotionId

public java.lang.String getPromotionId()
Gets the promotionId value for this PromotionDetails.

Returns:
promotionId

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


getStartDate

public java.lang.String getStartDate()
Gets the startDate value for this PromotionDetails.

Returns:
startDate

getTermsAndConditions

public java.lang.String getTermsAndConditions()
Gets the termsAndConditions value for this PromotionDetails.

Returns:
termsAndConditions

getTypeDesc

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


hashCode

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

setBenefits

public void setBenefits(PromotionBenefit[] benefits)
Sets the benefits value for this PromotionDetails.

Parameters:
benefits -

setCouponCombinationType

public void setCouponCombinationType(java.lang.String couponCombinationType)
Sets the couponCombinationType value for this PromotionDetails.

Parameters:
couponCombinationType -

setEligibilityRequirements

public void setEligibilityRequirements(PromotionEligibilityRequirement[] eligibilityRequirements)
Sets the eligibilityRequirements value for this PromotionDetails.

Parameters:
eligibilityRequirements -

setEndDate

public void setEndDate(java.lang.String endDate)
Sets the endDate value for this PromotionDetails.

Parameters:
endDate -

setGroupClaimCode

public void setGroupClaimCode(java.lang.String groupClaimCode)
Sets the groupClaimCode value for this PromotionDetails.

Parameters:
groupClaimCode -

setItemApplicability

public void setItemApplicability(PromotionItemApplicability itemApplicability)
Sets the itemApplicability value for this PromotionDetails.

Parameters:
itemApplicability -

setMerchantId

public void setMerchantId(java.lang.String merchantId)
Sets the merchantId value for this PromotionDetails.

Parameters:
merchantId -

setMerchantPromotionId

public void setMerchantPromotionId(java.lang.String merchantPromotionId)
Sets the merchantPromotionId value for this PromotionDetails.

Parameters:
merchantPromotionId -

setOwningMerchantId

public void setOwningMerchantId(java.lang.String owningMerchantId)
Sets the owningMerchantId value for this PromotionDetails.

Parameters:
owningMerchantId -

setPromotionCategory

public void setPromotionCategory(java.lang.String promotionCategory)
Sets the promotionCategory value for this PromotionDetails.

Parameters:
promotionCategory -

setPromotionId

public void setPromotionId(java.lang.String promotionId)
Sets the promotionId value for this PromotionDetails.

Parameters:
promotionId -

setStartDate

public void setStartDate(java.lang.String startDate)
Sets the startDate value for this PromotionDetails.

Parameters:
startDate -

setTermsAndConditions

public void setTermsAndConditions(java.lang.String termsAndConditions)
Sets the termsAndConditions value for this PromotionDetails.

Parameters:
termsAndConditions -

Project 4