public class PaymentMethodConfiguration
extends java.lang.Object
PaymentMethodConfiguration
, which corresponds to an element --
PaymentMethodConfiguration in the configuration file:
PaymentMethodConfigurations.xml.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
PaymentMethodConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMaximumAmount()
This method returns the maximum amount for current payment method configuration.
|
java.lang.String |
getMinimumAmount()
This method returns the minimum amount for current payment method configuration.
|
java.lang.String |
getName()
This method returns the name of this payment method configuration.
|
java.lang.String |
getPaymentSystemName()
This method returns the payment system name used by this payment method configuration.
|
java.lang.String |
getPriority()
This method returns the priority of this payment method configuration.
|
int |
getSleepingTimeout()
This method returns the setting of sleeping timeout.
|
java.lang.String |
getTransactionCompensationAction()
This method returns the transactionCompensationAction type of this payment method configuration.
|
boolean |
isDependentCreditRequired()
This method returns if the credit of this payment method only supports dependent credit.
|
boolean |
isHumanEditable()
This method returns if the payment method is human editable.
|
boolean |
isPartiallyConsumable()
This method returns if the payment method is allowed to consume partially.
|
boolean |
isRefundAllowed()
This method returns if the payment method is allowed to do refund.
|
boolean |
isSystemEditable()
This method returns if the payment method is allowed to edit by the system
without human interaction.
|
void |
setDependentCreditRequired(boolean b)
This method sets if the credit of this payment method only supports dependent credit.
|
void |
setHumanEditable(boolean b)
This method sets if the payment method is allowed to edit by the system
without human interaction.
|
void |
setMaximumAmount(java.lang.String string)
This method sets the maximum amount for current payment method configuration.
|
void |
setMinimumAmount(java.lang.String string)
This method sets the minimum amount for current payment method configuration.
|
void |
setName(java.lang.String string)
This method sets the name of this payment method configuration.
|
void |
setPartiallyConsumable(boolean b)
This method sets if the payment method is allowed to consume partially.
|
void |
setPaymentSystemName(java.lang.String string)
This method sets the payment system name used by this payment method configuration.
|
void |
setPriority(java.lang.String string)
This method sets the priority of this payment method configuration.
|
void |
setRefundAllowed(boolean b)
This method sets if the payment method is allowed to do refund.
|
void |
setSleepingTimeout(int i)
This method sets the setting of sleeping timeout.
|
void |
setSystemEditable(boolean b)
This method sets if the payment method is allowed to edit by the system
without human interaction.
|
void |
setTransactionCompensationAction(java.lang.String compensationAction)
This method sets the transactionCompensationAction type of this payment method configuration.
|
public static final java.lang.String COPYRIGHT
public boolean isDependentCreditRequired()
public boolean isHumanEditable()
public java.lang.String getMaximumAmount()
public java.lang.String getMinimumAmount()
public java.lang.String getName()
public boolean isPartiallyConsumable()
public java.lang.String getPaymentSystemName()
public java.lang.String getPriority()
public boolean isRefundAllowed()
public int getSleepingTimeout()
public boolean isSystemEditable()
public java.lang.String getTransactionCompensationAction()
public void setDependentCreditRequired(boolean b)
b
- if the credit of this payment method only supports dependent creditpublic void setHumanEditable(boolean b)
b
- The flag indicating if the payment method is allowed to edit by
the system without human interactionpublic void setMaximumAmount(java.lang.String string)
string
- The maximum amount for current payment method configurationpublic void setMinimumAmount(java.lang.String string)
string
- The minimum amount for current payment method configurationpublic void setName(java.lang.String string)
string
- The name to setpublic void setPartiallyConsumable(boolean b)
b
- If the payment method is allowed to consume partiallypublic void setPaymentSystemName(java.lang.String string)
string
- The payment system name used by this payment method configurationpublic void setPriority(java.lang.String string)
string
- The priority of this payment method configuration to setpublic void setRefundAllowed(boolean b)
b
- The flag indicating the payment method is allowed to do refund to setpublic void setSleepingTimeout(int i)
i
- The setting of sleeping timeout to setpublic void setSystemEditable(boolean b)
b
- The flag indicating if the payment method is allowed to edit by
the system without human interactionpublic void setTransactionCompensationAction(java.lang.String compensationAction)
compensationAction
- The transactionCompensationAction type of this payment method configuration