Skip to main content

PaymentProcessor

@littleapp/little-pay-api / Exports / PaymentProcessor

Class: PaymentProcessor\<T>

Type parameters

NameType
Textends PaymentProvider

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new PaymentProcessor\<T>(payload, reference): PaymentProcessor\<T>

Type parameters

NameType
Textends PaymentProvider

Parameters

NameType
payloadProcessorPayload\<T>
referencestring

Returns

PaymentProcessor\<T>

Properties

paymentPayload

paymentPayload: ProcessorPayload\<T>


reference

Private reference: string

Methods

process

process(options?): Promise\<ProcessPaymentResponse>

Parameters

NameType
optionsPaymentProcessorOptions

Returns

Promise\<ProcessPaymentResponse>