diff --git a/docs/accounting/index.html b/docs/accounting/index.html index db3d3764..5235dce9 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -6216,7 +6216,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createAccount diff --git a/docs/app_store/index.html b/docs/app_store/index.html index f048f32f..df415abb 100644 --- a/docs/app_store/index.html +++ b/docs/app_store/index.html @@ -1241,7 +1241,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods getSubscription diff --git a/docs/assets/index.html b/docs/assets/index.html index a571d61b..b48caeea 100644 --- a/docs/assets/index.html +++ b/docs/assets/index.html @@ -1392,7 +1392,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createAsset diff --git a/docs/files/index.html b/docs/files/index.html index fab1065a..b4f8d0f7 100644 --- a/docs/files/index.html +++ b/docs/files/index.html @@ -1170,7 +1170,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createFileAssociation diff --git a/docs/finance/index.html b/docs/finance/index.html index 9bd5b212..dd470d76 100644 --- a/docs/finance/index.html +++ b/docs/finance/index.html @@ -2737,7 +2737,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods getAccountingActivityAccountUsage diff --git a/docs/payroll_au/index.html b/docs/payroll_au/index.html index 08c69c74..edd1b6f3 100644 --- a/docs/payroll_au/index.html +++ b/docs/payroll_au/index.html @@ -3412,7 +3412,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods approveLeaveApplication diff --git a/docs/payroll_nz/index.html b/docs/payroll_nz/index.html index 4e11be44..a899fa66 100644 --- a/docs/payroll_nz/index.html +++ b/docs/payroll_nz/index.html @@ -4031,7 +4031,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods approveTimesheet diff --git a/docs/payroll_uk/EmployeeLeaveType.md b/docs/payroll_uk/EmployeeLeaveType.md index 6d163876..7f3e8428 100644 --- a/docs/payroll_uk/EmployeeLeaveType.md +++ b/docs/payroll_uk/EmployeeLeaveType.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **maximum_to_accrue** | **Float** | The maximum number of hours that can be accrued for the leave | [optional] **opening_balance** | **Float** | The initial number of hours assigned when the leave was added to the employee | [optional] **rate_accrued_hourly** | **Float** | The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\" | [optional] +**schedule_of_accrual_date** | **Date** | The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\" | [optional] ## Code Sample @@ -21,7 +22,8 @@ instance = XeroRuby::PayrollUk::EmployeeLeaveType.new(leave_type_id: null, hours_accrued_annually: null, maximum_to_accrue: null, opening_balance: null, - rate_accrued_hourly: null) + rate_accrued_hourly: null, + schedule_of_accrual_date: Mon Apr 01 00:00:00 GMT 2024) ``` diff --git a/docs/payroll_uk/index.html b/docs/payroll_uk/index.html index 02a950a4..4e0bf3f8 100644 --- a/docs/payroll_uk/index.html +++ b/docs/payroll_uk/index.html @@ -1750,6 +1750,13 @@ "type" : "number", "description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"", "format" : "double" + }, + "scheduleOfAccrualDate" : { + "type" : "string", + "description" : "The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"", + "format" : "date", + "example" : "2024-04-01", + "x-is-date" : true } }, "description" : "" @@ -3510,7 +3517,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods approveTimesheet @@ -4844,7 +4851,8 @@ Usage and SDK Samples employee_leave_type = { leave_type_id: "00000000-0000-0000-0000-000000000000", schedule_of_accrual: XeroRuby::PayrollUk::EmployeeLeaveType::schedule_of_accrual::BEGINNINGOFCALENDARYEAR, - opening_balance: 5.25 + opening_balance: 5.25, + schedule_of_accrual_date: } begin diff --git a/docs/projects/index.html b/docs/projects/index.html index d63e999f..f7ce0cf2 100644 --- a/docs/projects/index.html +++ b/docs/projects/index.html @@ -1462,7 +1462,7 @@ SDK: - VSN: 9.2.0 + VSN: 9.3.0 Methods createProject diff --git a/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb b/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb index d3c60d04..6fdca385 100644 --- a/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb +++ b/lib/xero-ruby/models/payroll_uk/employee_leave_type.rb @@ -38,6 +38,9 @@ class EmployeeLeaveType # The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\" attr_accessor :rate_accrued_hourly + # The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\" + attr_accessor :schedule_of_accrual_date + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -68,7 +71,8 @@ def self.attribute_map :'hours_accrued_annually' => :'hoursAccruedAnnually', :'maximum_to_accrue' => :'maximumToAccrue', :'opening_balance' => :'openingBalance', - :'rate_accrued_hourly' => :'rateAccruedHourly' + :'rate_accrued_hourly' => :'rateAccruedHourly', + :'schedule_of_accrual_date' => :'scheduleOfAccrualDate' } end @@ -80,7 +84,8 @@ def self.openapi_types :'hours_accrued_annually' => :'Float', :'maximum_to_accrue' => :'Float', :'opening_balance' => :'Float', - :'rate_accrued_hourly' => :'Float' + :'rate_accrued_hourly' => :'Float', + :'schedule_of_accrual_date' => :'Date' } end @@ -122,6 +127,10 @@ def initialize(attributes = {}) if attributes.key?(:'rate_accrued_hourly') self.rate_accrued_hourly = attributes[:'rate_accrued_hourly'] end + + if attributes.key?(:'schedule_of_accrual_date') + self.schedule_of_accrual_date = attributes[:'schedule_of_accrual_date'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -169,7 +178,8 @@ def ==(o) hours_accrued_annually == o.hours_accrued_annually && maximum_to_accrue == o.maximum_to_accrue && opening_balance == o.opening_balance && - rate_accrued_hourly == o.rate_accrued_hourly + rate_accrued_hourly == o.rate_accrued_hourly && + schedule_of_accrual_date == o.schedule_of_accrual_date end # @see the `==` method @@ -181,7 +191,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [leave_type_id, schedule_of_accrual, hours_accrued_annually, maximum_to_accrue, opening_balance, rate_accrued_hourly].hash + [leave_type_id, schedule_of_accrual, hours_accrued_annually, maximum_to_accrue, opening_balance, rate_accrued_hourly, schedule_of_accrual_date].hash end # Builds the object from hash diff --git a/lib/xero-ruby/version.rb b/lib/xero-ruby/version.rb index 86229d00..0cd32d2e 100644 --- a/lib/xero-ruby/version.rb +++ b/lib/xero-ruby/version.rb @@ -7,9 +7,9 @@ Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 -The version of the XeroOpenAPI document: 6.2.0 +The version of the XeroOpenAPI document: 6.3.0 =end module XeroRuby - VERSION = '9.2.0' + VERSION = '9.3.0' end