Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
36
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Documentation.php
vendored
Normal file
36
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Documentation.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* Documentation class file
|
||||
*/
|
||||
namespace MercadoPago;
|
||||
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
use MercadoPago\Annotation\DenyDynamicAttribute;
|
||||
|
||||
/**
|
||||
* Documentation class
|
||||
*/
|
||||
class Documentation extends Entity
|
||||
{
|
||||
/**
|
||||
* type
|
||||
* @Attribute(type = "string", readOnly = true)
|
||||
* @var string
|
||||
*/
|
||||
protected $type;
|
||||
|
||||
/**
|
||||
* url
|
||||
* @Attribute(type = "string", readOnly = true)
|
||||
* @var string
|
||||
*/
|
||||
protected $url;
|
||||
|
||||
/**
|
||||
* description
|
||||
* @Attribute(type = "string", readOnly = true)
|
||||
* @var string
|
||||
*/
|
||||
protected $description;
|
||||
|
||||
}
|
||||
71
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Item.php
vendored
Normal file
71
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Item.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/**
|
||||
* Item class file
|
||||
*/
|
||||
namespace MercadoPago;
|
||||
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
use MercadoPago\Annotation\DenyDynamicAttribute;
|
||||
|
||||
/**
|
||||
* Item class
|
||||
*/
|
||||
class Item extends Entity
|
||||
{
|
||||
/**
|
||||
* id
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* title
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $title;
|
||||
|
||||
/**
|
||||
* description
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $description;
|
||||
|
||||
/**
|
||||
* category_id
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $category_id;
|
||||
|
||||
/**
|
||||
* picture_url
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $picture_url;
|
||||
|
||||
/**
|
||||
* currency_id
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $currency_id;
|
||||
|
||||
/**
|
||||
* quantity
|
||||
* @Attribute(type = "int")
|
||||
* @var int
|
||||
*/
|
||||
protected $quantity;
|
||||
|
||||
/**
|
||||
* unit_price
|
||||
* @Attribute(type = "float")
|
||||
* @var float
|
||||
*/
|
||||
protected $unit_price;
|
||||
|
||||
}
|
||||
99
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Payer.php
vendored
Normal file
99
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Payer.php
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
/**
|
||||
* Payer class file
|
||||
*/
|
||||
namespace MercadoPago;
|
||||
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
use MercadoPago\Annotation\DenyDynamicAttribute;
|
||||
|
||||
/**
|
||||
* Payer Class
|
||||
*/
|
||||
class Payer extends Entity
|
||||
{
|
||||
/**
|
||||
* id
|
||||
* @Attribute()
|
||||
* @var string
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* entity_type
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $entity_type;
|
||||
|
||||
/**
|
||||
* type
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $type;
|
||||
|
||||
/**
|
||||
* name
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* surname
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $surname;
|
||||
|
||||
/**
|
||||
* first_name
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $first_name;
|
||||
|
||||
/**
|
||||
* last_name
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $last_name;
|
||||
|
||||
/**
|
||||
* email
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $email;
|
||||
|
||||
/**
|
||||
* date_created
|
||||
* @Attribute(type = "date")
|
||||
* @var \DateTime
|
||||
*/
|
||||
protected $date_created;
|
||||
|
||||
/**
|
||||
* phone
|
||||
* @Attribute()
|
||||
* @var object
|
||||
*/
|
||||
protected $phone;
|
||||
|
||||
/**
|
||||
* identification
|
||||
* @Attribute()
|
||||
* @var object
|
||||
*/
|
||||
protected $identification;
|
||||
|
||||
/**
|
||||
* address
|
||||
* @Attribute()
|
||||
* @var object
|
||||
*/
|
||||
protected $address;
|
||||
|
||||
}
|
||||
644
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Payment.php
vendored
Normal file
644
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Payment.php
vendored
Normal file
@@ -0,0 +1,644 @@
|
||||
<?php
|
||||
/**
|
||||
|
||||
*/
|
||||
namespace MercadoPago;
|
||||
use MercadoPago\Annotation\RestMethod;
|
||||
use MercadoPago\Annotation\RequestParam;
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
|
||||
/**
|
||||
* This class provides the methods to access the API that will allow you to create your own payment experience on your website.
|
||||
*
|
||||
* From basic to advanced configurations, you control the whole experience.
|
||||
*
|
||||
* @link https://www.mercadopago.com/developers/en/guides/online-payments/checkout-api/introduction/ Click here for more infos
|
||||
*
|
||||
* @RestMethod(resource="/v1/payments", method="create")
|
||||
* @RestMethod(resource="/v1/payments/:id", method="read")
|
||||
* @RestMethod(resource="/v1/payments/search", method="search")
|
||||
* @RestMethod(resource="/v1/payments/:id", method="update")
|
||||
* @RestMethod(resource="/v1/payments/:id/refunds", method="refund")
|
||||
*/
|
||||
class Payment extends Entity
|
||||
{
|
||||
|
||||
/**
|
||||
* id
|
||||
* @var int
|
||||
* @Attribute(primaryKey = true)
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* acquirer
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $acquirer;
|
||||
|
||||
/**
|
||||
* acquirer_reconciliation
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $acquirer_reconciliation;
|
||||
|
||||
/**
|
||||
* site_id
|
||||
* @var string
|
||||
* @Attribute(idempotency = true)
|
||||
*/
|
||||
protected $site_id;
|
||||
|
||||
/**
|
||||
* sponsor_id
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $sponsor_id;
|
||||
|
||||
/**
|
||||
* operation_type
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $operation_type;
|
||||
|
||||
/**
|
||||
* order_id
|
||||
* @var int
|
||||
* @Attribute(idempotency = true)
|
||||
*/
|
||||
protected $order_id;
|
||||
|
||||
/**
|
||||
* order
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $order;
|
||||
|
||||
/**
|
||||
* binary_mode
|
||||
* @var boolean
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $binary_mode;
|
||||
|
||||
/**
|
||||
* external_reference
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $external_reference;
|
||||
|
||||
/**
|
||||
* status
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* status_detail
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $status_detail;
|
||||
|
||||
/**
|
||||
* store_id
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $store_id;
|
||||
|
||||
/**
|
||||
* taxes_amount
|
||||
* @var float
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $taxes_amount;
|
||||
|
||||
/**
|
||||
* payment_type
|
||||
* @var string
|
||||
* @Attribute(type = "string")
|
||||
*/
|
||||
protected $payment_type;
|
||||
|
||||
/**
|
||||
* date_created
|
||||
* @var \DateTime
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $date_created;
|
||||
|
||||
/**
|
||||
* last_modified
|
||||
* @var \DateTime
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $last_modified;
|
||||
|
||||
/**
|
||||
* live_mode
|
||||
* @var boolean
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $live_mode;
|
||||
|
||||
/**
|
||||
* date_last_update
|
||||
* @var \DateTime
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $date_last_updated;
|
||||
|
||||
/**
|
||||
* date_of_expiration
|
||||
* @var \DateTime
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $date_of_expiration;
|
||||
|
||||
/**
|
||||
* deduction_schema
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $deduction_schema;
|
||||
|
||||
/**
|
||||
* date_approved
|
||||
* @var \DateTime
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $date_approved;
|
||||
|
||||
/**
|
||||
* money_release_date
|
||||
* @var \DateTime
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $money_release_date;
|
||||
|
||||
/**
|
||||
* money_release_days
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $money_release_days;
|
||||
|
||||
/**
|
||||
* money_release_schema
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $money_release_schema;
|
||||
|
||||
/**
|
||||
* money_release_status
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $money_release_status;
|
||||
|
||||
/**
|
||||
* currency_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $currency_id;
|
||||
|
||||
/**
|
||||
* transaction_amount
|
||||
* @var float
|
||||
* @Attribute(type = "float")
|
||||
*/
|
||||
protected $transaction_amount;
|
||||
|
||||
/**
|
||||
* transaction_amount_refunded
|
||||
* @var float
|
||||
* @Attribute(type = "float")
|
||||
*/
|
||||
protected $transaction_amount_refunded;
|
||||
|
||||
/**
|
||||
* shipping_cost
|
||||
* @var float
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $shipping_cost;
|
||||
|
||||
/**
|
||||
* total_paid_amount
|
||||
* @var float
|
||||
* @Attribute(idempotency = true)
|
||||
*/
|
||||
protected $total_paid_amount;
|
||||
|
||||
/**
|
||||
* finance_charge
|
||||
* @var float
|
||||
* @Attribute(type = "float")
|
||||
*/
|
||||
protected $finance_charge;
|
||||
|
||||
/**
|
||||
* net_received_amount
|
||||
* @var float
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $net_received_amount;
|
||||
|
||||
/**
|
||||
* marketplace
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $marketplace;
|
||||
|
||||
/**
|
||||
* marketplace_fee
|
||||
* @var float
|
||||
* @Attribute(type = "float")
|
||||
*/
|
||||
protected $marketplace_fee;
|
||||
|
||||
/**
|
||||
* reason
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $reason;
|
||||
|
||||
/**
|
||||
* payer
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $payer;
|
||||
|
||||
/**
|
||||
* collector
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $collector;
|
||||
|
||||
/**
|
||||
* collector_id
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $collector_id;
|
||||
|
||||
/**
|
||||
* counter_currency
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $counter_currency;
|
||||
|
||||
/**
|
||||
* payment_method_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $payment_method_id;
|
||||
|
||||
/**
|
||||
* payment_type_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $payment_type_id;
|
||||
|
||||
/**
|
||||
* pos_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $pos_id;
|
||||
|
||||
/**
|
||||
* transaction_details
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $transaction_details;
|
||||
|
||||
/**
|
||||
* fee_details
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $fee_details;
|
||||
|
||||
/**
|
||||
* differential_pricing_id
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $differential_pricing_id;
|
||||
|
||||
/**
|
||||
* application_fee
|
||||
* @var float
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $application_fee;
|
||||
|
||||
/**
|
||||
* authorization_code
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $authorization_code;
|
||||
|
||||
/**
|
||||
* capture
|
||||
* @var boolean
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $capture;
|
||||
|
||||
/**
|
||||
* captured
|
||||
* @var boolean
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $captured;
|
||||
|
||||
/**
|
||||
* card
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $card;
|
||||
|
||||
/**
|
||||
* call_for_authorize_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $call_for_authorize_id;
|
||||
|
||||
/**
|
||||
* statement_descriptor
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $statement_descriptor;
|
||||
|
||||
/**
|
||||
* refunds
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $refunds;
|
||||
|
||||
/**
|
||||
* Shipping_amount
|
||||
* @var float
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $shipping_amount;
|
||||
|
||||
/**
|
||||
* additional_info
|
||||
* @var array
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $additional_info;
|
||||
|
||||
/**
|
||||
* campaign_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $campaign_id;
|
||||
|
||||
/**
|
||||
* coupon_amount
|
||||
* @var float
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $coupon_amount;
|
||||
|
||||
/**
|
||||
* installments
|
||||
* @var int
|
||||
* @Attribute(type = "int")
|
||||
*/
|
||||
protected $installments;
|
||||
|
||||
/**
|
||||
* token
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $token;
|
||||
|
||||
/**
|
||||
* description
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $description;
|
||||
|
||||
/**
|
||||
* notification_url
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $notification_url;
|
||||
|
||||
/**
|
||||
* issuer_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $issuer_id;
|
||||
|
||||
/**
|
||||
* processing_mode
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $processing_mode;
|
||||
|
||||
/**
|
||||
* merchant_account_id
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $merchant_account_id;
|
||||
|
||||
/**
|
||||
* merchant_number
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $merchant_number;
|
||||
|
||||
/**
|
||||
* metadata
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $metadata;
|
||||
|
||||
/**
|
||||
* callback_url
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $callback_url;
|
||||
|
||||
/**
|
||||
* amount_refunded
|
||||
* @var float
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $amount_refunded;
|
||||
|
||||
/**
|
||||
* coupon_code
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $coupon_code;
|
||||
|
||||
/**
|
||||
* barcode
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $barcode;
|
||||
|
||||
/**
|
||||
* marketplace_owner
|
||||
* @var int
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $marketplace_owner;
|
||||
|
||||
/**
|
||||
* integrator_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $integrator_id;
|
||||
|
||||
/**
|
||||
* corporation_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $corporation_id;
|
||||
|
||||
/**
|
||||
* platform_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $platform_id;
|
||||
|
||||
/**
|
||||
* charges details
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $charges_details;
|
||||
|
||||
/**
|
||||
* taxes
|
||||
* @Attribute(type = "array")
|
||||
* @var array
|
||||
*/
|
||||
protected $taxes;
|
||||
|
||||
/**
|
||||
* net_amount
|
||||
* @var float
|
||||
* @Attribute(type = "float")
|
||||
*/
|
||||
protected $net_amount;
|
||||
|
||||
/**
|
||||
* payer
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $point_of_interaction;
|
||||
|
||||
/**
|
||||
* payment_method_option_id
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $payment_method_option_id;
|
||||
|
||||
/**
|
||||
* merchant_services
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $merchant_services;
|
||||
|
||||
/**
|
||||
* build_version
|
||||
* @var string
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $build_version;
|
||||
|
||||
/**
|
||||
* payment_method
|
||||
* @var object
|
||||
* @Attribute()
|
||||
*/
|
||||
protected $payment_method;
|
||||
|
||||
/**
|
||||
* refund
|
||||
* @param int $amount
|
||||
* @return bool
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function refund($amount = 0){
|
||||
$refund = new Refund(["payment_id" => $this->id]);
|
||||
if ($amount > 0){
|
||||
$refund->amount = $amount;
|
||||
}
|
||||
|
||||
if ($refund->save()){
|
||||
$payment = self::get($this->id);
|
||||
$this->_fillFromArray($this, $payment->toArray());
|
||||
return true;
|
||||
}else{
|
||||
$this->error = $refund->error;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* capture
|
||||
* @param int $amount
|
||||
* @return Payment
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function capture($amount = 0)
|
||||
{
|
||||
$this->capture = true;
|
||||
if ($amount > 0){
|
||||
$this->transaction_amount = $amount;
|
||||
}
|
||||
|
||||
return $this->update();
|
||||
}
|
||||
}
|
||||
114
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/PaymentMethod.php
vendored
Normal file
114
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/PaymentMethod.php
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
namespace MercadoPago;
|
||||
|
||||
use MercadoPago\Annotation\RestMethod;
|
||||
use MercadoPago\Annotation\RequestParam;
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
|
||||
/**
|
||||
* Payment Method class
|
||||
* @link https://www.mercadopago.com/developers/en/reference/payment_methods/_payment_methods/get/ Click here for more infos
|
||||
*
|
||||
* @RestMethod(resource="/v1/payment_methods", method="list")
|
||||
*/
|
||||
|
||||
class PaymentMethod extends Entity
|
||||
{
|
||||
/**
|
||||
* id
|
||||
* @Attribute(primaryKey = true)
|
||||
* @var string
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* name
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* payment_type_id
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $payment_type_id;
|
||||
|
||||
/**
|
||||
* status
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* secure_thumbnail
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $secure_thumbnail;
|
||||
|
||||
/**
|
||||
* thumbnail
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $thumbnail;
|
||||
|
||||
/**
|
||||
* deferred_capture
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $deferred_capture;
|
||||
|
||||
/**
|
||||
* settings
|
||||
* @Attribute()
|
||||
* @var object
|
||||
*/
|
||||
protected $settings;
|
||||
|
||||
/**
|
||||
* additional_info_needed
|
||||
* @Attribute()
|
||||
* @var string
|
||||
*/
|
||||
protected $additional_info_needed;
|
||||
|
||||
/**
|
||||
* min_allowed_amount
|
||||
* @Attribute(type = "float")
|
||||
* @var float
|
||||
*/
|
||||
protected $min_allowed_amount;
|
||||
|
||||
/**
|
||||
* max_allowed_amount
|
||||
* @Attribute(type = "float")
|
||||
* @var float
|
||||
*/
|
||||
protected $max_allowed_amount;
|
||||
|
||||
/**
|
||||
* accreditation_time
|
||||
* @Attribute(type = "integer")
|
||||
* @var int
|
||||
*/
|
||||
protected $accreditation_time;
|
||||
|
||||
/**
|
||||
* financial_institutions
|
||||
* @Attribute(type = "")
|
||||
* @var object
|
||||
*/
|
||||
protected $financial_institutions;
|
||||
|
||||
/**
|
||||
* processing_modes
|
||||
* @Attribute(type = "")
|
||||
* @var array
|
||||
*/
|
||||
protected $processing_modes;
|
||||
}
|
||||
27
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Tax.php
vendored
Normal file
27
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Tax.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* Tax class file
|
||||
*/
|
||||
namespace MercadoPago;
|
||||
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
|
||||
/**
|
||||
* Tax class
|
||||
*/
|
||||
class Tax extends Entity
|
||||
{
|
||||
/**
|
||||
* type
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $type;
|
||||
|
||||
/**
|
||||
* value
|
||||
* @Attribute(type = "float")
|
||||
* @var float
|
||||
*/
|
||||
protected $value;
|
||||
}
|
||||
27
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Track.php
vendored
Normal file
27
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/Track.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* Track class file
|
||||
*/
|
||||
namespace MercadoPago;
|
||||
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
|
||||
/**
|
||||
* Track class
|
||||
*/
|
||||
class Track extends Entity
|
||||
{
|
||||
/**
|
||||
* type
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $type;
|
||||
|
||||
/**
|
||||
* value
|
||||
* @Attribute(type = "object")
|
||||
* @var object
|
||||
*/
|
||||
protected $value;
|
||||
}
|
||||
34
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/TrackValues.php
vendored
Normal file
34
vendor/mercadopago/dx-php/src/MercadoPago/Entities/Shared/TrackValues.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Track Values class file
|
||||
*/
|
||||
namespace MercadoPago;
|
||||
|
||||
use MercadoPago\Annotation\Attribute;
|
||||
|
||||
/**
|
||||
* Track Values class
|
||||
*/
|
||||
class TrackValues extends Entity
|
||||
{
|
||||
/**
|
||||
* conversion_id
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $conversion_id;
|
||||
|
||||
/**
|
||||
* conversion_label
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $conversion_label;
|
||||
|
||||
/**
|
||||
* pixel_id
|
||||
* @Attribute(type = "string")
|
||||
* @var string
|
||||
*/
|
||||
protected $pixel_id;
|
||||
}
|
||||
Reference in New Issue
Block a user