Public Member Functions | Static Public Member Functions | Static Protected Member Functions

WOOrder Class Reference

full order class More...

Inheritance diagram for WOOrder:
WOOrderAbstract WObject

List of all members.

Public Member Functions

 getTotalPrice ()
 analyses itself and returns price
 mailDetails ()
 mail order details to customer

Static Public Member Functions

static addComment ($trans)
 called from the OrderAddComment transaction
static cancelOrder ($trans)
 called from CancelOrder transaction
static changeAddress ($trans)
 change the addresses on the order, called by ChangeOrderAddress transaction
static changeComments ($trans)
 called from the OrderChangeComments transaction
static changeShipping ($trans)
 called by OrderChangeShipping transaction
static changeTicketPrice ($trans)
 called from the ChangeTicketPrice transaction
static changeTicketPriceCategory ($trans)
 called from the ChangeTicketPriceCategory transaction
static deductVoucher ($trans)
 called from the DeductVoucher transaction
static deletePayTypeTransaction ($trans)
static emptyVoucher ($trans)
 called from EmptyVoucher transaction
static getOrderAuditTransaction ($trans)
 order audit transaction
static getOrderByBarcode ($trans)
 called by GetOrderByBarcode transaction
static getPaymentTypesTransaction ($trans)
static getUserAuditTransaction ($trans)
static markAsShipped ($trans)
 called from the OrderMarkShipped transaction
static payForOrder ($trans)
 called from the OrderPay transaction
static payForOrderVoucher ($trans)
 called from the UseVoucher transaction
static refundOrder ($trans)
 called from the OrderRefund transaction
static reservation2Order ($trans)
 called from the ReservationToOrder transaction
static returnTicketVoucher ($trans)
 called from the ReturnTicketVoucher transaction
static setDefaultPayTypeTransaction ($trans)
static setPayTypeTransaction ($trans)

Static Protected Member Functions

static changeTicketPriceCheckEvent ($trans, $event, $changepast)
 called from the two functions below - checks whether the ticket can be changed
static changeTicketPriceCheckTicket ($trans, $tick, $changeused)
 called from the two functions below - checks whether the ticket can be changed

Detailed Description

full order class


Member Function Documentation

static WOOrder::addComment ( trans  )  [static]

called from the OrderAddComment transaction

References WOOrderAbstract::fromTableorder(), WTorder::getFromDB(), and tr().

Referenced by WTrOrderAddComment::handleRequest().

static WOOrder::changeAddress ( trans  )  [static]

change the addresses on the order, called by ChangeOrderAddress transaction

References $db, WOOrderAbstract::fromTableorder(), WTaddress::getFromDB(), WTorder::getFromDB(), and tr().

Referenced by WTrChangeOrderAddress::handleRequest().

static WOOrder::changeComments ( trans  )  [static]

called from the OrderChangeComments transaction

References WOOrderAbstract::fromTableorder(), WTorder::getFromDB(), and tr().

Referenced by WTrOrderChangeComments::handleRequest().

static WOOrder::changeShipping ( trans  )  [static]

called by OrderChangeShipping transaction

References WOOrderAbstract::fromTableorder(), WTorder::getFromDB(), WTshipping::getFromDB(), and tr().

Referenced by WTrOrderChangeShipping::handleRequest().

static WOOrder::changeTicketPrice ( trans  )  [static]
static WOOrder::changeTicketPriceCheckEvent ( trans,
event,
changepast 
) [static, protected]

called from the two functions below - checks whether the ticket can be changed

References tr().

static WOOrder::changeTicketPriceCheckTicket ( trans,
tick,
changeused 
) [static, protected]

called from the two functions below - checks whether the ticket can be changed

References WTticket::MaskChangeable, tr(), and WTticket::Used.

static WOOrder::deductVoucher ( trans  )  [static]
static WOOrder::deletePayTypeTransaction ( trans  )  [static]
static WOOrder::emptyVoucher ( trans  )  [static]
static WOOrder::getOrderByBarcode ( trans  )  [static]

called by GetOrderByBarcode transaction

References $db, WOOrderAbstract::fromTableorder(), and WTorder::getFromDB().

Referenced by WTrGetOrderByBarcode::handleRequest().

static WOOrder::getPaymentTypesTransaction ( trans  )  [static]
WOOrder::getTotalPrice (  ) 

analyses itself and returns price

static WOOrder::markAsShipped ( trans  )  [static]

called from the OrderMarkShipped transaction

References WOOrderAbstract::fromTableorder(), WTorder::getFromDB(), WTorder::Placed, WTorder::Sent, and tr().

Referenced by WTrOrderMarkShipped::handleRequest().

static WOOrder::payForOrder ( trans  )  [static]
static WOOrder::payForOrderVoucher ( trans  )  [static]
static WOOrder::refundOrder ( trans  )  [static]

called from the OrderRefund transaction

References WOOrderAbstract::fromTableorder(), WTorder::getFromDB(), and tr().

Referenced by WTrOrderRefund::handleRequest().

static WOOrder::reservation2Order ( trans  )  [static]
static WOOrder::returnTicketVoucher ( trans  )  [static]
static WOOrder::setDefaultPayTypeTransaction ( trans  )  [static]
static WOOrder::setPayTypeTransaction ( trans  )  [static]

The documentation for this class was generated from the following file: