Skip to content

Commit

Permalink
Merge pull request #1490 from stripe/latest-codegen-master
Browse files Browse the repository at this point in the history
Update generated code
  • Loading branch information
anniel-stripe authored May 11, 2023
2 parents f176a54 + ae16838 commit 7e6855a
Show file tree
Hide file tree
Showing 5 changed files with 546 additions and 547 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v313
v336
3 changes: 0 additions & 3 deletions lib/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ public static function retrieve($id = null, $opts = null)
return self::_retrieve($id, $opts);
}

// TODO (MAJOR): Remove legal_entity/additional_owners logic. These properties are not present in API versions
// after 2019-02-19, so we ought to deprecate them from new releases of the library.
public function serializeParameters($force = false)
{
$update = parent::serializeParameters($force);
Expand All @@ -129,7 +127,6 @@ public function serializeParameters($force = false)
return $update;
}

// TODO (MAJOR): Remove legal_entity/additional_owners logic.
private function serializeAdditionalOwners($legalEntity, $additionalOwners)
{
if (isset($legalEntity->_originalValues['additional_owners'])) {
Expand Down
1 change: 1 addition & 0 deletions lib/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
* @property null|\Stripe\StripeObject $oxxo
* @property null|\Stripe\StripeObject $p24
* @property null|\Stripe\StripeObject $paynow
* @property null|\Stripe\StripeObject $paypal
* @property null|\Stripe\StripeObject $pix
* @property null|\Stripe\StripeObject $promptpay
* @property null|\Stripe\StripeObject $radar_options Options to configure Radar. See <a href="https://stripe.com/docs/radar/radar-session">Radar Session</a> for more information.
Expand Down
1 change: 1 addition & 0 deletions lib/TaxRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
* @property null|string $description An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.
* @property string $display_name The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.
* @property null|float $effective_percentage Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage does not include the statutory tax rate of non-taxable jurisdictions.
* @property bool $inclusive This specifies if the tax rate is inclusive or exclusive.
* @property null|string $jurisdiction The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
Expand Down
Loading

0 comments on commit 7e6855a

Please sign in to comment.