Package com.adyen.model.nexo
Class PaymentTransaction
- java.lang.Object
-
- com.adyen.model.nexo.PaymentTransaction
-
public class PaymentTransaction extends Object
Definition: Data related to the payment and loyalty transaction. -- Usage: Elements requested by the Sale System that are global to the payment or loyalty transaction.Java class for PaymentTransaction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PaymentTransaction"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="AmountsReq" type="{}AmountsReq"/> <element name="OriginalPOITransaction" type="{}OriginalPOITransaction" minOccurs="0"/> <element name="TransactionConditions" type="{}TransactionConditions" minOccurs="0"/> <element name="SaleItem" type="{}SaleItem" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AmountsReqamountsReqThe Amounts req.protected OriginalPOITransactionoriginalPOITransactionThe Original poi transaction.protected List<SaleItem>saleItemThe Sale item.protected TransactionConditionstransactionConditionsThe Transaction conditions.
-
Constructor Summary
Constructors Constructor Description PaymentTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmountsReqgetAmountsReq()Gets the value of the amountsReq property.OriginalPOITransactiongetOriginalPOITransaction()Gets the value of the originalPOITransaction property.List<SaleItem>getSaleItem()Gets the value of the saleItem property.TransactionConditionsgetTransactionConditions()Gets the value of the transactionConditions property.voidsetAmountsReq(AmountsReq value)Sets the value of the amountsReq property.voidsetOriginalPOITransaction(OriginalPOITransaction value)Sets the value of the originalPOITransaction property.voidsetTransactionConditions(TransactionConditions value)Sets the value of the transactionConditions property.
-
-
-
Field Detail
-
amountsReq
protected AmountsReq amountsReq
The Amounts req.
-
originalPOITransaction
protected OriginalPOITransaction originalPOITransaction
The Original poi transaction.
-
transactionConditions
protected TransactionConditions transactionConditions
The Transaction conditions.
-
-
Method Detail
-
getAmountsReq
public AmountsReq getAmountsReq()
Gets the value of the amountsReq property.- Returns:
- possible object is
AmountsReq
-
setAmountsReq
public void setAmountsReq(AmountsReq value)
Sets the value of the amountsReq property.- Parameters:
value- allowed object isAmountsReq
-
getOriginalPOITransaction
public OriginalPOITransaction getOriginalPOITransaction()
Gets the value of the originalPOITransaction property.- Returns:
- possible object is
OriginalPOITransaction
-
setOriginalPOITransaction
public void setOriginalPOITransaction(OriginalPOITransaction value)
Sets the value of the originalPOITransaction property.- Parameters:
value- allowed object isOriginalPOITransaction
-
getTransactionConditions
public TransactionConditions getTransactionConditions()
Gets the value of the transactionConditions property.- Returns:
- possible object is
TransactionConditions
-
setTransactionConditions
public void setTransactionConditions(TransactionConditions value)
Sets the value of the transactionConditions property.- Parameters:
value- allowed object isTransactionConditions
-
getSaleItem
public List<SaleItem> getSaleItem()
Gets the value of the saleItem 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
setmethod for the saleItem property.For example, to add a new item, do as follows:
getSaleItem().add(newItem);Objects of the following type(s) are allowed in the list
SaleItem- Returns:
- the sale item
-
-