NAME

WWW::Picnic::Result::DeliverySlot - Picnic delivery time slot

VERSION

version 0.100

SYNOPSIS

my $slots = $picnic->get_delivery_slots;
for my $slot (@{ $slots->delivery_slots }) {
    say $slot->window_start, " - ", $slot->window_end;
    say "Available: ", $slot->is_available ? "yes" : "no";
}

DESCRIPTION

Represents an available delivery time slot with start/end times, availability status, and minimum order requirements.

slot_id

Unique identifier for this delivery slot.

hub_id

Identifier of the delivery hub.

fc_id

Identifier of the fulfillment center.

window_start

Start time of the delivery window (ISO 8601 timestamp).

window_end

End time of the delivery window (ISO 8601 timestamp).

cut_off_time

Latest time to place an order for this slot (ISO 8601 timestamp).

is_available

Boolean indicating if this slot can be selected.

unavailability_reason

Reason why slot is unavailable, if is_available is false.

minimum_order_value

Minimum order value in cents required for this slot.

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.