class Google::Apis::ContentV2::PosCustomBatchResponseEntry
Attributes
The ID of the request entry to which this entry responds. Corresponds to the JSON property `batchId` @return [Fixnum]
A list of errors returned by a failed batch entry. Corresponds to the JSON property `errors` @return [Google::Apis::ContentV2::Errors]
The absolute quantity of an item available at the given store. Corresponds to the JSON property `inventory` @return [Google::Apis::ContentV2::PosInventory]
Identifies what kind of resource this is. Value: the fixed string “`content# posCustomBatchResponseEntry`” Corresponds to the JSON property `kind` @return [String]
The change of the available quantity of an item at the given store. Corresponds to the JSON property `sale` @return [Google::Apis::ContentV2::PosSale]
Store resource. Corresponds to the JSON property `store` @return [Google::Apis::ContentV2::PosStore]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 8164 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 8169 def update!(**args) @batch_id = args[:batch_id] if args.key?(:batch_id) @errors = args[:errors] if args.key?(:errors) @inventory = args[:inventory] if args.key?(:inventory) @kind = args[:kind] if args.key?(:kind) @sale = args[:sale] if args.key?(:sale) @store = args[:store] if args.key?(:store) end