
travel.wink.api.google.hotel.pos.RateModificationEnum Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package travel.wink.api.google.hotel.pos;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for RateModificationEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "RateModificationEnum")
@XmlEnum
public enum RateModificationEnum {
@XmlEnumValue("percent_discount")
PERCENT_DISCOUNT("percent_discount"),
@XmlEnumValue("absolute_discount")
ABSOLUTE_DISCOUNT("absolute_discount"),
@XmlEnumValue("absolute_price")
ABSOLUTE_PRICE("absolute_price");
private final String value;
RateModificationEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static RateModificationEnum fromValue(String v) {
for (RateModificationEnum c: RateModificationEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy