Currency
A currency.
    class
    Currency        extends AbstractModel
        
                    Constants
| DEFAULT_CURRENCY_ID | 
 | 
Properties summary
| Type | Property | Description | |
|---|---|---|---|
| protected | $table | ||
| $timestamps | |||
| integer | $id | ||
| string | $code | ||
| string | $prefix | ||
| string | $suffix | ||
| integer | $format | ||
| float | $rate | ||
| boolean | $default | 
Methods summary
| Return Type | Method Name | Description | |
|---|---|---|---|
| scopeDefaultCurrency($query) | - | ||
| Builder | scopeDefaultSorting(Builder $query) | Show default currency first, and all other currencies sorted by currency code. | |
| static | validateCurrencyCode($currencyCode) | - | |
| static | factoryForClientArea() | - | 
Details
                            
    scopeDefaultCurrency ($query)
        
    
    
                            Builder
    scopeDefaultSorting (Builder $query)
        
    
    Show default currency first, and all other currencies sorted by currency code.