PaymentLink class

Constructors

PaymentLink.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({RazorpayPaginationOptions? params, void callback(RazorpayApiException?, Response<RazorpayPaymentLinkListResponse>?)?}) Future<Response<RazorpayPaymentLinkListResponse>>
Get all paymentLinks
cancel({required String paymentLinkId, void callback(RazorpayApiException?, Response<RazorpayPaymentLink>?)?}) Future<Response<RazorpayPaymentLink>>
Cancel a payment link
create({required dynamic params, void callback(RazorpayApiException?, Response<RazorpayPaymentLink>?)?}) Future<Response<RazorpayPaymentLink>>
Create payment link (standard or with advanced options)
edit({required String paymentLinkId, required RazorpayPaymentLinkUpdateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayPaymentLink>?)?}) Future<Response<RazorpayPaymentLink>>
Edit a paymentLink given paymentLink ID
fetch({required String paymentLinkId, void callback(RazorpayApiException?, Response<RazorpayPaymentLink>?)?}) Future<Response<RazorpayPaymentLink>>
Fetch a paymentLink given paymentLink ID
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyBy({required String paymentLinkId, required NotifyMedium medium, void callback(RazorpayApiException?, Response<RazorpayNotifyResponse>?)?}) Future<Response<RazorpayNotifyResponse>>
Send notification
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