PaymentCyclesApi - factory interface export

  • Parameters

    • Optionalconfiguration: Configuration
    • OptionalbasePath: string
    • Optionalaxios: AxiosInstance

    Returns {
        bulkCreatePaymentCycleEntry(id: string, paymentCycleBulkEntryCreateDeets?: PaymentCycleBulkEntryCreateDeets, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleEntryBulkResultResponseListResponse>;
        createPaymentCycle(paymentCycleCreateDeets?: PaymentCycleCreateDeets, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycle>;
        createPaymentCycleEntry(id: string, paymentCycleEntryCreateDeets?: PaymentCycleEntryCreateDeets, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleEntry>;
        deletePaymentCycle(id: string, options?: RawAxiosRequestConfig): AxiosPromise<LogicResult>;
        deletePaymentCycleEntry(id: string, entryId: string, options?: RawAxiosRequestConfig): AxiosPromise<LogicResult>;
        finalizePaymentCycleEntry(id: string, paymentCycleFinalizeDeets?: PaymentCycleFinalizeDeets, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleResponse>;
        getPaymentCycleById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleResponse>;
        getPaymentCycleEntryById(id: string, entryId: string, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleEntry>;
        listPaymentCycleEntries(id: string, status?: TransactionStatusEnum, name?: string, email?: string, sortByFieldName?: PaymentCycleEntrySortFields, sortByAscending?: boolean, limit?: number, page?: number, userId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleEntryListResponse>;
        listPaymentCycles(feeDirection?: FeeDirection, status?: PaymentCycleStatus, name?: string, greaterThanPaymentDate?: string, sortByFieldName?: PaymentCycleSortFields, sortByAscending?: boolean, limit?: number, page?: number, userId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleListResponse>;
        paymentCyclePayments(id: string, limit?: number, page?: number, userId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleListResponse>;
        paymentEntryAvatar(id: string, entryId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
        updatePaymentCycle(id: string, paymentCycleUpdateDeets?: PaymentCycleUpdateDeets, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleResponse>;
        updatePaymentCycleEntry(id: string, entryId: string, paymentCycleEntryUpdateDeets?: PaymentCycleEntryUpdateDeets, options?: RawAxiosRequestConfig): AxiosPromise<PaymentCycleEntry>;
    }

    • bulkCreatePaymentCycleEntry:function
    • createPaymentCycle:function
    • createPaymentCycleEntry:function
    • deletePaymentCycle:function
      • summary Delete a payment cycle and all associated payment cycle entries.

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<LogicResult>

    • deletePaymentCycleEntry:function
      • summary Delete a payment entry for a payment cycle

        Parameters

        • id: string
        • entryId: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<LogicResult>

    • finalizePaymentCycleEntry:function
    • getPaymentCycleById:function
    • getPaymentCycleEntryById:function
      • summary Get payment entry by id

        Parameters

        • id: string
        • entryId: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<PaymentCycleEntry>

    • listPaymentCycleEntries:function
      • summary Retrieve a list of payment entries for a cycles

        Parameters

        • id: string
        • Optionalstatus: TransactionStatusEnum

          Based on JammberMoney.dbo.TransactionStatuses draft pending posted processing sent accepted declined publicHold levied adjusted returned postedUnderThreshold paymentAssigned insufficentFunds offPlatform suspended payoutFailed awaitingPayout received payoutCompleted failed pendingBalance

        • Optionalname: string
        • Optionalemail: string
        • OptionalsortByFieldName: PaymentCycleEntrySortFields

          The field to sort by createdDate amountSent amountPaid status memo

        • OptionalsortByAscending: boolean

          Whether the list will be sorted in ascending order. Default value is true

        • Optionallimit: number

          A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

        • Optionalpage: number

          1-based page index for paginated results

        • OptionaluserId: string

          The user id to operate on their behalf (tenants only)

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<PaymentCycleEntryListResponse>

    • listPaymentCycles:function
      • summary Retrieve a list of payments cycles

        Parameters

        • OptionalfeeDirection: FeeDirection

          Defines the direction in which fees are charged. default (Use the platform default fee direction which is to the Payee) payer (Fees are charged to the Payer) payee (Fees are charged to the Payee) split (Fees are split equally between Payer and Payee. Any remaineder is paid by the Payee)

        • Optionalstatus: PaymentCycleStatus

          draft locked processing invoicing cancelled completed partiallyCompleted failed

        • Optionalname: string
        • OptionalgreaterThanPaymentDate: string
        • OptionalsortByFieldName: PaymentCycleSortFields

          The field to sort by createdDate paymentDate recipientsCount amountSent amountPaid status memo

        • OptionalsortByAscending: boolean

          Whether the list will be sorted in ascending order. Default value is true

        • Optionallimit: number

          A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

        • Optionalpage: number

          1-based page index for paginated results

        • OptionaluserId: string

          The user id to operate on their behalf (tenants only)

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<PaymentCycleListResponse>

    • paymentCyclePayments:function
      • summary Retrieve a list of all related payments

        Parameters

        • id: string
        • Optionallimit: number

          A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

        • Optionalpage: number

          1-based page index for paginated results

        • OptionaluserId: string

          The user id to operate on their behalf (tenants only)

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<PaymentCycleListResponse>

    • paymentEntryAvatar:function
      • summary Get avatar of payment entry for a payment cycle

        Parameters

        • id: string
        • entryId: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<void>

    • updatePaymentCycle:function
    • updatePaymentCycleEntry:function