public class PaymentGroupConfiguration
extends java.lang.Object
Constructor and Description |
---|
PaymentGroupConfiguration(java.lang.String localGroupName)
This method creates a new PaymentGroupConfiguration object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getAvsResponseActionName(java.lang.String paymentMethod, int avsCode)
This method gets an action name from an AVS(Address Verification Service) code.
|
TargetStateWrapper | getCancelPaymentActionForDNE(java.lang.String paymentMethod)
This method returns the actions need be executed to move payment to DNE state because cancel payment, for this specified payment method.
|
java.util.ArrayList | getCoreConfigurationFiles()
This method returns the core configuration files for this payment group.
|
TargetStateWrapper | getEditReversalPaymentActionForDNE(java.lang.String paymentMethod)
This method returns the actions need be executed to move payment back to DNE state for this specified payment method.
|
EditRules | getEditRules(java.lang.String paymentMethod)
This method returns the edit rule configuration values for this payment group.
|
PaymentMappings | getMappings()
This method returns the mappings for this specified payment group, which maps a payment method to payment configuration and certain rule.
|
TargetStateWrapper | getPaymentActionForApproved(java.lang.String paymentMethod)
This method returns the actions need be executed to move payment to Approved state for this specified payment method.
|
TargetStateWrapper | getPaymentActionForDeposited(java.lang.String paymentMethod)
This method returns the actions need be executed to move payment to Deposited state for this specified payment method.
|
TargetStateWrapper | getPaymentActionForDNE(java.lang.String paymentMethod)
This method returns the actions need be executed to move payment to DNE state for this specified payment method.
|
PaymentRules | getPaymentActionRules()
This method returns the payment rules that store payment rules for this payment group.
|
PaymentMethodConfigurations | getPaymentMethodConfigurations()
This method returns the paymentMethodConfigurations field.The paymentMethodConfigurations stores the mapping from payment configuration to payment system and some attributes of this payment configuration.
|
RefundMappings | getRefundMappings()
This method returns the refundMappings.
|
RefundMethodConfigurations | getRefundMethodConfigurations()
This method returns the refundMethodConfigurations.
|
void | setCoreConfigurationFiles(java.util.ArrayList localCoreConfigurationFiles)
This method sets the coreConfigurationFiles field for this payment group.
|
void | setMappings(PaymentMappings localMappings)
This method sets the mappings for this specified payment group, which maps a payment method to payment configuration and certain rule.
|
void | setPaymentMethodConfigurations(PaymentMethodConfigurations localPaymentMethodConfigurations)
This method sets the paymentMethodConfigurations field.
|
void | setPaymentRules(PaymentRules localPaymentRules)
This method sets the paymentRules field that store payment rules for this payment group.
|
void | setRefundMappings(RefundMappings localRefundMappings)
This method sets the refundMappings filed.
|
void | setRefundMethodConfigurations(RefundMethodConfigurations localRefundMethodConfigurations)
This method sets the refundMethodConfigurations.
|
public PaymentGroupConfiguration(java.lang.String localGroupName)
public java.lang.String getAvsResponseActionName(java.lang.String paymentMethod, int avsCode) throws InvalidDataException, RuleException
public TargetStateWrapper getCancelPaymentActionForDNE(java.lang.String paymentMethod) throws RuleException, InvalidDataException
The current states could be DNE, Approved, Deposited
public void setCoreConfigurationFiles(java.util.ArrayList localCoreConfigurationFiles)
public java.util.ArrayList getCoreConfigurationFiles()
public EditRules getEditRules(java.lang.String paymentMethod) throws RuleException, InvalidDataException
public TargetStateWrapper getEditReversalPaymentActionForDNE(java.lang.String paymentMethod) throws RuleException, InvalidDataException
The current states could be DNE, Approved, Deposited
public void setMappings(PaymentMappings localMappings)
public PaymentMappings getMappings()
public TargetStateWrapper getPaymentActionForApproved(java.lang.String paymentMethod) throws RuleException, InvalidDataException
The current states could be DNE, Approved, Deposited.
public TargetStateWrapper getPaymentActionForDNE(java.lang.String paymentMethod) throws RuleException, InvalidDataException
The current states could be DNE, Approved, Deposited.
public TargetStateWrapper getPaymentActionForDeposited(java.lang.String paymentMethod) throws RuleException, InvalidDataException
The valid current states could be DNE, Approved, Deposited
public PaymentRules getPaymentActionRules()
public void setPaymentMethodConfigurations(PaymentMethodConfigurations localPaymentMethodConfigurations)
The attributes include if allow refund, minimum amount, ...
public PaymentMethodConfigurations getPaymentMethodConfigurations()
The attributes include if allow refund, minimum amount, ...
public void setPaymentRules(PaymentRules localPaymentRules)
public void setRefundMappings(RefundMappings localRefundMappings)
public RefundMappings getRefundMappings()
public void setRefundMethodConfigurations(RefundMethodConfigurations localRefundMethodConfigurations)
public RefundMethodConfigurations getRefundMethodConfigurations()