| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | #!/usr/bin/perl | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | package eBay::API::XML::Call::GetItemTransactions::GetItemTransactionsRequestType; | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 1 |  |  | 1 |  | 3275 | use strict; | 
|  | 1 |  |  |  |  | 3 |  | 
|  | 1 |  |  |  |  | 54 |  | 
| 6 | 1 |  |  | 1 |  | 9 | use warnings; | 
|  | 1 |  |  |  |  | 3 |  | 
|  | 1 |  |  |  |  | 45 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | ########################################################################## | 
| 9 |  |  |  |  |  |  | # | 
| 10 |  |  |  |  |  |  | # Module: ............... eBay/API/XML | 
| 11 |  |  |  |  |  |  | # File: ................. GetItemTransactionsRequestType.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::GetItemTransactions::GetItemTransactionsRequestType | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | Retrieves transaction information for a specified itemID. Depending on | 
| 25 |  |  |  |  |  |  | whether the listing sells one or multiple items and on whether anything | 
| 26 |  |  |  |  |  |  | has been sold in that listing, this returns zero, one or multiple transactions. | 
| 27 |  |  |  |  |  |  | Often, it is more efficient to use GetSellerTransactions instead. | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | =cut | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =head1 INHERITANCE | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | eBay::API::XML::Call::GetItemTransactions::GetItemTransactionsRequestType inherits from the L class | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | =cut | 
| 41 |  |  |  |  |  |  |  | 
| 42 | 1 |  |  | 1 |  | 36 | use eBay::API::XML::RequestDataType; | 
|  | 0 |  |  |  |  |  |  | 
|  | 0 |  |  |  |  |  |  | 
| 43 |  |  |  |  |  |  | our @ISA = ("eBay::API::XML::RequestDataType"); | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | use eBay::API::XML::DataType::ItemIDType; | 
| 46 |  |  |  |  |  |  | use eBay::API::XML::DataType::PaginationType; | 
| 47 |  |  |  |  |  |  | use eBay::API::XML::DataType::Enum::TransactionPlatformCodeType; | 
| 48 |  |  |  |  |  |  |  | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | my @gaProperties = ( [ 'IncludeContainingOrder', 'xs:boolean', '', '', '' ] | 
| 51 |  |  |  |  |  |  | , [ 'IncludeFinalValueFee', 'xs:boolean', '', '', '' ] | 
| 52 |  |  |  |  |  |  | , [ 'ItemID', 'ns:ItemIDType', '' | 
| 53 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::ItemIDType', '1' ] | 
| 54 |  |  |  |  |  |  | , [ 'ModTimeFrom', 'xs:dateTime', '', '', '' ] | 
| 55 |  |  |  |  |  |  | , [ 'ModTimeTo', 'xs:dateTime', '', '', '' ] | 
| 56 |  |  |  |  |  |  | , [ 'NumberOfDays', 'xs:int', '', '', '' ] | 
| 57 |  |  |  |  |  |  | , [ 'Pagination', 'ns:PaginationType', '' | 
| 58 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::PaginationType', '1' ] | 
| 59 |  |  |  |  |  |  | , [ 'Platform', 'ns:TransactionPlatformCodeType', '' | 
| 60 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::Enum::TransactionPlatformCodeType', '' ] | 
| 61 |  |  |  |  |  |  | , [ 'TransactionID', 'xs:string', '', '', '' ] | 
| 62 |  |  |  |  |  |  | ); | 
| 63 |  |  |  |  |  |  | push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; | 
| 64 |  |  |  |  |  |  |  | 
| 65 |  |  |  |  |  |  | my @gaAttributes = ( | 
| 66 |  |  |  |  |  |  | ); | 
| 67 |  |  |  |  |  |  | push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; | 
| 68 |  |  |  |  |  |  |  | 
| 69 |  |  |  |  |  |  | =head1 Subroutines: | 
| 70 |  |  |  |  |  |  |  | 
| 71 |  |  |  |  |  |  | =cut | 
| 72 |  |  |  |  |  |  |  | 
| 73 |  |  |  |  |  |  | sub new { | 
| 74 |  |  |  |  |  |  | my $classname = shift; | 
| 75 |  |  |  |  |  |  | my %args = @_; | 
| 76 |  |  |  |  |  |  | my $self = $classname->SUPER::new(%args); | 
| 77 |  |  |  |  |  |  | return $self; | 
| 78 |  |  |  |  |  |  | } | 
| 79 |  |  |  |  |  |  |  | 
| 80 |  |  |  |  |  |  | sub isScalar { | 
| 81 |  |  |  |  |  |  | return 0; | 
| 82 |  |  |  |  |  |  | } | 
| 83 |  |  |  |  |  |  |  | 
| 84 |  |  |  |  |  |  |  | 
| 85 |  |  |  |  |  |  |  | 
| 86 |  |  |  |  |  |  | =head2 setIncludeContainingOrder() | 
| 87 |  |  |  |  |  |  |  | 
| 88 |  |  |  |  |  |  | Whether to retrieve the order information. | 
| 89 |  |  |  |  |  |  | Default is false. | 
| 90 |  |  |  |  |  |  | Will not return the ContainingOrder information for an Express transaction that was part of an Express order. | 
| 91 |  |  |  |  |  |  |  | 
| 92 |  |  |  |  |  |  | RequiredInput: No | 
| 93 |  |  |  |  |  |  | #    Argument: 'xs:boolean' | 
| 94 |  |  |  |  |  |  |  | 
| 95 |  |  |  |  |  |  | =cut | 
| 96 |  |  |  |  |  |  |  | 
| 97 |  |  |  |  |  |  | sub setIncludeContainingOrder { | 
| 98 |  |  |  |  |  |  | my $self = shift; | 
| 99 |  |  |  |  |  |  | $self->{'IncludeContainingOrder'} = shift | 
| 100 |  |  |  |  |  |  | } | 
| 101 |  |  |  |  |  |  |  | 
| 102 |  |  |  |  |  |  | =head2 isIncludeContainingOrder() | 
| 103 |  |  |  |  |  |  |  | 
| 104 |  |  |  |  |  |  | #    Returns: 'xs:boolean' | 
| 105 |  |  |  |  |  |  |  | 
| 106 |  |  |  |  |  |  | =cut | 
| 107 |  |  |  |  |  |  |  | 
| 108 |  |  |  |  |  |  | sub isIncludeContainingOrder { | 
| 109 |  |  |  |  |  |  | my $self = shift; | 
| 110 |  |  |  |  |  |  | return $self->{'IncludeContainingOrder'}; | 
| 111 |  |  |  |  |  |  | } | 
| 112 |  |  |  |  |  |  |  | 
| 113 |  |  |  |  |  |  |  | 
| 114 |  |  |  |  |  |  | =head2 setIncludeFinalValueFee() | 
| 115 |  |  |  |  |  |  |  | 
| 116 |  |  |  |  |  |  | Indicates whether to include final value fees in the response. | 
| 117 |  |  |  |  |  |  | For most listing types, the fee is returned in Transaction.FinalValueFee. | 
| 118 |  |  |  |  |  |  | For Dutch auctions that end with bids (not Buy It Now purchases), the fee | 
| 119 |  |  |  |  |  |  | is returned in Item.SellingStatus.FinalValueFee. | 
| 120 |  |  |  |  |  |  | The Final Value Fee for FixedPriceItem, StoresFixedPrice, and Buy It Now | 
| 121 |  |  |  |  |  |  | Dutch listing types is returned on a transaction by transaction basis. | 
| 122 |  |  |  |  |  |  | For all other listing types, including Chinese and Dutch (no Buy It Now | 
| 123 |  |  |  |  |  |  | purchases), the Final Value Fee is returned when the listing status is | 
| 124 |  |  |  |  |  |  | Completed. | 
| 125 |  |  |  |  |  |  |  | 
| 126 |  |  |  |  |  |  | RequiredInput: No | 
| 127 |  |  |  |  |  |  | #    Argument: 'xs:boolean' | 
| 128 |  |  |  |  |  |  |  | 
| 129 |  |  |  |  |  |  | =cut | 
| 130 |  |  |  |  |  |  |  | 
| 131 |  |  |  |  |  |  | sub setIncludeFinalValueFee { | 
| 132 |  |  |  |  |  |  | my $self = shift; | 
| 133 |  |  |  |  |  |  | $self->{'IncludeFinalValueFee'} = shift | 
| 134 |  |  |  |  |  |  | } | 
| 135 |  |  |  |  |  |  |  | 
| 136 |  |  |  |  |  |  | =head2 isIncludeFinalValueFee() | 
| 137 |  |  |  |  |  |  |  | 
| 138 |  |  |  |  |  |  | #    Returns: 'xs:boolean' | 
| 139 |  |  |  |  |  |  |  | 
| 140 |  |  |  |  |  |  | =cut | 
| 141 |  |  |  |  |  |  |  | 
| 142 |  |  |  |  |  |  | sub isIncludeFinalValueFee { | 
| 143 |  |  |  |  |  |  | my $self = shift; | 
| 144 |  |  |  |  |  |  | return $self->{'IncludeFinalValueFee'}; | 
| 145 |  |  |  |  |  |  | } | 
| 146 |  |  |  |  |  |  |  | 
| 147 |  |  |  |  |  |  |  | 
| 148 |  |  |  |  |  |  | =head2 setItemID() | 
| 149 |  |  |  |  |  |  |  | 
| 150 |  |  |  |  |  |  | Unique item ID for the item for which to retrieve transactions. | 
| 151 |  |  |  |  |  |  |  | 
| 152 |  |  |  |  |  |  | MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) | 
| 153 |  |  |  |  |  |  |  | 
| 154 |  |  |  |  |  |  | RequiredInput: Yes | 
| 155 |  |  |  |  |  |  | #    Argument: 'ns:ItemIDType' | 
| 156 |  |  |  |  |  |  |  | 
| 157 |  |  |  |  |  |  | =cut | 
| 158 |  |  |  |  |  |  |  | 
| 159 |  |  |  |  |  |  | sub setItemID { | 
| 160 |  |  |  |  |  |  | my $self = shift; | 
| 161 |  |  |  |  |  |  | $self->{'ItemID'} = shift | 
| 162 |  |  |  |  |  |  | } | 
| 163 |  |  |  |  |  |  |  | 
| 164 |  |  |  |  |  |  | =head2 getItemID() | 
| 165 |  |  |  |  |  |  |  | 
| 166 |  |  |  |  |  |  | #    Returns: 'ns:ItemIDType' | 
| 167 |  |  |  |  |  |  |  | 
| 168 |  |  |  |  |  |  | =cut | 
| 169 |  |  |  |  |  |  |  | 
| 170 |  |  |  |  |  |  | sub getItemID { | 
| 171 |  |  |  |  |  |  | my $self = shift; | 
| 172 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'ItemID' | 
| 173 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::ItemIDType'); | 
| 174 |  |  |  |  |  |  | } | 
| 175 |  |  |  |  |  |  |  | 
| 176 |  |  |  |  |  |  |  | 
| 177 |  |  |  |  |  |  | =head2 setModTimeFrom() | 
| 178 |  |  |  |  |  |  |  | 
| 179 |  |  |  |  |  |  | Also see NumberOfDays which, if used, takes precedence over ModTimeFrom and | 
| 180 |  |  |  |  |  |  | ModTimeTo. If you prefer to use ModTimeFrom and | 
| 181 |  |  |  |  |  |  | ModTimeTo, you specify the time range within which | 
| 182 |  |  |  |  |  |  | retrieved transactions' statuses were modified. | 
| 183 |  |  |  |  |  |  | ModTimeFrom is the earlier (older) date and ModTimeTo is the later (more recent) date. | 
| 184 |  |  |  |  |  |  | If you specify this value, and do not specify the other end of the range, | 
| 185 |  |  |  |  |  |  | then the time range is 30 days. | 
| 186 |  |  |  |  |  |  | The time range between ModTimeFrom to ModTimeTo | 
| 187 |  |  |  |  |  |  | cannot be greater than 30 days. | 
| 188 |  |  |  |  |  |  |  | 
| 189 |  |  |  |  |  |  | RequiredInput: No | 
| 190 |  |  |  |  |  |  | #    Argument: 'xs:dateTime' | 
| 191 |  |  |  |  |  |  |  | 
| 192 |  |  |  |  |  |  | =cut | 
| 193 |  |  |  |  |  |  |  | 
| 194 |  |  |  |  |  |  | sub setModTimeFrom { | 
| 195 |  |  |  |  |  |  | my $self = shift; | 
| 196 |  |  |  |  |  |  | $self->{'ModTimeFrom'} = shift | 
| 197 |  |  |  |  |  |  | } | 
| 198 |  |  |  |  |  |  |  | 
| 199 |  |  |  |  |  |  | =head2 getModTimeFrom() | 
| 200 |  |  |  |  |  |  |  | 
| 201 |  |  |  |  |  |  | #    Returns: 'xs:dateTime' | 
| 202 |  |  |  |  |  |  |  | 
| 203 |  |  |  |  |  |  | =cut | 
| 204 |  |  |  |  |  |  |  | 
| 205 |  |  |  |  |  |  | sub getModTimeFrom { | 
| 206 |  |  |  |  |  |  | my $self = shift; | 
| 207 |  |  |  |  |  |  | return $self->{'ModTimeFrom'}; | 
| 208 |  |  |  |  |  |  | } | 
| 209 |  |  |  |  |  |  |  | 
| 210 |  |  |  |  |  |  |  | 
| 211 |  |  |  |  |  |  | =head2 setModTimeTo() | 
| 212 |  |  |  |  |  |  |  | 
| 213 |  |  |  |  |  |  | Also see NumberOfDays which, if used, takes precedence over ModTimeFrom and | 
| 214 |  |  |  |  |  |  | ModTimeTo. If you prefer to use ModTimeFrom and | 
| 215 |  |  |  |  |  |  | ModTimeTo, you specify the time range within which | 
| 216 |  |  |  |  |  |  | retrieved transactions' statuses were modified. | 
| 217 |  |  |  |  |  |  | ModTimeFrom is the earlier (older) date and ModTimeTo is the later (more recent) date. | 
| 218 |  |  |  |  |  |  | If you specify this value, and do not specify the other end of the range, | 
| 219 |  |  |  |  |  |  | then the time range is 30 days. | 
| 220 |  |  |  |  |  |  | The time range between ModTimeFrom to ModTimeTo | 
| 221 |  |  |  |  |  |  | cannot be greater than 30 days. | 
| 222 |  |  |  |  |  |  |  | 
| 223 |  |  |  |  |  |  | RequiredInput: No | 
| 224 |  |  |  |  |  |  | #    Argument: 'xs:dateTime' | 
| 225 |  |  |  |  |  |  |  | 
| 226 |  |  |  |  |  |  | =cut | 
| 227 |  |  |  |  |  |  |  | 
| 228 |  |  |  |  |  |  | sub setModTimeTo { | 
| 229 |  |  |  |  |  |  | my $self = shift; | 
| 230 |  |  |  |  |  |  | $self->{'ModTimeTo'} = shift | 
| 231 |  |  |  |  |  |  | } | 
| 232 |  |  |  |  |  |  |  | 
| 233 |  |  |  |  |  |  | =head2 getModTimeTo() | 
| 234 |  |  |  |  |  |  |  | 
| 235 |  |  |  |  |  |  | #    Returns: 'xs:dateTime' | 
| 236 |  |  |  |  |  |  |  | 
| 237 |  |  |  |  |  |  | =cut | 
| 238 |  |  |  |  |  |  |  | 
| 239 |  |  |  |  |  |  | sub getModTimeTo { | 
| 240 |  |  |  |  |  |  | my $self = shift; | 
| 241 |  |  |  |  |  |  | return $self->{'ModTimeTo'}; | 
| 242 |  |  |  |  |  |  | } | 
| 243 |  |  |  |  |  |  |  | 
| 244 |  |  |  |  |  |  |  | 
| 245 |  |  |  |  |  |  | =head2 setNumberOfDays() | 
| 246 |  |  |  |  |  |  |  | 
| 247 |  |  |  |  |  |  | NumberOfDays enables you to specify the number of days' worth | 
| 248 |  |  |  |  |  |  | of new and modified transactions that you want to retrieve. | 
| 249 |  |  |  |  |  |  | The call response contains the transactions | 
| 250 |  |  |  |  |  |  | whose status was modified within the | 
| 251 |  |  |  |  |  |  | specified number of days since the API call was made. | 
| 252 |  |  |  |  |  |  | NumberOfDays is often preferable to using | 
| 253 |  |  |  |  |  |  | the ModTimeFrom and ModTimeTo filters because you only need to specify | 
| 254 |  |  |  |  |  |  | one value. | 
| 255 |  |  |  |  |  |  | If you use NumberOfDays, then ModTimeFrom and ModTimeTo are ignored. | 
| 256 |  |  |  |  |  |  | For this field, one day is defined as 24 hours. | 
| 257 |  |  |  |  |  |  |  | 
| 258 |  |  |  |  |  |  | Max: 30 | 
| 259 |  |  |  |  |  |  |  | 
| 260 |  |  |  |  |  |  | RequiredInput: No | 
| 261 |  |  |  |  |  |  | #    Argument: 'xs:int' | 
| 262 |  |  |  |  |  |  |  | 
| 263 |  |  |  |  |  |  | =cut | 
| 264 |  |  |  |  |  |  |  | 
| 265 |  |  |  |  |  |  | sub setNumberOfDays { | 
| 266 |  |  |  |  |  |  | my $self = shift; | 
| 267 |  |  |  |  |  |  | $self->{'NumberOfDays'} = shift | 
| 268 |  |  |  |  |  |  | } | 
| 269 |  |  |  |  |  |  |  | 
| 270 |  |  |  |  |  |  | =head2 getNumberOfDays() | 
| 271 |  |  |  |  |  |  |  | 
| 272 |  |  |  |  |  |  | #    Returns: 'xs:int' | 
| 273 |  |  |  |  |  |  |  | 
| 274 |  |  |  |  |  |  | =cut | 
| 275 |  |  |  |  |  |  |  | 
| 276 |  |  |  |  |  |  | sub getNumberOfDays { | 
| 277 |  |  |  |  |  |  | my $self = shift; | 
| 278 |  |  |  |  |  |  | return $self->{'NumberOfDays'}; | 
| 279 |  |  |  |  |  |  | } | 
| 280 |  |  |  |  |  |  |  | 
| 281 |  |  |  |  |  |  |  | 
| 282 |  |  |  |  |  |  | =head2 setPagination() | 
| 283 |  |  |  |  |  |  |  | 
| 284 |  |  |  |  |  |  | Child elements control pagination of the output. Use its EntriesPerPage | 
| 285 |  |  |  |  |  |  | property to control the number of transactions to return per call and its | 
| 286 |  |  |  |  |  |  | PageNumber property to specify the page of data to return. | 
| 287 |  |  |  |  |  |  |  | 
| 288 |  |  |  |  |  |  | RequiredInput: No | 
| 289 |  |  |  |  |  |  | #    Argument: 'ns:PaginationType' | 
| 290 |  |  |  |  |  |  |  | 
| 291 |  |  |  |  |  |  | =cut | 
| 292 |  |  |  |  |  |  |  | 
| 293 |  |  |  |  |  |  | sub setPagination { | 
| 294 |  |  |  |  |  |  | my $self = shift; | 
| 295 |  |  |  |  |  |  | $self->{'Pagination'} = shift | 
| 296 |  |  |  |  |  |  | } | 
| 297 |  |  |  |  |  |  |  | 
| 298 |  |  |  |  |  |  | =head2 getPagination() | 
| 299 |  |  |  |  |  |  |  | 
| 300 |  |  |  |  |  |  | #    Returns: 'ns:PaginationType' | 
| 301 |  |  |  |  |  |  |  | 
| 302 |  |  |  |  |  |  | =cut | 
| 303 |  |  |  |  |  |  |  | 
| 304 |  |  |  |  |  |  | sub getPagination { | 
| 305 |  |  |  |  |  |  | my $self = shift; | 
| 306 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'Pagination' | 
| 307 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::PaginationType'); | 
| 308 |  |  |  |  |  |  | } | 
| 309 |  |  |  |  |  |  |  | 
| 310 |  |  |  |  |  |  |  | 
| 311 |  |  |  |  |  |  | =head2 setPlatform() | 
| 312 |  |  |  |  |  |  |  | 
| 313 |  |  |  |  |  |  | Name of the eBay co-branded site upon which the transaction was made. | 
| 314 |  |  |  |  |  |  | This will serve as a filter for the transactions to get emitted in the response. | 
| 315 |  |  |  |  |  |  |  | 
| 316 |  |  |  |  |  |  | RequiredInput: No | 
| 317 |  |  |  |  |  |  | #    Argument: 'ns:TransactionPlatformCodeType' | 
| 318 |  |  |  |  |  |  |  | 
| 319 |  |  |  |  |  |  | =cut | 
| 320 |  |  |  |  |  |  |  | 
| 321 |  |  |  |  |  |  | sub setPlatform { | 
| 322 |  |  |  |  |  |  | my $self = shift; | 
| 323 |  |  |  |  |  |  | $self->{'Platform'} = shift | 
| 324 |  |  |  |  |  |  | } | 
| 325 |  |  |  |  |  |  |  | 
| 326 |  |  |  |  |  |  | =head2 getPlatform() | 
| 327 |  |  |  |  |  |  |  | 
| 328 |  |  |  |  |  |  | #    Returns: 'ns:TransactionPlatformCodeType' | 
| 329 |  |  |  |  |  |  |  | 
| 330 |  |  |  |  |  |  | =cut | 
| 331 |  |  |  |  |  |  |  | 
| 332 |  |  |  |  |  |  | sub getPlatform { | 
| 333 |  |  |  |  |  |  | my $self = shift; | 
| 334 |  |  |  |  |  |  | return $self->{'Platform'}; | 
| 335 |  |  |  |  |  |  | } | 
| 336 |  |  |  |  |  |  |  | 
| 337 |  |  |  |  |  |  |  | 
| 338 |  |  |  |  |  |  | =head2 setTransactionID() | 
| 339 |  |  |  |  |  |  |  | 
| 340 |  |  |  |  |  |  | Identifies one transaction for a listing. | 
| 341 |  |  |  |  |  |  | For Chinese auctions listings (single-item listings for which there can be | 
| 342 |  |  |  |  |  |  | only one transaction), TransactionID is always 0, and for multi-quantity | 
| 343 |  |  |  |  |  |  | listings (for which there can be multiple transactions), TransactionID has | 
| 344 |  |  |  |  |  |  | a non-0 value. | 
| 345 |  |  |  |  |  |  | To determine the valid transaction IDs | 
| 346 |  |  |  |  |  |  | for a listing, you typically need to have previously executed GetItemTransactionsCall | 
| 347 |  |  |  |  |  |  | or GetSellerTransactionsCall and stored all the listing's transactions. | 
| 348 |  |  |  |  |  |  |  | 
| 349 |  |  |  |  |  |  | MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.) | 
| 350 |  |  |  |  |  |  |  | 
| 351 |  |  |  |  |  |  | RequiredInput: No | 
| 352 |  |  |  |  |  |  | #    Argument: 'xs:string' | 
| 353 |  |  |  |  |  |  |  | 
| 354 |  |  |  |  |  |  | =cut | 
| 355 |  |  |  |  |  |  |  | 
| 356 |  |  |  |  |  |  | sub setTransactionID { | 
| 357 |  |  |  |  |  |  | my $self = shift; | 
| 358 |  |  |  |  |  |  | $self->{'TransactionID'} = shift | 
| 359 |  |  |  |  |  |  | } | 
| 360 |  |  |  |  |  |  |  | 
| 361 |  |  |  |  |  |  | =head2 getTransactionID() | 
| 362 |  |  |  |  |  |  |  | 
| 363 |  |  |  |  |  |  | #    Returns: 'xs:string' | 
| 364 |  |  |  |  |  |  |  | 
| 365 |  |  |  |  |  |  | =cut | 
| 366 |  |  |  |  |  |  |  | 
| 367 |  |  |  |  |  |  | sub getTransactionID { | 
| 368 |  |  |  |  |  |  | my $self = shift; | 
| 369 |  |  |  |  |  |  | return $self->{'TransactionID'}; | 
| 370 |  |  |  |  |  |  | } | 
| 371 |  |  |  |  |  |  |  | 
| 372 |  |  |  |  |  |  |  | 
| 373 |  |  |  |  |  |  |  | 
| 374 |  |  |  |  |  |  |  | 
| 375 |  |  |  |  |  |  |  | 
| 376 |  |  |  |  |  |  | ##  Attribute and Property lists | 
| 377 |  |  |  |  |  |  | sub getPropertiesList { | 
| 378 |  |  |  |  |  |  | my $self = shift; | 
| 379 |  |  |  |  |  |  | return \@gaProperties; | 
| 380 |  |  |  |  |  |  | } | 
| 381 |  |  |  |  |  |  |  | 
| 382 |  |  |  |  |  |  | sub getAttributesList { | 
| 383 |  |  |  |  |  |  | my $self = shift; | 
| 384 |  |  |  |  |  |  | return \@gaAttributes; | 
| 385 |  |  |  |  |  |  | } | 
| 386 |  |  |  |  |  |  |  | 
| 387 |  |  |  |  |  |  |  | 
| 388 |  |  |  |  |  |  |  | 
| 389 |  |  |  |  |  |  | 1; |