protected static Types.Recipient RecipientJsonHelperToRecipient(RecipientJsonHelper helper)
        {
            List <Types.RecipientAccount> accounts = null;

            if (helper.Accounts != null)
            {
                accounts = new List <Types.RecipientAccount>();
                foreach (Types.RecipientAccount p in helper.Accounts)
                {
                    accounts.Add(p);
                }
            }

            Types.Recipient recipient = new Types.Recipient(helper.Type, helper.Email, helper.Name, helper.FirstName, helper.LastName, helper.Id, helper.ReferenceId, helper.Status, helper.TimeZone, helper.Language, helper.Dob, helper.GravatarUrl, helper.Compliance, accounts, helper.Address);
            return(recipient);
        }
 public RecipientResponseHelper(bool ok, RecipientJsonHelper recipient)
 {
     this.ok        = ok;
     this.recipient = recipient;
 }