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

com.adyen.model.nexo.TrackData 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: Magnetic track or magnetic ink characters line. -- Reference: ISO 7813 - ISO 4909 -- Usage: Generic data structure for a card track, used when the magstripe card reader is located on the Sale Terminal, or for magstripe Card Reader device request. The data structure is also used to store the line at the bottom of a bank check
 *
 * 

Java class for TrackData complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TrackData">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="TrackValue" type="{}TrackValue" />
 *       <attribute name="TrackNumb" type="{}TrackNumb" default="2" />
 *       <attribute name="TrackFormat" type="{}TrackFormatType" default="ISO" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TrackData") public class TrackData { @XmlAttribute(name = "TrackValue") protected String trackValue; @XmlAttribute(name = "TrackNumb") protected Integer trackNumb; @XmlAttribute(name = "TrackFormat") protected TrackFormatType trackFormat; /** * Gets the value of the trackValue property. * * @return possible object is * {@link String } */ public String getTrackValue() { return trackValue; } /** * Sets the value of the trackValue property. * * @param value allowed object is * {@link String } */ public void setTrackValue(String value) { this.trackValue = value; } /** * Gets the value of the trackNumb property. * * @return possible object is * {@link Integer } */ public int getTrackNumb() { if (trackNumb == null) { return 2; } else { return trackNumb; } } /** * Sets the value of the trackNumb property. * * @param value allowed object is * {@link Integer } */ public void setTrackNumb(Integer value) { this.trackNumb = value; } /** * Gets the value of the trackFormat property. * * @return possible object is * {@link TrackFormatType } */ public TrackFormatType getTrackFormat() { if (trackFormat == null) { return TrackFormatType.ISO; } else { return trackFormat; } } /** * Sets the value of the trackFormat property. * * @param value allowed object is * {@link TrackFormatType } */ public void setTrackFormat(TrackFormatType value) { this.trackFormat = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy