BrandVariantsRestriction class abstract
BrandVariantsRestriction
Properties:
- operation - Defines how the condition must be evaluated.
- value - List of card brand variants. Possible values: - mc, mccredit, mccommercialcredit_b2b, mcdebit, mcbusinessdebit, mcbusinessworlddebit, mcprepaid, mcmaestro - visa, visacredit, visadebit, visaprepaid. You can specify a rule for a generic variant. For example, to create a rule for all Mastercard payment instruments, use mc. The rule is applied to all payment instruments under mc, such as mcbusinessdebit and mcdebit.
- Annotations
-
- @BuiltValue.new()
Constructors
- BrandVariantsRestriction([void updates(BrandVariantsRestrictionBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- operation → String
-
Defines how the condition must be evaluated.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ BuiltList<
String> ? -
List of card brand variants. Possible values: - mc, mccredit, mccommercialcredit_b2b, mcdebit, mcbusinessdebit, mcbusinessworlddebit, mcprepaid, mcmaestro - visa, visacredit, visadebit, visaprepaid. You can specify a rule for a generic variant. For example, to create a rule for all Mastercard payment instruments, use mc. The rule is applied to all payment instruments under mc, such as mcbusinessdebit and mcdebit.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(BrandVariantsRestrictionBuilder)) → BrandVariantsRestriction -
Rebuilds the instance.
inherited
-
toBuilder(
) → BrandVariantsRestrictionBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
BrandVariantsRestriction> -
no setter