OBJECT

MoneyAccount

A MoneyAccount belonging to a ClientCompany. It holds any form of money related accounts (bank, credit-card, PayPal, etc.).

link GraphQL Schema definition

  • type MoneyAccount implements Node {
  • # A globally unique identifier. Can be used in various places throughout the
  • # system to identify this single value.
  • id: ID!
  • rowId: UUID!
  • clientCompanyRowId: UUID!
  • type: MoneyAccountType!
  • name: String!
  • externalRowId: String!
  • currency: CurrencyCode!
  • balance: Float
  • active: Boolean
  • updatedAt: UpdatedTime!
  • createdAt: CreatedTime!
  • # Reads a single `ClientCompany` that is related to this `MoneyAccount`.
  • clientCompanyByClientCompanyRowId: ClientCompany!
  • # Reads and enables pagination through a set of `MoneyTransaction`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `MoneyTransaction`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • moneyTransactionsByAccountRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [MoneyTransactionsOrderBy!],
  • condition: MoneyTransactionCondition
  • ): MoneyTransactionsConnection!
  • }