ap/resellerclubbundle

Symfony ApResellerclubBundle

1.0 2014-12-03 17:26 UTC

This package is not auto-updated.

Last update: 2024-05-11 15:14:50 UTC


README

Instalation:

Add this line in composer.json

	"require": { 
	     ...
         "ap/resellerclubbundle": "1.0.*@dev"

AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Ap\ResellerclubBundle\ApResellerclubBundle(),
    );
}

Update:

  composer update

Configuration:

In parameters.yml

    reseller_authuserid:
    reseller_apikey:
    reseller_test:

Example:

		$this->resellerClub = $container->get('ap_resellerclub.api');

		$customerSignup = new CustomerSignup('anyuser@asf.com','anypass','A Good Name ', 'Company', 'Avenue 78890', 'San Jhon', 'San Jhon', null, 'UY','820347', '34', '87508745', 'es');

        $this->resellerClub->setOperation($customerSignup);
        $this->customerId = $this->resellerClub->exec();

Important:

Testing ONLY with a Demo Account

Disclaimer:

THIS SOFTWARE IS PROVIDED BY "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES

PR are wellcome