OrderLineItemPricingBlocklistsBlockedDiscount class
- Annotations
-
- @JsonSerializable()
Constructors
- OrderLineItemPricingBlocklistsBlockedDiscount({required String discountCatalogObjectId, required String discountUid, required String uid})
-
const
-
OrderLineItemPricingBlocklistsBlockedDiscount.fromJson(Map<
String, dynamic> json) -
Converts a Map<String,
dynamic
> to a OrderLineItemPricingBlocklistsBlockedDiscountfactory
Properties
- discountCatalogObjectId → String
-
The catalog_object_id of the discount that should be blocked. Use this
field to block catalog discounts. For ad hoc discounts, use the
discount_uid field.
final
- discountUid → String
-
The uid of the discount that should be blocked. Use this field to block
ad hoc discounts. For catalog discounts, use the
discount_catalog_object_id field.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - uid → String
-
A unique ID of the BlockedDiscount within the order.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts a OrderLineItemPricingBlocklistsBlockedDiscount to a
Map<
String
,dynamic
> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited