Package com.prancingdonkey.component

Source Code of com.prancingdonkey.component.ShippingCostCalculator

package com.prancingdonkey.component;

import java.math.BigDecimal;

import org.mule.api.MuleEventContext;
import org.mule.api.lifecycle.Callable;

import com.prancingdonkey.domain.ShippingCostCalculatorResponse;

public class ShippingCostCalculator implements Callable {
 
  public Object onCall(MuleEventContext eventContext)
      throws Exception {
    // Just return a dummy value
    return new ShippingCostCalculatorResponse(new BigDecimal(10));
  }
}
TOP

Related Classes of com.prancingdonkey.component.ShippingCostCalculator

TOP
Copyright © 2018 www.massapi.com. 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.