File Coverage

lib/eBay/API/XML/Call/GetChallengeToken.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;
4              
5 1     1   2294 use strict;
  1         2  
  1         26  
6 1     1   5 use warnings;
  1         2  
  1         31  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetChallengeToken.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
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetChallengeToken inherits from the L class
34              
35             =cut
36              
37 1     1   45 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetChallengeToken::GetChallengeTokenRequestType;
41             use eBay::API::XML::Call::GetChallengeToken::GetChallengeTokenResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetChallengeToken';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetChallengeToken::GetChallengeTokenRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetChallengeToken::GetChallengeTokenResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62              
63              
64             #
65             # output properties
66             #
67              
68             =head2 getAudioChallengeURL()
69              
70             The URL of the audio clip your application should provide for sight-impaired users.
71             The audio clip corresponds to the image.
72              
73             Returned: Always
74             # Returns: 'xs:string'
75              
76             =cut
77            
78             sub getAudioChallengeURL {
79             my $self = shift;
80             return $self->getResponseDataType()->getAudioChallengeURL();
81             }
82              
83             =head2 getChallengeToken()
84              
85             Botblock token that is used to validate that the user is a human and not a bot.
86              
87             Returned: Always
88             # Returns: 'xs:string'
89              
90             =cut
91            
92             sub getChallengeToken {
93             my $self = shift;
94             return $self->getResponseDataType()->getChallengeToken();
95             }
96              
97             =head2 getImageChallengeURL()
98              
99             The URL of the image your application should display to
100             the user for a botblock challenge.
101              
102             Returned: Always
103             # Returns: 'xs:string'
104              
105             =cut
106            
107             sub getImageChallengeURL {
108             my $self = shift;
109             return $self->getResponseDataType()->getImageChallengeURL();
110             }
111              
112              
113              
114              
115              
116             1;