// Generated by xsd compiler for android/java
// DO NOT CHANGE!
package com.ebay.marketplace.search.v1.services;
/**
*
* Defines the type of treatment to be applied to a discounted item,
* either Strike-Through Pricing (STP) or Minimum Advertised Price (MAP).
*
*/
public enum PriceTreatmentEnum {
/**
*
* STP stands for Strike-Through Pricing.
*
*/
STP("STP"),
/**
*
* MAP stands for Miminum Advertised Price.
*
*/
MAP("MAP");
private final String value;
PriceTreatmentEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static PriceTreatmentEnum fromValue(String v) {
if (v != null) {
for (PriceTreatmentEnum c: PriceTreatmentEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
}
throw new IllegalArgumentException(v);
}
}