| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | #!/usr/bin/perl | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | package eBay::API::XML::DataType::PricingRecommendationsType; | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 1 |  |  | 1 |  | 1071 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 34 |  | 
| 6 | 1 |  |  | 1 |  | 6 | use warnings; | 
|  | 1 |  |  |  |  | 3 |  | 
|  | 1 |  |  |  |  | 33 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | ########################################################################## | 
| 9 |  |  |  |  |  |  | # | 
| 10 |  |  |  |  |  |  | # Module: ............... eBay/API/XML | 
| 11 |  |  |  |  |  |  | # File: ................. PricingRecommendationsType.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::DataType::PricingRecommendationsType | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | Pricing data returned from the Product Pricing engine. | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  |  | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =cut | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | =head1 INHERITANCE | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | eBay::API::XML::DataType::PricingRecommendationsType inherits from the L class | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | =cut | 
| 38 |  |  |  |  |  |  |  | 
| 39 | 1 |  |  | 1 |  | 42 | use eBay::API::XML::BaseDataType; | 
|  | 0 |  |  |  |  |  |  | 
|  | 0 |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | our @ISA = ("eBay::API::XML::BaseDataType"); | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | use eBay::API::XML::DataType::ProductInfoType; | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | my @gaProperties = ( [ 'ProductInfo', 'ns:ProductInfoType', '' | 
| 46 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::ProductInfoType', '1' ] | 
| 47 |  |  |  |  |  |  | ); | 
| 48 |  |  |  |  |  |  | push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | my @gaAttributes = ( | 
| 51 |  |  |  |  |  |  | ); | 
| 52 |  |  |  |  |  |  | push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; | 
| 53 |  |  |  |  |  |  |  | 
| 54 |  |  |  |  |  |  | =head1 Subroutines: | 
| 55 |  |  |  |  |  |  |  | 
| 56 |  |  |  |  |  |  | =cut | 
| 57 |  |  |  |  |  |  |  | 
| 58 |  |  |  |  |  |  | sub new { | 
| 59 |  |  |  |  |  |  | my $classname = shift; | 
| 60 |  |  |  |  |  |  | my %args = @_; | 
| 61 |  |  |  |  |  |  | my $self = $classname->SUPER::new(%args); | 
| 62 |  |  |  |  |  |  | return $self; | 
| 63 |  |  |  |  |  |  | } | 
| 64 |  |  |  |  |  |  |  | 
| 65 |  |  |  |  |  |  | sub isScalar { | 
| 66 |  |  |  |  |  |  | return 0; | 
| 67 |  |  |  |  |  |  | } | 
| 68 |  |  |  |  |  |  |  | 
| 69 |  |  |  |  |  |  |  | 
| 70 |  |  |  |  |  |  |  | 
| 71 |  |  |  |  |  |  | =head2 setProductInfo() | 
| 72 |  |  |  |  |  |  |  | 
| 73 |  |  |  |  |  |  | A product's pricing data (if any) and brief information about the product. | 
| 74 |  |  |  |  |  |  |  | 
| 75 |  |  |  |  |  |  | #    Argument: 'ns:ProductInfoType' | 
| 76 |  |  |  |  |  |  |  | 
| 77 |  |  |  |  |  |  | =cut | 
| 78 |  |  |  |  |  |  |  | 
| 79 |  |  |  |  |  |  | sub setProductInfo { | 
| 80 |  |  |  |  |  |  | my $self = shift; | 
| 81 |  |  |  |  |  |  | $self->{'ProductInfo'} = shift | 
| 82 |  |  |  |  |  |  | } | 
| 83 |  |  |  |  |  |  |  | 
| 84 |  |  |  |  |  |  | =head2 getProductInfo() | 
| 85 |  |  |  |  |  |  |  | 
| 86 |  |  |  |  |  |  | Calls: GetItemRecommendations | 
| 87 |  |  |  |  |  |  | Returned: Conditionally | 
| 88 |  |  |  |  |  |  |  | 
| 89 |  |  |  |  |  |  | #    Returns: 'ns:ProductInfoType' | 
| 90 |  |  |  |  |  |  |  | 
| 91 |  |  |  |  |  |  | =cut | 
| 92 |  |  |  |  |  |  |  | 
| 93 |  |  |  |  |  |  | sub getProductInfo { | 
| 94 |  |  |  |  |  |  | my $self = shift; | 
| 95 |  |  |  |  |  |  | return $self->_getDataTypeInstance( 'ProductInfo' | 
| 96 |  |  |  |  |  |  | ,'eBay::API::XML::DataType::ProductInfoType'); | 
| 97 |  |  |  |  |  |  | } | 
| 98 |  |  |  |  |  |  |  | 
| 99 |  |  |  |  |  |  |  | 
| 100 |  |  |  |  |  |  |  | 
| 101 |  |  |  |  |  |  |  | 
| 102 |  |  |  |  |  |  |  | 
| 103 |  |  |  |  |  |  | ##  Attribute and Property lists | 
| 104 |  |  |  |  |  |  | sub getPropertiesList { | 
| 105 |  |  |  |  |  |  | my $self = shift; | 
| 106 |  |  |  |  |  |  | return \@gaProperties; | 
| 107 |  |  |  |  |  |  | } | 
| 108 |  |  |  |  |  |  |  | 
| 109 |  |  |  |  |  |  | sub getAttributesList { | 
| 110 |  |  |  |  |  |  | my $self = shift; | 
| 111 |  |  |  |  |  |  | return \@gaAttributes; | 
| 112 |  |  |  |  |  |  | } | 
| 113 |  |  |  |  |  |  |  | 
| 114 |  |  |  |  |  |  |  | 
| 115 |  |  |  |  |  |  |  | 
| 116 |  |  |  |  |  |  | 1; |