Class TransactionTotals
- java.lang.Object
-
- com.adyen.model.nexo.TransactionTotals
-
public class TransactionTotals extends Object
Definition: Result of the Sale to POI Reconciliation processing. -- Usage: If Result is Success, contains all the totals, classified as required by the Sale in the messageType request. At least, transaction totals are provided per Acquirer, Acquirer Settlement, and Card Brand.Java class for TransactionTotals complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TransactionTotals"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="PaymentTotals" type="{}PaymentTotals" maxOccurs="10" minOccurs="0"/> <element name="LoyaltyTotals" type="{}LoyaltyTotals" maxOccurs="6" minOccurs="0"/> </sequence> <attribute name="PaymentInstrument" use="required" type="{}PaymentInstrumentType" /> <attribute name="AcquirerID" type="{}AcquirerID" /> <attribute name="ErrorCondition" type="{}ErrorConditionType" /> <attribute name="HostReconciliationID" type="{}HostReconciliationID" /> <attribute name="CardBrand" type="{}CardBrand" /> <attribute name="POIID" type="{}POIID" /> <attribute name="SaleID" type="{}SaleID" /> <attribute name="OperatorID" type="{}OperatorID" /> <attribute name="ShiftNumber" type="{}ShiftNumber" /> <attribute name="TotalsGroupID" type="{}TotalsGroupID" /> <attribute name="PaymentCurrency" type="{}ISOCurrency3A" /> <attribute name="LoyaltyUnit" type="{}LoyaltyUnitType" default="Point" /> <attribute name="LoyaltyCurrency" type="{}ISOCurrency3A" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringacquirerIDThe Acquirer id.protected StringcardBrandThe Card brand.protected ErrorConditionTypeerrorConditionThe Error condition.protected StringhostReconciliationIDThe Host reconciliation id.protected StringloyaltyCurrencyThe Loyalty currency.protected List<LoyaltyTotals>loyaltyTotalsThe Loyalty totals.protected LoyaltyUnitTypeloyaltyUnitThe Loyalty unit.protected StringoperatorIDThe Operator id.protected StringpaymentCurrencyThe Payment currency.protected PaymentInstrumentTypepaymentInstrumentTypeThe Payment instrument.protected List<PaymentTotals>paymentTotalsThe Payment totals.protected StringpoiidThe Poiid.protected StringsaleIDThe Sale id.protected StringshiftNumberThe Shift number.protected StringtotalsGroupIDThe Totals group id.
-
Constructor Summary
Constructors Constructor Description TransactionTotals()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAcquirerID()Gets the value of the acquirerID property.StringgetCardBrand()Gets the value of the cardBrand property.ErrorConditionTypegetErrorCondition()Gets the value of the errorCondition property.StringgetHostReconciliationID()Gets the value of the hostReconciliationID property.StringgetLoyaltyCurrency()Gets the value of the loyaltyCurrency property.List<LoyaltyTotals>getLoyaltyTotals()Gets the value of the loyaltyTotals property.LoyaltyUnitTypegetLoyaltyUnit()Gets the value of the loyaltyUnit property.StringgetOperatorID()Gets the value of the operatorID property.StringgetPaymentCurrency()Gets the value of the paymentCurrency property.PaymentInstrumentTypegetPaymentInstrumentType()Gets the value of the paymentInstrumentType property.List<PaymentTotals>getPaymentTotals()Gets the value of the paymentTotals property.StringgetPOIID()Gets the value of the poiid property.StringgetSaleID()Gets the value of the saleID property.StringgetShiftNumber()Gets the value of the shiftNumber property.StringgetTotalsGroupID()Gets the value of the totalsGroupID property.voidsetAcquirerID(String value)Sets the value of the acquirerID property.voidsetCardBrand(String value)Sets the value of the cardBrand property.voidsetErrorCondition(ErrorConditionType value)Sets the value of the errorCondition property.voidsetHostReconciliationID(String value)Sets the value of the hostReconciliationID property.voidsetLoyaltyCurrency(String value)Sets the value of the loyaltyCurrency property.voidsetLoyaltyUnit(LoyaltyUnitType value)Sets the value of the loyaltyUnit property.voidsetOperatorID(String value)Sets the value of the operatorID property.voidsetPaymentCurrency(String value)Sets the value of the paymentCurrency property.voidsetPaymentInstrumentType(PaymentInstrumentType value)Sets the value of the paymentInstrumentType property.voidsetPOIID(String value)Sets the value of the poiid property.voidsetSaleID(String value)Sets the value of the saleID property.voidsetShiftNumber(String value)Sets the value of the shiftNumber property.voidsetTotalsGroupID(String value)Sets the value of the totalsGroupID property.
-
-
-
Field Detail
-
paymentTotals
protected List<PaymentTotals> paymentTotals
The Payment totals.
-
loyaltyTotals
protected List<LoyaltyTotals> loyaltyTotals
The Loyalty totals.
-
paymentInstrumentType
protected PaymentInstrumentType paymentInstrumentType
The Payment instrument.
-
acquirerID
protected String acquirerID
The Acquirer id.
-
errorCondition
protected ErrorConditionType errorCondition
The Error condition.
-
hostReconciliationID
protected String hostReconciliationID
The Host reconciliation id.
-
cardBrand
protected String cardBrand
The Card brand.
-
poiid
protected String poiid
The Poiid.
-
saleID
protected String saleID
The Sale id.
-
operatorID
protected String operatorID
The Operator id.
-
shiftNumber
protected String shiftNumber
The Shift number.
-
totalsGroupID
protected String totalsGroupID
The Totals group id.
-
paymentCurrency
protected String paymentCurrency
The Payment currency.
-
loyaltyUnit
protected LoyaltyUnitType loyaltyUnit
The Loyalty unit.
-
loyaltyCurrency
protected String loyaltyCurrency
The Loyalty currency.
-
-
Method Detail
-
getPaymentTotals
public List<PaymentTotals> getPaymentTotals()
Gets the value of the paymentTotals 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 paymentTotals property.For example, to add a new item, do as follows:
getPaymentTotals().add(newItem);Objects of the following type(s) are allowed in the list
PaymentTotals- Returns:
- the payment totals
-
getLoyaltyTotals
public List<LoyaltyTotals> getLoyaltyTotals()
Gets the value of the loyaltyTotals 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 loyaltyTotals property.For example, to add a new item, do as follows:
getLoyaltyTotals().add(newItem);Objects of the following type(s) are allowed in the list
LoyaltyTotals- Returns:
- the loyalty totals
-
getPaymentInstrumentType
public PaymentInstrumentType getPaymentInstrumentType()
Gets the value of the paymentInstrumentType property.- Returns:
- possible object is
PaymentInstrumentType
-
setPaymentInstrumentType
public void setPaymentInstrumentType(PaymentInstrumentType value)
Sets the value of the paymentInstrumentType property.- Parameters:
value- allowed object isPaymentInstrumentType
-
getAcquirerID
public String getAcquirerID()
Gets the value of the acquirerID property.- Returns:
- possible object is
String
-
setAcquirerID
public void setAcquirerID(String value)
Sets the value of the acquirerID property.- Parameters:
value- allowed object isString
-
getErrorCondition
public ErrorConditionType getErrorCondition()
Gets the value of the errorCondition property.- Returns:
- possible object is
ErrorConditionType
-
setErrorCondition
public void setErrorCondition(ErrorConditionType value)
Sets the value of the errorCondition property.- Parameters:
value- allowed object isErrorConditionType
-
getHostReconciliationID
public String getHostReconciliationID()
Gets the value of the hostReconciliationID property.- Returns:
- possible object is
String
-
setHostReconciliationID
public void setHostReconciliationID(String value)
Sets the value of the hostReconciliationID property.- Parameters:
value- allowed object isString
-
getCardBrand
public String getCardBrand()
Gets the value of the cardBrand property.- Returns:
- possible object is
String
-
setCardBrand
public void setCardBrand(String value)
Sets the value of the cardBrand property.- Parameters:
value- allowed object isString
-
getPOIID
public String getPOIID()
Gets the value of the poiid property.- Returns:
- possible object is
String
-
setPOIID
public void setPOIID(String value)
Sets the value of the poiid property.- Parameters:
value- allowed object isString
-
getSaleID
public String getSaleID()
Gets the value of the saleID property.- Returns:
- possible object is
String
-
setSaleID
public void setSaleID(String value)
Sets the value of the saleID property.- Parameters:
value- allowed object isString
-
getOperatorID
public String getOperatorID()
Gets the value of the operatorID property.- Returns:
- possible object is
String
-
setOperatorID
public void setOperatorID(String value)
Sets the value of the operatorID property.- Parameters:
value- allowed object isString
-
getShiftNumber
public String getShiftNumber()
Gets the value of the shiftNumber property.- Returns:
- possible object is
String
-
setShiftNumber
public void setShiftNumber(String value)
Sets the value of the shiftNumber property.- Parameters:
value- allowed object isString
-
getTotalsGroupID
public String getTotalsGroupID()
Gets the value of the totalsGroupID property.- Returns:
- possible object is
String
-
setTotalsGroupID
public void setTotalsGroupID(String value)
Sets the value of the totalsGroupID property.- Parameters:
value- allowed object isString
-
getPaymentCurrency
public String getPaymentCurrency()
Gets the value of the paymentCurrency property.- Returns:
- possible object is
String
-
setPaymentCurrency
public void setPaymentCurrency(String value)
Sets the value of the paymentCurrency property.- Parameters:
value- allowed object isString
-
getLoyaltyUnit
public LoyaltyUnitType getLoyaltyUnit()
Gets the value of the loyaltyUnit property.- Returns:
- possible object is
LoyaltyUnitType
-
setLoyaltyUnit
public void setLoyaltyUnit(LoyaltyUnitType value)
Sets the value of the loyaltyUnit property.- Parameters:
value- allowed object isLoyaltyUnitType
-
getLoyaltyCurrency
public String getLoyaltyCurrency()
Gets the value of the loyaltyCurrency property.- Returns:
- possible object is
String
-
-