Discount: All
Returns a collection of Discount objects.
- Node
gateway.discount.all((err, result) => { const discounts = result.discounts; });;;
If the discount can't be found, it will return a notFoundError.
Returns a collection of Discount objects.
gateway.discount.all((err, result) => { const discounts = result.discounts; });If the discount can't be found, it will return a notFoundError.