EmbeddedProduct class final

The product snapshot embedded in a price response.

Exposes id, about, active, and archivedAt, among other contract fields.

Constructors

EmbeddedProduct({required String id, String? about, required bool active, DateTime? archivedAt, List<EmbeddedProductAttributesItem>? attributes, String? category, required DateTime createdAt, CustomData? customData, String? description, Dimensions? dimensions, Media? media, required String name, DateTime? publishedAt, String? reference, Shipment? shipment, String? taxCode, required Type type, String? unitDim, DateTime? updatedAt})
const
EmbeddedProduct.fromJson(Map<String, Object?> json)
factory

Properties

about → String?
final
active → bool
final
archivedAt → DateTime?
final
attributes → List<EmbeddedProductAttributesItem>?
final
category → String?
final
createdAt → DateTime
final
customData → CustomData?
final
description → String?
final
dimensions → Dimensions?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
media → Media?
final
name → String
final
publishedAt → DateTime?
final
reference → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shipment → Shipment?
final
taxCode → String?
final
type → Type
final
unitDim → String?
final
updatedAt → DateTime?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited