Resolution Class
Resolution of a resolution strategy, which conditionally invokes default domain logic, logic provided by an extension provider, or no logic.
The following are constructors for Resolution.
-
Constructor that takes a CommerceExtension.ResolutionStates object as an argument.
-
Constructor that takes the name of an extension provider as an argument.
-
Default constructor for the Resolution class.
Constructor that takes a CommerceExtension.ResolutionStates object as an argument.
public Resolution(CommerceExtension.ResolutionStates resolutionState)
-
resolutionState:
Type: CommerceExtension.ResolutionStates
Resolution state.
Constructor that takes the name of an extension provider as an argument.
public Resolution(String providerName)
-
providerName:
Type: String
Name of the extension provider.
Default constructor for the Resolution class.
public Resolution()
The following are methods for Resolution.
-
Returns the name of an extension provider.
-
Returns the resolution state of the resolution.
Returns the name of an extension provider.
public String getProviderName()
Type: String
Name of an extension provider.
Returns the resolution state of the resolution.
public CommerceExtension.ResolutionStates getResolutionState()
Type: CommerceExtension.ResolutionStates
Resolution state of the resolution.