{
"loyaltyOfferId": "string",
"status": "success",
"loyaltyProviderId": "string",
"deviceNumber": 0,
"benefitInputs": [
{
"inputCode": "string"
}
],
"customerId": "string",
"billId": "string",
"paidAt": "2019-08-24T14:15:22Z",
"currencyCode": "string",
"keepLoyaltyBenefitsUsed": true,
"billState": "issued",
"paidItems": [
{
"originalCheckItemId": "string",
"product": {
"productId": "string",
"name": "string",
"categories": [
{
"categoryId": "string",
"parentCategoryId": "string",
"name": "string"
}
]
},
"amount": 0,
"measure": "string",
"vatRate": 0,
"totalPriceWithVat": 0,
"appliedBenefits": [
{
"sourceType": "balance",
"appliedFromBalanceId": "string",
"appliedFromGeneralDiscountId": "string",
"absoluteTotalValue": 0,
"applicationType": "discount",
"negativeCheckItemId": "string"
}
]
}
],
"paymentsByBalances": [
{
"sourceType": "balance",
"appliedFromBalanceId": "string",
"valueUsed": 0,
"paymentMethodCode": "string"
}
],
"usedBalances": [
{
"balanceId": "string",
"usedControllableValue": 0,
"usedNonControllableValue": 0,
"prepaidValue": 0
}
],
"usedGeneralDiscounts": [
{
"generalDiscountId": "string",
"usedValue": 0
}
],
"otherPaymentsValue": 0,
"totalWithVat": 0,
"countryCode": "string"
}