NAME

WWW::Picnic::Result::SearchResult - Picnic product search result item

VERSION

version 0.100

SYNOPSIS

my $results = $picnic->search('apple');
for my $item ($results->all_items) {
    say $item->name;
    say "Price: ", $item->display_price;
}

DESCRIPTION

Represents a single item from search results. Contains basic product information suitable for display in search result lists.

id

Product identifier.

name

Product name.

display_price

Formatted price string for display.

price

Price in cents.

image_id

Identifier for the product image.

unit_quantity

Quantity/unit description (e.g., "500g", "1L").

max_count

Maximum quantity that can be ordered.

decorators

Arrayref of decorators (badges, labels, etc.) for UI display.

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.