<p>Create cart item.</p>
@param pShoppingCart cart
@return cart item
485944
public final CartLn createCartItem(final Cart pShoppingCart) {
    CartLn cartLn = new CartLn();
    cartLn.setIsNew(true);
    cartLn.setDisab(false);
    cartLn.setForc(false);
    cartLn.setItsOwner(pShoppingCart);
    pShoppingCart.getItems().add(cartLn);
    return cartLn;
  }
983532
public static com.liferay.commerce.model.CommerceOrderNote addCommerceOrderNote(
		com.liferay.commerce.model.CommerceOrderNote commerceOrderNote) {
		return getService().addCommerceOrderNote(commerceOrderNote);
	}
18223
@Override
	@Transactional(enabled = false)
	public CommerceWarehouse createCommerceWarehouse(long commerceWarehouseId) {
		return commerceWarehousePersistence.create(commerceWarehouseId);
	}
1366294
public static com.liferay.commerce.model.CommerceOrderPayment addCommerceOrderPayment(
		com.liferay.commerce.model.CommerceOrderPayment commerceOrderPayment) {
		return getService().addCommerceOrderPayment(commerceOrderPayment);
	}
232670
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceOrderNote addCommerceOrderNote(
		CommerceOrderNote commerceOrderNote) {
		commerceOrderNote.setNew(true);

		return commerceOrderNotePersistence.update(commerceOrderNote);
	}
1292879
@Override
	public com.liferay.commerce.discount.model.CommerceDiscount createCommerceDiscount(
		long commerceDiscountId) {
		return _commerceDiscountLocalService.createCommerceDiscount(commerceDiscountId);
	}
68249
public static com.liferay.commerce.product.model.CPInstance createCPInstance(
		long CPInstanceId) {
		return getService().createCPInstance(CPInstanceId);
	}
1261798
public OvhCart cart_POST(String description, Date expire, OvhOvhSubsidiaryEnum ovhSubsidiary) throws IOException {
		String qPath = "/order/cart";
		StringBuilder sb = path(qPath);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "description", description);
		addBody(o, "expire", expire);
		addBody(o, "ovhSubsidiary", ovhSubsidiary);
		String resp = execN(qPath, "POST", sb.toString(), o);
		return convertTo(resp, OvhCart.class);
	}
1166861
@Override
	public com.liferay.commerce.model.CommerceWarehouseItem createCommerceWarehouseItem(
		long commerceWarehouseItemId) {
		return _commerceWarehouseItemLocalService.createCommerceWarehouseItem(commerceWarehouseItemId);
	}
424136
@Override
	@Transactional(enabled = false)
	public CommerceOrderItem createCommerceOrderItem(long commerceOrderItemId) {
		return commerceOrderItemPersistence.create(commerceOrderItemId);
	}
659120
public static com.liferay.commerce.model.CommerceOrderItem addCommerceOrderItem(
		com.liferay.commerce.model.CommerceOrderItem commerceOrderItem) {
		return getService().addCommerceOrderItem(commerceOrderItem);
	}
425661
@Override
	public com.liferay.commerce.model.CommerceOrderItem createCommerceOrderItem(
		long commerceOrderItemId) {
		return _commerceOrderItemLocalService.createCommerceOrderItem(commerceOrderItemId);
	}
735462
@Override
	@Transactional(enabled = false)
	public CommerceShipment createCommerceShipment(long commerceShipmentId) {
		return commerceShipmentPersistence.create(commerceShipmentId);
	}
516
public static <T> BeanCopier<T> create(Object source, T dest, CopyOptions copyOptions) {
		return create(source, dest, dest.getClass(), copyOptions);
	}
1345496
public function createItem()
	{
		$context = $this->_getContext();
		$priceManager = MShop_Factory::createManager( $context, 'price' );
		$values = array('siteid'=> $context->getLocale()->getSiteId());

		$base = $this->_createItem($priceManager->createItem(), clone $context->getLocale(), $values);

		$pluginManager = MShop_Factory::createManager( $context, 'plugin' );
		$pluginManager->register( $base, 'order' );

		return $base;
	}
1070851
def create_manifest(self, cart_name, manifests):
        
        cart = juicer.common.Cart.Cart(cart_name)

        for manifest in manifests:
            cart.add_from_manifest(manifest, self.connectors)

        cart.save()
        return cart
1346389
@Override
	public com.liferay.commerce.model.CommerceOrderNote createCommerceOrderNote(
		long commerceOrderNoteId) {
		return _commerceOrderNoteLocalService.createCommerceOrderNote(commerceOrderNoteId);
	}