| 1 | |||
| 2 | package XML::SRS::Contact::Address::Filter; | ||
| 3 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | $XML::SRS::Contact::Address::Filter::VERSION = '0.09'; | |
| 5 | } | ||
| 6 | |||
| 7 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use PRANG::Graph; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | has_attr 'address1' => | |
| 11 | is => 'ro', | ||
| 12 | isa => 'Str', | ||
| 13 | xml_required => 0, | ||
| 14 | xml_name => 'Address1', | ||
| 15 | ; | ||
| 16 | |||
| 17 | 1 | has_attr 'address2' => | |
| 18 | is => 'ro', | ||
| 19 | isa => 'Str', | ||
| 20 | xml_required => 0, | ||
| 21 | xml_name => 'Address2', | ||
| 22 | ; | ||
| 23 | |||
| 24 | 1 | has_attr 'city' => | |
| 25 | is => 'ro', | ||
| 26 | isa => 'Str', | ||
| 27 | xml_required => 0, | ||
| 28 | xml_name => 'City', | ||
| 29 | ; | ||
| 30 | |||
| 31 | 1 | has_attr 'region' => | |
| 32 | is => 'ro', | ||
| 33 | isa => 'Str', | ||
| 34 | xml_required => 0, | ||
| 35 | xml_name => 'Province', | ||
| 36 | ; | ||
| 37 | |||
| 38 | 1 | has_attr 'cc' => | |
| 39 | is => 'ro', | ||
| 40 | isa => 'Str', | ||
| 41 | xml_required => 0, | ||
| 42 | xml_name => 'CountryCode', | ||
| 43 | ; | ||
| 44 | |||
| 45 | 1 | has_attr 'postcode' => | |
| 46 | is => 'ro', | ||
| 47 | isa => 'Str', | ||
| 48 | xml_required => 0, | ||
| 49 | xml_name => 'PostalCode', | ||
| 50 | ; | ||
| 51 | |||
| 52 | 1 | with 'XML::SRS::Node'; | |
| 53 | |||
| 54 | 1 | 1; | |