PaymentReceipt
public struct PaymentReceipt : Codable, Equatable, FunctionResult
Contains information about a successful payment
-
Point in time (Unix timestamp) when the payment was made
Declaration
Swift
public let date: Int32
-
User identifier of the payment provider bot
Declaration
Swift
public let paymentsProviderUserId: Int32
-
Contains information about the invoice
Declaration
Swift
public let invoice: Invoice
-
Contains order information; may be null
Declaration
Swift
public let orderInfo: OrderInfo?
-
Chosen shipping option; may be null
Declaration
Swift
public let shippingOption: ShippingOption?
-
Title of the saved credentials
Declaration
Swift
public let credentialsTitle: String
-
Contains information about a successful payment
Declaration
Swift
public init(date: Int32, paymentsProviderUserId: Int32, invoice: Invoice, orderInfo: OrderInfo?, shippingOption: ShippingOption?, credentialsTitle: String)
Parameters
date
Point in time (Unix timestamp) when the payment was made
paymentsProviderUserId
User identifier of the payment provider bot
invoice
Contains information about the invoice
orderInfo
Contains order information; may be null
shippingOption
Chosen shipping option; may be null
credentialsTitle
Title of the saved credentials