Subscriptions class
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({RazorpaySubscriptionQuery? params, void callback(RazorpayApiException?, Response<RazorpayApiResponse<RazorpaySubscription>>?)?})
→ Future<Response<RazorpayApiResponse<RazorpaySubscription>>>
-
Get all Subscriptions
-
cancel({required String subscriptionId, bool cancelAtCycleEnd = false, void callback(RazorpayApiException?, Response<RazorpaySubscription>?)?})
→ Future<Response<RazorpaySubscription>>
-
Cancel a subscription given id and optional cancelAtCycleEnd
-
cancelScheduledChanges({required String subscriptionId, void callback(RazorpayApiException?, Response<RazorpaySubscription>?)?})
→ Future<Response<RazorpaySubscription>>
-
Cancel Scheduled Changes
-
create({required dynamic params, void callback(RazorpayApiException?, Response?)?})
→ Future<Response>
-
Creates a Subscription or Registration Link
-
createAddon({required String subscriptionId, required RazorpaySubscriptionAddonsBaseRequestBody params, void callback(RazorpayApiException?, Response<RazorpayAddon>?)?})
→ Future<Response<RazorpayAddon>>
-
Creates addon for a given subscription
-
createRegistrationLink({required RazorpayRegistrationLinkBaseRequestBody params, void callback(RazorpayApiException?, Response<RazorpayRegistrationLink>?)?})
→ Future<Response<RazorpayRegistrationLink>>
-
Creates a Registration Link
This is equivalent to calling create() with RazorpayRegistrationLinkBaseRequestBody
-
deleteOffer({required String subscriptionId, required String offerId, void callback(RazorpayApiException?, Response<RazorpaySubscription>?)?})
→ Future<Response<RazorpaySubscription>>
-
Delete an Offer Linked to a Subscription
-
fetch({required String subscriptionId, void callback(RazorpayApiException?, Response<RazorpaySubscription>?)?})
→ Future<Response<RazorpaySubscription>>
-
Fetch a Subscription given Subscription ID
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pause({required String subscriptionId, bool pauseAtNow = false, void callback(RazorpayApiException?, Response<RazorpaySubscription>?)?})
→ Future<Response<RazorpaySubscription>>
-
Pause a subscription
-
pendingUpdate({required String subscriptionId, void callback(RazorpayApiException?, Response<RazorpaySubscription>?)?})
→ Future<Response<RazorpaySubscription>>
-
Fetch details of pending update
-
resume({required String subscriptionId, bool resumeAtNow = false, void callback(RazorpayApiException?, Response<RazorpaySubscription>?)?})
→ Future<Response<RazorpaySubscription>>
-
Resume a subscription
-
toString()
→ String
-
A string representation of this object.
inherited
-
update({required String subscriptionId, required RazorpaySubscriptionUpdateRequestBody params, void callback(RazorpayApiException?, Response<RazorpaySubscription>?)?})
→ Future<Response<RazorpaySubscription>>
-
Update Subscription