Order Fulfillment Deadline

Commitment

FinalYes

Fulfillment commitment.

Tags
author

Jakub Jabůrek jaburek.jakub@gmail.com

subpackage

Input

Table of Contents

Properties

$hours  : int|null
Maximum number of hours until the order should be fulfilled.

Methods

__construct()  : mixed
Commitment constructor.
getHours()  : int|null
Returns maximum number of hours until the order should be fulfilled.
setHours()  : $this
Sets the maximum number of hours until the order should be fulfilled.

Properties

$hours

Maximum number of hours until the order should be fulfilled.

private int|null $hours

Set to null when there is no commitment to fulfil the order within a particular time.

Methods

__construct()

Commitment constructor.

public __construct(int|null $hours) : mixed
Parameters
$hours : int|null

hours until order is to be fulfilled or null if no commitment

getHours()

Returns maximum number of hours until the order should be fulfilled.

public getHours() : int|null
Return values
int|null

hours until order is to be fulfilled or null if no commitment

setHours()

Sets the maximum number of hours until the order should be fulfilled.

private setHours(int|null $hours) : $this
Parameters
$hours : int|null

hours until order is to be fulfilled or null if no commitment

Tags
throws
InvalidArgumentException

in case the argument is negative

Return values
$this

        
On this page

Search results