Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @ApiResource(
- * collectionOperations={
- * "post"={
- * "denormalization_context"={"groups"={"bpay_biller_code_sync:create"}},
- * "openapi_context"={"summary"="Synchronises BPAY biller codes."},
- * "path"="/bpay-biller-codes/sync",
- * "security"="is_granted(permission('PERMISSION_BPAY_BILLER_CODE_SYNC'))"
- * }
- * },
- * itemOperations={},
- * normalizationContext={"groups"={"bpay_biller_code_sync:read"}}
- * )
- */
- final class BpayBillerCodeSync extends AbstractApiResource implements NoIriItemInterface
- {
- /**
- * Array of objects containing the results of BPAY biller code synchronisation.
- *
- * @ApiProperty(attributes={"openapi_context"={"items"={
- * "properties"={
- * "code"={
- * "description"="BPAY biller code.",
- * "type"="string"
- * },
- * "result"={
- * "description"="Result of synchronisation.",
- * "enum"=BpayBillerCodeSyncDataPersister::ALL_RESULTS,
- * "type"="string"
- * }
- * },
- * "type"="object"}}}
- * )
- *
- * @Groups({"bpay_biller_code_sync:read"})
- *
- * @var mixed[]
- */
- protected array $results = [];
- }
Advertisement
Add Comment
Please, Sign In to add comment