Class: Google::Apis::ContentV2_1::AccountBusinessInformation
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountBusinessInformation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#address ⇒ Google::Apis::ContentV2_1::AccountAddress
The address of the business.
-
#customer_service ⇒ Google::Apis::ContentV2_1::AccountCustomerService
The customer service information of the business.
-
#korean_business_registration_number ⇒ String
The 10-digit Korean business registration number separated with dashes in the format: XXX-XX-XXXXX.
-
#phone_number ⇒ String
The phone number of the business.
-
#phone_verification_status ⇒ String
Verification status of the phone number of the business.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountBusinessInformation
constructor
A new instance of AccountBusinessInformation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountBusinessInformation
Returns a new instance of AccountBusinessInformation.
259 260 261 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ Google::Apis::ContentV2_1::AccountAddress
The address of the business.
Corresponds to the JSON property address
231 232 233 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 231 def address @address end |
#customer_service ⇒ Google::Apis::ContentV2_1::AccountCustomerService
The customer service information of the business.
Corresponds to the JSON property customerService
236 237 238 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 236 def customer_service @customer_service end |
#korean_business_registration_number ⇒ String
The 10-digit Korean business registration number separated with dashes in the format: XXX-XX-XXXXX.
This field will only be updated if explicitly set.
Corresponds to the JSON property koreanBusinessRegistrationNumber
243 244 245 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 243 def korean_business_registration_number @korean_business_registration_number end |
#phone_number ⇒ String
The phone number of the business. This can only be updated if a verified phone
number is not already set. To replace a verified phone number use the
Accounts.requestphoneverification and Accounts.verifyphonenumber.
Corresponds to the JSON property phoneNumber
250 251 252 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 250 def phone_number @phone_number end |
#phone_verification_status ⇒ String
Verification status of the phone number of the business. This status is read
only and can be updated only by successful phone verification. Acceptable
values are: - "verified" - "unverified"
Corresponds to the JSON property phoneVerificationStatus
257 258 259 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 257 def phone_verification_status @phone_verification_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
264 265 266 267 268 269 270 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 264 def update!(**args) @address = args[:address] if args.key?(:address) @customer_service = args[:customer_service] if args.key?(:customer_service) @korean_business_registration_number = args[:korean_business_registration_number] if args.key?(:korean_business_registration_number) @phone_number = args[:phone_number] if args.key?(:phone_number) @phone_verification_status = args[:phone_verification_status] if args.key?(:phone_verification_status) end |