Updates the commerce shipment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

@param commerceShipment the commerce shipment
@return the commerce shipment that was updated
163020
@Override
	public com.liferay.commerce.model.CommerceShipment updateCommerceShipment(
		com.liferay.commerce.model.CommerceShipment commerceShipment) {
		return _commerceShipmentLocalService.updateCommerceShipment(commerceShipment);
	}
440414
public static com.liferay.commerce.model.CommerceWarehouse updateCommerceWarehouse(
		com.liferay.commerce.model.CommerceWarehouse commerceWarehouse) {
		return getService().updateCommerceWarehouse(commerceWarehouse);
	}
127496
def update_shipment(self, resource_id, data):
        """"""
        return Shipments(self.client).on(self).update(resource_id, data)
1118474
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouseItem updateCommerceWarehouseItem(
		CommerceWarehouseItem commerceWarehouseItem) {
		return commerceWarehouseItemPersistence.update(commerceWarehouseItem);
	}
650428
@Override
	public void cacheResult(
		List<CommerceShippingMethod> commerceShippingMethods) {
		for (CommerceShippingMethod commerceShippingMethod : commerceShippingMethods) {
			if (entityCache.getResult(
						CommerceShippingMethodModelImpl.ENTITY_CACHE_ENABLED,
						CommerceShippingMethodImpl.class,
						commerceShippingMethod.getPrimaryKey()) == null) {
				cacheResult(commerceShippingMethod);
			}
			else {
				commerceShippingMethod.resetOriginalValues();
			}
		}
	}
613846
public static com.liferay.commerce.model.CommerceRegion updateCommerceRegion(
		com.liferay.commerce.model.CommerceRegion commerceRegion) {
		return getService().updateCommerceRegion(commerceRegion);
	}
741877
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShipmentItem updateCommerceShipmentItem(
		CommerceShipmentItem commerceShipmentItem) {
		return commerceShipmentItemPersistence.update(commerceShipmentItem);
	}
1036439
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceDiscount updateCommerceDiscount(
		CommerceDiscount commerceDiscount) {
		return commerceDiscountPersistence.update(commerceDiscount);
	}
160014
@Override
	public com.liferay.commerce.model.CommerceShippingMethod updateCommerceShippingMethod(
		com.liferay.commerce.model.CommerceShippingMethod commerceShippingMethod) {
		return _commerceShippingMethodLocalService.updateCommerceShippingMethod(commerceShippingMethod);
	}
52163
public static com.liferay.commerce.model.CommerceOrderPayment updateCommerceOrderPayment(
		com.liferay.commerce.model.CommerceOrderPayment commerceOrderPayment) {
		return getService().updateCommerceOrderPayment(commerceOrderPayment);
	}
518860
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouse updateCommerceWarehouse(
		CommerceWarehouse commerceWarehouse) {
		return commerceWarehousePersistence.update(commerceWarehouse);
	}
784045
@Override
	public com.liferay.commerce.discount.model.CommerceDiscount updateCommerceDiscount(
		com.liferay.commerce.discount.model.CommerceDiscount commerceDiscount) {
		return _commerceDiscountLocalService.updateCommerceDiscount(commerceDiscount);
	}
1140693
public static com.liferay.commerce.model.CommerceShippingMethod deleteCommerceShippingMethod(
		com.liferay.commerce.model.CommerceShippingMethod commerceShippingMethod)
		throws com.liferay.portal.kernel.exception.PortalException {
		return getService().deleteCommerceShippingMethod(commerceShippingMethod);
	}
1061891
public static com.liferay.commerce.model.CommerceOrderNote updateCommerceOrderNote(
		com.liferay.commerce.model.CommerceOrderNote commerceOrderNote) {
		return getService().updateCommerceOrderNote(commerceOrderNote);
	}
629810
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceShippingMethod updateCommerceShippingMethod(
		CommerceShippingMethod commerceShippingMethod) {
		return commerceShippingMethodPersistence.update(commerceShippingMethod);
	}
1121807
public static com.liferay.commerce.model.CommerceShipmentItem deleteCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return getService().deleteCommerceShipmentItem(commerceShipmentItem);
	}
1203164
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceOrder addCommerceOrder(CommerceOrder commerceOrder) {
		commerceOrder.setNew(true);

		return commerceOrderPersistence.update(commerceOrder);
	}