An NDoc Documented Class Library

ICreditChargeEngine.Charge Method 

Charges the credit card for the given amount.

bool Charge(
   string cardNumber,
   double amount
);

Parameters

cardNumber
card number for the charged.
amount
amount to be charged

Return Value

true if charge was successful. false otherwise.

See Also

ICreditChargeEngine Interface | CreditProcessLib Namespace