Skip to content

Commit

Permalink
Merge pull request #308 from mercadopago/release/2.4.2
Browse files Browse the repository at this point in the history
Release 2.4.2
  • Loading branch information
delias-silva authored Aug 11, 2021
2 parents 538c3cf + a566193 commit 5b7e2e7
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ First time using Mercado Pago? Create your [Mercado Pago account](https://www.me
1. Download [Composer](https://getcomposer.org/doc/00-intro.md) if not already installed

2. On your project directory run on the command line
`composer require "mercadopago/dx-php:2.4.1"` for PHP7 or `composer require "mercadopago/dx-php:1.12.0"` for PHP5.6.
`composer require "mercadopago/dx-php:2.4.2"` for PHP7 or `composer require "mercadopago/dx-php:1.12.1"` for PHP5.6.

3. Copy the access_token in the [credentials](https://www.mercadopago.com/mlb/account/credentials) section of the page and replace YOUR_ACCESS_TOKEN with it.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"homepage": "https://github.com/mercadopago/sdk-php",
"license": "MIT",
"version": "2.4.1",
"version": "2.4.2",
"config": {
"platform": {
"php": "7.1"
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/MercadoPago-Version.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h4 class="phpdocumentor-element__name" id="property__VERSION">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$_VERSION</span>
= <span class="phpdocumentor-signature__default-value">&#039;2.4.1&#039;</span></code>
= <span class="phpdocumentor-signature__default-value">&#039;2.4.2&#039;</span></code>



Expand Down
14 changes: 14 additions & 0 deletions src/MercadoPago/Entities/Shared/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,20 @@ class Payment extends Entity
*/
protected $point_of_interaction;

/**
* payment_method_option_id
* @var string
* @Attribute()
*/
protected $payment_method_option_id;

/**
* merchant_services
* @var object
* @Attribute()
*/
protected $merchant_services;

/**
* refund
* @param int $amount
Expand Down
2 changes: 1 addition & 1 deletion src/MercadoPago/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
class Version
{
public static
$_VERSION = '2.4.1';
$_VERSION = '2.4.2';
}

0 comments on commit 5b7e2e7

Please sign in to comment.