| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Yahoo::Marketing::APT::AgencyContract; |
|
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
|
|
|
1
|
|
45779
|
use strict; use warnings; |
|
|
1
|
|
|
1
|
|
3
|
|
|
|
1
|
|
|
|
|
31
|
|
|
|
1
|
|
|
|
|
5
|
|
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
49
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
5
|
use base qw/Yahoo::Marketing::ComplexType/; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
802
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Yahoo::Marketing::APT::AgencyContract - a data object to represent a AgencyContract. |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=cut |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _user_setable_attributes { |
|
16
|
|
|
|
|
|
|
return ( qw/ |
|
17
|
|
|
|
|
|
|
ID |
|
18
|
|
|
|
|
|
|
activationTimestamp |
|
19
|
|
|
|
|
|
|
agencyAccountID |
|
20
|
|
|
|
|
|
|
agencyRevenueSharePercentage |
|
21
|
|
|
|
|
|
|
clientAccountID |
|
22
|
|
|
|
|
|
|
clientRevenueSharePercentage |
|
23
|
|
|
|
|
|
|
createTimestamp |
|
24
|
|
|
|
|
|
|
endDate |
|
25
|
|
|
|
|
|
|
lastUpdateTimestamp |
|
26
|
|
|
|
|
|
|
linkID |
|
27
|
|
|
|
|
|
|
name |
|
28
|
|
|
|
|
|
|
startDate |
|
29
|
|
|
|
|
|
|
status |
|
30
|
|
|
|
|
|
|
/ ); |
|
31
|
|
|
|
|
|
|
} |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub _read_only_attributes { |
|
34
|
|
|
|
|
|
|
return ( qw/ |
|
35
|
|
|
|
|
|
|
/ ); |
|
36
|
|
|
|
|
|
|
} |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, |
|
39
|
|
|
|
|
|
|
__PACKAGE__->_read_only_attributes |
|
40
|
|
|
|
|
|
|
); |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |
|
44
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
See L for documentation of the various data objects. |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=cut |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 METHODS |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 new |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Creates a new instance |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 get/set methods |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=over 8 |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
ID |
|
62
|
|
|
|
|
|
|
activationTimestamp |
|
63
|
|
|
|
|
|
|
agencyAccountID |
|
64
|
|
|
|
|
|
|
agencyRevenueSharePercentage |
|
65
|
|
|
|
|
|
|
clientAccountID |
|
66
|
|
|
|
|
|
|
clientRevenueSharePercentage |
|
67
|
|
|
|
|
|
|
createTimestamp |
|
68
|
|
|
|
|
|
|
endDate |
|
69
|
|
|
|
|
|
|
lastUpdateTimestamp |
|
70
|
|
|
|
|
|
|
linkID |
|
71
|
|
|
|
|
|
|
name |
|
72
|
|
|
|
|
|
|
startDate |
|
73
|
|
|
|
|
|
|
status |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=back |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 get (read only) methods |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=over 8 |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=back |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
|
85
|
|
|
|
|
|
|
|