| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::FaultDetailsType
SOAP faults are used to indicate that an infrastructure error has occurred, such as a problem on eBay's side with database or server going down, or a problem with the client or server-side SOAP framework.
eBay::API::XML::DataType::FaultDetailsType inherits from the eBay::API::XML::BaseDataType class
Description of the condition that caused the SOAP fault.
# Argument: 'xs:string'
# Returns: 'xs:string'
Error code can be used by a receiving application to debug a SOAP response message that contains one or more SOAP fault details. Each error code is uniquely defined for each fault scenario. See the eBay documentation for more information. Your application can use error codes as identifiers in your customized error-handling algorithms.
# Argument: 'xs:string'
# Returns: 'xs:string'
Indicates whether the error is a severe error (causing the request to fail) or an informational error (a warning).
# Argument: 'xs:string'
# Returns: 'xs:string'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::FaultDetailsType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. FaultDetailsType.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"); my @gaProperties = ( [ 'DetailedMessage', 'xs:string', '', '', '' ] , [ 'ErrorCode', 'xs:string', '', '', '' ] , [ 'Severity', 'xs:string', '', '', '' ] ); 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 setDetailedMessage { my $self = shift; $self->{'DetailedMessage'} = shift }
sub getDetailedMessage { my $self = shift; return $self->{'DetailedMessage'}; }
sub setErrorCode { my $self = shift; $self->{'ErrorCode'} = shift }
sub getErrorCode { my $self = shift; return $self->{'ErrorCode'}; }
sub setSeverity { my $self = shift; $self->{'Severity'} = shift }
sub getSeverity { my $self = shift; return $self->{'Severity'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;