def transactions(options = {})
      response = JSON.parse(@client.get("items/#{send(:id)}/transactions", options).body)
      transactions = response.key?('transactions') ? response['transactions'] : []
      transactions.map { |attributes| Promisepay::Transaction.new(@client, attributes) }
    end
def transactions(options = {})
      response = JSON.parse(@client.get("items/#{send(:id)}/transactions", options).body)
      transactions = response.key?('transactions') ? response['transactions'] : []
      transactions.map { |attributes| Promisepay::Transaction.new(@client, attributes) }
    end
Get historical transactions for the item.

 @see https://reference.promisepay.com/#list-item-transactions

 @param options [Hash] Optional options.
 @option options [Integer] :limit Can ask for up to 200 transactions. default: 10
 @option options [Integer] :offset Pagination help. default: 0

 @return [Array<Promisepay::Transaction>]