| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::CancelOfferType
Container for a list of offers. May contain zero, one, or multiple OfferType objects, each of which represents one offer extended by a user on a listing.
eBay::API::XML::DataType::CancelOfferType inherits from the eBay::API::XML::BaseDataType class
# Argument: 'xs:string'
# Returns: 'xs:string'
Contains the data for one offer. This includes: data for the user making the offer, the amount of the offer, the quantity of items being bought from the listing, the type of offer being made, and more.
# Argument: 'ns:OfferType'
# Returns: 'ns:OfferType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::CancelOfferType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. CancelOfferType.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::OfferType; my @gaProperties = ( [ 'Explanation', 'xs:string', '', '', '' ] , [ 'Offer', 'ns:OfferType', '' ,'eBay::API::XML::DataType::OfferType', '1' ] ); 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 setExplanation { my $self = shift; $self->{'Explanation'} = shift }
sub getExplanation { my $self = shift; return $self->{'Explanation'}; }
sub setOffer { my $self = shift; $self->{'Offer'} = shift }
sub getOffer { my $self = shift; return $self->_getDataTypeInstance( 'Offer' ,'eBay::API::XML::DataType::OfferType'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;