001package edu.pdx.cs410J.di;
002
003/**
004 * The functionality required for a credit card service
005 */
006public interface CreditCardService
007{
008    /**
009     * Charges the given amount to the given credit card
010     * @param card The card to charge
011     * @param amount The amount to charge
012     * @return The code that conveys the result of the debit transaction
013     */
014    CreditTransactionCode debit( CreditCard card, double amount );
015}