Kernel::WebApp::Controller::API::Role::HandlesPrimarySecondaryValue

NAME

Kernel::WebApp::Controller::API::Role::HandlesPrimarySecondaryValue – Overrides JSON field validation in the backend to allow for hash storage and hooks into the data validation process to calculate a floating point value from the provided hash values.

PUBLIC INTERFACE

Consume this role to calculate accounted time floating point value from hash provided by TicketTimeUnitDropdown package.

    with qw(
        Kernel::WebApp::Controller::API::Role::HandlesPrimarySecondaryValue
    )

DataValidate

Calculate floating point value from hash values if provided.

Scroll to Top