conekta/conekta-node

View on GitHub
model/company-response.ts

Summary

Maintainability
A
0 mins
Test Coverage
/* tslint:disable */
/* eslint-disable */
/**
 * Conekta API
 * Conekta sdk
 *
 * The version of the OpenAPI document: 2.1.0
 * Contact: engineering@conekta.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


// May contain unused imports in some cases
// @ts-ignore
import { CompanyFiscalInfoResponse } from './company-fiscal-info-response';
// May contain unused imports in some cases
// @ts-ignore
import { CompanyPayoutDestinationResponse } from './company-payout-destination-response';

/**
 * Company model
 * @export
 * @interface CompanyResponse
 */
export interface CompanyResponse {
    /**
     * The child company\'s unique identifier
     * @type {string}
     * @memberof CompanyResponse
     */
    'id'?: string;
    /**
     * The resource\'s creation date (unix timestamp)
     * @type {number}
     * @memberof CompanyResponse
     */
    'created_at'?: number;
    /**
     * The child company\'s name
     * @type {string}
     * @memberof CompanyResponse
     */
    'name'?: string;
    /**
     * The resource\'s type
     * @type {string}
     * @memberof CompanyResponse
     */
    'object'?: CompanyResponseObjectEnum;
    /**
     * Id of the parent company
     * @type {string}
     * @memberof CompanyResponse
     */
    'parent_company_id'?: string;
    /**
     * Whether the parent company\'s fiscal data is to be used for liquidation and tax purposes
     * @type {boolean}
     * @memberof CompanyResponse
     */
    'use_parent_fiscal_data'?: boolean;
    /**
     * 
     * @type {CompanyPayoutDestinationResponse}
     * @memberof CompanyResponse
     */
    'payout_destination'?: CompanyPayoutDestinationResponse;
    /**
     * 
     * @type {CompanyFiscalInfoResponse}
     * @memberof CompanyResponse
     */
    'fiscal_info'?: CompanyFiscalInfoResponse;
}

export const CompanyResponseObjectEnum = {
    company: 'company'
} as const;

export type CompanyResponseObjectEnum = typeof CompanyResponseObjectEnum[keyof typeof CompanyResponseObjectEnum];