Class: Google::Apis::YoutubeV3::LiveChatSuperStickerDetails
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::LiveChatSuperStickerDetails
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #amount_display_string  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A rendered string that displays the fund amount and currency to the user.
 - 
  
    
      #amount_micros  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
 - 
  
    
      #currency  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The currency in which the purchase was made.
 - 
  
    
      #super_sticker_metadata  ⇒ Google::Apis::YoutubeV3::SuperStickerMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Information about the Super Sticker.
 - 
  
    
      #tier  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The tier in which the amount belongs.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LiveChatSuperStickerDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LiveChatSuperStickerDetails.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ LiveChatSuperStickerDetails
Returns a new instance of LiveChatSuperStickerDetails.
      4996 4997 4998  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4996 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#amount_display_string ⇒ String
A rendered string that displays the fund amount and currency to the user.
Corresponds to the JSON property amountDisplayString
      4973 4974 4975  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4973 def amount_display_string @amount_display_string end  | 
  
#amount_micros ⇒ Fixnum
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
Corresponds to the JSON property amountMicros
      4978 4979 4980  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4978 def amount_micros @amount_micros end  | 
  
#currency ⇒ String
The currency in which the purchase was made.
Corresponds to the JSON property currency
      4983 4984 4985  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4983 def currency @currency end  | 
  
#super_sticker_metadata ⇒ Google::Apis::YoutubeV3::SuperStickerMetadata
Information about the Super Sticker.
Corresponds to the JSON property superStickerMetadata
      4988 4989 4990  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4988 def @super_sticker_metadata end  | 
  
#tier ⇒ Fixnum
The tier in which the amount belongs. Lower amounts belong to lower tiers. The
lowest tier is 1.
Corresponds to the JSON property tier
      4994 4995 4996  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4994 def tier @tier end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5001 5002 5003 5004 5005 5006 5007  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 5001 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  |