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

Commit a9501fc

Browse files
author
Jens Schulze
committed
fix(PaymentInfo): correct class path
1 parent c156560 commit a9501fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Model/Cart/Cart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function fieldDefinitions()
8888
'shippingInfo' => [static::TYPE => '\Commercetools\Core\Model\Cart\ShippingInfo'],
8989
'discountCodes' => [static::TYPE => '\Commercetools\Core\Model\Cart\DiscountCodeInfoCollection'],
9090
'custom' => [static::TYPE => '\Commercetools\Core\Model\CustomField\CustomFieldObject'],
91-
'paymentInfo' => [static::TYPE => '\Commercetools\Core\Model\Cart\PaymentInfo'],
91+
'paymentInfo' => [static::TYPE => '\Commercetools\Core\Model\Payment\PaymentInfo'],
9292
];
9393
}
9494
}

src/Model/Order/Order.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function fieldDefinitions()
117117
'cart' => [static::TYPE => '\Commercetools\Core\Model\Cart\CartReference'],
118118
'custom' => [static::TYPE => '\Commercetools\Core\Model\CustomField\CustomFieldObject'],
119119
'state' => [static::TYPE => '\Commercetools\Core\Model\State\StateReference'],
120-
'paymentInfo' => [static::TYPE => '\Commercetools\Core\Model\Cart\PaymentInfo'],
120+
'paymentInfo' => [static::TYPE => '\Commercetools\Core\Model\Payment\PaymentInfo'],
121121
];
122122
}
123123
}

0 commit comments

Comments
 (0)