OfferCategory Class

public class OfferCategory extends ResourceBase

Represents offer's category. Also contains the category ranking for priority over other offer categories for the same product line

Constructor Summary

Constructor Description
OfferCategory()

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)

Determines whether the specified object, is equal to this instance.

java.lang.String getCountry()
java.lang.String getId()
java.lang.String getLocale()
java.lang.String getName()
int getRank()
int hashCode()

Returns a hash code for this instance.

void setCountry(String value)
void setId(String value)
void setLocale(String value)
void setName(String value)
void setRank(int value)

Inherited Members

ResourceBase.getAttributes() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

OfferCategory

public OfferCategory()

Method Details

equals

public boolean equals(Object obj)

Determines whether the specified object, is equal to this instance.

Overrides:

OfferCategory.equals(Object obj)

Parameters:

obj - The object to compare with this instance.

Returns:

true if the specified object is equal to this instance; otherwise, false.

getCountry

public String getCountry()

getId

public String getId()

getLocale

public String getLocale()

getName

public String getName()

getRank

public int getRank()

hashCode

public int hashCode()

Returns a hash code for this instance.

Overrides:

OfferCategory.hashCode()

Returns:

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

setCountry

public void setCountry(String value)

Parameters:

value

setId

public void setId(String value)

Parameters:

value

setLocale

public void setLocale(String value)

Parameters:

value

setName

public void setName(String value)

Parameters:

value

setRank

public void setRank(int value)

Parameters:

value

Applies to