@nevermined-io/payments
    Preparing search index...

    Enumeration PlanRedemptionType

    Different types of redemptions criterias that can be used when redeeming credits

    0 - ONLY_GLOBAL_ROLE, 1 - ONLY_OWNER, 2 - ROLE_AND_OWNER If ONLY_GLOBAL_ROLE it means the credits can be redeemed only by an account with the CREDITS_BURNER_ROLE If ONLY_OWNER it means the credits can be redeemed only by the owner of the Plan If ONLY_PLAN_ROLE it means the credits can be redeemed by an account with specifics grants for the plan If ONLY_SUBSCRIBER means only the subscriber (the one who holds the credits NFT) can redeem

    Index

    Enumeration Members

    ONLY_GLOBAL_ROLE: 0
    ONLY_OWNER: 1
    ONLY_PLAN_ROLE: 2
    ONLY_SUBSCRIBER: 4