Plans class

Constructors

Plans.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}) Future<RazorpayApiResponse<RazorpayPlan>>
Get all Plans
create({required RazorpayPlanCreateRequestBody params}) Future<RazorpayPlan>
Creates a plan
fetch({required String planId}) Future<RazorpayPlan>
Fetches a plan given Plan ID
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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