Examples of BillingEngineContext


Examples of org.wso2.carbon.billing.core.BillingEngineContext

        if (customer == null) {
            // no customer => no invoices
            return null;
        }
       
        BillingEngineContext billingEngineContext = new BillingEngineContext();
        billingEngineContext.setCustomer(customer);
        billingEngineViewer.generateBill(billingEngineContext);

        // reloading the customer with new updates
        customer = billingEngineContext.getCustomer();
        Invoice invoice = customer.getActiveInvoice();

        // convert it and return
        if (invoice == null) {
            return null;
View Full Code Here
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.