ChainExtension extension

Extension methods for the Chain protobuf class to provide convenient access and formatting of chain data

on
  • Chain

Properties

activeBoutiques List<BoutiqueMongo>

Available on Chain, provided by the ChainExtension extension

Gets a list of active boutiques (not soft-deleted)
no setter
boutiqueCount int

Available on Chain, provided by the ChainExtension extension

Gets the total number of boutiques in this chain
no setter
deletedBoutiques List<BoutiqueMongo>

Available on Chain, provided by the ChainExtension extension

Gets a list of soft-deleted boutiques
no setter
formattedCreatedAt String

Available on Chain, provided by the ChainExtension extension

Gets a formatted creation date string
no setter
formattedLastUpdate String

Available on Chain, provided by the ChainExtension extension

Gets a formatted last update date string
no setter
summary String

Available on Chain, provided by the ChainExtension extension

Gets a summary string for the chain
no setter

Methods

copyWith({String? chainId, String? firmId, String? name, List<BoutiqueMongo>? boutiques, Timestamp? creationDateUTC, Timestamp? lastUpdateTimestampUTC, String? lastUpdatedByuserId}) → Chain

Available on Chain, provided by the ChainExtension extension

Creates a copy of the chain with updated fields