Class TransferReview


  • public class TransferReview
    extends Object
    TransferReview
    • Field Detail

      • JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED

        public static final String JSON_PROPERTY_NUMBER_OF_APPROVALS_REQUIRED
        See Also:
        Constant Field Values
    • Constructor Detail

      • TransferReview

        public TransferReview()
    • 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 TransferReview instance, 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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