We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e666b97 + 5899d4a commit 78654e7Copy full SHA for 78654e7
src/Payment/Factories/CustomerFactory.php
@@ -82,13 +82,13 @@ public function createFromPlatformData(PlatformCustomerInterface $platformData)
82
new CustomerId($platformData->getPagarmeId())
83
);
84
}
85
-
86
$customer->setCode($platformData->getCode());
87
$customer->setName($platformData->getName());
88
$customer->setEmail($platformData->getEmail());
89
$customer->setDocument($platformData->getDocument());
90
$customer->setType($platformData->getType());
91
- /** @todo set address and phones */
+ $customer->setPhones($platformData->getPhones());
+ /** @todo set address */
92
93
return $customer;
94
0 commit comments