Net::Amazon::Validate::Type(3pm)

Net::Amazon::Validate::Type3pm

Validate user supplied options against known valid options.

Usage

  use Net::Amazon::Validate;
  # ...
  my $valid = Net::Amazon::Validate::factory(operation => 'ResponseGroup',
                                            );
  $valid->ResponseGroup([qw(Small Request)]);
  $valid->ResponseGroup('Large');

Overview

Methods

Asin()

The item's ASIN number.

Please check the subclasses of "Net::Amazon::Validate" for specialized methods.

Todo

I should probably add a function to dispatch calls automatically, that way the user doesn't have to explicity call a function to verify an option. It would make it very easy to write loops to validate input.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Bugs

This library was designed to validate ResponseGroup requests only. Support for other parameters were autogenerated but not verified. The biggest problems are with the intrepration of 'Integers 1 to 30', 'A Merchant ID', or 'Amazon (the default value)'.

Author

Christopher Boumenot, <[email protected]>

From libnet-amazon-perl 0.62-2 in Debian 9 (Stretch). Parsed by carta from the page's man source.