Package com.adyen.model.transfers
Class TransferReview
- java.lang.Object
-
- com.adyen.model.transfers.TransferReview
-
public class TransferReview extends Object
TransferReview
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED
-
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 stringIntegergetNumberOfApprovalsRequired()Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.inthashCode()TransferReviewnumberOfApprovalsRequired(Integer numberOfApprovalsRequired)Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.voidsetNumberOfApprovalsRequired(Integer numberOfApprovalsRequired)Shows the number of [approvals](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers/approve) required to process the transfer.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
-
-
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-- 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
-
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-
-
equals
public boolean equals(Object o)
Return true if this TransferReview object is equal to o.
-
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
-
-