 
         callback null, subs
 
-  @checkUserSubscription = secure ({connection:{delegate}}, planCode, callback)->
-    throw Error 'reimplement this!'
-
   isOwnedBy: (account, callback) ->
     account.hasTarget this, 'service subscription', callback
 

    indexes         :
      uuid          : 'unique'
    sharedMethods   :
      static        : [
        'fetchUserSubscriptions'
        'fetchUserSubscriptionsWithPlan'
        'checkUserSubscription'
      ]
      instance      : [
        'cancel'
        'resume'
        'calculateRefund'
        'checkUsage'
        'debit'
        'credit'
        'transitionTo'
      ]
    schema          :
      uuid          : String
      planCode      : String


module.exports = class JPaymentSubscription extends jraphical.Module

  {secure, dash, daisy, signature} = require 'bongo'
  JUser    = require '../user'
  JPayment = require './index'

