GoogleCloudRetailV2alphaLocalInventoryResponse class
The inventory information at a place (e.g. a store) identified by a place ID.
Constructors
-
GoogleCloudRetailV2alphaLocalInventoryResponse({required Input<
Map< attributes, required Input<String, String> >List< fulfillmentTypes, required Input<String> >String> placeId, required Input<GoogleCloudRetailV2alphaPriceInfoResponse> priceInfo}) -
Creates a new GoogleCloudRetailV2alphaLocalInventoryResponse.
attributesAdditional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern:a-zA-Z0-9*. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. Thesearchablefield should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.fulfillmentTypesInput only. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.placeIdThe place ID for the current set of inventory information.priceInfoProduct price and cost information. Google Merchant Center property price.const -
GoogleCloudRetailV2alphaLocalInventoryResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
attributes
→ Input<
Map< String, String> > -
Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern:
a-zA-Z0-9*. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. Thesearchablefield should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.final -
fulfillmentTypes
→ Input<
List< String> > -
Input only. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
placeId
→ Input<
String> -
The place ID for the current set of inventory information.
final
-
priceInfo
→ Input<
GoogleCloudRetailV2alphaPriceInfoResponse> -
Product price and cost information. Google Merchant Center property price.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited