File Coverage

lib/eBay/API/XML/DataType/PaginatedOrderTransactionArrayType.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::PaginatedOrderTransactionArrayType;
4              
5 1     1   1296 use strict;
  1         4  
  1         36  
6 1     1   7 use warnings;
  1         1  
  1         33  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. PaginatedOrderTransactionArrayType.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::PaginatedOrderTransactionArrayType
21              
22             =head1 DESCRIPTION
23              
24             Contains a paginated list of orders, transactions, or both, with each
25             item an OrderTransactionType.
26              
27              
28              
29             =head1 SYNOPSIS
30              
31             =cut
32              
33              
34             =head1 INHERITANCE
35              
36             eBay::API::XML::DataType::PaginatedOrderTransactionArrayType inherits from the L class
37              
38             =cut
39              
40 1     1   46 use eBay::API::XML::BaseDataType;
  0            
  0            
41             our @ISA = ("eBay::API::XML::BaseDataType");
42              
43             use eBay::API::XML::DataType::OrderTransactionArrayType;
44             use eBay::API::XML::DataType::PaginationResultType;
45              
46              
47             my @gaProperties = ( [ 'OrderTransactionArray', 'ns:OrderTransactionArrayType', ''
48             ,'eBay::API::XML::DataType::OrderTransactionArrayType', '1' ]
49             , [ 'PaginationResult', 'ns:PaginationResultType', ''
50             ,'eBay::API::XML::DataType::PaginationResultType', '1' ]
51             );
52             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
53              
54             my @gaAttributes = (
55             );
56             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
57              
58             =head1 Subroutines:
59              
60             =cut
61              
62             sub new {
63             my $classname = shift;
64             my %args = @_;
65             my $self = $classname->SUPER::new(%args);
66             return $self;
67             }
68              
69             sub isScalar {
70             return 0;
71             }
72              
73              
74              
75             =head2 setOrderTransactionArray()
76              
77             Contains the list of orders, transactions, or both.
78              
79             # Argument: 'ns:OrderTransactionArrayType'
80              
81             =cut
82              
83             sub setOrderTransactionArray {
84             my $self = shift;
85             $self->{'OrderTransactionArray'} = shift
86             }
87              
88             =head2 getOrderTransactionArray()
89              
90             Calls: GetMyeBayBuying
91             Returned: Conditionally
92             Details: DetailLevel: none, ReturnSummary, ReturnAll
93             Context: WonList
94             DeletedFromWonList
95              
96             Calls: GetMyeBaySelling
97             Returned: Conditionally
98             Details: DetailLevel: none, ReturnSummary, ReturnAll
99             Context: SoldList
100             DeletedFromSoldList
101              
102             # Returns: 'ns:OrderTransactionArrayType'
103              
104             =cut
105              
106             sub getOrderTransactionArray {
107             my $self = shift;
108             return $self->_getDataTypeInstance( 'OrderTransactionArray'
109             ,'eBay::API::XML::DataType::OrderTransactionArrayType');
110             }
111              
112              
113             =head2 setPaginationResult()
114              
115             Specifies information about the list, including number of pages and
116             number of entries.
117              
118             # Argument: 'ns:PaginationResultType'
119              
120             =cut
121              
122             sub setPaginationResult {
123             my $self = shift;
124             $self->{'PaginationResult'} = shift
125             }
126              
127             =head2 getPaginationResult()
128              
129             Calls: GetMyeBayBuying
130             Returned: Conditionally
131             Details: DetailLevel: none, ReturnSummary, ReturnAll
132             Context: WonList
133             DeletedFromWonList
134              
135             Calls: GetMyeBaySelling
136             Returned: Conditionally
137             Details: DetailLevel: none, ReturnSummary, ReturnAll
138             Context: SoldList
139             DeletedFromSoldList
140              
141             # Returns: 'ns:PaginationResultType'
142              
143             =cut
144              
145             sub getPaginationResult {
146             my $self = shift;
147             return $self->_getDataTypeInstance( 'PaginationResult'
148             ,'eBay::API::XML::DataType::PaginationResultType');
149             }
150              
151              
152              
153              
154              
155             ## Attribute and Property lists
156             sub getPropertiesList {
157             my $self = shift;
158             return \@gaProperties;
159             }
160              
161             sub getAttributesList {
162             my $self = shift;
163             return \@gaAttributes;
164             }
165              
166              
167              
168             1;