File Coverage

blib/lib/XML/EPP/Domain/Transfer/Response.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package XML::EPP::Domain::Transfer::Response;
2              
3 1     1   2665 use Moose;
  0            
  0            
4             use PRANG::Graph;
5              
6             sub root_element { 'trnData' }
7              
8             with
9             'XML::EPP::Domain::RS',
10             'XML::EPP::Domain::Node',
11             ;
12              
13             has_element 'name' =>
14             is => 'ro',
15             isa => 'XML::EPP::Common::labelType',
16             ;
17              
18             #has_element 'transfer_status' =>
19             # is => 'ro',
20             # isa => 'XML::EPP::Common::trStatusType',
21             # xml_nodeName => 'trStatus',
22             # ;
23              
24             has_element 'trStatus' =>
25             is => 'ro',
26             isa => 'XML::EPP::Common::trStatusType',
27             ;
28              
29             has_element 'requester' =>
30             is => 'ro',
31             isa => 'XML::EPP::Common::clIDType',
32             xml_nodeName => 'reID',
33             ;
34              
35             has_element 'requested' =>
36             is => 'rw',
37             isa => 'PRANG::XMLSchema::dateTime',
38             xml_nodeName => 'reDate',
39             ;
40              
41             has_element 'action_id' =>
42             is => 'rw',
43             isa => 'XML::EPP::Common::clIDType',
44             xml_nodeName => 'acID',
45             ;
46              
47             has_element 'action_date' =>
48             is => 'rw',
49             isa => 'PRANG::XMLSchema::dateTime',
50             xml_nodeName => 'acDate',
51             ;
52              
53             has_element 'expiry_date' =>
54             is => 'rw',
55             isa => 'PRANG::XMLSchema::dateTime',
56             xml_nodeName => 'exDate',
57             required => 0,
58             ;
59              
60             1;
61              
62             =head1 NAME
63              
64             ? - implement ?
65              
66             =head1 SYNOPSIS
67              
68             TODO
69              
70             =head1 DESCRIPTION
71              
72             ...
73              
74             =head2 XML Schema Definition
75              
76             <!--
77             <transfer> response elements.
78             -->
79             <complexType name="trnDataType">
80             <sequence>
81             <element name="name" type="eppcom:labelType"/>
82             <element name="trStatus" type="eppcom:trStatusType"/>
83             <element name="reID" type="eppcom:clIDType"/>
84             <element name="reDate" type="dateTime"/>
85             <element name="acID" type="eppcom:clIDType"/>
86             <element name="acDate" type="dateTime"/>
87             <element name="exDate" type="dateTime"
88             minOccurs="0"/>
89             </sequence>
90             </complexType>
91              
92             =cut