package org.jboss.soa.bpel.tests.samples.purchase;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for Invoice complex type.
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="Invoice">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="amount" type="{http://www.w3.org/2001/XMLSchema}float"/>
 *         &lt;element name="orderId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Invoice", propOrder = { "amount", "orderId" })
public class Invoice {

	protected float amount;
	protected int orderId;

	/**
	 * Gets the value of the amount property.
	 */
	public float getAmount() {
		return amount;
	}

	/**
	 * Sets the value of the amount property.
	 */
	public void setAmount(float value) {
		this.amount = value;
	}

	/**
	 * Gets the value of the orderId property.
	 */
	public int getOrderId() {
		return orderId;
	}

	/**
	 * Sets the value of the orderId property.
	 */
	public void setOrderId(int value) {
		this.orderId = value;
	}

}
