File Coverage

lib/eBay/API/XML/Call/RevokeToken/RevokeTokenRequestType.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::RevokeToken::RevokeTokenRequestType;
4              
5 1     1   1444 use strict;
  1         2  
  1         30  
6 1     1   4 use warnings;
  1         1  
  1         26  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. RevokeTokenRequestType.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::RevokeToken::RevokeTokenRequestType
21              
22             =head1 DESCRIPTION
23              
24             Revokes a user token. The full set of developer keys is required for the RevokeToken
25             call.
26              
27              
28              
29             =head1 SYNOPSIS
30              
31             =cut
32              
33              
34             =head1 INHERITANCE
35              
36             eBay::API::XML::Call::RevokeToken::RevokeTokenRequestType inherits from the L class
37              
38             =cut
39              
40 1     1   34 use eBay::API::XML::RequestDataType;
  0            
  0            
41             our @ISA = ("eBay::API::XML::RequestDataType");
42              
43              
44              
45             my @gaProperties = ( [ 'UnsubscribeNotification', 'xs:boolean', '', '', '' ]
46             );
47             push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()};
48              
49             my @gaAttributes = (
50             );
51             push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()};
52              
53             =head1 Subroutines:
54              
55             =cut
56              
57             sub new {
58             my $classname = shift;
59             my %args = @_;
60             my $self = $classname->SUPER::new(%args);
61             return $self;
62             }
63              
64             sub isScalar {
65             return 0;
66             }
67              
68              
69              
70             =head2 setUnsubscribeNotification()
71              
72             Cancels notification subscriptions for the user/application if set to true. Default value is false.
73              
74             RequiredInput: No
75             # Argument: 'xs:boolean'
76              
77             =cut
78              
79             sub setUnsubscribeNotification {
80             my $self = shift;
81             $self->{'UnsubscribeNotification'} = shift
82             }
83              
84             =head2 isUnsubscribeNotification()
85              
86             # Returns: 'xs:boolean'
87              
88             =cut
89              
90             sub isUnsubscribeNotification {
91             my $self = shift;
92             return $self->{'UnsubscribeNotification'};
93             }
94              
95              
96              
97              
98              
99             ## Attribute and Property lists
100             sub getPropertiesList {
101             my $self = shift;
102             return \@gaProperties;
103             }
104              
105             sub getAttributesList {
106             my $self = shift;
107             return \@gaAttributes;
108             }
109              
110              
111              
112             1;