Packages

DEPRECATED: go to https://hex.pm/packages/starkbank.

Retired package: Deprecated - v1 SDK is deprecated. Go to https://hex.pm/packages/starkbank.

Current section

Files

Jump to
stark_bank lib charge structs charge_count.ex
Raw

lib/charge/structs/charge_count.ex

defmodule StarkBank.Charge.Structs.ChargeCountData do
@doc """
Holds customer charge counters
Is usually nested in StarkBank.Charge.Structs.Charge
Parameters:
- overdue [int]: counts the customer overdue charges, e.g.: 3;
- pending [int]: counts the customer pending charges, e.g.: 2;
"""
defstruct overdue: nil,
pending: nil
end