Workflows ReferenceType Definitions
RedemptionMethodWorkflowArgs
type RedemptionMethodWorkflowArgs = {
context: WorkflowContext;
env: WorkflowEnv;
identity: WorkflowIdentity;
offer: WorkflowRedemptionMethodOffer;
utils: WorkflowUtils & WorkflowIntegrationUtils;
};Properties
context
context: WorkflowContext;Context about the request, for example, user agent and geolocation information.
env
env: WorkflowEnv;Available variables.
identity
identity: WorkflowIdentity;Object containing the user's identity.
offer
offer: WorkflowRedemptionMethodOffer;The offer being redeemed, validated and parsed from the provided offer token.
utils
utils: WorkflowUtils & WorkflowIntegrationUtils;Utility functions for interacting with user data and other MonetizationOS primitives.