Class OrbitalGatewayCardBrandMappingProperties

java.lang.Object
com.broadleafcommerce.payment.service.gateway.autoconfigure.OrbitalGatewayCardBrandMappingProperties

@ConfigurationProperties("broadleaf.chase-payment.orbital-gateway.card-brand-mapping") public class OrbitalGatewayCardBrandMappingProperties extends Object
Used to map a GatewayResponse.getCardBrand() value from the Orbital gateway to a more generic/commonly understood term.
  • Constructor Details

    • OrbitalGatewayCardBrandMappingProperties

      public OrbitalGatewayCardBrandMappingProperties()
  • Method Details

    • getCardTypesByOrbitalBrand

      public Map<String,String> getCardTypesByOrbitalBrand()
      Keys in this map should be the GatewayResponse.getCardBrand() returned from the Orbital gateway. Values should be the user-friendly card-type value for that brand which can be used in places like PaymentInfo.getDisplayAttributes().
    • setCardTypesByOrbitalBrand

      public void setCardTypesByOrbitalBrand(Map<String,String> cardTypesByOrbitalBrand)
      Keys in this map should be the GatewayResponse.getCardBrand() returned from the Orbital gateway. Values should be the user-friendly card-type value for that brand which can be used in places like PaymentInfo.getDisplayAttributes().
    • 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