lib/WebService/Braintree/_/IdealPayment.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Braintree/_/IbanBankAccount.pm ↑ Summary lib/WebService/Braintree/_/Merchant.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::_::IdealPayment;
4 22 $WebService::Braintree::_::IdealPayment::VERSION = '1.7';
5 22 ▶use 5.010_001;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 22 ▶use strictures 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 WebService::Braintree::_::IdealPayment
11  
12 =head1 PURPOSE
13  
14 This class represents a Ideal payment.
15  
16 This class will only be created as part of a L<response|WebService::Braintree::Result> or L<error response|WebService::Braintree::ErrorResult>.
17  
18 =cut
19  
20 22 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 22 extends 'WebService::Braintree::_';
23  
24 22 ▶use WebService::Braintree::Types qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
25 IbanBankAccount
26 22 );
27  
28 =head1 ATTRIBUTES
29  
30 =cut
31  
32 =head2 amount()
33  
34 This is the amount for this ideal payment.
35  
36 =cut
37  
38 22 has amount => (
39 is => 'ro',
40 );
41  
42 =head2 approval_url()
43  
44 This is the approval URL for this ideal payment.
45  
46 =cut
47  
48 22 has approval_url => (
49 is => 'ro',
50 );
51  
52 =head2 currency()
53  
54 This is the currency for this ideal payment.
55  
56 =cut
57  
58 22 has currency => (
59 is => 'ro',
60 );
61  
62 =head2 iban_bank_account()
63  
64 This is the iban_bank_account for this ideal payment. This will be an object of type L<WebService::Braintree::_::IbanBankAccount/>.
65  
66 =cut
67  
68 22 has iban_bank_account => (
69 is => 'ro',
70 isa => IbanBankAccount,
71 coerce => 1,
72 );
73  
74 =head2 id()
75  
76 This is the ID for this ideal payment.
77  
78 =cut
79  
80 22 has id => (
81 is => 'ro',
82 );
83  
84 =head2 ideal_transaction_id()
85  
86 This is the ideal transaction ID for this ideal payment.
87  
88 =cut
89  
90 22 has ideal_transaction_id => (
91 is => 'ro',
92 );
93  
94 =head2 issuer()
95  
96 This is the issuer for this ideal payment.
97  
98 =cut
99  
100 22 has issuer => (
101 is => 'ro',
102 );
103  
104 =head2 order_id()
105  
106 This is the order ID for this ideal payment.
107  
108 =cut
109  
110 22 has order_id => (
111 is => 'ro',
112 );
113  
114 =head2 status()
115  
116 This is the status for this ideal payment.
117  
118 =cut
119  
120 22 has status => (
121 is => 'ro',
122 );
123  
124 22 __PACKAGE__->meta->make_immutable;
125  
126 22 1;
127 __END__
« lib/WebService/Braintree/_/IbanBankAccount.pm ↑ Summary lib/WebService/Braintree/_/Merchant.pm »