Class: Google::Apis::AuthorizedbuyersmarketplaceV1::DealPausingInfo
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::DealPausingInfo
- 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
-
#pause_reason ⇒ String
The reason for the pausing of the deal; empty for active deals.
-
#pause_role ⇒ String
The party that first paused the deal; unspecified for active deals.
-
#pausing_consented ⇒ Boolean
(also: #pausing_consented?)
Whether pausing is consented between buyer and seller for the deal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DealPausingInfo
constructor
A new instance of DealPausingInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_reason ⇒ String
The reason for the pausing of the deal; empty for active deals.
Corresponds to the JSON property pauseReason
756 757 758 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 756 def pause_reason @pause_reason end |
#pause_role ⇒ String
The party that first paused the deal; unspecified for active deals.
Corresponds to the JSON property pauseRole
761 762 763 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 761 def pause_role @pause_role end |
#pausing_consented ⇒ Boolean Also known as: pausing_consented?
Whether pausing is consented between buyer and seller for the deal.
Corresponds to the JSON property pausingConsented
766 767 768 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 766 def @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 |