protected function getBraintreeCustomer($token = null, array $options = []): Customer
    {
        if (! $this->owner->braintree_id) {
            $customer = $this->owner->createAsBraintreeCustomer($token, $options);
        } else {
            $customer = $this->owner->asBraintreeCustomer();

            if ($token) {
                $this->owner->updateCard($token);
            }
        }

        return $customer;
    }