package org.jboss.soa.bpel.samples.quickstart.account;

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

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

  @XmlElement(required = true)
  protected String customerName;
  protected double amount;

  /**
   * Gets the value of the customerName property.
   * 
   * @return possible object is {@link String }
   * 
   */
  public String getCustomerName() {
    return customerName;
  }

  /**
   * Sets the value of the customerName property.
   * 
   * @param value
   *          allowed object is {@link String }
   * 
   */
  public void setCustomerName(String value) {
    this.customerName = value;
  }

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

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

}
