Class: GustoEmbedded::Models::Operations::PutV1EmployeesEmployeeIdPaymentMethodRequestBody
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PutV1EmployeesEmployeeIdPaymentMethodRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/put_v1_employees_employee_id_payment_method_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(version:, type:, split_by: nil, splits: nil) ⇒ PutV1EmployeesEmployeeIdPaymentMethodRequestBody
constructor
A new instance of PutV1EmployeesEmployeeIdPaymentMethodRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(version:, type:, split_by: nil, splits: nil) ⇒ PutV1EmployeesEmployeeIdPaymentMethodRequestBody
Returns a new instance of PutV1EmployeesEmployeeIdPaymentMethodRequestBody.
25 26 27 28 29 30 |
# File 'lib/gusto_embedded/models/operations/put_v1_employees_employee_id_payment_method_requestbody.rb', line 25 def initialize(version:, type:, split_by: nil, splits: nil) @version = version @type = type @split_by = split_by @splits = splits end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/gusto_embedded/models/operations/put_v1_employees_employee_id_payment_method_requestbody.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @version == other.version return false unless @type == other.type return false unless @split_by == other.split_by return false unless @splits == other.splits true end |