Interface Offer

Represents a purchase offer for a product

An offer defines how a product can be purchased, including pricing and billing details

interface Offer {
    id: string;
    offerType: "Subscription" | "Default";
    platform: string;
    pricingPhases: PricingPhase[];
}

Properties

id: string

Unique identifier for the offer in the format 'platform:id'

offerType: "Subscription" | "Default"

Type of the offer

platform: string

Payment platform identifier (e.g., 'stripe', 'google', 'apple')

pricingPhases: PricingPhase[]

Array of pricing phases that make up this offer's payment schedule