| 1 | package WebService::Walmart::Item; | ||
| 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 | 1 | $WebService::Walmart::Item::VERSION = '0.01'; | |
| 5 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | # from https://developer.walmartlabs.com/docs/read/Item_Field_Description | ||
| 9 | 1 | has api_version => ( is => 'ro', default => 20); | |
| 10 | 1 | has itemId => ( is => 'ro'); | |
| 11 | 1 | has parentItemId => ( is => 'ro'); | |
| 12 | 1 | has name => ( is => 'ro'); | |
| 13 | 1 | has msrp => ( is => 'ro'); | |
| 14 | 1 | has salePrice => ( is => 'ro'); | |
| 15 | 1 | has upc => ( is => 'ro'); | |
| 16 | 1 | has categoryPath => ( is => 'ro'); | |
| 17 | 1 | has categoryNode => ( is => 'ro'); | |
| 18 | 1 | has shortDescription => ( is => 'ro'); | |
| 19 | 1 | has longDescription => ( is => 'ro'); | |
| 20 | 1 | has brandName => ( is => 'ro'); | |
| 21 | 1 | has thumbnailImage => ( is => 'ro'); | |
| 22 | 1 | has mediumImage => ( is => 'ro'); | |
| 23 | 1 | has largeImage => ( is => 'ro'); | |
| 24 | 1 | has productTrackingUrl => ( is => 'ro'); | |
| 25 | 1 | has ninetySevenCentShipping => ( is => 'ro'); | |
| 26 | 1 | has standardShipRate => ( is => 'ro'); | |
| 27 | 1 | has twoThreeDayShippingRate => (is => 'ro'); | |
| 28 | 1 | has overnightShippingRate => ( is => 'ro'); | |
| 29 | 1 | has size => ( is => 'ro'); | |
| 30 | 1 | has color => ( is => 'ro'); | |
| 31 | 1 | has marketplace => ( is => 'ro'); | |
| 32 | 1 | has sellerinfo => ( is => 'ro'); | |
| 33 | 1 | has shipToStore => ( is => 'ro'); | |
| 34 | 1 | has freeShipToStore => ( is => 'ro'); | |
| 35 | 1 | has modelNumber => ( is => 'ro'); | |
| 36 | 1 | has productUrl => ( is => 'ro'); | |
| 37 | 1 | has availableOnline => ( is => 'ro'); | |
| 38 | 1 | has stock => ( is => 'ro'); | |
| 39 | 1 | has rollBack => ( is => 'ro'); | |
| 40 | 1 | has specialBuy => ( is => 'ro'); | |
| 41 | 1 | has customerRating => ( is => 'ro'); | |
| 42 | 1 | has customerRatingImage => ( is => 'ro'); | |
| 43 | 1 | has numReviews => ( is => 'ro'); | |
| 44 | 1 | has clearance => ( is => 'ro'); | |
| 45 | 1 | has preOrder => ( is => 'ro'); | |
| 46 | 1 | has preOrderShipsOn => ( is => 'ro'); | |
| 47 | |||
| 48 | 1 | __PACKAGE__->meta->make_immutable(); | |
| 49 | 1 | 1; | |
| 50 | |||
| 51 | =pod | ||
| 52 | |||
| 53 | |||
| 54 | =head1 SYNOPSIS | ||
| 55 | |||
| 56 | This module represents the metadata associated with the item. It is based upon | ||
| 57 | https://developer.walmartlabs.com/docs/read/Item_Field_Description | ||
| 58 | |||
| 59 | You probably shouldn't be calling this directly | ||
| 60 | |||
| 61 | =cut | ||