/* tslint:disable */ /* eslint-disable */ /** * Credify external API doc v2 * API documentations for integration version 2. * * The version of the OpenAPI document: 1.0.0-oas3 * Contact: dev@credify.one * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { FiatCurrency } from './fiat-currency'; import { OrderLine } from './order-line'; import { OrderStatusType } from './order-status-type'; import { PaymentRecipient } from './payment-recipient'; import { PublicOrganizationCore } from './public-organization-core'; /** * * @export * @interface IntegrationOrder */ export interface IntegrationOrder { /** * A reference ID from marketplace such as purchase order ID or transaction ID. This could be used to lookup the BNPL order for reference after created. * @type {string} * @memberof IntegrationOrder */ 'referenceId': string; /** * * @type {FiatCurrency} * @memberof IntegrationOrder */ 'totalAmount': FiatCurrency; /** * * @type {boolean} * @memberof IntegrationOrder */ 'isBusiness'?: boolean; /** * * @type {FiatCurrency} * @memberof IntegrationOrder */ 'discount'?: FiatCurrency; /** * * @type {Array} * @memberof IntegrationOrder */ 'orderLines': Array; /** * * @type {PaymentRecipient} * @memberof IntegrationOrder */ 'paymentRecipient'?: PaymentRecipient; /** * * @type {OrderStatusType} * @memberof IntegrationOrder */ 'status'?: OrderStatusType; /** * * @type {PublicOrganizationCore} * @memberof IntegrationOrder */ 'provider'?: PublicOrganizationCore; /** * * @type {PublicOrganizationCore} * @memberof IntegrationOrder */ 'consumer'?: PublicOrganizationCore; /** * * @type {string} * @memberof IntegrationOrder */ 'createdAt'?: string; /** * * @type {string} * @memberof IntegrationOrder */ 'updatedAt'?: string; }