abstract public function loadImplementationsForCarts($viewer, $carts)
abstract public function loadImplementationsForCarts($viewer, $carts)
Load implementations for a given set of carts.
Note that this method should return a map using the original keys to identify which implementation corresponds to which cart.
Parameters
PhabricatorUser | $viewer | |
array | $carts |
Return
wild |
abstract public function getName($cart)
abstract public function getName($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
abstract public function getCancelURI($cart)
abstract public function getCancelURI($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
abstract public function getDoneURI($cart)
abstract public function getDoneURI($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function getDescription($cart)
public function getDescription($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function getDoneActionName($cart)
public function getDoneActionName($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function assertCanCancelOrder($cart)
public function assertCanCancelOrder($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function assertCanRefundOrder($cart)
public function assertCanRefundOrder($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
abstract public function willCreateCart($viewer, $cart)
abstract public function willCreateCart($viewer, $cart)
Parameters
PhabricatorUser | $viewer | |
PhortuneCart | $cart |
Return
wild |