Resource Description for StaffContractPostAllowance

Properties for StaffContractPostAllowance

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
allowanceType string
benefitInKind bool
effectiveDate DateTime
endDate DateTime
grossAllowance string
linkedAllowance Allowance
niStatus bool
payFactor float
reason string
staffContractPost StaffContractPost
superannuation bool

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\StaffContractPostAllowance;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$staffContractPostAllowance = StaffContractPostAllowance::retrieve(5433);

$staffContractPost = $staffContractPostAllowance->getStaffContractPost();
$linkedAllowance = $staffContractPostAllowance->getLinkedAllowance();
$effectiveDate = $staffContractPostAllowance->getEffectiveDate();
$endDate = $staffContractPostAllowance->getEndDate();
$allowance = $staffContractPostAllowance->getAllowance();
$reason = $staffContractPostAllowance->getReason();

 

Related Resources