Class V2CreateResponse
-
- All Implemented Interfaces:
public final class V2CreateResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV2CreateResponse.BuilderA builder for V2CreateResponse.
public final classV2CreateResponse.CurrentVersionpublic final classV2CreateResponse.DraftVersionpublic final classV2CreateResponse.EventStreamThe event stream during which the rule will be evaluated.
public final classV2CreateResponse.AuthRuleStateThe state of the Auth Rule
public final classV2CreateResponse.AuthRuleTypeThe type of Auth Rule. For certain rule types, this determines the event stream during which it will be evaluated. For rules that can be applied to one of several event streams, the effective one is defined by the separate
event_streamfield.CONDITIONAL_BLOCK: AUTHORIZATION event stream.VELOCITY_LIMIT: AUTHORIZATION event stream.MERCHANT_LOCK: AUTHORIZATION event stream.CONDITIONAL_ACTION: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
-
Method Summary
Modifier and Type Method Description final Stringtoken()Auth Rule Token final List<String>accountTokens()Account tokens to which the Auth Rule applies. final List<String>businessAccountTokens()Business Account tokens to which the Auth Rule applies. final List<String>cardTokens()Card tokens to which the Auth Rule applies. final Optional<V2CreateResponse.CurrentVersion>currentVersion()final Optional<V2CreateResponse.DraftVersion>draftVersion()final V2CreateResponse.EventStreameventStream()The event stream during which the rule will be evaluated. final BooleanlithicManaged()Indicates whether this auth rule is managed by Lithic. final Optional<String>name()Auth Rule Name final BooleanprogramLevel()Whether the Auth Rule applies to all authorizations on the card program. final V2CreateResponse.AuthRuleStatestate()The state of the Auth Rule final V2CreateResponse.AuthRuleTypetype()The type of Auth Rule. final Optional<List<String>>excludedCardTokens()Card tokens to which the Auth Rule does not apply. final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<List<String>>_accountTokens()Returns the raw JSON value of accountTokens. final JsonField<List<String>>_businessAccountTokens()Returns the raw JSON value of businessAccountTokens. final JsonField<List<String>>_cardTokens()Returns the raw JSON value of cardTokens. final JsonField<V2CreateResponse.CurrentVersion>_currentVersion()Returns the raw JSON value of currentVersion. final JsonField<V2CreateResponse.DraftVersion>_draftVersion()Returns the raw JSON value of draftVersion. final JsonField<V2CreateResponse.EventStream>_eventStream()Returns the raw JSON value of eventStream. final JsonField<Boolean>_lithicManaged()Returns the raw JSON value of lithicManaged. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Boolean>_programLevel()Returns the raw JSON value of programLevel. final JsonField<V2CreateResponse.AuthRuleState>_state()Returns the raw JSON value of state. final JsonField<V2CreateResponse.AuthRuleType>_type()Returns the raw JSON value of type. final JsonField<List<String>>_excludedCardTokens()Returns the raw JSON value of excludedCardTokens. final Map<String, JsonValue>_additionalProperties()final V2CreateResponse.BuildertoBuilder()final V2CreateResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static V2CreateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of V2CreateResponse. -
-
Method Detail
-
accountTokens
final List<String> accountTokens()
Account tokens to which the Auth Rule applies.
-
businessAccountTokens
final List<String> businessAccountTokens()
Business Account tokens to which the Auth Rule applies.
-
cardTokens
final List<String> cardTokens()
Card tokens to which the Auth Rule applies.
-
currentVersion
final Optional<V2CreateResponse.CurrentVersion> currentVersion()
-
draftVersion
final Optional<V2CreateResponse.DraftVersion> draftVersion()
-
eventStream
final V2CreateResponse.EventStream eventStream()
The event stream during which the rule will be evaluated.
-
lithicManaged
final Boolean lithicManaged()
Indicates whether this auth rule is managed by Lithic. If true, the rule cannot be modified or deleted by the user
-
programLevel
final Boolean programLevel()
Whether the Auth Rule applies to all authorizations on the card program.
-
state
final V2CreateResponse.AuthRuleState state()
The state of the Auth Rule
-
type
final V2CreateResponse.AuthRuleType type()
The type of Auth Rule. For certain rule types, this determines the event stream during which it will be evaluated. For rules that can be applied to one of several event streams, the effective one is defined by the separate
event_streamfield.CONDITIONAL_BLOCK: AUTHORIZATION event stream.VELOCITY_LIMIT: AUTHORIZATION event stream.MERCHANT_LOCK: AUTHORIZATION event stream.CONDITIONAL_ACTION: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
-
excludedCardTokens
final Optional<List<String>> excludedCardTokens()
Card tokens to which the Auth Rule does not apply.
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_accountTokens
final JsonField<List<String>> _accountTokens()
Returns the raw JSON value of accountTokens.
Unlike accountTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_businessAccountTokens
final JsonField<List<String>> _businessAccountTokens()
Returns the raw JSON value of businessAccountTokens.
Unlike businessAccountTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_cardTokens
final JsonField<List<String>> _cardTokens()
Returns the raw JSON value of cardTokens.
Unlike cardTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_currentVersion
final JsonField<V2CreateResponse.CurrentVersion> _currentVersion()
Returns the raw JSON value of currentVersion.
Unlike currentVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_draftVersion
final JsonField<V2CreateResponse.DraftVersion> _draftVersion()
Returns the raw JSON value of draftVersion.
Unlike draftVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_eventStream
final JsonField<V2CreateResponse.EventStream> _eventStream()
Returns the raw JSON value of eventStream.
Unlike eventStream, this method doesn't throw if the JSON field has an unexpected type.
-
_lithicManaged
final JsonField<Boolean> _lithicManaged()
Returns the raw JSON value of lithicManaged.
Unlike lithicManaged, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_programLevel
final JsonField<Boolean> _programLevel()
Returns the raw JSON value of programLevel.
Unlike programLevel, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<V2CreateResponse.AuthRuleState> _state()
Returns the raw JSON value of state.
Unlike state, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<V2CreateResponse.AuthRuleType> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_excludedCardTokens
final JsonField<List<String>> _excludedCardTokens()
Returns the raw JSON value of excludedCardTokens.
Unlike excludedCardTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V2CreateResponse.Builder toBuilder()
-
validate
final V2CreateResponse validate()
-
builder
final static V2CreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of V2CreateResponse.
The following fields are required:
.token() .accountTokens() .businessAccountTokens() .cardTokens() .currentVersion() .draftVersion() .eventStream() .lithicManaged() .name() .programLevel() .state() .type()
-
-
-
-