com.adyen.model.nexo.CapturedSignature 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Numeric value of a handwritten signature. -- Usage: Contain the value of a handwritten signature, e.g. the signature of a cardholder on the merchant payment receipt. Only one format of the signature is allowed, it contains: The size of the pad area where the signature is written, given
*
* Java class for CapturedSignature complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CapturedSignature">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AreaSize" type="{}AreaSize" minOccurs="0"/>
* <element name="SignaturePoint" type="{}SignaturePoint" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CapturedSignature", propOrder = {
"areaSize",
"signaturePoint"
})
public class CapturedSignature {
/**
* The Area size.
*/
@XmlElement(name = "AreaSize")
protected AreaSize areaSize;
/**
* The Signature point.
*/
@XmlElement(name = "SignaturePoint", required = true)
protected List signaturePoint;
/**
* Gets the value of the areaSize property.
*
* @return possible object is {@link AreaSize }
*/
public AreaSize getAreaSize() {
return areaSize;
}
/**
* Sets the value of the areaSize property.
*
* @param value allowed object is {@link AreaSize }
*/
public void setAreaSize(AreaSize value) {
this.areaSize = value;
}
/**
* Gets the value of the signaturePoint property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the signaturePoint property.
*
*
* For example, to add a new item, do as follows:
*
* getSignaturePoint().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SignaturePoint }
*
* @return the signature point
*/
public List getSignaturePoint() {
if (signaturePoint == null) {
signaturePoint = new ArrayList();
}
return this.signaturePoint;
}
}