| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | #!/usr/bin/perl | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | package eBay::API::XML::Call::GetItemRecommendations; | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 1 |  |  | 1 |  | 2972 | use strict; | 
|  | 1 |  |  |  |  | 3 |  | 
|  | 1 |  |  |  |  | 58 |  | 
| 6 | 1 |  |  | 1 |  | 6 | use warnings; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 37 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | ########################################################################## | 
| 9 |  |  |  |  |  |  | # | 
| 10 |  |  |  |  |  |  | # Module: ............... eBay/API/XML | 
| 11 |  |  |  |  |  |  | # File: ................. GetItemRecommendations.pm | 
| 12 |  |  |  |  |  |  | # Generated by: ......... genEBayApiDataTypes.pl | 
| 13 |  |  |  |  |  |  | # Last Generated: ....... 08/24/2008 16:44 | 
| 14 |  |  |  |  |  |  | # API Release Number: ... 579 | 
| 15 |  |  |  |  |  |  | # | 
| 16 |  |  |  |  |  |  | ########################################################################## | 
| 17 |  |  |  |  |  |  |  | 
| 18 |  |  |  |  |  |  | =head1 NAME | 
| 19 |  |  |  |  |  |  |  | 
| 20 |  |  |  |  |  |  | eBay::API::XML::Call::GetItemRecommendations | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  |  | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =cut | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | =head1 INHERITANCE | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | eBay::API::XML::Call::GetItemRecommendations inherits from the L class | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | =cut | 
| 36 |  |  |  |  |  |  |  | 
| 37 | 1 |  |  | 1 |  | 46 | use eBay::API::XML::BaseCall; | 
|  | 0 |  |  |  |  |  |  | 
|  | 0 |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | our @ISA = ("eBay::API::XML::BaseCall"); | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | use eBay::API::XML::Call::GetItemRecommendations::GetItemRecommendationsRequestType; | 
| 41 |  |  |  |  |  |  | use eBay::API::XML::Call::GetItemRecommendations::GetItemRecommendationsResponseType; | 
| 42 |  |  |  |  |  |  |  | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | =head1 Subroutines: | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  | =cut | 
| 47 |  |  |  |  |  |  |  | 
| 48 |  |  |  |  |  |  | sub getApiCallName { | 
| 49 |  |  |  |  |  |  | return 'GetItemRecommendations'; | 
| 50 |  |  |  |  |  |  | } | 
| 51 |  |  |  |  |  |  | sub getRequestDataTypeFullPackage { | 
| 52 |  |  |  |  |  |  | return 'eBay::API::XML::Call::GetItemRecommendations::GetItemRecommendationsRequestType'; | 
| 53 |  |  |  |  |  |  | } | 
| 54 |  |  |  |  |  |  | sub getResponseDataTypeFullPackage { | 
| 55 |  |  |  |  |  |  | return 'eBay::API::XML::Call::GetItemRecommendations::GetItemRecommendationsResponseType'; | 
| 56 |  |  |  |  |  |  | } | 
| 57 |  |  |  |  |  |  |  | 
| 58 |  |  |  |  |  |  | # | 
| 59 |  |  |  |  |  |  | # input properties | 
| 60 |  |  |  |  |  |  | # | 
| 61 |  |  |  |  |  |  |  | 
| 62 |  |  |  |  |  |  | =head2 setGetRecommendationsRequestContainer() | 
| 63 |  |  |  |  |  |  |  | 
| 64 |  |  |  |  |  |  | Specifies the data for a single item and configures the recommendation engines to use | 
| 65 |  |  |  |  |  |  | when processing the item. | 
| 66 |  |  |  |  |  |  | To retrieve recommendations for multiple items, pass a separate | 
| 67 |  |  |  |  |  |  | GetRecommendationsRequestContainer for each item. In this case, | 
| 68 |  |  |  |  |  |  | pass a user-defined correlation ID for each item to identify the matching response. | 
| 69 |  |  |  |  |  |  |  | 
| 70 |  |  |  |  |  |  | RequiredInput: Yes | 
| 71 |  |  |  |  |  |  | #    Argument: reference to an array | 
| 72 |  |  |  |  |  |  | of 'ns:GetRecommendationsRequestContainerType' | 
| 73 |  |  |  |  |  |  |  | 
| 74 |  |  |  |  |  |  | =cut | 
| 75 |  |  |  |  |  |  |  | 
| 76 |  |  |  |  |  |  | sub setGetRecommendationsRequestContainer { | 
| 77 |  |  |  |  |  |  | my $self   = shift; | 
| 78 |  |  |  |  |  |  | my $pGetRecommendationsRequestContainer = shift; | 
| 79 |  |  |  |  |  |  | $self->getRequestDataType()->setGetRecommendationsRequestContainer($pGetRecommendationsRequestContainer); | 
| 80 |  |  |  |  |  |  | } | 
| 81 |  |  |  |  |  |  |  | 
| 82 |  |  |  |  |  |  |  | 
| 83 |  |  |  |  |  |  |  | 
| 84 |  |  |  |  |  |  | # | 
| 85 |  |  |  |  |  |  | # output properties | 
| 86 |  |  |  |  |  |  | # | 
| 87 |  |  |  |  |  |  |  | 
| 88 |  |  |  |  |  |  | =head2 getGetRecommendationsResponseContainer() | 
| 89 |  |  |  |  |  |  |  | 
| 90 |  |  |  |  |  |  | Specifies recommended changes or opportunities for improving the data of a single item. | 
| 91 |  |  |  |  |  |  | If multiple items were processed, a separate GetRecommendationsResponseContainer | 
| 92 |  |  |  |  |  |  | is returned for each item. Each container includes a user-defined correlation ID | 
| 93 |  |  |  |  |  |  | to help you match items in the request to recommendations in the response. | 
| 94 |  |  |  |  |  |  |  | 
| 95 |  |  |  |  |  |  | Returned: Always | 
| 96 |  |  |  |  |  |  | #    Returns: reference to an array | 
| 97 |  |  |  |  |  |  | of 'ns:GetRecommendationsResponseContainerType' | 
| 98 |  |  |  |  |  |  |  | 
| 99 |  |  |  |  |  |  | =cut | 
| 100 |  |  |  |  |  |  |  | 
| 101 |  |  |  |  |  |  | sub getGetRecommendationsResponseContainer { | 
| 102 |  |  |  |  |  |  | my $self = shift; | 
| 103 |  |  |  |  |  |  | return $self->getResponseDataType()->getGetRecommendationsResponseContainer(); | 
| 104 |  |  |  |  |  |  | } | 
| 105 |  |  |  |  |  |  |  | 
| 106 |  |  |  |  |  |  |  | 
| 107 |  |  |  |  |  |  |  | 
| 108 |  |  |  |  |  |  |  | 
| 109 |  |  |  |  |  |  |  | 
| 110 |  |  |  |  |  |  | 1; |