ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
23 lines (22 loc) • 736 B
TypeScript
export default interface CostUpdatedRequest {
customData?: CustomDataType;
/**
* Current total cost, based on the information known by the CSMS, of the transaction including taxes. In the currency configured with the configuration Variable: [<<configkey-currency, Currency>>]
*
*
*/
totalCost: number;
/**
* Transaction Id of the transaction the current cost are asked for.
*
*
*/
transactionId: string;
}
/**
* This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
*/
export interface CustomDataType {
vendorId: string;
[k: string]: unknown;
}