PHP Class App\Models\Store\Order

Inheritance: extends Illuminate\Database\Eloquent\Model
Show file Open project: ppy/osu-web Class Usage Examples

Protected Properties

Property Type Description
$connection
$dates
$primaryKey

Public Methods

Method Description
address ( )
cart ( $user )
checkout ( )
getItemCount ( )
getShipping ( )
getSubtotal ( )
getTotal ( )
items ( )
itemsQuantities ( $orders )
refreshCost ( $save = false )
requiresShipping ( )
trackingCodes ( )
updateItem ( $item_form, $add_new = false )
user ( )

Method Details

address() public method

public address ( )

cart() public static method

public static cart ( $user )

checkout() public method

public checkout ( )

getItemCount() public method

public getItemCount ( )

getShipping() public method

public getShipping ( )

getSubtotal() public method

public getSubtotal ( )

getTotal() public method

public getTotal ( )

items() public method

public items ( )

itemsQuantities() public static method

public static itemsQuantities ( $orders )

refreshCost() public method

public refreshCost ( $save = false )

requiresShipping() public method

public requiresShipping ( )

trackingCodes() public method

public trackingCodes ( )

updateItem() public method

public updateItem ( $item_form, $add_new = false )

user() public method

public user ( )

Property Details

$connection protected property

protected $connection

$dates protected property

protected $dates

$primaryKey protected property

protected $primaryKey