Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::events::Purchase Struct Reference

Single transaction record. More...

#include <in_app_purchase.hpp>

Public Attributes

std::string sku
 Matches the SKU passed to purchase().
PurchaseState state = PurchaseState::Unknown
std::string transaction_id
 Backend-assigned transaction identifier.
std::string receipt
 Opaque receipt bytes from a host backend, if any.
std::string error
 Empty unless state == Failed.

Detailed Description

Single transaction record.

Member Data Documentation

◆ error

std::string pulp::events::Purchase::error

Empty unless state == Failed.

◆ receipt

std::string pulp::events::Purchase::receipt

Opaque receipt bytes from a host backend, if any.

◆ sku

std::string pulp::events::Purchase::sku

Matches the SKU passed to purchase().

◆ state

PurchaseState pulp::events::Purchase::state = PurchaseState::Unknown

◆ transaction_id

std::string pulp::events::Purchase::transaction_id

Backend-assigned transaction identifier.


The documentation for this struct was generated from the following file: