NAME

Net::WHMCS::Client - WHMCS API Clients

VERSION

version 0.07

getclientsdetails

$client->getclientsdetails({
	clientid => 1,
	stats => 'true',
})

http://docs.whmcs.com/API:Get_Clients_Details

addclient

$client->addclient({
	firstname => 'first',
	lastname => 'last',
	email => 'blabla@balbla.com',
	...
})

http://docs.whmcs.com/API:Add_Client

updateclient

$client->updateclient({
	clientid => 1,
	firstname => 'first',
	lastname => 'last',
	email => 'blabla@balbla.com',
	...
})

http://docs.whmcs.com/API:Update_Client

deleteclient

$client->deleteclient({
	clientid => 1
})

http://docs.whmcs.com/API:Delete_Client

closeclient

$client->closeclient({
	clientid => 1
})

http://docs.whmcs.com/API:Close_Client

getclients

$client->getclients()

http://docs.whmcs.com/API:Get_Clients

getclientpassword

$client->getclientpassword({
	userid => 1
})

http://docs.whmcs.com/API:Get_Clients_Password

getclientsproducts

$client->getclientsproducts({
	clientid => 1
})

http://docs.whmcs.com/API:Get_Clients_Products

updateclientproduct

$client->getclientsproducts({
	serviceid => 1,
	...
});

http://docs.whmcs.com/API:Update_Client_Product

upgradeproduct

$client->upgradeproduct({
	clientid => 1,
	serviceid => 1,
	type => 'product',
	newproductid => 18,
	newproductbillingcycle => 'monthly',
	paymentmethod => 'paypal'
});

http://docs.whmcs.com/API:Upgrade_Product

validatelogin

$client->validatelogin({
	email => 'user@domain.com',
	password2 => 'abc123'
});

http://docs.whmcs.com/API:Validate_Login

sendemail

$client->sendemail({
	id => 1,
	messagename => 'blabla'
})

http://docs.whmcs.com/API:Send_Email

AUTHOR

Fayland Lam <fayland@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Fayland Lam.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.