target.apidocs.com.google.api.services.content.model.RequestPhoneVerificationRequest.html Maven / Gradle / Ivy
RequestPhoneVerificationRequest (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class RequestPhoneVerificationRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.RequestPhoneVerificationRequest
-
public final class RequestPhoneVerificationRequest
extends com.google.api.client.json.GenericJson
Request message for the RequestPhoneVerification method.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
RequestPhoneVerificationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RequestPhoneVerificationRequest
clone()
String
getLanguageCode()
Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US).
String
getPhoneNumber()
Phone number to be verified.
String
getPhoneRegionCode()
Required.
String
getPhoneVerificationMethod()
Verification method to receive verification code.
RequestPhoneVerificationRequest
set(String fieldName,
Object value)
RequestPhoneVerificationRequest
setLanguageCode(String languageCode)
Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US).
RequestPhoneVerificationRequest
setPhoneNumber(String phoneNumber)
Phone number to be verified.
RequestPhoneVerificationRequest
setPhoneRegionCode(String phoneRegionCode)
Required.
RequestPhoneVerificationRequest
setPhoneVerificationMethod(String phoneVerificationMethod)
Verification method to receive verification code.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getLanguageCode
public String getLanguageCode()
Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US).
Language code is used to provide localized `SMS` and `PHONE_CALL`. Default language used is en-
US if not provided.
- Returns:
- value or
null
for none
-
setLanguageCode
public RequestPhoneVerificationRequest setLanguageCode(String languageCode)
Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US).
Language code is used to provide localized `SMS` and `PHONE_CALL`. Default language used is en-
US if not provided.
- Parameters:
languageCode
- languageCode or null
for none
-
getPhoneNumber
public String getPhoneNumber()
Phone number to be verified.
- Returns:
- value or
null
for none
-
setPhoneNumber
public RequestPhoneVerificationRequest setPhoneNumber(String phoneNumber)
Phone number to be verified.
- Parameters:
phoneNumber
- phoneNumber or null
for none
-
getPhoneRegionCode
public String getPhoneRegionCode()
Required. Two letter country code for the phone number, for example `CA` for Canadian numbers.
See the [ISO 3166-1
alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
officially assigned codes.
- Returns:
- value or
null
for none
-
setPhoneRegionCode
public RequestPhoneVerificationRequest setPhoneRegionCode(String phoneRegionCode)
Required. Two letter country code for the phone number, for example `CA` for Canadian numbers.
See the [ISO 3166-1
alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
officially assigned codes.
- Parameters:
phoneRegionCode
- phoneRegionCode or null
for none
-
getPhoneVerificationMethod
public String getPhoneVerificationMethod()
Verification method to receive verification code.
- Returns:
- value or
null
for none
-
setPhoneVerificationMethod
public RequestPhoneVerificationRequest setPhoneVerificationMethod(String phoneVerificationMethod)
Verification method to receive verification code.
- Parameters:
phoneVerificationMethod
- phoneVerificationMethod or null
for none
-
set
public RequestPhoneVerificationRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public RequestPhoneVerificationRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy