File Coverage

lib/eBay/API/XML/DataType/BidAssistantListType.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::DataType::BidAssistantListType;
4              
5 1     1   1280 use strict;
  1         2  
  1         28  
6 1     1   4 use warnings;
  1         2  
  1         25  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. BidAssistantListType.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::DataType::BidAssistantListType
21              
22             =head1 DESCRIPTION
23              
24             Defines how a list of BidAssistant items should be returned.
25              
26              
27              
28             =head1 SYNOPSIS
29              
30             =cut
31              
32              
33             =head1 INHERITANCE
34              
35             eBay::API::XML::DataType::BidAssistantListType inherits from the L class
36              
37             =cut
38              
39 1     1   33 use eBay::API::XML::BaseDataType;
  0            
  0            
40             our @ISA = ("eBay::API::XML::BaseDataType");
41              
42              
43              
44             my @gaProperties = ( [ 'BidGroupID', 'xs:long', '', '', '' ]
45             , [ 'IncludeNotes', 'xs:boolean', '', '', '' ]
46             );
47             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
48              
49             my @gaAttributes = (
50             );
51             push @gaAttributes, @{eBay::API::XML::BaseDataType::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 setBidGroupID()
71              
72             Use this element to specify the bid group id for the Bid Assistant items
73             that you want information about.
74              
75             Calls: GetMyeBayBuying
76             RequiredInput: No
77             Context: BidAssistantList
78              
79             # Argument: 'xs:long'
80              
81             =cut
82              
83             sub setBidGroupID {
84             my $self = shift;
85             $self->{'BidGroupID'} = shift
86             }
87              
88             =head2 getBidGroupID()
89              
90             # Returns: 'xs:long'
91              
92             =cut
93              
94             sub getBidGroupID {
95             my $self = shift;
96             return $self->{'BidGroupID'};
97             }
98              
99              
100             =head2 setIncludeNotes()
101              
102             Use this element if you want to include information about
103             Item.PrivateNotes and Item.eBayNotes in the response. Valid
104             for BidAssistantList, WatchList, BidList, WonList, LostList,
105             ScheduledList, ActiveList, SoldList, and UnsoldList.
106              
107             Calls: GetMyeBayBuying
108             RequiredInput: No
109             Default: False
110             Context: BidAssistantList
111              
112             # Argument: 'xs:boolean'
113              
114             =cut
115              
116             sub setIncludeNotes {
117             my $self = shift;
118             $self->{'IncludeNotes'} = shift
119             }
120              
121             =head2 isIncludeNotes()
122              
123             # Returns: 'xs:boolean'
124              
125             =cut
126              
127             sub isIncludeNotes {
128             my $self = shift;
129             return $self->{'IncludeNotes'};
130             }
131              
132              
133              
134              
135              
136             ## Attribute and Property lists
137             sub getPropertiesList {
138             my $self = shift;
139             return \@gaProperties;
140             }
141              
142             sub getAttributesList {
143             my $self = shift;
144             return \@gaAttributes;
145             }
146              
147              
148              
149             1;