File Coverage

lib/eBay/API/XML/DataType/NotificationMessageType.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::NotificationMessageType;
4              
5 1     1   1176 use strict;
  1         2  
  1         30  
6 1     1   4 use warnings;
  1         3  
  1         25  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. NotificationMessageType.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::NotificationMessageType
21              
22             =head1 DESCRIPTION
23              
24             (out) A template for an SMS notification message.
25              
26              
27              
28             =head1 SYNOPSIS
29              
30             =cut
31              
32              
33             =head1 INHERITANCE
34              
35             eBay::API::XML::DataType::NotificationMessageType inherits from the L class
36              
37             =cut
38              
39 1     1   34 use eBay::API::XML::ResponseDataType;
  0            
  0            
40             our @ISA = ("eBay::API::XML::ResponseDataType");
41              
42              
43              
44             my @gaProperties = ( [ 'EIAS', 'xs:string', '', '', '' ]
45             , [ 'MessageBody', 'xs:string', '', '', '' ]
46             );
47             push @gaProperties, @{eBay::API::XML::ResponseDataType::getPropertiesList()};
48              
49             my @gaAttributes = (
50             );
51             push @gaAttributes, @{eBay::API::XML::ResponseDataType::getAttributesList()};
52              
53             =head1 Subroutines:
54              
55             =cut
56              
57             sub new {
58             my $classname = shift;
59             my %args = @_;
60             my $self = $classname->SUPER::new(%args);
61             return $self;
62             }
63              
64             sub isScalar {
65             return 0;
66             }
67              
68              
69              
70             =head2 setEIAS()
71              
72             (out) The EIAS userId.
73              
74             # Argument: 'xs:string'
75              
76             =cut
77              
78             sub setEIAS {
79             my $self = shift;
80             $self->{'EIAS'} = shift
81             }
82              
83             =head2 getEIAS()
84              
85             Returned: Conditionally
86             NoCalls:
87             # Returns: 'xs:string'
88              
89             =cut
90              
91             sub getEIAS {
92             my $self = shift;
93             return $self->{'EIAS'};
94             }
95              
96              
97             =head2 setMessageBody()
98              
99             (out) The SMS message.
100              
101             # Argument: 'xs:string'
102              
103             =cut
104              
105             sub setMessageBody {
106             my $self = shift;
107             $self->{'MessageBody'} = shift
108             }
109              
110             =head2 getMessageBody()
111              
112             Returned: Conditionally
113             NoCalls:
114             # Returns: 'xs:string'
115              
116             =cut
117              
118             sub getMessageBody {
119             my $self = shift;
120             return $self->{'MessageBody'};
121             }
122              
123              
124              
125              
126              
127             ## Attribute and Property lists
128             sub getPropertiesList {
129             my $self = shift;
130             return \@gaProperties;
131             }
132              
133             sub getAttributesList {
134             my $self = shift;
135             return \@gaAttributes;
136             }
137              
138              
139              
140             1;