Class: Ledger::Sdk::Models::FeeKind

Inherits:
Base
  • Object
show all
Defined in:
lib/ledger/sdk/models/fee_kind.rb

Overview

Represents the fee-kind registry from the Ledger API.

Fee kinds describe every kind of fee the Ledger API understands (e.g. financial_management). Unlike fees and fee exclusions, this is a global, read-only registry: it is not nested under a container and exposes no show endpoint, so an instance's data is only available when pre-loaded by Base#list.

The /fee_kinds endpoint ignores query params: Base#list always returns the full registry, unfiltered.

Examples:

List every fee kind

Ledger::Sdk.FeeKind.list

Defined Under Namespace

Classes: Instance

Method Summary

Methods inherited from Base

#initialize, #list

Constructor Details

This class inherits a constructor from Ledger::Sdk::Models::Base