The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Webservice::OVH::Me::Bill

SYNOPSIS

    use Webservice::OVH;
    
    my $ovh = Webservice::OVH->new_from_json("credentials.json");
    
    my $bills = $ovh->me->bills;
    
    foreach my $bill (@$bills) {
        
        print $contact->url;
    }

DESCRIPTION

Propvides access to contact properties. No managing methods are available at the moment.

METHODS

_new

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

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

  • Return: Webservice::OVH::Me::Bill

  • Synopsis: Webservice::OVH::Me::Bill->_new($ovh_api_wrapper, $bill_id, $module);

id

Returns the api id.

  • Return: VALUE

  • Synopsis: my $id = $bill->id;

order

Returns associated order.

properties

Retrieves properties. This method updates the intern property variable.

  • Return: HASH

  • Synopsis: my $properties = $bill->properties;

date

Exposed property value.

  • Return: DateTime

  • Synopsis: my $date = $bill->date;

password

Exposed property value.

  • Return: VALUE

  • Synopsis: my $password = $bill->password;

pdf_url

Exposed property value.

  • Return: VALUE

  • Synopsis: my $pdf_url = $bill->pdf_url;

price_without_tax

Exposed property value.

  • Return: VALUE

  • Synopsis: my $price_without_tax = $bill->price_without_tax;

price_with_tax

Exposed property value.

  • Return: VALUE

  • Synopsis: my $price_with_tax = $bill->price_with_tax;

tax

Exposed property value.

  • Return: VALUE

  • Synopsis: my $tax = $bill->tax;

url

Exposed property value.

  • Return: VALUE

  • Synopsis: my $url = $bill->url;