AVSTransactionDataStore
public protocol AVSTransactionDataStore
                Interface for saving, loading and deleting AVSTransaction records
sourcery: StreamWrapped
- 
                  
                  
Fetches a
AVSTransactionby it’s identifierDeclaration
Swift
func fetchAVSTransaction(by identifier: UUID) -> AnyPublisher<AVSTransaction?, LocalStoreError>Parameters
identifierIdentifier of the
AVSTransactionto fetch - 
                  
                  
List all
AVSTransactions contained in the storeDeclaration
Swift
func listAllAVSTransactions() -> AnyPublisher<[AVSTransaction], LocalStoreError> - 
                  
                  
Creates or updates a sequence of
AVSTransactioninto the store. Updates if the identifier does already exist in store, otherwise creates a new instance.sourcery: SkipStreamWrapped
Declaration
Swift
func save(avsTransactions: [AVSTransaction]) -> AnyPublisher<[AVSTransaction], LocalStoreError>Parameters
avsTransactionsArray of
AVSTransactionto be saved - 
                  
                  
Deletes a sequence of
AVSTransactionfrom the store with the related identifiersourcery: SkipStreamWrapped
Declaration
Swift
func delete(avsTransactions: [AVSTransaction]) -> AnyPublisher<[AVSTransaction], LocalStoreError>Parameters
avsTransactionsArray of
AVSTransactionto be deleted - 
                  
save(avsTransaction:Extension method) Creates or updates a
AVSTransactioninto the store. Updates if the identifier does already exist in storesourcery: SkipStreamWrapped
Declaration
Swift
public func save(avsTransaction: AVSTransaction) -> AnyPublisher<AVSTransaction?, LocalStoreError>Parameters
avsTransactionInstance of
AVSTransactionto be saved - 
                  
delete(avsTransaction:Extension method) Deletes a
AVSTransactioninto from the store with the related identifiersourcery: SkipStreamWrapped
Declaration
Swift
public func delete(avsTransaction: AVSTransaction) -> AnyPublisher<AVSTransaction?, LocalStoreError>Parameters
avsTransactionInstance of
AVSTransactionto be deleted 
            View on GitHub
          
      AVSTransactionDataStore Protocol Reference