Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public PaypalProfileInfo(Encore.PayPal.Nvp.NvpGetRecurringPaymentsProfileDetails action)
 {
     this.action = action;
 }