Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
fix(Payment): correct type mapping for transaction state
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Schulze committed Mar 8, 2016
1 parent b60d881 commit 0c6f36d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Model/Payment/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* @method Transaction setInteractionId(string $interactionId = null)
* @method string getId()
* @method Transaction setId(string $id = null)
* @method StateReference getState()
* @method Transaction setState(StateReference $state = null)
* @method string getState()
* @method Transaction setState(string $state = null)
*/
class Transaction extends JsonObject
{
Expand All @@ -38,7 +38,7 @@ public function fieldDefinitions()
{
return [
'id' => [static::TYPE => 'string'],
'state' => [static::TYPE => '\Commercetools\Core\Model\State\StateReference'],
'state' => [static::TYPE => 'string'],
'timestamp' => [
static::TYPE => '\DateTime',
static::DECORATOR => '\Commercetools\Core\Model\Common\DateTimeDecorator'
Expand Down

0 comments on commit 0c6f36d

Please # to comment.