Skip to content

Commit

Permalink
Merge pull request #65 from mundipagg/hotfix-fix-barcode-return
Browse files Browse the repository at this point in the history
Fix barcode mapping
  • Loading branch information
bruno-sales authored Mar 19, 2020
2 parents a22de31 + 7b1abae commit ab72737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Models/GetBoletoTransactionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class GetBoletoTransactionResponse extends GetTransactionResponse implements Jso
/**
* @todo Write general description for this property
* @required
* @maps bar_code
* @maps barcode
* @var string $barCode public property
*/
public $barCode;
Expand Down Expand Up @@ -189,7 +189,7 @@ public function jsonSerialize()
{
$json = array();
$json['url'] = $this->url;
$json['bar_code'] = $this->barCode;
$json['barcode'] = $this->barCode;
$json['nosso_numero'] = $this->nossoNumero;
$json['bank'] = $this->bank;
$json['document_number'] = $this->documentNumber;
Expand Down

0 comments on commit ab72737

Please sign in to comment.