617 Commits

Author SHA1 Message Date
stripe-openapi[bot]
0cb23f6540
Update generated code (#1510)
* Update generated code for v1421

* Update generated code for v1441

* Update generated code for v1455

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
2025-01-27 19:41:17 +00:00
helenye-stripe
6e3950536a
Import global configuration for options not available on StripeClient options (#1512)
* Fix client options not importing global config

* update tests and fix bugs

* lint

* catch NotImplementedError and map for older Ruby

* rubocop todo
2025-01-13 14:23:32 -08:00
jar-stripe
36b1c7c8f0
ThinEvent reason and livemode (#1516)
* added test for parsing v2 thin events with livemode and reason

* added attr_reader to ThinEvent for livemode and reason

* added EventReason and EventReasonRequest type to thin_event.rb
2025-01-13 14:04:14 -08:00
helenye-stripe
8aec85f636
Pass requestor to all deserialized objects including lists (#1507)
* Make sure to pass requestor through to all deserializes

* additional test
2024-12-17 08:59:08 -08:00
helenye-stripe
56b9950250
Fix incorrect key in param encoding (#1488) 2024-11-14 18:28:00 -08:00
helenye-stripe
aa880437dc
Fix APIResource#retrieve not sending stripe_version (#1483)
* Fix retrieve stripe version

* better test
2024-11-06 14:33:20 -08:00
helenye-stripe
fb11d83248
Fix APIResource#retrieve bug not returning instance of custom resources (#1476)
* Fix refresh bug not returning specific instance type for custom resources

* tests
2024-10-28 10:29:13 -07:00
Jonathan Smith
042918c5f8
Always return the result of APIResource#refresh in APIResource.retrieve (#1473)
* Always return the result of .refresh in .retrieve

With the refactor of v13, there are now cases where `self` is not
mutated in the call to refresh and instead a new object is returned.
This change ensures that the new object is always returned by returning
the result of refresh instead.

* Update install instructions for stripe-mock
2024-10-23 08:45:51 -07:00
David Brownman
95f4c9d231
update object tags for meter-related classes (#1471)
* update object tags for meter-related classes

* fix tests
2024-10-18 11:16:58 -07:00
helenye-stripe
2a9407b085
remove parseSnapshotEvent (#1463) 2024-10-01 09:54:13 -07:00
Ramya Rao
39d8736525
Support for APIs in the new API version 2024-09-30.acacia (#1458) 2024-10-01 09:35:59 -07:00
helenye-stripe
aa49a46b82
Add usage to raw request call (#1433) 2024-07-11 14:56:33 -07:00
helenye-stripe
816fe0d0c7
Add raw_request (#1431)
* Add raw request

* Copy readme from beta

* fix readme
2024-07-10 21:34:52 +00:00
prathmesh-stripe
8a5fca9998
Added jruby back and removed coveralls (#1426) 2024-06-26 14:57:08 -04:00
stripe-openapi[bot]
a0542ff720
Update generated code (#1419)
* Update generated code for v1087

* Update generated code for v1088

* Update generated code for v1092

* Update generated code for v1093

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
2024-06-24 22:49:12 +00:00
Ramya Rao
6dadabe005
Add missing static method for verify on BankAccount (#1418) 2024-06-17 17:03:55 -07:00
anniel-stripe
4bdc4e27d4
Deprecate StripeClient#request (#1415)
* Deprecate StripeClient#request

* Remove useless variable assignment
2024-06-12 15:47:02 -07:00
Ramya Rao
f774da66a7
Add method to list invoice line items (#1404) 2024-05-24 10:42:33 -07:00
prathmesh-stripe
7f2bdfa718
Pass params to transfer reversal (#1399)
* Pass params to transfer reversal

* Add tests

* Add test for header check
2024-05-08 17:44:14 -04:00
anniel-stripe
f538d421d2
Add more tests for request opts flow (#1398)
* Add more tests for request opts flow

* spurious change

* fix return url
2024-05-06 16:05:56 -07:00
anniel-stripe
a7aadfad4d
Start tracking StripeClient#request usage (#1396)
* Pass stripe_client_request for subsequent request

* codegen-format

* fix test
2024-05-03 10:27:42 -07:00
Ramya Rao
93267e38ab
Sdk release/next major (#1374) 2024-04-10 16:00:43 -07:00
stripe-openapi[bot]
dfea3bdac5
Update generated code (#1372)
* Update generated code for v914

* Update generated code for v918

* Update generated code for v919

* Update generated code for v923

* Update generated code for v935

* Update generated code for v938

* Revert "Update generated code for v935"

This reverts commit 5316ec6e0310a94b496213de077090b03a0fac34.

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <ramya@stripe.com>
2024-04-09 13:36:37 -07:00
helenye-stripe
a12ff9cdb8
Add last_response to StripeObject (#1377)
* Add last_response to StripeObject

* Add more data to test and fix README
2024-04-09 10:52:43 -07:00
helenye-stripe
5eb028cac0
Warm up ca_store in gc tests to make sure they pass in isolation (#1375) 2024-04-08 12:57:21 -07:00
stripe-openapi[bot]
ad00c3e621
Update generated code (#1359)
* Update generated code for v872

* Update generated code for v878
2024-03-14 11:58:37 -07:00
helenye-stripe
4705a5f5f9
Refactor after SDK based generation pattern (#1354)
* Refactor after SDK based generation pattern

* update for object types & reorder
2024-03-11 13:10:30 -07:00
anniel-stripe
3e18ad6338
Fix TaxId tests to support top-level TaxId methods (#1334) 2024-02-22 17:28:36 +00:00
stripe-openapi[bot]
e3f1a90e79
Update generated code (#1329)
* Update generated code for v818

* Update generated code for v820

* Update generated code for v828

* Update generated code for v829

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
2024-02-15 15:56:05 -08:00
helenye-stripe
ce8d7ca4cc
Add methods for dynamically referenced constants (#1327)
* Update dynamic constant references

* Manual additionsg

* Fix lint

* Use const_Get

* Remove puts
2024-02-09 17:15:39 -08:00
Helen Ye
08b00636a5 Add test to warn about search being deprecated 2024-01-18 16:46:51 -08:00
stripe-openapi[bot]
bc03829f1d
Update generated code (#1310)
* Update generated code for v753

* Update generated code for v755

* Update generated code for v755

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com>
2024-01-12 16:34:38 +00:00
stripe-openapi[bot]
c51404d7a2
Update generated code (#1303)
* Update generated code for v726

* Update generated code for v733

* Update generated code for v733

* Update generated code for v734

* Update generated code for v734

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com>
2023-12-21 14:55:42 -08:00
pakrym-stripe
c46f4a6af1
Add support for updatable singleton resources (#1304) 2023-12-21 11:44:29 -08:00
Annie Li
9c7a649a93 lint 2023-12-11 11:04:16 -08:00
anniel-stripe
7e23610f83
Merge branch 'master' into richardm-anniel-singleton-retrieve-parameters 2023-12-11 11:01:05 -08:00
Richard Marmorstein
3fdaa23ae4 Format 2023-12-01 12:58:22 -08:00
Richard Marmorstein
b44211190b Omit usage if empty 2023-12-01 12:54:58 -08:00
Richard Marmorstein
aa26c78455 Format 2023-11-28 13:36:34 -08:00
Richard Marmorstein
e47dcb8b98 Measure usage of .save 2023-11-28 13:30:09 -08:00
Richard Marmorstein
2d6249fbd2 Autocorrect 2023-11-27 17:02:33 -08:00
Richard Marmorstein
3ecb678e09 Support sending parameters inside singleton retrieve 2023-11-27 16:23:01 -08:00
stripe-openapi[bot]
33eff4d1d3
Update generated code (#1286)
* Update generated code for v629

* Update generated code for v633

* Update generated code for v640

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-11-02 15:11:37 -07:00
stripe-openapi[bot]
4b425a8fc6
Update generated code (#1281)
* Update generated code for v599

* Update generated code for v601

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-10-16 10:54:27 -07:00
stripe-openapi[bot]
e0d068c909
Update generated code (#1275)
* Update generated code for v546

* Update generated code for v548

* Update generated code for v551

* Update generated code for v557

* Update generated code for v563

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-09-28 15:46:39 -07:00
stripe-openapi[bot]
0f0d604ca8
Update generated code (#1272)
* Update generated code for v527

* Update generated code for v530

* Update generated code for v531

* Update generated code for v532

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-09-14 17:49:24 -07:00
stripe-openapi[bot]
a1c164e2d8
Update generated code (#1271)
* Update generated code for v519

* Update generated code for v522

* Update generated code for v522

* Update generated code for v525

* Update generated code for v525

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-09-14 08:28:36 -07:00
Richard Marmorstein
ee60e66936
stripe-ruby v9 release (#1253)
* wip

* Pin to latest API version

* Empty commit

---------

Co-authored-by: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com>
2023-08-16 15:03:29 -07:00
stripe-openapi[bot]
deeed0ab79
Add test for Quote.pdf (#1248)
* Update generated code for v426

* Update generated code for v426

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Richard Marmorstein <52928443+richardm-stripe@users.noreply.github.com>
2023-07-27 22:33:49 +00:00
pakrym-stripe
62fb31d578
Suppor testing methods that hit files endpoint (#1250) 2023-07-21 16:47:49 +00:00