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

Resolved product metadata. More...

#include <in_app_purchase.hpp>

Public Attributes

std::string sku
 Caller-supplied identifier.
std::string title
 Localized product title.
std::string description
 Localized long description.
std::string price_formatted
 Localized price string ("$0.99", "€0,99").
std::string price_currency_code
 ISO 4217 (e.g. "USD").
double price_amount = 0.0
 Numeric price in price_currency_code units.
bool is_subscription = false
 True for auto-renewing subscriptions.

Detailed Description

Resolved product metadata.

Member Data Documentation

◆ description

std::string pulp::events::Product::description

Localized long description.

◆ is_subscription

bool pulp::events::Product::is_subscription = false

True for auto-renewing subscriptions.

◆ price_amount

double pulp::events::Product::price_amount = 0.0

Numeric price in price_currency_code units.

◆ price_currency_code

std::string pulp::events::Product::price_currency_code

ISO 4217 (e.g. "USD").

◆ price_formatted

std::string pulp::events::Product::price_formatted

Localized price string ("$0.99", "€0,99").

◆ sku

std::string pulp::events::Product::sku

Caller-supplied identifier.

◆ title

std::string pulp::events::Product::title

Localized product title.


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