cpayment / connector
There is no license information available for the latest version (1.0) of this package.
1.0
2019-12-11 09:57 UTC
Requires
- php: >=7.1
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.12
- phpunit/phpunit: ^7.4
- squizlabs/php_codesniffer: ~2.6
This package is not auto-updated.
Last update: 2024-09-26 08:51:01 UTC
README
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This PHP package is automatically generated by the OpenAPI Generator project:
- API version: v1
- Build package: org.openapitools.codegen.languages.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" } ], "require": { "GIT_USER_ID/GIT_REPO_ID": "*@dev" } }
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/cpaymentconnector/vendor/autoload.php');
Tests
To run the unit tests:
composer install ./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new CpaymentConnector\Api\CardApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); $auth_token = 'auth_token_example'; // string | Gets or sets the authentication token. $request = new \CpaymentConnector\Model\CardPaymentCreditHolderRequest(); // \CpaymentConnector\Model\CardPaymentCreditHolderRequest | try { $result = $apiInstance->v1CardCreditHolderPost($auth_token, $request); print_r($result); } catch (Exception $e) { echo 'Exception when calling CardApi->v1CardCreditHolderPost: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to http://localhost
Documentation For Models
- AcquiringBank
- Card3DsPaymentPutRequest
- Card3DsPaymentRequest
- Card3DsPaymentResponse
- CardData
- CardPaymentContextData
- CardPaymentCreditHolderRequest
- CardPaymentCreditHolderResponse
- CardPaymentRequest
- CardPaymentResponse
- Configuration
- CopyReference
- Customer
- DuplicatePaymentBatchRequest
- DuplicatePaymentRequest
- GetPaymentSessionResult
- LoanOffer
- LoanTerm
- Options
- Order
- OrderData
- PaymentCard
- PaymentCardOption
- PaymentFee
- PaymentOperationsRequest
- PaymentOperationsResponse
- PaymentOption
- PaymentOptionsContextData
- PaymentOptionsRequest
- PaymentOptionsResponse
- PaymentScheduleRule
- PaymentSessionRequest
- PaymentSessionResponse
- RedirectionData
- Schedule
- ScheduleLight
- ShippingAddress
- StoredCard
- StoredPaymentMethod
- StoredPaymentMethodRequest
- StoredPaymentMethodResponse
- SubOrder
- ValidationModeOverride
Documentation For Authorization
All endpoints do not require authorization.