class Google::Apis::ContentV2::PosCustomBatchResponseEntry

Attributes

batch_id[RW]

The ID of the request entry to which this entry responds. Corresponds to the JSON property `batchId` @return [Fixnum]

errors[RW]

A list of errors returned by a failed batch entry. Corresponds to the JSON property `errors` @return [Google::Apis::ContentV2::Errors]

inventory[RW]

The absolute quantity of an item available at the given store. Corresponds to the JSON property `inventory` @return [Google::Apis::ContentV2::PosInventory]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “`content# posCustomBatchResponseEntry`” Corresponds to the JSON property `kind` @return [String]

sale[RW]

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[RW]

Store resource. Corresponds to the JSON property `store` @return [Google::Apis::ContentV2::PosStore]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 8164
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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