export var RefundStatuses;
(function (RefundStatuses) {
    RefundStatuses["succeeded"] = "succeeded";
    RefundStatuses["failed"] = "failed";
})(RefundStatuses || (RefundStatuses = {}));
export var RefundReasons;
(function (RefundReasons) {
    RefundReasons["customerRequest"] = "customer_request";
    RefundReasons["duplicate"] = "duplicate";
    RefundReasons["fraudulent"] = "fraudulent";
})(RefundReasons || (RefundReasons = {}));
export class RefundPayload {
    constructor(refundPayload) {
        this.amount = refundPayload.amount;
        this.reason = refundPayload.reason;
        this.description = refundPayload.description;
        this.metadata = refundPayload.metadata;
    }
}
export class Refund {
    constructor(refund) {
        this.amount = refund.amount;
        this.created_at = refund.created_at;
        this.description = refund.description;
        this.id = refund.id;
        this.metadata = refund.metadata;
        this.payment_id = refund.payment_id;
        this.reason = refund.reason;
        this.status = refund.status;
        this.updated_at = refund.updated_at;
    }
}
