Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Mark asStripe... methods internal #796

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Billable.php
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,7 @@ public function createOrGetStripeCustomer(array $options = [])
/**
* Get the Stripe customer for the model.
*
* @internal
* @return \Stripe\Customer
*/
public function asStripeCustomer()
Expand Down
1 change: 1 addition & 0 deletions src/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public function downloadAs($filename, array $data)
/**
* Get the Stripe invoice instance.
*
* @internal
* @return \Stripe\Invoice
*/
public function asStripeInvoice()
Expand Down
1 change: 1 addition & 0 deletions src/InvoiceItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ protected function formatAmount($amount)
/**
* Get the underlying Stripe invoice item.
*
* @internal
* @return \Stripe\StripeObject
*/
public function asStripeInvoiceItem()
Expand Down
1 change: 1 addition & 0 deletions src/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public function validate()
/**
* The Stripe PaymentIntent instance.
*
* @internal
* @return \Stripe\PaymentIntent
*/
public function asStripePaymentIntent()
Expand Down
1 change: 1 addition & 0 deletions src/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function delete()
/**
* Get the Stripe PaymentMethod instance.
*
* @internal
* @return \Stripe\PaymentMethod
*/
public function asStripePaymentMethod()
Expand Down
1 change: 1 addition & 0 deletions src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ public function latestPayment()
/**
* Get the subscription as a Stripe subscription object.
*
* @internal
* @param array $expand
* @return \Stripe\Subscription
*/
Expand Down