Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PaymentTypesApi

Hierarchy

  • PaymentTypesApi

Index

Constructors

constructor

Properties

Protected basePath

basePath: string = "https://api-na.myconnectwise.net/v4_6_release/apis/3.0"

defaultHeaders

defaultHeaders: any

Methods

expensePaymentTypesCountGet

  • expensePaymentTypesCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Payment Type Count

    Parameters

    • params: object
      • Optional conditions?: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Count>

expensePaymentTypesGet

  • expensePaymentTypesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<PaymentType>>
  • Get Payment Type

    Parameters

    • params: object
      • Optional childconditions?: string
      • Optional conditions?: string
      • Optional customfieldconditions?: string
      • Optional orderBy?: string
      • Optional page?: number
      • Optional pageSize?: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Array<PaymentType>>

expensePaymentTypesIdDelete

  • expensePaymentTypesIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Payment Type By Id

    Parameters

    • params: object
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<__type>

expensePaymentTypesIdGet

  • expensePaymentTypesIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<PaymentType>
  • Get Payment Type By Id

    Parameters

    • params: object
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<PaymentType>

expensePaymentTypesIdPatch

  • expensePaymentTypesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<PaymentType>
  • Update Payment Type

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<PaymentType>

expensePaymentTypesIdPut

  • expensePaymentTypesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<PaymentType>
  • Replace Payment Type

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<PaymentType>

expensePaymentTypesPost

  • expensePaymentTypesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<PaymentType>
  • Create Payment Type

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<PaymentType>

Generated using TypeDoc