InputBuilder
in package
implements
BuilderInterface
FinalYes
Deadline calculation input builder.
Tags
Table of Contents
Interfaces
- BuilderInterface
- Deadline calculation input builder interface.
Properties
- $commitment : Commitment|null
- Fulfillment commitment.
- $orderDate : DateTimeInterface|null
- Order date.
Methods
- build() : Input
- Returns the assembled calculation input.
- setCommitment() : $this
- Sets fulfillment commitment.
- setOrderDate() : $this
- Sets order date.
Properties
$commitment
Fulfillment commitment.
private
Commitment|null
$commitment
= null
$orderDate
Order date.
private
DateTimeInterface|null
$orderDate
= null
Methods
build()
Returns the assembled calculation input.
public
build() : Input
Tags
Return values
Input —calculation input
setCommitment()
Sets fulfillment commitment.
public
setCommitment(Commitment $commitment) : $this
Parameters
- $commitment : Commitment
-
fulfillment commitment
Tags
Return values
$thissetOrderDate()
Sets order date.
public
setOrderDate(DateTimeInterface $orderDate) : $this
Parameters
- $orderDate : DateTimeInterface
-
order date