This repository was archived by the owner on Oct 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 88/**
99 * @package Commercetools\Core\Model\Common
1010 *
11- * @method PriceDraft getAt($offset)
1211 * @method PriceDraftCollection add(PriceDraft $element)
1312 * @method PriceDraft current()
13+ * @method PriceDraft getAt($offset)
1414 */
1515class PriceDraftCollection extends Collection
1616{
Original file line number Diff line number Diff line change 1313use Commercetools \Core \Model \CustomerGroup \CustomerGroupReference ;
1414use Commercetools \Core \Model \Cart \ShippingInfo ;
1515use Commercetools \Core \Model \Common \DateTimeDecorator ;
16+ use Commercetools \Core \Model \CustomField \CustomFieldObjectDraft ;
1617
1718/**
1819 * @package Commercetools\Core\Model\Order
4849 * @method ImportOrder setShippingInfo(ShippingInfo $shippingInfo = null)
4950 * @method DateTimeDecorator getCompletedAt()
5051 * @method ImportOrder setCompletedAt(\DateTime $completedAt = null)
52+ * @method CustomFieldObjectDraft getCustom()
53+ * @method ImportOrder setCustom(CustomFieldObjectDraft $custom = null)
5154 */
5255class ImportOrder extends JsonObject
5356{
@@ -73,6 +76,7 @@ public function fieldDefinitions()
7376 static ::TYPE => '\DateTime ' ,
7477 static ::DECORATOR => '\Commercetools\Core\Model\Common\DateTimeDecorator '
7578 ],
79+ 'custom ' => [static ::TYPE => '\Commercetools\Core\Model\CustomField\CustomFieldObjectDraft ' ]
7680 ];
7781 }
7882}
Original file line number Diff line number Diff line change 1010use Commercetools \Core \Model \Common \Price ;
1111use Commercetools \Core \Model \Channel \ChannelReference ;
1212use Commercetools \Core \Model \TaxCategory \TaxRate ;
13+ use Commercetools \Core \Model \CustomField \CustomFieldObjectDraft ;
1314
1415/**
1516 * @package Commercetools\Core\Model\Order
2930 * @method LineItemImportDraft setSupplyChannel(ChannelReference $supplyChannel = null)
3031 * @method TaxRate getTaxRate()
3132 * @method LineItemImportDraft setTaxRate(TaxRate $taxRate = null)
33+ * @method CustomFieldObjectDraft getCustom()
34+ * @method LineItemImportDraft setCustom(CustomFieldObjectDraft $custom = null)
3235 */
3336class LineItemImportDraft extends JsonObject
3437{
@@ -43,6 +46,7 @@ public function fieldDefinitions()
4346 'state ' => [static ::TYPE => '\Commercetools\Core\Model\Order\ItemStateCollection ' ],
4447 'supplyChannel ' => [static ::TYPE => '\Commercetools\Core\Model\Channel\ChannelReference ' ],
4548 'taxRate ' => [static ::TYPE => '\Commercetools\Core\Model\TaxCategory\TaxRate ' ],
49+ 'custom ' => [static ::TYPE => '\Commercetools\Core\Model\CustomField\CustomFieldObjectDraft ' ]
4650 ];
4751 }
4852}
Original file line number Diff line number Diff line change @@ -823,6 +823,7 @@ importOrder:
823823 - paymentState
824824 - shippingInfo
825825 - completedAt
826+ - custom
826827
827828lineItemImportDraft :
828829 domain : order
@@ -836,6 +837,7 @@ lineItemImportDraft:
836837 - state
837838 - supplyChannel
838839 - taxRate
840+ - custom
839841
840842productVariantImportDraft :
841843 domain : order
You can’t perform that action at this time.
0 commit comments