Class: Google::Apis::MerchantapiAccountsV1beta::Handshake

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

Overview

The current status of establishing of the service. (for example, pending approval, approved, established).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Handshake

Returns a new instance of Handshake.



1736
1737
1738
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1736

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

Instance Attribute Details

#actorString

Output only. The most recent account to modify the account service's approval_status. Corresponds to the JSON property actor

Returns:

  • (String)


1729
1730
1731
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1729

def actor
  @actor
end

#approval_stateString

Output only. The approval state of this handshake. Corresponds to the JSON property approvalState

Returns:

  • (String)


1734
1735
1736
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1734

def approval_state
  @approval_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1741
1742
1743
1744
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1741

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