protected function currentDiscounts() { return collect($this->asBraintreeSubscription()->discounts)->map(function ($discount) { return $discount->id; })->all(); }