/
home
/
desid573
/
public_html
/
payment
/
xero-php-oauth2-master
/
lib
/
Models
/
PayrollAu
/
/home/desid573/public_html/payment/xero-php-oauth2-master/lib/Models/PayrollAu
mkdir
upload
Name
Size
Mode
Actions
Account.php
8066
0644
edit
dl
rm
AccountType.php
2687
0644
edit
dl
rm
AllowanceType.php
1509
0644
edit
dl
rm
APIException.php
7528
0644
edit
dl
rm
BankAccount.php
9945
0644
edit
dl
rm
CalendarType.php
1502
0644
edit
dl
rm
DeductionLine.php
9658
0644
edit
dl
rm
DeductionType.php
14841
0644
edit
dl
rm
DeductionTypeCalculationType.php
1346
0644
edit
dl
rm
EarningsLine.php
13314
0644
edit
dl
rm
EarningsRate.php
21450
0644
edit
dl
rm
EarningsRateCalculationType.php
1403
0644
edit
dl
rm
EarningsType.php
1878
0644
edit
dl
rm
Employee.php
35909
0644
edit
dl
rm
Employees.php
6708
0644
edit
dl
rm
EmployeeStatus.php
1281
0644
edit
dl
rm
EmploymentBasis.php
1456
0644
edit
dl
rm
EmploymentTerminationPaymentType.php
1255
0644
edit
dl
rm
EntitlementFinalPayPayoutType.php
1291
0644
edit
dl
rm
HomeAddress.php
9924
0644
edit
dl
rm
LeaveAccrualLine.php
7883
0644
edit
dl
rm
LeaveApplication.php
15421
0644
edit
dl
rm
LeaveApplications.php
7028
0644
edit
dl
rm
LeaveBalance.php
8610
0644
edit
dl
rm
LeaveEarningsLine.php
7911
0644
edit
dl
rm
LeaveLine.php
14404
0644
edit
dl
rm
LeaveLineCalculationType.php
1687
0644
edit
dl
rm
LeaveLines.php
6724
0644
edit
dl
rm
LeavePeriod.php
11031
0644
edit
dl
rm
LeavePeriodStatus.php
1258
0644
edit
dl
rm
LeaveType.php
13732
0644
edit
dl
rm
LeaveTypeContributionType.php
1434
0644
edit
dl
rm
ManualTaxType.php
1499
0644
edit
dl
rm
ModelInterface.php
2032
0644
edit
dl
rm
OpeningBalances.php
12501
0644
edit
dl
rm
PayItem.php
9168
0644
edit
dl
rm
PayItems.php
6689
0644
edit
dl
rm
PaymentFrequencyType.php
1581
0644
edit
dl
rm
PayrollCalendar.php
13482
0644
edit
dl
rm
PayrollCalendars.php
6991
0644
edit
dl
rm
PayRun.php
21618
0644
edit
dl
rm
PayRuns.php
6658
0644
edit
dl
rm
PayRunStatus.php
1222
0644
edit
dl
rm
Payslip.php
21503
0644
edit
dl
rm
PayslipLines.php
13413
0644
edit
dl
rm
PayslipObject.php
6200
0644
edit
dl
rm
Payslips.php
6671
0644
edit
dl
rm
PayslipSummary.php
14356
0644
edit
dl
rm
PayTemplate.php
10031
0644
edit
dl
rm
RateType.php
1304
0644
edit
dl
rm
ReimbursementLine.php
9217
0644
edit
dl
rm
ReimbursementLines.php
7110
0644
edit
dl
rm
ReimbursementType.php
10128
0644
edit
dl
rm
ResidencyStatus.php
1391
0644
edit
dl
rm
Settings.php
8276
0644
edit
dl
rm
SettingsObject.php
6228
0644
edit
dl
rm
SettingsTrackingCategories.php
7718
0644
edit
dl
rm
SettingsTrackingCategoriesEmployeeGroups.php
7510
0644
edit
dl
rm
SettingsTrackingCategoriesTimesheetCategories.php
7531
0644
edit
dl
rm
State.php
1514
0644
edit
dl
rm
SuperannuationCalculationType.php
1397
0644
edit
dl
rm
SuperannuationContributionType.php
1449
0644
edit
dl
rm
SuperannuationLine.php
14897
0644
edit
dl
rm
SuperFund.php
15912
0644
edit
dl
rm
SuperFundProduct.php
8166
0644
edit
dl
rm
SuperFundProducts.php
7052
0644
edit
dl
rm
SuperFunds.php
6769
0644
edit
dl
rm
SuperFundType.php
1231
0644
edit
dl
rm
SuperLine.php
12621
0644
edit
dl
rm
SuperMembership.php
8277
0644
edit
dl
rm
TaxDeclaration.php
22210
0644
edit
dl
rm
TaxLine.php
10380
0644
edit
dl
rm
TFNExemptionType.php
1371
0644
edit
dl
rm
Timesheet.php
14828
0644
edit
dl
rm
TimesheetLine.php
9231
0644
edit
dl
rm
TimesheetObject.php
6256
0644
edit
dl
rm
Timesheets.php
6745
0644
edit
dl
rm
TimesheetStatus.php
1426
0644
edit
dl
rm
ValidationError.php
6120
0644
edit
dl
rm
Edit:
/home/desid573/public_html/payment/xero-php-oauth2-master/lib/Models/PayrollAu/SuperFund.php
(15912B)
<?php /** * SuperFund * * PHP version 5 * * @category Class * @package XeroAPI\XeroPHP * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Xero Payroll AU API * * This is the Xero Payroll API for orgs in Australia region. * * Contact: api@xero.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 4.3.1 */ /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ namespace XeroAPI\XeroPHP\Models\PayrollAu; use \ArrayAccess; use \XeroAPI\XeroPHP\PayrollAuObjectSerializer; use \XeroAPI\XeroPHP\StringUtil; /** * SuperFund Class Doc Comment * * @category Class * @package XeroAPI\XeroPHP * @author OpenAPI Generator team * @link https://openapi-generator.tech */ class SuperFund implements ModelInterface, ArrayAccess { const DISCRIMINATOR = null; /** * The original name of the model. * * @var string */ protected static $openAPIModelName = 'SuperFund'; /** * Array of property to type mappings. Used for (de)serialization * * @var string[] */ protected static $openAPITypes = [ 'super_fund_id' => '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 ); } }
Save
cmd:
run