Bugfixes:
Stable release
- Copyright updated
- Replaced the
mintware-de/data-model-mapperserializer withjms/serializer - Updated
phpstan/phpstanto^1.8.2 - Increased the SCA level to 6
- Added Getters/Setters to models
- Typing improved
- Added additional fields
- Customer
- Meta Fields
- Invoice
- VatFlags
- ShippingCountry
- Title
- Salutation
- AdditionalFees
- MerchantVatId
- CustomerVatId
- InvoicePosition
- totalVatAmount
- rebatePercent
- Order
- RebateDifference
- Shipments
- HistoryEntries
- LastModifiedAt
- ApiAccountId
- ApiAccountName
- MerchantVatId
- CustomerVatId
- PaymentReference
- Shipment
- CarrierId
- Type #56
- SoldProduct
- skuOrId
- Customer
- Added new models
- CustomerMetaData
- InvoiceAdditionalFee
- OrderHistoryEntry
- OrderUser
- StockProduct
- VatFlags
- ShipmentType
- ShippingCarrier
- Changed the default value
Product::$sku: '' => nullProduct::$ean: '' => nullProduct::$manufacturer: '' => nullProduct::$costPrice: 0.00 => nullProduct::$stockDesired: 0.00 => nullProduct::$stockCurrent: 0.00 => nullProduct::$stockWarning: 0.00 => nullProduct::$stockCode: '' => nullProduct::$stockReduceItemsPerSale: 1.00 => nullProduct::$weight: 0 => nullProduct::$weightNet: 0 => nullProduct::$unit: Product::UNIT_PIECE => nullProduct::$unitsPerItem: 1.0 => nullProduct::$soldAmount: 0 => nullProduct::$soldSumGross: 0.0 => nullProduct::$soldSumNet: 0.0 => nullProduct::$soldSumNetLast30Days: 0.0 => nullProduct::$soldSumGrossLast30Days: 0.0 => nullProduct::$soldAmountLast30Days: 0 => nullProduct::$shippingProductId: 0 => null#41, #55Product::$deliveryTime: Product::DELIVERY_NA => nullProduct::$recipient: Product::RECIPIENT_NA => nullProduct::$occasion: Product::OCCASION_NA => nullProduct::$countryOfOrigin: '' => nullProduct::$exportDescription: '' => nullProduct::$taricNumber: '' => nullProduct::$condition: ProductCondition::BRAND_NEW => null#41CustomerResult::$id: null => 0ShippingProvider::$name: '' => nullShippingProvider::$products: '' => []Source::$source: '' => nullSource::$sourceId: '' => nullSource::$apiAccountName: '' => nullSource::$stockSyncInactive: false => nullSource::$unitsPerItem: 1.00 => nullWebHook::$headers: null => []WebHook::$properties: null => []BaseResponse::$paging: [] => nullBaseResponse::$errorMessage: '' => nullBaseResponse::$data: [] => null
- Made
BaseResponsegeneric. - Removed
JsonSerializableimplementation inStock
- Updated psr/log to ^1.1.0 || ^2.0.0 || ^3.0.0
- Updated guzzlehttp/guzzle to V7.4.0
- Updated psr/log to 1.1.0
- Updated the Billbee API Endpoint
New Features:
DELETE /api/v1/customers/addresses/{id}added. (Client::patchAddress($id, $model)) (PR #40)- Added missing mappings (PR #40)
Address::$idOrder::$payments
- Added the
Paymentmodel (PR #40)
Bugfixes
- URL encode the
$extRefingetOrderByOrderNumberand the$externalIdingetOrderByPartnerbefore sending the request to the API.
Changed the required PHP CPU architecture to 64bit
Updated from master
Bugfixes
- SoldAmount fixed (PR #39)
See UPGRADE.md for migration details.
New Features
- PHP 8 added to composer.json
Misc:
Breaking changes:
- The code has been reorganized. The client does not implement the endpoints directly anymore. (PR #35) -Updated the min. PHP Version to 7.3 (PR #37)
New Features
- PHP 8 added to composer.json
New features:
DELETE /api/v1/products/{id}added. (Client::deleteProduct($id)) (PR #31)- Added missing fields to the product model (PR #32)
Product::$conditionProduct::$widthCmProduct::$lengthCmProduct::$heightCmProduct::$billOfMaterial
GET /api/v1/products/PatchableFieldsadded. (Client::getPatchableProductFields()) (PR #33)PATCH /api/v1/products/{id}added. (Client::patchProduct($productId, $model)) (PR #33)
New features:
GET /api/v1/cloudstoragesadded. (Client::getCloudStorages()) (PR #18)GET /api/v1/products/categoryadded. (Client::getCategories()) (PR #19)GET /api/v1/layoutsadded. (Client::getLayouts()) (PR #20)- Added
$templateIdand$sendToCloudIdtoClient::createInvoice()(PR #20) POST /api/v1/productsadded. (Client::createProduct($product)) (PR #25)POST /api/v1/searchadded. (Client::search()) (PR #26)
Bug fixes:
Misc:
- Added composer scripts for development (PR #24)
- Added a code documentation generator (PR #24)
- Fixed code style (PR #24)
New features:
- Added the
SoldProductmodel which is used inOrderItem::$product
Bug Fixes:
- Added a mapping for
Order::$paymentTransactionIdandOrder::$deliverySourceCountryCode
Bug Fixes:
- Fixed
use-before-initializebug in theClient::__construct(PR #15) - Fixed empty response bug (PR #17)
New features:
- Added a
DiagnosticsLoggerfor debugging
New features:
POST /api/v1/shipment/shipwithlabeladded. (Client::shipWithLabel(Model\ShipmentWithLabel))
Bug Fixes:
Order::$vatModeused the wrong type.
General:
- Copyright updated
New features:
- Added the
Order::$distributionCenterproperty - Single customer addresses can now queried with the
getCustomerAddress - Added the
Order::$customerproperty .gitattributesadded to exclude test files in prod
Bug fixes:
The alternative email address is ignored because sendMode != 4logger warning fixed- Several type annotations fixed
General:
- Abandoned package
json-object-mapperreplaced bydata-model-mapper - Test coverage increased
- Added the lookupBy parameter to the
getProduct()call - Added the properties
ShippingProviderId,ShippingProviderProductId,ShippingProviderName,ShippingProviderProductNameto thegetOrder()resposne
- sendMessage endpoint implemented (PR #11)
- serialNumber in OrderItem added and orderId parameter added in getEvents (PR #12)
- Added logger interface (PR #13)
- Removed dev proxy from client (PR #9)
articleTitleSourceandexcludeTagsarguments added togetOrders()(PR #5)AutosubtractReservedAmountparameter added to stock model- Customer Endpoints implemented
- Links updated from
app01.billbee.detoapp.billbee.io - Changelog added
- Code folding optimized
- Imports optimized
/api/v1/products/custom-fieldsendpoints added/api/v1/webhooksendpoints addedunrebatedTotalPriceproperty added toOrderItemcustomFieldsproperty added toProduct- Tests optimized
- Typos / spelling fixed
- Added a type check in the constructor of the stock model. (Issue #4)
- Proxy setting removed
- Batch requests implemented
patchOrderandgetPatchableFieldsmethod implemeted.- Copyright updated
PartnerOrder.paidAtproperty type changed frombooltodatetime
- TypeMismatch in OrderItemAttribute fixed (Issue #2)