"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreditCardStrategy = exports.PaymentResult = void 0;
class PaymentResult {
    constructor(success) {
        this.success = success;
    }
}
exports.PaymentResult = PaymentResult;
class CreditCardStrategy {
    Pay(amount) {
        console.log("pay with CreaitCard");
        return new PaymentResult(true);
    }
}
exports.CreditCardStrategy = CreditCardStrategy;
