/
home
/
desid573
/
olivercann.tk
/
xero-php-oauth2-master
/
lib
/
Models
/
PayrollUk
/
/home/desid573/olivercann.tk/xero-php-oauth2-master/lib/Models/PayrollUk
mkdir
upload
Name
Size
Mode
Actions
Account.php
9457
0644
edit
dl
rm
Accounts.php
6200
0644
edit
dl
rm
Address.php
9453
0644
edit
dl
rm
BankAccount.php
8113
0644
edit
dl
rm
Benefit.php
20204
0644
edit
dl
rm
BenefitLine.php
9177
0644
edit
dl
rm
BenefitObject.php
7777
0644
edit
dl
rm
Benefits.php
7784
0644
edit
dl
rm
CourtOrderLine.php
6990
0644
edit
dl
rm
Deduction.php
23554
0644
edit
dl
rm
DeductionLine.php
8516
0644
edit
dl
rm
DeductionObject.php
7833
0644
edit
dl
rm
Deductions.php
7840
0644
edit
dl
rm
EarningsLine.php
13056
0644
edit
dl
rm
EarningsOrder.php
9732
0644
edit
dl
rm
EarningsOrderObject.php
8066
0644
edit
dl
rm
EarningsOrders.php
8073
0644
edit
dl
rm
EarningsRate.php
19788
0644
edit
dl
rm
EarningsRateObject.php
7933
0644
edit
dl
rm
EarningsRates.php
7940
0644
edit
dl
rm
EarningsTemplate.php
10290
0644
edit
dl
rm
EarningsTemplateObject.php
8024
0644
edit
dl
rm
Employee.php
18095
0644
edit
dl
rm
EmployeeLeave.php
11532
0644
edit
dl
rm
EmployeeLeaveBalance.php
8362
0644
edit
dl
rm
EmployeeLeaveBalances.php
7996
0644
edit
dl
rm
EmployeeLeaveObject.php
7777
0644
edit
dl
rm
EmployeeLeaves.php
7763
0644
edit
dl
rm
EmployeeLeaveType.php
12790
0644
edit
dl
rm
EmployeeLeaveTypeObject.php
7905
0644
edit
dl
rm
EmployeeLeaveTypes.php
7912
0644
edit
dl
rm
EmployeeObject.php
7805
0644
edit
dl
rm
EmployeeOpeningBalances.php
11792
0644
edit
dl
rm
EmployeeOpeningBalancesObject.php
8073
0644
edit
dl
rm
EmployeePayTemplate.php
7210
0644
edit
dl
rm
EmployeePayTemplateObject.php
7961
0644
edit
dl
rm
EmployeePayTemplates.php
8043
0644
edit
dl
rm
Employees.php
7812
0644
edit
dl
rm
EmployeeStatutoryLeaveBalance.php
10126
0644
edit
dl
rm
EmployeeStatutoryLeaveBalanceObject.php
8052
0644
edit
dl
rm
EmployeeStatutoryLeavesSummaries.php
8109
0644
edit
dl
rm
EmployeeStatutoryLeaveSummary.php
13051
0644
edit
dl
rm
EmployeeStatutorySickLeave.php
22400
0644
edit
dl
rm
EmployeeStatutorySickLeaveObject.php
8173
0644
edit
dl
rm
EmployeeStatutorySickLeaves.php
8159
0644
edit
dl
rm
EmployeeTax.php
14858
0644
edit
dl
rm
EmployeeTaxObject.php
7905
0644
edit
dl
rm
Employment.php
10172
0644
edit
dl
rm
EmploymentObject.php
7861
0644
edit
dl
rm
InvalidField.php
6713
0644
edit
dl
rm
LeaveAccrualLine.php
7066
0644
edit
dl
rm
LeaveEarningsLine.php
10438
0644
edit
dl
rm
LeavePeriod.php
9914
0644
edit
dl
rm
LeavePeriods.php
7791
0644
edit
dl
rm
LeaveType.php
12082
0644
edit
dl
rm
LeaveTypeObject.php
7849
0644
edit
dl
rm
LeaveTypes.php
7856
0644
edit
dl
rm
ModelInterface.php
2025
0644
edit
dl
rm
Pagination.php
8083
0644
edit
dl
rm
PaymentLine.php
9175
0644
edit
dl
rm
PaymentMethod.php
8498
0644
edit
dl
rm
PaymentMethodObject.php
7961
0644
edit
dl
rm
PayRun.php
18919
0644
edit
dl
rm
PayRunCalendar.php
13105
0644
edit
dl
rm
PayRunCalendarObject.php
8005
0644
edit
dl
rm
PayRunCalendars.php
8012
0644
edit
dl
rm
PayRunObject.php
7765
0644
edit
dl
rm
PayRuns.php
7772
0644
edit
dl
rm
Payslip.php
31617
0644
edit
dl
rm
PayslipObject.php
7793
0644
edit
dl
rm
Payslips.php
7800
0644
edit
dl
rm
Problem.php
9586
0644
edit
dl
rm
Reimbursement.php
8726
0644
edit
dl
rm
ReimbursementLine.php
7812
0644
edit
dl
rm
ReimbursementObject.php
7945
0644
edit
dl
rm
Reimbursements.php
7952
0644
edit
dl
rm
SalaryAndWage.php
16174
0644
edit
dl
rm
SalaryAndWageObject.php
7998
0644
edit
dl
rm
SalaryAndWages.php
7984
0644
edit
dl
rm
Settings.php
7781
0644
edit
dl
rm
StatutoryDeduction.php
9641
0644
edit
dl
rm
StatutoryDeductionCategory.php
2313
0644
edit
dl
rm
TaxLine.php
10188
0644
edit
dl
rm
Timesheet.php
14270
0644
edit
dl
rm
TimesheetEarningsLine.php
10484
0644
edit
dl
rm
TimesheetLine.php
9936
0644
edit
dl
rm
TimesheetLineObject.php
7961
0644
edit
dl
rm
TimesheetObject.php
7833
0644
edit
dl
rm
Timesheets.php
7840
0644
edit
dl
rm
TrackingCategories.php
8071
0644
edit
dl
rm
TrackingCategory.php
7856
0644
edit
dl
rm
Edit:
/home/desid573/olivercann.tk/xero-php-oauth2-master/lib/Models/PayrollUk/LeavePeriods.php
(7791B)
<?php /** * LeavePeriods * * PHP version 5 * * @category Class * @package XeroAPI\XeroPHP * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * Xero Payroll UK * * This is the Xero Payroll API for orgs in the UK 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\PayrollUk; use \ArrayAccess; use \XeroAPI\XeroPHP\PayrollUkObjectSerializer; use \XeroAPI\XeroPHP\StringUtil; /** * LeavePeriods Class Doc Comment * * @category Class * @package XeroAPI\XeroPHP * @author OpenAPI Generator team * @link https://openapi-generator.tech */ class LeavePeriods implements ModelInterface, ArrayAccess { const DISCRIMINATOR = null; /** * The original name of the model. * * @var string */ protected static $openAPIModelName = 'LeavePeriods'; /** * Array of property to type mappings. Used for (de)serialization * * @var string[] */ protected static $openAPITypes = [ 'pagination' => '\XeroAPI\XeroPHP\Models\PayrollUk\Pagination', 'problem' => '\XeroAPI\XeroPHP\Models\PayrollUk\Problem', 'periods' => '\XeroAPI\XeroPHP\Models\PayrollUk\LeavePeriod[]' ]; /** * Array of property to format mappings. Used for (de)serialization * * @var string[] */ protected static $openAPIFormats = [ 'pagination' => null, 'problem' => null, 'periods' => 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 = [ 'pagination' => 'pagination', 'problem' => 'problem', 'periods' => 'periods' ]; /** * Array of attributes to setter functions (for deserialization of responses) * * @var string[] */ protected static $setters = [ 'pagination' => 'setPagination', 'problem' => 'setProblem', 'periods' => 'setPeriods' ]; /** * Array of attributes to getter functions (for serialization of requests) * * @var string[] */ protected static $getters = [ 'pagination' => 'getPagination', 'problem' => 'getProblem', 'periods' => 'getPeriods' ]; /** * 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['pagination'] = isset($data['pagination']) ? $data['pagination'] : null; $this->container['problem'] = isset($data['problem']) ? $data['problem'] : null; $this->container['periods'] = isset($data['periods']) ? $data['periods'] : null; } /** * Show all the invalid properties with reasons. * * @return array invalid properties with reasons */ public function listInvalidProperties() { $invalidProperties = []; 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 pagination * * @return \XeroAPI\XeroPHP\Models\PayrollUk\Pagination|null */ public function getPagination() { return $this->container['pagination']; } /** * Sets pagination * * @param \XeroAPI\XeroPHP\Models\PayrollUk\Pagination|null $pagination pagination * * @return $this */ public function setPagination($pagination) { $this->container['pagination'] = $pagination; return $this; } /** * Gets problem * * @return \XeroAPI\XeroPHP\Models\PayrollUk\Problem|null */ public function getProblem() { return $this->container['problem']; } /** * Sets problem * * @param \XeroAPI\XeroPHP\Models\PayrollUk\Problem|null $problem problem * * @return $this */ public function setProblem($problem) { $this->container['problem'] = $problem; return $this; } /** * Gets periods * * @return \XeroAPI\XeroPHP\Models\PayrollUk\LeavePeriod[]|null */ public function getPeriods() { return $this->container['periods']; } /** * Sets periods * * @param \XeroAPI\XeroPHP\Models\PayrollUk\LeavePeriod[]|null $periods periods * * @return $this */ public function setPeriods($periods) { $this->container['periods'] = $periods; 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( PayrollUkObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); } }
Save
cmd:
run