Sets the cp rule user segment rel local service.

@param cpRuleUserSegmentRelLocalService the cp rule user segment rel local service
492442
public void setCPRuleUserSegmentRelLocalService(
		com.liferay.commerce.product.service.CPRuleUserSegmentRelLocalService cpRuleUserSegmentRelLocalService) {
		this.cpRuleUserSegmentRelLocalService = cpRuleUserSegmentRelLocalService;
	}
1139988
public void setCommerceDiscountRelLocalService(
		com.liferay.commerce.discount.service.CommerceDiscountRelLocalService commerceDiscountRelLocalService) {
		this.commerceDiscountRelLocalService = commerceDiscountRelLocalService;
	}
4264
public static com.liferay.commerce.user.segment.model.CommerceUserSegmentEntry addCommerceUserSegmentEntry(
		com.liferay.commerce.user.segment.model.CommerceUserSegmentEntry commerceUserSegmentEntry) {
		return getService().addCommerceUserSegmentEntry(commerceUserSegmentEntry);
	}
633997
public void setCommerceUserSegmentCriterionLocalService(
		com.liferay.commerce.user.segment.service.CommerceUserSegmentCriterionLocalService commerceUserSegmentCriterionLocalService) {
		this.commerceUserSegmentCriterionLocalService = commerceUserSegmentCriterionLocalService;
	}
1061823
public void setCommerceAccountUserRelService(
		com.liferay.commerce.account.service.CommerceAccountUserRelService commerceAccountUserRelService) {
		this.commerceAccountUserRelService = commerceAccountUserRelService;
	}
853820
def user_segment(self):
        
        if self.api and self.user_segment_id:
            return self.api._get_user_segment(self.user_segment_id)
565235
public void setCPOptionValueLocalService(
		com.liferay.commerce.product.service.CPOptionValueLocalService cpOptionValueLocalService) {
		this.cpOptionValueLocalService = cpOptionValueLocalService;
	}
356240
public void setDLAppLocalService(
		com.liferay.document.library.kernel.service.DLAppLocalService dlAppLocalService) {
		this.dlAppLocalService = dlAppLocalService;
	}
543829
public void setCPRuleAssetCategoryRelService(
		com.liferay.commerce.product.service.CPRuleAssetCategoryRelService cpRuleAssetCategoryRelService) {
		this.cpRuleAssetCategoryRelService = cpRuleAssetCategoryRelService;
	}
111935
public void setCPRuleLocalService(
		com.liferay.commerce.product.service.CPRuleLocalService cpRuleLocalService) {
		this.cpRuleLocalService = cpRuleLocalService;
	}
1031856
public void setRoleLocalService(
		com.liferay.portal.kernel.service.RoleLocalService roleLocalService) {
		this.roleLocalService = roleLocalService;
	}
84503
@Override
	public CPRuleUserSegmentRel create(long CPRuleUserSegmentRelId) {
		CPRuleUserSegmentRel cpRuleUserSegmentRel = new CPRuleUserSegmentRelImpl();

		cpRuleUserSegmentRel.setNew(true);
		cpRuleUserSegmentRel.setPrimaryKey(CPRuleUserSegmentRelId);

		cpRuleUserSegmentRel.setCompanyId(companyProvider.getCompanyId());

		return cpRuleUserSegmentRel;
	}
1003922
public void setCounterLocalService(
		com.liferay.counter.kernel.service.CounterLocalService counterLocalService) {
		this.counterLocalService = counterLocalService;
	}
1261166
@Override
	public void clearCache() {
		entityCache.clearCache(CPRuleUserSegmentRelImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
932427
def help_center_user_segment_sections(self, user_segment_id, **kwargs):
        ""
        api_path = "/api/v2/help_center/user_segments/{user_segment_id}/sections.json"
        api_path = api_path.format(user_segment_id=user_segment_id)
        return self.call(api_path, **kwargs)
1086801
public void setCPFriendlyURLEntryLocalService(
		com.liferay.commerce.product.service.CPFriendlyURLEntryLocalService cpFriendlyURLEntryLocalService) {
		this.cpFriendlyURLEntryLocalService = cpFriendlyURLEntryLocalService;
	}
1254065
public void setCPDefinitionGroupedEntryLocalService(
		com.liferay.commerce.product.type.grouped.service.CPDefinitionGroupedEntryLocalService cpDefinitionGroupedEntryLocalService) {
		this.cpDefinitionGroupedEntryLocalService = cpDefinitionGroupedEntryLocalService;
	}