Skip to content

Commit dff3f59

Browse files
feat(api): api update
1 parent 9cf4b3c commit dff3f59

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 232
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-46a90f99726aa861d06ec56fb73592b4dcb4499d5a765d1a10dfc9619446306f.yml
3-
openapi_spec_hash: 8406b96c39c72de064a810c393c00554
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cfc57f9c5bccf2918dfb5fc56fb6b6fd1eadd851f037b6873ba4e2442d5c8126.yml
3+
openapi_spec_hash: 7e54b69798d6a1487474ed229a83c6fc
44
config_hash: 27e44ed36b9c5617b580ead7231a594a

src/Accounts/Account.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* createdAt: \DateTimeInterface,
2828
* currency: Currency|value-of<Currency>,
2929
* entityID: string,
30-
* funding: null|Funding|value-of<Funding>,
30+
* funding: Funding|value-of<Funding>,
3131
* idempotencyKey: string|null,
3232
* informationalEntityID: string|null,
3333
* interestAccrued: string,
@@ -94,10 +94,10 @@ final class Account implements BaseModel
9494
/**
9595
* Whether the Account is funded by a loan or by deposits.
9696
*
97-
* @var value-of<Funding>|null $funding
97+
* @var value-of<Funding> $funding
9898
*/
9999
#[Required(enum: Funding::class)]
100-
public ?string $funding;
100+
public string $funding;
101101

102102
/**
103103
* The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](https://increase.com/documentation/idempotency-keys).
@@ -226,7 +226,7 @@ public function __construct()
226226
*
227227
* @param Bank|value-of<Bank> $bank
228228
* @param Currency|value-of<Currency> $currency
229-
* @param Funding|value-of<Funding>|null $funding
229+
* @param Funding|value-of<Funding> $funding
230230
* @param Loan|LoanShape|null $loan
231231
* @param Status|value-of<Status> $status
232232
* @param Type|value-of<Type> $type
@@ -239,7 +239,7 @@ public static function with(
239239
\DateTimeInterface $createdAt,
240240
Currency|string $currency,
241241
string $entityID,
242-
Funding|string|null $funding,
242+
Funding|string $funding,
243243
?string $idempotencyKey,
244244
?string $informationalEntityID,
245245
string $interestAccrued,
@@ -359,9 +359,9 @@ public function withEntityID(string $entityID): self
359359
/**
360360
* Whether the Account is funded by a loan or by deposits.
361361
*
362-
* @param Funding|value-of<Funding>|null $funding
362+
* @param Funding|value-of<Funding> $funding
363363
*/
364-
public function withFunding(Funding|string|null $funding): self
364+
public function withFunding(Funding|string $funding): self
365365
{
366366
$self = clone $this;
367367
$self['funding'] = $funding;

0 commit comments

Comments
 (0)