AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptyPrice Class Referencesealed

A price as the store reports it: the amount, and the strings to show it with. More...

Public Member Functions

override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Public Attributes

readonly double Amount
 Discount price of a product in a local currency.
readonly string CurrencyCode
 The currency code of the locale used to format the price of the product. /// [Nullable].
readonly string CurrencySymbol
 The currency symbol of the locale used to format the price of the product. /// [Nullable].
readonly string LocalizedString
 A formatted price of a discount for a user's locale.

Private Member Functions

 AdaptyPrice ()

Detailed Description

A price as the store reports it: the amount, and the strings to show it with.

Constructor & Destructor Documentation

◆ AdaptyPrice()

AdaptySDK.AdaptyPrice.AdaptyPrice ( )
private

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptyPrice.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ Amount

readonly double AdaptySDK.AdaptyPrice.Amount

Discount price of a product in a local currency.

◆ CurrencyCode

readonly string AdaptySDK.AdaptyPrice.CurrencyCode

The currency code of the locale used to format the price of the product. /// [Nullable].

◆ CurrencySymbol

readonly string AdaptySDK.AdaptyPrice.CurrencySymbol

The currency symbol of the locale used to format the price of the product. /// [Nullable].

◆ LocalizedString

readonly string AdaptySDK.AdaptyPrice.LocalizedString

A formatted price of a discount for a user's locale.

[Nullable]


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