purchasely_flutter
library
Classes
-
PLYActionPayload
-
Sealed-ish hierarchy of action payloads. Dart doesn't have sealed classes
in stable yet for all SDK versions; we use abstract +
kind discriminator
and downcast via is for type-safe access.
-
PLYCloseAllPayload
-
-
PLYClosePayload
-
-
PLYCommitmentInfo
-
Commitment installment details for an Apple "monthly subscription with
N-month commitment" plan (iOS 26.4+). Apple-only.
-
PLYCommitmentProgress
-
A subscriber's progress through an Apple monthly-commitment plan
(iOS 26.4+). Null on Android and other platforms — Apple-only.
-
PLYDynamicOffering
-
-
PLYEvent
-
-
PLYEventProperties
-
-
PLYEventPropertyCarousel
-
-
PLYEventPropertyPlan
-
-
PLYEventPropertyRedemption
-
What a Web2App redemption reports.
REDEMPTION_CONSUMED carries token,
receipt, subscriptions and purchase_context. REDEMPTION_FAILED
carries token and error_code, with the reason in the top-level
PLYEventProperties.error_message.
-
PLYEventPropertyRedemptionAttribute
-
One attribute a redemption restored. value stays the JSON the backend
sent, so the event reports it exactly as type declares it.
-
PLYEventPropertyRedemptionPurchaseContext
-
The web journey behind a redemption. The SDK reports what it applied, not
the raw response: a block the SDK does not consume is absent here too.
-
PLYEventPropertyRedemptionReceipt
-
The receipt a redemption validated.
-
PLYEventPropertyRedemptionSubscription
-
One subscription a redemption transferred, as
REDEMPTION_CONSUMED reports
it. The SDK reports active subscriptions and non-consumables only. An
expired subscription is absent: a redemption grants, it does not report
history.
-
PLYEventPropertySubscription
-
-
PLYInterceptorInfo
-
Contextual information passed to every interceptor.
-
PLYNavigatePayload
-
-
PLYOpenPlacementPayload
-
-
PLYOpenPresentationPayload
-
-
PLYPlan
-
-
PLYPresentation
-
A loaded presentation. Returned from
PLYPresentationRequest.preload() and
embedded in PLYPresentationOutcome.presentation at dismiss time.
-
PLYPresentationActions
-
Indirection used by PLYPresentation.display / close / back so the
public API can defer to the bridge without creating a circular import.
-
PLYPresentationBuilder
-
Fluent builder for a PLYPresentationRequest.
-
PLYPresentationOutcome
-
The outcome of a presentation session, delivered when the presentation is
dismissed (or fails before display).
-
PLYPresentationPlan
-
Plan summary embedded in a presentation payload.
-
PLYPresentationRequest
-
A configured presentation, ready to be preloaded or displayed.
-
PLYPresentationRequestActions
-
Indirection used by PLYPresentationRequest.preload / display so the
public API can defer to the bridge without creating a circular import.
-
PLYPresentationSource
-
-
PLYProduct
-
-
PLYPromoOffer
-
-
PLYPurchasePayload
-
-
PLYSubscription
-
-
PLYSubscriptionOffer
-
-
PLYTransition
-
Display transition for a presentation (
PLYPresentationRequest.display(...)).
-
PLYTransitionColors
-
Background color configuration for a transition.
-
PLYTransitionDimension
-
A single transition dimension (width or height), expressed either as a
fixed size in density-independent pixels (PLYDimensionType.pixel) or as a
ratio of the available screen dimension (PLYDimensionType.percentage,
0.0–1.0).
-
PLYWebCheckoutPayload
-
-
PLYWebRedemptionContext
-
What a Web2App redemption granted.
-
PLYWebRedemptionResult
-
Outcome of one Web2App redemption, delivered to the listener registered with
PurchaselyBuilder.webRedemptionListener or
Purchasely.addWebRedemptionListener.
-
Purchasely
-
-
PurchaselyBuilder
-
Fluent builder for
Purchasely.start(). Begin the chain with
PurchaselyBuilder.apiKey('…'), then chain modifiers, then call
.start().
-
UserAttributeListener
-
Exceptions / Errors
-
PLYPresentationError
-
Error returned by the native SDK when a presentation could not be displayed.