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 StringgetApiKey(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.HARDdecline.StringgetPaymentProviderContractId(String applicationId, String tenantId)Returns the payment provider contract id.List<String>getSuccessfulTransactionReasonCodes()The list of Verifone reason codes for the successful transactions.StringgetTokenScope(String applicationId, String tenantId)StringgetUserId(String applicationId, String tenantId)voidsetApiKey(String apiKey)The Verifone public API key for your REST API integration.voidsetFailureTypesByCode(Map<String,String> failureTypesByCode)Map of failure types identified by their Verifone response reason code.voidsetHardDeclineCodes(List<String> hardDeclineCodes)The list of Verifone reason codes that should be considered aPaymentDeclineType.HARDdecline.voidsetPaymentProviderContractId(String paymentProviderContractId)The Payment Provider Contract id.voidsetSuccessfulTransactionReasonCodes(List<String> successfulTransactionReasonCodes)The list of Verifone reason codes for the successful transactions.voidsetTokenScope(String tokenScope)The token scope that is used to create the reuse token.voidsetUserId(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.HARDdecline. 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.HARDdecline. 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.HARDdecline - See Also:
- Reason codes for API transactions
-
-