/home/desid573/olivercann.tk/xero-php-oauth2-master/lib/Models/PayrollNz
NameSizeModeActions
Account.php91930644editdlrm
Accounts.php62000644editdlrm
Address.php101090644editdlrm
BankAccount.php131550644editdlrm
Benefit.php162330644editdlrm
CalendarType.php15990644editdlrm
Deduction.php123570644editdlrm
DeductionLine.php92940644editdlrm
DeductionObject.php78330644editdlrm
Deductions.php78400644editdlrm
EarningsLine.php139940644editdlrm
EarningsOrder.php97320644editdlrm
EarningsOrderObject.php80660644editdlrm
EarningsOrders.php80730644editdlrm
EarningsRate.php184100644editdlrm
EarningsRateObject.php79330644editdlrm
EarningsRates.php79400644editdlrm
EarningsTemplate.php102900644editdlrm
EarningsTemplateObject.php80240644editdlrm
Employee.php170600644editdlrm
EmployeeEarningsTemplates.php80630644editdlrm
EmployeeLeave.php115320644editdlrm
EmployeeLeaveBalance.php83620644editdlrm
EmployeeLeaveBalances.php79960644editdlrm
EmployeeLeaveObject.php77770644editdlrm
EmployeeLeaves.php77630644editdlrm
EmployeeLeaveSetup.php137830644editdlrm
EmployeeLeaveSetupObject.php79330644editdlrm
EmployeeLeaveType.php172110644editdlrm
EmployeeLeaveTypeObject.php79050644editdlrm
EmployeeLeaveTypes.php79120644editdlrm
EmployeeObject.php78050644editdlrm
EmployeeOpeningBalance.php85910644editdlrm
EmployeeOpeningBalancesObject.php80760644editdlrm
EmployeePayTemplate.php72100644editdlrm
EmployeePayTemplateObject.php79610644editdlrm
EmployeePayTemplates.php79410644editdlrm
Employees.php78120644editdlrm
EmployeeStatutoryLeaveBalance.php101260644editdlrm
EmployeeStatutoryLeaveBalanceObject.php80520644editdlrm
EmployeeStatutoryLeavesSummaries.php81090644editdlrm
EmployeeStatutoryLeaveSummary.php130510644editdlrm
EmployeeStatutorySickLeave.php224000644editdlrm
EmployeeStatutorySickLeaveObject.php81730644editdlrm
EmployeeStatutorySickLeaves.php81590644editdlrm
EmployeeTax.php253150644editdlrm
EmployeeTaxObject.php79050644editdlrm
Employment.php80790644editdlrm
EmploymentObject.php78610644editdlrm
GrossEarningsHistory.php70050644editdlrm
InvalidField.php67130644editdlrm
LeaveAccrualLine.php70660644editdlrm
LeaveEarningsLine.php140500644editdlrm
LeavePeriod.php99140644editdlrm
LeavePeriods.php77910644editdlrm
LeaveType.php104760644editdlrm
LeaveTypeObject.php78490644editdlrm
LeaveTypes.php78560644editdlrm
ModelInterface.php20250644editdlrm
Pagination.php80830644editdlrm
PaymentLine.php91750644editdlrm
PaymentMethod.php83990644editdlrm
PaymentMethodObject.php79610644editdlrm
PayRun.php175080644editdlrm
PayRunCalendar.php117300644editdlrm
PayRunCalendarObject.php80050644editdlrm
PayRunCalendars.php80120644editdlrm
PayRunObject.php77650644editdlrm
PayRuns.php77720644editdlrm
PaySlip.php342250644editdlrm
PaySlipObject.php77930644editdlrm
PaySlips.php78000644editdlrm
Problem.php95860644editdlrm
Reimbursement.php173360644editdlrm
ReimbursementLine.php94350644editdlrm
ReimbursementObject.php79450644editdlrm
Reimbursements.php79520644editdlrm
SalaryAndWage.php171110644editdlrm
SalaryAndWageObject.php79980644editdlrm
SalaryAndWages.php79840644editdlrm
Settings.php77810644editdlrm
StatutoryDeduction.php96410644editdlrm
StatutoryDeductionCategory.php20970644editdlrm
StatutoryDeductionLine.php88630644editdlrm
StatutoryDeductionObject.php81010644editdlrm
StatutoryDeductions.php81080644editdlrm
SuperannuationLine.php102270644editdlrm
SuperannuationObject.php78050644editdlrm
Superannuations.php78120644editdlrm
TaxCode.php20030644editdlrm
TaxLine.php93050644editdlrm
TaxSettings.php113820644editdlrm
Timesheet.php143480644editdlrm
TimesheetEarningsLine.php140660644editdlrm
TimesheetLine.php99360644editdlrm
TimesheetLineObject.php79610644editdlrm
TimesheetObject.php78330644editdlrm
Timesheets.php78400644editdlrm
TrackingCategories.php80710644editdlrm
TrackingCategory.php78560644editdlrm
Edit: /home/desid573/olivercann.tk/xero-php-oauth2-master/lib/Models/PayrollNz/StatutoryDeduction.php (9641B)
'string', 'name' => 'string', 'statutory_deduction_category' => '\XeroAPI\XeroPHP\Models\PayrollNz\StatutoryDeductionCategory', 'liability_account_id' => 'string', 'current_record' => 'bool' ]; /** * Array of property to format mappings. Used for (de)serialization * * @var string[] */ protected static $openAPIFormats = [ 'id' => 'uuid', 'name' => null, 'statutory_deduction_category' => null, 'liability_account_id' => 'uuid', 'current_record' => 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 = [ 'id' => 'id', 'name' => 'name', 'statutory_deduction_category' => 'statutoryDeductionCategory', 'liability_account_id' => 'liabilityAccountId', 'current_record' => 'currentRecord' ]; /** * Array of attributes to setter functions (for deserialization of responses) * * @var string[] */ protected static $setters = [ 'id' => 'setId', 'name' => 'setName', 'statutory_deduction_category' => 'setStatutoryDeductionCategory', 'liability_account_id' => 'setLiabilityAccountId', 'current_record' => 'setCurrentRecord' ]; /** * Array of attributes to getter functions (for serialization of requests) * * @var string[] */ protected static $getters = [ 'id' => 'getId', 'name' => 'getName', 'statutory_deduction_category' => 'getStatutoryDeductionCategory', 'liability_account_id' => 'getLiabilityAccountId', 'current_record' => 'getCurrentRecord' ]; /** * 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['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['statutory_deduction_category'] = isset($data['statutory_deduction_category']) ? $data['statutory_deduction_category'] : null; $this->container['liability_account_id'] = isset($data['liability_account_id']) ? $data['liability_account_id'] : null; $this->container['current_record'] = isset($data['current_record']) ? $data['current_record'] : 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 id * * @return string|null */ public function getId() { return $this->container['id']; } /** * Sets id * * @param string|null $id The Xero identifier for earnings order * * @return $this */ public function setId($id) { $this->container['id'] = $id; return $this; } /** * Gets name * * @return string|null */ public function getName() { return $this->container['name']; } /** * Sets name * * @param string|null $name Name of the earnings order * * @return $this */ public function setName($name) { $this->container['name'] = $name; return $this; } /** * Gets statutory_deduction_category * * @return \XeroAPI\XeroPHP\Models\PayrollNz\StatutoryDeductionCategory|null */ public function getStatutoryDeductionCategory() { return $this->container['statutory_deduction_category']; } /** * Sets statutory_deduction_category * * @param \XeroAPI\XeroPHP\Models\PayrollNz\StatutoryDeductionCategory|null $statutory_deduction_category statutory_deduction_category * * @return $this */ public function setStatutoryDeductionCategory($statutory_deduction_category) { $this->container['statutory_deduction_category'] = $statutory_deduction_category; return $this; } /** * Gets liability_account_id * * @return string|null */ public function getLiabilityAccountId() { return $this->container['liability_account_id']; } /** * Sets liability_account_id * * @param string|null $liability_account_id Xero identifier for Liability Account * * @return $this */ public function setLiabilityAccountId($liability_account_id) { $this->container['liability_account_id'] = $liability_account_id; return $this; } /** * Gets current_record * * @return bool|null */ public function getCurrentRecord() { return $this->container['current_record']; } /** * Sets current_record * * @param bool|null $current_record Identifier of a record is active or not. * * @return $this */ public function setCurrentRecord($current_record) { $this->container['current_record'] = $current_record; 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( PayrollNzObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); } }