Class: Google::Apis::DisplayvideoV3::PartnerGeneralConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::PartnerGeneralConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
General settings of a partner.
Instance Attribute Summary collapse
-
#currency_code ⇒ String
Immutable.
-
#time_zone ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PartnerGeneralConfig
constructor
A new instance of PartnerGeneralConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PartnerGeneralConfig
Returns a new instance of PartnerGeneralConfig.
10559 10560 10561 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10559 def initialize(**args) update!(**args) end |
Instance Attribute Details
#currency_code ⇒ String
Immutable. Partner's currency in ISO 4217 format.
Corresponds to the JSON property currencyCode
10550 10551 10552 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10550 def currency_code @currency_code end |
#time_zone ⇒ String
Immutable. The standard TZ database name of the partner's time zone. For
example, America/New_York
. See more at: https://en.wikipedia.org/wiki/
List_of_tz_database_time_zones
Corresponds to the JSON property timeZone
10557 10558 10559 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10557 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10564 10565 10566 10567 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10564 def update!(**args) @currency_code = args[:currency_code] if args.key?(:currency_code) @time_zone = args[:time_zone] if args.key?(:time_zone) end |