PendingTime#

NAME#

Kernel::System::Calendar::Ticket::PendingTime - PendingTime appointment type

DESCRIPTION#

PendingTime ticket appointment type.

PUBLIC INTERFACE#

new()#

create an object. Do not use it directly, instead use:

use Kernel::System::ObjectManager;
local $Kernel::OM = Kernel::System::ObjectManager->new();
my $TicketPendingTimeObject = $Kernel::OM->Get('Kernel::System::Calendar::Ticket::PendingTime');

GetTime()#

returns time value for pending time appointment type.

my $PendingTime = $TicketPendingTimeObject->GetTime(
    Type     => 'PendingTime',
    TicketID => 1,
);

SetTime()#

set ticket pending time to supplied time value.

my $Success = $TicketPendingTimeObject->SetTime(
    Type     => 'PendingTime',
    Value    => '2016-01-01 00:00:00',
    TicketID => 1,
);

returns 1 if successful.