class Google::Apis::YoutubeV3::LiveChatSuperStickerDetails

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]

super_sticker_metadata[RW]

Information about the Super Sticker. Corresponds to the JSON property `superStickerMetadata` @return [Google::Apis::YoutubeV3::SuperStickerMetadata]

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]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 4679
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 4684
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)
  @super_sticker_metadata = args[:super_sticker_metadata] if args.key?(:super_sticker_metadata)
  @tier = args[:tier] if args.key?(:tier)
end