/* tslint:disable */ /* eslint-disable */ /** * EMIL CommissionService * The EMIL CommissionService API description * * The version of the OpenAPI document: 1.0 * Contact: kontakt@emil.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CommissionAgreementClass } from './commission-agreement-class'; import { CommissionItemClass } from './commission-item-class'; /** * * @export * @interface CommissionClass */ export interface CommissionClass { /** * The unique database identifier of the commission * @type {number} * @memberof CommissionClass */ 'id': number; /** * The commission agreement this commission is based on * @type {CommissionAgreementClass} * @memberof CommissionClass */ 'agreement': CommissionAgreementClass; /** * Unique identifier for the object. * @type {string} * @memberof CommissionClass */ 'code': string; /** * A detailed description explaining what this commission represents and its purpose * @type {string} * @memberof CommissionClass */ 'description': string; /** * The commission number for this commission * @type {string} * @memberof CommissionClass */ 'commissionNumber': string; /** * The version identifier of the commission agreement being used for this commission * @type {string} * @memberof CommissionClass */ 'commissionAgreementVersionCode': string; /** * The number of the commission agreement being used for this commission * @type {string} * @memberof CommissionClass */ 'commissionAgreementNumber': string; /** * The unique code or identifier of the partner associated with this commission * @type {string} * @memberof CommissionClass */ 'partnerCode': string; /** * The updated policy code or identifier of the policy associated with this commission * @type {string} * @memberof CommissionClass */ 'policyCode': string; /** * The unique number of the partner associated with this commission * @type {string} * @memberof CommissionClass */ 'partnerNumber': string; /** * The unique number of the policy associated with this commission * @type {string} * @memberof CommissionClass */ 'policyNumber': string; /** * The total monetary amount of the commission in the smallest currency unit (e.g., cents). This is the sum of all commission items * @type {number} * @memberof CommissionClass */ 'amount': number; /** * The status of the commission. Valid values: draft, open, published, closed * @type {string} * @memberof CommissionClass */ 'status': string; /** * The code of the settlement this commission is associated with * @type {string} * @memberof CommissionClass */ 'settlementCode'?: string; /** * Time at which the object was created. * @type {string} * @memberof CommissionClass */ 'createdAt': string; /** * Time at which the object was updated. * @type {string} * @memberof CommissionClass */ 'updatedAt': string; /** * Identifier of the user who created the record. * @type {string} * @memberof CommissionClass */ 'createdBy': string; /** * Identifier of the user who last updated the record. * @type {string} * @memberof CommissionClass */ 'updatedBy': string; /** * An array of commission items that make up this commission. Each item represents a specific commission component with its own amount, type * @type {Array} * @memberof CommissionClass */ 'items': Array; }