Rock.Financial.GatewayComponent.GetAttributeValue C# (CSharp) Method

GetAttributeValue() public method

Use GetAttributeValue( FinancialGateway financialGateway, string key) instead. gateway component attribute values are specific to the financial gateway instance (rather than global). This method will throw an exception
Gateway Component attributes are saved specific to the financial gateway, which requires that the current financial gateway is included in order to load or retrieve values. Use the GetAttributeValue( FinancialGateway financialGateway, string key ) method instead.
public GetAttributeValue ( string key ) : string
key string The key.
return string
        public override string GetAttributeValue( string key )
        {
            throw new Exception( "Gateway Component attributes are saved specific to the financial gateway, which requires that the current financial gateway is included in order to load or retrieve values. Use the GetAttributeValue( FinancialGateway financialGateway, string key ) method instead." );
        }

Same methods

GatewayComponent::GetAttributeValue ( FinancialGateway financialGateway, string key ) : string