AffiliateProgram

data class AffiliateProgram(val sponsorUser: PreviewBot?, val commissionPerMille: Int) : TransactionPartner

Represents TransactionPartnerAffiliateProgram

Constructors

Link copied to clipboard
constructor(sponsorUser: PreviewBot?, commissionPerMille: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "commission_per_mille")
val commissionPerMille: Int
Link copied to clipboard
@SerialName(value = "sponsor_user")
val sponsorUser: PreviewBot?
Link copied to clipboard
@EncodeDefault
open override val type: String