CreateInvoiceRequest class

Request model for creating a new invoice.

Constructors

CreateInvoiceRequest({required double priceAmount, required FiatCurrency priceCurrency, String? payCurrency, String? ipnCallbackUrl, String? orderId, String? orderDescription, String? successUrl, String? cancelUrl})
Creates a new CreateInvoiceRequest.
const

Properties

cancelUrl String?
URL to redirect if payment is cancelled.
final
hashCode int
The hash code for this object.
no setterinherited
ipnCallbackUrl String?
URL for Instant Payment Notifications.
final
orderDescription String?
Description of the order.
final
orderId String?
Your internal order ID.
final
payCurrency String?
The cryptocurrency for payment (optional, user can choose if omitted).
final
priceAmount double
The price of the item/service in fiat currency.
final
priceCurrency FiatCurrency
The fiat currency to display the price (e.g., USD, EUR).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successUrl String?
URL to redirect after successful payment.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this request to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited