http://maasglobal.com/core/components/cost.json
MaaS common units that are used consistently within our own objects
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Develop | No | Forbidden | Forbidden | core/components/cost.json |
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
amount | number |
Required | Yes | cost (this schema) |
currency | complex | Required | No | cost (this schema) |
discount | number |
Optional | No | cost (this schema) |
isFixedPrice | boolean |
Optional | No | cost (this schema) |
originalAmount | number |
Optional | Yes | cost (this schema) |
taxes | number |
Optional | No | cost (this schema) |
amount
number
number
, nullable
0
0.01
currency
One of the following conditions need to be fulfilled.
http://maasglobal.com/core/components/units.json#/definitions/currency
discount
number
number
0
0.01
A flag indicating whether TSP price is fixed
isFixedPrice
boolean
boolean
originalAmount
number
number
, nullable
0
0.01
taxes
number
number
0
0.01