vendure-plugin-payment-terms
Version:
This plugin allows certain customers to pay using Payment Terms. Payment Terms are when a customer is allowed to make a payment a certain number of days after an invoice is due.
14 lines (13 loc) • 635 B
TypeScript
import { EventBus, Customer, OrderService, TransactionalConnection } from '@vendure/core';
import { OnApplicationBootstrap } from '@nestjs/common';
import { SchedulerRegistry } from '@nestjs/schedule';
import './api/types';
export declare class VendurePluginPaymentTerms implements OnApplicationBootstrap {
private eventBus;
private conn;
private orderService;
private schedulerRegistry;
constructor(eventBus: EventBus, conn: TransactionalConnection, orderService: OrderService, schedulerRegistry: SchedulerRegistry);
onApplicationBootstrap(): void;
getCronJobNameForCustomer(customer: Customer): string;
}