   @removeByCode$ = permit 'manage products',
     success: (client, planCode, callback) -> @removeByCode planCode, callback
 
+  # coffeelint: disable=no_implicit_braces
   remove: (callback) ->
     { planCode } = this
     super (err) ->

    JPaymentProduct = require './product'

    planCodes = Object.keys quantities
    productSelector = planCode: $in: planCodes

    for planCode in planCodes
      quantities[planCode] = +quantities[planCode]

        callback err
      else if planCode?
        recurly.deletePlan { planCode }, (err) ->
          return callback err  if err and err.short isnt 'not_found'

          callback null
      else
        callback null
