UNPKG

inventora-shopify-admin-api

Version:

Shopify Admin API is a NodeJS library built to help developers easily authenticate and make calls against the Shopify API. It was inspired by and borrows heavily from ShopifySharp.

19 lines (18 loc) 745 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PaymentTransactions = void 0; const infrastructure_1 = require("../infrastructure"); class PaymentTransactions extends infrastructure_1.BaseService { constructor(shopDomain, accessToken) { super(shopDomain, accessToken, "shopify_payments/balance"); } /** * Retrieves a list of all balance transactions ordered by processing time, with the most recent being first. * @param options Options for filtering the results. */ list(options) { return this.createRequest("GET", "transactions.json", "transactions", options); } } exports.PaymentTransactions = PaymentTransactions; exports.default = PaymentTransactions;