public bool IsValid(CreditCardDto details) { object[] results = this.Invoke("IsValid", new object[] { details }); return((bool)(results[0])); }
public TransactionDto Pay(CreditCardDto from, BankAccountDto to, double amountDollar) { object[] results = this.Invoke("Pay", new object[] { from, to, amountDollar }); return((TransactionDto)(results[0])); }
/// <remarks/> public void IsValidAsync(CreditCardDto details, object userState) { if ((this.IsValidOperationCompleted == null)) { this.IsValidOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsValidOperationCompleted); } this.InvokeAsync("IsValid", new object[] { details }, this.IsValidOperationCompleted, userState); }
/// <remarks/> public void PayAsync(CreditCardDto from, BankAccountDto to, double amountDollar, object userState) { if ((this.PayOperationCompleted == null)) { this.PayOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPayOperationCompleted); } this.InvokeAsync("Pay", new object[] { from, to, amountDollar }, this.PayOperationCompleted, userState); }
/// <remarks/> public void PayAsync(CreditCardDto from, BankAccountDto to, double amountDollar) { this.PayAsync(from, to, amountDollar, null); }
/// <remarks/> public void IsValidAsync(CreditCardDto details) { this.IsValidAsync(details, null); }