public ExpectedBusiness(string name,
                         string sport,
                         string currency,
                         bool isOnlinePaymentEnabled,
                         bool?forceOnlinePayment,
                         string paymentProvider,
                         string merchantAccountIdentifier,
                         Guid?adminId,
                         string firstName,
                         string lastName,
                         string email,
                         string phone,
                         string password,
                         DateTime?createdOn  = null,
                         string subscription = Constants.SUBSCRIPTION_TRIAL)
 {
     Name             = name;
     Sport            = sport;
     CreatedOn        = createdOn ?? DateTime.UtcNow;
     AuthorisedUntil  = CreatedOn.AddDays(30);
     SubscriptionPlan = subscription;
     Admin            = new ApiBusinessAdmin
     {
         id        = adminId,
         firstName = firstName,
         lastName  = lastName,
         email     = UserName = email,
         phone     = phone,
         password  = Password = password
     };
     Payment = new ApiBusinessPaymentOptions
     {
         currency = currency,
         isOnlinePaymentEnabled    = isOnlinePaymentEnabled,
         forceOnlinePayment        = forceOnlinePayment,
         paymentProvider           = paymentProvider,
         merchantAccountIdentifier = merchantAccountIdentifier
     };
 }
 public ExpectedBusiness(ExpectedBusiness business)
 {
     Name             = business.Name;
     CreatedOn        = business.CreatedOn;
     AuthorisedUntil  = business.AuthorisedUntil;
     SubscriptionPlan = business.SubscriptionPlan;
     Admin            = new ApiBusinessAdmin
     {
         id        = business.Admin.id,
         firstName = business.Admin.firstName,
         lastName  = business.Admin.lastName,
         email     = UserName = business.Admin.email,
         phone     = business.Admin.phone,
         password  = Password = business.Admin.password
     };
     Payment = new ApiBusinessPaymentOptions
     {
         currency = business.Payment.currency,
         isOnlinePaymentEnabled    = business.Payment.isOnlinePaymentEnabled,
         forceOnlinePayment        = business.Payment.forceOnlinePayment,
         paymentProvider           = business.Payment.paymentProvider,
         merchantAccountIdentifier = business.Payment.merchantAccountIdentifier
     };
 }