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
@SerializedName("PaymentInstrumentData") protected PaymentInstrumentData paymentInstrumentDataThe Payment instrument data.
-
amountsResp
@SerializedName("AmountsResp") protected AmountsResp amountsRespThe Amounts resp.
-
instalment
@SerializedName("Instalment") protected Instalment instalmentThe Instalment.
-
currencyConversion
@SerializedName("CurrencyConversion") protected List<CurrencyConversion> currencyConversionThe Currency conversion.
-
capturedSignature
@SerializedName("CapturedSignature") protected CapturedSignature capturedSignatureThe Captured signature.
-
protectedSignature
@SerializedName("ProtectedSignature") protected ContentInformation protectedSignatureThe Protected signature.
-
paymentAcquirerData
@SerializedName("PaymentAcquirerData") protected PaymentAcquirerData paymentAcquirerDataThe Payment acquirer data.
-
paymentType
@SerializedName("PaymentType") protected PaymentType paymentTypeThe Payment type.
-
merchantOverrideFlag
@SerializedName("MerchantOverrideFlag") protected Boolean merchantOverrideFlagThe Merchant override flag.
-
customerLanguage
@SerializedName("CustomerLanguage") protected String customerLanguageThe Customer language.
-
onlineFlag
@SerializedName("OnlineFlag") protected Boolean onlineFlagThe Online flag.
-
authenticationMethod
@SerializedName("AuthenticationMethod") protected List<AuthenticationMethodType> authenticationMethodThe Authentication method.
-
validityDate
@SerializedName("ValidityDate") protected String validityDateThe 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
-
-