Class: Google::Apis::AuthorizedbuyersmarketplaceV1::AcceptProposalRequest

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

Overview

Request to accept a proposal. Accepting a proposal implies acceptance of the publisher terms_and_conditions, if any.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AcceptProposalRequest

Returns a new instance of AcceptProposalRequest.



35
36
37
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 35

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

Instance Attribute Details

#proposal_revisionFixnum

The last known client revision number of the proposal. Corresponds to the JSON property proposalRevision

Returns:

  • (Fixnum)


33
34
35
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 33

def proposal_revision
  @proposal_revision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40
41
42
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 40

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