allow vendord
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
This commit is contained in:
60
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Refund.php
vendored
Normal file
60
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Refund.php
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/**
|
||||
* Refund class file
|
||||
*/
|
||||
namespace MercadoPago;
|
||||
|
||||
use MercadoPago\Annotation\RestMethod;
|
||||
use MercadoPago\Annotation\RequestParam;
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
|
||||
/**
|
||||
* refund class
|
||||
* @RestMethod(resource="/v1/payments/:payment_id/refunds", method="create")
|
||||
* @RestMethod(resource="/v1/payments/:payment_id/refunds/:id", method="read")
|
||||
*/
|
||||
class Refund extends Entity {
|
||||
|
||||
/**
|
||||
* id
|
||||
* @Attribute()
|
||||
* @var int
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* payment_id
|
||||
* @Attribute(serialize=false)
|
||||
* @var int
|
||||
*/
|
||||
protected $payment_id;
|
||||
|
||||
/**
|
||||
* amount
|
||||
* @Attribute()
|
||||
* @var float
|
||||
*/
|
||||
protected $amount;
|
||||
|
||||
/**
|
||||
* metadata
|
||||
* @Attribute()
|
||||
* @var object
|
||||
*/
|
||||
protected $metadata;
|
||||
|
||||
/**
|
||||
* source
|
||||
* @Attribute()
|
||||
* @var object
|
||||
*/
|
||||
protected $source;
|
||||
|
||||
/**
|
||||
* date_created
|
||||
* @Attribute(readOnly=true)
|
||||
* @var \DateTime
|
||||
*/
|
||||
protected $date_created;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user