public function getPaymentType()
 {
     return Gateway::getPaymentType($this->gateway_id);
 }
Exemple #2
0
 public static function getPrettyPaymentType($gatewayId)
 {
     return trans('texts.' . strtolower(Gateway::getPaymentType($gatewayId)));
 }