Class: Inttegro::Shared::FeeLineItem
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::FeeLineItem
- Defined in:
- lib/inttegro/shared/fee_line_item.rb
Overview
Typed representation of the fee line item 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
-
#fee ⇒ Inttegro::Shared::FeeDetails
readonly
Value of the
feefield in the Inttegro API payload. -
#type ⇒ Inttegro::Shared::FeeLineItemType
readonly
Line item type discriminator.
Instance Attribute Details
#fee ⇒ Inttegro::Shared::FeeDetails (readonly)
Value of the fee field in the Inttegro API payload.
Required in the API payload. Wire name: fee.
31 32 33 34 |
# File 'lib/inttegro/shared/fee_line_item.rb', line 31 class FeeLineItem < T::Struct const :type, Inttegro::Shared::FeeLineItemType const :fee, Inttegro::Shared::FeeDetails end |
#type ⇒ Inttegro::Shared::FeeLineItemType (readonly)
Line item type discriminator
Required in the API payload. Wire name: type.
31 32 33 34 |
# File 'lib/inttegro/shared/fee_line_item.rb', line 31 class FeeLineItem < T::Struct const :type, Inttegro::Shared::FeeLineItemType const :fee, Inttegro::Shared::FeeDetails end |