khalti_core library

Classes

BankListModel
Paginated class for BankModel.
BankModel
The class representing a Bank.
ExceptionHttpResponse
The exception for KhaltiClient.
FailureHttpResponse
The failure response for KhaltiClient.
HttpResponse
The response for KhaltiClient.
KhaltiClient
The base http client to make request to Khalti server.
KhaltiConfig
The configuration class for Khalti Payment Gateway.
KhaltiService
The wrapper class to access Khalti Payment Gateway API.
PaymentConfirmationRequestModel
A request model for payment initiation.
PaymentFailureModel
The model received on failure in payment confirmation.
PaymentInitiationRequestModel
A request model for payment initiation.
PaymentInitiationResponseModel
A response model for payment initiation.
PaymentSuccessModel
The model received on successful payment confirmation.
Platform
Information about the environment in which the current program is running.

Enums

PaymentType
The payment type to determine the non-wallet payment method.

Extensions

PaymentTypeExt on PaymentType
Extension for PaymentType to extract payment type keyword.

Exceptions / Errors

HttpException
SocketException
Exception thrown when a socket operation fails.