     @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]


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

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

    xmlJs = scrub xmlJs

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

