All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.model.SuperChatEventSnippet.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240909-2.0.0
Show newest version






SuperChatEventSnippet (YouTube Data API v3 v3-rev20210410-1.31.0)












com.google.api.services.youtube.model

Class SuperChatEventSnippet

    • Constructor Detail

      • SuperChatEventSnippet

        public SuperChatEventSnippet()
    • Method Detail

      • getAmountMicros

        public BigInteger getAmountMicros()
        The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000.
        Returns:
        value or null for none
      • setAmountMicros

        public SuperChatEventSnippet setAmountMicros(BigInteger amountMicros)
        The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000.
        Parameters:
        amountMicros - amountMicros or null for none
      • getChannelId

        public String getChannelId()
        Channel id where the event occurred.
        Returns:
        value or null for none
      • setChannelId

        public SuperChatEventSnippet setChannelId(String channelId)
        Channel id where the event occurred.
        Parameters:
        channelId - channelId or null for none
      • getCommentText

        public String getCommentText()
        The text contents of the comment left by the user.
        Returns:
        value or null for none
      • setCommentText

        public SuperChatEventSnippet setCommentText(String commentText)
        The text contents of the comment left by the user.
        Parameters:
        commentText - commentText or null for none
      • getCreatedAt

        public DateTime getCreatedAt()
        The date and time when the event occurred.
        Returns:
        value or null for none
      • setCreatedAt

        public SuperChatEventSnippet setCreatedAt(DateTime createdAt)
        The date and time when the event occurred.
        Parameters:
        createdAt - createdAt or null for none
      • getCurrency

        public String getCurrency()
        The currency in which the purchase was made. ISO 4217.
        Returns:
        value or null for none
      • setCurrency

        public SuperChatEventSnippet setCurrency(String currency)
        The currency in which the purchase was made. ISO 4217.
        Parameters:
        currency - currency or null for none
      • getDisplayString

        public String getDisplayString()
        A rendered string that displays the purchase amount and currency (e.g., "$1.00"). The string is rendered for the given language.
        Returns:
        value or null for none
      • setDisplayString

        public SuperChatEventSnippet setDisplayString(String displayString)
        A rendered string that displays the purchase amount and currency (e.g., "$1.00"). The string is rendered for the given language.
        Parameters:
        displayString - displayString or null for none
      • getIsSuperStickerEvent

        public Boolean getIsSuperStickerEvent()
        True if this event is a Super Sticker event.
        Returns:
        value or null for none
      • setIsSuperStickerEvent

        public SuperChatEventSnippet setIsSuperStickerEvent(Boolean isSuperStickerEvent)
        True if this event is a Super Sticker event.
        Parameters:
        isSuperStickerEvent - isSuperStickerEvent or null for none
      • getMessageType

        public Long getMessageType()
        The tier for the paid message, which is based on the amount of money spent to purchase the message.
        Returns:
        value or null for none
      • setMessageType

        public SuperChatEventSnippet setMessageType(Long messageType)
        The tier for the paid message, which is based on the amount of money spent to purchase the message.
        Parameters:
        messageType - messageType or null for none
      • getSuperStickerMetadata

        public SuperStickerMetadata getSuperStickerMetadata()
        If this event is a Super Sticker event, this field will contain metadata about the Super Sticker.
        Returns:
        value or null for none
      • setSuperStickerMetadata

        public SuperChatEventSnippet setSuperStickerMetadata(SuperStickerMetadata superStickerMetadata)
        If this event is a Super Sticker event, this field will contain metadata about the Super Sticker.
        Parameters:
        superStickerMetadata - superStickerMetadata or null for none
      • getSupporterDetails

        public ChannelProfileDetails getSupporterDetails()
        Details about the supporter.
        Returns:
        value or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy