   subObj = (sub)->
     sub =
       plan        : sub.plan[0].plan_code[0]
-      quantity    : sub.quantity[0]['_']
+      quantity    : sub.quantity[0]._
       uuid        : sub.uuid[0]
       currency    : sub.currency[0]
       status      : sub.state[0]
-      datetime    : sub.activated_at[0]['_']
-      expires     : sub.expires_at[0]['_']
-      renew       : sub.current_period_ends_at[0]['_']
-      amount      : sub.unit_amount_in_cents[0]['_']
+      datetime    : sub.activated_at[0]._
+      expires     : sub.expires_at[0]._
+      renew       : sub.current_period_ends_at[0]._
+      amount      : sub.unit_amount_in_cents[0]._
 
     if s.pending_subscription
       sub.pending =
         plan      : sub.pending_subscription[0].plan[0].plan_code[0]
-        quantity  : sub.pending_subscription[0].quantity[0]['_']
+        quantity  : sub.pending_subscription[0].quantity[0]._
 
     return sub
 

      """

    @getAccount accountCode, (err, account)->
      if err or not res?.username
        post 'accounts', xml, callback
      else
        put "accounts/#{accountCode}", xml, callback

  @deleteAccount: (accountCode, callback)->


        <first_name>#{data.cardFirstName}</first_name>
        <last_name>#{data.cardLastName}</last_name>
        <address1>#{data.address}</address1>
        #{if data.city then #{"<state>#{data.city}</state>"} else ''}
        #{if data.state then #{"<state>#{data.state}</state>"} else ''}
        <zip>#{data.zip}</zip>
        <country>#{data.country}</country>

        <ip_address>#{data.ipAddress}</ip_address>
