public bool ExecutePayment() { if (expensivePayment.ExecutePayment()) { return(true); } return(cheapPayment.ExecutePayment()); }
public bool ExecutePayment() { return(paymentProcessor.ExecutePayment()); }
public bool ExecutePayment() { if (expensivePayment.ExecutePayment()) { return(true); } return(cheapPayment.ExecutePayment()); }
public bool ExecutePayment() { return(paymentProcessor.ExecutePayment()); }