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