com.adyen.model.nexo.OutputBarcode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
package com.adyen.model.nexo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Definition: BarCode content to display or print. -- Usage: Various usage of barcode
*
*
* Java class for OutputBarcode complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OutputBarcode">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="BarcodeValue" use="required" type="{}BarcodeValue" />
* <attribute name="BarcodeType" type="{}BarcodeType" default="EAN13" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OutputBarcode")
public class OutputBarcode {
@XmlAttribute(name = "BarcodeValue", required = true)
protected String barcodeValue;
@XmlAttribute(name = "BarcodeType")
protected BarcodeType barcodeType;
/**
* Gets the value of the barcodeValue property.
*
* @return possible object is
* {@link String }
*/
public String getBarcodeValue() {
return barcodeValue;
}
/**
* Sets the value of the barcodeValue property.
*
* @param value allowed object is
* {@link String }
*/
public void setBarcodeValue(String value) {
this.barcodeValue = value;
}
/**
* Gets the value of the barcodeType property.
*
* @return possible object is
* {@link BarcodeType }
*/
public BarcodeType getBarcodeType() {
if (barcodeType == null) {
return BarcodeType.EAN_13;
} else {
return barcodeType;
}
}
/**
* Sets the value of the barcodeType property.
*
* @param value allowed object is
* {@link BarcodeType }
*/
public void setBarcodeType(BarcodeType value) {
this.barcodeType = value;
}
}