Invoices class

Constructors

Invoices.new(API api)

Properties

api API
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

all({RazorpayInvoiceQuery? params, void callback(RazorpayApiException?, Response<RazorpayApiResponse<RazorpayInvoice>>?)?}) Future<Response<RazorpayApiResponse<RazorpayInvoice>>>
Fetches multiple invoices with given query options
cancel({required String invoiceId, void callback(RazorpayApiException?, Response<RazorpayInvoice>?)?}) Future<Response<RazorpayInvoice>>
Cancels issued invoice
create({required RazorpayInvoiceCreateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayInvoice>?)?}) Future<Response<RazorpayInvoice>>
Creates an invoice or payment link.
delete({required String invoiceId, void callback(RazorpayApiException?, Response<RazorpayDeleteResponse>?)?}) Future<Response<RazorpayDeleteResponse>>
Deletes drafted invoice
edit({required String invoiceId, required RazorpayInvoiceUpdateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayInvoice>?)?}) Future<Response<RazorpayInvoice>>
Patches given invoice with new attributes
fetch({required String invoiceId, void callback(RazorpayApiException?, Response<RazorpayInvoice>?)?}) Future<Response<RazorpayInvoice>>
Fetches invoice entity with given id
issue({required String invoiceId, void callback(RazorpayApiException?, Response<RazorpayInvoice>?)?}) Future<Response<RazorpayInvoice>>
Issues drafted invoice
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyBy({required String invoiceId, required NotifyMedium medium, void callback(RazorpayApiException?, Response<RazorpayNotifyResponse>?)?}) Future<Response<RazorpayNotifyResponse>>
Send/re-send notification for invoice by given medium
toString() String
A string representation of this object.
inherited

Operators

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

Constants

BASE_URL → const String
MISSING_ID_ERROR → const String