Class: Inttegro::Shared::PolicyBTAgingSpec

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/shared/policy_bt_aging_spec.rb

Overview

Typed representation of the policy bt aging spec object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ Inttegro::Shared::PolicyBTAgingSpecId (readonly)

Value of the id field in the Inttegro API payload.

Required in the API payload. Wire name: id.



30
31
32
33
# File 'lib/inttegro/shared/policy_bt_aging_spec.rb', line 30

class PolicyBTAgingSpec < T::Struct
  const :id, Inttegro::Shared::PolicyBTAgingSpecId
  const :t_plus, String
end

#t_plus ⇒ String (readonly)

Platform-owned whole-hour aging duration.

Required in the API payload. Wire name: t_plus.

Returns:

  • (String)


30
31
32
33
# File 'lib/inttegro/shared/policy_bt_aging_spec.rb', line 30

class PolicyBTAgingSpec < T::Struct
  const :id, Inttegro::Shared::PolicyBTAgingSpecId
  const :t_plus, String
end