File Coverage

lib/eBay/API/XML/DataType/SpecialitySubscriptionDefinitionType.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             package eBay::API::XML::DataType::SpecialitySubscriptionDefinitionType;
4              
5 1     1   1380 use strict;
  1         3  
  1         32  
6 1     1   6 use warnings;
  1         3  
  1         34  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. SpecialitySubscriptionDefinitionType.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::SpecialitySubscriptionDefinitionType
21              
22             =head1 DESCRIPTION
23              
24             Indicates category support for listing of Local Market items by sellers
25             subscribed to Local Market for Specialty Vehicles.
26             Each of the subscriptions will have following options, which will define
27             "National" vs "Local" ad format listing.
28             "LocalOptional" : This will allow national and local listing.
29             "LocalOnly" : Seller can have Local listings only.
30             "NationalOnly" : Seller can not opt into local only exposure. It has to be
31             national listing.
32              
33              
34              
35             =head1 SYNOPSIS
36              
37             =cut
38              
39              
40             =head1 INHERITANCE
41              
42             eBay::API::XML::DataType::SpecialitySubscriptionDefinitionType inherits from the L class
43              
44             =cut
45              
46 1     1   44 use eBay::API::XML::BaseDataType;
  0            
  0            
47             our @ISA = ("eBay::API::XML::BaseDataType");
48              
49              
50              
51             my @gaProperties = (
52             );
53             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
54              
55             my @gaAttributes = (
56             );
57             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
58              
59             =head1 Subroutines:
60              
61             =cut
62              
63             sub new {
64             my $classname = shift;
65             my %args = @_;
66             my $self = $classname->SUPER::new(%args);
67             return $self;
68             }
69              
70             sub isScalar {
71             return 0;
72             }
73              
74              
75              
76              
77              
78              
79             ## Attribute and Property lists
80             sub getPropertiesList {
81             my $self = shift;
82             return \@gaProperties;
83             }
84              
85             sub getAttributesList {
86             my $self = shift;
87             return \@gaAttributes;
88             }
89              
90              
91              
92             1;