Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
package com.codename1.payment
In-App Billing/Purchase API’s are abstracted by this package. It encapsulates the different types
of vendor stores and payment API’s available on the market.
Types
class ApplePromotionalOffer | Encapsulates a promotional offer for use with in-app-purchase in Apple’s App store. |
class CommerceManager | Client facade for the Codename One Commerce service. |
class CommercePackage | One thing a customer can buy from an Offering: a store product together with the role it plays in the offering (the monthly plan, the annual plan, a lifetime unlock). |
class CustomerInfo | What the Codename One Commerce service knows about one customer: the entitlements held, the subscriptions that are active and the attributes the application attached. |
class EntitlementInfo | One entitlement of a customer, as the Codename One Commerce service reported it. |
class Offering | A set of packages the application offers a customer together, and optionally the paywall that presents them. |
class Offerings | The offerings the Codename One Commerce service configured for this customer: the one to present now, and every other one by id. |
interface PendingPurchaseCallback | Callback interface that the main class may implement to be notified of pending purchases. |
class Product | Represents a product within the system |
interface PromotionalOffer | A marker interface representing a promotional offer for in-app purchase. |
class Purchase | Represents the status of in-app-purchase goods, this class provides information about products purchased by a user as well as the ability to purchase additional products. |
interface PurchaseCallback | Callback interface that the main class must implement in order for in-app-purchasing to work. |
class Receipt | Encapsulates a receipt for an in-app purchase. |
interface ReceiptStore | Interface that can be implemented to provide store of receipts. |
class ReferralReward | A reward the service granted this customer for a referral: either an entitlement or an amount of a virtual currency. |
interface RestoreCallback | Callback interface that the main class must implement in order for the restore option of in-app-purchasing to work. |
class WalletExtension | Publishes card data to the Apple Wallet issuer-provisioning extension so users can add the issuer’s cards to Apple Wallet from inside the Wallet app (“From apps on your iPhone”). |
class WalletPassEntry | A card entry published to the Apple Wallet issuer-provisioning extension through WalletExtension. |