Marketing/PaymentMethodInfo.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Marketing/PaymentInfo.pm ↑ Summary Marketing/Preferences.pm »
1 package Yahoo::Marketing::PaymentMethodInfo;
2 # Copyright (c) 2009 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 2 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 ▶use Yahoo::Marketing::Address;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use Yahoo::Marketing::BillingUser;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 ▶use base qw/Yahoo::Marketing::ComplexType/;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 =head1 NAME
13  
14 Yahoo::Marketing::PaymentMethodInfo - an object to represent a Yahoo Marketing PaymentMethodInfo.
15  
16 =cut
17  
18 2 ▶sub _user_setable_attributes {
Subroutine _user_setable_attributes: called CC=1 SCAR=0.0
19 2 return ( qw/
20 ID
21 displayNumber
22 expirationDate
23 billingAddress
24 billingUser
25 / );
26 }
27  
28 2 ▶sub _read_only_attributes {
Subroutine _read_only_attributes: called CC=1 SCAR=0.0
29 2 return ( qw/
30 / );
31 }
32  
33 2 __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
34 __PACKAGE__->_read_only_attributes
35 );
36  
37  
38  
39 2 1;
40 =head1 SYNOPSIS
41  
42 See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> 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 displayNumber
59 expirationDate
60 billingAddress
61 billingUser
62  
63 =back
64  
65 =head2 get (read only) methods
66  
67 =over 8
68  
69  
70 =back
71  
72 =cut
73  
« Marketing/PaymentInfo.pm ↑ Summary Marketing/Preferences.pm »