ebay.apis.shopping.eblbasecomponents.FeedbackRatingStarCodeType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebay-shopping-api Show documentation
Show all versions of ebay-shopping-api Show documentation
This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API.
This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.
The newest version!
package ebay.apis.shopping.eblbasecomponents;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for FeedbackRatingStarCodeType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="FeedbackRatingStarCodeType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="None"/>
* <enumeration value="Yellow"/>
* <enumeration value="Blue"/>
* <enumeration value="Turquoise"/>
* <enumeration value="Purple"/>
* <enumeration value="Red"/>
* <enumeration value="Green"/>
* <enumeration value="YellowShooting"/>
* <enumeration value="TurquoiseShooting"/>
* <enumeration value="PurpleShooting"/>
* <enumeration value="RedShooting"/>
* <enumeration value="GreenShooting"/>
* <enumeration value="SilverShooting"/>
* <enumeration value="CustomCode"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "FeedbackRatingStarCodeType")
@XmlEnum
public enum FeedbackRatingStarCodeType {
/**
*
* No graphic displayed, feedback score 0-9.
*
*
*/
@XmlEnumValue("None")
NONE("None"),
/**
*
* Yellow Star, feedback score 10-49.
*
*
*/
@XmlEnumValue("Yellow")
YELLOW("Yellow"),
/**
*
* Blue Star, feedback score 50-99.
*
*
*/
@XmlEnumValue("Blue")
BLUE("Blue"),
/**
*
* Turquoise Star, feedback score 100-499.
*
*
*/
@XmlEnumValue("Turquoise")
TURQUOISE("Turquoise"),
/**
*
* Purple Star, feedback score 500-999.
*
*
*/
@XmlEnumValue("Purple")
PURPLE("Purple"),
/**
*
* Red Star, feedback score 1,000-4,999
*
*
*/
@XmlEnumValue("Red")
RED("Red"),
/**
*
* Green Star, feedback score 5,000-9,999.
*
*
*/
@XmlEnumValue("Green")
GREEN("Green"),
/**
*
* Yellow Shooting Star, feedback score 10,000-24,999.
*
*
*/
@XmlEnumValue("YellowShooting")
YELLOW_SHOOTING("YellowShooting"),
/**
*
* Turquoise Shooting Star, feedback score 25,000-49,999.
*
*
*/
@XmlEnumValue("TurquoiseShooting")
TURQUOISE_SHOOTING("TurquoiseShooting"),
/**
*
* Purple Shooting Star, feedback score 50,000-99,999.
*
*
*/
@XmlEnumValue("PurpleShooting")
PURPLE_SHOOTING("PurpleShooting"),
/**
*
* Red Shooting Star, feedback score 100,000-499,999.
*
*
*/
@XmlEnumValue("RedShooting")
RED_SHOOTING("RedShooting"),
/**
*
* Green Shooting Star, feedback score 500,000-900,000.
*
*
*/
@XmlEnumValue("GreenShooting")
GREEN_SHOOTING("GreenShooting"),
/**
*
* Silver Shooting Star, feedback score 1,000,000 and above.
*
*
*/
@XmlEnumValue("SilverShooting")
SILVER_SHOOTING("SilverShooting"),
/**
*
* Placeholder value. See
* token.
*
*
*/
@XmlEnumValue("CustomCode")
CUSTOM_CODE("CustomCode");
private final String value;
FeedbackRatingStarCodeType(String v) {
value = v;
}
public String value() {
return value;
}
public static FeedbackRatingStarCodeType fromValue(String v) {
for (FeedbackRatingStarCodeType c: FeedbackRatingStarCodeType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}