File Coverage

blib/lib/XML/EPP/Contact/ChangePostalInfo.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::Contact::ChangePostalInfo;
2              
3 1     1   2404 use Moose;
  0            
  0            
4             use PRANG::Graph;
5             with 'XML::EPP::Contact::Node';
6              
7             use PRANG::XMLSchema::Types;
8              
9             #has_element 'name' =>
10             # is => 'ro',
11             # isa => 'XML::EPP::Contact::postalLineType',
12             # required => 0,
13             # ;
14              
15             has_element 'org' =>
16             is => 'ro',
17             isa => 'XML::EPP::Contact::optPostalLineType',
18             required => 0,
19             ;
20              
21             use XML::EPP::Contact::Addr;
22             has_element 'addr' =>
23             is => 'ro',
24             isa => 'XML::EPP::Contact::Addr',
25             xml_required => 0,
26             ;
27              
28             has_attr 'type' =>
29             is => 'ro',
30             isa => 'XML::EPP::Contact::postalInfoEnumType',
31             ;
32              
33             1;
34              
35             =head1 NAME
36              
37             ? - implement ?
38              
39             =head1 SYNOPSIS
40              
41             TODO
42              
43             =head1 DESCRIPTION
44              
45             ...
46              
47             =head2 XML Schema Definition
48              
49             <complexType name="chgPostalInfoType">
50             <sequence>
51             <element name="name" type="contact:postalLineType"
52             minOccurs="0"/>
53             <element name="org" type="contact:optPostalLineType"
54             minOccurs="0"/>
55             <element name="addr" type="contact:addrType"
56             minOccurs="0"/>
57             </sequence>
58             <attribute name="type" type="contact:postalInfoEnumType"
59             use="required"/>
60             </complexType>
61              
62             =cut