Package org.xrpl.xrpl4j.model.flags
Class NfTokenOfferFlags
java.lang.Object
org.xrpl.xrpl4j.model.flags.Flags
org.xrpl.xrpl4j.model.flags.NfTokenOfferFlags
A set of static
Flags which can be set on NfTokenOfferObjects.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NfTokenOfferFlagsConstantNfTokenOfferFlagsfor thelsfAuthorizedflag.static final NfTokenOfferFlagsConstantNfTokenOfferFlagsfor thelsfBuyTokenflag. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates the offer has been approved by the issuer.booleanIndicates the offer is a buy offer.static NfTokenOfferFlagsof(long value) ConstructNfTokenOfferFlagswith a given value.
-
Field Details
-
BUY_TOKEN
ConstantNfTokenOfferFlagsfor thelsfBuyTokenflag. -
AUTHORIZED
ConstantNfTokenOfferFlagsfor thelsfAuthorizedflag.
-
-
Method Details
-
of
ConstructNfTokenOfferFlagswith a given value.- Parameters:
value- The long-number encoded flags value of thisNfTokenOfferFlags.- Returns:
- New
NfTokenOfferFlags.
-
lsfBuyToken
public boolean lsfBuyToken()Indicates the offer is a buy offer.- Returns:
trueiflsfBuyTokenis set, otherwisefalse.
-
lsfAuthorized
public boolean lsfAuthorized()Indicates the offer has been approved by the issuer.- Returns:
trueiflsfAuthorizedis set, otherwisefalse.
-