PHP Class app\models\Gateway

Inheritance: extends Eloquen\Eloquent
Show file Open project: hillelcoren/invoice-ninja Class Usage Examples

Public Properties

Property Type Description
$alternate array
$gatewayTypes array
$hiddenFields array
$optionalFields array
$preferred array
$timestamps boolean

Protected Properties

Property Type Description
$fillable

Public Methods

Method Description
getFields ( ) : mixed
getHelp ( ) : string | Symfony\Component\Translation\TranslatorInterface
getLogoUrl ( ) : string
getPaymentTypeName ( $type ) : string
hasStandardGateway ( $gatewayIds ) : integer
isCustom ( )
isGateway ( $gatewayId ) : boolean
scopePrimary ( $query, $accountGatewaysIds )
scopeSecondary ( $query, $accountGatewaysIds )

Method Details

getFields() public method

public getFields ( ) : mixed
return mixed

getHelp() public method

public getHelp ( ) : string | Symfony\Component\Translation\TranslatorInterface
return string | Symfony\Component\Translation\TranslatorInterface

getLogoUrl() public method

public getLogoUrl ( ) : string
return string

getPaymentTypeName() public static method

public static getPaymentTypeName ( $type ) : string
$type
return string

hasStandardGateway() public static method

public static hasStandardGateway ( $gatewayIds ) : integer
$gatewayIds
return integer

isCustom() public method

public isCustom ( )

isGateway() public method

public isGateway ( $gatewayId ) : boolean
$gatewayId
return boolean

scopePrimary() public method

public scopePrimary ( $query, $accountGatewaysIds )
$query
$accountGatewaysIds

scopeSecondary() public method

public scopeSecondary ( $query, $accountGatewaysIds )
$query
$accountGatewaysIds

Property Details

$alternate public static property

public static array $alternate
return array

$fillable protected property

protected $fillable

$gatewayTypes public static property

public static array $gatewayTypes
return array

$hiddenFields public static property

public static array $hiddenFields
return array

$optionalFields public static property

public static array $optionalFields
return array

$preferred public static property

public static array $preferred
return array

$timestamps public property

public bool $timestamps
return boolean