File Coverage

lib/eBay/API/XML/Call/GetOrderTransactions.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::GetOrderTransactions;
4              
5 1     1   2389 use strict;
  1         2  
  1         26  
6 1     1   4 use warnings;
  1         1  
  1         24  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetOrderTransactions.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::GetOrderTransactions
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetOrderTransactions inherits from the L class
34              
35             =cut
36              
37 1     1   35 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetOrderTransactions::GetOrderTransactionsRequestType;
41             use eBay::API::XML::Call::GetOrderTransactions::GetOrderTransactionsResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetOrderTransactions';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetOrderTransactions::GetOrderTransactionsRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetOrderTransactions::GetOrderTransactionsResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setIncludeFinalValueFees()
63              
64             Indicates whether to include the final value fee in the
65             following field of the response: Transaction.FinalValueFee.
66             For most listing types, the fee is returned in Transaction.FinalValueFee.
67             For Dutch auctions that end with bids (not Buy It Now purchases), the fee
68             is returned in the following field
69             regardless of what you specify in the IncludeFinalValueFees field:
70             Item.SellingStatus.FinalValueFee.
71             The Final Value Fee for FixedPriceItem, StoresFixedPrice, and Buy It Now
72             Dutch listing types is returned on a transaction-by-transaction basis.
73             For all other listing types, including Chinese and Dutch (not Buy It Now
74             purchases), the Final Value Fee is returned when the listing status is
75             Completed.
76              
77             RequiredInput: No
78             # Argument: 'xs:boolean'
79              
80             =cut
81            
82             sub setIncludeFinalValueFees {
83             my $self = shift;
84             my $sIncludeFinalValueFees = shift;
85             $self->getRequestDataType()->setIncludeFinalValueFees($sIncludeFinalValueFees);
86             }
87              
88             =head2 setItemTransactionIDArray()
89              
90             An array of ItemTransactionIDs.
91              
92             RequiredInput: Conditionally
93             # Argument: 'ns:ItemTransactionIDArrayType'
94              
95             =cut
96            
97             sub setItemTransactionIDArray {
98             my $self = shift;
99             my $pItemTransactionIDArray = shift;
100             $self->getRequestDataType()->setItemTransactionIDArray($pItemTransactionIDArray);
101             }
102              
103             =head2 setOrderIDArray()
104              
105             An array of OrderIDs. You can specify, at most, twenty OrderIDs.
106              
107             RequiredInput: Conditionally
108             # Argument: 'ns:OrderIDArrayType'
109              
110             =cut
111            
112             sub setOrderIDArray {
113             my $self = shift;
114             my $pOrderIDArray = shift;
115             $self->getRequestDataType()->setOrderIDArray($pOrderIDArray);
116             }
117              
118             =head2 setPlatform()
119              
120             Name of the eBay co-branded site upon which the transaction was made.
121             This will serve as a filter for the transactions to get emitted in the response.
122              
123             RequiredInput: No
124             # Argument: 'ns:TransactionPlatformCodeType'
125              
126             =cut
127            
128             sub setPlatform {
129             my $self = shift;
130             my $sPlatform = shift;
131             $self->getRequestDataType()->setPlatform($sPlatform);
132             }
133              
134              
135              
136             #
137             # output properties
138             #
139              
140             =head2 getOrderArray()
141              
142             An array of Orders.
143              
144             Returned: Always
145             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
146             # Returns: 'ns:OrderArrayType'
147              
148             =cut
149            
150             sub getOrderArray {
151             my $self = shift;
152             return $self->getResponseDataType()->getOrderArray();
153             }
154              
155              
156              
157              
158              
159             1;