Class: FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction
- Defined in:
- lib/finch_api/models/sandbox/payment_create_params.rb,
sig/finch_api/models/sandbox/payment_create_params.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
- #amount ⇒ Integer?
-
#name ⇒ String?
The deduction name.
- #pre_tax ⇒ Boolean?
- #type ⇒ Symbol, ...
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount: nil, name: nil, pre_tax: nil, type: nil) ⇒ Object
|
|
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 178
|
Instance Attribute Details
#amount ⇒ Integer?
160 |
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 160 optional :amount, Integer |
#name ⇒ String?
The deduction name. Required when type is specified.
166 |
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 166 optional :name, String |
#pre_tax ⇒ Boolean?
171 |
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 171 optional :pre_tax, FinchAPI::Internal::Type::Boolean |
#type ⇒ Symbol, ...
176 |
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 176 optional :type, enum: -> { FinchAPI::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction::Type } |
Instance Method Details
#to_hash ⇒ {
238 |
# File 'sig/finch_api/models/sandbox/payment_create_params.rbs', line 238
def to_hash: -> {
|