Class: Peddler::Types::Finances20240619::Breakdowns
- Inherits:
-
Array
- Object
- Array
- Peddler::Types::Finances20240619::Breakdowns
- Defined in:
- lib/peddler/types/finances_2024_06_19/breakdowns.rb
Overview
A list of breakdowns that detail how the total amount is calculated for the transaction.
Class Method Summary collapse
Class Method Details
.parse(array) ⇒ Object
13 14 15 |
# File 'lib/peddler/types/finances_2024_06_19/breakdowns.rb', line 13 def parse(array) new(array.map { |item| Breakdown.parse(item) }) end |