nexi_payment_npg library

Classes

NexiNpgPayment
Client for the Nexi NPG gateway (https://developer.nexigroup.com).
NpgHostedPaymentRequest
Parameters for an NPG Hosted Payment Page payment.
NpgHttpResponse
The response of an HTTP call made by the plugin, reduced to what the NPG orders API needs.
NpgPaymentResult
Typed result of an NPG Hosted Payment Page payment.

Enums

NpgPaymentStatus
Outcome of an NPG payment.

Constants

npgHttpTimeout → const Duration
How long the plugin waits for the orders API before giving up and keeping the original "outcome unknown" result.

Functions

npgDefaultHttpGet(Uri url, Map<String, String> headers) Future<NpgHttpResponse>
Default NpgHttpGet: a plain dart:io GET, so the package stays dependency-free.

Typedefs

NpgHttpGet = Future<NpgHttpResponse> Function(Uri url, Map<String, String> headers)
Signature of the GET used to call the NPG orders API.