UpdateRequest class final
Parameters for updating a product.
Carries type, name, description, and about, among other supported fields.
Constructors
-
UpdateRequest({Type? type, String? name, String? description, String? about, String? taxCode, String? category, ShipmentInput? shipment, DimensionsInput? dimensions, String? unitDimension, MediaInput? media, List<
String> ? images, List<AttributeInput> ? attributes, CustomData? customData, required String productId}) -
const
-
UpdateRequest.fromJson(Map<
String, Object?> json) -
factory
Properties
- about → String?
-
final
-
attributes
→ List<
AttributeInput> ? -
final
- category → String?
-
final
- customData → CustomData?
-
final
- description → String?
-
final
- dimensions → DimensionsInput?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
images
→ List<
String> ? -
final
- media → MediaInput?
-
final
- name → String?
-
final
- productId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shipment → ShipmentInput?
-
final
- taxCode → String?
-
final
- type → Type?
-
final
- unitDimension → String?
-
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