Delivery
class Delivery
Properties
| protected Collection | $items | The items that should delivered. |
Methods
__construct(Collection $items)
Create a new delivery instance.
Collection
days($until)
Get the delivery days.
bool
hasMinimumOrderValue()
Check if minimum order value has been reached.
Supplier
supplier()
Get the supplier.
Collection
items()
Get the producers.
minimumOrderValue()
No description
int
subtotal()
Get the subtotal.
int
shipping()
Get the shiiping fee.
bool
isFreeShipping()
Check if shipping is free.
Collection
vat()
Get the vat.
Details
at line 22
__construct(Collection $items)
Create a new delivery instance.
at line 32
Collection
days($until)
Get the delivery days.
at line 49
bool
hasMinimumOrderValue()
Check if minimum order value has been reached.
at line 59
Supplier
supplier()
Get the supplier.
at line 69
Collection
items()
Get the producers.
at line 74
minimumOrderValue()
at line 84
int
subtotal()
Get the subtotal.
at line 94
int
shipping()
Get the shiiping fee.
at line 108
bool
isFreeShipping()
Check if shipping is free.
at line 118
Collection
vat()
Get the vat.