Net::DRI::Data::Contact::NO - Handle .NO contact data for Net::DRI


Net-DRI documentation  | view source Contained in the Net-DRI distribution.

Index


NAME

Top

Net::DRI::Data::Contact::NO - Handle .NO contact data for Net::DRI

DESCRIPTION

Top

This subclass of Net::DRI::Data::Contact adds accessors and validation for .NO specific data.

METHODS

Top

The following accessors/mutators can be called in chain, as they all return the object itself.

type()

Mandatory, must be set for all contacts. Specify what type of contact to register. Value must be one of: 'person', 'organization' or 'role'.

Example: $co->type('organization')

identity()

Currently valid for type='organization' only. Must then be set to specify the organization number in Brønnøysund, the Norwegian Business Register.

Example: $co->identity({type=>'organizationNumber', value=>'987654321'});

mobilephone()

Optional. Set a mobile phone number for the contact.

Example: $co->mobilephone('+47.123456780')

organization()

Optional. Set one or more organization-elements which specify organizations which the contact belongs to. The value should be the local contact id of an organization object.

This element can only be used for role and person contacts.

$co->organization('EFA12O');

rolecontact()

Optional. Set one or more roleContact-elements which specify persons which belongs to a role contact. The value should be the local contact id of a person object.

This element can only be used for role contacts.

Example: $co->rolecontact(['JD12P', 'JD13P']);

xemail()

Optional. Set one or more email-elements which specify email addresses in addition to the mandatory email element in the standard contact create command.

Example: $co->xemail(['xtra1@example.no', 'xtra2@example.no']);

xdisclose()

Optional. A disclose-element which must contain the child element mobilePhone. This element notes the clients preference to allow or restrict disclosure of the mobile phone number. If not present, the servers stated data collection policy is used.

Example: $co->xdisclose({mobilePhone=>0});

facets() Facets are some special control attributes that can be used to implement a super registrar (admin registrar).

A super registrar can suppress certain checks and perform actions on behalf of a normal registrar.

Facets are key/values pairs. Net::DRI will not try to enforce what key/value pairs that are possible, but let the registry decide their validity.

Example: $co->facets( { 'skip-manual-review' => 1, 'ignores-exceptions' => 'reg123'} );

SUPPORT

Top

For now, support questions should be sent to:

<netdri@dotandco.com>

Please also see the SUPPORT file in the distribution.

SEE ALSO

Top

http://www.dotandco.com/services/software/Net-DRI/

AUTHOR

Top

Trond Haugen, <info@norid.no>.

COPYRIGHT

Top


Net-DRI documentation  | view source Contained in the Net-DRI distribution.