Skip to content

getDiscount(__)

mauryaratan edited this page Feb 5, 2023 · 1 revision

getDiscount(_:)

Get a single discount by ID.

public func getDiscount(_ discountId: Discount.ID)

Parameters

  • discountId: The ID of the discount you'd like to retrieve.

Returns

A response object containing the requested Discount.

Types
Global Functions
Clone this wiki locally