Assignment
class Assignment extends Model implements Segregatable
Class Assignment
Traits
Constants
| CLEARABLES |
Clearable Transaction Types |
| ASSIGNABLES |
Assignable Transaction Types |
Properties
| protected array | $fillable | The attributes that are mass assignable. |
|
| Entity | $entity | ||
| Assignable | $transaction | ||
| Clearable | $cleared | ||
| float | $amount | ||
| Carbon | $destroyed_at | ||
| Carbon | $deleted_at |
Methods
Bulk assign a transaction to outstanding Transactions, under FIFO (First in first out) methodology
Assignment Validation.
Instance Identifier.
Transaction to be cleared.
Transaction|Balance to be cleared.
Account for posting Exchange Rate Differences.
Assignment attributes.
Details
in
Segregating at line 28
static void
bootSegregating()
Register EntityScope for Model.
in
Segregating at line 46
BelongsTo
entity()
Model's Parent Entity.
in
ModelTablePrefix at line 22
getTable()
Determine the model table name
at line 107
static void
bulkAssign(Assignable $transaction)
Bulk assign a transaction to outstanding Transactions, under FIFO (First in first out) methodology
at line 143
bool
save(array $options = [])
Assignment Validation.
at line 250
string
toString($type = false)
Instance Identifier.
at line 262
BelongsTo
transaction()
Transaction to be cleared.
at line 272
MorphTo
cleared()
Transaction|Balance to be cleared.
at line 282
HasOne
forexAccount()
Account for posting Exchange Rate Differences.
at line 292
object
attributes()
Assignment attributes.