saas4saas / s4s-full-php
v2.1.9
2016-12-20 17:54 UTC
Requires
- php: >=5.4
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- phpunit/phpunit: ~4.8
- satooshi/php-coveralls: ~1.0
- squizlabs/php_codesniffer: ~2.6
This package is not auto-updated.
Last update: 2024-10-07 13:49:24 UTC
README
No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This PHP package is automatically generated by the Swagger Codegen project:
- API version:
- Package version: v2.1.5
- Build date: 2016-12-20T17:05:52.488Z
- Build package: class io.swagger.codegen.languages.PhpClientCodegen For more information, please visit
Requirements
PHP 5.4.0 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/saas4saas/s4s-full-php.git"
}
],
"require": {
"saas4saas/s4s-full-php": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to//autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit lib/Tests
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: tenantid s4s\Configuration::getDefaultConfiguration()->setApiKey('tenantid', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // s4s\Configuration::getDefaultConfiguration()->setApiKeyPrefix('tenantid', 'Bearer'); // Configure API key authorization: token s4s\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // s4s\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer'); $api_instance = new s4s\Api\SsNotificationApi(); $name = "name_example"; // string | $email = "email_example"; // string | $phone = "phone_example"; // string | $message = "message_example"; // string | try { $result = $api_instance->notificationContactus($name, $email, $phone, $message); print_r($result); } catch (Exception $e) { echo 'Exception when calling SsNotificationApi->notificationContactus: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://
Documentation For Models
- Account
- CustomerBill
- CustomerInfo
- CustomerPayment
- CustomerPlan
- DataListAccount
- DataListCustomerBill
- DataListCustomerPlan
- DataListPaymentRequest
- DataListUserApi
- EmailRecover
- GoogleAuth
- GoogleTokenId
- Login
- OneTimePay
- OperatorConfiguration
- PaymentRequest
- Plan
- Price
- ResourcePatch
- ResourcePatchResult
- S4sError
- Session
- StripeCustomer
- Subscription
- User
- UserApi
- UserConfig
- UserContact
- UtUser
Documentation For Authorization
tenantid
- Type: API key
- API key parameter name: tenantid
- Location: URL query string
token
- Type: API key
- API key parameter name: token
- Location: URL query string