NAME
Webservice::OVH::Me::Order
SYNOPSIS
use Webservice::OVH;
my $ovh = Webservice::OVH->new_from_json("credentials.json");
my $order = $ovh->me->order(1234);
my $order->pay_with_registered_payment_mean('fiedelityAccount')
DESCRIPTION
Module provides possibility to access specified orders and payment options.
METHODS
_new
Internal Method to create the Order object. This method is not ment to be called directly.
Parameter: $api_wrapper - ovh api wrapper object, $module - root object, $order_id - api id
Return: Webservice::OVH::Me::Order
Synopsis: Webservice::OVH::Me::Order->_new($ovh_api_wrapper, $order_id, $module);
id
Returns the api id.
Return: VALUE
Synopsis: my $id = $order->id;
properties
Retrieves properties. This method updates the intern property variable.
Return: HASH
Synopsis: my $properties = $order->properties;
date
Exposed property value.
Return: DateTime
Synopsis: my $date = $order->is_blocked;
expiration_date
Exposed property value.
Return: DateTime
Synopsis: my $expiration_date = $order->expiration_date;
password
Exposed property value.
Return: VALUE
Synopsis: my $password = $order->password;
pdf_url
Exposed property value.
Return: VALUE
Synopsis: my $pdf_url = $order->pdf_url;
price_without_tax
Exposed property value.
Return: VALUE
Synopsis: my $price_without_tax = $order->price_without_tax;
price_with_tax
Exposed property value.
Return: VALUE
Synopsis: my $price_with_tax = $order->price_with_tax;
tax
Exposed property value.
Return: VALUE
Synopsis: my $tax = $order->tax;
url
Exposed property value.
Return: VALUE
Synopsis: my $url = $order->url;
associated_object
Exposed property value.
Return: HASH
Synopsis: my $associated_object = $order->associated_object;
available_registered_payment_mean
Returns an Array of available payment means.
Return: ARRAY
Synopsis: my $available_registered_payment_mean = $order->available_registered_payment_mean;
bill
Returns associated bill.
Return: Webservice::Me::Bill
Synopsis: my $bill = $order->bill;
details
Returns an Array of detail Objects.
Return: ARRAY
Synopsis: my $details = $order->details;
details
Gets a specified detail Object by id.
Return: Webservice::Me::Order::Detail
Synopsis: my $details = $order->details;
payment
Gets details about payment.
Return: VALUE
Synopsis: my $payment = $order->payment;
payment_means
Gets details about payment_means.
Return: VALUE
Synopsis: my $payment_means = $order->payment_means;
pay_with_registered_payment_mean
Pays the order.
Parameter: $payment_mean - payment mean
Synopsis: $order->pay_with_registered_payment_mean;
status
Status of the order.
Return: VALUE
Synopsis: my $status = $order->status;