| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::PromotionDetailsType
Contains information about a promoted item.
eBay::API::XML::DataType::PromotionDetailsType inherits from the eBay::API::XML::BaseDataType class
Bid count if the item is an auction item and has bids.
# Argument: 'xs:int'
Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll Calls: GetCrossPromotions Returned: Conditionally
# Returns: 'xs:int'
The converted price of the cross-promoted item. Output only. Emitted only when the item is listed on a site other than the site specified in the request. Returns the price in the currency of the site specified in the request. Not related to the Promotional Price Display feature.
# Argument: 'ns:AmountType'
Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll Calls: GetCrossPromotions Returned: Conditionally
# Returns: 'ns:AmountType'
The price of the cross-promoted item in the currency of the site upon which the item is listed. Output only. If the item is listed on a site different from the site specified in the request, then ConvertedPromotionPrice is also returned. Not related to the Promotional Price Display feature.
# Argument: 'ns:AmountType'
Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll Calls: GetCrossPromotions Returned: Always
# Returns: 'ns:AmountType'
The listing type for the promoted item and how the item price is used. Not related to the Promotional Price Display feature.
# Argument: 'ns:PromotionItemPriceTypeCodeType'
Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll Calls: GetCrossPromotions Returned: Always
# Returns: 'ns:PromotionItemPriceTypeCodeType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::PromotionDetailsType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. PromotionDetailsType.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; use eBay::API::XML::DataType::Enum::PromotionItemPriceTypeCodeType; my @gaProperties = ( [ 'BidCount', 'xs:int', '', '', '' ] , [ 'ConvertedPromotionPrice', 'ns:AmountType', '' ,'eBay::API::XML::DataType::AmountType', '1' ] , [ 'PromotionPrice', 'ns:AmountType', '' ,'eBay::API::XML::DataType::AmountType', '1' ] , [ 'PromotionPriceType', 'ns:PromotionItemPriceTypeCodeType', '' ,'eBay::API::XML::DataType::Enum::PromotionItemPriceTypeCodeType', '' ] ); 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 setBidCount { my $self = shift; $self->{'BidCount'} = shift }
sub getBidCount { my $self = shift; return $self->{'BidCount'}; }
sub setConvertedPromotionPrice { my $self = shift; $self->{'ConvertedPromotionPrice'} = shift }
sub getConvertedPromotionPrice { my $self = shift; return $self->_getDataTypeInstance( 'ConvertedPromotionPrice' ,'eBay::API::XML::DataType::AmountType'); }
sub setPromotionPrice { my $self = shift; $self->{'PromotionPrice'} = shift }
sub getPromotionPrice { my $self = shift; return $self->_getDataTypeInstance( 'PromotionPrice' ,'eBay::API::XML::DataType::AmountType'); }
sub setPromotionPriceType { my $self = shift; $self->{'PromotionPriceType'} = shift }
sub getPromotionPriceType { my $self = shift; return $self->{'PromotionPriceType'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;