Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::DealPausingInfo

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

Overview

Information related to deal pausing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DealPausingInfo

Returns a new instance of DealPausingInfo.



1003
1004
1005
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1003

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

Instance Attribute Details

#pause_reasonString

The reason for the pausing of the deal; empty for active deals. Corresponds to the JSON property pauseReason

Returns:

  • (String)


990
991
992
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 990

def pause_reason
  @pause_reason
end

#pause_roleString

The party that first paused the deal; unspecified for active deals. Corresponds to the JSON property pauseRole

Returns:

  • (String)


995
996
997
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 995

def pause_role
  @pause_role
end

#pausing_consentedBoolean Also known as: pausing_consented?

Whether pausing is consented between buyer and seller for the deal. Corresponds to the JSON property pausingConsented

Returns:

  • (Boolean)


1000
1001
1002
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1000

def pausing_consented
  @pausing_consented
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1008
1009
1010
1011
1012
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1008

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