eBay::API::XML::DataType::ExtendedContactDetailsType - eBay::API::XML::DataType::ExtendedContactDetailsType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::ExtendedContactDetailsType

DESCRIPTION

Top

Contains extended contact information for an eBay user.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setClassifiedAdContactByEmailEnabled()

Returned for classified ads to indicate whether contact by email is enabled. In the pay-per-lead feature, which will be available in upcoming months on the US site, this field will specify whether potential buyers can email the seller after viewing a pay-per-lead listing.

  Calls: AddItem
         ReviseItem
         VerifyAddItem
         RelistItem
  RequiredInput: No

# Argument: 'xs:boolean'

isClassifiedAdContactByEmailEnabled()

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

# Returns: 'xs:boolean'

setContactHoursDetails()

All fields related to contact hours including time ranges and user-designated time zone.

  Calls: AddItem
         RelistItem
         ReviseItem
         VerifyAddItem
  RequiredInput: No

# Argument: 'ns:ContactHoursDetailsType'

getContactHoursDetails()

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

  Calls: GetSellerList
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ReturnAll

# Returns: 'ns:ContactHoursDetailsType'

setPayPerLeadPhoneNumber()

A phone number assigned by eBay and provided to potential buyers when they are viewing a pay-per-lead listing. If a potential buyer (a lead) makes a call to this number, eBay routes the call to the seller based on inputs made by the seller when the seller lists the item.

# Argument: 'xs:string'

getPayPerLeadPhoneNumber()

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

# Returns: 'xs:string'


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

package eBay::API::XML::DataType::ExtendedContactDetailsType;

use strict;
use warnings;  

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


my @gaProperties = ( [ 'ClassifiedAdContactByEmailEnabled', 'xs:boolean', '', '', '' ]
	, [ 'ContactHoursDetails', 'ns:ContactHoursDetailsType', ''
	     ,'eBay::API::XML::DataType::ContactHoursDetailsType', '1' ]
	, [ 'PayPerLeadPhoneNumber', '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 setClassifiedAdContactByEmailEnabled {
  my $self = shift;
  $self->{'ClassifiedAdContactByEmailEnabled'} = shift
}

sub isClassifiedAdContactByEmailEnabled {
  my $self = shift;
  return $self->{'ClassifiedAdContactByEmailEnabled'};
}


sub setContactHoursDetails {
  my $self = shift;
  $self->{'ContactHoursDetails'} = shift
}

sub getContactHoursDetails {
  my $self = shift;
  return $self->_getDataTypeInstance( 'ContactHoursDetails'
		,'eBay::API::XML::DataType::ContactHoursDetailsType');
}


sub setPayPerLeadPhoneNumber {
  my $self = shift;
  $self->{'PayPerLeadPhoneNumber'} = shift
}

sub getPayPerLeadPhoneNumber {
  my $self = shift;
  return $self->{'PayPerLeadPhoneNumber'};
}





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

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



1;