Resource Description for StaffContract

Properties for StaffContract

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
contractName string
contractReference string
endDate DateTime
expectedEndDate DateTime
issuedDate DateTime
lastPayReviewDate DateTime
payrollNumber string
staff Staff
staffDestination StaffDestination
staffEmploymentType StaffEmploymentType
staffOrigin StaffOrigin
startDate DateTime
superannuationScheme SuperannuationScheme

SDK Example for PHP

<?PHP

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

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

$staffContract = StaffContract::retrieve(5433);

$staff = $staffContract->getStaff();
$staffEmploymentType = $staffContract->getStaffEmploymentType();
$contractName = $staffContract->getContractName();
$contractReference = $staffContract->getContractReference();
$issuedDate = $staffContract->getIssuedDate();
$startDate = $staffContract->getStartDate();
$expectedEndDate = $staffContract->getExpectedEndDate();
$endDate = $staffContract->getEndDate();
$staffOrigin = $staffContract->getStaffOrigin();
$staffDestination = $staffContract->getStaffDestination();
$superannuationScheme = $staffContract->getSuperannuationScheme();

 

Related Resources