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


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::GetMessagePreferences::GetMessagePreferencesResponseType

DESCRIPTION

Top

Contains the ASQ subjects for the user specified in the request.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::GetMessagePreferences::GetMessagePreferencesResponseType inherits from the eBay::API::XML::ResponseDataType class

Subroutines:

Top

setASQPreferences()

Returns a seller's 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. Returned if IncludeASQPreferences = true was specified in the request.

# Argument: 'ns:ASQPreferencesType'

getASQPreferences()

  Returned: Conditionally
#    Returns: 'ns:ASQPreferencesType'


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

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

use strict;
use warnings;  

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

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

use eBay::API::XML::DataType::ASQPreferencesType;


my @gaProperties = ( [ 'ASQPreferences', 'ns:ASQPreferencesType', ''
	     ,'eBay::API::XML::DataType::ASQPreferencesType', '1' ]
                    );
push @gaProperties, @{eBay::API::XML::ResponseDataType::getPropertiesList()};

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

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

sub isScalar {
   return 0; 
}



sub setASQPreferences {
  my $self = shift;
  $self->{'ASQPreferences'} = shift
}

sub getASQPreferences {
  my $self = shift;
  return $self->_getDataTypeInstance( 'ASQPreferences'
		,'eBay::API::XML::DataType::ASQPreferencesType');
}





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

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



1;