Skip to content

Commit cffe179

Browse files
Update generated code for v2109 and
1 parent 3b3cf7e commit cffe179

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
07c094f7c1f64823539941252667a6620cc6bb44
1+
a9b4d5059aeb24192ebc26c24160bb6e495bd6cb

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2108
1+
v2109

src/main/java/com/stripe/model/v2/billing/MeterEvent.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public class MeterEvent extends StripeObject {
4848
/**
4949
* The payload of the event. This must contain the fields corresponding to a meter’s {@code
5050
* customer_mapping.event_payload_key} (default is {@code stripe_customer_id}) and {@code
51-
* value_settings.event_payload_key} (default is {@code value}). Read more about the payload.
51+
* value_settings.event_payload_key} (default is {@code value}). Read more about the <a
52+
* href="https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides">payload</a>..
5253
*/
5354
@SerializedName("payload")
5455
Map<String, String> payload;

src/test/java/com/stripe/functional/GeneratedExamples.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3208,7 +3208,7 @@ public void testCoreEventsGetServices() throws StripeException {
32083208
null,
32093209
null,
32103210
com.stripe.model.v2.core.Event.class,
3211-
"{\"context\":\"context\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"reason\":{\"type\":\"request\",\"request\":{\"id\":\"obj_123\",\"idempotency_key\":\"idempotency_key\"}},\"type\":\"type\",\"livemode\":true}");
3211+
"{\"context\":\"context\",\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.event\",\"reason\":{\"type\":\"request\",\"request\":{\"id\":\"obj_123\",\"idempotency_key\":\"idempotency_key\"}},\"type\":\"type\"}");
32123212
StripeClient client = new StripeClient(networkSpy);
32133213

32143214
com.stripe.model.v2.core.Event event = client.v2().core().events().retrieve("ll_123");
@@ -24499,7 +24499,7 @@ public void testV2CoreEventGetServices() throws StripeException {
2449924499
null,
2450024500
new TypeToken<
2450124501
com.stripe.model.v2.StripeCollection<com.stripe.model.v2.core.Event>>() {}.getType(),
24502-
"{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"type\":\"type\",\"livemode\":true}],\"next_page_url\":null,\"previous_page_url\":null}");
24502+
"{\"data\":[{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.event\",\"type\":\"type\"}],\"next_page_url\":null,\"previous_page_url\":null}");
2450324503
StripeClient client = new StripeClient(networkSpy);
2450424504

2450524505
com.stripe.param.v2.core.EventListParams params =
@@ -24521,7 +24521,7 @@ public void testV2CoreEventGet2Services() throws StripeException {
2452124521
null,
2452224522
null,
2452324523
com.stripe.model.v2.core.Event.class,
24524-
"{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"type\":\"type\",\"livemode\":true}");
24524+
"{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.event\",\"type\":\"type\"}");
2452524525
StripeClient client = new StripeClient(networkSpy);
2452624526

2452724527
com.stripe.model.v2.core.Event event = client.v2().core().events().retrieve("id_123");
@@ -24720,7 +24720,7 @@ public void testV2CoreEventDestinationPost5Services() throws StripeException {
2472024720
null,
2472124721
null,
2472224722
com.stripe.model.v2.core.Event.class,
24723-
"{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"object\":\"v2.core.event\",\"type\":\"type\",\"livemode\":true}");
24723+
"{\"created\":\"1970-01-12T21:42:34.472Z\",\"id\":\"obj_123\",\"livemode\":true,\"object\":\"v2.core.event\",\"type\":\"type\"}");
2472424724
StripeClient client = new StripeClient(networkSpy);
2472524725

2472624726
com.stripe.model.v2.core.Event event = client.v2().core().eventDestinations().ping("id_123");

0 commit comments

Comments
 (0)