Stakeholders class

Constructors

Stakeholders.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({required String accountId, void callback(RazorpayApiException?, Response<RazorpayStakeholderListResponse>?)?}) Future<Response<RazorpayStakeholderListResponse>>
Fetch all Stakeholders for an account
create({required String accountId, required RazorpayStakeholderCreateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayStakeholder>?)?}) Future<Response<RazorpayStakeholder>>
Creates a stakeholder
edit({required String accountId, required String stakeholderId, required RazorpayStakeholderUpdateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayStakeholder>?)?}) Future<Response<RazorpayStakeholder>>
Update a stakeholder
fetch({required String accountId, required String stakeholderId, void callback(RazorpayApiException?, Response<RazorpayStakeholder>?)?}) Future<Response<RazorpayStakeholder>>
Fetches a stakeholder given Account ID and Stakeholder ID
fetchStakeholderDoc({required String accountId, required String stakeholderId, void callback(RazorpayApiException?, Response<RazorpayStakeholderDocuments>?)?}) Future<Response<RazorpayStakeholderDocuments>>
Fetches stakeholder documents
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadStakeholderDoc({required String accountId, required String stakeholderId, required String documentType, required MultipartFile file, Map<String, dynamic>? otherParams, void callback(RazorpayApiException?, Response<RazorpayStakeholderDocuments>?)?}) Future<Response<RazorpayStakeholderDocuments>>
Upload stakeholder documents

Operators

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

Constants

BASE_URL → const String