public PaypalProfileInfo GetProfileInfo(string profileId)
        {
            PaypalProfileInfo info = null;
            if (!String.IsNullOrEmpty(profileId))
            {
                NvpGetRecurringPaymentsProfileDetails action = new NvpGetRecurringPaymentsProfileDetails();
                SetDefaults(action);

                action.Add(NvpGetRecurringPaymentsProfileDetails.Request.PROFILEID, profileId);
                Boolean result = action.Post();
                if (!result)
                    throw PaypalException.GenerateException(action);

                info = new PaypalProfileInfo(action);
            }

            return info;
        }
 public PaypalProfileInfo(Encore.PayPal.Nvp.NvpGetRecurringPaymentsProfileDetails action)
 {
     this.action = action;
 }