The type of payment (e.g., .sale
, .refund
).
Instance Method
transactionsByType(_:)
Retrieves transactions filtered by a specific
PaymentType
.
Declaration
func transactionsByType(_ type: PaymentType) async throws -> TransactionHistoryResponse
Parameters
type
-
Return Value
A list of transactions matching the specified type.