Class MyFatoorahConfigurationProperties.ApiConfig

java.lang.Object
com.broadleafcommerce.myfatoorah.service.MyFatoorahConfigurationProperties.ApiConfig
Enclosing class:
MyFatoorahConfigurationProperties

public static class MyFatoorahConfigurationProperties.ApiConfig extends Object
  • Constructor Details

    • ApiConfig

      public ApiConfig()
    • ApiConfig

      public ApiConfig(String apiToken, String currency)
      Creates a new ApiConfig instance.
      Parameters:
      apiToken - The MyFatoorah API token for your REST API integration.
      currency - The currency tied to the apiToken. 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

      public String getApiToken()
      The MyFatoorah API token for your REST API integration.
    • getCurrency

      public String getCurrency()
      The currency tied to the apiToken. 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

      public void setApiToken(String apiToken)
      The MyFatoorah API token for your REST API integration.
    • setCurrency

      public void setCurrency(String currency)
      The currency tied to the apiToken. 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object