#include <checkout_control.hpp>


Definition at line 30 of file checkout_control.hpp.
| virtualCheckout::virtualCheckout | ( | cgiScript & | script | ) | [inline] |
Definition at line 84 of file checkout_control.hpp.
| virtualCheckout::~virtualCheckout | ( | ) | [inline] |
Definition at line 88 of file checkout_control.hpp.
| void virtualCheckout::show | ( | page & | pg, | |
| string & | acctTmpltName, | |||
| string | contentTag | |||
| ) | [inline] |
Definition at line 96 of file checkout_control.hpp.
References accountForm(), cart, cgiEnvironment::ClientArguments(), confirmOrderPanel(), cgiInput::count(), createOrderPanel(), page::emitContent(), m_result, paymentForm(), prodBuy, prodFoot, prodHead, prodList, ocString::replace(), script, showProducts(), and ShoppingCart::XML.
Referenced by chkout_functor::operator()().
| bool virtualCheckout::accountForm | ( | cgiScript & | script, | |
| string & | formTemplate, | |||
| string | Action | |||
| ) | [inline] |
Definition at line 165 of file checkout_control.hpp.
References forms_base::form_action(), Customer_form::form_display(), read_write_base::ivalidate(), read_write_base::last_result(), forms_base::loadControlTemplates(), m_result, Customer_form::makeButtonedBottom(), Customer_form::makeTop(), and setKey().
Referenced by show().
| bool virtualCheckout::setKey | ( | cgiScript & | script, | |
| read_write_base & | obj | |||
| ) | [inline] |
Definition at line 207 of file checkout_control.hpp.
References cgiEnvironment::ClientArguments(), openRS::close(), basicField::format(), openRS::getField(), read_write_base::key(), keySQL, openRS::open(), ocString::replace(), read_base::rs, and sql.
Referenced by accountForm().
| void virtualCheckout::paymentForm | ( | cgiScript & | script, | |
| string & | formTemplate | |||
| ) | [inline] |
Definition at line 221 of file checkout_control.hpp.
References ocString::append(), cgiEnvironment::ClientArguments(), openRS::close(), cgiInput::count(), Payment_Form::Customer_Id, forms_base::form_action(), Payment_Form::form_display(), basicField::format(), openRS::getField(), forms_base::getMode(), Customer_Obj::Id, read_write_base::key(), read_write_base::last_result(), forms_base::loadControlTemplates(), Payment_Form::makeButtonedBottom(), Payment_Form::makeTop(), openRS::open(), read_base::rs, sql, and tableLookup().
Referenced by show().
| void virtualCheckout::confirmOrderPanel | ( | cgiScript & | script, | |
| string & | formTemplate | |||
| ) | [inline] |
Definition at line 303 of file checkout_control.hpp.
References ocString::append(), cart, cfrmFoot, cfrmHead, cfrmHeading, cfrmList, cfrmListItem, cfrmSubmit, cgiEnvironment::ClientArguments(), openRS::close(), Customer_Obj::First_Name, forms_base::form_action(), basicField::format(), read_write_base::get_data(), openRS::getField(), globalTax, Customer_Payment_Service::Id, read_write_base::key(), Customer_Obj::Last_Name, read_write_base::last_result(), openRS::open(), Customer_Obj::Payment_Service_Id, ocString::replace(), read_base::rs, showProducts(), Customer_Obj::State, State_Tax::State(), tableLookup(), Payment_Form_Complete::uparms, and ShoppingCart::XML.
Referenced by show().
| void virtualCheckout::createOrderPanel | ( | cgiScript & | script, | |
| string & | formTemplate | |||
| ) | [inline] |
Definition at line 386 of file checkout_control.hpp.
References ocString::append(), baseUrl, cart, ShoppingCart::Checked_Out, uiShoppingCart::CheckOut(), cgiEnvironment::ClientArguments(), Ordered_Obj::Customer_Id, discount, Ordered_Obj::discount, emailClerk(), emailcustomer(), emailManufacturer(), finiError, finiThanks, money::format(), freeShipping, Ordered_Obj::freeShipping, read_write_base::get_data(), globalTax, Ordered_Obj::Id, Customer_Obj::Id, read_write_base::key(), read_write_base::last_result(), Ordered_Obj::Order_Total, Ordered_Obj::pay(), Customer_Obj::Payment_Service_Id, Promotion, Ordered_Obj::Promotion, ocString::replace(), Ordered_Obj::setOrderedItems(), Customer_Obj::State, State_Tax::State(), and ShoppingCart::XML.
Referenced by show().
| bool virtualCheckout::emailManufacturer | ( | Ordered_Obj & | order, | |
| Customer_Obj & | customer | |||
| ) | [inline] |
Definition at line 453 of file checkout_control.hpp.
References Customer_Obj::Address, ocString::append(), body, Customer_Obj::City, Manufacturer_Obj::Email_Contact, Customer_Obj::First_Name, read_write_base::get_data(), Ordered_Obj::Id, read_write_base::key(), Customer_Obj::Last_Name, proofs::m, mailFrom, mailManufacturer, mailMfrAddr, mailPath, Ordered_Obj::manufacturers, proofs::o, ocSendMail::openRoute(), ocString::replace(), ocSendMail::send(), ocSendMail::setMimeType(), proofs::showOrderedItems(), Customer_Obj::State, ocSendMail::write(), and Customer_Obj::Zip.
Referenced by createOrderPanel().
| void virtualCheckout::emailcustomer | ( | Ordered_Obj & | order, | |
| Customer_Obj & | customer | |||
| ) | [inline] |
Definition at line 495 of file checkout_control.hpp.
References ocString::append(), body, Customer_Obj::EMail, money::format(), Ordered_Obj::Id, mailCustomer, mailFrom, mailPath, ocSendMail::openRoute(), Ordered_Obj::Order_Total, ocString::replace(), ocSendMail::send(), ocSendMail::setMimeType(), and ocSendMail::write().
Referenced by createOrderPanel().
| void virtualCheckout::emailClerk | ( | Ordered_Obj & | order | ) | [inline] |
Definition at line 511 of file checkout_control.hpp.
References ocString::append(), body, ocString::endOfParse(), money::format(), Ordered_Obj::Id, mailFrom, mailPath, mailStoreClerk, ocSendMail::openRoute(), Ordered_Obj::Order_Total, ocString::parse(), ocSendMail::send(), ocSendMail::setMimeType(), and ocSendMail::write().
Referenced by createOrderPanel().
| void virtualCheckout::trackProductNodes | ( | long long | productId | ) | [inline] |
| void virtualCheckout::showProducts | ( | cgiScript & | script, | |
| ocString & | prodHead, | |||
| ocString & | listTemplate, | |||
| ocString & | prodFoot | |||
| ) | [inline] |
New for coupons and promotions
End new for coupons and promotions
Definition at line 553 of file checkout_control.hpp.
References money::amount(), ocString::append(), baseUrl, cart, ItemDetail::Count(), ItemDetail::CustomText(), discount, finiError, money::format(), freeShipping, globalTax, Ordered_Obj::netShipping(), xmlParser::nodeList(), odr, ocGenericParser::parse(), pncs, ItemDetail::Price(), ItemDetail::Product(), ItemDetail::ProductDescription(), ItemDetail::ProductName(), State_Tax::ProductTotal(), ocString::replace(), ocString::replaceAll(), Ordered_Obj::shipInc(), ItemDetail::Shipping(), Ordered_Obj::Shipping_Total, ItemDetail::StyleImage(), State_Tax::TaxTotal(), trackProductNodes(), and ShoppingCart::XML.
Referenced by confirmOrderPanel(), and show().
ocString virtualCheckout::productSQL [protected] |
Definition at line 33 of file checkout_control.hpp.
ocString virtualCheckout::keySQL [protected] |
string virtualCheckout::sql [protected] |
string virtualCheckout::m_result [protected] |
Ordered_Obj virtualCheckout::odr [protected] |
Product_Obj virtualCheckout::product [protected] |
Definition at line 38 of file checkout_control.hpp.
Definition at line 42 of file checkout_control.hpp.
Referenced by chkout_functor::operator()(), and show().
Definition at line 43 of file checkout_control.hpp.
Referenced by chkout_functor::operator()(), and show().
Definition at line 44 of file checkout_control.hpp.
Referenced by chkout_functor::operator()(), and show().
Definition at line 45 of file checkout_control.hpp.
Referenced by chkout_functor::operator()(), and show().
Definition at line 46 of file checkout_control.hpp.
Referenced by confirmOrderPanel(), and chkout_functor::operator()().
Definition at line 47 of file checkout_control.hpp.
Referenced by confirmOrderPanel(), and chkout_functor::operator()().
Definition at line 48 of file checkout_control.hpp.
Referenced by confirmOrderPanel(), and chkout_functor::operator()().
Definition at line 50 of file checkout_control.hpp.
Referenced by confirmOrderPanel(), and chkout_functor::operator()().
Definition at line 51 of file checkout_control.hpp.
Referenced by confirmOrderPanel(), and chkout_functor::operator()().
Definition at line 52 of file checkout_control.hpp.
Referenced by confirmOrderPanel(), and chkout_functor::operator()().
Definition at line 55 of file checkout_control.hpp.
Referenced by createOrderPanel(), and chkout_functor::operator()().
Definition at line 58 of file checkout_control.hpp.
Referenced by createOrderPanel(), chkout_functor::operator()(), and showProducts().
Definition at line 61 of file checkout_control.hpp.
Referenced by emailcustomer(), and chkout_functor::operator()().
Definition at line 64 of file checkout_control.hpp.
Referenced by emailManufacturer(), and chkout_functor::operator()().
| string virtualCheckout::mailMfrAddr |
Definition at line 67 of file checkout_control.hpp.
Referenced by emailManufacturer(), and chkout_functor::operator()().
| string virtualCheckout::mailFrom |
Definition at line 70 of file checkout_control.hpp.
Referenced by emailClerk(), emailcustomer(), emailManufacturer(), and chkout_functor::operator()().
Definition at line 73 of file checkout_control.hpp.
Referenced by emailClerk(), and chkout_functor::operator()().
Definition at line 76 of file checkout_control.hpp.
Referenced by confirmOrderPanel(), createOrderPanel(), show(), and showProducts().
| double virtualCheckout::discount |
Definition at line 78 of file checkout_control.hpp.
Referenced by chkout_functor::chkout_functor(), createOrderPanel(), and showProducts().
Definition at line 79 of file checkout_control.hpp.
Referenced by chkout_functor::chkout_functor(), createOrderPanel(), and showProducts().
Definition at line 80 of file checkout_control.hpp.
Referenced by chkout_functor::chkout_functor(), and createOrderPanel().
Definition at line 538 of file checkout_control.hpp.
Referenced by showProducts(), and trackProductNodes().
1.5.5