export var AccountType;
(function (AccountType) {
    AccountType["test"] = "test";
    AccountType["live"] = "live";
})(AccountType || (AccountType = {}));
export var AccountStatus;
(function (AccountStatus) {
    AccountStatus["created"] = "created";
    AccountStatus["submitted"] = "submitted";
    AccountStatus["information_needed"] = "information_needed";
    AccountStatus["rejected"] = "rejected";
    AccountStatus["enabled"] = "enabled";
    AccountStatus["disabled"] = "disabled";
    AccountStatus["archived"] = "archived";
})(AccountStatus || (AccountStatus = {}));
export class SubAccount {
    constructor(subAccount) {
        this.id = subAccount.id;
        this.name = subAccount.name;
        this.account_type = subAccount.account_type;
        this.status = subAccount.status;
        this.currency = subAccount.currency;
        this.platform_account_id = subAccount.platform_account_id;
        this.payout_account_id = subAccount.payout_account_id;
        this.business_id = subAccount.business_id;
        this.application_fee_rates = subAccount.application_fee_rates;
        this.processing_ready = subAccount.processing_ready;
        this.payout_ready = subAccount.payout_ready;
        this.related_accounts = subAccount.related_accounts;
        this.created_at = subAccount.created_at;
        this.updated_at = subAccount.updated_at;
    }
}
