-
- All Implemented Interfaces:
-
android.os.Parcelable,org.readium.r2.shared.JSONable
public final class Price implements JSONable, Parcelable
The price of a publication in an OPDS link.
https://drafts.opds.io/schema/properties.schema.json
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPrice.Companion
-
Method Summary
Modifier and Type Method Description final StringgetCurrency()final DoublegetValue()JSONObjecttoJSON()Serializes an Price to its JSON representation. -
-
Method Detail
-
getCurrency
final String getCurrency()
-
toJSON
JSONObject toJSON()
Serializes an Price to its JSON representation.
-
-
-
-