Skip to content

Commit 78654e7

Browse files
Merge pull request #87 from pagarme/add-telephone-on-customer-update
PAOPN-349: add telephone on customer update
2 parents e666b97 + 5899d4a commit 78654e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Payment/Factories/CustomerFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ public function createFromPlatformData(PlatformCustomerInterface $platformData)
8282
new CustomerId($platformData->getPagarmeId())
8383
);
8484
}
85-
8685
$customer->setCode($platformData->getCode());
8786
$customer->setName($platformData->getName());
8887
$customer->setEmail($platformData->getEmail());
8988
$customer->setDocument($platformData->getDocument());
9089
$customer->setType($platformData->getType());
91-
/** @todo set address and phones */
90+
$customer->setPhones($platformData->getPhones());
91+
/** @todo set address */
9292

9393
return $customer;
9494
}

0 commit comments

Comments
 (0)