com.adyen.model.nexo.StoredValueData 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.math.BigDecimal;
/**
* Definition: Data related to the stored value card. -- Usage: It contains: - the identification of the stored value accounts or the stored value cards, if provided by the Sale System, and - the associated products sold by the Sale System..
*
* Java class for StoredValueData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StoredValueData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StoredValueAccountID" type="{}StoredValueAccountID" minOccurs="0"/>
* <element name="OriginalPOITransaction" type="{}OriginalPOITransaction" minOccurs="0"/>
* </sequence>
* <attribute name="StoredValueProvider" type="{}StoredValueProvider" />
* <attribute name="StoredValueTransaction" use="required" type="{}StoredValueTransactionType" />
* <attribute name="ProductCode" type="{}ProductCode" />
* <attribute name="EanUpc" type="{}EanUpc" />
* <attribute name="ItemAmount" use="required" type="{}SimpleAmountType" />
* <attribute name="Currency" use="required" type="{}ISOCurrency3A" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StoredValueData", propOrder = {
"storedValueAccountID",
"originalPOITransaction"
})
public class StoredValueData {
/**
* The Stored value account id.
*/
@XmlElement(name = "StoredValueAccountID")
protected StoredValueAccountID storedValueAccountID;
/**
* The Original poi transaction.
*/
@XmlElement(name = "OriginalPOITransaction")
protected OriginalPOITransaction originalPOITransaction;
/**
* The Stored value provider.
*/
@XmlAttribute(name = "StoredValueProvider")
protected String storedValueProvider;
/**
* The Stored value transaction.
*/
@XmlAttribute(name = "StoredValueTransactionType", required = true)
protected StoredValueTransactionType storedValueTransactionType;
/**
* The Product code.
*/
@XmlAttribute(name = "ProductCode")
protected String productCode;
/**
* The Ean upc.
*/
@XmlAttribute(name = "EanUpc")
protected String eanUpc;
/**
* The Item amount.
*/
@XmlAttribute(name = "ItemAmount", required = true)
protected BigDecimal itemAmount;
/**
* The Currency.
*/
@XmlAttribute(name = "Currency", required = true)
protected String currency;
/**
* Gets the value of the storedValueAccountID property.
*
* @return possible object is {@link StoredValueAccountID }
*/
public StoredValueAccountID getStoredValueAccountID() {
return storedValueAccountID;
}
/**
* Sets the value of the storedValueAccountID property.
*
* @param value allowed object is {@link StoredValueAccountID }
*/
public void setStoredValueAccountID(StoredValueAccountID value) {
this.storedValueAccountID = value;
}
/**
* Gets the value of the originalPOITransaction property.
*
* @return possible object is {@link OriginalPOITransaction }
*/
public OriginalPOITransaction getOriginalPOITransaction() {
return originalPOITransaction;
}
/**
* Sets the value of the originalPOITransaction property.
*
* @param value allowed object is {@link OriginalPOITransaction }
*/
public void setOriginalPOITransaction(OriginalPOITransaction value) {
this.originalPOITransaction = value;
}
/**
* Gets the value of the storedValueProvider property.
*
* @return possible object is {@link String }
*/
public String getStoredValueProvider() {
return storedValueProvider;
}
/**
* Sets the value of the storedValueProvider property.
*
* @param value allowed object is {@link String }
*/
public void setStoredValueProvider(String value) {
this.storedValueProvider = value;
}
/**
* Gets the value of the storedValueTransactionType property.
*
* @return possible object is {@link StoredValueTransactionType }
*/
public StoredValueTransactionType getStoredValueTransactionType() {
return storedValueTransactionType;
}
/**
* Sets the value of the storedValueTransactionType property.
*
* @param value allowed object is {@link StoredValueTransactionType }
*/
public void setStoredValueTransactionType(StoredValueTransactionType value) {
this.storedValueTransactionType = value;
}
/**
* Gets the value of the productCode property.
*
* @return possible object is {@link String }
*/
public String getProductCode() {
return productCode;
}
/**
* Sets the value of the productCode property.
*
* @param value allowed object is {@link String }
*/
public void setProductCode(String value) {
this.productCode = value;
}
/**
* Gets the value of the eanUpc property.
*
* @return possible object is {@link String }
*/
public String getEanUpc() {
return eanUpc;
}
/**
* Sets the value of the eanUpc property.
*
* @param value allowed object is {@link String }
*/
public void setEanUpc(String value) {
this.eanUpc = value;
}
/**
* Gets the value of the itemAmount property.
*
* @return possible object is {@link BigDecimal }
*/
public BigDecimal getItemAmount() {
return itemAmount;
}
/**
* Sets the value of the itemAmount property.
*
* @param value allowed object is {@link BigDecimal }
*/
public void setItemAmount(BigDecimal value) {
this.itemAmount = value;
}
/**
* Gets the value of the currency property.
*
* @return possible object is {@link String }
*/
public String getCurrency() {
return currency;
}
/**
* Sets the value of the currency property.
*
* @param value allowed object is {@link String }
*/
public void setCurrency(String value) {
this.currency = value;
}
}