예제 #1
0
 public bool IsValidForSubmit() =>
 AccountId > 0 &&
 Currency.HasValue(3) &&
 Tax > 0 && Tax < 1 &&
 LineItems.HasAny() &&
 Price > 0 &&
 ShippingInfo.IsValid() &&
 PaymentInfo.IsValid() &&
 LineItems.Count > 0;