| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::Call::GetMemberMessages
eBay::API::XML::Call::GetMemberMessages inherits from the eBay::API::XML::BaseCall class
Specifies if the message should be displayed on the website with the item listing.
RequiredInput: No # Argument: 'xs:boolean'
Used as end of date range filter. If specified, filters the returned messages to only those with a creation date less than or equal to the specified date and time. <br><br> For CEM messages, StartCreationTime and EndCreationTime must be provided. <br><br> For ASQ messages, either the ItemID, or a date range (specified with StartCreationTime and EndCreationTime), or both must be included.
RequiredInput: Conditionally # Argument: 'xs:dateTime'
The ID of the item the message is about. <br><br> For ASQ messages, either the ItemID, or a date range (specified with StartCreationTime and EndCreationTime), or both must be included. ItemID is otherwise ignored.
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
RequiredInput: Conditionally # Argument: 'ns:ItemIDType'
The type of message.
RequiredInput: Yes # Argument: 'ns:MessageTypeCodeType'
An ID that uniquely identifies the message for a given user to be retrieved. Used for the AskSellerQuestion notification only.
RequiredInput: No # Argument: 'xs:string'
The status of the message.
RequiredInput: Conditionally # Argument: 'ns:MessageStatusTypeCodeType'
Standard pagination argument used to reduce response.
RequiredInput: Yes # Argument: 'ns:PaginationType'
An eBay ID that uniquely identifies a user. For GetMemberMessages, this is the sender of the message. If included in the request, returns only messages from the specified sender.
RequiredInput: No # Argument: 'ns:UserIDType'
Used as beginning of date range filter. If specified, filters the returned messages to only those with a creation date greater than or equal to the specified date and time. <br><br> For CEM messages, StartCreationTime and EndCreationTime must be provided. <br><br> For ASQ messages, either the ItemID, or a date range (specified with StartCreationTime and EndCreationTime), or both must be included.
RequiredInput: Conditionally # Argument: 'xs:dateTime'
Specifies whether the response has more items.
Returned: Always # Returns: 'xs:boolean'
The returned member messages. Returned if messages that meet the request criteria exist.
Returned: Conditionally # Returns: 'ns:MemberMessageExchangeArrayType'
Shows the pagination of data returned by requests.
Returned: Always # Returns: 'ns:PaginationResultType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::Call::GetMemberMessages; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. GetMemberMessages.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::BaseCall; our @ISA = ("eBay::API::XML::BaseCall"); use eBay::API::XML::Call::GetMemberMessages::GetMemberMessagesRequestType; use eBay::API::XML::Call::GetMemberMessages::GetMemberMessagesResponseType;
sub getApiCallName { return 'GetMemberMessages'; } sub getRequestDataTypeFullPackage { return 'eBay::API::XML::Call::GetMemberMessages::GetMemberMessagesRequestType'; } sub getResponseDataTypeFullPackage { return 'eBay::API::XML::Call::GetMemberMessages::GetMemberMessagesResponseType'; } # # input properties #
sub setDisplayToPublic { my $self = shift; my $sDisplayToPublic = shift; $self->getRequestDataType()->setDisplayToPublic($sDisplayToPublic); }
sub setEndCreationTime { my $self = shift; my $sEndCreationTime = shift; $self->getRequestDataType()->setEndCreationTime($sEndCreationTime); }
sub setItemID { my $self = shift; my $pItemID = shift; $self->getRequestDataType()->setItemID($pItemID); }
sub setMailMessageType { my $self = shift; my $sMailMessageType = shift; $self->getRequestDataType()->setMailMessageType($sMailMessageType); }
sub setMemberMessageID { my $self = shift; my $sMemberMessageID = shift; $self->getRequestDataType()->setMemberMessageID($sMemberMessageID); }
sub setMessageStatus { my $self = shift; my $sMessageStatus = shift; $self->getRequestDataType()->setMessageStatus($sMessageStatus); }
sub setPagination { my $self = shift; my $pPagination = shift; $self->getRequestDataType()->setPagination($pPagination); }
sub setSenderID { my $self = shift; my $pSenderID = shift; $self->getRequestDataType()->setSenderID($pSenderID); }
sub setStartCreationTime { my $self = shift; my $sStartCreationTime = shift; $self->getRequestDataType()->setStartCreationTime($sStartCreationTime); } # # output properties #
sub isHasMoreItems { my $self = shift; return $self->getResponseDataType()->isHasMoreItems(); }
sub getMemberMessage { my $self = shift; return $self->getResponseDataType()->getMemberMessage(); }
sub getPaginationResult { my $self = shift; return $self->getResponseDataType()->getPaginationResult(); } 1;