SilverStripe\Omnipay\GatewayFieldsFactory::setGateway
Set the gateway to create fields for.
If a gateway is given, only the required fields of that gateway will be returned! If the gateway isn't set, all fields will be returned.
Signature
public function setGateway(string|null
$gateway )
Parameters
$gateway
— object- the gateway to create fields for.
Returns
- $this