P2PRequestAsPayerResponse
public struct P2PRequestAsPayerResponse : Decodable, Identifiable, Equatable
Response model for fetching a P2P request as a payer (requested money).
-
The unique identifier of the P2P request.
Declaration
Swift
public let id: String
-
The amount of the P2P request.
Declaration
Swift
public let amount: PaymentAmount
-
The message associated with the P2P request.
Declaration
Swift
public let message: String
-
The status of the P2P request.
Declaration
Swift
public let status: Status
-
The creation timestamp 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
P2PRequestAsPayerResponse
instance with the provided values.Declaration
Swift
public init( id: String, amount: PaymentAmount, message: String, status: Status, created: Date, embedded: Embedded )
Parameters
id
The unique identifier of the P2P request.
amount
The amount of the P2P request.
message
The message associated with the P2P request.
status
The status of the P2P request.
created
The creation timestamp of the P2P request.
embedded
The embedded data associated with the P2P request.