diff --git a/src/ApiResource/Gateway/ChargeApiResource.php b/src/ApiResource/Gateway/ChargeApiResource.php index 9136e83..98c1d5a 100644 --- a/src/ApiResource/Gateway/ChargeApiResource.php +++ b/src/ApiResource/Gateway/ChargeApiResource.php @@ -21,14 +21,18 @@ use Symfony\Component\Validator\Constraints as Assert; provider: ApiResourceStateProvider::class )] #[API\Get()] -#[API\GetCollection( - security: "is_granted('IS_AUTHENTICATED_FULLY')" -)] +#[API\GetCollection(security: "is_granted('IS_AUTHENTICATED_FULLY')")] class ChargeApiResource { #[API\ApiProperty(writable: false, identifier: true)] public ?int $id = null; + /** + * The Checkout to which this Charge item belongs to. + */ + #[API\ApiProperty(writable: false)] + public CheckoutApiResource $checkout; + /** * How this item should be processed by the Gateway.\ * \