Class: FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::Tax
- Inherits:
-
Internal::Type::BaseModel
show all
- 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
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount: nil, employer: nil, name: nil, type: nil) ⇒ Object
|
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 303
|
Instance Attribute Details
#amount ⇒ Integer?
286
|
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 286
optional :amount, Integer
|
#employer ⇒ Boolean?
291
|
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 291
optional :employer, FinchAPI::Internal::Type::Boolean
|
#name ⇒ String?
296
|
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 296
optional :name, String
|
#type ⇒ Symbol, ...
301
|
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 301
optional :type, enum: -> { FinchAPI::Sandbox::PaymentCreateParams::PayStatement::Tax::Type }
|
Instance Method Details
#to_hash ⇒ {
421
|
# File 'sig/finch_api/models/sandbox/payment_create_params.rbs', line 421
def to_hash: -> {
|