Class: Google::Apis::ContentV2::AccountBusinessInformation
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountBusinessInformation
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/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.
-
#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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountBusinessInformation
Returns a new instance of AccountBusinessInformation
219 220 221 |
# File 'generated/google/apis/content_v2/classes.rb', line 219 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
207 208 209 |
# File 'generated/google/apis/content_v2/classes.rb', line 207 def address @address end |
#customer_service ⇒ Google::Apis::ContentV2::AccountCustomerService
The customer service information of the business.
Corresponds to the JSON property customerService
212 213 214 |
# File 'generated/google/apis/content_v2/classes.rb', line 212 def customer_service @customer_service end |
#phone_number ⇒ String
The phone number of the business.
Corresponds to the JSON property phoneNumber
217 218 219 |
# File 'generated/google/apis/content_v2/classes.rb', line 217 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
224 225 226 227 228 |
# File 'generated/google/apis/content_v2/classes.rb', line 224 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 |