Products class

Constructors

Products.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

edit({required String accountId, required String productId, required RazorpayProductUpdateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayProduct>?)?}) Future<Response<RazorpayProduct>>
Update a Product Configuration
fetch({required String accountId, required String productId, void callback(RazorpayApiException?, Response<RazorpayProduct>?)?}) Future<Response<RazorpayProduct>>
Fetch a Product Configuration
fetchTnc({required String productName, void callback(RazorpayApiException?, Response<RazorpayProductTnc>?)?}) Future<Response<RazorpayProductTnc>>
Fetch Terms and Conditions for a Product Family
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestProductConfiguration({required String accountId, required RazorpayProductCreateRequestBody params, void callback(RazorpayApiException?, Response<RazorpayProduct>?)?}) Future<Response<RazorpayProduct>>
Request a Product Configuration
toString() String
A string representation of this object.
inherited

Operators

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

Constants

BASE_URL → const String
PRODUCTS_URL_V2 → const String