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.



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

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)


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

def pin
  @pin
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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