Class VerifoneConfigurationProperties
- java.lang.Object
-
- com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<VerifoneConfigurationProperties>
-
- com.broadleafcommerce.payment.service.gateway.VerifoneConfigurationProperties
-
@ConfigurationProperties("broadleaf.verifone") public class VerifoneConfigurationProperties extends com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<VerifoneConfigurationProperties>
- Author:
- Dima Myroniuk (dmyroniuk)
-
-
Constructor Summary
Constructors Constructor Description VerifoneConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApiKey(String applicationId, String tenantId)
Map<String,String>
getFailureTypesByCode()
Map of failure types identified by their Verifone response reason code.List<String>
getHardDeclineCodes()
The list of Verifone reason codes that should be considered aPaymentDeclineType.HARD
decline.String
getPaymentProviderContractId(String applicationId, String tenantId)
Returns the payment provider contract id.List<String>
getSuccessfulTransactionReasonCodes()
The list of Verifone reason codes for the successful transactions.String
getTokenScope(String applicationId, String tenantId)
String
getUserId(String applicationId, String tenantId)
void
setApiKey(String apiKey)
The Verifone public API key for your REST API integration.void
setFailureTypesByCode(Map<String,String> failureTypesByCode)
Map of failure types identified by their Verifone response reason code.void
setHardDeclineCodes(List<String> hardDeclineCodes)
The list of Verifone reason codes that should be considered aPaymentDeclineType.HARD
decline.void
setPaymentProviderContractId(String paymentProviderContractId)
The Payment Provider Contract id.void
setSuccessfulTransactionReasonCodes(List<String> successfulTransactionReasonCodes)
The list of Verifone reason codes for the successful transactions.void
setTokenScope(String tokenScope)
The token scope that is used to create the reuse token.void
setUserId(String userId)
The registered User ID ("user-uid") for your REST API integration.
-
-
-
Method Detail
-
getTokenScope
public String getTokenScope(@Nullable String applicationId, @Nullable String tenantId)
-
getPaymentProviderContractId
public String getPaymentProviderContractId(@Nullable String applicationId, @Nullable String tenantId)
Returns the payment provider contract id.- Parameters:
applicationId
- the application idtenantId
- the tenant id- Returns:
- the payment provider contract id
-
setUserId
public void setUserId(String userId)
The registered User ID ("user-uid") for your REST API integration.
-
setApiKey
public void setApiKey(String apiKey)
The Verifone public API key for your REST API integration.
-
setTokenScope
public void setTokenScope(String tokenScope)
The token scope that is used to create the reuse token.
-
setPaymentProviderContractId
public void setPaymentProviderContractId(String paymentProviderContractId)
The Payment Provider Contract id.
-
setSuccessfulTransactionReasonCodes
public void setSuccessfulTransactionReasonCodes(List<String> successfulTransactionReasonCodes)
The list of Verifone reason codes for the successful transactions.- See Also:
- Reason codes for API transactions
-
setFailureTypesByCode
public void setFailureTypesByCode(Map<String,String> failureTypesByCode)
Map of failure types identified by their Verifone response reason code.- See Also:
- Reason codes for API transactions
-
setHardDeclineCodes
public void setHardDeclineCodes(List<String> hardDeclineCodes)
The list of Verifone reason codes that should be considered aPaymentDeclineType.HARD
decline. The categorization of decline types is primarily used with saved payment methods where a payment method should no longer be used if it's related to a hard decline. For example, if the payment gateway tells us that the payment method is stolen, then we should not allow it to be used anymore.- See Also:
- Reason codes for API transactions
-
getSuccessfulTransactionReasonCodes
public List<String> getSuccessfulTransactionReasonCodes()
The list of Verifone reason codes for the successful transactions.- See Also:
- Reason codes for API transactions
-
getFailureTypesByCode
public Map<String,String> getFailureTypesByCode()
Map of failure types identified by their Verifone response reason code.- See Also:
- Reason codes for API transactions
-
getHardDeclineCodes
public List<String> getHardDeclineCodes()
The list of Verifone reason codes that should be considered aPaymentDeclineType.HARD
decline. The categorization of decline types is primarily used with saved payment methods where a payment method should no longer be used if it's related to a hard decline. For example, if the payment gateway tells us that the payment method is stolen, then we should not allow it to be used anymore.- Returns:
- The list of payment gateway response codes that should be considered a
PaymentDeclineType.HARD
decline - See Also:
- Reason codes for API transactions
-
-