Class RelayedAuthorisationRequest
- java.lang.Object
-
- com.adyen.model.relayedauthorizationwebhooks.RelayedAuthorisationRequest
-
public class RelayedAuthorisationRequest extends Object
RelayedAuthorisationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRelayedAuthorisationRequest.TypeEnumType of notification.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RelayedAuthorisationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelayedAuthorisationRequestaccountHolder(ResourceReference accountHolder)accountHolderRelayedAuthorisationRequestaddAmountAdjustmentsItem(AmountAdjustment amountAdjustmentsItem)RelayedAuthorisationRequestaddBalanceMutationsItem(BalanceMutation balanceMutationsItem)RelayedAuthorisationRequestaddScoresItem(TransactionScoring scoresItem)RelayedAuthorisationRequestaddValidationResultItem(ValidationResult validationResultItem)RelayedAuthorisationRequestamount(Amount amount)amountRelayedAuthorisationRequestamountAdjustments(List<AmountAdjustment> amountAdjustments)The amount adjustments in the transaction.RelayedAuthorisationRequestauthCode(String authCode)The authorization code for the payment.RelayedAuthorisationRequestauthorisationDecision(AuthorisationDecisionRequest authorisationDecision)authorisationDecisionRelayedAuthorisationRequestauthorisationType(String authorisationType)The authorization type.RelayedAuthorisationRequestbalanceAccount(ResourceReference balanceAccount)balanceAccountRelayedAuthorisationRequestbalanceMutations(List<BalanceMutation> balanceMutations)The list of balance mutations per event.RelayedAuthorisationRequestbalancePlatform(String balancePlatform)The unique identifier of the balance platform.RelayedAuthorisationRequestentryMode(String entryMode)The entry mode of the information of the payment instrument.RelayedAuthorisationRequestenvironment(String environment)The environment from which the webhook originated.booleanequals(Object o)Return true if this RelayedAuthorisationRequest object is equal to o.static RelayedAuthorisationRequestfromJson(String jsonString)Create an instance of RelayedAuthorisationRequest given an JSON stringResourceReferencegetAccountHolder()Get accountHolderAmountgetAmount()Get amountList<AmountAdjustment>getAmountAdjustments()The amount adjustments in the transaction.StringgetAuthCode()The authorization code for the payment.AuthorisationDecisionRequestgetAuthorisationDecision()Get authorisationDecisionStringgetAuthorisationType()The authorization type.ResourceReferencegetBalanceAccount()Get balanceAccountList<BalanceMutation>getBalanceMutations()The list of balance mutations per event.StringgetBalancePlatform()The unique identifier of the balance platform.StringgetEntryMode()The entry mode of the information of the payment instrument.StringgetEnvironment()The environment from which the webhook originated.StringgetId()The unique identifier of the transfer.MerchantDatagetMerchantData()Get merchantDataAmountgetOriginalAmount()Get originalAmountPaymentInstrumentgetPaymentInstrument()Get paymentInstrumentStringgetProcessingType()The processing type used for this payment.StringgetReference()The reference of the payment.IntegergetSchemeRiskScore()The risk score provided by the card schemes.StringgetSchemeTraceId()The identifier of the original payment.StringgetSchemeUniqueTransactionId()The unique identifier created by the scheme.List<TransactionScoring>getScores()The list of transaction scores.ThreeDSecuregetThreeDSecure()Get threeDSecureTransactionRulesResultgetTransactionRulesResult()Get transactionRulesResultRelayedAuthorisationRequest.TypeEnumgetType()Type of notification.List<ValidationResult>getValidationResult()Contains the checks that Adyen performed to validate the payment and the result of each.inthashCode()RelayedAuthorisationRequestid(String id)The unique identifier of the transfer.RelayedAuthorisationRequestmerchantData(MerchantData merchantData)merchantDataRelayedAuthorisationRequestoriginalAmount(Amount originalAmount)originalAmountRelayedAuthorisationRequestpaymentInstrument(PaymentInstrument paymentInstrument)paymentInstrumentRelayedAuthorisationRequestprocessingType(String processingType)The processing type used for this payment.RelayedAuthorisationRequestreference(String reference)The reference of the payment.RelayedAuthorisationRequestschemeRiskScore(Integer schemeRiskScore)The risk score provided by the card schemes.RelayedAuthorisationRequestschemeTraceId(String schemeTraceId)The identifier of the original payment.RelayedAuthorisationRequestschemeUniqueTransactionId(String schemeUniqueTransactionId)The unique identifier created by the scheme.RelayedAuthorisationRequestscores(List<TransactionScoring> scores)The list of transaction scores.voidsetAccountHolder(ResourceReference accountHolder)accountHoldervoidsetAmount(Amount amount)amountvoidsetAmountAdjustments(List<AmountAdjustment> amountAdjustments)The amount adjustments in the transaction.voidsetAuthCode(String authCode)The authorization code for the payment.voidsetAuthorisationDecision(AuthorisationDecisionRequest authorisationDecision)authorisationDecisionvoidsetAuthorisationType(String authorisationType)The authorization type.voidsetBalanceAccount(ResourceReference balanceAccount)balanceAccountvoidsetBalanceMutations(List<BalanceMutation> balanceMutations)The list of balance mutations per event.voidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetEntryMode(String entryMode)The entry mode of the information of the payment instrument.voidsetEnvironment(String environment)The environment from which the webhook originated.voidsetId(String id)The unique identifier of the transfer.voidsetMerchantData(MerchantData merchantData)merchantDatavoidsetOriginalAmount(Amount originalAmount)originalAmountvoidsetPaymentInstrument(PaymentInstrument paymentInstrument)paymentInstrumentvoidsetProcessingType(String processingType)The processing type used for this payment.voidsetReference(String reference)The reference of the payment.voidsetSchemeRiskScore(Integer schemeRiskScore)The risk score provided by the card schemes.voidsetSchemeTraceId(String schemeTraceId)The identifier of the original payment.voidsetSchemeUniqueTransactionId(String schemeUniqueTransactionId)The unique identifier created by the scheme.voidsetScores(List<TransactionScoring> scores)The list of transaction scores.voidsetThreeDSecure(ThreeDSecure threeDSecure)threeDSecurevoidsetTransactionRulesResult(TransactionRulesResult transactionRulesResult)transactionRulesResultvoidsetType(RelayedAuthorisationRequest.TypeEnum type)Type of notification.voidsetValidationResult(List<ValidationResult> validationResult)Contains the checks that Adyen performed to validate the payment and the result of each.RelayedAuthorisationRequestthreeDSecure(ThreeDSecure threeDSecure)threeDSecureStringtoJson()Convert an instance of RelayedAuthorisationRequest to an JSON stringStringtoString()RelayedAuthorisationRequesttransactionRulesResult(TransactionRulesResult transactionRulesResult)transactionRulesResultRelayedAuthorisationRequesttype(RelayedAuthorisationRequest.TypeEnum type)Type of notification.RelayedAuthorisationRequestvalidationResult(List<ValidationResult> validationResult)Contains the checks that Adyen performed to validate the payment and the result of each.
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER
public static final String JSON_PROPERTY_ACCOUNT_HOLDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT_ADJUSTMENTS
public static final String JSON_PROPERTY_AMOUNT_ADJUSTMENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTH_CODE
public static final String JSON_PROPERTY_AUTH_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHORISATION_DECISION
public static final String JSON_PROPERTY_AUTHORISATION_DECISION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHORISATION_TYPE
public static final String JSON_PROPERTY_AUTHORISATION_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_ACCOUNT
public static final String JSON_PROPERTY_BALANCE_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_MUTATIONS
public static final String JSON_PROPERTY_BALANCE_MUTATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTRY_MODE
public static final String JSON_PROPERTY_ENTRY_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENVIRONMENT
public static final String JSON_PROPERTY_ENVIRONMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_DATA
public static final String JSON_PROPERTY_MERCHANT_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ORIGINAL_AMOUNT
public static final String JSON_PROPERTY_ORIGINAL_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_INSTRUMENT
public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROCESSING_TYPE
public static final String JSON_PROPERTY_PROCESSING_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEME_RISK_SCORE
public static final String JSON_PROPERTY_SCHEME_RISK_SCORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEME_TRACE_ID
public static final String JSON_PROPERTY_SCHEME_TRACE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEME_UNIQUE_TRANSACTION_ID
public static final String JSON_PROPERTY_SCHEME_UNIQUE_TRANSACTION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCORES
public static final String JSON_PROPERTY_SCORES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_SECURE
public static final String JSON_PROPERTY_THREE_D_SECURE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSACTION_RULES_RESULT
public static final String JSON_PROPERTY_TRANSACTION_RULES_RESULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALIDATION_RESULT
public static final String JSON_PROPERTY_VALIDATION_RESULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolder
public RelayedAuthorisationRequest accountHolder(ResourceReference accountHolder)
accountHolder- Parameters:
accountHolder-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getAccountHolder
public ResourceReference getAccountHolder()
Get accountHolder- Returns:
- accountHolder
-
setAccountHolder
public void setAccountHolder(ResourceReference accountHolder)
accountHolder- Parameters:
accountHolder-
-
amount
public RelayedAuthorisationRequest amount(Amount amount)
amount- Parameters:
amount-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
amount- Parameters:
amount-
-
amountAdjustments
public RelayedAuthorisationRequest amountAdjustments(List<AmountAdjustment> amountAdjustments)
The amount adjustments in the transaction.- Parameters:
amountAdjustments- The amount adjustments in the transaction.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
addAmountAdjustmentsItem
public RelayedAuthorisationRequest addAmountAdjustmentsItem(AmountAdjustment amountAdjustmentsItem)
-
getAmountAdjustments
public List<AmountAdjustment> getAmountAdjustments()
The amount adjustments in the transaction.- Returns:
- amountAdjustments The amount adjustments in the transaction.
-
setAmountAdjustments
public void setAmountAdjustments(List<AmountAdjustment> amountAdjustments)
The amount adjustments in the transaction.- Parameters:
amountAdjustments- The amount adjustments in the transaction.
-
authCode
public RelayedAuthorisationRequest authCode(String authCode)
The authorization code for the payment.- Parameters:
authCode- The authorization code for the payment.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getAuthCode
public String getAuthCode()
The authorization code for the payment.- Returns:
- authCode The authorization code for the payment.
-
setAuthCode
public void setAuthCode(String authCode)
The authorization code for the payment.- Parameters:
authCode- The authorization code for the payment.
-
authorisationDecision
public RelayedAuthorisationRequest authorisationDecision(AuthorisationDecisionRequest authorisationDecision)
authorisationDecision- Parameters:
authorisationDecision-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getAuthorisationDecision
public AuthorisationDecisionRequest getAuthorisationDecision()
Get authorisationDecision- Returns:
- authorisationDecision
-
setAuthorisationDecision
public void setAuthorisationDecision(AuthorisationDecisionRequest authorisationDecision)
authorisationDecision- Parameters:
authorisationDecision-
-
authorisationType
public RelayedAuthorisationRequest authorisationType(String authorisationType)
The authorization type. Possible values: * **finalAuthorisation** * **preAuthorisation** * **defaultAuthorisation**- Parameters:
authorisationType- The authorization type. Possible values: * **finalAuthorisation** * **preAuthorisation** * **defaultAuthorisation**- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getAuthorisationType
public String getAuthorisationType()
The authorization type. Possible values: * **finalAuthorisation** * **preAuthorisation** * **defaultAuthorisation**- Returns:
- authorisationType The authorization type. Possible values: * **finalAuthorisation** * **preAuthorisation** * **defaultAuthorisation**
-
setAuthorisationType
public void setAuthorisationType(String authorisationType)
The authorization type. Possible values: * **finalAuthorisation** * **preAuthorisation** * **defaultAuthorisation**- Parameters:
authorisationType- The authorization type. Possible values: * **finalAuthorisation** * **preAuthorisation** * **defaultAuthorisation**
-
balanceAccount
public RelayedAuthorisationRequest balanceAccount(ResourceReference balanceAccount)
balanceAccount- Parameters:
balanceAccount-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getBalanceAccount
public ResourceReference getBalanceAccount()
Get balanceAccount- Returns:
- balanceAccount
-
setBalanceAccount
public void setBalanceAccount(ResourceReference balanceAccount)
balanceAccount- Parameters:
balanceAccount-
-
balanceMutations
public RelayedAuthorisationRequest balanceMutations(List<BalanceMutation> balanceMutations)
The list of balance mutations per event.- Parameters:
balanceMutations- The list of balance mutations per event.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
addBalanceMutationsItem
public RelayedAuthorisationRequest addBalanceMutationsItem(BalanceMutation balanceMutationsItem)
-
getBalanceMutations
public List<BalanceMutation> getBalanceMutations()
The list of balance mutations per event.- Returns:
- balanceMutations The list of balance mutations per event.
-
setBalanceMutations
public void setBalanceMutations(List<BalanceMutation> balanceMutations)
The list of balance mutations per event.- Parameters:
balanceMutations- The list of balance mutations per event.
-
balancePlatform
public RelayedAuthorisationRequest balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform The unique identifier of the balance platform.
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.
-
entryMode
public RelayedAuthorisationRequest entryMode(String entryMode)
The entry mode of the information of the payment instrument. For example: **contactless**, **chip**, **magstripe**.- Parameters:
entryMode- The entry mode of the information of the payment instrument. For example: **contactless**, **chip**, **magstripe**.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getEntryMode
public String getEntryMode()
The entry mode of the information of the payment instrument. For example: **contactless**, **chip**, **magstripe**.- Returns:
- entryMode The entry mode of the information of the payment instrument. For example: **contactless**, **chip**, **magstripe**.
-
setEntryMode
public void setEntryMode(String entryMode)
The entry mode of the information of the payment instrument. For example: **contactless**, **chip**, **magstripe**.- Parameters:
entryMode- The entry mode of the information of the payment instrument. For example: **contactless**, **chip**, **magstripe**.
-
environment
public RelayedAuthorisationRequest environment(String environment)
The environment from which the webhook originated. Possible values: **test**, **live**.- Parameters:
environment- The environment from which the webhook originated. Possible values: **test**, **live**.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getEnvironment
public String getEnvironment()
The environment from which the webhook originated. Possible values: **test**, **live**.- Returns:
- environment The environment from which the webhook originated. Possible values: **test**, **live**.
-
setEnvironment
public void setEnvironment(String environment)
The environment from which the webhook originated. Possible values: **test**, **live**.- Parameters:
environment- The environment from which the webhook originated. Possible values: **test**, **live**.
-
id
public RelayedAuthorisationRequest id(String id)
The unique identifier of the transfer.- Parameters:
id- The unique identifier of the transfer.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the transfer.- Returns:
- id The unique identifier of the transfer.
-
setId
public void setId(String id)
The unique identifier of the transfer.- Parameters:
id- The unique identifier of the transfer.
-
merchantData
public RelayedAuthorisationRequest merchantData(MerchantData merchantData)
merchantData- Parameters:
merchantData-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getMerchantData
public MerchantData getMerchantData()
Get merchantData- Returns:
- merchantData
-
setMerchantData
public void setMerchantData(MerchantData merchantData)
merchantData- Parameters:
merchantData-
-
originalAmount
public RelayedAuthorisationRequest originalAmount(Amount originalAmount)
originalAmount- Parameters:
originalAmount-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getOriginalAmount
public Amount getOriginalAmount()
Get originalAmount- Returns:
- originalAmount
-
setOriginalAmount
public void setOriginalAmount(Amount originalAmount)
originalAmount- Parameters:
originalAmount-
-
paymentInstrument
public RelayedAuthorisationRequest paymentInstrument(PaymentInstrument paymentInstrument)
paymentInstrument- Parameters:
paymentInstrument-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getPaymentInstrument
public PaymentInstrument getPaymentInstrument()
Get paymentInstrument- Returns:
- paymentInstrument
-
setPaymentInstrument
public void setPaymentInstrument(PaymentInstrument paymentInstrument)
paymentInstrument- Parameters:
paymentInstrument-
-
processingType
public RelayedAuthorisationRequest processingType(String processingType)
The processing type used for this payment. For example: **ecommerce**, **pos**, **moto**.- Parameters:
processingType- The processing type used for this payment. For example: **ecommerce**, **pos**, **moto**.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getProcessingType
public String getProcessingType()
The processing type used for this payment. For example: **ecommerce**, **pos**, **moto**.- Returns:
- processingType The processing type used for this payment. For example: **ecommerce**, **pos**, **moto**.
-
setProcessingType
public void setProcessingType(String processingType)
The processing type used for this payment. For example: **ecommerce**, **pos**, **moto**.- Parameters:
processingType- The processing type used for this payment. For example: **ecommerce**, **pos**, **moto**.
-
reference
public RelayedAuthorisationRequest reference(String reference)
The reference of the payment.- Parameters:
reference- The reference of the payment.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getReference
public String getReference()
The reference of the payment.- Returns:
- reference The reference of the payment.
-
setReference
public void setReference(String reference)
The reference of the payment.- Parameters:
reference- The reference of the payment.
-
schemeRiskScore
public RelayedAuthorisationRequest schemeRiskScore(Integer schemeRiskScore)
The risk score provided by the card schemes.- Parameters:
schemeRiskScore- The risk score provided by the card schemes.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getSchemeRiskScore
public Integer getSchemeRiskScore()
The risk score provided by the card schemes.- Returns:
- schemeRiskScore The risk score provided by the card schemes.
-
setSchemeRiskScore
public void setSchemeRiskScore(Integer schemeRiskScore)
The risk score provided by the card schemes.- Parameters:
schemeRiskScore- The risk score provided by the card schemes.
-
schemeTraceId
public RelayedAuthorisationRequest schemeTraceId(String schemeTraceId)
The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme.- Parameters:
schemeTraceId- The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getSchemeTraceId
public String getSchemeTraceId()
The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme.- Returns:
- schemeTraceId The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme.
-
setSchemeTraceId
public void setSchemeTraceId(String schemeTraceId)
The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme.- Parameters:
schemeTraceId- The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme.
-
schemeUniqueTransactionId
public RelayedAuthorisationRequest schemeUniqueTransactionId(String schemeUniqueTransactionId)
The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.- Parameters:
schemeUniqueTransactionId- The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getSchemeUniqueTransactionId
public String getSchemeUniqueTransactionId()
The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.- Returns:
- schemeUniqueTransactionId The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.
-
setSchemeUniqueTransactionId
public void setSchemeUniqueTransactionId(String schemeUniqueTransactionId)
The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.- Parameters:
schemeUniqueTransactionId- The unique identifier created by the scheme. This ID can be alphanumeric or numeric depending on the scheme.
-
scores
public RelayedAuthorisationRequest scores(List<TransactionScoring> scores)
The list of transaction scores.- Parameters:
scores- The list of transaction scores.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
addScoresItem
public RelayedAuthorisationRequest addScoresItem(TransactionScoring scoresItem)
-
getScores
public List<TransactionScoring> getScores()
The list of transaction scores.- Returns:
- scores The list of transaction scores.
-
setScores
public void setScores(List<TransactionScoring> scores)
The list of transaction scores.- Parameters:
scores- The list of transaction scores.
-
threeDSecure
public RelayedAuthorisationRequest threeDSecure(ThreeDSecure threeDSecure)
threeDSecure- Parameters:
threeDSecure-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getThreeDSecure
public ThreeDSecure getThreeDSecure()
Get threeDSecure- Returns:
- threeDSecure
-
setThreeDSecure
public void setThreeDSecure(ThreeDSecure threeDSecure)
threeDSecure- Parameters:
threeDSecure-
-
transactionRulesResult
public RelayedAuthorisationRequest transactionRulesResult(TransactionRulesResult transactionRulesResult)
transactionRulesResult- Parameters:
transactionRulesResult-- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getTransactionRulesResult
public TransactionRulesResult getTransactionRulesResult()
Get transactionRulesResult- Returns:
- transactionRulesResult
-
setTransactionRulesResult
public void setTransactionRulesResult(TransactionRulesResult transactionRulesResult)
transactionRulesResult- Parameters:
transactionRulesResult-
-
type
public RelayedAuthorisationRequest type(RelayedAuthorisationRequest.TypeEnum type)
Type of notification.- Parameters:
type- Type of notification.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
getType
public RelayedAuthorisationRequest.TypeEnum getType()
Type of notification.- Returns:
- type Type of notification.
-
setType
public void setType(RelayedAuthorisationRequest.TypeEnum type)
Type of notification.- Parameters:
type- Type of notification.
-
validationResult
public RelayedAuthorisationRequest validationResult(List<ValidationResult> validationResult)
Contains the checks that Adyen performed to validate the payment and the result of each.- Parameters:
validationResult- Contains the checks that Adyen performed to validate the payment and the result of each.- Returns:
- the current
RelayedAuthorisationRequestinstance, allowing for method chaining
-
addValidationResultItem
public RelayedAuthorisationRequest addValidationResultItem(ValidationResult validationResultItem)
-
getValidationResult
public List<ValidationResult> getValidationResult()
Contains the checks that Adyen performed to validate the payment and the result of each.- Returns:
- validationResult Contains the checks that Adyen performed to validate the payment and the result of each.
-
setValidationResult
public void setValidationResult(List<ValidationResult> validationResult)
Contains the checks that Adyen performed to validate the payment and the result of each.- Parameters:
validationResult- Contains the checks that Adyen performed to validate the payment and the result of each.
-
equals
public boolean equals(Object o)
Return true if this RelayedAuthorisationRequest object is equal to o.
-
fromJson
public static RelayedAuthorisationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RelayedAuthorisationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RelayedAuthorisationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RelayedAuthorisationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RelayedAuthorisationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-