Class ExternalStoreCreditProperties
java.lang.Object
com.broadleafcommerce.payment.service.gateway.provider.external.ExternalStoreCreditProperties
@ConfigurationProperties("broadleaf.store-credit.creditaccountprovider")
public class ExternalStoreCreditProperties
extends Object
Properties for interacting with an external credit account service.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe default URI to read credit accounts.The default URI to execute a credit transactions for the provided account number.The default URI to execute a debit transactions for the provided account number.The service client to use when calling credit account services.getUrl()The base url for an external credit account service.voidsetCreditAccountsUri(String creditAccountsUri) The default URI to read credit accounts.voidsetCreditTransactionUri(String creditTransactionUri) The default URI to execute a credit transactions for the provided account number.voidsetDebitTransactionUri(String debitTransactionUri) The default URI to execute a debit transactions for the provided account number.voidsetServiceClient(String serviceClient) The service client to use when calling credit account services.voidThe base url for an external credit account service.
-
Constructor Details
-
ExternalStoreCreditProperties
public ExternalStoreCreditProperties()
-
-
Method Details
-
getUrl
The base url for an external credit account service. -
getCreditAccountsUri
The default URI to read credit accounts. -
getDebitTransactionUri
The default URI to execute a debit transactions for the provided account number. -
getCreditTransactionUri
The default URI to execute a credit transactions for the provided account number. -
getServiceClient
The service client to use when calling credit account services. Default is "storecreditclient". -
setUrl
The base url for an external credit account service. -
setCreditAccountsUri
The default URI to read credit accounts. -
setDebitTransactionUri
The default URI to execute a debit transactions for the provided account number. -
setCreditTransactionUri
The default URI to execute a credit transactions for the provided account number. -
setServiceClient
The service client to use when calling credit account services. Default is "storecreditclient".
-