/**
 * ForestVPN API
 * ForestVPN - Fast, secure, and modern VPN. It offers Distributed Computing, Crypto Mining, P2P, Ad Blocking, TOR over VPN, 30+ locations, and a free version with unlimited data.
 *
 * OpenAPI spec version: 2.0
 * Contact: support@forestvpn.com
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */
import { AmountRate } from './amount-rate';
import { ReferralTransactionType } from './referral-transaction-type';
/**
*
*
* @export
* @interface ReferralTransaction
*/
export interface ReferralTransaction {
    /**
     * @type {string}
     * @memberof ReferralTransaction
     */
    id: string;
    /**
     * @type {string}
     * @memberof ReferralTransaction
     */
    currency: string;
    /**
     * @type {number}
     * @memberof ReferralTransaction
     */
    amount: number;
    /**
     * Commission value in percentage. e.g. 20.00 means 20%
     *
     * @type {number}
     * @memberof ReferralTransaction
     */
    commission: number;
    /**
     * @type {ReferralTransactionType}
     * @memberof ReferralTransaction
     */
    type: ReferralTransactionType;
    /**
     * @type {Date}
     * @memberof ReferralTransaction
     */
    pending_expires_at?: Date;
    /**
     * @type {Array<Error>}
     * @memberof ReferralTransaction
     */
    errors?: Array<Error>;
    /**
     * @type {Array<AmountRate>}
     * @memberof ReferralTransaction
     */
    rates: Array<AmountRate>;
    /**
     * @type {Date}
     * @memberof ReferralTransaction
     */
    created_at: Date;
}
