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
datePoint in time (Unix timestamp) when the payment was made
paymentsProviderUserIdUser identifier of the payment provider bot
invoiceContains information about the invoice
orderInfoContains order information; may be null
shippingOptionChosen shipping option; may be null
credentialsTitleTitle of the saved credentials
View on GitHub
Install in Dash
PaymentReceipt Structure Reference