From 7e2fc11f44f9ae0b970d90b5e1489425f4eaa609 Mon Sep 17 00:00:00 2001 From: Yejia Chen Date: Wed, 23 Feb 2022 10:12:58 -0500 Subject: [PATCH] Codegen for openapi 2775931 --- lib/Service/SubscriptionService.php | 11 +++++++++++ lib/Terminal/Reader.php | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/Service/SubscriptionService.php b/lib/Service/SubscriptionService.php index 8369e9975..6b10db489 100644 --- a/lib/Service/SubscriptionService.php +++ b/lib/Service/SubscriptionService.php @@ -58,6 +58,17 @@ public function cancel($id, $params = null, $opts = null) * Creates a new subscription on an existing customer. Each customer can have up to * 500 active or scheduled subscriptions. * + * When you create a subscription with + * collection_method=charge_automatically, the first invoice is + * finalized as part of the request. The payment_behavior parameter + * determines the exact behavior of the initial payment. + * + * To start subscriptions where the first invoice always begins in a + * draft status, use subscription + * schedules instead. Schedules provide the flexibility to model more complex + * billing configurations that change over time. + * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * diff --git a/lib/Terminal/Reader.php b/lib/Terminal/Reader.php index 28edf434d..badde99a0 100644 --- a/lib/Terminal/Reader.php +++ b/lib/Terminal/Reader.php @@ -14,7 +14,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 $device_sw_version The current software version of the reader. - * @property string $device_type Type of reader, one of bbpos_chipper2x, bbpos_wisepos_e, or verifone_P400. + * @property string $device_type Type of reader, one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, or verifone_P400. * @property null|string $ip_address The local IP address of the reader. * @property string $label Custom label given to the reader for easier identification. * @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.