User

data class User(val user: PreviewUser, val affiliate: AffiliateInfo? = null, val invoicePayload: InvoicePayload? = null, val subscriptionPeriod: TimeSpan? = null, val paidMedia: List<PaidMedia>? = null, val paidMediaPayload: PaidMediaPayload? = null, val gift: Gift? = null) : TransactionPartner, SubscriptionPeriodInfo

Constructors

Link copied to clipboard
constructor(user: PreviewUser, affiliate: AffiliateInfo? = null, invoicePayload: InvoicePayload? = null, subscriptionPeriod: TimeSpan? = null, paidMedia: List<PaidMedia>? = null, paidMediaPayload: PaidMediaPayload? = null, gift: Gift? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "affiliate")
val affiliate: AffiliateInfo? = null
Link copied to clipboard
@SerialName(value = "gift")
val gift: Gift? = null
Link copied to clipboard
@SerialName(value = "invoice_payload")
val invoicePayload: InvoicePayload? = null
Link copied to clipboard
@SerialName(value = "paid_media")
val paidMedia: List<PaidMedia>? = null
Link copied to clipboard
@SerialName(value = "paid_media_payload")
val paidMediaPayload: PaidMediaPayload? = null
Link copied to clipboard
@SerialName(value = "subscription_period")
open override val subscriptionPeriod: TimeSpan? = null
Link copied to clipboard
@EncodeDefault
open override val type: String
Link copied to clipboard
@SerialName(value = "user")
val user: PreviewUser