Class PaymentResult
- java.lang.Object
-
- com.adyen.model.nexo.PaymentResult
-
public class PaymentResult extends Object
Definition: Data related to the result of a processed payment transaction. -- Usage: In the Message Response, the result of card payment transaction.Java class for PaymentResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PaymentResult"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="PaymentInstrumentData" type="{}PaymentInstrumentData" minOccurs="0"/> <element name="AmountsResp" type="{}AmountsResp" minOccurs="0"/> <element name="Instalment" type="{}Instalment" minOccurs="0"/> <element name="CurrencyConversion" type="{}CurrencyConversion" maxOccurs="unbounded" minOccurs="0"/> <element name="CapturedSignature" type="{}CapturedSignature" minOccurs="0"/> <element name="ProtectedSignature" type="{}ContentInformation" minOccurs="0"/> <element name="PaymentAcquirerData" type="{}PaymentAcquirerData" minOccurs="0"/> </sequence> <attribute name="Payment" type="{}PaymentType" default="Normal" /> <attribute name="MerchantOverrideFlag" type="{}MerchantOverrideFlag" default="false" /> <attribute name="CustomerLanguage" type="{}ISOLanguage2A" /> <attribute name="OnlineFlag" type="{}OnlineFlag" default="true" /> <attribute name="AuthenticationMethod" type="{}AuthenticationMethod" /> <attribute name="ValidityDate" type="{}ISODate" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AmountsRespamountsRespThe Amounts resp.protected List<AuthenticationMethodType>authenticationMethodThe Authentication method.protected CapturedSignaturecapturedSignatureThe Captured signature.protected List<CurrencyConversion>currencyConversionThe Currency conversion.protected StringcustomerLanguageThe Customer language.protected InstalmentinstalmentThe Instalment.protected BooleanmerchantOverrideFlagThe Merchant override flag.protected BooleanonlineFlagThe Online flag.protected PaymentAcquirerDatapaymentAcquirerDataThe Payment acquirer data.protected PaymentInstrumentDatapaymentInstrumentDataThe Payment instrument data.protected PaymentTypepaymentTypeThe Payment type.protected ContentInformationprotectedSignatureThe Protected signature.protected StringvalidityDateThe Validity date.
-
Constructor Summary
Constructors Constructor Description PaymentResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmountsRespgetAmountsResp()Gets the value of the amountsResp property.List<AuthenticationMethodType>getAuthenticationMethod()Gets the value of the authenticationMethod property.CapturedSignaturegetCapturedSignature()Gets the value of the capturedSignature property.List<CurrencyConversion>getCurrencyConversion()Gets the value of the currencyConversion property.StringgetCustomerLanguage()Gets the value of the customerLanguage property.InstalmentgetInstalment()Gets the value of the instalment property.PaymentAcquirerDatagetPaymentAcquirerData()Gets the value of the paymentAcquirerData property.PaymentInstrumentDatagetPaymentInstrumentData()Gets the value of the paymentInstrumentData property.PaymentTypegetPaymentType()Gets the value of the PaymentType property.ContentInformationgetProtectedSignature()Gets the value of the protectedSignature property.StringgetValidityDate()Gets the value of the validityDate property.booleanisMerchantOverrideFlag()Gets the value of the merchantOverrideFlag property.booleanisOnlineFlag()Gets the value of the onlineFlag property.voidsetAmountsResp(AmountsResp value)Sets the value of the amountsResp property.voidsetCapturedSignature(CapturedSignature value)Sets the value of the capturedSignature property.voidsetCustomerLanguage(String value)Sets the value of the customerLanguage property.voidsetInstalment(Instalment value)Sets the value of the instalment property.voidsetMerchantOverrideFlag(Boolean value)Sets the value of the merchantOverrideFlag property.voidsetOnlineFlag(Boolean value)Sets the value of the onlineFlag property.voidsetPaymentAcquirerData(PaymentAcquirerData value)Sets the value of the paymentAcquirerData property.voidsetPaymentInstrumentData(PaymentInstrumentData value)Sets the value of the paymentInstrumentData property.voidsetPaymentType(PaymentType value)Sets the value of the PaymentType property.voidsetProtectedSignature(ContentInformation value)Sets the value of the protectedSignature property.voidsetValidityDate(String value)Sets the value of the validityDate property.
-
-
-
Field Detail
-
paymentInstrumentData
protected PaymentInstrumentData paymentInstrumentData
The Payment instrument data.
-
amountsResp
protected AmountsResp amountsResp
The Amounts resp.
-
instalment
protected Instalment instalment
The Instalment.
-
currencyConversion
protected List<CurrencyConversion> currencyConversion
The Currency conversion.
-
capturedSignature
protected CapturedSignature capturedSignature
The Captured signature.
-
protectedSignature
protected ContentInformation protectedSignature
The Protected signature.
-
paymentAcquirerData
protected PaymentAcquirerData paymentAcquirerData
The Payment acquirer data.
-
paymentType
protected PaymentType paymentType
The Payment type.
-
merchantOverrideFlag
protected Boolean merchantOverrideFlag
The Merchant override flag.
-
customerLanguage
protected String customerLanguage
The Customer language.
-
onlineFlag
protected Boolean onlineFlag
The Online flag.
-
authenticationMethod
protected List<AuthenticationMethodType> authenticationMethod
The Authentication method.
-
validityDate
protected String validityDate
The Validity date.
-
-
Method Detail
-
getPaymentInstrumentData
public PaymentInstrumentData getPaymentInstrumentData()
Gets the value of the paymentInstrumentData property.- Returns:
- possible object is
PaymentInstrumentData
-
setPaymentInstrumentData
public void setPaymentInstrumentData(PaymentInstrumentData value)
Sets the value of the paymentInstrumentData property.- Parameters:
value- allowed object isPaymentInstrumentData
-
getAmountsResp
public AmountsResp getAmountsResp()
Gets the value of the amountsResp property.- Returns:
- possible object is
AmountsResp
-
setAmountsResp
public void setAmountsResp(AmountsResp value)
Sets the value of the amountsResp property.- Parameters:
value- allowed object isAmountsResp
-
getInstalment
public Instalment getInstalment()
Gets the value of the instalment property.- Returns:
- possible object is
Instalment
-
setInstalment
public void setInstalment(Instalment value)
Sets the value of the instalment property.- Parameters:
value- allowed object isInstalment
-
getCurrencyConversion
public List<CurrencyConversion> getCurrencyConversion()
Gets the value of the currencyConversion 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 currencyConversion property.For example, to add a new item, do as follows:
getCurrencyConversion().add(newItem);Objects of the following type(s) are allowed in the list
CurrencyConversion- Returns:
- the currency conversion
-
getCapturedSignature
public CapturedSignature getCapturedSignature()
Gets the value of the capturedSignature property.- Returns:
- possible object is
CapturedSignature
-
setCapturedSignature
public void setCapturedSignature(CapturedSignature value)
Sets the value of the capturedSignature property.- Parameters:
value- allowed object isCapturedSignature
-
getProtectedSignature
public ContentInformation getProtectedSignature()
Gets the value of the protectedSignature property.- Returns:
- possible object is
ContentInformation
-
setProtectedSignature
public void setProtectedSignature(ContentInformation value)
Sets the value of the protectedSignature property.- Parameters:
value- allowed object isContentInformation
-
getPaymentAcquirerData
public PaymentAcquirerData getPaymentAcquirerData()
Gets the value of the paymentAcquirerData property.- Returns:
- possible object is
PaymentAcquirerData
-
setPaymentAcquirerData
public void setPaymentAcquirerData(PaymentAcquirerData value)
Sets the value of the paymentAcquirerData property.- Parameters:
value- allowed object isPaymentAcquirerData
-
getPaymentType
public PaymentType getPaymentType()
Gets the value of the PaymentType property.- Returns:
- possible object is
PaymentType
-
setPaymentType
public void setPaymentType(PaymentType value)
Sets the value of the PaymentType property.- Parameters:
value- allowed object isPaymentType
-
isMerchantOverrideFlag
public boolean isMerchantOverrideFlag()
Gets the value of the merchantOverrideFlag property.- Returns:
- possible object is
Boolean
-
setMerchantOverrideFlag
public void setMerchantOverrideFlag(Boolean value)
Sets the value of the merchantOverrideFlag property.- Parameters:
value- allowed object isBoolean
-
getCustomerLanguage
public String getCustomerLanguage()
Gets the value of the customerLanguage property.- Returns:
- possible object is
String
-
setCustomerLanguage
public void setCustomerLanguage(String value)
Sets the value of the customerLanguage property.- Parameters:
value- allowed object isString
-
isOnlineFlag
public boolean isOnlineFlag()
Gets the value of the onlineFlag property.- Returns:
- possible object is
Boolean
-
setOnlineFlag
public void setOnlineFlag(Boolean value)
Sets the value of the onlineFlag property.- Parameters:
value- allowed object isBoolean
-
getAuthenticationMethod
public List<AuthenticationMethodType> getAuthenticationMethod()
Gets the value of the authenticationMethod 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 authenticationMethod property.For example, to add a new item, do as follows:
getAuthenticationMethod().add(newItem);Objects of the following type(s) are allowed in the list
AuthenticationMethodType- Returns:
- the authentication method
-
getValidityDate
public String getValidityDate()
Gets the value of the validityDate property.- Returns:
- possible object is
String
-
-