Releases: konduto/php-sdk
Update SDK
Merge pull request #22 from konduto/update-sdk-php-konduto Update sdk php
Update SDK
Merge pull request #22 from konduto/update-sdk-php-konduto Update sdk php
Adds support for the `events` node
This release adds support for the node events, which is an array of objects describing an event ticket. For more information on the new field, please see https://docs.konduto.com/reference#event
More supported fields
The payment object supports two more properties:
$payment->setAmount(9.90);
$payment->setDescription("10% discount voucher");- amount: a numerical amount representing how much of the total order amount was paid using the current payment method.
- description: a string description for the current payment method.
Now there are accessors (getters) for triggered rules, decision lists and response of queries to external bureau services:
$order->getTriggeredRules();
$order->getTriggeredDecisionList();
$order->getBureauxQueries();Other changes include:
- A contributing guide section was added to the project's README.
- Any hardcoded API keys were removed (even if not working). Now for running integration tests an API key needs to be provided via environment variable.
Suporte para novos campos
- Novo nó para informação de
hotel. - Campos
expiration_dateno nótravelecompanynas travel legs. - Fix com erro de merge no código da exceção
SDKErrorException.
Bug fixes
Version 2! :D
A leaner and adaptable version of the SDK. This version is not completely backwards compatible to v1.
Much more IDE friendly.
Bug fixes, minor refactories
Drop use of namespace-level constants (Models\STATUS_APPROVED, etc). Now they are all class constants:
Order status and recommendation constants belong to Order class. Payment type constants belong to Payment class.
Order.get_status is now a regular getter (it does not try to foresee the status of a recently posted order).
Seller model
Add a Seller model for Marketplaces
Few new fields supported
Customer object:
created_at
Item object:
created_at
Order object:
purchased_atfirst_messagemessages_exchanged