Class: Google::Apis::WalletobjectsV1::ModifyLinkedOfferObjectsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModifyLinkedOfferObjectsRequest

Returns a new instance of ModifyLinkedOfferObjectsRequest.



6016
6017
6018
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6016

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#linked_offer_object_idsGoogle::Apis::WalletobjectsV1::ModifyLinkedOfferObjects

The linked offer object ids to add or remove from the object. Corresponds to the JSON property linkedOfferObjectIds



6014
6015
6016
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6014

def linked_offer_object_ids
  @linked_offer_object_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6021
6022
6023
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6021

def update!(**args)
  @linked_offer_object_ids = args[:linked_offer_object_ids] if args.key?(:linked_offer_object_ids)
end