File Coverage

lib/eBay/API/XML/Call/GetChallengeToken/GetChallengeTokenRequestType.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             package eBay::API::XML::Call::GetChallengeToken::GetChallengeTokenRequestType;
4              
5 1     1   1381 use strict;
  1         2  
  1         27  
6 1     1   4 use warnings;
  1         2  
  1         27  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetChallengeTokenRequestType.pm
12             # Generated by: ......... genEBayApiDataTypes.pl
13             # Last Generated: ....... 08/24/2008 16:44
14             # API Release Number: ... 579
15             #
16             ##########################################################################
17              
18             =head1 NAME
19              
20             eBay::API::XML::Call::GetChallengeToken::GetChallengeTokenRequestType
21              
22             =head1 DESCRIPTION
23              
24             Retrieves a botblock token and URLs for an image or audio clip that the user is to
25             match.
26            

27             Use this call in any process for which you would find a botblock
28             challenge to be of value.
29            

30             To use this call, make a GetChallengeToken request to get a token, an image URL and an
31             audio clip URL.
32            

33             Then, optionally, call ValidateChallengeInput with the token, the user's
34             response, and whether the retrieved token should remain valid for a short period
35             of time. The response from ValidateChallengeInput indicates whether the token is
36             valid.
37              
38              
39              
40             =head1 SYNOPSIS
41              
42             =cut
43              
44              
45             =head1 INHERITANCE
46              
47             eBay::API::XML::Call::GetChallengeToken::GetChallengeTokenRequestType inherits from the L class
48              
49             =cut
50              
51 1     1   33 use eBay::API::XML::RequestDataType;
  0            
  0            
52             our @ISA = ("eBay::API::XML::RequestDataType");
53              
54              
55              
56             my @gaProperties = (
57             );
58             push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()};
59              
60             my @gaAttributes = (
61             );
62             push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()};
63              
64             =head1 Subroutines:
65              
66             =cut
67              
68             sub new {
69             my $classname = shift;
70             my %args = @_;
71             my $self = $classname->SUPER::new(%args);
72             return $self;
73             }
74              
75             sub isScalar {
76             return 0;
77             }
78              
79              
80              
81              
82              
83              
84             ## Attribute and Property lists
85             sub getPropertiesList {
86             my $self = shift;
87             return \@gaProperties;
88             }
89              
90             sub getAttributesList {
91             my $self = shift;
92             return \@gaAttributes;
93             }
94              
95              
96              
97             1;