Package com.adyen.model.transfers
Class TransferReview
- java.lang.Object
-
- com.adyen.model.transfers.TransferReview
-
public class TransferReview extends Object
TransferReview
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransferReview.ScaOnApprovalEnumShows the status of the Strong Customer Authentication (SCA) process.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIREDstatic StringJSON_PROPERTY_SCA_ON_APPROVAL
-
Constructor Summary
Constructors Constructor Description TransferReview()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this TransferReview object is equal to o.static TransferReviewfromJson(String jsonString)Create an instance of TransferReview given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.IntegergetNumberOfApprovalsRequired()Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.TransferReview.ScaOnApprovalEnumgetScaOnApproval()Shows the status of the Strong Customer Authentication (SCA) process.inthashCode()TransferReviewincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.TransferReviewnumberOfApprovalsRequired(Integer numberOfApprovalsRequired)Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.TransferReviewscaOnApproval(TransferReview.ScaOnApprovalEnum scaOnApproval)Shows the status of the Strong Customer Authentication (SCA) process.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetNumberOfApprovalsRequired(Integer numberOfApprovalsRequired)Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.voidsetScaOnApproval(TransferReview.ScaOnApprovalEnum scaOnApproval)Shows the status of the Strong Customer Authentication (SCA) process.StringtoJson()Convert an instance of TransferReview to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED
public static final String JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCA_ON_APPROVAL
public static final String JSON_PROPERTY_SCA_ON_APPROVAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
numberOfApprovalsRequired
public TransferReview numberOfApprovalsRequired(Integer numberOfApprovalsRequired)
Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.- Parameters:
numberOfApprovalsRequired- Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.- Returns:
- the current
TransferReviewinstance, allowing for method chaining
-
getNumberOfApprovalsRequired
public Integer getNumberOfApprovalsRequired()
Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.- Returns:
- numberOfApprovalsRequired Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.
-
setNumberOfApprovalsRequired
public void setNumberOfApprovalsRequired(Integer numberOfApprovalsRequired)
Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.- Parameters:
numberOfApprovalsRequired- Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.
-
scaOnApproval
public TransferReview scaOnApproval(TransferReview.ScaOnApprovalEnum scaOnApproval)
Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **notApplicable**.- Parameters:
scaOnApproval- Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **notApplicable**.- Returns:
- the current
TransferReviewinstance, allowing for method chaining
-
getScaOnApproval
public TransferReview.ScaOnApprovalEnum getScaOnApproval()
Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **notApplicable**.- Returns:
- scaOnApproval Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **notApplicable**.
-
setScaOnApproval
public void setScaOnApproval(TransferReview.ScaOnApprovalEnum scaOnApproval)
Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **notApplicable**.- Parameters:
scaOnApproval- Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **notApplicable**.
-
includeNullValues
public TransferReview includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this TransferReview object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static TransferReview fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransferReview given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferReview
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransferReview
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransferReview to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-