Skip to content

Commit

Permalink
## [4.2.1] (#266)
Browse files Browse the repository at this point in the history
* ## [4.2.1]

* styleCI
  • Loading branch information
Pfabeck authored Dec 14, 2017
1 parent 7518f96 commit 6536765
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Adapter/PlentymarketsAdapter/Helper/MediaCategoryHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
class MediaCategoryHelper implements MediaCategoryHelperInterface
{
const MANUFACTURER = 1;

const PRODUCT = 2;

const CATEGORY = 3;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ class ProductResponseParser implements ProductResponseParserInterface
private $variationResponseParser;

private $itemsVariationsVariationPropertiesApi;

private $itemsPropertiesSelectionsApi;

private $itemsPropertiesNamesApi;

/**
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [unreleased]
### Added

### Fixed

### Changed

## [4.2.1]
### Added

### Fixed
- don't transfer payment to plenty when payment with same transaction id exists

Expand Down
1 change: 1 addition & 0 deletions Connector/BacklogService/Model/Backlog.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
class Backlog
{
const STATUS_OPEN = 'open';

const STATUS_PROCESSED = 'processed';

/**
Expand Down
1 change: 1 addition & 0 deletions Connector/ServiceBus/CommandType.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
final class CommandType
{
const HANDLE = 'handle';

const REMOVE = 'remove';

/**
Expand Down
2 changes: 2 additions & 0 deletions Connector/ServiceBus/QueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
final class QueryType
{
const ALL = 'all';

const CHANGED = 'changed';

const ONE = 'one';

/**
Expand Down
2 changes: 2 additions & 0 deletions Connector/TransferObject/Order/Address/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
class Address extends AbstractValueObject implements AttributableInterface
{
const SALUTATION_MR = 1;

const SALUTATION_MS = 2;

const SALUTATION_FIRM = 3;

/**
Expand Down
1 change: 1 addition & 0 deletions Connector/TransferObject/Order/Comment/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
class Comment extends AbstractValueObject implements AttributableInterface
{
const TYPE_INTERNAL = 1;

const TYPE_CUSTOMER = 2;

/**
Expand Down
3 changes: 3 additions & 0 deletions Connector/TransferObject/Order/Customer/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@
class Customer extends AbstractValueObject
{
const TYPE_NORMAL = 1;

const TYPE_GUEST = 2;

const SALUTATION_MR = 1;

const SALUTATION_MS = 2;

const SALUTATION_FIRM = 3;

/**
Expand Down
1 change: 1 addition & 0 deletions Connector/TransferObject/Order/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Order extends AbstractTransferObject implements AttributableInterface
const TYPE = 'Order';

const TYPE_ORDER = 1;

const TYPE_OFFER = 2;

/**
Expand Down
5 changes: 5 additions & 0 deletions Connector/TransferObject/Order/OrderItem/OrderItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@
class OrderItem extends AbstractValueObject implements AttributableInterface
{
const TYPE_PRODUCT = 1;

const TYPE_VOUCHER = 2;

const TYPE_COUPON = 3;

const TYPE_DISCOUNT = 4;

const TYPE_PAYMENT_SURCHARGE = 5;

const TYPE_SHIPPING_COSTS = 6;

/**
Expand Down
3 changes: 3 additions & 0 deletions Connector/TransferObject/Product/Barcode/Barcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
class Barcode extends AbstractValueObject
{
const TYPE_GTIN13 = 1;

const TYPE_GTIN128 = 2;

const TYPE_UPC = 3;

const TYPE_ISBN = 4;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
class LinkedProduct extends AbstractValueObject
{
const TYPE_ACCESSORY = 1;

const TYPE_REPLACEMENT = 2;

const TYPE_SIMILAR = 3;

/**
Expand Down
4 changes: 4 additions & 0 deletions PlentyConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,18 @@
class PlentyConnector extends Plugin
{
const PERMISSION_READ = 'read';

const PERMISSION_WRITE = 'write';

/**
* List of all cronjobs
*/
const CRONJOB_SYNCHRONIZE = 'Synchronize';

const CRONJOB_SYNCHRONIZE_ORDERS = 'SynchronizeOrders';

const CRONJOB_CLEANUP = 'Cleanup';

const CRONJOB_BACKLOG = 'ProcessBacklog';

/**
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<label>plentymarkets Shopware Connector</label>
<label lang="de">plentymarkets Shopware Connector</label>

<version>4.2.0</version>
<version>4.2.1</version>
<copyright>(c) plentymarkets GmbH</copyright>
<link>https://www.plentymarkets.eu/</link>
<author>arvatis media GmbH</author>
Expand Down

0 comments on commit 6536765

Please sign in to comment.