Class TabbyCheckoutSession
java.lang.Object
com.broadleafcommerce.tabby.domain.session.TabbyCheckoutSession
- All Implemented Interfaces:
Serializable
The Tabby Checkout session.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The Tabby Checkout session configuration.getId()
Unique identifier for the checkout Session, assigned by Tabby.getLang()
Session language, used to launch HPP with desired language.The merchant code.Used for redirecting the customer after the tabby HPP flow.The Tabby payment.Status of the current session.getToken()
If you already have token, you can pass it there.int
hashCode()
boolean
Optional, used for Tokenized Checkout flow only with the Account Manager confirmation.void
setConfiguration
(TabbySessionConfiguration configuration) The Tabby Checkout session configuration.void
setCreateToken
(boolean createToken) Optional, used for Tokenized Checkout flow only with the Account Manager confirmation.void
Unique identifier for the checkout Session, assigned by Tabby.void
Session language, used to launch HPP with desired language.void
void
setMerchantCode
(String merchantCode) The merchant code.void
setMerchantUrls
(TabbyCheckoutSession.TabbyMerchantUrls merchantUrls) Used for redirecting the customer after the tabby HPP flow.void
setPayment
(TabbyPayment payment) The Tabby payment.void
Status of the current session.void
If you already have token, you can pass it there.toString()
-
Constructor Details
-
TabbyCheckoutSession
public TabbyCheckoutSession()
-
-
Method Details
-
getId
Unique identifier for the checkout Session, assigned by Tabby. -
getConfiguration
The Tabby Checkout session configuration. -
getPayment
The Tabby payment. -
getStatus
Status of the current session. It's ok to redirect customer when session is created or approved.- See Also:
-
isCreateToken
public boolean isCreateToken()Optional, used for Tokenized Checkout flow only with the Account Manager confirmation. Pass true if you want to get token at the end of checkout session. This field will be read only when authorization was made using secret_key. -
getToken
If you already have token, you can pass it there. This field will be read only when authorization was made using secret_key. In the response, this field will be filled with token value, that you can use for Tokenized Payments. -
getMerchantUrls
Used for redirecting the customer after the tabby HPP flow. Required for Web integration, optional for Mobile App integration. -
getLang
Session language, used to launch HPP with desired language.Enum: "ar" "en"
-
getMerchant
-
getMerchantCode
The merchant code. -
setId
Unique identifier for the checkout Session, assigned by Tabby. -
setConfiguration
The Tabby Checkout session configuration. -
setPayment
The Tabby payment. -
setStatus
Status of the current session. It's ok to redirect customer when session is created or approved.- See Also:
-
setCreateToken
public void setCreateToken(boolean createToken) Optional, used for Tokenized Checkout flow only with the Account Manager confirmation. Pass true if you want to get token at the end of checkout session. This field will be read only when authorization was made using secret_key. -
setToken
If you already have token, you can pass it there. This field will be read only when authorization was made using secret_key. In the response, this field will be filled with token value, that you can use for Tokenized Payments. -
setMerchantUrls
Used for redirecting the customer after the tabby HPP flow. Required for Web integration, optional for Mobile App integration. -
setLang
Session language, used to launch HPP with desired language.Enum: "ar" "en"
-
setMerchant
-
setMerchantCode
The merchant code. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-