eBay::API::XML::DataType::BuyerProtectionDetailsType - eBay::API::XML::DataType::BuyerProtectionDetailsType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::BuyerProtectionDetailsType

DESCRIPTION

Top

Contains the data for different buyer protection schemes and the various status associated with each one of them.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setBuyerProtectionSource()

Indicates the type of Buyer Protection applicable for a particular item, such as eBay for the eBay Standard Purchase Protection Program or PayPal for the PayPal Protection Program.

# Argument: 'ns:BuyerProtectionSourceCodeType'

getBuyerProtectionSource()

  Calls: GetItemTransactions
  Returned: Conditionally

  Calls: GetOrderTransactions
  Returned: Conditionally

  Calls: GetSellerTransactions
  Returned: Conditionally

  Calls: GetItem
  Returned: Conditionally

  Calls: GetSearchResults
  Returned: Conditionally

# Returns: 'ns:BuyerProtectionSourceCodeType'

setBuyerProtectionStatus()

Indicates the status of the item's eligibility for a Buyer Protection Program.

# Argument: 'ns:BuyerProtectionCodeType'

getBuyerProtectionStatus()

  Calls: GetItemTransactions
  Returned: Conditionally

  Calls: GetOrderTransactions
  Returned: Conditionally

  Calls: GetSellerTransactions
  Returned: Conditionally

  Calls: GetItem
  Returned: Conditionally

  Calls: GetSearchResults
  Returned: Conditionally

# Returns: 'ns:BuyerProtectionCodeType'


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

package eBay::API::XML::DataType::BuyerProtectionDetailsType;

use strict;
use warnings;  

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


my @gaProperties = ( [ 'BuyerProtectionSource', 'ns:BuyerProtectionSourceCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::BuyerProtectionSourceCodeType', '' ]
	, [ 'BuyerProtectionStatus', 'ns:BuyerProtectionCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::BuyerProtectionCodeType', '' ]
                    );
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 setBuyerProtectionSource {
  my $self = shift;
  $self->{'BuyerProtectionSource'} = shift
}

sub getBuyerProtectionSource {
  my $self = shift;
  return $self->{'BuyerProtectionSource'};
}


sub setBuyerProtectionStatus {
  my $self = shift;
  $self->{'BuyerProtectionStatus'} = shift
}

sub getBuyerProtectionStatus {
  my $self = shift;
  return $self->{'BuyerProtectionStatus'};
}





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

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



1;