SudoSOS Back-end API / entity/payment-request/payment-request-attempt / PaymentRequestAttempt
Class: PaymentRequestAttempt ​
The data-model contract is: a single PaymentRequest may have many StripePaymentIntents (retries), but only one of them ever reaches SUCCEEDED. The webhook ingestion path in the service layer reads this back-reference to mark the linked request as paid; the wiring itself lives outside this entity (see the service-layer changes).
Extends ​
Constructors ​
Constructor ​
ts
new PaymentRequestAttempt(): PaymentRequestAttempt;Returns ​
PaymentRequestAttempt
Inherited from ​
BaseEntityWithoutId.constructor
Properties ​
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
createdAt | readonly | Date | The creation date of the object. | BaseEntityWithoutId.createdAt |
paymentIntent | public | StripePaymentIntent | - | - |
paymentIntentId | public | number | - | - |
paymentRequest | public | PaymentRequest | - | - |
paymentRequestUuid | public | string | - | - |
updatedAt | readonly | Date | The last update date of the object. | BaseEntityWithoutId.updatedAt |
version | readonly | number | The current version of the object. | BaseEntityWithoutId.version |