UNPKG

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.

10 lines (9 loc) 619 B
import { RequestContext, PaymentMethod, PaymentMethodService } from '@vendure/core'; import { MutationUpdatePaymentMethodArgs, MutationCreatePaymentMethodArgs } from '@vendure/common/lib/generated-types'; export declare class OverridePaymentMethodResolver { private paymentMethodService; constructor(paymentMethodService: PaymentMethodService); createPaymentMethod(ctx: RequestContext, args: MutationCreatePaymentMethodArgs): Promise<PaymentMethod>; updatePaymentMethod(ctx: RequestContext, args: MutationUpdatePaymentMethodArgs): Promise<PaymentMethod>; private stringifyCheckerCustomerGroupIds; }