NAME
Webservice::OVH::Me::Contact
SYNOPSIS
use Webservice::OVH;
my $ovh = Webservice::OVH->new_from_json("credentials.json");
my $contacts = $ovh->me->contacts;
foreach my $contact (@$contact) {
print $contact->birth_city;
}
DESCRIPTION
Propvides access to contact properties. No managing methods are available at the moment.
METHODS
_new_existing
Internal Method to create the Contact object. This method is not ment to be called directly.
Parameter: $api_wrapper - ovh api wrapper object, $module - root object, $contact_id - api id
Return: Webservice::OVH::Me::Contact
Synopsis: Webservice::OVH::Me::Contact->_new($ovh_api_wrapper, $contact_id, $module);
id
Returns the api id.
Return: VALUE
Synopsis: my $id = $contact->id;
properties
Retrieves properties. This method updates the intern property variable.
Return: HASH
Synopsis: my $properties = $contact->properties;
address
Exposed property value.
Return: HASH
Synopsis: my $address = $contact->address;
birth_city
Exposed property value.
Return: VALUE
Synopsis: my $birth_city = $contact->birth_city;
birth_country
Exposed property value.
Return: VALUE
Synopsis: my $birth_country = $contact->birth_country;
birth_day
Exposed property value.
Return: DateTime
Synopsis: my $birth_day = $contact->birth_day;
birth_zip
Exposed property value.
Return: VALUE
Synopsis: my $birth_zip = $contact->birth_zip;
cell_phone
Exposed property value.
Return: VALUE
Synopsis: my $cell_phone = $contact->cell_phone;
company_national_identification_number
Exposed property value.
Return: VALUE
Synopsis: my $company_national_identification_number = $contact->company_national_identification_number;
Exposed property value.
Return: VALUE
Synopsis: my $email = $contact->email;
fax
Exposed property value.
Return: VALUE
Synopsis: my $fax = $contact->fax;
first_name
Exposed property value.
Return: VALUE
Synopsis: my $first_name = $contact->first_name;
gender
Exposed property value.
Return: VALUE
Synopsis: my $gender = $contact->gender;
language
Exposed property value.
Return: VALUE
Synopsis: my $language = $contact->language;
last_name
Exposed property value.
Return: VALUE
Synopsis: my $last_name = $contact->last_name;
legal_form
Exposed property value.
Return: VALUE
Synopsis: my $legal_form = $contact->legal_form;
national_identification_number
Exposed property value.
Return: VALUE
Synopsis: my $national_identification_number = $contact->national_identification_number;
nationality
Exposed property value.
Return: VALUE
Synopsis: my $nationality = $contact->nationality;
organisation_name
Exposed property value.
Return: VALUE
Synopsis: my $organisation_name = $contact->organisation_name;
organisation_type
Exposed property value.
Return: VALUE
Synopsis: my $organisation_type = $contact->organisation_type;
phone
Exposed property value.
Return: VALUE
Synopsis: my $phone = $contact->phone;
vat
Exposed property value.
Return: VALUE
Synopsis: my $vat = $contact->vat;