eBay::API::XML::DataType::NotificationEnableType - eBay::API::XML::DataType::NotificationEnableType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::NotificationEnableType

DESCRIPTION

Top

Specifies a notification event and whether the notification is enabled or disabled.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::DataType::NotificationEnableType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

Top

setEventEnable()

Whether the event is enabled or disabled.

  Calls: SetNotificationPreferences
  RequiredInput: No

# Argument: 'ns:EnableCodeType'

getEventEnable()

  Calls: GetNotificationPreferences
  Returned: Conditionally

# Returns: 'ns:EnableCodeType'

setEventType()

The name of the notification event.

  Calls: SetNotificationPreferences
  RequiredInput: No
  AllValuesExcept: None, FeedbackForSeller

# Argument: 'ns:NotificationEventTypeCodeType'

getEventType()

  Calls: GetNotificationPreferences
  Returned: Conditionally
  AllValuesExcept: FeedbackForSeller

# Returns: 'ns:NotificationEventTypeCodeType'


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

package eBay::API::XML::DataType::NotificationEnableType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. NotificationEnableType.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::Enum::EnableCodeType;
use eBay::API::XML::DataType::Enum::NotificationEventTypeCodeType;


my @gaProperties = ( [ 'EventEnable', 'ns:EnableCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::EnableCodeType', '' ]
	, [ 'EventType', 'ns:NotificationEventTypeCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::NotificationEventTypeCodeType', '' ]
                    );
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 setEventEnable {
  my $self = shift;
  $self->{'EventEnable'} = shift
}

sub getEventEnable {
  my $self = shift;
  return $self->{'EventEnable'};
}


sub setEventType {
  my $self = shift;
  $self->{'EventType'} = shift
}

sub getEventType {
  my $self = shift;
  return $self->{'EventType'};
}





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

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



1;