- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
  - _new
  - order
  - id
  - properties
  - description
  - domain
  - quantity
  - total_price
  - unit_price

# NAME

Webservice::OVH::Me::Order::Details

# SYNOPSIS

use Webservice::OVH;

my $ovh = Webservice::OVH->new_from_json("credentials.json");

my $order = $ovh->me->orders->[0];

my $details = $order->details;

foreach my $detail (@$details) {

        print $detail->unit_price;
    }

# DESCRIPTION

Provides access to details for an order entry.

# METHODS

## _new

Internal Method to create the Detail object. This method is not ment to be called directly.

- Parameter: $api_wrapper - ovh api wrapper object, $module - root object, $detail_id - api id

- Return: Webservice::OVH::Me::Order::Detail

- Synopsis: Webservice::OVH::Me::Order::Detail->_new($ovh_api_wrapper, $detail_id, $module);

## order

Returns root Order object.

- Return: Webservice::OVH::Me::Order

- Synopsis: my $order = $datail->order;

## id

Returns the api id.

- Return: VALUE

- Synopsis: my $id = $detail->id;

## properties

Retrieves properties. This method updates the intern property variable.

- Return: HASH

- Synopsis: my $properties = $detail->properties;

## description

Exposed property value.

- Return: VALUE

- Synopsis: my $description = $detail->description;

## domain

Exposed property value.

- Return: VALUE

- Synopsis: my $domain = $detail->domain;

## quantity

Exposed property value.

- Return: VALUE

- Synopsis: my $quantity = $detail->quantity;

## total_price

Exposed property value.

- Return: VALUE

- Synopsis: my $total_price = $detail->total_price;

## unit_price

Exposed property value.

- Return: VALUE

- Synopsis: my $unit_price = $detail->unit_price;