Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.74.0"
".": "0.75.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-d5ad75c7a80acd1cb3ff0483fa0b5b2eb9d73287f107f53a8fb3a3a0b6a32ed8.yml
openapi_spec_hash: da73faf476df3eddcf0ac51c38dd1b17
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-81da26cfd6540bc5195c268095b26df132373e932997f224d19247a36e1a1183.yml
openapi_spec_hash: 7b9bbc35378f2fc47629810923bd0017
config_hash: 25d7d7aa4882db6189b4b53e8e249e80
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.75.0 (2026-03-16)

Full Changelog: [v0.74.0...v0.75.0](https://github.com/Increase/increase-php/compare/v0.74.0...v0.75.0)

### Features

* **api:** api update ([588eee8](https://github.com/Increase/increase-php/commit/588eee8e2a819c78673f6c141a82bd3f57862958))

## 0.74.0 (2026-03-13)

Full Changelog: [v0.73.0...v0.74.0](https://github.com/Increase/increase-php/compare/v0.73.0...v0.74.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
<!-- x-release-please-start-version -->

```
composer require "increase/increase 0.74.0"
composer require "increase/increase 0.75.0"
```

<!-- x-release-please-end -->
Expand Down
28 changes: 28 additions & 0 deletions src/CardPushTransfers/CardPushTransfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Increase\CardPushTransfers\CardPushTransfer\CreatedBy;
use Increase\CardPushTransfers\CardPushTransfer\Decline;
use Increase\CardPushTransfers\CardPushTransfer\PresentmentAmount;
use Increase\CardPushTransfers\CardPushTransfer\Route;
use Increase\CardPushTransfers\CardPushTransfer\Status;
use Increase\CardPushTransfers\CardPushTransfer\Submission;
use Increase\CardPushTransfers\CardPushTransfer\Type;
Expand Down Expand Up @@ -49,6 +50,7 @@
* merchantState: string,
* presentmentAmount: PresentmentAmount|PresentmentAmountShape,
* recipientName: string,
* route: Route|value-of<Route>,
* senderAddressCity: string,
* senderAddressLine1: string,
* senderAddressPostalCode: string,
Expand Down Expand Up @@ -184,6 +186,14 @@ enum: BusinessApplicationIdentifier::class,
#[Required('recipient_name')]
public string $recipientName;

/**
* The card network route used for the transfer.
*
* @var value-of<Route> $route
*/
#[Required(enum: Route::class)]
public string $route;

/**
* The city of the sender.
*/
Expand Down Expand Up @@ -267,6 +277,7 @@ enum: BusinessApplicationIdentifier::class,
* merchantState: ...,
* presentmentAmount: ...,
* recipientName: ...,
* route: ...,
* senderAddressCity: ...,
* senderAddressLine1: ...,
* senderAddressPostalCode: ...,
Expand Down Expand Up @@ -302,6 +313,7 @@ enum: BusinessApplicationIdentifier::class,
* ->withMerchantState(...)
* ->withPresentmentAmount(...)
* ->withRecipientName(...)
* ->withRoute(...)
* ->withSenderAddressCity(...)
* ->withSenderAddressLine1(...)
* ->withSenderAddressPostalCode(...)
Expand Down Expand Up @@ -330,6 +342,7 @@ public function __construct()
* @param CreatedBy|CreatedByShape|null $createdBy
* @param Decline|DeclineShape|null $decline
* @param PresentmentAmount|PresentmentAmountShape $presentmentAmount
* @param Route|value-of<Route> $route
* @param Status|value-of<Status> $status
* @param Submission|SubmissionShape|null $submission
* @param Type|value-of<Type> $type
Expand All @@ -354,6 +367,7 @@ public static function with(
string $merchantState,
PresentmentAmount|array $presentmentAmount,
string $recipientName,
Route|string $route,
string $senderAddressCity,
string $senderAddressLine1,
string $senderAddressPostalCode,
Expand Down Expand Up @@ -385,6 +399,7 @@ public static function with(
$self['merchantState'] = $merchantState;
$self['presentmentAmount'] = $presentmentAmount;
$self['recipientName'] = $recipientName;
$self['route'] = $route;
$self['senderAddressCity'] = $senderAddressCity;
$self['senderAddressLine1'] = $senderAddressLine1;
$self['senderAddressPostalCode'] = $senderAddressPostalCode;
Expand Down Expand Up @@ -624,6 +639,19 @@ public function withRecipientName(string $recipientName): self
return $self;
}

/**
* The card network route used for the transfer.
*
* @param Route|value-of<Route> $route
*/
public function withRoute(Route|string $route): self
{
$self = clone $this;
$self['route'] = $route;

return $self;
}

/**
* The city of the sender.
*/
Expand Down
15 changes: 15 additions & 0 deletions src/CardPushTransfers/CardPushTransfer/Route.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

namespace Increase\CardPushTransfers\CardPushTransfer;

/**
* The card network route used for the transfer.
*/
enum Route: string
{
case VISA = 'visa';

case MASTERCARD = 'mastercard';
}
28 changes: 28 additions & 0 deletions src/CardValidations/CardValidation.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Increase\CardValidations\CardValidation\Acceptance;
use Increase\CardValidations\CardValidation\CreatedBy;
use Increase\CardValidations\CardValidation\Decline;
use Increase\CardValidations\CardValidation\Route;
use Increase\CardValidations\CardValidation\Status;
use Increase\CardValidations\CardValidation\Submission;
use Increase\CardValidations\CardValidation\Type;
Expand Down Expand Up @@ -41,6 +42,7 @@
* merchantName: string,
* merchantPostalCode: string,
* merchantState: string,
* route: Route|value-of<Route>,
* status: Status|value-of<Status>,
* submission: null|Submission|SubmissionShape,
* type: Type|value-of<Type>,
Expand Down Expand Up @@ -159,6 +161,14 @@ final class CardValidation implements BaseModel
#[Required('merchant_state')]
public string $merchantState;

/**
* The card network route used for the validation.
*
* @var value-of<Route> $route
*/
#[Required(enum: Route::class)]
public string $route;

/**
* The lifecycle status of the validation.
*
Expand Down Expand Up @@ -205,6 +215,7 @@ final class CardValidation implements BaseModel
* merchantName: ...,
* merchantPostalCode: ...,
* merchantState: ...,
* route: ...,
* status: ...,
* submission: ...,
* type: ...,
Expand Down Expand Up @@ -233,6 +244,7 @@ final class CardValidation implements BaseModel
* ->withMerchantName(...)
* ->withMerchantPostalCode(...)
* ->withMerchantState(...)
* ->withRoute(...)
* ->withStatus(...)
* ->withSubmission(...)
* ->withType(...)
Expand All @@ -251,6 +263,7 @@ public function __construct()
* @param Acceptance|AcceptanceShape|null $acceptance
* @param CreatedBy|CreatedByShape|null $createdBy
* @param Decline|DeclineShape|null $decline
* @param Route|value-of<Route> $route
* @param Status|value-of<Status> $status
* @param Submission|SubmissionShape|null $submission
* @param Type|value-of<Type> $type
Expand All @@ -274,6 +287,7 @@ public static function with(
string $merchantName,
string $merchantPostalCode,
string $merchantState,
Route|string $route,
Status|string $status,
Submission|array|null $submission,
Type|string $type,
Expand All @@ -298,6 +312,7 @@ public static function with(
$self['merchantName'] = $merchantName;
$self['merchantPostalCode'] = $merchantPostalCode;
$self['merchantState'] = $merchantState;
$self['route'] = $route;
$self['status'] = $status;
$self['submission'] = $submission;
$self['type'] = $type;
Expand Down Expand Up @@ -512,6 +527,19 @@ public function withMerchantState(string $merchantState): self
return $self;
}

/**
* The card network route used for the validation.
*
* @param Route|value-of<Route> $route
*/
public function withRoute(Route|string $route): self
{
$self = clone $this;
$self['route'] = $route;

return $self;
}

/**
* The lifecycle status of the validation.
*
Expand Down
15 changes: 15 additions & 0 deletions src/CardValidations/CardValidation/Route.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

namespace Increase\CardValidations\CardValidation;

/**
* The card network route used for the validation.
*/
enum Route: string
{
case VISA = 'visa';

case MASTERCARD = 'mastercard';
}
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace Increase;

// x-release-please-start-version
const VERSION = '0.74.0';
const VERSION = '0.75.0';
// x-release-please-end