SYMBOL INDEX (252 symbols across 40 files) FILE: src/Commands/MigrationCommand.php class MigrationCommand (line 18) | class MigrationCommand extends Command method fire (line 39) | public function fire() method createMigration (line 126) | protected function createMigration($data) method createSeeder (line 154) | protected function createSeeder($data) FILE: src/Contracts/PaymentGatewayInterface.php type PaymentGatewayInterface (line 15) | interface PaymentGatewayInterface method __construct (line 20) | public function __construct($id = ''); method onCheckout (line 27) | public function onCheckout($cart); method onCharge (line 36) | public function onCharge($order); method getTransactionId (line 44) | public function getTransactionId(); method getTransactionDetail (line 51) | public function getTransactionDetail(); method getTransactionToken (line 58) | public function getTransactionToken(); method onCallbackSuccess (line 67) | public function onCallbackSuccess($order, $data = null); method onCallbackFail (line 76) | public function onCallbackFail($order, $data = null); method setCallbacks (line 83) | public function setCallbacks($order); method getTransactionStatusCode (line 90) | public function getTransactionStatusCode(); FILE: src/Contracts/ShopCartInterface.php type ShopCartInterface (line 15) | interface ShopCartInterface method user (line 23) | public function user(); method items (line 30) | public function items(); method add (line 38) | public function add($item, $quantity = 1, $quantityReset = self::QUANT... method remove (line 49) | public function remove($item, $quantity = 0); method hasItem (line 59) | public function hasItem($sku, $requireAll = false); method scopeCurrent (line 68) | public function scopeCurrent($query); method getCountAttribute (line 75) | public function getCountAttribute(); method getTotalPriceAttribute (line 82) | public function getTotalPriceAttribute(); method getTotalTaxAttribute (line 89) | public function getTotalTaxAttribute(); method getTotalShippingAttribute (line 96) | public function getTotalShippingAttribute(); method getTotalDiscountAttribute (line 103) | public function getTotalDiscountAttribute(); method getTotalAttribute (line 110) | public function getTotalAttribute(); method getDisplayTotalPriceAttribute (line 117) | public function getDisplayTotalPriceAttribute(); method getDisplayTotalTaxAttribute (line 124) | public function getDisplayTotalTaxAttribute(); method getDisplayTotalShippingAttribute (line 131) | public function getDisplayTotalShippingAttribute(); method getDisplayTotalDiscountAttribute (line 138) | public function getDisplayTotalDiscountAttribute(); method getDisplayTotalAttribute (line 145) | public function getDisplayTotalAttribute(); method placeOrder (line 155) | public function placeOrder($statusCode = null); method clear (line 160) | public function clear(); FILE: src/Contracts/ShopCouponInterface.php type ShopCouponInterface (line 15) | interface ShopCouponInterface method scopeWhereCode (line 23) | public function scopeWhereCode($query, $code); method scopeFindByCode (line 30) | public function scopeFindByCode($query, $code); FILE: src/Contracts/ShopItemInterface.php type ShopItemInterface (line 15) | interface ShopItemInterface method user (line 23) | public function user(); method cart (line 30) | public function cart(); method order (line 37) | public function order(); method getHasObjectAttribute (line 44) | public function getHasObjectAttribute(); method getObjectAttribute (line 51) | public function getObjectAttribute(); method getDisplayNameAttribute (line 58) | public function getDisplayNameAttribute(); method getShopIdAttribute (line 65) | public function getShopIdAttribute(); method getDisplayPriceAttribute (line 72) | public function getDisplayPriceAttribute(); method getDisplayTaxAttribute (line 79) | public function getDisplayTaxAttribute(); method getDisplayShippingAttribute (line 86) | public function getDisplayShippingAttribute(); method getWasPurchasedAttribute (line 93) | public function getWasPurchasedAttribute(); FILE: src/Contracts/ShopOrderInterface.php type ShopOrderInterface (line 15) | interface ShopOrderInterface method user (line 23) | public function user(); method items (line 30) | public function items(); method transactions (line 37) | public function transactions(); method getIsLockedAttribute (line 45) | public function getIsLockedAttribute(); method scopeFindByUser (line 57) | public function scopeFindByUser($query, $userId, $statusCode = null); method getCountAttribute (line 64) | public function getCountAttribute(); method getTotalPriceAttribute (line 71) | public function getTotalPriceAttribute(); method getTotalTaxAttribute (line 78) | public function getTotalTaxAttribute(); method getTotalShippingAttribute (line 85) | public function getTotalShippingAttribute(); method getTotalDiscountAttribute (line 92) | public function getTotalDiscountAttribute(); method getTotalAttribute (line 99) | public function getTotalAttribute(); method getDisplayTotalPriceAttribute (line 106) | public function getDisplayTotalPriceAttribute(); method getDisplayTotalTaxAttribute (line 113) | public function getDisplayTotalTaxAttribute(); method getDisplayTotalShippingAttribute (line 120) | public function getDisplayTotalShippingAttribute(); method getDisplayTotalDiscountAttribute (line 127) | public function getDisplayTotalDiscountAttribute(); method getDisplayTotalAttribute (line 134) | public function getDisplayTotalAttribute(); method is (line 143) | public function is($statusCode); method placeTransaction (line 154) | public function placeTransaction($gateway, $transactionId, $detail = ''); method scopeWhereSKU (line 165) | public function scopeWhereSKU($query, $sku); method scopeWhereStatusIn (line 175) | public function scopeWhereStatusIn($query, array $statusCodes); FILE: src/Contracts/ShopTransactionInterface.php type ShopTransactionInterface (line 15) | interface ShopTransactionInterface method order (line 22) | public function order(); method scopeWhereUser (line 29) | public function scopeWhereUser($query, $userId); FILE: src/Core/PaymentGateway.php class PaymentGateway (line 20) | abstract class PaymentGateway implements PaymentGatewayInterface, Arraya... method __construct (line 76) | public function __construct($id = '') method onCheckout (line 88) | public function onCheckout($cart) method onCallbackSuccess (line 101) | public function onCallbackSuccess($order, $data = null) method onCallbackFail (line 114) | public function onCallbackFail($order, $data = null) method setCallbacks (line 123) | public function setCallbacks($order) method getTransactionToken (line 143) | public function getTransactionToken() method getTransactionId (line 154) | public function getTransactionId() method getTransactionDetail (line 164) | public function getTransactionDetail() method getTransactionStatusCode (line 174) | public function getTransactionStatusCode() method toArray (line 184) | public function toArray() method toJson (line 195) | public function toJson($options = 0) method jsonSerialize (line 205) | public function jsonSerialize() method __toString (line 215) | public function __toString() FILE: src/Events/CartCheckout.php class CartCheckout (line 15) | class CartCheckout method __construct (line 39) | public function __construct($id, $success) FILE: src/Events/OrderCompleted.php class OrderCompleted (line 15) | class OrderCompleted method __construct (line 32) | public function __construct($id) FILE: src/Events/OrderPlaced.php class OrderPlaced (line 15) | class OrderPlaced method __construct (line 32) | public function __construct($id) FILE: src/Events/OrderStatusChanged.php class OrderStatusChanged (line 15) | class OrderStatusChanged method __construct (line 45) | public function __construct($id, $statusCode, $previousStatusCode) FILE: src/Exceptions/CheckoutException.php class CheckoutException (line 15) | class CheckoutException extends \Exception FILE: src/Exceptions/GatewayException.php class GatewayException (line 15) | class GatewayException extends \Exception FILE: src/Exceptions/ShopException.php class ShopException (line 15) | class ShopException extends \Exception FILE: src/Gateways/GatewayCallback.php class GatewayCallback (line 17) | class GatewayCallback extends GatewayPass method onCharge (line 31) | public function onCharge($order) method onCallbackSuccess (line 46) | public function onCallbackSuccess($order, $data = null) method onCallbackFail (line 61) | public function onCallbackFail($order, $data = null) method getCallbackSuccess (line 72) | public function getCallbackSuccess() method getCallbackFail (line 81) | public function getCallbackFail() method getDidCallback (line 90) | public function getDidCallback() FILE: src/Gateways/GatewayFail.php class GatewayFail (line 20) | class GatewayFail extends PaymentGateway method onCheckout (line 27) | public function onCheckout($cart) method onCharge (line 39) | public function onCharge($order) FILE: src/Gateways/GatewayPass.php class GatewayPass (line 18) | class GatewayPass extends PaymentGateway method onCharge (line 27) | public function onCharge($order) FILE: src/Http/Controllers/Controller.php class Controller (line 9) | abstract class Controller extends BaseController FILE: src/Http/Controllers/Shop/CallbackController.php class CallbackController (line 7) | class CallbackController extends Controller method process (line 16) | protected function process(Request $request) FILE: src/LaravelShop.php class LaravelShop (line 28) | class LaravelShop method __construct (line 75) | public function __construct($app) method user (line 88) | public function user() method setGateway (line 96) | public static function setGateway($gatewayKey) method getGateway (line 108) | public static function getGateway() method checkout (line 123) | public static function checkout($cart = null) method placeOrder (line 154) | public static function placeOrder($cart = null) method callback (line 222) | public static function callback($order, $transaction, $status, $data =... method format (line 267) | public static function format($value) method gateway (line 289) | public static function gateway() method exception (line 299) | public static function exception() method setException (line 309) | protected static function setException($e) method instanceGateway (line 319) | protected static function instanceGateway() method checkStatusChange (line 332) | protected static function checkStatusChange($order, $prevStatusCode) FILE: src/LaravelShopFacade.php class LaravelShopFacade (line 17) | class LaravelShopFacade extends Facade method getFacadeAccessor (line 24) | protected static function getFacadeAccessor() FILE: src/LaravelShopProvider.php class LaravelShopProvider (line 17) | class LaravelShopProvider extends ServiceProvider method boot (line 32) | public function boot(Router $router) method register (line 51) | public function register() method registerShop (line 65) | private function registerShop() method mergeConfig (line 77) | private function mergeConfig() method registerCommands (line 89) | private function registerCommands() method provides (line 101) | public function provides() method map (line 114) | public function map(Router $router) FILE: src/Models/ShopCartModel.php class ShopCartModel (line 21) | class ShopCartModel extends Model implements ShopCartInterface method __construct (line 45) | public function __construct(array $attributes = []) FILE: src/Models/ShopCouponModel.php class ShopCouponModel (line 20) | class ShopCouponModel extends Model implements ShopCouponInterface method __construct (line 44) | public function __construct(array $attributes = []) FILE: src/Models/ShopItemModel.php class ShopItemModel (line 20) | class ShopItemModel extends Model implements ShopItemInterface method __construct (line 58) | public function __construct(array $attributes = []) method user (line 69) | public function user() method cart (line 79) | public function cart() method order (line 89) | public function order() FILE: src/Models/ShopOrderModel.php class ShopOrderModel (line 21) | class ShopOrderModel extends Model implements ShopOrderInterface method __construct (line 45) | public function __construct(array $attributes = []) FILE: src/Models/ShopTransactionModel.php class ShopTransactionModel (line 20) | class ShopTransactionModel extends Model implements ShopTransactionInter... method __construct (line 43) | public function __construct(array $attributes = []) FILE: src/Traits/ShopCalculationsTrait.php type ShopCalculationsTrait (line 21) | trait ShopCalculationsTrait method getCountAttribute (line 34) | public function getCountAttribute() method getTotalPriceAttribute (line 45) | public function getTotalPriceAttribute() method getTotalTaxAttribute (line 56) | public function getTotalTaxAttribute() method getTotalShippingAttribute (line 67) | public function getTotalShippingAttribute() method getTotalDiscountAttribute (line 78) | public function getTotalDiscountAttribute() { /* TODO */ } method getTotalAttribute (line 85) | public function getTotalAttribute() method getDisplayTotalPriceAttribute (line 96) | public function getDisplayTotalPriceAttribute() method getDisplayTotalTaxAttribute (line 106) | public function getDisplayTotalTaxAttribute() method getDisplayTotalShippingAttribute (line 116) | public function getDisplayTotalShippingAttribute() method getDisplayTotalDiscountAttribute (line 126) | public function getDisplayTotalDiscountAttribute() { /* TODO */ } method getDisplayTotalAttribute (line 133) | public function getDisplayTotalAttribute() method getCalculationsCacheKeyAttribute (line 143) | public function getCalculationsCacheKeyAttribute() method runCalculations (line 151) | private function runCalculations() method resetCalculations (line 189) | private function resetCalculations () FILE: src/Traits/ShopCartTrait.php type ShopCartTrait (line 21) | trait ShopCartTrait method boot (line 36) | public static function boot() method user (line 54) | public function user() method items (line 64) | public function items() method add (line 75) | public function add($item, $quantity = 1, $quantityReset = false) method remove (line 133) | public function remove($item, $quantity = 0) method hasItem (line 158) | public function hasItem($sku, $requireAll = false) method scopeWhereUser (line 194) | public function scopeWhereUser($query, $userId) method scopeWhereCurrent (line 206) | public function scopeWhereCurrent($query) method scopeCurrent (line 219) | public function scopeCurrent($query) method scopeFindByUser (line 238) | public function scopeFindByUser($query, $userId) method placeOrder (line 258) | public function placeOrder($statusCode = null) method clear (line 282) | public function clear() method getItem (line 298) | private function getItem($sku) FILE: src/Traits/ShopCouponTrait.php type ShopCouponTrait (line 18) | trait ShopCouponTrait method scopeWhereCode (line 26) | public function scopeWhereCode($query, $code) method scopeFindByCode (line 36) | public function scopeFindByCode($query, $code) FILE: src/Traits/ShopItemTrait.php type ShopItemTrait (line 20) | trait ShopItemTrait method getHasObjectAttribute (line 28) | public function getHasObjectAttribute() method getIsShoppableAttribute (line 38) | public function getIsShoppableAttribute() method getObjectAttribute (line 48) | public function getObjectAttribute() method getDisplayNameAttribute (line 58) | public function getDisplayNameAttribute() method getShopIdAttribute (line 74) | public function getShopIdAttribute() method getShopUrlAttribute (line 84) | public function getShopUrlAttribute() method getDisplayPriceAttribute (line 100) | public function getDisplayPriceAttribute() method scopeWhereSKU (line 113) | public function scopeWhereSKU($query, $sku) method scopeFindBySKU (line 127) | public function scopeFindBySKU($query, $sku) method getDisplayTaxAttribute (line 137) | public function getDisplayTaxAttribute() method getDisplayShippingAttribute (line 147) | public function getDisplayShippingAttribute() method getWasPurchasedAttribute (line 157) | public function getWasPurchasedAttribute() FILE: src/Traits/ShopOrderTrait.php type ShopOrderTrait (line 18) | trait ShopOrderTrait method boot (line 27) | public static function boot() method user (line 45) | public function user() method items (line 55) | public function items() method transactions (line 65) | public function transactions() method getIsLockedAttribute (line 76) | public function getIsLockedAttribute() { method scopeWhereUser (line 89) | public function scopeWhereUser($query, $userId) { method scopeWhereSKU (line 102) | public function scopeWhereSKU($query, $sku) { method scopeWhereStatus (line 121) | public function scopeWhereStatus($query, $statusCode) { method scopeWhereStatusIn (line 133) | public function scopeWhereStatusIn($query, array $statusCodes) { method scopeFindByUser (line 147) | public function scopeFindByUser($query, $userId, $statusCode = null) { method is (line 161) | public function is($statusCode) method getIsCompletedAttribute (line 171) | public function getIsCompletedAttribute() method getHasFailedAttribute (line 181) | public function getHasFailedAttribute() method getIsCanceledAttribute (line 191) | public function getIsCanceledAttribute() method getIsInProcessAttribute (line 201) | public function getIsInProcessAttribute() method getIsInCreationAttribute (line 211) | public function getIsInCreationAttribute() method getIsPendingAttribute (line 221) | public function getIsPendingAttribute() method placeTransaction (line 235) | public function placeTransaction($gateway, $transactionId, $detail = n... method getItem (line 253) | private function getItem($sku) FILE: src/Traits/ShopTransactionTrait.php type ShopTransactionTrait (line 18) | trait ShopTransactionTrait method order (line 25) | public function order() method scopeWhereUser (line 35) | public function scopeWhereUser($query, $userId) FILE: src/Traits/ShopUserTrait.php type ShopUserTrait (line 18) | trait ShopUserTrait method cart (line 26) | public function cart() method items (line 36) | public function items() method orders (line 46) | public function orders() method getShopIdAttribute (line 56) | public function getShopIdAttribute() FILE: tests/ShopTest.php class ShopTest (line 11) | class ShopTest extends TestCase method testStaticMethods (line 17) | public function testStaticMethods() method testConstants (line 25) | public function testConstants() FILE: tests/cart/CartTest.php class CartTest (line 12) | class CartTest extends TestCase method setUp (line 23) | public function setUp() method testCreationBasedOnUser (line 35) | public function testCreationBasedOnUser() method testMultipleCurrentCalls (line 49) | public function testMultipleCurrentCalls() method testCreationBasedOnNull (line 71) | public function testCreationBasedOnNull() method testCreationBasedOnAuthUser (line 81) | public function testCreationBasedOnAuthUser() method testAddingRemovingItems (line 92) | public function testAddingRemovingItems() method testCartMethods (line 137) | public function testCartMethods() method testOrderPlacement (line 168) | public function testOrderPlacement() method tearDown (line 190) | public function tearDown() FILE: tests/cart/ItemTest.php class ItemTest (line 12) | class ItemTest extends TestCase method testItemMethodsAndAttributes (line 17) | public function testItemMethodsAndAttributes() method testItemInCart (line 50) | public function testItemInCart() method testPurchasedItemAttribute (line 95) | public function testPurchasedItemAttribute() FILE: tests/gateway/CallbackTest.php class CallbackTest (line 10) | class CallbackTest extends TestCase method setUp (line 31) | public function setUp() method tearDown (line 52) | public function tearDown() method testSuccessCallback (line 64) | public function testSuccessCallback() method testFailCallback (line 84) | public function testFailCallback() FILE: tests/order/PurchaseTest.php class PurchaseTest (line 12) | class PurchaseTest extends TestCase method testGateway (line 17) | public function testGateway() method testUnselectedGateway (line 32) | public function testUnselectedGateway() method testPurchaseFlow (line 42) | public function testPurchaseFlow() method testFailPurchase (line 72) | public function testFailPurchase() method testFailedTransactions (line 105) | public function testFailedTransactions()