Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PauseFinalizedDealRequest

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

Request message for pausing a finalized deal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PauseFinalizedDealRequest

Returns a new instance of PauseFinalizedDealRequest.



2053
2054
2055
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2053

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

Instance Attribute Details

#reasonString

The reason to pause the finalized deal, will be displayed to the seller. Maximum length is 1000 characters. Corresponds to the JSON property reason

Returns:

  • (String)


2051
2052
2053
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2051

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2058
2059
2060
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 2058

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