UNPKG

@mozaic-io/mozaic-sdk-node

Version:

The Mozaic Node SDK enables you to pay your creators easily via the Mozaic API.

32 lines 1.06 kB
/** * This is the main entry point for working with Payment Cycles. * @group ResourcesGroup * @category ResourcesCat * @document ../../../documents/resources/PaymentCycles.md */ import { Mozaic } from "../.."; import { Configuration, PaymentsApi } from "../../api"; import { BaseResource } from "../BaseResource"; import { Payment } from "./Payment"; export declare class Payments extends BaseResource { private _mozaic; private _paymentsApi; /** * @internal * You should not call this constructor directly. Instead, use the Mozaic main * entry point to get access to the SDK classes. * @param configuration */ constructor(mozaic: Mozaic, configuration: Configuration); /** * Get the underlying API for direct calls to the Mozaic API. */ get PaymentsApi(): PaymentsApi; /** * Get a payment by ID * @param paymentId The ID of the payment to retrieve * @returns A Payment object */ getPayment(paymentId: string): Promise<Payment>; } //# sourceMappingURL=Payments.d.ts.map