Stay organized with collections
Save and categorize content based on your preferences.
google::play::billing::ProductDetails
#include <billing/models.h>
Details for a product.
Summary
Public attributes
|
description
|
std::string
The product's description.
|
id
|
std::string
The product's unique identifier.
|
name
|
std::string
The product's name.
|
product_offers
|
Collection of offers available for the product.
|
title
|
std::string
The product's title.
|
Public attributes
description
std::string google::play::billing::ProductDetails::description
The product's description.
id
std::string google::play::billing::ProductDetails::id
The product's unique identifier.
name
std::string google::play::billing::ProductDetails::name
product_offers
std::vector< ProductOffer > google::play::billing::ProductDetails::product_offers
Collection of offers available for the product.
title
std::string google::play::billing::ProductDetails::title
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-10 UTC."],[],[],null,["# google::play::billing::ProductDetails Struct Reference\n\ngoogle::play::billing::ProductDetails\n=====================================\n\n\n`#include \u003cbilling/models.h\u003e`\n\nDetails for a product.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [description](#structgoogle_1_1play_1_1billing_1_1_product_details_1aa18e30fd97ed97e6aaec866fb9f1c13f) | `std::string` The product's description. |\n| [id](#structgoogle_1_1play_1_1billing_1_1_product_details_1adb29d3565bc919284d8f61db78da4070) | `std::string` The product's unique identifier. |\n| [name](#structgoogle_1_1play_1_1billing_1_1_product_details_1af3e6ed8924762dfa536252792b6d5b01) | `std::string` The product's name. |\n| [product_offers](#structgoogle_1_1play_1_1billing_1_1_product_details_1adf3f730791f3c79b96ce7a20478d04e2) | `std::vector\u003c `[ProductOffer](/games/playgames/native-pc/reference/struct/google/play/billing/product-offer#structgoogle_1_1play_1_1billing_1_1_product_offer)` \u003e` Collection of offers available for the product. |\n| [title](#structgoogle_1_1play_1_1billing_1_1_product_details_1a1f376a57c6e92b6e0e794663efcf0635) | `std::string` The product's title. |\n\nPublic attributes\n-----------------\n\n### description\n\n```text\nstd::string google::play::billing::ProductDetails::description\n``` \nThe product's description. \n\n### id\n\n```text\nstd::string google::play::billing::ProductDetails::id\n``` \nThe product's unique identifier. \n\n### name\n\n```text\nstd::string google::play::billing::ProductDetails::name\n``` \nThe product's name. \n\n### product_offers\n\n```scdoc\nstd::vector\u003c ProductOffer \u003e google::play::billing::ProductDetails::product_offers\n``` \nCollection of offers available for the product. \n\n### title\n\n```text\nstd::string google::play::billing::ProductDetails::title\n``` \nThe product's title."]]