     @cardFirstName  = xmlJs.first_name[0]
     @cardLastName   = xmlJs.last_name[0]
     @cardNumber     = "#{ (Array 13).join('*') }#{ xmlJs.last_four }"
-    @cardMonth      = xmlJs.month[0]._
-    @cardYear       = xmlJs.year[0]._
+    @cardMonth      = xmlJs.month[0]
+    @cardYear       = xmlJs.year[0]
     @cardCV         = '***'
     @cardType       = xmlJs.card_type[0]
     @address1       = xmlJs.address1[0]

    xmlJs = scrub xmlJs

    @uuid     = xmlJs.uuid[0]
    @amount   = xmlJs.total_in_cents[0]._
    @currency = xmlJs.currency[0]
    @state    = xmlJs.state[0]


  constructor: (xmlJs) ->
    xmlJs = scrub xmlJs

    @plan         = xmlJs.plan[0].plan_code[0]
    @quantity     = xmlJs.quantity[0]
    @uuid         = xmlJs.uuid[0]
    @currency     = xmlJs.currency[0]
    @status       = xmlJs.state[0]
    @activatedAt  = xmlJs.activated_at[0]
    @expiresAt    = xmlJs.expires_at[0]
    @renewAt      = xmlJs.current_period_ends_at[0]
    @amount       = xmlJs.unit_amount_in_cents[0].USD

    if xmlJs.pending_subscription
      @pending =
        plan      : xmlJs.pending_subscription[0].plan[0].plan_code[0]
        quantity  : xmlJs.pending_subscription[0].quantity[0]

class exports.Transaction
  #
