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
integer
integer
, nullable
0
currency
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
WMP |
|
TOKEN |
originalAmount
integer
integer
, nullable
0
productionAmount
integer
integer
, nullable
0
tokenId
string
string
All instances must conform to this regular expression (test examples here):
^[a-z]+(-[a-z]+)*-[a-z0-9_]+$
type
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
charge |
|
refund |