UserPartner

@Serializable
@SerialName(value = "user")
data class UserPartner(val user: User, val affiliate: AffiliateInfo? = null, val invoicePayload: String? = null, val paidMedia: List<PaidMedia>? = null, val paidMediaPayload: String? = null, val subscriptionPeriod: Duration? = null, val gift: String? = null) : TransactionPartner

Constructors

Link copied to clipboard
constructor(user: User, affiliate: AffiliateInfo? = null, invoicePayload: String? = null, paidMedia: List<PaidMedia>? = null, paidMediaPayload: String? = null, subscriptionPeriod: Duration? = null, gift: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val gift: String? = null
Link copied to clipboard
val invoicePayload: String? = null
Link copied to clipboard
val paidMedia: List<PaidMedia>? = null
Link copied to clipboard
Link copied to clipboard
@Serializable(with = DurationSerializer::class)
val subscriptionPeriod: Duration? = null
Link copied to clipboard
Link copied to clipboard
val user: User