diff --git a/lib/Account.php b/lib/Account.php index c9c464609..0c0b0810d 100644 --- a/lib/Account.php +++ b/lib/Account.php @@ -106,7 +106,7 @@ public function instanceUrl() * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Account + * @return \Stripe\Account */ public static function retrieve($id = null, $opts = null) { @@ -139,7 +139,7 @@ public function reject($params = null, $opts = null) * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return StripeObject Object containing the response from the API. + * @return \Stripe\StripeObject Object containing the response from the API. */ public function deauthorize($clientId = null, $opts = null) { diff --git a/lib/Balance.php b/lib/Balance.php index e7578bdff..05d977f6e 100644 --- a/lib/Balance.php +++ b/lib/Balance.php @@ -22,7 +22,7 @@ class Balance extends SingletonApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Balance + * @return \Stripe\Balance */ public static function retrieve($opts = null) { diff --git a/lib/CreditNote.php b/lib/CreditNote.php index 33bb79299..22ed919f2 100644 --- a/lib/CreditNote.php +++ b/lib/CreditNote.php @@ -101,7 +101,7 @@ public function voidCreditNote($params = null, $opts = null) } /** - * @param string $id The ID of the credit note on which to retrieve the lines. + * @param string $id The ID of the credit note on which to retrieve the credit note line items. * @param array|null $params * @param array|string|null $opts * diff --git a/lib/Customer.php b/lib/Customer.php index eaf22b110..baae723d4 100644 --- a/lib/Customer.php +++ b/lib/Customer.php @@ -69,7 +69,7 @@ public static function getSavedNestedResources() * @param array|null $params * @param array|string|null $opts * - * @return Customer The updated customer. + * @return \Stripe\Customer The updated customer. */ public function deleteDiscount($params = null, $opts = null) { @@ -79,13 +79,13 @@ public function deleteDiscount($params = null, $opts = null) } /** - * @param string $id The ID of the customer on which to retrieve the balance transactions. + * @param string $id The ID of the customer on which to retrieve the customer balance transactions. * @param array|null $params * @param array|string|null $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection The list of balance transactions. + * @return \Stripe\Collection The list of customer balance transactions. */ public static function allBalanceTransactions($id, $params = null, $opts = null) { @@ -93,13 +93,13 @@ public static function allBalanceTransactions($id, $params = null, $opts = null) } /** - * @param string $id The ID of the customer on which to create the balance transaction. + * @param string $id The ID of the customer on which to create the customer balance transaction. * @param array|null $params * @param array|string|null $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\BalanceTransaction + * @return \Stripe\CustomerBalanceTransaction */ public static function createBalanceTransaction($id, $params = null, $opts = null) { @@ -107,14 +107,14 @@ public static function createBalanceTransaction($id, $params = null, $opts = nul } /** - * @param string $id The ID of the customer to which the balance transaction belongs. - * @param string $balanceTransactionId The ID of the balance transaction to retrieve. + * @param string $id The ID of the customer to which the customer balance transaction belongs. + * @param string $balanceTransactionId The ID of the customer balance transaction to retrieve. * @param array|null $params * @param array|string|null $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\BalanceTransaction + * @return \Stripe\CustomerBalanceTransaction */ public static function retrieveBalanceTransaction($id, $balanceTransactionId, $params = null, $opts = null) { @@ -122,14 +122,14 @@ public static function retrieveBalanceTransaction($id, $balanceTransactionId, $p } /** - * @param string $id The ID of the customer to which the balance transaction belongs. - * @param string $balanceTransactionId The ID of the balance transaction to update. + * @param string $id The ID of the customer to which the customer balance transaction belongs. + * @param string $balanceTransactionId The ID of the customer balance transaction to update. * @param array|null $params * @param array|string|null $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\BalanceTransaction + * @return \Stripe\CustomerBalanceTransaction */ public static function updateBalanceTransaction($id, $balanceTransactionId, $params = null, $opts = null) { @@ -137,13 +137,13 @@ public static function updateBalanceTransaction($id, $balanceTransactionId, $par } /** - * @param string $id The ID of the customer on which to retrieve the sources. + * @param string $id The ID of the customer on which to retrieve the payment sources. * @param array|null $params * @param array|string|null $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection The list of sources. + * @return \Stripe\Collection The list of payment sources (AlipayAccount, BankAccount, BitcoinReceiver, Card or Source). */ public static function allSources($id, $params = null, $opts = null) { @@ -151,7 +151,7 @@ public static function allSources($id, $params = null, $opts = null) } /** - * @param string $id The ID of the customer on which to create the source. + * @param string $id The ID of the customer on which to create the payment source. * @param array|null $params * @param array|string|null $opts * @@ -165,8 +165,8 @@ public static function createSource($id, $params = null, $opts = null) } /** - * @param string $id The ID of the customer to which the source belongs. - * @param string $sourceId The ID of the source to delete. + * @param string $id The ID of the customer to which the payment source belongs. + * @param string $sourceId The ID of the payment source to delete. * @param array|null $params * @param array|string|null $opts * @@ -180,8 +180,8 @@ public static function deleteSource($id, $sourceId, $params = null, $opts = null } /** - * @param string $id The ID of the customer to which the source belongs. - * @param string $sourceId The ID of the source to retrieve. + * @param string $id The ID of the customer to which the payment source belongs. + * @param string $sourceId The ID of the payment source to retrieve. * @param array|null $params * @param array|string|null $opts * @@ -195,8 +195,8 @@ public static function retrieveSource($id, $sourceId, $params = null, $opts = nu } /** - * @param string $id The ID of the customer to which the source belongs. - * @param string $sourceId The ID of the source to update. + * @param string $id The ID of the customer to which the payment source belongs. + * @param string $sourceId The ID of the payment source to update. * @param array|null $params * @param array|string|null $opts * diff --git a/lib/Dispute.php b/lib/Dispute.php index 0838ee781..b9b2df161 100644 --- a/lib/Dispute.php +++ b/lib/Dispute.php @@ -69,7 +69,7 @@ class Dispute extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Dispute The closed dispute. + * @return \Stripe\Dispute The closed dispute. */ // TODO: add $params to standardize signature public function close($opts = null) diff --git a/lib/EphemeralKey.php b/lib/EphemeralKey.php index 4479ebe41..d100d2f6c 100644 --- a/lib/EphemeralKey.php +++ b/lib/EphemeralKey.php @@ -31,7 +31,7 @@ class EphemeralKey extends ApiResource * @throws \Stripe\Exception\InvalidArgumentException if stripe_version is missing * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return EphemeralKey The created key. + * @return \Stripe\EphemeralKey The created key. */ public static function create($params = null, $opts = null) { diff --git a/lib/Invoice.php b/lib/Invoice.php index 1cb73e36f..4ad0347a3 100644 --- a/lib/Invoice.php +++ b/lib/Invoice.php @@ -188,7 +188,7 @@ public function sendInvoice($params = null, $opts = null) * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Invoice The upcoming invoice. + * @return \Stripe\Invoice The upcoming invoice. */ public static function upcoming($params = null, $opts = null) { @@ -216,13 +216,13 @@ public function voidInvoice($params = null, $opts = null) } /** - * @param string $id The ID of the invoice on which to retrieve the lins. + * @param string $id The ID of the invoice on which to retrieve the lines. * @param array|null $params * @param array|string|null $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Collection The list of lines (InvoiceLineItem). + * @return \Stripe\Collection The list of lines (InvoiceLineItem). */ public static function allLines($id, $params = null, $opts = null) { diff --git a/lib/Issuing/Card.php b/lib/Issuing/Card.php index 129d160ae..97545d7bd 100644 --- a/lib/Issuing/Card.php +++ b/lib/Issuing/Card.php @@ -42,7 +42,7 @@ class Card extends \Stripe\ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return CardDetails The card details associated with that issuing card. + * @return \Stripe\Issuing\CardDetails The card details associated with that issuing card. */ public function details($params = null, $opts = null) { diff --git a/lib/Order.php b/lib/Order.php index db9993d8f..b68190d2d 100644 --- a/lib/Order.php +++ b/lib/Order.php @@ -62,7 +62,7 @@ public function pay($params = null, $opts = null) * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return OrderReturn The newly created return. + * @return \Stripe\OrderReturn The newly created return. */ public function returnOrder($params = null, $opts = null) { diff --git a/lib/Source.php b/lib/Source.php index 5345499f5..1a72fc365 100644 --- a/lib/Source.php +++ b/lib/Source.php @@ -88,7 +88,7 @@ class Source extends ApiResource * @throws \Stripe\Exception\UnexpectedValueException if the source is not attached to a customer * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Source The detached source. + * @return \Stripe\Source The detached source. */ public function detach($params = null, $opts = null) { @@ -126,7 +126,7 @@ public function detach($params = null, $opts = null) * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Collection The list of source transactions. + * @return \Stripe\Collection The list of source transactions. */ public function sourceTransactions($params = null, $opts = null) { @@ -144,7 +144,7 @@ public function sourceTransactions($params = null, $opts = null) * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Collection The list of source transactions. + * @return \Stripe\Collection The list of source transactions. */ public static function allSourceTransactions($id, $params = null, $opts = null) { diff --git a/lib/SubscriptionItem.php b/lib/SubscriptionItem.php index de31c595b..35acaadf6 100644 --- a/lib/SubscriptionItem.php +++ b/lib/SubscriptionItem.php @@ -38,7 +38,7 @@ class SubscriptionItem extends ApiResource * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return ApiResource + * @return \Stripe\UsageRecord */ public static function createUsageRecord($id, $params = null, $opts = null) { @@ -53,7 +53,7 @@ public static function createUsageRecord($id, $params = null, $opts = null) * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return Collection The list of usage record summaries. + * @return \Stripe\Collection The list of usage record summaries. */ public function usageRecordSummaries($params = null, $opts = null) { diff --git a/lib/SubscriptionSchedule.php b/lib/SubscriptionSchedule.php index 6bb8f5529..1431a22a9 100644 --- a/lib/SubscriptionSchedule.php +++ b/lib/SubscriptionSchedule.php @@ -12,7 +12,6 @@ * @property int $created * @property \Stripe\StripeObject|null $current_phase * @property string $customer - * @property \Stripe\StripeObject $default_settings * @property string $end_behavior * @property mixed|null $invoice_settings * @property bool $livemode