APT/OrderDiscount.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
_user_setable_attributes
2.0
_read_only_attributes
2.0
BEGIN
2.0
CRAP 2.0
1 package Yahoo::Marketing::APT::OrderDiscount;
2 # Copyright (c) 2008 Yahoo! Inc. All rights reserved.
3 # The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997)
4  
5 use strict; use warnings;
6  
7 use base qw/Yahoo::Marketing::ComplexType/;
8  
9 =head1 NAME
10  
11 Yahoo::Marketing::APT::OrderDiscount - a data object to represent a OrderDiscount.
12  
13 =cut
14  
15 sub _user_setable_attributes {
16 return ( qw/
17 discount
18 format
19 type
20 / );
21 }
22  
23 sub _read_only_attributes {
24 return ( qw/
25 / );
26 }
27  
28 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
29 __PACKAGE__->_read_only_attributes
30 );
31  
32  
33 1;
34 =head1 SYNOPSIS
35  
36 See L<http://help.yahoo.com/l/us/yahoo/amp/webservices/reference/data/> for documentation of the various data objects.
37  
38  
39 =cut
40  
41 =head1 METHODS
42  
43 =head2 new
44  
45 Creates a new instance
46  
47 =head2 get/set methods
48  
49 =over 8
50  
51 discount
52 format
53 type
54  
55 =back
56  
57 =head2 get (read only) methods
58  
59 =over 8
60  
61  
62 =back
63  
64 =cut
65