| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | #!/usr/bin/perl | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | package eBay::API::XML::DataType::FeeType; | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 1 |  |  | 1 |  | 1228 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 27 |  | 
| 6 | 1 |  |  | 1 |  | 7 | use warnings; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 30 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | ########################################################################## | 
| 9 |  |  |  |  |  |  | # | 
| 10 |  |  |  |  |  |  | # Module: ............... eBay/API/XML | 
| 11 |  |  |  |  |  |  | # File: ................. FeeType.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::FeeType | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | Identifies the name and monetary amount of a fee that a member pays to eBay | 
| 25 |  |  |  |  |  |  | (or an eBay company). These fee names and values are intended only as an aid to | 
| 26 |  |  |  |  |  |  | help estimate the fees for a listing. Use GetAccount for an accurate final fee | 
| 27 |  |  |  |  |  |  | breakdown. Returned in AddItemResponseType and related response types. | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | =cut | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =head1 INHERITANCE | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | eBay::API::XML::DataType::FeeType inherits from the L class | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | =cut | 
| 41 |  |  |  |  |  |  |  | 
| 42 | 1 |  |  | 1 |  | 37 | use eBay::API::XML::BaseDataType; | 
|  | 0 |  |  |  |  |  |  | 
|  | 0 |  |  |  |  |  |  | 
| 43 |  |  |  |  |  |  | our @ISA = ("eBay::API::XML::BaseDataType"); | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | use eBay::API::XML::DataType::AmountType; | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  |  | 
| 48 |  |  |  |  |  |  | my @gaProperties = ( [ 'Fee', 'ns:AmountType', '' | 
| 49 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::AmountType', '1' ] | 
| 50 |  |  |  |  |  |  | , [ 'Name', 'xs:string', '', '', '' ] | 
| 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 setFee() | 
| 76 |  |  |  |  |  |  |  | 
| 77 |  |  |  |  |  |  | Amount of the fee that eBay will charge the member for the item. | 
| 78 |  |  |  |  |  |  | See the eBay.com Web site online help for a current fee schedule. | 
| 79 |  |  |  |  |  |  |  | 
| 80 |  |  |  |  |  |  | SeeLink: URL: http://pages.ebay.com/help/sell/fees.html | 
| 81 |  |  |  |  |  |  | Title: eBay.com Fees | 
| 82 |  |  |  |  |  |  |  | 
| 83 |  |  |  |  |  |  | #    Argument: 'ns:AmountType' | 
| 84 |  |  |  |  |  |  |  | 
| 85 |  |  |  |  |  |  | =cut | 
| 86 |  |  |  |  |  |  |  | 
| 87 |  |  |  |  |  |  | sub setFee { | 
| 88 |  |  |  |  |  |  | my $self = shift; | 
| 89 |  |  |  |  |  |  | $self->{'Fee'} = shift | 
| 90 |  |  |  |  |  |  | } | 
| 91 |  |  |  |  |  |  |  | 
| 92 |  |  |  |  |  |  | =head2 getFee() | 
| 93 |  |  |  |  |  |  |  | 
| 94 |  |  |  |  |  |  | Calls: AddItem | 
| 95 |  |  |  |  |  |  | AddLiveAuctionItem | 
| 96 |  |  |  |  |  |  | RelistItem | 
| 97 |  |  |  |  |  |  | ReviseItem | 
| 98 |  |  |  |  |  |  | ReviseLiveAuctionItem | 
| 99 |  |  |  |  |  |  | VerifyAddItem | 
| 100 |  |  |  |  |  |  | Returned: Always | 
| 101 |  |  |  |  |  |  |  | 
| 102 |  |  |  |  |  |  | #    Returns: 'ns:AmountType' | 
| 103 |  |  |  |  |  |  |  | 
| 104 |  |  |  |  |  |  | =cut | 
| 105 |  |  |  |  |  |  |  | 
| 106 |  |  |  |  |  |  | sub getFee { | 
| 107 |  |  |  |  |  |  | my $self = shift; | 
| 108 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'Fee' | 
| 109 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::AmountType'); | 
| 110 |  |  |  |  |  |  | } | 
| 111 |  |  |  |  |  |  |  | 
| 112 |  |  |  |  |  |  |  | 
| 113 |  |  |  |  |  |  | =head2 setName() | 
| 114 |  |  |  |  |  |  |  | 
| 115 |  |  |  |  |  |  | Name of the fee, for identification purposes. | 
| 116 |  |  |  |  |  |  | See the eBay Web Services guide for a list of current fee names. | 
| 117 |  |  |  |  |  |  |  | 
| 118 |  |  |  |  |  |  | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/ListingItems-Fees_Resulting_from_Listing_an_Item.html | 
| 119 |  |  |  |  |  |  | Title: Fees Resulting from Listing an Item | 
| 120 |  |  |  |  |  |  |  | 
| 121 |  |  |  |  |  |  | #    Argument: 'xs:string' | 
| 122 |  |  |  |  |  |  |  | 
| 123 |  |  |  |  |  |  | =cut | 
| 124 |  |  |  |  |  |  |  | 
| 125 |  |  |  |  |  |  | sub setName { | 
| 126 |  |  |  |  |  |  | my $self = shift; | 
| 127 |  |  |  |  |  |  | $self->{'Name'} = shift | 
| 128 |  |  |  |  |  |  | } | 
| 129 |  |  |  |  |  |  |  | 
| 130 |  |  |  |  |  |  | =head2 getName() | 
| 131 |  |  |  |  |  |  |  | 
| 132 |  |  |  |  |  |  | Calls: AddItem | 
| 133 |  |  |  |  |  |  | AddLiveAuctionItem | 
| 134 |  |  |  |  |  |  | RelistItem | 
| 135 |  |  |  |  |  |  | ReviseItem | 
| 136 |  |  |  |  |  |  | ReviseLiveAuctionItem | 
| 137 |  |  |  |  |  |  | VerifyAddItem | 
| 138 |  |  |  |  |  |  | Returned: Always | 
| 139 |  |  |  |  |  |  |  | 
| 140 |  |  |  |  |  |  | #    Returns: 'xs:string' | 
| 141 |  |  |  |  |  |  |  | 
| 142 |  |  |  |  |  |  | =cut | 
| 143 |  |  |  |  |  |  |  | 
| 144 |  |  |  |  |  |  | sub getName { | 
| 145 |  |  |  |  |  |  | my $self = shift; | 
| 146 |  |  |  |  |  |  | return $self->{'Name'}; | 
| 147 |  |  |  |  |  |  | } | 
| 148 |  |  |  |  |  |  |  | 
| 149 |  |  |  |  |  |  |  | 
| 150 |  |  |  |  |  |  |  | 
| 151 |  |  |  |  |  |  |  | 
| 152 |  |  |  |  |  |  |  | 
| 153 |  |  |  |  |  |  | ##  Attribute and Property lists | 
| 154 |  |  |  |  |  |  | sub getPropertiesList { | 
| 155 |  |  |  |  |  |  | my $self = shift; | 
| 156 |  |  |  |  |  |  | return \@gaProperties; | 
| 157 |  |  |  |  |  |  | } | 
| 158 |  |  |  |  |  |  |  | 
| 159 |  |  |  |  |  |  | sub getAttributesList { | 
| 160 |  |  |  |  |  |  | my $self = shift; | 
| 161 |  |  |  |  |  |  | return \@gaAttributes; | 
| 162 |  |  |  |  |  |  | } | 
| 163 |  |  |  |  |  |  |  | 
| 164 |  |  |  |  |  |  |  | 
| 165 |  |  |  |  |  |  |  | 
| 166 |  |  |  |  |  |  | 1; |