| 1 | |||
| 2 | package XML::EPP::Domain::Create; | ||
| 3 | |||
| 4 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use PRANG::Graph; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 0 | ▶ | sub root_element { 'create' } |
|
Subroutine
root_element: not called CC=1 SCAR=6.9
| |||
| 8 | |||
| 9 | with 'XML::EPP::Domain::RQ', 'XML::EPP::Domain::Node'; | ||
| 10 | |||
| 11 | has_element 'name' => | ||
| 12 | is => 'ro', | ||
| 13 | isa => 'XML::EPP::Common::labelType', | ||
| 14 | ; | ||
| 15 | |||
| 16 | 0 | ▶ | use XML::EPP::Domain::Period; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 17 | has_element 'period' => | ||
| 18 | is => 'ro', | ||
| 19 | isa => 'XML::EPP::Domain::Period', | ||
| 20 | xml_required => 0, | ||
| 21 | ; | ||
| 22 | |||
| 23 | use XML::EPP::Domain::NS::List; | ||
| 24 | has_element 'ns' => | ||
| 25 | is => 'ro', | ||
| 26 | isa => 'XML::EPP::Domain::NS::List', | ||
| 27 | xml_required => 0, | ||
| 28 | ; | ||
| 29 | |||
| 30 | has_element 'registrant' => | ||
| 31 | is => 'ro', | ||
| 32 | isa => 'XML::EPP::Common::clIDType', | ||
| 33 | xml_required => 0, | ||
| 34 | ; | ||
| 35 | |||
| 36 | has_element 'contact' => | ||
| 37 | is => 'ro', | ||
| 38 | isa => 'ArrayRef[XML::EPP::Domain::Contact]', | ||
| 39 | xml_min => 0, | ||
| 40 | ; | ||
| 41 | |||
| 42 | has_element 'auth_info' => | ||
| 43 | is => 'ro', | ||
| 44 | isa => 'XML::EPP::Domain::AuthInfo', | ||
| 45 | xml_nodeName => 'authInfo', | ||
| 46 | required => 1, | ||
| 47 | ; | ||
| 48 | |||
| 49 | 1; | ||
| 50 | |||
| 51 | =head1 NAME | ||
| 52 | |||
| 53 | ? - implement ? | ||
| 54 | |||
| 55 | =head1 SYNOPSIS | ||
| 56 | |||
| 57 | TODO | ||
| 58 | |||
| 59 | =head1 DESCRIPTION | ||
| 60 | |||
| 61 | ... | ||
| 62 | |||
| 63 | =head2 XML Schema Definition | ||
| 64 | |||
| 65 | <!-- | ||
| 66 | Child elements of the <create> command. | ||
| 67 | --> | ||
| 68 | <complexType name="createType"> | ||
| 69 | <sequence> | ||
| 70 | <element name="name" type="eppcom:labelType"/> | ||
| 71 | <element name="period" type="domain:periodType" | ||
| 72 | minOccurs="0"/> | ||
| 73 | <element name="ns" type="domain:nsType" | ||
| 74 | minOccurs="0"/> | ||
| 75 | <element name="registrant" type="eppcom:clIDType" | ||
| 76 | minOccurs="0"/> | ||
| 77 | <element name="contact" type="domain:contactType" | ||
| 78 | minOccurs="0" maxOccurs="unbounded"/> | ||
| 79 | <element name="authInfo" type="domain:authInfoType"/> | ||
| 80 | </sequence> | ||
| 81 | </complexType> | ||
| 82 | |||
| 83 | =cut | ||