// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.api.ads.dfp.jaxws.v201608;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* A premium of a {@link RateCard} which could be applied to the line item
* and charges extra.
*
*
* <p>Java class for PremiumRateValue complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="PremiumRateValue">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="premiumRateId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="premiumFeature" type="{https://www.google.com/apis/ads/publisher/v201608}PremiumFeature" minOccurs="0"/>
* <element name="rateType" type="{https://www.google.com/apis/ads/publisher/v201608}RateType" minOccurs="0"/>
* <element name="adjustmentType" type="{https://www.google.com/apis/ads/publisher/v201608}PremiumAdjustmentType" minOccurs="0"/>
* <element name="adjustmentSize" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PremiumRateValue", propOrder = {
"premiumRateId",
"premiumFeature",
"rateType",
"adjustmentType",
"adjustmentSize"
})
public class PremiumRateValue {
protected Long premiumRateId;
protected PremiumFeature premiumFeature;
@XmlSchemaType(name = "string")
protected RateType rateType;
@XmlSchemaType(name = "string")
protected PremiumAdjustmentType adjustmentType;
protected Long adjustmentSize;
/**
* Gets the value of the premiumRateId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getPremiumRateId() {
return premiumRateId;
}
/**
* Sets the value of the premiumRateId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setPremiumRateId(Long value) {
this.premiumRateId = value;
}
/**
* Gets the value of the premiumFeature property.
*
* @return
* possible object is
* {@link PremiumFeature }
*
*/
public PremiumFeature getPremiumFeature() {
return premiumFeature;
}
/**
* Sets the value of the premiumFeature property.
*
* @param value
* allowed object is
* {@link PremiumFeature }
*
*/
public void setPremiumFeature(PremiumFeature value) {
this.premiumFeature = value;
}
/**
* Gets the value of the rateType property.
*
* @return
* possible object is
* {@link RateType }
*
*/
public RateType getRateType() {
return rateType;
}
/**
* Sets the value of the rateType property.
*
* @param value
* allowed object is
* {@link RateType }
*
*/
public void setRateType(RateType value) {
this.rateType = value;
}
/**
* Gets the value of the adjustmentType property.
*
* @return
* possible object is
* {@link PremiumAdjustmentType }
*
*/
public PremiumAdjustmentType getAdjustmentType() {
return adjustmentType;
}
/**
* Sets the value of the adjustmentType property.
*
* @param value
* allowed object is
* {@link PremiumAdjustmentType }
*
*/
public void setAdjustmentType(PremiumAdjustmentType value) {
this.adjustmentType = value;
}
/**
* Gets the value of the adjustmentSize property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getAdjustmentSize() {
return adjustmentSize;
}
/**
* Sets the value of the adjustmentSize property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAdjustmentSize(Long value) {
this.adjustmentSize = value;
}
}