Webservice::OVH::Me::Contact
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;
}
Propvides access to contact properties. No managing methods are available at the moment.
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);
Returns the api id.
Return: VALUE
Synopsis: my $id = $contact->id;
Retrieves properties. This method updates the intern property variable.
Return: HASH
Synopsis: my $properties = $contact->properties;
Exposed property value.
Return: HASH
Synopsis: my $address = $contact->address;
Exposed property value.
Return: VALUE
Synopsis: my $birth_city = $contact->birth_city;
Exposed property value.
Return: VALUE
Synopsis: my $birth_country = $contact->birth_country;
Exposed property value.
Return: DateTime
Synopsis: my $birth_day = $contact->birth_day;
Exposed property value.
Return: VALUE
Synopsis: my $birth_zip = $contact->birth_zip;
Exposed property value.
Return: VALUE
Synopsis: my $cell_phone = $contact->cell_phone;
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;
Exposed property value.
Return: VALUE
Synopsis: my $fax = $contact->fax;
Exposed property value.
Return: VALUE
Synopsis: my $first_name = $contact->first_name;
Exposed property value.
Return: VALUE
Synopsis: my $gender = $contact->gender;
Exposed property value.
Return: VALUE
Synopsis: my $language = $contact->language;
Exposed property value.
Return: VALUE
Synopsis: my $last_name = $contact->last_name;
Exposed property value.
Return: VALUE
Synopsis: my $legal_form = $contact->legal_form;
Exposed property value.
Return: VALUE
Synopsis: my $national_identification_number = $contact->national_identification_number;
Exposed property value.
Return: VALUE
Synopsis: my $nationality = $contact->nationality;
Exposed property value.
Return: VALUE
Synopsis: my $organisation_name = $contact->organisation_name;
Exposed property value.
Return: VALUE
Synopsis: my $organisation_type = $contact->organisation_type;
Exposed property value.
Return: VALUE
Synopsis: my $phone = $contact->phone;
Exposed property value.
Return: VALUE
Synopsis: my $vat = $contact->vat;