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.



6142
6143
6144
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6142

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



6140
6141
6142
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6140

def linked_offer_object_ids
  @linked_offer_object_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6147
6148
6149
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6147

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