com.microsoft.bingads.v13.campaignmanagement.PromotionDiscountModifier Maven / Gradle / Ivy
package com.microsoft.bingads.v13.campaignmanagement;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for PromotionDiscountModifier.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "PromotionDiscountModifier")
@XmlEnum
public enum PromotionDiscountModifier {
@XmlEnumValue("Unknown")
UNKNOWN("Unknown"),
@XmlEnumValue("UpTo")
UP_TO("UpTo"),
@XmlEnumValue("None")
NONE("None");
private final String value;
PromotionDiscountModifier(String v) {
value = v;
}
public String value() {
return value;
}
public static PromotionDiscountModifier fromValue(String v) {
for (PromotionDiscountModifier c: PromotionDiscountModifier.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy