Package com.inttegro.purchaseintents
Class PurchaseIntent
java.lang.Object
com.inttegro.purchaseintents.PurchaseIntent
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()Whether the purchase intent is currently active.booleanWhether the purchase intent can create at most one order.ID of the order that consumed a single-use purchase intent.
-
Field Details
-
allowVariants
public boolean allowVariants -
createdAt
-
expiresAt
-
id
-
inactiveAt
-
merchant
-
price
-
presentation
-
product
-
quantity
-
status
-
updatedAt
-
usage
-
variantSet
-
-
Constructor Details
-
PurchaseIntent
public PurchaseIntent()
-
-
Method Details
-
isActive
public boolean isActive()Whether the purchase intent is currently active. -
isSingleUse
public boolean isSingleUse()Whether the purchase intent can create at most one order. -
usedOrderId
ID of the order that consumed a single-use purchase intent.
-