Skip to content

Releases: billbeeio/billbee-php-sdk

v2.2.1

10 Oct 09:51
ad5c72d
Compare
Choose a tag to compare

Bugfixes:

  • SoldProduct::getSkuOrId() returns ?string #71
  • SoldProduct::getEan() returns ?string #71

v2.2.0

29 Mar 08:36
bd98f9e
Compare
Choose a tag to compare

Stable Release

Notes from v2.2.0-RC1

  • Copyright updated
  • Replaced the mintware-de/data-model-mapper serializer with jms/serializer
  • Updated phpstan/phpstan to ^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
  • Added new models
    • CustomerMetaData
    • InvoiceAdditionalFee
    • OrderHistoryEntry
    • OrderUser
    • StockProduct
    • VatFlags
    • ShipmentType
    • ShippingCarrier
  • Changed the default value
    • Product::$sku: '' => null
    • Product::$ean: '' => null
    • Product::$manufacturer: '' => null
    • Product::$costPrice: 0.00 => null
    • Product::$stockDesired: 0.00 => null
    • Product::$stockCurrent: 0.00 => null
    • Product::$stockWarning: 0.00 => null
    • Product::$stockCode: '' => null
    • Product::$stockReduceItemsPerSale: 1.00 => null
    • Product::$weight: 0 => null
    • Product::$weightNet: 0 => null
    • Product::$unit: Product::UNIT_PIECE => null
    • Product::$unitsPerItem: 1.0 => null
    • Product::$soldAmount: 0 => null
    • Product::$soldSumGross: 0.0 => null
    • Product::$soldSumNet: 0.0 => null
    • Product::$soldSumNetLast30Days: 0.0 => null
    • Product::$soldSumGrossLast30Days: 0.0 => null
    • Product::$soldAmountLast30Days: 0 => null
    • Product::$shippingProductId: 0 => null #41, #55
    • Product::$deliveryTime: Product::DELIVERY_NA => null
    • Product::$recipient: Product::RECIPIENT_NA => null
    • Product::$occasion: Product::OCCASION_NA => null
    • Product::$countryOfOrigin: '' => null
    • Product::$exportDescription: '' => null
    • Product::$taricNumber: '' => null
    • Product::$condition: ProductCondition::BRAND_NEW => null #41
    • CustomerResult::$id: null => 0
    • ShippingProvider::$name: '' => null
    • ShippingProvider::$products: '' => []
    • Source::$source: '' => null
    • Source::$sourceId: '' => null
    • Source::$apiAccountName: '' => null
    • Source::$stockSyncInactive: false => null
    • Source::$unitsPerItem: 1.00 => null
    • WebHook::$headers: null => []
    • WebHook::$properties: null => []
    • BaseResponse::$paging: [] => null
    • BaseResponse::$errorMessage: '' => null
    • BaseResponse::$data: [] => null
  • Made BaseResponse generic.
  • Removed JsonSerializable implementation in Stock

v2.2.0-RC1

18 Aug 17:52
b83a451
Compare
Choose a tag to compare
v2.2.0-RC1 Pre-release
Pre-release
  • Copyright updated
  • Replaced the mintware-de/data-model-mapper serializer with jms/serializer
  • Updated phpstan/phpstan to ^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
  • Added new models
    • CustomerMetaData
    • InvoiceAdditionalFee
    • OrderHistoryEntry
    • OrderUser
    • StockProduct
    • VatFlags
    • ShipmentType
    • ShippingCarrier
  • Changed the default value
    • Product::$sku: '' => null
    • Product::$ean: '' => null
    • Product::$manufacturer: '' => null
    • Product::$costPrice: 0.00 => null
    • Product::$stockDesired: 0.00 => null
    • Product::$stockCurrent: 0.00 => null
    • Product::$stockWarning: 0.00 => null
    • Product::$stockCode: '' => null
    • Product::$stockReduceItemsPerSale: 1.00 => null
    • Product::$weight: 0 => null
    • Product::$weightNet: 0 => null
    • Product::$unit: Product::UNIT_PIECE => null
    • Product::$unitsPerItem: 1.0 => null
    • Product::$soldAmount: 0 => null
    • Product::$soldSumGross: 0.0 => null
    • Product::$soldSumNet: 0.0 => null
    • Product::$soldSumNetLast30Days: 0.0 => null
    • Product::$soldSumGrossLast30Days: 0.0 => null
    • Product::$soldAmountLast30Days: 0 => null
    • Product::$shippingProductId: 0 => null #41, #55
    • Product::$deliveryTime: Product::DELIVERY_NA => null
    • Product::$recipient: Product::RECIPIENT_NA => null
    • Product::$occasion: Product::OCCASION_NA => null
    • Product::$countryOfOrigin: '' => null
    • Product::$exportDescription: '' => null
    • Product::$taricNumber: '' => null
    • Product::$condition: ProductCondition::BRAND_NEW => null #41
    • CustomerResult::$id: null => 0
    • ShippingProvider::$name: '' => null
    • ShippingProvider::$products: '' => []
    • Source::$source: '' => null
    • Source::$sourceId: '' => null
    • Source::$apiAccountName: '' => null
    • Source::$stockSyncInactive: false => null
    • Source::$unitsPerItem: 1.00 => null
    • WebHook::$headers: null => []
    • WebHook::$properties: null => []
    • BaseResponse::$paging: [] => null
    • BaseResponse::$errorMessage: '' => null
    • BaseResponse::$data: [] => null
  • Made BaseResponse generic.
  • Removed JsonSerializable implementation in Stock

v2.1.0

06 Aug 09:36
073a9de
Compare
Choose a tag to compare
  • Updated psr/log to ^1.1.0 || ^2.0.0 || ^3.0.0

v2.0.0

28 Oct 08:54
07409bc
Compare
Choose a tag to compare

v2.0.0 (28 Oct 2021)

  • Updated guzzlehttp/guzzle to V7.4.0
  • Updated psr/log to 1.1.0
  • Updated the Billbee API Endpoint

v2.0.0-RC3 (21 Apr 2021)

Changed the required PHP CPU architecture to 64bit

v2.0.0-RC2 (15 Mar 2021)

Updated from master

v2.0.0-RC1 (22 Feb 2021)

See UPGRADE.md for migration details.

New Features

  • PHP 8 added to composer.json

Misc:

  • Copyright updated (PR #34)
  • Added phpstan for static code analysis (PR #36)

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)

v1.9.0

01 Jun 06:08
2df7c16
Compare
Choose a tag to compare

New Features:

  • DELETE /api/v1/customers/addresses/{id} added. (Client::patchAddress($id, $model)) (PR #40)
  • Added missing mappings (PR #40)
    • Address::$id
    • Order::$payments
  • Added the Payment model (PR #40)

v1.8.3

04 May 12:27
071c3c4
Compare
Choose a tag to compare

Bugfixes

  • URL encode the $extRef in getOrderByOrderNumber and the $externalId in getOrderByPartner before sending the request to the API.

v2.0.0-RC3

21 Apr 07:11
5049f35
Compare
Choose a tag to compare
v2.0.0-RC3 Pre-release
Pre-release

Changed the required PHP CPU architecture to 64bit^.

v2.0.0-RC2

15 Mar 06:29
be55652
Compare
Choose a tag to compare
v2.0.0-RC2 Pre-release
Pre-release

Updated from master

v1.8.2 (15 Mar 2021)

Bugfixes

v1.8.2

15 Mar 06:20
01f5417
Compare
Choose a tag to compare

Bugfixes