Skip to content

Commit

Permalink
Update generated code for v296
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 10, 2023
1 parent b7744ed commit 04d321d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v294
v296
13 changes: 13 additions & 0 deletions tests/Stripe/GeneratedExamplesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4030,4 +4030,17 @@ public function testListLineItemsCalculation()
static::assertInstanceOf(\Stripe\Collection::class, $result);
static::assertInstanceOf(\Stripe\Tax\CalculationLineItem::class, $result->data[0]);
}

public function testCreatePaymentIntent3()
{
$this->expectsRequest('post', '/v1/payment_intents');
$result = $this->client->paymentIntents->create(
[
'amount' => 200,
'currency' => 'usd',
'payment_method_data' => ['type' => 'p24', 'p24' => ['bank' => 'blik']],
]
);
static::assertInstanceOf(\Stripe\PaymentIntent::class, $result);
}
}

0 comments on commit 04d321d

Please sign in to comment.