Class: Google::Apis::MybusinessverificationsV1::CompleteVerificationRequest

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

Overview

Request message for Verifications.CompleteVerificationAction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompleteVerificationRequest

Returns a new instance of CompleteVerificationRequest.



75
76
77
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 75

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

Instance Attribute Details

#pinString

Required. PIN code received by the merchant to complete the verification. Corresponds to the JSON property pin

Returns:

  • (String)


73
74
75
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 73

def pin
  @pin
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



80
81
82
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 80

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