Class: Google::Apis::AuthorizedbuyersmarketplaceV1::DealPausingInfo

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

Information related to deal pausing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DealPausingInfo

Returns a new instance of DealPausingInfo.



769
770
771
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 769

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)


756
757
758
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 756

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)


761
762
763
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 761

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)


766
767
768
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 766

def pausing_consented
  @pausing_consented
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



774
775
776
777
778
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 774

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