public function loadImplementationsForCarts($viewer, $carts)
public function loadImplementationsForCarts($viewer, $carts)
PhortuneCartImplementation
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.
PhortuneSubscriptionCart
Parameters
PhabricatorUser | $viewer | |
array | $carts |
Return
wild |
public function getName($cart)
public function getName($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function getCancelURI($cart)
public function getCancelURI($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function getDoneURI($cart)
public function getDoneURI($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function getDescription($cart)Inherited
public function getDescription($cart)
Inherited
Parameters
PhortuneCart | $cart |
Return
wild |
public function getDoneActionName($cart)
public function getDoneActionName($cart)
Parameters
PhortuneCart | $cart |
Return
wild |
public function assertCanCancelOrder($cart)Inherited
public function assertCanCancelOrder($cart)
Inherited
Parameters
PhortuneCart | $cart |
Return
wild |
public function assertCanRefundOrder($cart)Inherited
public function assertCanRefundOrder($cart)
Inherited
Parameters
PhortuneCart | $cart |
Return
wild |
public function willCreateCart($viewer, $cart)
public function willCreateCart($viewer, $cart)
Parameters
PhabricatorUser | $viewer | |
PhortuneCart | $cart |
Return
wild |
public function setSubscriptionPHID($subscription_phid)
public function setSubscriptionPHID($subscription_phid)
Parameters
$subscription_phid |
Return
wild |
public function getSubscriptionPHID()
public function getSubscriptionPHID()
Return
wild |
public function setSubscription($subscription)
public function setSubscription($subscription)
Parameters
PhortuneSubscription | $subscription |
Return
wild |
public function getSubscription()
public function getSubscription()
Return
wild |