Skip to content

Commit

Permalink
Merge pull request #21 from JonPurvis/remove-inferred-balances
Browse files Browse the repository at this point in the history
remove `stripeFinancialConnectionAccountInferredBalanceId()`
  • Loading branch information
JonPurvis authored Oct 20, 2023
2 parents cda649a + 9462cab commit 9f85bc2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ the names of resources _should_ match what's in this package.
| API Resource | Method | Example |
|---------------------------------------------------------------------------------------------------|-------------------------------------------------------|-------------------------------------|
| [Accounts](https://stripe.com/docs/api/financial_connections/accounts) | `stripeFinancialConnectionAccountId()` | `fca_z3JzQ1OCkYved5uWOqh3b387` |
| [Accounts Inferred Balances](https://stripe.com/docs/api/financial_connections/inferred_balances) | `stripeFinancialConnectionAccountInferredBalanceId()` | `fcinba_egyG5XMYYLLXkadyiM7FEVRW` |
| [Account Ownership](https://stripe.com/docs/api/financial_connections/ownership) | `stripeFinancialConnectionAccountOwnershipId()` | `fcaowns_XwyWHMQFo9koh9U1TuOMW43D` |
| [Sessions](https://stripe.com/docs/api/financial_connections/session) | `stripeFinancialConnectionSessionId()` | `fcsess_ZnomHexUQ68qiad2GWqQsvsa` |
| [Transactions](https://stripe.com/docs/api/financial_connections/transaction) | `stripeFinancialConnectionTransactionId()` | `fctxn_yIcXfBzg3NSJRYHqIW5spz4v` |
Expand Down
5 changes: 0 additions & 5 deletions src/Stripe.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,6 @@ public function stripeCashBalanceTransactionId(): string
return 'ccsbtxn_' . $this->generateRandomString();
}

public function stripeFinancialConnectionAccountInferredBalanceId(): string
{
return 'fcinba_' . $this->generateRandomString();
}

public function stripeIssuingTokenId(): string
{
return 'intok_' . $this->generateRandomString();
Expand Down
4 changes: 0 additions & 4 deletions tests/StripeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,6 @@
expect($this->fake->stripeCashBalanceTransactionId())->toStartWith('ccsbtxn_')->toHaveLength(32)->toBeString();
})->repeat(2);

it('generates a financial connection account inferred balance id', function () {
expect($this->fake->stripeFinancialConnectionAccountInferredBalanceId())->toStartWith('fcinba_')->toHaveLength(31)->toBeString();
})->repeat(2);

it('generates a issuing token id', function () {
expect($this->fake->stripeIssuingTokenId())->toStartWith('intok_')->toHaveLength(30)->toBeString();
})->repeat(2);
Expand Down

0 comments on commit 9f85bc2

Please sign in to comment.