PaymentStepService
extends AbstractSetupWizardStepService
in package
Class PaymentStepService
Table of Contents
- TEXT_SECTION = 'setup_wizard'
- $command : PaymentStepDoneCommand
- $curl : Curl
- $hubFactory : HubApiClientFactory
- $key : string
- $path : Path
- $reader : PaymentModuleReader
- $storage : StepIsDoneStorageInterface
- $textManager : TextManager
- __construct() : mixed
- AbstractSetupWizardStepService constructor.
- canHandle() : mixed
- getStep() : SetupWizardStep
- markComplete() : mixed
- markIncomplete() : mixed
- createPaymentStep() : PaymentStep
Constants
TEXT_SECTION
protected
mixed
TEXT_SECTION
= 'setup_wizard'
Properties
$command
protected
PaymentStepDoneCommand
$command
$curl
protected
Curl
$curl
$hubFactory
protected
HubApiClientFactory
$hubFactory
$key
protected
string
$key
$path
protected
Path
$path
$reader
protected
PaymentModuleReader
$reader
$storage
protected
StepIsDoneStorageInterface
$storage
$textManager
protected
TextManager
$textManager
Methods
__construct()
AbstractSetupWizardStepService constructor.
public
__construct(PaymentStepKey $key, StepIsDoneStorageInterface $storage, TextManager $textManager, PaymentModuleReader $paymentModuleReader, PaymentStepDoneCommand $command, Path $path, HubApiClientFactory $hubFactory, Curl $curl) : mixed
Parameters
- $key : PaymentStepKey
- $storage : StepIsDoneStorageInterface
- $textManager : TextManager
- $paymentModuleReader : PaymentModuleReader
- $command : PaymentStepDoneCommand
- $path : Path
- $hubFactory : HubApiClientFactory
- $curl : Curl
Return values
mixed —canHandle()
public
canHandle(Key $key) : mixed
Parameters
- $key : Key
Return values
mixed —getStep()
public
getStep() : SetupWizardStep
Return values
SetupWizardStep —markComplete()
public
markComplete() : mixed
Return values
mixed —markIncomplete()
public
markIncomplete() : mixed
Return values
mixed —createPaymentStep()
protected
createPaymentStep(Status $status) : PaymentStep
Parameters
- $status : Status