Snapd.Price¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Amount of price |
||
r/w/co |
Currency amount is in |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Snapd.Price(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Snapd.Price
contains pricing information.New in version 1.0.
- get_amount()¶
- Returns:
a currency amount.
- Return type:
Get the currency amount for this price, e.g. 0.99.
New in version 1.0.
Property Details¶
- Snapd.Price.props.amount¶
- Name:
amount
- Type:
- Default Value:
0.0
- Flags:
Amount of price