Class MyFatoorahConfigurationProperties.ApiConfig
java.lang.Object
com.broadleafcommerce.myfatoorah.service.MyFatoorahConfigurationProperties.ApiConfig
- Enclosing class:
- MyFatoorahConfigurationProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe MyFatoorah API token for your REST API integration.The currency tied to theapiToken.inthashCode()voidsetApiToken(String apiToken) The MyFatoorah API token for your REST API integration.voidsetCurrency(String currency) The currency tied to theapiToken.toString()
-
Constructor Details
-
ApiConfig
public ApiConfig() -
ApiConfig
Creates a newApiConfiginstance.- Parameters:
apiToken- The MyFatoorah API token for your REST API integration.currency- The currency tied to theapiToken. Note: it's very important that for each API token, we also declare the currency used for that API token. The MyFatoorah APIs don't always take in a currency parameter, so the currency is determined from the configuration around the API token.
-
-
Method Details
-
getApiToken
The MyFatoorah API token for your REST API integration. -
getCurrency
The currency tied to theapiToken. Note: it's very important that for each API token, we also declare the currency used for that API token. The MyFatoorah APIs don't always take in a currency parameter, so the currency is determined from the configuration around the API token. -
setApiToken
The MyFatoorah API token for your REST API integration. -
setCurrency
The currency tied to theapiToken. Note: it's very important that for each API token, we also declare the currency used for that API token. The MyFatoorah APIs don't always take in a currency parameter, so the currency is determined from the configuration around the API token. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-