eBay::API::XML::DataType::FeeType - eBay::API::XML::DataType::FeeType documentation


eBay-API documentation Contained in the eBay-API distribution.

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::FeeType

DESCRIPTION

Top

Identifies the name and monetary amount of a fee that a member pays to eBay (or an eBay company). These fee names and values are intended only as an aid to help estimate the fees for a listing. Use GetAccount for an accurate final fee breakdown. Returned in AddItemResponseType and related response types.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::DataType::FeeType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

Top

setFee()

Amount of the fee that eBay will charge the member for the item. See the eBay.com Web site online help for a current fee schedule.

SeeLink: URL: http://pages.ebay.com/help/sell/fees.html Title: eBay.com Fees

# Argument: 'ns:AmountType'

getFee()

  Calls: AddItem
         AddLiveAuctionItem
         RelistItem
         ReviseItem
         ReviseLiveAuctionItem
         VerifyAddItem
  Returned: Always

# Returns: 'ns:AmountType'

setName()

Name of the fee, for identification purposes. See the eBay Web Services guide for a list of current fee names.

SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/ListingItems-Fees_Resulting_from_Listing_an_Item.html Title: Fees Resulting from Listing an Item

# Argument: 'xs:string'

getName()

  Calls: AddItem
         AddLiveAuctionItem
         RelistItem
         ReviseItem
         ReviseLiveAuctionItem
         VerifyAddItem
  Returned: Always

# Returns: 'xs:string'


eBay-API documentation Contained in the eBay-API distribution.
#!/usr/bin/perl

package eBay::API::XML::DataType::FeeType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. FeeType.pm
# Generated by: ......... genEBayApiDataTypes.pl
# Last Generated: ....... 08/24/2008 16:44
# API Release Number: ... 579
#
##########################################################################  

use eBay::API::XML::BaseDataType;
our @ISA = ("eBay::API::XML::BaseDataType");

use eBay::API::XML::DataType::AmountType;


my @gaProperties = ( [ 'Fee', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '1' ]
	, [ 'Name', 'xs:string', '', '', '' ]
                    );
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};

my @gaAttributes = ( 
                    );
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};

sub new {
  my $classname = shift;
  my %args = @_;
  my $self = $classname->SUPER::new(%args);
  return $self;
}

sub isScalar {
   return 0; 
}



sub setFee {
  my $self = shift;
  $self->{'Fee'} = shift
}

sub getFee {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Fee'
		,'eBay::API::XML::DataType::AmountType');
}


sub setName {
  my $self = shift;
  $self->{'Name'} = shift
}

sub getName {
  my $self = shift;
  return $self->{'Name'};
}





##  Attribute and Property lists
sub getPropertiesList {
   my $self = shift;
   return \@gaProperties;
}

sub getAttributesList {
   my $self = shift;
   return \@gaAttributes;
}



1;