Make origin accounting embedded object in API response

This commit is contained in:
2024-04-24 14:28:03 +02:00
parent 35a20a1cc4
commit ae981cdfd0
+1
View File
@@ -40,6 +40,7 @@ class GatewayCheckout
* The Accounting that will issue the Transactions of the GatewayCharges after a successful checkout.
*/
#[Assert\NotBlank()]
#[API\ApiProperty(readableLink: true)]
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)]
private ?Accounting $origin = null;