public class PaymentMethodConfigurationService
extends java.lang.Object
Constructor and Description |
---|
PaymentMethodConfigurationService(java.lang.String paymentGroupName,
java.lang.String paymentMethodConfigurationName)
This method creates a new PaymentMethodConfigurationService object.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getMaximumAmount()
This method returns the maximum amount configured in the
paymentMethodConfiguration.
|
java.math.BigDecimal |
getMinimumAmount()
This method returns the minimum amount configured in the
paymentMethodConfiguration.
|
java.lang.String |
getPaymentSystemName()
This method returns the payment system name of the payment method.
|
java.lang.String |
getPriority()
This method returns the priority of current payment method.
|
java.lang.String |
getTransactionCompensationAction()
This method returns the transaction compensation action type of current payment method.
|
java.lang.Boolean |
isDependentCreditRequired()
This method returns if the current
paymentMethodConfiguration is dependent credit required. |
java.lang.Boolean |
isHumanEditable()
This method returns if the current paymentMethodConfiguration is customer
mutable.
|
java.lang.Boolean |
isPartiallyConsumable()
This method returns if the payment method is partially consumable
configured in the paymentMethodConfiguration.
|
java.lang.Boolean |
isRefundAllowed()
This method returns if the payment method supports refund.
|
java.lang.Boolean |
isSystemEditable()
This method returns if the payment method supports system editable.
|
public PaymentMethodConfigurationService(java.lang.String paymentGroupName, java.lang.String paymentMethodConfigurationName) throws InvalidDataException, RuleException
paymentGroupName
- The current payment group namepaymentMethodConfigurationName
- The current paymentMethodConfiguration nameInvalidDataException
- In case of invalid data errorRuleException
- In case of payment rules errorpublic java.lang.Boolean isDependentCreditRequired()
paymentMethodConfiguration
is dependent credit required.paymentMethodConfiguration
is dependent credit required.public java.lang.Boolean isHumanEditable()
public java.math.BigDecimal getMaximumAmount()
public java.math.BigDecimal getMinimumAmount()
public java.lang.Boolean isPartiallyConsumable()
public java.lang.String getPaymentSystemName()
public java.lang.String getTransactionCompensationAction()
public java.lang.String getPriority()
public java.lang.Boolean isRefundAllowed()
public java.lang.Boolean isSystemEditable()