| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::Base64BinaryType
Used for storing an optional reference ID to the binary attachment
eBay::API::XML::DataType::Base64BinaryType inherits from the eBay::API::XML::BaseDataType class
# Argument: 'xs:base64Binary'
# Returns: 'xs:base64Binary'
Stores an optional reference ID to the binary attachment.
Calls: UploadSiteHostedPictures RequiredInput: No
# Argument: 'xs:string'
# Returns: 'xs:string'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::Base64BinaryType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. Base64BinaryType.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"); my @gaProperties = ( [ 'content', 'xs:base64Binary', '', '', '' ] ); push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; my @gaAttributes = ( [ 'contentType', 'xs:string', '', '', '' ] ); 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 setValue { my $self = shift; $self->{'content'} = shift }
sub getValue { my $self = shift; return $self->{'content'}; }
sub setContentType { my $self = shift; $self->{'contentType'} = shift }
sub getContentType { my $self = shift; return $self->{'contentType'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;