All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.OutputBarcode Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy