Class: Google::Apis::ContentV2::AccountBusinessInformation
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountBusinessInformation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#address ⇒ Google::Apis::ContentV2::AccountAddress
The address of the business.
-
#customer_service ⇒ Google::Apis::ContentV2::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.
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.
230 231 232 |
# File 'lib/google/apis/content_v2/classes.rb', line 230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ Google::Apis::ContentV2::AccountAddress
The address of the business.
Corresponds to the JSON property address
211 212 213 |
# File 'lib/google/apis/content_v2/classes.rb', line 211 def address @address end |
#customer_service ⇒ Google::Apis::ContentV2::AccountCustomerService
The customer service information of the business.
Corresponds to the JSON property customerService
216 217 218 |
# File 'lib/google/apis/content_v2/classes.rb', line 216 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
223 224 225 |
# File 'lib/google/apis/content_v2/classes.rb', line 223 def korean_business_registration_number @korean_business_registration_number end |
#phone_number ⇒ String
The phone number of the business.
Corresponds to the JSON property phoneNumber
228 229 230 |
# File 'lib/google/apis/content_v2/classes.rb', line 228 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
235 236 237 238 239 240 |
# File 'lib/google/apis/content_v2/classes.rb', line 235 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) end |