$payment->
setTemplate($data['__payment_template'
]);
$payment->
setClass($data['__payment_class'
]);
$payment->
setTable($data['__payment_table'
]);
$payment->
setHide($data['__payment_hide'
]);
$payment->
setAdditionalDescription(isset($data['__payment_additionalDescription'
]) ?
$data['__payment_additionalDescription'
] :
$data['__payment_additionaldescription'
]);
$payment->
setDebitPercent($data['__payment_debit_percent'
]);
$payment->
setSurcharge($data['__payment_surcharge'
]);
$payment->
setSurchargeString($data['__payment_surchargestring'
]);
$payment->
setPosition($data['__payment_position'
]);
$payment->
setActive($data['__payment_active'
]);
$payment->
setEsdActive($data['__payment_esdactive'
]);
$payment->
setEmbediframe($data['__payment_embediframe'
]);
$payment->
setHideProspect($data['__payment_hideprospect'
]);
$payment->
setAction($data['__payment_action'
]);
$payment->
setPluginID($data['__payment_pluginID'
]);
$payment->
setSource($data['__payment_source'
]);
$payment->
setMobileInactive($data['__payment_mobile_inactive'
]);
if (isset($data['__paymentAttribute_id'
])) { $this->attributeHydrator->
addAttribute($payment,
$data, 'paymentAttribute'
);
} return $payment;
}