Class TransferReview


  • public class TransferReview
    extends Object
    TransferReview
    • Field Detail

      • JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED

        public static final String JSON_PROPERTY_NUMBER_OF_APPROVALS_COMPLETED
        See Also:
        Constant Field Values
      • 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

      • numberOfApprovalsCompleted

        public TransferReview numberOfApprovalsCompleted​(Integer numberOfApprovalsCompleted)
        Shows the number of approvals completed for the transfer.
        Parameters:
        numberOfApprovalsCompleted -
        Returns:
        the current TransferReview instance, allowing for method chaining
      • getNumberOfApprovalsCompleted

        public Integer getNumberOfApprovalsCompleted()
        Shows the number of approvals completed for the transfer.
        Returns:
        numberOfApprovalsCompleted
      • setNumberOfApprovalsCompleted

        public void setNumberOfApprovalsCompleted​(Integer numberOfApprovalsCompleted)
        Shows the number of approvals completed for the transfer.
        Parameters:
        numberOfApprovalsCompleted -
      • 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 -
      • scaOnApproval

        public TransferReview scaOnApproval​(TransferReview.ScaOnApprovalEnum scaOnApproval)
        Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**.
        Parameters:
        scaOnApproval -
        Returns:
        the current TransferReview instance, allowing for method chaining
      • getScaOnApproval

        public TransferReview.ScaOnApprovalEnum getScaOnApproval()
        Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**.
        Returns:
        scaOnApproval
      • setScaOnApproval

        public void setScaOnApproval​(TransferReview.ScaOnApprovalEnum scaOnApproval)
        Shows the status of the Strong Customer Authentication (SCA) process. Possible values: **required**, **completed**, **notApplicable**.
        Parameters:
        scaOnApproval -
      • 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