eBay::API::XML::DataType::NotificationUserDataType - eBay::API::XML::DataType::NotificationUserDataType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::NotificationUserDataType

DESCRIPTION

Top

User data related to notifications.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setSMSSubscription()

User data related to SMS notifications. SMS is currently reserved for future use.

  Calls: SetNotificationPreferences
  RequiredInput: Conditionally

# Argument: 'ns:SMSSubscriptionType'

getSMSSubscription()

  Calls: GetNotificationPreferences
  Returned: Conditionally

# Returns: 'ns:SMSSubscriptionType'

setSummarySchedule()

User account activity summary alert delivery schedule. Returned if PreferenceLevel is set to UserData in GetNotificationPreferences. See "Working with Platform Notifications" for instructions on "Informational Alerts".

  Calls: SetNotificationPreferences
  RequiredInput: Conditionally

# Argument: reference to an array of 'ns:SummaryEventScheduleType'

getSummarySchedule()

  Calls: GetNotificationPreferences
  Returned: Conditionally

# Returns: reference to an array of 'ns:SummaryEventScheduleType'


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

package eBay::API::XML::DataType::NotificationUserDataType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. NotificationUserDataType.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::SMSSubscriptionType;
use eBay::API::XML::DataType::SummaryEventScheduleType;


my @gaProperties = ( [ 'SMSSubscription', 'ns:SMSSubscriptionType', ''
	     ,'eBay::API::XML::DataType::SMSSubscriptionType', '1' ]
	, [ 'SummarySchedule', 'ns:SummaryEventScheduleType', '1'
	     ,'eBay::API::XML::DataType::SummaryEventScheduleType', '1' ]
                    );
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 setSMSSubscription {
  my $self = shift;
  $self->{'SMSSubscription'} = shift
}

sub getSMSSubscription {
  my $self = shift;
  return $self->_getDataTypeInstance( 'SMSSubscription'
		,'eBay::API::XML::DataType::SMSSubscriptionType');
}


sub setSummarySchedule {
  my $self = shift;
  $self->{'SummarySchedule'} = 
		$self->convertArray_To_RefToArrayIfNeeded(@_);
}

sub getSummarySchedule {
  my $self = shift;
  return $self->_getDataTypeArray('SummarySchedule');
}





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

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



1;