eBay::API::XML::DataType::CharityAffiliationDetailType - eBay::API::XML::DataType::CharityAffiliationDetailType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::CharityAffiliationDetailType

DESCRIPTION

Top

The information of nonprofit charity organization affiliation.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setAffiliationType()

Indicates the affiliation status of the nonprofit charity organization registered with the eBay Giving Works provider.

# Argument: 'ns:CharityAffiliationTypeCodeType'

getAffiliationType()

  Calls: GetUser
  Returned: Conditionally
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'ns:CharityAffiliationTypeCodeType'

setCharityID()

The affiliation ID for nonprofit charity organizations registered with the dedicated eBay Giving Works provider.

# Argument: 'xs:string'

getCharityID()

  Calls: GetUser
  Returned: Conditionally
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'xs:string'

setLastUsedTime()

Indicates the affiliation last used date of the nonprofit charity organization registered with the eBay Giving Works provider.

# Argument: 'xs:dateTime'

getLastUsedTime()

  Calls: GetUser
  Returned: Conditionally
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'xs:dateTime'


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

package eBay::API::XML::DataType::CharityAffiliationDetailType;

use strict;
use warnings;  

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


my @gaProperties = ( [ 'AffiliationType', 'ns:CharityAffiliationTypeCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::CharityAffiliationTypeCodeType', '' ]
	, [ 'CharityID', 'xs:string', '', '', '' ]
	, [ 'LastUsedTime', 'xs:dateTime', '', '', '' ]
                    );
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 setAffiliationType {
  my $self = shift;
  $self->{'AffiliationType'} = shift
}

sub getAffiliationType {
  my $self = shift;
  return $self->{'AffiliationType'};
}


sub setCharityID {
  my $self = shift;
  $self->{'CharityID'} = shift
}

sub getCharityID {
  my $self = shift;
  return $self->{'CharityID'};
}


sub setLastUsedTime {
  my $self = shift;
  $self->{'LastUsedTime'} = shift
}

sub getLastUsedTime {
  my $self = shift;
  return $self->{'LastUsedTime'};
}





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

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



1;