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 ApplePromotionalOfferEncapsulates a promotional offer for use with in-app-purchase in Apple’s App store.
class CommerceManagerClient facade for the Codename One Commerce service.
class CommercePackageOne 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 CustomerInfoWhat the Codename One Commerce service knows about one customer: the entitlements held, the subscriptions that are active and the attributes the application attached.
class EntitlementInfoOne entitlement of a customer, as the Codename One Commerce service reported it.
class OfferingA set of packages the application offers a customer together, and optionally the paywall that presents them.
class OfferingsThe offerings the Codename One Commerce service configured for this customer: the one to present now, and every other one by id.
interface PendingPurchaseCallbackCallback interface that the main class may implement to be notified of pending purchases.
class ProductRepresents a product within the system
interface PromotionalOfferA marker interface representing a promotional offer for in-app purchase.
class PurchaseRepresents 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 PurchaseCallbackCallback interface that the main class must implement in order for in-app-purchasing to work.
class ReceiptEncapsulates a receipt for an in-app purchase.
interface ReceiptStoreInterface that can be implemented to provide store of receipts.
class ReferralRewardA reward the service granted this customer for a referral: either an entitlement or an amount of a virtual currency.
interface RestoreCallbackCallback interface that the main class must implement in order for the restore option of in-app-purchasing to work.
class WalletExtensionPublishes 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 WalletPassEntryA card entry published to the Apple Wallet issuer-provisioning extension through WalletExtension.