CreateInvoiceLink

constructor(title: String, description: String, payload: String, prices: List<LabeledPrice>, maxTipAmount: Int? = null, suggestedTipAmounts: List<Int>? = null, providerData: String? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false)


constructor(title: String, description: String, payload: String, providerToken: String?, currency: Currency, businessConnectionId: BusinessConnectionId? = null, prices: List<LabeledPrice>, subscriptionPeriod: TimeSpan? = null, maxTipAmount: Int? = null, suggestedTipAmounts: List<Int>? = null, providerData: String? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false)

Parameters

providerData
  • JSON-ENCODED FIELD