Class FulfillEscrowReward


  • public class FulfillEscrowReward
    extends Object
    • Field Detail

      • log

        private static final org.apache.logging.log4j.Logger log
    • Constructor Detail

      • FulfillEscrowReward

        public FulfillEscrowReward()
    • Method Detail

      • executeFulfill

        public static Boolean executeFulfill​(io.keyko.nevermined.contracts.EscrowReward escrowReward,
                                             String serviceAgreementId,
                                             String lockRewardAddress,
                                             String price,
                                             String consumerAddress,
                                             String lockConditionId,
                                             String releaseConditionId)
                                      throws EscrowRewardException
        Executes a fulfill function of a EscrowReward Condition
        Parameters:
        escrowReward - the EscrowReward contract
        serviceAgreementId - the service agreement id
        lockRewardAddress - the address of the lockReward contract
        price - price of the asset
        consumerAddress - the Address of the consumer
        lockConditionId - the id of the lock condition
        releaseConditionId - the id of the release condition
        Returns:
        a flag that indicates if the function was executed correctly
        Throws:
        EscrowRewardException - EscrowRewardException