Class TabbySessionConfiguration.TabbyProducts.TabbyProduct

java.lang.Object
com.broadleafcommerce.tabby.domain.session.TabbySessionConfiguration.TabbyProducts.TabbyProduct
All Implemented Interfaces:
Serializable
Enclosing class:
TabbySessionConfiguration.TabbyProducts

public static class TabbySessionConfiguration.TabbyProducts.TabbyProduct extends Object implements Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The reason why this product is not available to use Possible values: order_amount_too_high - 'This purchase is above your current spending limit with Tabby, try a smaller cart or use another payment method.' order_amount_too_low - 'The purchase amount is below the minimum amount required to use Tabby, try adding more items or use another payment method.' not_available - 'Sorry, Tabby is unable to approve this purchase, please use an alternative payment method for your order.' null - if is_available is true and customer is able to use it.
    Type of product.
    boolean
     
    void
    setAvailable(boolean isAvailable)
     
    void
    setRejectionReason(String rejectionReason)
    The reason why this product is not available to use Possible values: order_amount_too_high - 'This purchase is above your current spending limit with Tabby, try a smaller cart or use another payment method.' order_amount_too_low - 'The purchase amount is below the minimum amount required to use Tabby, try adding more items or use another payment method.' not_available - 'Sorry, Tabby is unable to approve this purchase, please use an alternative payment method for your order.' null - if is_available is true and customer is able to use it.
    void
    Type of product.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TabbyProduct

      public TabbyProduct()
  • Method Details

    • setType

      public void setType(String type)
      Type of product.

      Enum: "installments" "monthly_billing"

    • setAvailable

      public void setAvailable(boolean isAvailable)
    • setRejectionReason

      public void setRejectionReason(String rejectionReason)
      The reason why this product is not available to use Possible values:
      • order_amount_too_high - 'This purchase is above your current spending limit with Tabby, try a smaller cart or use another payment method.'
      • order_amount_too_low - 'The purchase amount is below the minimum amount required to use Tabby, try adding more items or use another payment method.'
      • not_available - 'Sorry, Tabby is unable to approve this purchase, please use an alternative payment method for your order.'
      • null - if is_available is true and customer is able to use it.
    • getType

      public String getType()
      Type of product.

      Enum: "installments" "monthly_billing"

    • isAvailable

      public boolean isAvailable()
    • getRejectionReason

      public String getRejectionReason()
      The reason why this product is not available to use Possible values:
      • order_amount_too_high - 'This purchase is above your current spending limit with Tabby, try a smaller cart or use another payment method.'
      • order_amount_too_low - 'The purchase amount is below the minimum amount required to use Tabby, try adding more items or use another payment method.'
      • not_available - 'Sorry, Tabby is unable to approve this purchase, please use an alternative payment method for your order.'
      • null - if is_available is true and customer is able to use it.