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 in E.164 format.
-
#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.
385 386 387 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ Google::Apis::ContentV2_1::AccountAddress
The address of the business. Use \n
to add a second address line.
Corresponds to the JSON property address
356 357 358 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 356 def address @address end |
#customer_service ⇒ Google::Apis::ContentV2_1::AccountCustomerService
The customer service information of the business.
Corresponds to the JSON property customerService
361 362 363 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 361 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
368 369 370 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 368 def korean_business_registration_number @korean_business_registration_number end |
#phone_number ⇒ String
The phone number of the business in E.164 format. 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
376 377 378 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 376 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
383 384 385 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 383 def phone_verification_status @phone_verification_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 394 395 396 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 390 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 |