ap/resellerclubbundle

Symfony ApResellerclubBundle

安装: 31

依赖: 0

建议者: 0

安全: 0

星标: 6

关注者: 4

分支: 1

公开问题: 0

类型:symfony-bundle

1.0 2014-12-03 17:26 UTC

This package is not auto-updated.

Last update: 2024-09-28 17:12:29 UTC


README

安装

在 composer.json 中添加此行

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

AppKernel.php

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

更新

  composer update

配置

在 parameters.yml 中

    reseller_authuserid:
    reseller_apikey:
    reseller_test:

示例

		$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();

重要

仅使用演示账户进行测试

免责声明

本软件按“原样”提供,任何明示或暗示的保证均不受约束

欢迎PR