diff --git a/src/Models/CreateBoletoPaymentRequest.php b/src/Models/CreateBoletoPaymentRequest.php index 0dc1413..6d4bdb0 100644 --- a/src/Models/CreateBoletoPaymentRequest.php +++ b/src/Models/CreateBoletoPaymentRequest.php @@ -83,6 +83,14 @@ class CreateBoletoPaymentRequest implements JsonSerializable */ public $statementDescriptor; + /** + * Boleto Type + * @required + * @maps type + * @var string $type public property + */ + public $type; + /** * Constructor to set initial or default values of member properties * @param integer $retries Initialization value for $this->retries @@ -94,10 +102,11 @@ class CreateBoletoPaymentRequest implements JsonSerializable * @param string $nossoNumero Initialization value for $this->nossoNumero * @param string $documentNumber Initialization value for $this->documentNumber * @param string $statementDescriptor Initialization value for $this->statementDescriptor + * @param string $type Initialization value for $this->type */ public function __construct() { - if (9 == func_num_args()) { + if (10 == func_num_args()) { $this->retries = func_get_arg(0); $this->bank = func_get_arg(1); $this->instructions = func_get_arg(2); @@ -107,6 +116,7 @@ public function __construct() $this->nossoNumero = func_get_arg(6); $this->documentNumber = func_get_arg(7); $this->statementDescriptor = func_get_arg(8); + $this->type = func_get_arg(9); } } @@ -127,6 +137,7 @@ public function jsonSerialize() $json['nosso_numero'] = $this->nossoNumero; $json['document_number'] = $this->documentNumber; $json['statement_descriptor'] = $this->statementDescriptor; + $json['type'] = $this->type; return $json; }