class StoreVolumeReport extends StoreReport

Properties

Volume $volume

The volume to generate a new report for.

Methods

array
rules()

Get the validation rules that apply to the request.

void
withValidator(Validator $validator)

Configure the validator instance.

array
getOptions()

Get the options for the new report.

bool
isType(array|int $allowed)

Check if the requested reporty type ID is in the supplied array.

bool
isAllowedForExportArea()

Check if export_area may be configured for the requested report type.

bool
isAllowedForAggregateChildLabels()

Check if aggregate_child_labels may be configured for the requested report type.

bool
isAllowedForStripIfdo()

Check if strip_ifdo may be configured for the requested report type.

bool
authorize()

Determine if the user is authorized to make this request.

Details

at line 36
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line 74
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 120
array getOptions()

Get the options for the new report.

Return Value

array

in StoreReport at line 99
protected bool isType(array|int $allowed)

Check if the requested reporty type ID is in the supplied array.

Parameters

array|int $allowed

Return Value

bool

in StoreReport at line 115
protected bool isAllowedForExportArea()

Check if export_area may be configured for the requested report type.

Return Value

bool

in StoreReport at line 132
protected bool isAllowedForAggregateChildLabels()

Check if aggregate_child_labels may be configured for the requested report type.

Return Value

bool

in StoreReport at line 144
protected bool isAllowedForStripIfdo()

Check if strip_ifdo may be configured for the requested report type.

Return Value

bool

at line 24
bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool