Assignment
class Assignment extends Model implements Segragatable
Class Assignment
Traits
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
static void
bulkAssign(Assignable $transaction)
Bulk assign a transaction to outstanding Transactions, under FIFO (First in first out) methodology
BelongsTo
transaction()
Transaction to be cleared.
MorphTo
cleared()
Transaction|Balance to be cleared.
HasOne
forexAccount()
Account for posting Exchange Rate Differences.
object
attributes()
Assignment attributes.
bool
save(array $options = [])
Assignment Validation.
Details
in Segragating at line 29
static null
bootSegragating()
Register EntityScope for Model.
in Segragating at line 54
HasOne
entity()
Model's Parent Entity.
in ModelTablePrefix at line 20
getTable()
Determine the model table name
at line 71
static void
bulkAssign(Assignable $transaction)
Bulk assign a transaction to outstanding Transactions, under FIFO (First in first out) methodology
at line 185
BelongsTo
transaction()
Transaction to be cleared.
at line 195
MorphTo
cleared()
Transaction|Balance to be cleared.
at line 205
HasOne
forexAccount()
Account for posting Exchange Rate Differences.
at line 215
object
attributes()
Assignment attributes.
at line 223
bool
save(array $options = [])
Assignment Validation.