APT/Order.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« APT/NonGuaranteedDealApproval.pm ↑ Summary APT/OrderAgency.pm »
1 package Yahoo::Marketing::APT::Order;
2 # Copyright (c) 2010 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 1 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use base qw/Yahoo::Marketing::ComplexType/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 =head1 NAME
10  
11 Yahoo::Marketing::APT::Order - a data object to represent a Order.
12  
13 =cut
14  
15 1 ▶sub _user_setable_attributes {
Subroutine _user_setable_attributes: called CC=1 SCAR=0.0
16 1 return ( qw/
17 ID
18 PONumber
19 accountID
20 availableBudget
21 billingTermsID
22 createTimestamp
23 currency
24 dailySpendLimit
25 endDate
26 externalComments
27 externalOrderID
28 grossCost
29 internalComments
30 isBillOnThirdParty
31 isInternal
32 lastUpdateTimestamp
33 name
34 netBudget
35 startDate
36 status
37 timezone
38 totalBudget
39 / );
40 }
41  
42 1 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
43 1 return ( qw/
44 / );
45 }
46  
47 1 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
48 __PACKAGE__->_read_only_attributes
49 );
50  
51  
52 1 1;
53 =head1 SYNOPSIS
54  
55 See L<http://help.yahoo.com/l/us/yahoo/ewsapt/webservices/reference/data/> for documentation of the various data objects.
56  
57  
58 =cut
59  
60 =head1 METHODS
61  
62 =head2 new
63  
64 Creates a new instance
65  
66 =head2 get/set methods
67  
68 =over 8
69  
70 ID
71 PONumber
72 accountID
73 availableBudget
74 billingTermsID
75 createTimestamp
76 currency
77 dailySpendLimit
78 endDate
79 externalComments
80 externalOrderID
81 grossCost
82 internalComments
83 isBillOnThirdParty
84 isInternal
85 lastUpdateTimestamp
86 name
87 netBudget
88 startDate
89 status
90 timezone
91 totalBudget
92  
93 =back
94  
95 =head2 get (read only) methods
96  
97 =over 8
98  
99  
100 =back
101  
102 =cut
103  
« APT/NonGuaranteedDealApproval.pm ↑ Summary APT/OrderAgency.pm »