ProductCreateOptions class final
Constructors
-
ProductCreateOptions({bool? active, ProductDefaultPriceData? defaultPriceData, String? description, List<
String> ? expand, List<ProductFeaturesItem> ? features, String? id, List<String> ? images, Map<String, String> ? metadata, required String name, PackageDimensions? packageDimensions, bool? shippable, String? statementDescriptor, String? taxCode, ProductType? type, String? unitLabel, String? url}) -
const
- ProductCreateOptions.fromJson(Object? json)
-
factory
Properties
- active → bool?
-
final
- defaultPriceData → ProductDefaultPriceData?
-
price_data_without_product
final
- description → String?
-
final
-
expand
→ List<
String> ? -
final
-
features
→ List<
ProductFeaturesItem> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
-
images
→ List<
String> ? -
final
-
metadata
→ Map<
String, String> ? -
final
- name → String
-
final
- packageDimensions → PackageDimensions?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippable → bool?
-
final
- statementDescriptor → String?
-
final
- taxCode → String?
-
final
- type → ProductType?
-
final
- unitLabel → String?
-
final
- url → String?
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (ProductCreateOptions instance, Encoder< V> encoder) → V