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 -
Method Summary
Modifier and TypeMethodDescriptionThe 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()Type of product.booleanvoidsetAvailable(boolean isAvailable) voidsetRejectionReason(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.voidType of product.
-
Constructor Details
-
TabbyProduct
public TabbyProduct()
-
-
Method Details
-
setType
Type of product.Enum: "installments" "monthly_billing"
-
setAvailable
public void setAvailable(boolean isAvailable) -
setRejectionReason
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
Type of product.Enum: "installments" "monthly_billing"
-
isAvailable
public boolean isAvailable() -
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.
-