models/user_offer library
Models for the fetchUserOffer() response. Mirrors the Android
UserOffer namespace from the ZeroSettle Android SDK.
Classes
- UserOfferAppleSubscription
- Current Apple subscription state for the user's active StoreKit product.
- UserOfferData
- The server-resolved offer payload for a single user.
- UserOfferDisplay
- Server-configurable display copy for all tip-card states.
- UserOfferProration
- Proration details for a web→web or storeKit→web subscription upgrade.
- UserOfferResponse
-
Top-level response from
fetchUserOffer(). - UserOfferSubscription
- Summary of the user's current subscription state.
Enums
- UserOfferActionType
- The action the offer instructs the SDK to take for the user.
- UserOfferSourceStorefront
- The storefront the user's current active subscription originates from.