private bool OrderTotalMatches(Payment payment) { return(Total() == payment.Amount); }
private string GetDetailsOnIssueWith(Payment payment) { return(String.Format("Payment amount is invalid. " + "Order total is {0} but payment for {1}." + " Payment token '{2}'", this.Total(), payment.Amount, payment.TransactionId)); }