From 4f8302abbc601bf722aefa74463832c653c77982 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein <52928443+richardm-stripe@users.noreply.github.com> Date: Mon, 22 Mar 2021 12:08:55 -0400 Subject: [PATCH] Codegen for openapi f4bfd6d (#1100) --- lib/Account.php | 2 +- lib/Invoice.php | 2 +- lib/Price.php | 2 +- lib/Product.php | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Account.php b/lib/Account.php index bc752fdad..669b1003b 100644 --- a/lib/Account.php +++ b/lib/Account.php @@ -24,7 +24,7 @@ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $default_currency Three-letter ISO currency code representing the default currency for the account. This must be a currency that Stripe supports in the account's country. * @property bool $details_submitted Whether account details have been submitted. Standard accounts cannot receive payouts before this is true. - * @property null|string $email The primary user's email address. + * @property null|string $email An email address associated with the account. You can treat this as metadata: it is not used for authentication or messaging account holders. * @property \Stripe\Collection $external_accounts External accounts (bank accounts and debit cards) currently attached to this account * @property \Stripe\Person $individual
This is an object representing a person associated with a Stripe account.
A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account. See the Standard onboarding or Express onboarding documentation for information about platform pre-filling and account onboarding steps.
Related guide: Handling Identity Verification with the API.
* @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. diff --git a/lib/Invoice.php b/lib/Invoice.php index ff0e5c623..455d7c8e0 100644 --- a/lib/Invoice.php +++ b/lib/Invoice.php @@ -59,7 +59,7 @@ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property string $currency Three-letter ISO currency code, in lowercase. Must be a supported currency. * @property null|\Stripe\StripeObject[] $custom_fields Custom fields displayed on the invoice. - * @property string|\Stripe\Customer $customer The ID of the customer who will be billed. + * @property null|string|\Stripe\Customer $customer The ID of the customer who will be billed. * @property null|\Stripe\StripeObject $customer_address The customer's address. Until the invoice is finalized, this field will equalcustomer.address
. Once the invoice is finalized, this field will no longer be updated.
* @property null|string $customer_email The customer's email. Until the invoice is finalized, this field will equal customer.email
. Once the invoice is finalized, this field will no longer be updated.
* @property null|string $customer_name The customer's name. Until the invoice is finalized, this field will equal customer.name
. Once the invoice is finalized, this field will no longer be updated.
diff --git a/lib/Price.php b/lib/Price.php
index a7893b577..4ac5bd33c 100644
--- a/lib/Price.php
+++ b/lib/Price.php
@@ -32,7 +32,7 @@
* @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 null|string $lookup_key A lookup key used to retrieve prices dynamically from a static string.
* @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- * @property null|string $nickname A brief description of the plan, hidden from customers.
+ * @property null|string $nickname A brief description of the price, hidden from customers.
* @property string|\Stripe\Product $product The ID of the product this price is associated with.
* @property null|\Stripe\StripeObject $recurring The recurring components of a price such as interval
and usage_type
.
* @property \Stripe\StripeObject[] $tiers Each element represents a pricing tier. This parameter requires billing_scheme
to be set to tiered
. See also the documentation for billing_scheme
.
diff --git a/lib/Product.php b/lib/Product.php
index 5afe1f137..265326a88 100644
--- a/lib/Product.php
+++ b/lib/Product.php
@@ -30,13 +30,13 @@
* @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 \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* @property string $name The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions.
- * @property null|\Stripe\StripeObject $package_dimensions The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own package_dimensions
. Only applicable to products of type=good
.
- * @property null|bool $shippable Whether this product is a shipped good. Only applicable to products of type=good
.
+ * @property null|\Stripe\StripeObject $package_dimensions The dimensions of this product for shipping purposes.
+ * @property null|bool $shippable Whether this product is shipped (i.e., physical goods).
* @property null|string $statement_descriptor Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used.
* @property string $type The type of the product. The product is either of type good
, which is eligible for use with Orders and SKUs, or service
, which is eligible for use with Subscriptions and Plans.
* @property null|string $unit_label A label that represents units of this product in Stripe and on customers’ receipts and invoices. When set, this will be included in associated invoice line item descriptions.
* @property int $updated Time at which the object was last updated. Measured in seconds since the Unix epoch.
- * @property null|string $url A URL of a publicly-accessible webpage for this product. Only applicable to products of type=good
.
+ * @property null|string $url A URL of a publicly-accessible webpage for this product.
*/
class Product extends ApiResource
{