Subiendo proyecto completo sin restricciones de git ignore

This commit is contained in:
Jose Sanchez
2023-08-17 11:44:02 -04:00
parent a0d4f5ba3b
commit 20f1c60600
19921 changed files with 2509159 additions and 45 deletions

View File

@@ -0,0 +1,60 @@
<?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;
}