/** * Emil PublicAPI * The Emil Public 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 { CalculateProductFieldsResponseClass } from './calculate-product-fields-response-class'; import { InvoiceClass } from './invoice-class'; /** * * @export * @interface CreateEstimatedInvoiceResponseClass */ export interface CreateEstimatedInvoiceResponseClass { /** * The estimated invoice response based on the current policy data. This includes the calculated invoice for the specified billing period (e.g., monthly, quarterly) as defined by the policy. The invoice contains details such as gross amount, net amount, tax amount, and other invoice-related data for the specific period the invoice is generated for. * @type {InvoiceClass} * @memberof CreateEstimatedInvoiceResponseClass */ 'invoice'?: InvoiceClass; /** * The estimated yearly invoice response. This represents the invoice recalculated to a yearly format, standardizing the invoice values regardless of the billing frequency defined by the policy (e.g., monthly, quarterly, etc.). This yearly invoice gives an overview of the total cost for the entire year, including recalculated gross amount, net amount, tax amount, and other related invoice data, ensuring that all charges are displayed on a yearly basis. Note: If the original invoice is already set to a yearly billing frequency, the \'yearlyInvoice\' will be identical to the \'invoice\'. * @type {InvoiceClass} * @memberof CreateEstimatedInvoiceResponseClass */ 'yearlyInvoice'?: InvoiceClass; /** * In some cases, custom premium calculation needs to be used. In that case, a custom object is returned. It can hold up any kind of information. For more information, check the general documentation. * @type {object} * @memberof CreateEstimatedInvoiceResponseClass */ 'custom'?: object; /** * Calculated policy obejcts response * @type {CalculateProductFieldsResponseClass} * @memberof CreateEstimatedInvoiceResponseClass */ 'policyObjects'?: CalculateProductFieldsResponseClass; }