Skip to content
Closed
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 .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 239
openapi_spec_hash: 85e424bee4fe449466ceada88117613e
openapi_spec_hash: f3f27992aea4b9bb24604978dc64f9f6
config_hash: 1ca082e374ef7000e2a5971e8da740e0
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions src/InboundFednowTransfers/InboundFednowTransfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@
* debtorName: string,
* debtorRoutingNumber: string,
* decline: null|Decline|DeclineShape,
* endToEndIdentification: string|null,
* status: Status|value-of<Status>,
* transactionID: string|null,
* transactionIdentification: string|null,
* type: Type|value-of<Type>,
* uniqueEndToEndTransactionReference: string|null,
* unstructuredRemittanceInformation: string|null,
Expand Down Expand Up @@ -118,6 +120,12 @@ final class InboundFednowTransfer implements BaseModel
#[Required]
public ?Decline $decline;

/**
* A free-form reference string set by the sender, to help identify the transfer.
*/
#[Required('end_to_end_identification')]
public ?string $endToEndIdentification;

/**
* The lifecycle status of the transfer.
*
Expand All @@ -132,6 +140,12 @@ final class InboundFednowTransfer implements BaseModel
#[Required('transaction_id')]
public ?string $transactionID;

/**
* The FedNow network identification of the transfer.
*/
#[Required('transaction_identification')]
public ?string $transactionIdentification;

/**
* A constant representing the object's type. For this resource it will always be `inbound_fednow_transfer`.
*
Expand Down Expand Up @@ -170,8 +184,10 @@ final class InboundFednowTransfer implements BaseModel
* debtorName: ...,
* debtorRoutingNumber: ...,
* decline: ...,
* endToEndIdentification: ...,
* status: ...,
* transactionID: ...,
* transactionIdentification: ...,
* type: ...,
* uniqueEndToEndTransactionReference: ...,
* unstructuredRemittanceInformation: ...,
Expand All @@ -194,8 +210,10 @@ final class InboundFednowTransfer implements BaseModel
* ->withDebtorName(...)
* ->withDebtorRoutingNumber(...)
* ->withDecline(...)
* ->withEndToEndIdentification(...)
* ->withStatus(...)
* ->withTransactionID(...)
* ->withTransactionIdentification(...)
* ->withType(...)
* ->withUniqueEndToEndTransactionReference(...)
* ->withUnstructuredRemittanceInformation(...)
Expand Down Expand Up @@ -230,8 +248,10 @@ public static function with(
string $debtorName,
string $debtorRoutingNumber,
Decline|array|null $decline,
?string $endToEndIdentification,
Status|string $status,
?string $transactionID,
?string $transactionIdentification,
Type|string $type,
?string $uniqueEndToEndTransactionReference,
?string $unstructuredRemittanceInformation,
Expand All @@ -250,8 +270,10 @@ public static function with(
$self['debtorName'] = $debtorName;
$self['debtorRoutingNumber'] = $debtorRoutingNumber;
$self['decline'] = $decline;
$self['endToEndIdentification'] = $endToEndIdentification;
$self['status'] = $status;
$self['transactionID'] = $transactionID;
$self['transactionIdentification'] = $transactionIdentification;
$self['type'] = $type;
$self['uniqueEndToEndTransactionReference'] = $uniqueEndToEndTransactionReference;
$self['unstructuredRemittanceInformation'] = $unstructuredRemittanceInformation;
Expand Down Expand Up @@ -398,6 +420,18 @@ public function withDecline(Decline|array|null $decline): self
return $self;
}

/**
* A free-form reference string set by the sender, to help identify the transfer.
*/
public function withEndToEndIdentification(
?string $endToEndIdentification
): self {
$self = clone $this;
$self['endToEndIdentification'] = $endToEndIdentification;

return $self;
}

/**
* The lifecycle status of the transfer.
*
Expand All @@ -422,6 +456,18 @@ public function withTransactionID(?string $transactionID): self
return $self;
}

/**
* The FedNow network identification of the transfer.
*/
public function withTransactionIdentification(
?string $transactionIdentification
): self {
$self = clone $this;
$self['transactionIdentification'] = $transactionIdentification;

return $self;
}

/**
* A constant representing the object's type. For this resource it will always be `inbound_fednow_transfer`.
*
Expand Down