public function mapBinNumberFrom(BinNumber $binNumber, $jsonObject)
{
parent::mapResourceFrom($binNumber, $jsonObject);
if (isset($jsonObject->binNumber)) {
$binNumber->setBinNumber($jsonObject->binNumber);
}
if (isset($jsonObject->cardType)) {
$binNumber->setCardType($jsonObject->cardType);
}
if (isset($jsonObject->cardAssociation)) {
$binNumber->setCardAssociation($jsonObject->cardAssociation);
}
if (isset($jsonObject->cardFamily)) {
$binNumber->setCardFamily($jsonObject->cardFamily);
}
if (isset($jsonObject->bankName)) {
$binNumber->setBankName($jsonObject->bankName);
}
if (isset($jsonObject->bankCode)) {
$binNumber->setBankCode($jsonObject->bankCode);
}
return $binNumber;
}