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.



5736
5737
5738
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 5736

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



5734
5735
5736
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 5734

def linked_offer_object_ids
  @linked_offer_object_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5741
5742
5743
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 5741

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