| 1 | package WebService::Walmart::Review; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | $WebService::Walmart::Store::VERSION = '0.01'; | |
| 6 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | # https://developer.walmartlabs.com/docs/read/Reviews_Api | ||
| 10 | 1 | has api_version => ( is => 'ro', default => 8); | |
| 11 | |||
| 12 | 1 | has 'name' => ( is => 'ro'); | |
| 13 | 1 | has 'overallRating' => ( is => 'ro'); | |
| 14 | 1 | has reviewer => ( is => 'ro'); | |
| 15 | 1 | has reviewText => ( is => 'ro'); | |
| 16 | 1 | has submissionTime => ( is => 'ro'); | |
| 17 | 1 | has title => ( is => 'ro'); | |
| 18 | 1 | has upVotes => ( is => 'ro'); | |
| 19 | 1 | has downVotes => ( is => 'ro'); | |
| 20 | |||
| 21 | 1 | __PACKAGE__->meta->make_immutable(); | |
| 22 | 1 | 1; | |
| 23 | |||
| 24 | =pod | ||
| 25 | |||
| 26 | |||
| 27 | =head1 SYNOPSIS | ||
| 28 | |||
| 29 | This module represents the metadata associated with item reviews. | ||
| 30 | |||
| 31 | You probably shouldn't be calling this directly | ||
| 32 | |||
| 33 | =cut | ||