Iridium/Action/ThreeDSecureAuthentication.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 1 / 3 Podpod 100% 1 / 1 totaltotal 69.2% 9 / 13 CC 1 SCAR 5.1
CC
1
Cov
78%
_build__type
2.0
template
2.0
BEGIN
1.0
CRAP 1.7
« Iridium/Action/GetCardType.pm ↑ Summary Iridium/Action/CrossReferenceTransaction.pm »
1 package Business::OnlinePayment::Iridium::Action::ThreeDSecureAuthentication;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 with 'Business::OnlinePayment::Iridium::Action';
6  
7 # PODNAME: Business::OnlinePayment::Iridium::Action::ThreeDSecureAuthentication
8 # ABSTRACT: Handle 3DSecure
9  
10 1 has 'CrossReference' => (
11 isa => 'Int',
12 is => 'rw', required => '1'
13 );
14  
15 1 has 'PaRES' => (
16 isa => 'Str',
17 is => 'rw', required => '1'
18 );
19  
20 0 ▶sub _build__type { return 'ThreeDSecureAuthentication' }
Subroutine _build__type: not called CC=1 SCAR=6.9
21  
22  
23 0 ▶sub template {
Subroutine template: not called CC=1 SCAR=6.9
Pod documented
24 0 return <<DATA;
25 <?xml version="1.0" encoding="utf-8"?>
26 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
28 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
29 <soap:Body>
30 <ThreeDSecureAuthentication xmlns="https://www.thepaymentgateway.net/">
31 <ThreeDSecureMessage>
32 <MerchantAuthentication MerchantID="[% MerchantID %]" Password="[% Password %]" />
33 <ThreeDSecureInputData CrossReference="[% CrossReference %]">
34 <PaRES>
35 [% PaRES %]
36 </PaRES>
37 </ThreeDSecureInputData>
38 <PassOutData>[% PassOutData %]</PassOutData>
39 </ThreeDSecureMessage>
40 </ThreeDSecureAuthentication>
41 </soap:Body>
42 </soap:Envelope>
43 DATA
44 }
45  
46 1 1;
47  
48 __END__
« Iridium/Action/GetCardType.pm ↑ Summary Iridium/Action/CrossReferenceTransaction.pm »