/* tslint:disable */ /* eslint-disable */ /** * Credify external API doc * API documentations. * * 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 { BnplProductDetailAvailableTermsInner } from './bnpl-product-detail-available-terms-inner'; import { BnplProductDetailDownPayment } from './bnpl-product-detail-down-payment'; import { BnplProductDetailDuration } from './bnpl-product-detail-duration'; import { BnplProductDetailMaxLoanAmount } from './bnpl-product-detail-max-loan-amount'; import { BnplProductDetailMinLoanAmount } from './bnpl-product-detail-min-loan-amount'; import { DisbursementRequirementEnum } from './disbursement-requirement-enum'; /** * * @export * @interface BnplProductDetail */ export interface BnplProductDetail { /** * The type of BNPL loan product. * @type {string} * @memberof BnplProductDetail */ 'loanType': BnplProductDetailLoanTypeEnum; /** * * @type {BnplProductDetailMinLoanAmount} * @memberof BnplProductDetail */ 'minLoanAmount': BnplProductDetailMinLoanAmount; /** * * @type {BnplProductDetailMaxLoanAmount} * @memberof BnplProductDetail */ 'maxLoanAmount': BnplProductDetailMaxLoanAmount; /** * The minimum annual percentage rate (APR) of the loan, expressed as a decimal. * @type {string} * @memberof BnplProductDetail */ 'minAprPercent': string; /** * The maximum annual percentage rate (APR) of the loan, expressed as a decimal. * @type {string} * @memberof BnplProductDetail */ 'maxAprPercent': string; /** * * @type {BnplProductDetailDownPayment} * @memberof BnplProductDetail */ 'downPayment'?: BnplProductDetailDownPayment; /** * * @type {BnplProductDetailDuration} * @memberof BnplProductDetail */ 'duration': BnplProductDetailDuration; /** * The URL of the BNPL product\'s policy. * @type {string} * @memberof BnplProductDetail */ 'policyUrl': string; /** * Whether the BNPL product is available only for certain item categories. * @type {boolean} * @memberof BnplProductDetail */ 'itemExclusive': boolean; /** * If the product is `item exclusive`, this list specifies what item categories the product applies to. * @type {Array} * @memberof BnplProductDetail */ 'itemCategories'?: Array; /** * Whether the BNPL product allows the purchase of multiple items in a single order. * @type {boolean} * @memberof BnplProductDetail */ 'allowMultipleItems': boolean; /** * Requirements from the consumer side to disburse the loan. * @type {Array} * @memberof BnplProductDetail */ 'consumerDisbursementRequirements'?: Array; /** * Requirements from the provider side to disburse the loan. * @type {Array} * @memberof BnplProductDetail */ 'providerDisbursementRequirements'?: Array; /** * The terms available in the BNPL product. * @type {Array} * @memberof BnplProductDetail */ 'availableTerms': Array; } export const BnplProductDetailLoanTypeEnum = { REVOLVINGCREDIT: 'REVOLVING_CREDIT', CREDITLINE: 'CREDIT_LINE', ONEOFF: 'ONE_OFF' } as const; export type BnplProductDetailLoanTypeEnum = typeof BnplProductDetailLoanTypeEnum[keyof typeof BnplProductDetailLoanTypeEnum];