/*
 * The version of the OpenAPI document: v1
 * Contact: developer-experience@adyen.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit this class manually.
 */

import { CompanyLinks } from './companyLinks';
import { DataCenter } from './dataCenter';

export class Company {
    'links'?: CompanyLinks;
    /**
    * List of available data centers.  Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers.
    */
    'dataCenters'?: Array<DataCenter>;
    /**
    * Your description for the company account, maximum 300 characters
    */
    'description'?: string;
    /**
    * The unique identifier of the company account.
    */
    'id'?: string;
    /**
    * The legal or trading name of the company.
    */
    'name'?: string;
    /**
    * Your reference to the account
    */
    'reference'?: string;
    /**
    * The status of the company account.  Possible values:  * **Active**: Users can log in. Processing and payout capabilities depend on the status of the merchant account. * **Inactive**: Users can log in. Payment processing and payouts are disabled. * **Closed**: The company account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.
    */
    'status'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "links",
            "baseName": "_links",
            "type": "CompanyLinks"
        },
        {
            "name": "dataCenters",
            "baseName": "dataCenters",
            "type": "Array<DataCenter>"
        },
        {
            "name": "description",
            "baseName": "description",
            "type": "string"
        },
        {
            "name": "id",
            "baseName": "id",
            "type": "string"
        },
        {
            "name": "name",
            "baseName": "name",
            "type": "string"
        },
        {
            "name": "reference",
            "baseName": "reference",
            "type": "string"
        },
        {
            "name": "status",
            "baseName": "status",
            "type": "string"
        }    ];

    static getAttributeTypeMap() {
        return Company.attributeTypeMap;
    }
}

