NAME

Webservice::OVH::Order

SYNOPSIS

use Webservice::OVH;

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

my $carts = $ovh->order->carts; my $cart_id = $carts->[0]->id; my $cart = $ovh->order->cart($cart_id);

my $new_cart = $ovh->order->new_cart(ovh_subsidiary => 'DE');

$ovh->order->hosting->web; $ovh->order->email->domain; $ovh->order->domain->zone;

DESCRIPTION

Module that support carts and domain/transfer orders at the moment

METHODS

_new

Internal Method to create the order object. This method is not ment to be called external.

new_cart

Creates a new 'shopping' cart. Items can be put into it, to create orders.

carts

Produces an array of all available carts that are connected to the used account.

cart

Returns a single cart by id

hosting

Gives Acces to the /order/hosting/ methods of the ovh api

email

Gives Acces to the /order/email/ methods of the ovh api

domain

Gives Acces to the /order/domain/ methods of the ovh api