<commit_before>
package XML::SRS::Contact::Address;

use Moose;
use MooseX::Method::Signatures;
use PRANG::Graph;

method address() {
	( $self->address1,
	  $self->address2,
	  $self->city,
	  $self->region,
	  $self->postcode,
	  $self->cc,
	 );
}

has_attr 'address1' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "Address1",
	;

has_attr 'address2' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "Address2",
	;

has_attr 'city' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "City",
	;

has_attr 'region' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "Province",
	;

has_attr 'cc' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "CountryCode",
	;

has_attr 'postcode' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "PostalCode",<commit_msg>wr72620: allow address2 fields to be changed<commit_after>
package XML::SRS::Contact::Address;

use Moose;
use MooseX::Method::Signatures;
use PRANG::Graph;

method address() {
	( $self->address1,
	  $self->address2,
	  $self->city,
	  $self->region,
	  $self->postcode,
	  $self->cc,
	 );
}

has_attr 'address1' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "Address1",
	;

has_attr 'address2' =>
	is => "rw",
	isa => "Str",
	xml_required => 0,
	xml_name => "Address2",
	;

has_attr 'city' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "City",
	;

has_attr 'region' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "Province",
	;

has_attr 'cc' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "CountryCode",
	;

has_attr 'postcode' =>
	is => "ro",
	isa => "Str",
	xml_required => 0,
	xml_name => "PostalCode",
{'fraction_non_alphanumeric': 0.2176436448055717, 'fraction_numerical': 0.017411491584445733, 'mean_word_length': 3.8022284122562673, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 24}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6515052', 'n_tokens_mistral': 766, 'n_tokens_neox': 736, 'n_words': 159}