Discount: All
Returns a collection of Discount objects.
- Ruby
discounts = gateway.discount.all;;
If the discount can't be found, it will raise a Braintree::NotFoundError.
Returns a collection of Discount objects.
discounts = gateway.discount.allIf the discount can't be found, it will raise a Braintree::NotFoundError.