PaymentCyclesApi - object-oriented interface export PaymentCyclesApi

Hierarchy (view full)

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • summary Create payment cycle details

    Parameters

    • OptionalpaymentCycleCreateDeets: PaymentCycleCreateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycle, any>>

    memberof PaymentCyclesApi

  • summary Create a payment entry for a payment cycle

    Parameters

    • id: string
    • OptionalpaymentCycleEntryCreateDeets: PaymentCycleEntryCreateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleEntry, any>>

    memberof PaymentCyclesApi

  • summary Delete a payment cycle and all associated payment cycle entries.

    Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<LogicResult, any>>

    memberof PaymentCyclesApi

  • summary Delete a payment entry for a payment cycle

    Parameters

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

      Override http request option.

    Returns Promise<AxiosResponse<LogicResult, any>>

    memberof PaymentCyclesApi

  • summary Retrieve payment cycle details by id

    Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycle, any>>

    memberof PaymentCyclesApi

  • summary Get payment entry by id

    Parameters

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

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleEntry, any>>

    memberof PaymentCyclesApi

  • summary Retrieve a list of payment entries for a cycles

    Parameters

    • id: string
    • Optionalstatus: PaymentCycleEntryStatus

      draft success warning error processing

    • Optionalname: string
    • Optionalemail: 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 Promise<AxiosResponse<PaymentCycleEntryListResponse, any>>

    memberof PaymentCyclesApi

  • summary Retrieve a list of payments cycles

    Parameters

    • OptionalfeeDirection: FeeDirection

      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 completedWithErrors failed

    • Optionalname: 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 Promise<AxiosResponse<PaymentCycleListResponse, any>>

    memberof PaymentCyclesApi

  • 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 Promise<AxiosResponse<PaymentCycleListResponse, any>>

    memberof PaymentCyclesApi

  • summary Delete a payment entry for a payment cycle

    Parameters

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

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof PaymentCyclesApi

  • summary Update payment cycle details

    Parameters

    • id: string
    • OptionalpaymentCycleUpdateDeets: PaymentCycleUpdateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycle, any>>

    memberof PaymentCyclesApi

  • summary Update a payment entry for a payment cycle

    Parameters

    • id: string
    • entryId: string
    • OptionalpaymentCycleEntryUpdateDeets: PaymentCycleEntryUpdateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentCycleEntry, any>>

    memberof PaymentCyclesApi