eBay::API::XML::Call::GetMessagePreferences::GetMessagePreferencesRequestType - eBay::API::XML::Call::GetMessagePreferences::GetMessagePreferencesRequestType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::GetMessagePreferences::GetMessagePreferencesRequestType

DESCRIPTION

Top

Returns a seller's Ask Seller a Question (ASQ) subjects, each in its own Subject node. If the seller has not customized the ASQ subjects using SetMessagePreferences, the call will return the current default values.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::GetMessagePreferences::GetMessagePreferencesRequestType inherits from the eBay::API::XML::RequestDataType class

Subroutines:

Top

setIncludeASQPreferences()

If true, indicates that the ASQ subjects for the specified user should be returned.

  RequiredInput: No
#    Argument: 'xs:boolean'

isIncludeASQPreferences()

# Returns: 'xs:boolean'

setSellerID()

The ID of the user to retrieve ASQ subjects for. This value must be specified in the request, but does not need to be the same user as the user making the request.

  RequiredInput: Yes
#    Argument: 'ns:UserIDType'

getSellerID()

# Returns: 'ns:UserIDType'


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

package eBay::API::XML::Call::GetMessagePreferences::GetMessagePreferencesRequestType;

use strict;
use warnings;  

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

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

use eBay::API::XML::DataType::UserIDType;


my @gaProperties = ( [ 'IncludeASQPreferences', 'xs:boolean', '', '', '' ]
	, [ 'SellerID', 'ns:UserIDType', ''
	     ,'eBay::API::XML::DataType::UserIDType', '1' ]
                    );
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()};

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

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

sub isScalar {
   return 0; 
}



sub setIncludeASQPreferences {
  my $self = shift;
  $self->{'IncludeASQPreferences'} = shift
}

sub isIncludeASQPreferences {
  my $self = shift;
  return $self->{'IncludeASQPreferences'};
}


sub setSellerID {
  my $self = shift;
  $self->{'SellerID'} = shift
}

sub getSellerID {
  my $self = shift;
  return $self->_getDataTypeInstance( 'SellerID'
		,'eBay::API::XML::DataType::UserIDType');
}





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

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



1;