     xmlJs = scrub xmlJs
 
     @uuid         = xmlJs.uuid[0]
-    @amount       = xmlJs.total_in_cents[0]._
+    @amount       = xmlJs.total_in_cents[0]
     @currency     = xmlJs.currency[0]
     @description  = if xmlJs.description[0].$ then '' else xmlJs.description[0]
     @type         = xmlJs.$.type


  if obj?[0]?.$?.nil?
  then [ null ]
  else obj

ifString = (str)-> if typeof str is 'string' then str else ''

    @title        = xmlJs.name[0]
    @code         = xmlJs.plan_code[0]
    @desc         = ifString xmlJs.description[0]
    @feeMonthly   = xmlJs.unit_amount_in_cents[0].USD
    @feeInitial   = xmlJs.setup_fee_in_cents[0].USD
    @feeInterval  = xmlJs.plan_interval_length

class exports.Subscription
  #
