public SagePayAPIIntegration(SagePayProcessorSettings settings) { _settings = settings; }
public SagePayFormIntegration(SagePayProcessorSettings settings) : base(settings) { _settings = settings; }
public SagePayPaymentProcessorBase(SagePayProcessorSettings settings) { Settings = settings; }
public SagePayFormPaymentProcessor(SagePayProcessorSettings settings) : base(settings) { Settings = settings; }
/// <summary> /// Saves the processor settings to an extended data collection /// </summary> /// <param name="extendedData">The <see cref="ExtendedDataCollection"/></param> /// <param name="processorSettings">The <see cref="SagePayProcessorSettings"/> to be serialized and saved</param> public static void SaveProcessorSettings(this ExtendedDataCollection extendedData, SagePayProcessorSettings processorSettings) { var settingsJson = JsonConvert.SerializeObject(processorSettings); extendedData.SetValue(Constants.ExtendedDataKeys.ProcessorSettings, settingsJson); }