package org.kapott.hbci.sepa.jaxb.pain_001_001_02; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p>Java class for CurrencyAndAmount complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="CurrencyAndAmount"> * <simpleContent> * <extension base="<urn:sepade:xsd:pain.001.001.02>CurrencyAndAmount_SimpleType"> * <attribute name="Ccy" use="required" type="{urn:sepade:xsd:pain.001.001.02}CurrencyCode" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CurrencyAndAmount", namespace = "urn:sepade:xsd:pain.001.001.02", propOrder = { "value" }) public class CurrencyAndAmount { @XmlValue protected BigDecimal value; @XmlAttribute(name = "Ccy", required = true) protected String ccy; /** * Gets the value of the value property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setValue(BigDecimal value) { this.value = value; } /** * Gets the value of the ccy property. * * @return * possible object is * {@link String } * */ public String getCcy() { return ccy; } /** * Sets the value of the ccy property. * * @param value * allowed object is * {@link String } * */ public void setCcy(String value) { this.ccy = value; } }