Skip to content

getDiscounts(pageNumber_pageSize_)

mauryaratan edited this page Feb 5, 2023 · 1 revision

getDiscounts(pageNumber:pageSize:)

Returns a list of discounts.

public func getDiscounts(pageNumber: Int = 1, pageSize: Int = 10)

Parameters

  • pageNumber: The page number to return the response for.
  • pageSize: The number of resources to return per-page.

Returns

A response object containing an array of Discount.1

Types
Global Functions
Clone this wiki locally