| 1 | package WWW::Picnic::Result::DeliverySlot; | ||
| 2 | # ABSTRACT: Picnic delivery time slot | ||
| 3 | 2 | our $VERSION = '0.101'; | |
| 4 | 2 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | extends 'WWW::Picnic::Result'; | |
| 7 | |||
| 8 | |||
| 9 | has slot_id => ( | ||
| 10 | is => 'ro', | ||
| 11 | lazy => 1, | ||
| 12 | 1 | ▶ | default => sub { shift->_get('slot_id') }, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 13 | 2 | ); | |
| 14 | |||
| 15 | |||
| 16 | has hub_id => ( | ||
| 17 | is => 'ro', | ||
| 18 | lazy => 1, | ||
| 19 | 1 | ▶ | default => sub { shift->_get('hub_id') }, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 20 | 2 | ); | |
| 21 | |||
| 22 | |||
| 23 | has fc_id => ( | ||
| 24 | is => 'ro', | ||
| 25 | lazy => 1, | ||
| 26 | 0 | ▶ | default => sub { shift->_get('fc_id') }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 27 | 2 | ); | |
| 28 | |||
| 29 | |||
| 30 | has window_start => ( | ||
| 31 | is => 'ro', | ||
| 32 | lazy => 1, | ||
| 33 | 1 | ▶ | default => sub { shift->_get('window_start') }, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 34 | 2 | ); | |
| 35 | |||
| 36 | |||
| 37 | has window_end => ( | ||
| 38 | is => 'ro', | ||
| 39 | lazy => 1, | ||
| 40 | 1 | ▶ | default => sub { shift->_get('window_end') }, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 41 | 2 | ); | |
| 42 | |||
| 43 | |||
| 44 | has cut_off_time => ( | ||
| 45 | is => 'ro', | ||
| 46 | lazy => 1, | ||
| 47 | 0 | ▶ | default => sub { shift->_get('cut_off_time') }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 48 | 2 | ); | |
| 49 | |||
| 50 | |||
| 51 | has is_available => ( | ||
| 52 | is => 'ro', | ||
| 53 | lazy => 1, | ||
| 54 | 2 | ▶ | default => sub { shift->_get('is_available') }, |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 55 | 2 | ); | |
| 56 | |||
| 57 | |||
| 58 | has unavailability_reason => ( | ||
| 59 | is => 'ro', | ||
| 60 | lazy => 1, | ||
| 61 | 0 | ▶ | default => sub { shift->_get('unavailability_reason') }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 62 | 2 | ); | |
| 63 | |||
| 64 | |||
| 65 | has minimum_order_value => ( | ||
| 66 | is => 'ro', | ||
| 67 | lazy => 1, | ||
| 68 | 0 | ▶ | default => sub { shift->_get('minimum_order_value') }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 69 | 2 | ); | |
| 70 | |||
| 71 | |||
| 72 | 2 | 1; | |
| 73 | |||
| 74 | __END__ | ||