http://maasglobal.com/core/components/fare.json
A fare/price as billed to the user in WMPs or in tokens
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | Yes | Develop | No | Forbidden | Forbidden | core/components/fare.json |
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| amount | integer |
Required | Yes | fare (this schema) |
| currency | enum |
Required | No | fare (this schema) |
| originalAmount | integer |
Optional | Yes | fare (this schema) |
| productionAmount | integer |
Optional | Yes | fare (this schema) |
| tokenId | string |
Optional | No | fare (this schema) |
| type | enum |
Optional | No | fare (this schema) |
amount
integerinteger, nullable
0currency
enumThe value of this property must be equal to one of the known values below.
| Value | Description |
|---|---|
WMP |
|
TOKEN |
originalAmount
integerinteger, nullable
0productionAmount
integerinteger, nullable
0tokenId
stringstring
All instances must conform to this regular expression (test examples here):
^[a-z]+(-[a-z]+)*-[a-z0-9_]+$
type
enumThe value of this property must be equal to one of the known values below.
| Value | Description |
|---|---|
charge |
|
refund |