Package com.adyen.model.transfers
Class TransferRequestReview
- java.lang.Object
-
- com.adyen.model.transfers.TransferRequestReview
-
public class TransferRequestReview extends Object
TransferRequestReview
-
-
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 TransferRequestReview()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this TransferRequestReview object is equal to o.static TransferRequestReviewfromJson(String jsonString)Create an instance of TransferRequestReview given an JSON stringIntegergetNumberOfApprovalsRequired()Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.BooleangetScaOnApproval()Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request.inthashCode()TransferRequestReviewnumberOfApprovalsRequired(Integer numberOfApprovalsRequired)Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.TransferRequestReviewscaOnApproval(Boolean scaOnApproval)Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request.voidsetNumberOfApprovalsRequired(Integer numberOfApprovalsRequired)Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.voidsetScaOnApproval(Boolean scaOnApproval)Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request.StringtoJson()Convert an instance of TransferRequestReview 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 TransferRequestReview numberOfApprovalsRequired(Integer numberOfApprovalsRequired)
Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.- Parameters:
numberOfApprovalsRequired-- Returns:
- the current
TransferRequestReviewinstance, allowing for method chaining
-
getNumberOfApprovalsRequired
public Integer getNumberOfApprovalsRequired()
Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.- Returns:
- numberOfApprovalsRequired
-
setNumberOfApprovalsRequired
public void setNumberOfApprovalsRequired(Integer numberOfApprovalsRequired)
Specifies the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.- Parameters:
numberOfApprovalsRequired-
-
scaOnApproval
public TransferRequestReview scaOnApproval(Boolean scaOnApproval)
Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request. Only applies to transfers made with an Adyen [business account](https://docs.adyen.com/platforms/business-accounts).- Parameters:
scaOnApproval-- Returns:
- the current
TransferRequestReviewinstance, allowing for method chaining
-
getScaOnApproval
public Boolean getScaOnApproval()
Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request. Only applies to transfers made with an Adyen [business account](https://docs.adyen.com/platforms/business-accounts).- Returns:
- scaOnApproval
-
setScaOnApproval
public void setScaOnApproval(Boolean scaOnApproval)
Specifies whether you will initiate Strong Customer Authentication (SCA) in thePOST [/transfers/approve](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) request. Only applies to transfers made with an Adyen [business account](https://docs.adyen.com/platforms/business-accounts).- Parameters:
scaOnApproval-
-
equals
public boolean equals(Object o)
Return true if this TransferRequestReview object is equal to o.
-
fromJson
public static TransferRequestReview fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransferRequestReview given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferRequestReview
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransferRequestReview
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransferRequestReview to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-