public interface PaymentOptionsStrategy<O extends Order> extends Strategy
Order| Modifier and Type | Method and Description |
|---|---|
PaymentOption |
getDefaultPaymentOption(O o)
Get default
PaymentOption |
List<PaymentMethod> |
getPaymentMethods(O o)
Get a List of possible
PaymentMethods for the Order of a user |
List<PaymentOption> |
getPaymentOptions(O o)
Get a List of possible
PaymentOptions for the Order of a user |
getVersionList<PaymentMethod> getPaymentMethods(O o) throws Exception
PaymentMethods for the Order of a usero - as OrderPaymentMethod existsException; - No PaymentMethod exists and the cause why there was no method availableExceptionList<PaymentOption> getPaymentOptions(O o) throws Exception
PaymentOptions for the Order of a usero - as OrderPaymentMethod existsException; - No PaymentOption exists and the cause why there was no method availableExceptionPaymentOption getDefaultPaymentOption(O o) throws Exception
PaymentOptiono - as OrderPaymentMethod existsException. - implementation dependent. Can also mean no method existsExceptionCopyright © 2018. All rights reserved.