PHP Class app\models\Client

Inheritance: extends Illuminate\Database\Eloquent\Model
Show file Open project: hillelcoren/invoice-ninja Class Usage Examples

Public Properties

Property Type Description
$fieldAddress1 string
$fieldAddress2 string
$fieldCity string
$fieldCountry string
$fieldName string
$fieldNotes string
$fieldPhone string
$fieldPostalCode string
$fieldState string
$fieldVatNumber string
$fieldWebsite string

Protected Properties

Property Type Description
$dates array
$fillable array
$presenter string

Public Methods

Method Description
account ( ) : BelongsTo
addContact ( $data, boolean $isPrimary = false ) : Model
autoBillLater ( ) : boolean
contacts ( ) : Illuminate\Database\Eloquent\Relations\HasMany
country ( ) : BelongsTo
credits ( ) : Illuminate\Database\Eloquent\Relations\HasMany
creditsWithBalance ( ) : Illuminate\Database\Eloquent\Relations\HasMany
currency ( ) : BelongsTo
defaultPaymentMethod ( ) : boolean
expenses ( ) : mixed
getAmount ( ) : mixed
getCityState ( ) : string
getCounter ( $isQuote ) : mixed
getCurrencyCode ( ) : string
getCurrencyId ( ) : mixed
getDateCreated ( ) : string
getDisplayName ( ) : mixed | string
getEntityType ( ) : mixed
getGatewayToken ( ) : boolean
getImportColumns ( ) : array
getImportMap ( ) : array
getName ( ) : mixed
getPrimaryContact ( ) : mixed
getRoute ( ) : string
getTotalCredit ( ) : float | integer
hasAddress ( ) : boolean
hasAutoBillConfigurableInvoices ( ) : boolean
industry ( ) : BelongsTo
invoices ( ) : Illuminate\Database\Eloquent\Relations\HasMany
language ( ) : BelongsTo
markLoggedIn ( )
payments ( ) : Illuminate\Database\Eloquent\Relations\HasMany
quotes ( ) : Illuminate\Database\Eloquent\Relations\HasMany
size ( ) : BelongsTo
updateBalances ( $balanceAdjustment, $paidToDateAdjustment )
user ( ) : mixed

Method Details

account() public method

public account ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

addContact() public method

public addContact ( $data, boolean $isPrimary = false ) : Model
$data
$isPrimary boolean
return Illuminate\Database\Eloquent\Model

autoBillLater() public method

public autoBillLater ( ) : boolean
return boolean

contacts() public method

public contacts ( ) : Illuminate\Database\Eloquent\Relations\HasMany
return Illuminate\Database\Eloquent\Relations\HasMany

country() public method

public country ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

credits() public method

public credits ( ) : Illuminate\Database\Eloquent\Relations\HasMany
return Illuminate\Database\Eloquent\Relations\HasMany

creditsWithBalance() public method

public creditsWithBalance ( ) : Illuminate\Database\Eloquent\Relations\HasMany
return Illuminate\Database\Eloquent\Relations\HasMany

currency() public method

public currency ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

defaultPaymentMethod() public method

public defaultPaymentMethod ( ) : boolean
return boolean

expenses() public method

public expenses ( ) : mixed
return mixed

getAmount() public method

public getAmount ( ) : mixed
return mixed

getCityState() public method

public getCityState ( ) : string
return string

getCounter() public method

public getCounter ( $isQuote ) : mixed
$isQuote
return mixed

getCurrencyCode() public method

public getCurrencyCode ( ) : string
return string

getCurrencyId() public method

public getCurrencyId ( ) : mixed
return mixed

getDateCreated() public method

public getDateCreated ( ) : string
return string

getDisplayName() public method

public getDisplayName ( ) : mixed | string
return mixed | string

getEntityType() public method

public getEntityType ( ) : mixed
return mixed

getGatewayToken() public method

public getGatewayToken ( ) : boolean
return boolean

getImportColumns() public static method

public static getImportColumns ( ) : array
return array

getImportMap() public static method

public static getImportMap ( ) : array
return array

getName() public method

public getName ( ) : mixed
return mixed

getPrimaryContact() public method

public getPrimaryContact ( ) : mixed
return mixed

getRoute() public method

public getRoute ( ) : string
return string

getTotalCredit() public method

public getTotalCredit ( ) : float | integer
return float | integer

hasAddress() public method

public hasAddress ( ) : boolean
return boolean

hasAutoBillConfigurableInvoices() public method

industry() public method

public industry ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

invoices() public method

public invoices ( ) : Illuminate\Database\Eloquent\Relations\HasMany
return Illuminate\Database\Eloquent\Relations\HasMany

language() public method

public language ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

markLoggedIn() public method

public markLoggedIn ( )

payments() public method

public payments ( ) : Illuminate\Database\Eloquent\Relations\HasMany
return Illuminate\Database\Eloquent\Relations\HasMany

quotes() public method

public quotes ( ) : Illuminate\Database\Eloquent\Relations\HasMany
return Illuminate\Database\Eloquent\Relations\HasMany

size() public method

public size ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

updateBalances() public method

public updateBalances ( $balanceAdjustment, $paidToDateAdjustment )
$balanceAdjustment
$paidToDateAdjustment

user() public method

public user ( ) : mixed
return mixed

Property Details

$dates protected property

protected array $dates
return array

$fieldAddress1 public static property

public static string $fieldAddress1
return string

$fieldAddress2 public static property

public static string $fieldAddress2
return string

$fieldCity public static property

public static string $fieldCity
return string

$fieldCountry public static property

public static string $fieldCountry
return string

$fieldName public static property

public static string $fieldName
return string

$fieldNotes public static property

public static string $fieldNotes
return string

$fieldPhone public static property

public static string $fieldPhone
return string

$fieldPostalCode public static property

public static string $fieldPostalCode
return string

$fieldState public static property

public static string $fieldState
return string

$fieldVatNumber public static property

public static string $fieldVatNumber
return string

$fieldWebsite public static property

public static string $fieldWebsite
return string

$fillable protected property

protected array $fillable
return array

$presenter protected property

protected string $presenter
return string