diff --git a/src/MercadoPago/Resources/Common/SubMerchant.php b/src/MercadoPago/Resources/Common/SubMerchant.php new file mode 100644 index 00000000..bb066b4b --- /dev/null +++ b/src/MercadoPago/Resources/Common/SubMerchant.php @@ -0,0 +1,51 @@ + "MercadoPago\Resources\Payment\ForwardData", "payer" => "MercadoPago\Resources\Payment\Payer", "fee_details" => "MercadoPago\Resources\Payment\FeeDetails", "additional_info" => "MercadoPago\Resources\Payment\AdditionalInfo", diff --git a/src/MercadoPago/Resources/Payment/ForwardData.php b/src/MercadoPago/Resources/Payment/ForwardData.php new file mode 100644 index 00000000..785d50f7 --- /dev/null +++ b/src/MercadoPago/Resources/Payment/ForwardData.php @@ -0,0 +1,27 @@ + "MercadoPago\Resources\Common\SubMerchant", + ]; + + /** + * Method responsible for getting map of entities. + */ + public function getMap(): array + { + return $this->map; + } +}