P2PRequestAsPayeeResponse
public struct P2PRequestAsPayeeResponse : Decodable, Identifiable, Equatable
Response model for fetching a P2P request as a payee (requesting money).
-
The ID of the P2P request.
Declaration
Swift
public let id: String
-
The amount of the payment.
Declaration
Swift
public let amount: PaymentAmount
-
The message associated with the payment request.
Declaration
Swift
public let message: String
-
The payment means ID of the payee.
Declaration
Swift
public let payeePaymentMeansId: String
-
The proxy hash of the payer.
Declaration
Swift
public let payerProxyHash: String
-
The status of the P2P request.
Declaration
Swift
public let status: Status
-
The creation date of the P2P request.
Declaration
Swift
public let created: Date
-
The embedded data associated with the P2P request.
Declaration
Swift
public let embedded: Embedded
-
The status of the P2P request.
See moreDeclaration
Swift
public struct Status : Decodable, Equatable
-
The embedded data associated with the P2P request.
See moreDeclaration
Swift
public struct Embedded : Decodable, Equatable
-
Initializes a P2PRequestAsPayeeResponse instance with the provided values.
Declaration
Swift
public init( id: String, amount: PaymentAmount, message: String, payeePaymentMeansId: String, payerProxyHash: String, status: Status, created: Date, embedded: Embedded )
Parameters
id
The ID of the P2P request.
amount
The amount of the payment.
message
The message associated with the payment request.
payeePaymentMeansId
The payment means ID of the payee.
payerProxyHash
The proxy hash of the payer.
status
The status of the P2P request.
created
The creation date of the P2P request.
embedded
The embedded data associated with the P2P request.