TransactionService
public struct TransactionService
extension TransactionService: TransactionServiceType
Provides access to transaction operations
-
transaction(planId:AsynchronoustransactionId: ) Declaration
Swift
public func transaction( planId: String, transactionId: String ) async throws -> TransactionResponse -
Declaration
Swift
public func transactions( planId: String, sinceDate: Date?, type: TransactionType?, lastKnowledgeOfServer: ServerKnowledge? ) async throws -> TransactionsResponse -
Declaration
Swift
public func transactions( planId: String, accountId: String, sinceDate: Date?, type: TransactionType?, lastKnowledgeOfServer: ServerKnowledge? ) async throws -> TransactionsResponse -
Declaration
Swift
public func transactions( planId: String, categoryId: String, sinceDate: Date?, type: TransactionType?, lastKnowledgeOfServer: ServerKnowledge? ) async throws -> HybridTransactionsResponse -
Declaration
Swift
public func transactions( planId: String, payeeId: String, sinceDate: Date?, type: TransactionType?, lastKnowledgeOfServer: ServerKnowledge? ) async throws -> HybridTransactionsResponse -
Declaration
Swift
public func transactions( planId: String, month: Date, sinceDate: Date?, type: TransactionType?, lastKnowledgeOfServer: ServerKnowledge? ) async throws -> TransactionsResponse -
createTransaction(planId:Asynchronoustransaction: ) Declaration
Swift
public func createTransaction( planId: String, transaction: NewTransaction ) async throws -> SaveTransactionResponse -
createTransactions(planId:Asynchronoustransactions: ) Declaration
Swift
public func createTransactions( planId: String, transactions: [NewTransaction] ) async throws -> SaveTransactionsResponse -
updateTransactions(planId:Asynchronoustransactions: ) Declaration
Swift
public func updateTransactions( planId: String, transactions: [SaveTransactionWithIdOrImportId] ) async throws -> SaveTransactionsResponse -
updateTransaction(planId:AsynchronoustransactionId: transaction: ) Declaration
Swift
public func updateTransaction( planId: String, transactionId: String, transaction: ExistingTransaction ) async throws -> TransactionResponse -
importTransactions(planId:Asynchronous) Declaration
Swift
public func importTransactions(planId: String) async throws -> [String] -
deleteTransaction(planId:AsynchronoustransactionId: ) Declaration
Swift
public func deleteTransaction( planId: String, transactionId: String ) async throws -> TransactionResponse
View on GitHub