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

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

package com.adyen.model.nexo;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
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 { @XmlElement(name = "BarcodeValue", required = true) @Schema(description = "Value with a BarCode coding.") protected String barcodeValue; @XmlElement(name = "BarcodeType") @Schema(description = "Type of BarCode coding.") 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