diff --git a/lib/Service/QuoteService.php b/lib/Service/QuoteService.php index f228ebbcf..f1aa9b333 100644 --- a/lib/Service/QuoteService.php +++ b/lib/Service/QuoteService.php @@ -85,7 +85,7 @@ public function allLineItems($id, $params = null, $opts = null) * * @throws \Stripe\Exception\ApiErrorException if the request fails * - * @return \Stripe\Collection<\Stripe\QuoteLine> + * @return \Stripe\Collection<\Stripe\Quote> */ public function allLines($id, $params = null, $opts = null) { diff --git a/lib/Service/Tax/TransactionService.php b/lib/Service/Tax/TransactionService.php index 6aa7a7da8..3148049bd 100644 --- a/lib/Service/Tax/TransactionService.php +++ b/lib/Service/Tax/TransactionService.php @@ -22,21 +22,6 @@ public function allLineItems($id, $params = null, $opts = null) return $this->requestCollection('get', $this->buildPath('/v1/tax/transactions/%s/line_items', $id), $params, $opts); } - /** - * Lists Tax Transaction objects. - * - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Collection<\Stripe\Tax\Transaction> - */ - public function allTransactions($params = null, $opts = null) - { - return $this->requestCollection('get', '/v1/tax/transactions', $params, $opts); - } - /** * Creates a Tax Transaction from a calculation. * diff --git a/lib/SubscriptionSchedule.php b/lib/SubscriptionSchedule.php index 18a30761e..ec0895d3f 100644 --- a/lib/SubscriptionSchedule.php +++ b/lib/SubscriptionSchedule.php @@ -15,7 +15,7 @@ * @property string $id Unique identifier for the object. * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|string|\Stripe\StripeObject $application ID of the Connect Application that created the schedule. - * @property null|\Stripe\StripeObject $applies_to Details to identify the subscription schedule the quote line applies to. + * @property null|\Stripe\StripeObject $applies_to * @property null|string $billing_behavior Configures when the subscription schedule generates prorations for phase transitions. Possible values are prorate_on_next_phase or prorate_up_front with the default being prorate_on_next_phase. prorate_on_next_phase will apply phase changes and generate prorations at transition time.prorate_up_front will bill for all phases within the current billing cycle up front. * @property null|int $canceled_at Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch. * @property null|int $completed_at Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch. diff --git a/lib/Tax/Calculation.php b/lib/Tax/Calculation.php index 3bca5a80b..def80b97a 100644 --- a/lib/Tax/Calculation.php +++ b/lib/Tax/Calculation.php @@ -19,8 +19,8 @@ * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property int $tax_amount_exclusive The amount of tax to be collected on top of the line item prices. * @property int $tax_amount_inclusive The amount of tax already included in the line item prices. - * @property \Stripe\StripeObject[] $tax_breakdown Breakdown of individual tax amounts that add up to the total. * @property int $tax_date Timestamp of date at which the tax rules and rates in effect applies for the calculation. + * @property \Stripe\StripeObject[] $tax_summary Summary of individual tax amounts that add up to the total. */ class Calculation extends \Stripe\ApiResource { diff --git a/lib/Tax/Transaction.php b/lib/Tax/Transaction.php index da7e77e4f..f392b316f 100644 --- a/lib/Tax/Transaction.php +++ b/lib/Tax/Transaction.php @@ -68,22 +68,4 @@ public static function allLineItems($id, $params = null, $opts = null) return $obj; } - - /** - * @param null|array $params - * @param null|array|string $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Collection<\Stripe\Tax\Transaction> list of TaxProductResourceTaxTransactions - */ - public static function allTransactions($params = null, $opts = null) - { - $url = static::classUrl(); - list($response, $opts) = static::_staticRequest('get', $url, $params, $opts); - $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts); - $obj->setLastResponse($response); - - return $obj; - } }