Instance Method

transactionsByTypes(_:)

Retrieves transactions matching one or more payment types.

Declaration

func transactionsByTypes(_ types: [PaymentType]) async throws -> TransactionHistoryResponse

Parameters

types

A list of PaymentType enums (e.g., [.sale, .refund]).

Return Value

Transactions matching any of the given types.

Discussion