HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: /var/www/api.javaapp.co.uk/node_modules/stripe/types/InvoiceRenderingTemplates.d.ts
// File generated from our OpenAPI spec

declare module 'stripe' {
  namespace Stripe {
    /**
     * Invoice Rendering Templates are used to configure how invoices are rendered on surfaces like the PDF. Invoice Rendering Templates
     * can be created from within the Dashboard, and they can be used over the API when creating invoices.
     */
    interface InvoiceRenderingTemplate {
      /**
       * Unique identifier for the object.
       */
      id: string;

      /**
       * String representing the object's type. Objects of the same type share the same value.
       */
      object: 'invoice_rendering_template';

      /**
       * Time at which the object was created. Measured in seconds since the Unix epoch.
       */
      created: number;

      /**
       * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
       */
      livemode: boolean;

      /**
       * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
       */
      metadata: Stripe.Metadata | null;

      /**
       * A brief description of the template, hidden from customers
       */
      nickname: string | null;

      /**
       * The status of the template, one of `active` or `archived`.
       */
      status: InvoiceRenderingTemplate.Status;

      /**
       * Version of this template; version increases by one when an update on the template changes any field that controls invoice rendering
       */
      version: number;
    }

    namespace InvoiceRenderingTemplate {
      type Status = 'active' | 'archived';
    }
  }
}