import { snakeToCamel } from "../../utils/utils";
export class PaymentMethodOption {
    constructor(paymentMethod) {
        this.id = paymentMethod.id;
        this.brand = paymentMethod.brand;
        this.acct_last_four = paymentMethod.acct_last_four;
        this.type = snakeToCamel(paymentMethod.type);
    }
}
export var CardBrandLabels;
(function (CardBrandLabels) {
    CardBrandLabels["american_express"] = "American Express";
    CardBrandLabels["diners_club"] = "Diners Club";
    CardBrandLabels["discover"] = "Discover";
    CardBrandLabels["jcb"] = "JCB";
    CardBrandLabels["mastercard"] = "Mastercard";
    CardBrandLabels["china_unionpay"] = "UnionPay";
    CardBrandLabels["visa"] = "Visa";
    CardBrandLabels["unknown"] = "Unknown";
})(CardBrandLabels || (CardBrandLabels = {}));
