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

Commit 52d2ff0

Browse files
committed
fix(LineItemImportDraft): add missing field distributionChannel
1 parent 5d5bd99 commit 52d2ff0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Core/Model/Order/LineItemImportDraft.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
* @method LineItemImportDraft setItemShippingAddresses(AddressCollection $itemShippingAddresses = null)
4040
* @method ItemShippingDetailsDraft getShippingDetails()
4141
* @method LineItemImportDraft setShippingDetails(ItemShippingDetailsDraft $shippingDetails = null)
42+
* @method ChannelReference getDistributionChannel()
43+
* @method LineItemImportDraft setDistributionChannel(ChannelReference $distributionChannel = null)
4244
*/
4345
class LineItemImportDraft extends JsonObject
4446
{
@@ -52,6 +54,7 @@ public function fieldDefinitions()
5254
'quantity' => [static::TYPE => 'int'],
5355
'state' => [static::TYPE => ItemStateCollection::class],
5456
'supplyChannel' => [static::TYPE => ChannelReference::class],
57+
'distributionChannel' => [static::TYPE => ChannelReference::class],
5558
'taxRate' => [static::TYPE => TaxRate::class],
5659
'custom' => [static::TYPE => CustomFieldObjectDraft::class],
5760
'shippingDetails' => [static::TYPE => ItemShippingDetailsDraft::class],

0 commit comments

Comments
 (0)