From 8d4b73951da2316b5099d509612a40eb03254ddf Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 12 Jul 2024 05:07:56 +0000 Subject: [PATCH 1/4] Update generated code for v1126 --- OPENAPI_VERSION | 2 +- lib/Identity/VerificationReport.php | 2 +- lib/PaymentMethodDomain.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index af6e36838..c903c3517 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1123 \ No newline at end of file +v1126 \ No newline at end of file diff --git a/lib/Identity/VerificationReport.php b/lib/Identity/VerificationReport.php index 77fa02c68..6ecfa3f0d 100644 --- a/lib/Identity/VerificationReport.php +++ b/lib/Identity/VerificationReport.php @@ -15,7 +15,7 @@ * API. To configure and create VerificationReports, use the * VerificationSession API. * - * Related guides: Accessing verification results. + * Related guide: Accessing verification results. * * @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. diff --git a/lib/PaymentMethodDomain.php b/lib/PaymentMethodDomain.php index 2121adcc0..810ccb4de 100644 --- a/lib/PaymentMethodDomain.php +++ b/lib/PaymentMethodDomain.php @@ -8,7 +8,7 @@ * A payment method domain represents a web domain that you have registered with Stripe. * Stripe Elements use registered payment method domains to control where certain payment methods are shown. * - * Related guides: Payment method domains. + * Related guide: Payment method domains. * * @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. From 942c4c4b2ecedd0c92777d40379d523fcf8a118c Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 16:46:25 +0000 Subject: [PATCH 2/4] Update generated code for v1131 --- OPENAPI_VERSION | 2 +- lib/Event.php | 4 ++-- lib/Service/EventService.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index c903c3517..87ed6dbb7 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1126 \ No newline at end of file +v1131 \ No newline at end of file diff --git a/lib/Event.php b/lib/Event.php index 936c8f1a2..f11e6731f 100644 --- a/lib/Event.php +++ b/lib/Event.php @@ -544,8 +544,8 @@ public static function all($params = null, $opts = null) } /** - * Retrieves the details of an event. Supply the unique identifier of the event, - * which you might have received in a webhook. + * Retrieves the details of an event if it was created in the last 30 days. Supply + * the unique identifier of the event, which you might have received in a webhook. * * @param array|string $id the ID of the API resource to retrieve, or an options array containing an `id` key * @param null|array|string $opts diff --git a/lib/Service/EventService.php b/lib/Service/EventService.php index 0901293af..7b02e408f 100644 --- a/lib/Service/EventService.php +++ b/lib/Service/EventService.php @@ -30,8 +30,8 @@ public function all($params = null, $opts = null) } /** - * Retrieves the details of an event. Supply the unique identifier of the event, - * which you might have received in a webhook. + * Retrieves the details of an event if it was created in the last 30 days. Supply + * the unique identifier of the event, which you might have received in a webhook. * * @param string $id * @param null|array $params From e51aa7c6c55d08d4a4ee9729afd391d97071cc1c Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 16:13:53 +0000 Subject: [PATCH 3/4] Update generated code for v1134 --- OPENAPI_VERSION | 2 +- lib/Terminal/Reader.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 87ed6dbb7..7a33bf614 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1131 \ No newline at end of file +v1134 \ No newline at end of file diff --git a/lib/Terminal/Reader.php b/lib/Terminal/Reader.php index af2478f18..33953963c 100644 --- a/lib/Terminal/Reader.php +++ b/lib/Terminal/Reader.php @@ -13,7 +13,7 @@ * @property string $object String representing the object's type. Objects of the same type share the same value. * @property null|\Stripe\StripeObject $action The most recent action performed by the reader. * @property null|string $device_sw_version The current software version of the reader. - * @property string $device_type Type of reader, one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, simulated_wisepos_e, or mobile_phone_reader. + * @property string $device_type Type of reader, one of bbpos_wisepad3, stripe_m2, stripe_s700, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, simulated_wisepos_e, or mobile_phone_reader. * @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. @@ -34,6 +34,7 @@ class Reader extends \Stripe\ApiResource const DEVICE_TYPE_MOBILE_PHONE_READER = 'mobile_phone_reader'; const DEVICE_TYPE_SIMULATED_WISEPOS_E = 'simulated_wisepos_e'; const DEVICE_TYPE_STRIPE_M2 = 'stripe_m2'; + const DEVICE_TYPE_STRIPE_S700 = 'stripe_s700'; const DEVICE_TYPE_VERIFONE_P400 = 'verifone_P400'; const STATUS_OFFLINE = 'offline'; From 39b6c4de6a192f6fcdd904293aca0b2a22f5fb72 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 22:47:42 +0000 Subject: [PATCH 4/4] Update generated code for v1135 --- OPENAPI_VERSION | 2 +- lib/Event.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 7a33bf614..6e73fe685 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1134 \ No newline at end of file +v1135 \ No newline at end of file diff --git a/lib/Event.php b/lib/Event.php index f11e6731f..e2b38e0e7 100644 --- a/lib/Event.php +++ b/lib/Event.php @@ -161,6 +161,7 @@ class Event extends ApiResource const ISSUING_DISPUTE_CLOSED = 'issuing_dispute.closed'; const ISSUING_DISPUTE_CREATED = 'issuing_dispute.created'; const ISSUING_DISPUTE_FUNDS_REINSTATED = 'issuing_dispute.funds_reinstated'; + const ISSUING_DISPUTE_FUNDS_RESCINDED = 'issuing_dispute.funds_rescinded'; const ISSUING_DISPUTE_SUBMITTED = 'issuing_dispute.submitted'; const ISSUING_DISPUTE_UPDATED = 'issuing_dispute.updated'; const ISSUING_PERSONALIZATION_DESIGN_ACTIVATED = 'issuing_personalization_design.activated'; @@ -395,6 +396,7 @@ class Event extends ApiResource const TYPE_ISSUING_DISPUTE_CLOSED = 'issuing_dispute.closed'; const TYPE_ISSUING_DISPUTE_CREATED = 'issuing_dispute.created'; const TYPE_ISSUING_DISPUTE_FUNDS_REINSTATED = 'issuing_dispute.funds_reinstated'; + const TYPE_ISSUING_DISPUTE_FUNDS_RESCINDED = 'issuing_dispute.funds_rescinded'; const TYPE_ISSUING_DISPUTE_SUBMITTED = 'issuing_dispute.submitted'; const TYPE_ISSUING_DISPUTE_UPDATED = 'issuing_dispute.updated'; const TYPE_ISSUING_PERSONALIZATION_DESIGN_ACTIVATED = 'issuing_personalization_design.activated';