eBay::API::XML::DataType::BusinessSellerDetailsType - eBay::API::XML::DataType::BusinessSellerDetailsType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::BusinessSellerDetailsType

DESCRIPTION

Top

Displays the seller's information (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'. Note that this option is only available for sites that have Business Seller options enabled.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setAdditionalContactInformation()

Displays the AdditionalContactInformation of the seller (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'.

# Argument: 'xs:string'

getAdditionalContactInformation()

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll

# Returns: 'xs:string'

setAddress()

Displays the Address of the seller (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'.

# Argument: 'ns:AddressType'

getAddress()

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll

# Returns: 'ns:AddressType'

setEmail()

Displays the email address of the seller (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'.

# Argument: 'xs:string'

getEmail()

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll

# Returns: 'xs:string'

setFax()

Displays the fax number of the seller (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'.

# Argument: 'xs:string'

getFax()

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll

# Returns: 'xs:string'

setLegalInvoice()

Displays the LegalInvoice of the seller (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'.

# Argument: 'xs:boolean'

isLegalInvoice()

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll

# Returns: 'xs:boolean'

setTermsAndConditions()

Displays the TermsAndConditions of the seller (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'.

# Argument: 'xs:string'

getTermsAndConditions()

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll

# Returns: 'xs:string'

setTradeRegistrationNumber()

Displays the TradeRegistrationNumber of the seller (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'.

# Argument: 'xs:string'

getTradeRegistrationNumber()

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll

# Returns: 'xs:string'

setVATDetails()

Displays the VATDetails of the seller (in a business card format) as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'.

# Argument: 'ns:VATDetailsType'

getVATDetails()

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll

# Returns: 'ns:VATDetailsType'


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

package eBay::API::XML::DataType::BusinessSellerDetailsType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. BusinessSellerDetailsType.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::AddressType;
use eBay::API::XML::DataType::VATDetailsType;


my @gaProperties = ( [ 'AdditionalContactInformation', 'xs:string', '', '', '' ]
	, [ 'Address', 'ns:AddressType', ''
	     ,'eBay::API::XML::DataType::AddressType', '1' ]
	, [ 'Email', 'xs:string', '', '', '' ]
	, [ 'Fax', 'xs:string', '', '', '' ]
	, [ 'LegalInvoice', 'xs:boolean', '', '', '' ]
	, [ 'TermsAndConditions', 'xs:string', '', '', '' ]
	, [ 'TradeRegistrationNumber', 'xs:string', '', '', '' ]
	, [ 'VATDetails', 'ns:VATDetailsType', ''
	     ,'eBay::API::XML::DataType::VATDetailsType', '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 setAdditionalContactInformation {
  my $self = shift;
  $self->{'AdditionalContactInformation'} = shift
}

sub getAdditionalContactInformation {
  my $self = shift;
  return $self->{'AdditionalContactInformation'};
}


sub setAddress {
  my $self = shift;
  $self->{'Address'} = shift
}

sub getAddress {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Address'
		,'eBay::API::XML::DataType::AddressType');
}


sub setEmail {
  my $self = shift;
  $self->{'Email'} = shift
}

sub getEmail {
  my $self = shift;
  return $self->{'Email'};
}


sub setFax {
  my $self = shift;
  $self->{'Fax'} = shift
}

sub getFax {
  my $self = shift;
  return $self->{'Fax'};
}


sub setLegalInvoice {
  my $self = shift;
  $self->{'LegalInvoice'} = shift
}

sub isLegalInvoice {
  my $self = shift;
  return $self->{'LegalInvoice'};
}


sub setTermsAndConditions {
  my $self = shift;
  $self->{'TermsAndConditions'} = shift
}

sub getTermsAndConditions {
  my $self = shift;
  return $self->{'TermsAndConditions'};
}


sub setTradeRegistrationNumber {
  my $self = shift;
  $self->{'TradeRegistrationNumber'} = shift
}

sub getTradeRegistrationNumber {
  my $self = shift;
  return $self->{'TradeRegistrationNumber'};
}


sub setVATDetails {
  my $self = shift;
  $self->{'VATDetails'} = shift
}

sub getVATDetails {
  my $self = shift;
  return $self->_getDataTypeInstance( 'VATDetails'
		,'eBay::API::XML::DataType::VATDetailsType');
}





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

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



1;