NAME
WWW::Picnic::Result::DeliverySlots - Collection of Picnic delivery slots
VERSION
version 0.100
SYNOPSIS
my $result = $picnic->get_delivery_slots;
for my $slot ($result->all_slots) {
next unless $slot->is_available;
say $slot->window_start, " - ", $slot->window_end;
}
DESCRIPTION
Container for delivery slot results from the API. Provides access to the list of available delivery time slots.
delivery_slots
Arrayref of WWW::Picnic::Result::DeliverySlot objects.
all_slots
Returns list of all delivery slots (as opposed to arrayref).
available_slots
Returns list of only available delivery slots.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-picnic/issues.
IRC
You can reach Getty on irc.perl.org for questions and support.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2025 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.