public class PaymentModeFacadeImpl extends java.lang.Object implements PaymentModeFacade
PaymentModeFacade
interface used at addon level.
This component is consumed through storefront checkout controllers.
Modifier and Type | Class and Description |
---|---|
class |
PaymentModeFacadeImpl.PaymentModeDataComparator |
Constructor and Description |
---|
PaymentModeFacadeImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPaymentCountryCode() |
java.util.List<PaymentModeData> |
getPaymentModes()
Returns all allowed payment modes for current base store.
|
boolean |
isPaymentModeSupported(PaymentType paymentType,
AlternativePaymentMethod paymentSubType)
Checks if given payment mode is supported by current store.
|
public java.util.List<PaymentModeData> getPaymentModes()
PaymentModeFacade
getPaymentModes
in interface PaymentModeFacade
PaymentModeData
instances for the store or an empty
list otherwise.public boolean isPaymentModeSupported(PaymentType paymentType, AlternativePaymentMethod paymentSubType)
PaymentModeFacade
isPaymentModeSupported
in interface PaymentModeFacade
paymentType
- payment typepaymentSubType
- payment sub type (for alternative payments)public java.lang.String getPaymentCountryCode()
getPaymentCountryCode
in interface PaymentModeFacade