| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::AdFormatLeadType
Contains prospective buyer contact information and other details associated with a lead for an ad format listing.
eBay::API::XML::DataType::AdFormatLeadType inherits from the eBay::API::XML::BaseDataType class
Message sent from the prospective buyer to the seller. Same content as in the AdFormatLead.MemberMessage.MemberMessageExchange.Question.Body node (that is only displayed if IncludeMemberMessages = true is included in the request). The advantage of retrieving the MemberMessageExchange node, however, is that you retrieve the entire exchange between the seller and the lead.
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
Address information for the prospective buyer. Not returned or returned self-closed if information is unavailable.
# Argument: 'ns:AddressType'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'ns:AddressType'
This field corresponds to a configurable question on the lead form in the View Item web page. The corresponding question is site-specific. To determine the question for a specific site, you must view the form in the web flow for the given site. This field applies to Classified Ad format listings in Motors categories only.
MaxLength: 1
# Argument: 'xs:boolean'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:boolean'
This field corresponds to a configurable question on the lead form in the View Item web page. The corresponding question is site-specific. To determine the question for a specific site, you must view the form in the web flow for the given site. This field applies to Classified Ad format listings in Motors categories only.
MaxLength: 1
# Argument: 'xs:boolean'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:boolean'
The time of day when the prospective buyer prefers to be contacted by the seller. Not returned if information is unavailable.
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
Email address for the prospective buyer. If the prospective buyer chooses to hide his email address when contacting the seller, this element contains two dashes (--) instead of an email address.
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
Email address for the prospective buyer as entered in the lead form on the View Item page. Provides a way for sellers to contact prospective buyers who choose not to log in to eBay. This applies to only eBay Motors and eBay Motors categories.
MaxLength: 128
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
Prospective buyer answer whether or not the prospective buyer would like financing. Entered on the lead form on the View Item page. Applies to eBay Motors and Motors categories only. Financing response meanings: 0= no response,1= yes, 2= no.
MaxLength: 1
# Argument: 'xs:boolean'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:boolean'
The ID of the item that the lead is for.
# Argument: 'ns:ItemIDType'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'ns:ItemIDType'
The title of the item that the lead is for.
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
The total fee from email and phone leads. Applies to the item specified in the request. LeadFee is part the pay-per-lead feature.
# Argument: 'ns:AmountType'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'ns:AmountType'
Contains any mail message content shared between the seller and lead.
# Argument: 'ns:MemberMessageExchangeArrayType'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'ns:MemberMessageExchangeArrayType'
Prospective buyer's time frame for purchasing a vehicle as entered in the Lead form on View Item page for eBay Motors and eBay Motors categories. Purchasing Time Frames include: <ul> <li> within next 3 days </li> <li> within a week </li> <li> within a month </li> <li> within three months </li> <li> in more than three months </li> <li> within an undecided time frame </li> </ul>
MaxLength: 255
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
Status of the lead.
# Argument: 'ns:AdFormatLeadStatusCodeType'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'ns:AdFormatLeadStatusCodeType'
Date and time (in GMT) that the lead was submitted.
# Argument: 'xs:dateTime'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:dateTime'
The make of the vehicle the prospective buyer would like to trade in. Entered on the lead form on the View Item page. Applies to eBay Motors and Motors categories only.
MaxLength: 128
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
The model of the vehicle the prospective buyer would like to trade in. Entered on the lead form on the View Item page.Applies to eBay Motors and Motors categories only.
MaxLength: 128
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
The year of the vehicle the prospective buyer would like to trade in. Entered on the lead form on the View Item page. Applies to eBay Motors and Motors categories only.
MaxLength: 32
# Argument: 'xs:string'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'xs:string'
The eBay ID of the user who is interested in the seller's item.
# Argument: 'ns:UserIDType'
Calls: GetAdFormatLeads Returned: Conditionally Details: DetailLevel: ReturnAll
# Returns: 'ns:UserIDType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::AdFormatLeadType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. AdFormatLeadType.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::AmountType; use eBay::API::XML::DataType::ItemIDType; use eBay::API::XML::DataType::MemberMessageExchangeArrayType; use eBay::API::XML::DataType::UserIDType; use eBay::API::XML::DataType::Enum::AdFormatLeadStatusCodeType; my @gaProperties = ( [ 'AdditionalInformation', 'xs:string', '', '', '' ] , [ 'Address', 'ns:AddressType', '' ,'eBay::API::XML::DataType::AddressType', '1' ] , [ 'Answer1', 'xs:boolean', '', '', '' ] , [ 'Answer2', 'xs:boolean', '', '', '' ] , [ 'BestTimeToCall', 'xs:string', '', '', '' ] , [ 'Email', 'xs:string', '', '', '' ] , [ 'ExternalEmail', 'xs:string', '', '', '' ] , [ 'FinancingAnswer', 'xs:boolean', '', '', '' ] , [ 'ItemID', 'ns:ItemIDType', '' ,'eBay::API::XML::DataType::ItemIDType', '1' ] , [ 'ItemTitle', 'xs:string', '', '', '' ] , [ 'LeadFee', 'ns:AmountType', '' ,'eBay::API::XML::DataType::AmountType', '1' ] , [ 'MemberMessage', 'ns:MemberMessageExchangeArrayType', '' ,'eBay::API::XML::DataType::MemberMessageExchangeArrayType', '1' ] , [ 'PurchaseTimeFrame', 'xs:string', '', '', '' ] , [ 'Status', 'ns:AdFormatLeadStatusCodeType', '' ,'eBay::API::XML::DataType::Enum::AdFormatLeadStatusCodeType', '' ] , [ 'SubmittedTime', 'xs:dateTime', '', '', '' ] , [ 'TradeInMake', 'xs:string', '', '', '' ] , [ 'TradeInModel', 'xs:string', '', '', '' ] , [ 'TradeInYear', 'xs:string', '', '', '' ] , [ 'UserID', 'ns:UserIDType', '' ,'eBay::API::XML::DataType::UserIDType', '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 setAdditionalInformation { my $self = shift; $self->{'AdditionalInformation'} = shift }
sub getAdditionalInformation { my $self = shift; return $self->{'AdditionalInformation'}; }
sub setAddress { my $self = shift; $self->{'Address'} = shift }
sub getAddress { my $self = shift; return $self->_getDataTypeInstance( 'Address' ,'eBay::API::XML::DataType::AddressType'); }
sub setAnswer1 { my $self = shift; $self->{'Answer1'} = shift }
sub isAnswer1 { my $self = shift; return $self->{'Answer1'}; }
sub setAnswer2 { my $self = shift; $self->{'Answer2'} = shift }
sub isAnswer2 { my $self = shift; return $self->{'Answer2'}; }
sub setBestTimeToCall { my $self = shift; $self->{'BestTimeToCall'} = shift }
sub getBestTimeToCall { my $self = shift; return $self->{'BestTimeToCall'}; }
sub setEmail { my $self = shift; $self->{'Email'} = shift }
sub getEmail { my $self = shift; return $self->{'Email'}; }
sub setExternalEmail { my $self = shift; $self->{'ExternalEmail'} = shift }
sub getExternalEmail { my $self = shift; return $self->{'ExternalEmail'}; }
sub setFinancingAnswer { my $self = shift; $self->{'FinancingAnswer'} = shift }
sub isFinancingAnswer { my $self = shift; return $self->{'FinancingAnswer'}; }
sub setItemID { my $self = shift; $self->{'ItemID'} = shift }
sub getItemID { my $self = shift; return $self->_getDataTypeInstance( 'ItemID' ,'eBay::API::XML::DataType::ItemIDType'); }
sub setItemTitle { my $self = shift; $self->{'ItemTitle'} = shift }
sub getItemTitle { my $self = shift; return $self->{'ItemTitle'}; }
sub setLeadFee { my $self = shift; $self->{'LeadFee'} = shift }
sub getLeadFee { my $self = shift; return $self->_getDataTypeInstance( 'LeadFee' ,'eBay::API::XML::DataType::AmountType'); }
sub setMemberMessage { my $self = shift; $self->{'MemberMessage'} = shift }
sub getMemberMessage { my $self = shift; return $self->_getDataTypeInstance( 'MemberMessage' ,'eBay::API::XML::DataType::MemberMessageExchangeArrayType'); }
sub setPurchaseTimeFrame { my $self = shift; $self->{'PurchaseTimeFrame'} = shift }
sub getPurchaseTimeFrame { my $self = shift; return $self->{'PurchaseTimeFrame'}; }
sub setStatus { my $self = shift; $self->{'Status'} = shift }
sub getStatus { my $self = shift; return $self->{'Status'}; }
sub setSubmittedTime { my $self = shift; $self->{'SubmittedTime'} = shift }
sub getSubmittedTime { my $self = shift; return $self->{'SubmittedTime'}; }
sub setTradeInMake { my $self = shift; $self->{'TradeInMake'} = shift }
sub getTradeInMake { my $self = shift; return $self->{'TradeInMake'}; }
sub setTradeInModel { my $self = shift; $self->{'TradeInModel'} = shift }
sub getTradeInModel { my $self = shift; return $self->{'TradeInModel'}; }
sub setTradeInYear { my $self = shift; $self->{'TradeInYear'} = shift }
sub getTradeInYear { my $self = shift; return $self->{'TradeInYear'}; }
sub setUserID { my $self = shift; $self->{'UserID'} = shift }
sub getUserID { my $self = shift; return $self->_getDataTypeInstance( 'UserID' ,'eBay::API::XML::DataType::UserIDType'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;