Package com.ateam.webstore.ui.views

Examples of com.ateam.webstore.ui.views.OrderPaymentView


  /**
   * Collects the data needed to display payment options to the user.
   * @return
   */
  public OrderPaymentView getOrderPaymentView() {
    OrderPaymentView opv = new OrderPaymentView(getMainView());
   
    CreditCardHandler cch = new CreditCardHandler(req);
   
    opv.setUserCards(cch.getUsersCards());
   
    opv.addContentView(new ContentView(Constants.JSP_ORDER_PAYMENT, "Payment Options"));
    opv.addContentView(new ContentView(Constants.JSP_CREDIT_CARD, "Add New Credit Card"));

    return opv;
  }
View Full Code Here

TOP

Related Classes of com.ateam.webstore.ui.views.OrderPaymentView

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.