eBay::API::XML::DataType::MarkUpMarkDownEventType - eBay::API::XML::DataType::MarkUpMarkDownEventType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::MarkUpMarkDownEventType

DESCRIPTION

Top

Describes an individual mark-up or mark-down event. eBay will automatically mark an application as down if attempts to deliver a notification fail repeatedly. eBay may mark an application down manually under certain circumstances.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setReason()

Describes how the application was marked down, automatically or manually. When an application is automatically marked down, eBay will ping the application periodically, and if communication is restored, eBay will automatically mark the application up. If your application is marked down manually, you must contact eBay Developer Support to get your application marked up. A Reason is not provided for mark up events.

# Argument: 'xs:string'

getReason()

  Calls: GetNotificationsUsage
  Returned: Conditionally

# Returns: 'xs:string'

setTime()

Time when the application was marked up or marked down.

# Argument: 'xs:dateTime'

getTime()

  Calls: GetNotificationsUsage
  Returned: Conditionally

# Returns: 'xs:dateTime'

setType()

Whether the application has been marked up or marked down.

# Argument: 'ns:MarkUpMarkDownEventTypeCodeType'

getType()

  Calls: GetNotificationsUsage
  Returned: Conditionally

# Returns: 'ns:MarkUpMarkDownEventTypeCodeType'


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

package eBay::API::XML::DataType::MarkUpMarkDownEventType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. MarkUpMarkDownEventType.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::MarkUpMarkDownEventTypeCodeType;


my @gaProperties = ( [ 'Reason', 'xs:string', '', '', '' ]
	, [ 'Time', 'xs:dateTime', '', '', '' ]
	, [ 'Type', 'ns:MarkUpMarkDownEventTypeCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::MarkUpMarkDownEventTypeCodeType', '' ]
                    );
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 setReason {
  my $self = shift;
  $self->{'Reason'} = shift
}

sub getReason {
  my $self = shift;
  return $self->{'Reason'};
}


sub setTime {
  my $self = shift;
  $self->{'Time'} = shift
}

sub getTime {
  my $self = shift;
  return $self->{'Time'};
}


sub setType {
  my $self = shift;
  $self->{'Type'} = shift
}

sub getType {
  my $self = shift;
  return $self->{'Type'};
}





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

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



1;