com.adyen.model.nexo.StoredValueResult 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: Result of loading/reloading a stored value card.. -- Usage: For each stored value card loaded or reloaded, in the StoredValue response messageType
*
* Java class for StoredValueResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StoredValueResult">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StoredValueAccountStatus" type="{}StoredValueAccountStatus"/>
* <element name="HostTransactionID" type="{}TransactionIdentification" minOccurs="0"/>
* </sequence>
* <attribute name="StoredValueTransaction" use="required" type="{}StoredValueTransactionType" />
* <attribute name="ProductCode" use="required" 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 = "StoredValueResult", propOrder = {
"storedValueAccountStatus",
"hostTransactionID"
})
public class StoredValueResult {
/**
* The Stored value account status.
*/
@XmlElement(name = "StoredValueAccountStatus", required = true)
protected StoredValueAccountStatus storedValueAccountStatus;
/**
* The Host transaction id.
*/
@XmlElement(name = "HostTransactionID")
protected TransactionIdentification hostTransactionID;
/**
* The Stored value transaction.
*/
@XmlAttribute(name = "StoredValueTransactionType", required = true)
protected StoredValueTransactionType storedValueTransactionType;
/**
* The Product code.
*/
@XmlAttribute(name = "ProductCode", required = true)
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 storedValueAccountStatus property.
*
* @return possible object is {@link StoredValueAccountStatus }
*/
public StoredValueAccountStatus getStoredValueAccountStatus() {
return storedValueAccountStatus;
}
/**
* Sets the value of the storedValueAccountStatus property.
*
* @param value allowed object is {@link StoredValueAccountStatus }
*/
public void setStoredValueAccountStatus(StoredValueAccountStatus value) {
this.storedValueAccountStatus = value;
}
/**
* Gets the value of the hostTransactionID property.
*
* @return possible object is {@link TransactionIdentification }
*/
public TransactionIdentification getHostTransactionID() {
return hostTransactionID;
}
/**
* Sets the value of the hostTransactionID property.
*
* @param value allowed object is {@link TransactionIdentification }
*/
public void setHostTransactionID(TransactionIdentification value) {
this.hostTransactionID = 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;
}
}