/home/desid573/olivercann.tk/xero-php-oauth2-master/lib/Models/PayrollAu
NameSizeModeActions
Account.php80660644editdlrm
AccountType.php26870644editdlrm
AllowanceType.php15090644editdlrm
APIException.php75280644editdlrm
BankAccount.php99450644editdlrm
CalendarType.php15020644editdlrm
DeductionLine.php96580644editdlrm
DeductionType.php148410644editdlrm
DeductionTypeCalculationType.php13460644editdlrm
EarningsLine.php133140644editdlrm
EarningsRate.php214500644editdlrm
EarningsRateCalculationType.php14030644editdlrm
EarningsType.php20150644editdlrm
Employee.php394860644editdlrm
Employees.php67080644editdlrm
EmployeeStatus.php12810644editdlrm
EmploymentBasis.php14560644editdlrm
EmploymentTerminationPaymentType.php12550644editdlrm
EntitlementFinalPayPayoutType.php12910644editdlrm
HomeAddress.php99240644editdlrm
LeaveAccrualLine.php78830644editdlrm
LeaveApplication.php154210644editdlrm
LeaveApplications.php70280644editdlrm
LeaveBalance.php86100644editdlrm
LeaveEarningsLine.php79110644editdlrm
LeaveLine.php144040644editdlrm
LeaveLineCalculationType.php16870644editdlrm
LeaveLines.php67240644editdlrm
LeavePeriod.php110310644editdlrm
LeavePeriodStatus.php12580644editdlrm
LeaveType.php137320644editdlrm
LeaveTypeContributionType.php14340644editdlrm
ManualTaxType.php15830644editdlrm
ModelInterface.php20320644editdlrm
OpeningBalances.php125010644editdlrm
PayItem.php91680644editdlrm
PayItems.php66890644editdlrm
PaymentFrequencyType.php15810644editdlrm
PayrollCalendar.php151560644editdlrm
PayrollCalendars.php69910644editdlrm
PayRun.php216180644editdlrm
PayRuns.php66580644editdlrm
PayRunStatus.php12220644editdlrm
Payslip.php215030644editdlrm
PayslipLines.php134130644editdlrm
PayslipObject.php62000644editdlrm
Payslips.php66710644editdlrm
PayslipSummary.php143560644editdlrm
PayTemplate.php100310644editdlrm
RateType.php13040644editdlrm
ReimbursementLine.php92170644editdlrm
ReimbursementLines.php71100644editdlrm
ReimbursementType.php101280644editdlrm
ResidencyStatus.php13910644editdlrm
Settings.php82760644editdlrm
SettingsObject.php62280644editdlrm
SettingsTrackingCategories.php77180644editdlrm
SettingsTrackingCategoriesEmployeeGroups.php75100644editdlrm
SettingsTrackingCategoriesTimesheetCategories.php75310644editdlrm
State.php15140644editdlrm
SuperannuationCalculationType.php13970644editdlrm
SuperannuationContributionType.php14490644editdlrm
SuperannuationLine.php148970644editdlrm
SuperFund.php159120644editdlrm
SuperFundProduct.php81660644editdlrm
SuperFundProducts.php70520644editdlrm
SuperFunds.php67690644editdlrm
SuperFundType.php12310644editdlrm
SuperLine.php126210644editdlrm
SuperMembership.php82770644editdlrm
TaxDeclaration.php222100644editdlrm
TaxLine.php103800644editdlrm
TFNExemptionType.php13710644editdlrm
Timesheet.php148280644editdlrm
TimesheetLine.php92310644editdlrm
TimesheetObject.php62560644editdlrm
Timesheets.php67450644editdlrm
TimesheetStatus.php14260644editdlrm
ValidationError.php61200644editdlrm
Edit: /home/desid573/olivercann.tk/xero-php-oauth2-master/lib/Models/PayrollAu/SuperFund.php (15912B)
'string', 'type' => '\XeroAPI\XeroPHP\Models\PayrollAu\SuperFundType', 'name' => 'string', 'abn' => 'string', 'bsb' => 'string', 'account_number' => 'string', 'account_name' => 'string', 'electronic_service_address' => 'string', 'employer_number' => 'string', 'spin' => 'string', 'usi' => 'string', 'updated_date_utc' => 'string', 'validation_errors' => '\XeroAPI\XeroPHP\Models\PayrollAu\ValidationError[]' ]; /** * Array of property to format mappings. Used for (de)serialization * * @var string[] */ protected static $openAPIFormats = [ 'super_fund_id' => 'uuid', 'type' => null, 'name' => null, 'abn' => null, 'bsb' => null, 'account_number' => null, 'account_name' => null, 'electronic_service_address' => null, 'employer_number' => null, 'spin' => null, 'usi' => null, 'updated_date_utc' => null, 'validation_errors' => null ]; /** * Array of property to type mappings. Used for (de)serialization * * @return array */ public static function openAPITypes() { return self::$openAPITypes; } /** * Array of property to format mappings. Used for (de)serialization * * @return array */ public static function openAPIFormats() { return self::$openAPIFormats; } /** * Array of attributes where the key is the local name, * and the value is the original name * * @var string[] */ protected static $attributeMap = [ 'super_fund_id' => 'SuperFundID', 'type' => 'Type', 'name' => 'Name', 'abn' => 'ABN', 'bsb' => 'BSB', 'account_number' => 'AccountNumber', 'account_name' => 'AccountName', 'electronic_service_address' => 'ElectronicServiceAddress', 'employer_number' => 'EmployerNumber', 'spin' => 'SPIN', 'usi' => 'USI', 'updated_date_utc' => 'UpdatedDateUTC', 'validation_errors' => 'ValidationErrors' ]; /** * Array of attributes to setter functions (for deserialization of responses) * * @var string[] */ protected static $setters = [ 'super_fund_id' => 'setSuperFundId', 'type' => 'setType', 'name' => 'setName', 'abn' => 'setAbn', 'bsb' => 'setBsb', 'account_number' => 'setAccountNumber', 'account_name' => 'setAccountName', 'electronic_service_address' => 'setElectronicServiceAddress', 'employer_number' => 'setEmployerNumber', 'spin' => 'setSpin', 'usi' => 'setUsi', 'updated_date_utc' => 'setUpdatedDateUtc', 'validation_errors' => 'setValidationErrors' ]; /** * Array of attributes to getter functions (for serialization of requests) * * @var string[] */ protected static $getters = [ 'super_fund_id' => 'getSuperFundId', 'type' => 'getType', 'name' => 'getName', 'abn' => 'getAbn', 'bsb' => 'getBsb', 'account_number' => 'getAccountNumber', 'account_name' => 'getAccountName', 'electronic_service_address' => 'getElectronicServiceAddress', 'employer_number' => 'getEmployerNumber', 'spin' => 'getSpin', 'usi' => 'getUsi', 'updated_date_utc' => 'getUpdatedDateUtc', 'validation_errors' => 'getValidationErrors' ]; /** * Array of attributes where the key is the local name, * and the value is the original name * * @return array */ public static function attributeMap() { return self::$attributeMap; } /** * Array of attributes to setter functions (for deserialization of responses) * * @return array */ public static function setters() { return self::$setters; } /** * Array of attributes to getter functions (for serialization of requests) * * @return array */ public static function getters() { return self::$getters; } /** * The original name of the model. * * @return string */ public function getModelName() { return self::$openAPIModelName; } /** * Associative array for storing property values * * @var mixed[] */ protected $container = []; /** * Constructor * * @param mixed[] $data Associated array of property values * initializing the model */ public function __construct(array $data = null) { $this->container['super_fund_id'] = isset($data['super_fund_id']) ? $data['super_fund_id'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['abn'] = isset($data['abn']) ? $data['abn'] : null; $this->container['bsb'] = isset($data['bsb']) ? $data['bsb'] : null; $this->container['account_number'] = isset($data['account_number']) ? $data['account_number'] : null; $this->container['account_name'] = isset($data['account_name']) ? $data['account_name'] : null; $this->container['electronic_service_address'] = isset($data['electronic_service_address']) ? $data['electronic_service_address'] : null; $this->container['employer_number'] = isset($data['employer_number']) ? $data['employer_number'] : null; $this->container['spin'] = isset($data['spin']) ? $data['spin'] : null; $this->container['usi'] = isset($data['usi']) ? $data['usi'] : null; $this->container['updated_date_utc'] = isset($data['updated_date_utc']) ? $data['updated_date_utc'] : null; $this->container['validation_errors'] = isset($data['validation_errors']) ? $data['validation_errors'] : null; } /** * Show all the invalid properties with reasons. * * @return array invalid properties with reasons */ public function listInvalidProperties() { $invalidProperties = []; if ($this->container['type'] === null) { $invalidProperties[] = "'type' can't be null"; } return $invalidProperties; } /** * Validate all the properties in the model * return true if all passed * * @return bool True if all properties are valid */ public function valid() { return count($this->listInvalidProperties()) === 0; } /** * Gets super_fund_id * * @return string|null */ public function getSuperFundId() { return $this->container['super_fund_id']; } /** * Sets super_fund_id * * @param string|null $super_fund_id Xero identifier for a super fund * * @return $this */ public function setSuperFundId($super_fund_id) { $this->container['super_fund_id'] = $super_fund_id; return $this; } /** * Gets type * * @return \XeroAPI\XeroPHP\Models\PayrollAu\SuperFundType */ public function getType() { return $this->container['type']; } /** * Sets type * * @param \XeroAPI\XeroPHP\Models\PayrollAu\SuperFundType $type type * * @return $this */ public function setType($type) { $this->container['type'] = $type; return $this; } /** * Gets name * * @return string|null */ public function getName() { return $this->container['name']; } /** * Sets name * * @param string|null $name Name of the super fund * * @return $this */ public function setName($name) { $this->container['name'] = $name; return $this; } /** * Gets abn * * @return string|null */ public function getAbn() { return $this->container['abn']; } /** * Sets abn * * @param string|null $abn ABN of the self managed super fund * * @return $this */ public function setAbn($abn) { $this->container['abn'] = $abn; return $this; } /** * Gets bsb * * @return string|null */ public function getBsb() { return $this->container['bsb']; } /** * Sets bsb * * @param string|null $bsb BSB of the self managed super fund * * @return $this */ public function setBsb($bsb) { $this->container['bsb'] = $bsb; return $this; } /** * Gets account_number * * @return string|null */ public function getAccountNumber() { return $this->container['account_number']; } /** * Sets account_number * * @param string|null $account_number The account number for the self managed super fund. * * @return $this */ public function setAccountNumber($account_number) { $this->container['account_number'] = $account_number; return $this; } /** * Gets account_name * * @return string|null */ public function getAccountName() { return $this->container['account_name']; } /** * Sets account_name * * @param string|null $account_name The account name for the self managed super fund. * * @return $this */ public function setAccountName($account_name) { $this->container['account_name'] = $account_name; return $this; } /** * Gets electronic_service_address * * @return string|null */ public function getElectronicServiceAddress() { return $this->container['electronic_service_address']; } /** * Sets electronic_service_address * * @param string|null $electronic_service_address The electronic service address for the self managed super fund. * * @return $this */ public function setElectronicServiceAddress($electronic_service_address) { $this->container['electronic_service_address'] = $electronic_service_address; return $this; } /** * Gets employer_number * * @return string|null */ public function getEmployerNumber() { return $this->container['employer_number']; } /** * Sets employer_number * * @param string|null $employer_number Some funds assign a unique number to each employer * * @return $this */ public function setEmployerNumber($employer_number) { $this->container['employer_number'] = $employer_number; return $this; } /** * Gets spin * * @return string|null */ public function getSpin() { return $this->container['spin']; } /** * Sets spin * * @param string|null $spin The SPIN of the Regulated SuperFund. This field has been deprecated. It will only be present for legacy superfunds. New superfunds will not have a SPIN value. The USI field should be used instead of SPIN. * * @return $this */ public function setSpin($spin) { $this->container['spin'] = $spin; return $this; } /** * Gets usi * * @return string|null */ public function getUsi() { return $this->container['usi']; } /** * Sets usi * * @param string|null $usi The USI of the Regulated SuperFund * * @return $this */ public function setUsi($usi) { $this->container['usi'] = $usi; return $this; } /** * Gets updated_date_utc * * @return string|null */ public function getUpdatedDateUtc() { return $this->container['updated_date_utc']; } public function getUpdatedDateUtcAsDate() { if ($this->getUpdatedDateUtc() != null) { return StringUtil::convertStringToDateTime($this->getUpdatedDateUtc()); } else { throw new \Exception('can not convert null string to date'); } } /** * Sets updated_date_utc * * @param string|null $updated_date_utc Last modified timestamp * * @return $this */ public function setUpdatedDateUtc($updated_date_utc) { $this->container['updated_date_utc'] = $updated_date_utc; return $this; } /** * Gets validation_errors * * @return \XeroAPI\XeroPHP\Models\PayrollAu\ValidationError[]|null */ public function getValidationErrors() { return $this->container['validation_errors']; } /** * Sets validation_errors * * @param \XeroAPI\XeroPHP\Models\PayrollAu\ValidationError[]|null $validation_errors Displays array of validation error messages from the API * * @return $this */ public function setValidationErrors($validation_errors) { $this->container['validation_errors'] = $validation_errors; return $this; } /** * Returns true if offset exists. False otherwise. * * @param integer $offset Offset * * @return boolean */ public function offsetExists($offset) { return isset($this->container[$offset]); } /** * Gets offset. * * @param integer $offset Offset * * @return mixed */ public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; } /** * Sets value based on offset. * * @param integer $offset Offset * @param mixed $value Value to be set * * @return void */ public function offsetSet($offset, $value) { if (is_null($offset)) { $this->container[] = $value; } else { $this->container[$offset] = $value; } } /** * Unsets offset. * * @param integer $offset Offset * * @return void */ public function offsetUnset($offset) { unset($this->container[$offset]); } /** * Gets the string presentation of the object * * @return string */ public function __toString() { return json_encode( PayrollAuObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); } }