Class: Google::Apis::MerchantapiAccountsV1beta::BusinessDayConfig
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::BusinessDayConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
Business days of the warehouse.
Instance Attribute Summary collapse
-
#business_days ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BusinessDayConfig
constructor
A new instance of BusinessDayConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BusinessDayConfig
Returns a new instance of BusinessDayConfig.
321 322 323 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business_days ⇒ Array<String>
Required. Regular business days. May not be empty.
Corresponds to the JSON property businessDays
319 320 321 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 319 def business_days @business_days end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
326 327 328 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 326 def update!(**args) @business_days = args[:business_days] if args.key?(:business_days) end |