Represents a Quick Amount in the Catalog.
Catalog Quick Amount
Name | Type | Tags | Description |
---|---|---|---|
type |
str (Catalog Quick Amount Type) |
Required | Determines the type of a specific Quick Amount. |
amount |
Money |
Required | Represents an amount of money. Money fields can be signed or unsigned.Fields that do not explicitly define whether they are signed or unsigned are considered unsigned and can only hold positive amounts. For signed fields, the sign of the value indicates the purpose of the money transfer. See Working with Monetary Amounts for more information. |
score |
long|int |
Optional | Describes the ranking of the Quick Amount provided by machine learning model, in the range [0, 100]. MANUAL type amount will always have score = 100. |
ordinal |
long|int |
Optional | The order in which this Quick Amount should be displayed. |
{
"type": "QUICK_AMOUNT_TYPE_MANUAL",
"amount": {
"amount": 0,
"currency": "MNT"
},
"score": 12,
"ordinal": 200
}