     return @modal
 
   fetchBillingInfo: (type, callback) ->
-    
+
     { JPaymentPlan } = KD.remote.api
 
     switch type

        JPaymentPlan.fetchAccountDetails callback

  updateBillingInfo: (billingInfo, callback) ->
    
    { JPayment } = KD.remote.api

    JPayment.setBillingInfo billingInfo, (err, result)->
      debugger


  createBillingInfoModal:(type, billingInfo) ->

      return @utils.defer => callback null, @countries, @countryOfIp

    ip = $.cookie 'clientIPAddress'

    JPayment.fetchCountryDataByIp ip, (err, @countries, @countryOfIp) =>
      callback err, @countries, @countryOfIp

