public static IDayViewModel DayFromThisMonth(int day, DateTime month, IZohoClient zohoClient)
 {
     return new DayViewModel(zohoClient)
     {
         IsActive = true,
         Day = day,
         Date = new DateTime(month.Year, month.Month, day)
     };
 }
Exemplo n.º 2
0
 public SubscriptionApi(IZohoClient zohoClient)
 {
     this.zohoClient     = zohoClient;
     this.Products       = new ZsProductApi(this.zohoClient);
     this.Plans          = new ZsPlanApi(this.zohoClient);
     this.Addons         = new ZsAddonApi(this.zohoClient);
     this.Coupons        = new ZsCouponApi(this.zohoClient);
     this.Customers      = new ZsCustomerApi(this.zohoClient);
     this.Cards          = new ZsCardApi(this.zohoClient);
     this.ContactPersons = new ZsContactPersonApi(this.zohoClient);
     this.Subscriptions  = new ZsSubscriptionApi(this.zohoClient);
     this.HostedPage     = new ZsHostedPageApi(this.zohoClient);
     this.Invoices       = new ZsInvoiceApi(this.zohoClient);
 }
Exemplo n.º 3
0
 public ZsInvoiceApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 4
0
 public ZsProductApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 5
0
 public ZsContactPersonApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 6
0
 public ZsHostedPageApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 7
0
 public ZohoCommand(IZohoClient zoho, IOrderCloudClient oc)
 {
     _zoho = zoho;
     _oc   = oc;
     _zoho.AuthenticateAsync();
 }
Exemplo n.º 8
0
 public ZsCouponApi(IZohoClient client)
 {
     this.client = client;
 }
 public LoginController(IZohoClient zohoClient, IDialogService dialogService, IDateTimeService dateTimeService)
 {
     this.zohoClient = zohoClient;
     this.dialogService = dialogService;
     this.dateTimeService = dateTimeService;
 }
Exemplo n.º 10
0
 public ZsCustomerApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 11
0
 public JobService(IZohoClient zohoClient)
 {
     this.zohoClient = zohoClient;
 }
Exemplo n.º 12
0
 public ZsSubscriptionApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 13
0
 private DayViewModel(IZohoClient zohoClient)
 {
     this.zohoClient = zohoClient;
     DeleteCommand = new RelayCommand(DeleteTimeLog);
 }
Exemplo n.º 14
0
 public DaysService(IZohoClient zohoClient, IAuthenticationStorage auth, IJobService jobService)
 {
     this.zohoClient = zohoClient;
     this.auth = auth;
     this.jobService = jobService;
 }
Exemplo n.º 15
0
 public ZsPlanApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 16
0
 public ZsAddonApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 17
0
 public ZsSettingsApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 18
0
 public ZsCardApi(IZohoClient client)
 {
     this.client = client;
 }
Exemplo n.º 19
0
 public static IDayViewModel DayFromOtherMonth(IZohoClient zohoClient)
 {
     return new DayViewModel(zohoClient) {IsActive = false};
 }