AdaptySDK 4.4.0
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.
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.

Detailed Description

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

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.

◆ 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.


The documentation for this class was generated from the following file:
  • Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyPrice.cs