Package com.magento.api

Examples of com.magento.api.CustomerGroupEntity


      testObjects = (HashMap<String, Object>) context.getBean("updateProductAttributeTierPrice");
      MessageProcessor listCustomerGroupsFlow = lookupFlowConstruct("list-customer-groups");
      MuleEvent response = listCustomerGroupsFlow.process(getTestEvent(testObjects));
     
      List<CustomerGroupEntity> customerGroupEntities = (List<CustomerGroupEntity>) response.getMessage().getPayload();
      CustomerGroupEntity cge = customerGroupEntities.get(0);
      cge.getCustomer_group_id();
     
      CatalogProductTierPriceEntity catalogProductTierPriceEntity = (CatalogProductTierPriceEntity) testObjects.get("catalogProductTierPriceEntityRef");
      catalogProductTierPriceEntity.setCustomer_group_id(String.valueOf(cge.getCustomer_group_id()));
      catalogProductTierPriceEntity.setWebsite("0");
      catalogProductTierPriceEntity.setQty(50);
      catalogProductTierPriceEntity.setPrice(9.90);
      testObjects.put("catalogProductTierPriceEntityRef", catalogProductTierPriceEntity);
     
View Full Code Here

TOP

Related Classes of com.magento.api.CustomerGroupEntity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.