| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | #!/usr/bin/perl | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | package eBay::API::XML::DataType::AccountEntryType; | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 1 |  |  | 1 |  | 1372 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 31 |  | 
| 6 | 1 |  |  | 1 |  | 5 | use warnings; | 
|  | 1 |  |  |  |  | 1 |  | 
|  | 1 |  |  |  |  | 32 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | ########################################################################## | 
| 9 |  |  |  |  |  |  | # | 
| 10 |  |  |  |  |  |  | # Module: ............... eBay/API/XML | 
| 11 |  |  |  |  |  |  | # File: ................. AccountEntryType.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::AccountEntryType | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | Contains the data for a single account detail entry. Each detail entry is a | 
| 25 |  |  |  |  |  |  | transaction posted to the account and may be: a credit, a debit, or an | 
| 26 |  |  |  |  |  |  | administrative action (such as an update putting a credit card on file for | 
| 27 |  |  |  |  |  |  | the account). You can uniquely identify | 
| 28 |  |  |  |  |  |  | the entries that the GetAccount call returns within the AccountEntries tag. | 
| 29 |  |  |  |  |  |  | Specifically, the following fields, returned within the AccountEntries tag, | 
| 30 |  |  |  |  |  |  | can be used in combination as a unique key: AccountEntry.Date, AccountEntry.AccountDetailsEntryType, | 
| 31 |  |  |  |  |  |  | AccountEntry.ItemID, and AccountEntry.RefNumber. | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | =cut | 
| 38 |  |  |  |  |  |  |  | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | =head1 INHERITANCE | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | eBay::API::XML::DataType::AccountEntryType inherits from the L class | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | =cut | 
| 45 |  |  |  |  |  |  |  | 
| 46 | 1 |  |  | 1 |  | 38 | use eBay::API::XML::BaseDataType; | 
|  | 0 |  |  |  |  |  |  | 
|  | 0 |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | our @ISA = ("eBay::API::XML::BaseDataType"); | 
| 48 |  |  |  |  |  |  |  | 
| 49 |  |  |  |  |  |  | use eBay::API::XML::DataType::AmountType; | 
| 50 |  |  |  |  |  |  | use eBay::API::XML::DataType::ItemIDType; | 
| 51 |  |  |  |  |  |  | use eBay::API::XML::DataType::Enum::AccountDetailEntryCodeType; | 
| 52 |  |  |  |  |  |  |  | 
| 53 |  |  |  |  |  |  |  | 
| 54 |  |  |  |  |  |  | my @gaProperties = ( [ 'AccountDetailsEntryType', 'ns:AccountDetailEntryCodeType', '' | 
| 55 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::Enum::AccountDetailEntryCodeType', '' ] | 
| 56 |  |  |  |  |  |  | , [ 'Balance', 'ns:AmountType', '' | 
| 57 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::AmountType', '1' ] | 
| 58 |  |  |  |  |  |  | , [ 'Date', 'xs:dateTime', '', '', '' ] | 
| 59 |  |  |  |  |  |  | , [ 'Description', 'xs:string', '', '', '' ] | 
| 60 |  |  |  |  |  |  | , [ 'GrossDetailAmount', 'ns:AmountType', '' | 
| 61 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::AmountType', '1' ] | 
| 62 |  |  |  |  |  |  | , [ 'ItemID', 'ns:ItemIDType', '' | 
| 63 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::ItemIDType', '1' ] | 
| 64 |  |  |  |  |  |  | , [ 'Memo', 'xs:string', '', '', '' ] | 
| 65 |  |  |  |  |  |  | , [ 'NetDetailAmount', 'ns:AmountType', '' | 
| 66 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::AmountType', '1' ] | 
| 67 |  |  |  |  |  |  | , [ 'RefNumber', 'xs:string', '', '', '' ] | 
| 68 |  |  |  |  |  |  | , [ 'Title', 'xs:string', '', '', '' ] | 
| 69 |  |  |  |  |  |  | , [ 'VATPercent', 'xs:decimal', '', '', '' ] | 
| 70 |  |  |  |  |  |  | ); | 
| 71 |  |  |  |  |  |  | push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; | 
| 72 |  |  |  |  |  |  |  | 
| 73 |  |  |  |  |  |  | my @gaAttributes = ( | 
| 74 |  |  |  |  |  |  | ); | 
| 75 |  |  |  |  |  |  | push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; | 
| 76 |  |  |  |  |  |  |  | 
| 77 |  |  |  |  |  |  | =head1 Subroutines: | 
| 78 |  |  |  |  |  |  |  | 
| 79 |  |  |  |  |  |  | =cut | 
| 80 |  |  |  |  |  |  |  | 
| 81 |  |  |  |  |  |  | sub new { | 
| 82 |  |  |  |  |  |  | my $classname = shift; | 
| 83 |  |  |  |  |  |  | my %args = @_; | 
| 84 |  |  |  |  |  |  | my $self = $classname->SUPER::new(%args); | 
| 85 |  |  |  |  |  |  | return $self; | 
| 86 |  |  |  |  |  |  | } | 
| 87 |  |  |  |  |  |  |  | 
| 88 |  |  |  |  |  |  | sub isScalar { | 
| 89 |  |  |  |  |  |  | return 0; | 
| 90 |  |  |  |  |  |  | } | 
| 91 |  |  |  |  |  |  |  | 
| 92 |  |  |  |  |  |  |  | 
| 93 |  |  |  |  |  |  |  | 
| 94 |  |  |  |  |  |  | =head2 setAccountDetailsEntryType() | 
| 95 |  |  |  |  |  |  |  | 
| 96 |  |  |  |  |  |  | Indicates the type of transaction or reason for the transaction. For example, | 
| 97 |  |  |  |  |  |  | a value of FeeGallery indicates a debit for listing an item in the Gallery. | 
| 98 |  |  |  |  |  |  | Possible values are enumerated in the AccountDetailEntryCodeType code list. | 
| 99 |  |  |  |  |  |  |  | 
| 100 |  |  |  |  |  |  | #    Argument: 'ns:AccountDetailEntryCodeType' | 
| 101 |  |  |  |  |  |  |  | 
| 102 |  |  |  |  |  |  | =cut | 
| 103 |  |  |  |  |  |  |  | 
| 104 |  |  |  |  |  |  | sub setAccountDetailsEntryType { | 
| 105 |  |  |  |  |  |  | my $self = shift; | 
| 106 |  |  |  |  |  |  | $self->{'AccountDetailsEntryType'} = shift | 
| 107 |  |  |  |  |  |  | } | 
| 108 |  |  |  |  |  |  |  | 
| 109 |  |  |  |  |  |  | =head2 getAccountDetailsEntryType() | 
| 110 |  |  |  |  |  |  |  | 
| 111 |  |  |  |  |  |  | Calls: GetAccount | 
| 112 |  |  |  |  |  |  | Returned: Conditionally | 
| 113 |  |  |  |  |  |  |  | 
| 114 |  |  |  |  |  |  | #    Returns: 'ns:AccountDetailEntryCodeType' | 
| 115 |  |  |  |  |  |  |  | 
| 116 |  |  |  |  |  |  | =cut | 
| 117 |  |  |  |  |  |  |  | 
| 118 |  |  |  |  |  |  | sub getAccountDetailsEntryType { | 
| 119 |  |  |  |  |  |  | my $self = shift; | 
| 120 |  |  |  |  |  |  | return $self->{'AccountDetailsEntryType'}; | 
| 121 |  |  |  |  |  |  | } | 
| 122 |  |  |  |  |  |  |  | 
| 123 |  |  |  |  |  |  |  | 
| 124 |  |  |  |  |  |  | =head2 setBalance() | 
| 125 |  |  |  |  |  |  |  | 
| 126 |  |  |  |  |  |  | Balance after the account entry's credit or debit amount has been applied. | 
| 127 |  |  |  |  |  |  | Can be 0.00. The value is positive for debits | 
| 128 |  |  |  |  |  |  | and negative for credits. | 
| 129 |  |  |  |  |  |  |  | 
| 130 |  |  |  |  |  |  | #    Argument: 'ns:AmountType' | 
| 131 |  |  |  |  |  |  |  | 
| 132 |  |  |  |  |  |  | =cut | 
| 133 |  |  |  |  |  |  |  | 
| 134 |  |  |  |  |  |  | sub setBalance { | 
| 135 |  |  |  |  |  |  | my $self = shift; | 
| 136 |  |  |  |  |  |  | $self->{'Balance'} = shift | 
| 137 |  |  |  |  |  |  | } | 
| 138 |  |  |  |  |  |  |  | 
| 139 |  |  |  |  |  |  | =head2 getBalance() | 
| 140 |  |  |  |  |  |  |  | 
| 141 |  |  |  |  |  |  | Calls: GetAccount | 
| 142 |  |  |  |  |  |  | Returned: Conditionally | 
| 143 |  |  |  |  |  |  |  | 
| 144 |  |  |  |  |  |  | #    Returns: 'ns:AmountType' | 
| 145 |  |  |  |  |  |  |  | 
| 146 |  |  |  |  |  |  | =cut | 
| 147 |  |  |  |  |  |  |  | 
| 148 |  |  |  |  |  |  | sub getBalance { | 
| 149 |  |  |  |  |  |  | my $self = shift; | 
| 150 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'Balance' | 
| 151 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::AmountType'); | 
| 152 |  |  |  |  |  |  | } | 
| 153 |  |  |  |  |  |  |  | 
| 154 |  |  |  |  |  |  |  | 
| 155 |  |  |  |  |  |  | =head2 setDate() | 
| 156 |  |  |  |  |  |  |  | 
| 157 |  |  |  |  |  |  | Date entry was posted to the account, in GMT. (Also see the Data Types | 
| 158 |  |  |  |  |  |  | appendix for more information on how GMT dates are handled in SOAP.) | 
| 159 |  |  |  |  |  |  |  | 
| 160 |  |  |  |  |  |  | #    Argument: 'xs:dateTime' | 
| 161 |  |  |  |  |  |  |  | 
| 162 |  |  |  |  |  |  | =cut | 
| 163 |  |  |  |  |  |  |  | 
| 164 |  |  |  |  |  |  | sub setDate { | 
| 165 |  |  |  |  |  |  | my $self = shift; | 
| 166 |  |  |  |  |  |  | $self->{'Date'} = shift | 
| 167 |  |  |  |  |  |  | } | 
| 168 |  |  |  |  |  |  |  | 
| 169 |  |  |  |  |  |  | =head2 getDate() | 
| 170 |  |  |  |  |  |  |  | 
| 171 |  |  |  |  |  |  | Calls: GetAccount | 
| 172 |  |  |  |  |  |  | Returned: Conditionally | 
| 173 |  |  |  |  |  |  |  | 
| 174 |  |  |  |  |  |  | #    Returns: 'xs:dateTime' | 
| 175 |  |  |  |  |  |  |  | 
| 176 |  |  |  |  |  |  | =cut | 
| 177 |  |  |  |  |  |  |  | 
| 178 |  |  |  |  |  |  | sub getDate { | 
| 179 |  |  |  |  |  |  | my $self = shift; | 
| 180 |  |  |  |  |  |  | return $self->{'Date'}; | 
| 181 |  |  |  |  |  |  | } | 
| 182 |  |  |  |  |  |  |  | 
| 183 |  |  |  |  |  |  |  | 
| 184 |  |  |  |  |  |  | =head2 setDescription() | 
| 185 |  |  |  |  |  |  |  | 
| 186 |  |  |  |  |  |  | A description of the transaction. | 
| 187 |  |  |  |  |  |  |  | 
| 188 |  |  |  |  |  |  | #    Argument: 'xs:string' | 
| 189 |  |  |  |  |  |  |  | 
| 190 |  |  |  |  |  |  | =cut | 
| 191 |  |  |  |  |  |  |  | 
| 192 |  |  |  |  |  |  | sub setDescription { | 
| 193 |  |  |  |  |  |  | my $self = shift; | 
| 194 |  |  |  |  |  |  | $self->{'Description'} = shift | 
| 195 |  |  |  |  |  |  | } | 
| 196 |  |  |  |  |  |  |  | 
| 197 |  |  |  |  |  |  | =head2 getDescription() | 
| 198 |  |  |  |  |  |  |  | 
| 199 |  |  |  |  |  |  | Calls: GetAccount | 
| 200 |  |  |  |  |  |  | Returned: Conditionally | 
| 201 |  |  |  |  |  |  |  | 
| 202 |  |  |  |  |  |  | #    Returns: 'xs:string' | 
| 203 |  |  |  |  |  |  |  | 
| 204 |  |  |  |  |  |  | =cut | 
| 205 |  |  |  |  |  |  |  | 
| 206 |  |  |  |  |  |  | sub getDescription { | 
| 207 |  |  |  |  |  |  | my $self = shift; | 
| 208 |  |  |  |  |  |  | return $self->{'Description'}; | 
| 209 |  |  |  |  |  |  | } | 
| 210 |  |  |  |  |  |  |  | 
| 211 |  |  |  |  |  |  |  | 
| 212 |  |  |  |  |  |  | =head2 setGrossDetailAmount() | 
| 213 |  |  |  |  |  |  |  | 
| 214 |  |  |  |  |  |  | Gross fees that are assessed by eBay (net fees plus VAT, if any). | 
| 215 |  |  |  |  |  |  | Returned even if VAT does not apply. | 
| 216 |  |  |  |  |  |  | The value is positive for debits and negative for credits. | 
| 217 |  |  |  |  |  |  |  | 
| 218 |  |  |  |  |  |  | #    Argument: 'ns:AmountType' | 
| 219 |  |  |  |  |  |  |  | 
| 220 |  |  |  |  |  |  | =cut | 
| 221 |  |  |  |  |  |  |  | 
| 222 |  |  |  |  |  |  | sub setGrossDetailAmount { | 
| 223 |  |  |  |  |  |  | my $self = shift; | 
| 224 |  |  |  |  |  |  | $self->{'GrossDetailAmount'} = shift | 
| 225 |  |  |  |  |  |  | } | 
| 226 |  |  |  |  |  |  |  | 
| 227 |  |  |  |  |  |  | =head2 getGrossDetailAmount() | 
| 228 |  |  |  |  |  |  |  | 
| 229 |  |  |  |  |  |  | Calls: GetAccount | 
| 230 |  |  |  |  |  |  | Returned: Conditionally | 
| 231 |  |  |  |  |  |  |  | 
| 232 |  |  |  |  |  |  | #    Returns: 'ns:AmountType' | 
| 233 |  |  |  |  |  |  |  | 
| 234 |  |  |  |  |  |  | =cut | 
| 235 |  |  |  |  |  |  |  | 
| 236 |  |  |  |  |  |  | sub getGrossDetailAmount { | 
| 237 |  |  |  |  |  |  | my $self = shift; | 
| 238 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'GrossDetailAmount' | 
| 239 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::AmountType'); | 
| 240 |  |  |  |  |  |  | } | 
| 241 |  |  |  |  |  |  |  | 
| 242 |  |  |  |  |  |  |  | 
| 243 |  |  |  |  |  |  | =head2 setItemID() | 
| 244 |  |  |  |  |  |  |  | 
| 245 |  |  |  |  |  |  | Item ID (if the account detail entry is associated with an item listing) | 
| 246 |  |  |  |  |  |  | or 0 (if no item listing is associated with the account entry). | 
| 247 |  |  |  |  |  |  |  | 
| 248 |  |  |  |  |  |  | MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) | 
| 249 |  |  |  |  |  |  |  | 
| 250 |  |  |  |  |  |  | #    Argument: 'ns:ItemIDType' | 
| 251 |  |  |  |  |  |  |  | 
| 252 |  |  |  |  |  |  | =cut | 
| 253 |  |  |  |  |  |  |  | 
| 254 |  |  |  |  |  |  | sub setItemID { | 
| 255 |  |  |  |  |  |  | my $self = shift; | 
| 256 |  |  |  |  |  |  | $self->{'ItemID'} = shift | 
| 257 |  |  |  |  |  |  | } | 
| 258 |  |  |  |  |  |  |  | 
| 259 |  |  |  |  |  |  | =head2 getItemID() | 
| 260 |  |  |  |  |  |  |  | 
| 261 |  |  |  |  |  |  | Calls: GetAccount | 
| 262 |  |  |  |  |  |  | Returned: Conditionally | 
| 263 |  |  |  |  |  |  |  | 
| 264 |  |  |  |  |  |  | #    Returns: 'ns:ItemIDType' | 
| 265 |  |  |  |  |  |  |  | 
| 266 |  |  |  |  |  |  | =cut | 
| 267 |  |  |  |  |  |  |  | 
| 268 |  |  |  |  |  |  | sub getItemID { | 
| 269 |  |  |  |  |  |  | my $self = shift; | 
| 270 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'ItemID' | 
| 271 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::ItemIDType'); | 
| 272 |  |  |  |  |  |  | } | 
| 273 |  |  |  |  |  |  |  | 
| 274 |  |  |  |  |  |  |  | 
| 275 |  |  |  |  |  |  | =head2 setMemo() | 
| 276 |  |  |  |  |  |  |  | 
| 277 |  |  |  |  |  |  | Memo line for the account entry, can be an empty string. | 
| 278 |  |  |  |  |  |  |  | 
| 279 |  |  |  |  |  |  | #    Argument: 'xs:string' | 
| 280 |  |  |  |  |  |  |  | 
| 281 |  |  |  |  |  |  | =cut | 
| 282 |  |  |  |  |  |  |  | 
| 283 |  |  |  |  |  |  | sub setMemo { | 
| 284 |  |  |  |  |  |  | my $self = shift; | 
| 285 |  |  |  |  |  |  | $self->{'Memo'} = shift | 
| 286 |  |  |  |  |  |  | } | 
| 287 |  |  |  |  |  |  |  | 
| 288 |  |  |  |  |  |  | =head2 getMemo() | 
| 289 |  |  |  |  |  |  |  | 
| 290 |  |  |  |  |  |  | Calls: GetAccount | 
| 291 |  |  |  |  |  |  | Returned: Conditionally | 
| 292 |  |  |  |  |  |  |  | 
| 293 |  |  |  |  |  |  | #    Returns: 'xs:string' | 
| 294 |  |  |  |  |  |  |  | 
| 295 |  |  |  |  |  |  | =cut | 
| 296 |  |  |  |  |  |  |  | 
| 297 |  |  |  |  |  |  | sub getMemo { | 
| 298 |  |  |  |  |  |  | my $self = shift; | 
| 299 |  |  |  |  |  |  | return $self->{'Memo'}; | 
| 300 |  |  |  |  |  |  | } | 
| 301 |  |  |  |  |  |  |  | 
| 302 |  |  |  |  |  |  |  | 
| 303 |  |  |  |  |  |  | =head2 setNetDetailAmount() | 
| 304 |  |  |  |  |  |  |  | 
| 305 |  |  |  |  |  |  | Net fees that are assessed by eBay, excluding additional surchargesand VAT (if | 
| 306 |  |  |  |  |  |  | any). Returned even if VAT does not apply. The value is positive for debits (user pays eBay) and negative for | 
| 307 |  |  |  |  |  |  | credits (eBay pays user). | 
| 308 |  |  |  |  |  |  |  | 
| 309 |  |  |  |  |  |  | #    Argument: 'ns:AmountType' | 
| 310 |  |  |  |  |  |  |  | 
| 311 |  |  |  |  |  |  | =cut | 
| 312 |  |  |  |  |  |  |  | 
| 313 |  |  |  |  |  |  | sub setNetDetailAmount { | 
| 314 |  |  |  |  |  |  | my $self = shift; | 
| 315 |  |  |  |  |  |  | $self->{'NetDetailAmount'} = shift | 
| 316 |  |  |  |  |  |  | } | 
| 317 |  |  |  |  |  |  |  | 
| 318 |  |  |  |  |  |  | =head2 getNetDetailAmount() | 
| 319 |  |  |  |  |  |  |  | 
| 320 |  |  |  |  |  |  | Calls: GetAccount | 
| 321 |  |  |  |  |  |  | Returned: Conditionally | 
| 322 |  |  |  |  |  |  |  | 
| 323 |  |  |  |  |  |  | #    Returns: 'ns:AmountType' | 
| 324 |  |  |  |  |  |  |  | 
| 325 |  |  |  |  |  |  | =cut | 
| 326 |  |  |  |  |  |  |  | 
| 327 |  |  |  |  |  |  | sub getNetDetailAmount { | 
| 328 |  |  |  |  |  |  | my $self = shift; | 
| 329 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'NetDetailAmount' | 
| 330 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::AmountType'); | 
| 331 |  |  |  |  |  |  | } | 
| 332 |  |  |  |  |  |  |  | 
| 333 |  |  |  |  |  |  |  | 
| 334 |  |  |  |  |  |  | =head2 setRefNumber() | 
| 335 |  |  |  |  |  |  |  | 
| 336 |  |  |  |  |  |  | eBay reference number for the account entry. May return no value for some | 
| 337 |  |  |  |  |  |  | account transactions, such as an administrative action like placing the | 
| 338 |  |  |  |  |  |  | user's credit card on file.  You can uniquely identify | 
| 339 |  |  |  |  |  |  | the entries that the GetAccount call returns within the AccountEntries tag. | 
| 340 |  |  |  |  |  |  | Specifically, the following fields, returned within the AccountEntries tag, | 
| 341 |  |  |  |  |  |  | can be used in combination as a unique key: AccountEntry.Date, AccountEntry.AccountDetailsEntryType, | 
| 342 |  |  |  |  |  |  | AccountEntry.ItemID, and AccountEntry.RefNumber. | 
| 343 |  |  |  |  |  |  |  | 
| 344 |  |  |  |  |  |  | #    Argument: 'xs:string' | 
| 345 |  |  |  |  |  |  |  | 
| 346 |  |  |  |  |  |  | =cut | 
| 347 |  |  |  |  |  |  |  | 
| 348 |  |  |  |  |  |  | sub setRefNumber { | 
| 349 |  |  |  |  |  |  | my $self = shift; | 
| 350 |  |  |  |  |  |  | $self->{'RefNumber'} = shift | 
| 351 |  |  |  |  |  |  | } | 
| 352 |  |  |  |  |  |  |  | 
| 353 |  |  |  |  |  |  | =head2 getRefNumber() | 
| 354 |  |  |  |  |  |  |  | 
| 355 |  |  |  |  |  |  | Calls: GetAccount | 
| 356 |  |  |  |  |  |  | Returned: Conditionally | 
| 357 |  |  |  |  |  |  |  | 
| 358 |  |  |  |  |  |  | #    Returns: 'xs:string' | 
| 359 |  |  |  |  |  |  |  | 
| 360 |  |  |  |  |  |  | =cut | 
| 361 |  |  |  |  |  |  |  | 
| 362 |  |  |  |  |  |  | sub getRefNumber { | 
| 363 |  |  |  |  |  |  | my $self = shift; | 
| 364 |  |  |  |  |  |  | return $self->{'RefNumber'}; | 
| 365 |  |  |  |  |  |  | } | 
| 366 |  |  |  |  |  |  |  | 
| 367 |  |  |  |  |  |  |  | 
| 368 |  |  |  |  |  |  | =head2 setTitle() | 
| 369 |  |  |  |  |  |  |  | 
| 370 |  |  |  |  |  |  | Title of the entry. | 
| 371 |  |  |  |  |  |  |  | 
| 372 |  |  |  |  |  |  | #    Argument: 'xs:string' | 
| 373 |  |  |  |  |  |  |  | 
| 374 |  |  |  |  |  |  | =cut | 
| 375 |  |  |  |  |  |  |  | 
| 376 |  |  |  |  |  |  | sub setTitle { | 
| 377 |  |  |  |  |  |  | my $self = shift; | 
| 378 |  |  |  |  |  |  | $self->{'Title'} = shift | 
| 379 |  |  |  |  |  |  | } | 
| 380 |  |  |  |  |  |  |  | 
| 381 |  |  |  |  |  |  | =head2 getTitle() | 
| 382 |  |  |  |  |  |  |  | 
| 383 |  |  |  |  |  |  | Calls: GetAccount | 
| 384 |  |  |  |  |  |  | Returned: Conditionally | 
| 385 |  |  |  |  |  |  |  | 
| 386 |  |  |  |  |  |  | #    Returns: 'xs:string' | 
| 387 |  |  |  |  |  |  |  | 
| 388 |  |  |  |  |  |  | =cut | 
| 389 |  |  |  |  |  |  |  | 
| 390 |  |  |  |  |  |  | sub getTitle { | 
| 391 |  |  |  |  |  |  | my $self = shift; | 
| 392 |  |  |  |  |  |  | return $self->{'Title'}; | 
| 393 |  |  |  |  |  |  | } | 
| 394 |  |  |  |  |  |  |  | 
| 395 |  |  |  |  |  |  |  | 
| 396 |  |  |  |  |  |  | =head2 setVATPercent() | 
| 397 |  |  |  |  |  |  |  | 
| 398 |  |  |  |  |  |  | VAT rate for the item. When the VATPercent is specified, the | 
| 399 |  |  |  |  |  |  | item's VAT information appears on the item's listing page. In | 
| 400 |  |  |  |  |  |  | addition, the seller can choose to print an invoice that | 
| 401 |  |  |  |  |  |  | includes the item's net price, VAT percent, VAT amount, and | 
| 402 |  |  |  |  |  |  | total price. Since VAT rates vary | 
| 403 |  |  |  |  |  |  | depending on the item and on the user's country of residence, a | 
| 404 |  |  |  |  |  |  | seller is responsible for entering the correct VAT rate; it is | 
| 405 |  |  |  |  |  |  | not calculated by eBay. To specify a VATPercent, a seller must | 
| 406 |  |  |  |  |  |  | have a VAT-ID registered with eBay and must be listing the item | 
| 407 |  |  |  |  |  |  | on a VAT-enabled site. Max precision 3 | 
| 408 |  |  |  |  |  |  | decimal places. Max length 5 characters. Note: The View Item | 
| 409 |  |  |  |  |  |  | page displays the precision to 2 decimal places with no | 
| 410 |  |  |  |  |  |  | trailing zeros. However, the full value you send in is stored. | 
| 411 |  |  |  |  |  |  | Returned for all users, not just VAT users, with GetAccountResponse. | 
| 412 |  |  |  |  |  |  |  | 
| 413 |  |  |  |  |  |  | #    Argument: 'xs:decimal' | 
| 414 |  |  |  |  |  |  |  | 
| 415 |  |  |  |  |  |  | =cut | 
| 416 |  |  |  |  |  |  |  | 
| 417 |  |  |  |  |  |  | sub setVATPercent { | 
| 418 |  |  |  |  |  |  | my $self = shift; | 
| 419 |  |  |  |  |  |  | $self->{'VATPercent'} = shift | 
| 420 |  |  |  |  |  |  | } | 
| 421 |  |  |  |  |  |  |  | 
| 422 |  |  |  |  |  |  | =head2 getVATPercent() | 
| 423 |  |  |  |  |  |  |  | 
| 424 |  |  |  |  |  |  | Calls: GetAccount | 
| 425 |  |  |  |  |  |  | Returned: Conditionally | 
| 426 |  |  |  |  |  |  |  | 
| 427 |  |  |  |  |  |  | #    Returns: 'xs:decimal' | 
| 428 |  |  |  |  |  |  |  | 
| 429 |  |  |  |  |  |  | =cut | 
| 430 |  |  |  |  |  |  |  | 
| 431 |  |  |  |  |  |  | sub getVATPercent { | 
| 432 |  |  |  |  |  |  | my $self = shift; | 
| 433 |  |  |  |  |  |  | return $self->{'VATPercent'}; | 
| 434 |  |  |  |  |  |  | } | 
| 435 |  |  |  |  |  |  |  | 
| 436 |  |  |  |  |  |  |  | 
| 437 |  |  |  |  |  |  |  | 
| 438 |  |  |  |  |  |  |  | 
| 439 |  |  |  |  |  |  |  | 
| 440 |  |  |  |  |  |  | ##  Attribute and Property lists | 
| 441 |  |  |  |  |  |  | sub getPropertiesList { | 
| 442 |  |  |  |  |  |  | my $self = shift; | 
| 443 |  |  |  |  |  |  | return \@gaProperties; | 
| 444 |  |  |  |  |  |  | } | 
| 445 |  |  |  |  |  |  |  | 
| 446 |  |  |  |  |  |  | sub getAttributesList { | 
| 447 |  |  |  |  |  |  | my $self = shift; | 
| 448 |  |  |  |  |  |  | return \@gaAttributes; | 
| 449 |  |  |  |  |  |  | } | 
| 450 |  |  |  |  |  |  |  | 
| 451 |  |  |  |  |  |  |  | 
| 452 |  |  |  |  |  |  |  | 
| 453 |  |  |  |  |  |  | 1; |