com.ean.wsapi.hotel.v3.Surcharge Maven / Gradle / Ivy
package com.ean.wsapi.hotel.v3;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Surcharge complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Surcharge">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* <attribute name="type" type="{http://v3.hotel.wsapi.ean.com/}SurchargeType" />
* <attribute name="amount" type="{http://www.w3.org/2001/XMLSchema}float" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Surcharge")
public class Surcharge {
@XmlAttribute(name = "type")
protected SurchargeType type;
@XmlAttribute(name = "amount")
protected Float amount;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link SurchargeType }
*
*/
public SurchargeType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link SurchargeType }
*
*/
public void setType(SurchargeType value) {
this.type = value;
}
/**
* Gets the value of the amount property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setAmount(Float value) {
this.amount = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy