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:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/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.
-
#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.
229 230 231 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 229 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
217 218 219 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 217 def address @address end |
#customer_service ⇒ Google::Apis::ContentV2_1::AccountCustomerService
The customer service information of the business.
Corresponds to the JSON property customerService
222 223 224 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 222 def customer_service @customer_service end |
#phone_number ⇒ String
The phone number of the business.
Corresponds to the JSON property phoneNumber
227 228 229 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 227 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
234 235 236 237 238 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 234 def update!(**args) @address = args[:address] if args.key?(:address) @customer_service = args[:customer_service] if args.key?(:customer_service) @phone_number = args[:phone_number] if args.key?(:phone_number) end |