private void UpdateInoive(ViewModel.AddInvoiceWithDetails addInvoiceWithDetails)
 {
     if (addInvoiceWithDetails != null)
     {
         CheckoutProperty.ItemsCount     = addInvoiceWithDetails.ItemsCount;
         CheckoutProperty.SubTotal       = addInvoiceWithDetails.SubTotal;
         CheckoutProperty.AddtionTax     = addInvoiceWithDetails.AddtionTax;
         CheckoutProperty.TotalBeforeTax = addInvoiceWithDetails.TotalBeforeTax;
         CheckoutProperty.TotalTax       = addInvoiceWithDetails.TotalTax;
         CheckoutProperty.TotalAmount    = addInvoiceWithDetails.TotalAmount;
     }
 }
 public CheckoutPage(ViewModel.AddInvoiceWithDetails AddInvoiceWithDetails)
 {
     this.InitializeComponent();
     BindingContext   = this;
     CheckoutProperty = new Property.CheckoutProperty
     {
         ModelCart = AddInvoiceWithDetails.ModelCart
     };
     if (AppStatics.UserID != -1)
     {
         fraPass.IsVisible = false;
     }
     UpdateInoive(AddInvoiceWithDetails);
 }