File Coverage

blib/lib/Yahoo/Marketing/CreditCardInfo.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


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