PaymentProcessor
@littleapp/little-pay-api / Exports / PaymentProcessor
Class: PaymentProcessor\<T>
Type parameters
Name | Type |
---|---|
T | extends PaymentProvider |
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new PaymentProcessor\<T
>(payload
, reference
): PaymentProcessor
\<T
>
Type parameters
Name | Type |
---|---|
T | extends PaymentProvider |
Parameters
Name | Type |
---|---|
payload | ProcessorPayload \<T > |
reference | string |
Returns
PaymentProcessor
\<T
>
Properties
paymentPayload
• paymentPayload: ProcessorPayload
\<T
>
reference
• Private
reference: string
Methods
process
▸ process(options?
): Promise
\<ProcessPaymentResponse
>
Parameters
Name | Type |
---|---|
options | PaymentProcessorOptions |
Returns
Promise
\<ProcessPaymentResponse
>