Files
kulakpos_web/vendor/mercadopago/dx-php/tests/DummyEntity.php
triagungbiantoro 417b7b7453
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m27s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 31s
Build, Push and Deploy / deploy-production (push) Has been skipped
harga pada beranda terhubung ke manage plans di dashboard admin
2026-04-25 21:57:25 +07:00

60 lines
1.3 KiB
PHP
Executable File

<?php
namespace MercadoPago;
use MercadoPago\Annotation\RestMethod;
use MercadoPago\Annotation\RequestParam;
use MercadoPago\Annotation\Attribute;
/**
* @RestMethod(resource="/dummies", method="list")
* @RestMethod(resource="/dummy/:id", method="read")
* @RestMethod(resource="/dummy/:id", method="update")
* @RestMethod(resource="/v1/payments", method="create")
* @RestMethod(resource="/v1/dummies/search", method="search")
* @RequestParam(param="access_token")
*/
class DummyEntity extends Entity
{
/**
* @Attribute(primaryKey = true, type="string", idempotency=true)
*/
protected $id;
/**
* @Attribute(type = "string")
*/
protected $title;
/**
* @Attribute(type = "string")
*/
protected $email;
/**
* @Attribute(type = "string")
*/
protected $desc;
/**
* @Attribute(type = "float")
*/
protected $price;
/**
* @Attribute(type = "int")
*/
protected $quantity;
/**
* @Attribute(type = "date")
*/
protected $registered_at;
/**
* @Attribute(type = "stdClass")
*/
protected $object;
/**
* @Attribute()
*/
protected $other;
/**
* @Attribute(readOnly="true")
*/
protected $readOnlyAttribute;
/**
* @Attribute(maxLength=20)
*/
protected $maxLengthAttribute;
}