All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.bingads.v13.campaignmanagement.PriceUnit Maven / Gradle / Ivy

Go to download

The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.

There is a newer version: 13.0.22.1
Show newest version

package com.microsoft.bingads.v13.campaignmanagement;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for PriceUnit. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="PriceUnit">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Unknown"/>
 *     <enumeration value="PerHour"/>
 *     <enumeration value="PerDay"/>
 *     <enumeration value="PerWeek"/>
 *     <enumeration value="PerMonth"/>
 *     <enumeration value="PerYear"/>
 *     <enumeration value="None"/>
 *     <enumeration value="PerNight"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "PriceUnit") @XmlEnum public enum PriceUnit { @XmlEnumValue("Unknown") UNKNOWN("Unknown"), @XmlEnumValue("PerHour") PER_HOUR("PerHour"), @XmlEnumValue("PerDay") PER_DAY("PerDay"), @XmlEnumValue("PerWeek") PER_WEEK("PerWeek"), @XmlEnumValue("PerMonth") PER_MONTH("PerMonth"), @XmlEnumValue("PerYear") PER_YEAR("PerYear"), @XmlEnumValue("None") NONE("None"), @XmlEnumValue("PerNight") PER_NIGHT("PerNight"); private final String value; PriceUnit(String v) { value = v; } public String value() { return value; } public static PriceUnit fromValue(String v) { for (PriceUnit c: PriceUnit.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy