mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: expose currencyCode on Product struct in IAP module (#25058)
Co-authored-by: Shur Singh <ssingh@evernote.com>
This commit is contained in:
@@ -61,6 +61,9 @@ struct Converter<in_app_purchase::Product> {
|
||||
dict.Set("price", val.price);
|
||||
dict.Set("formattedPrice", val.formattedPrice);
|
||||
|
||||
// Currency Information
|
||||
dict.Set("currencyCode", val.currencyCode);
|
||||
|
||||
// Downloadable Content Information
|
||||
dict.Set("isDownloadable", val.isDownloadable);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user