class Google::Apis::YoutubeV3::LiveChatSuperChatDetails

Attributes

amount_display_string[RW]

A rendered string that displays the fund amount and currency to the user. Corresponds to the JSON property `amountDisplayString` @return [String]

amount_micros[RW]

The amount purchased by the user, in micros (1,750,000 micros = 1.75). Corresponds to the JSON property `amountMicros` @return [Fixnum]

currency[RW]

The currency in which the purchase was made. Corresponds to the JSON property `currency` @return [String]

tier[RW]

The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1. Corresponds to the JSON property `tier` @return [Fixnum]

user_comment[RW]

The comment added by the user to this Super Chat event. Corresponds to the JSON property `userComment` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 4635
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 4640
def update!(**args)
  @amount_display_string = args[:amount_display_string] if args.key?(:amount_display_string)
  @amount_micros = args[:amount_micros] if args.key?(:amount_micros)
  @currency = args[:currency] if args.key?(:currency)
  @tier = args[:tier] if args.key?(:tier)
  @user_comment = args[:user_comment] if args.key?(:user_comment)
end