Payment
public struct Payment
extension Payment: Decodable
Struct for payment response
-
An initializer for a
PaymentstructureDeclaration
Swift
public init(paidAt: String, recipient: String, iban: String, bic: String? = nil, amount: String, purpose: String, links: PaymentLinks? = nil)Parameters
paidAtISO 8601 date string defining point in time when the payment request was resolved.
recipientthe recipient of the payment.
ibanthe iban (international bank account number) of the payment recipient.
bicthe bic (bank identifier code) for the payment.
purposethe purpose of the payment, e.g. the invoice or customer identifier.
linksobject with links to other resources e.g. document and paymentRequest.
-
Undocumented
Declaration
Swift
public var paidAt: String -
Undocumented
Declaration
Swift
public var recipient: String -
Undocumented
Declaration
Swift
public var iban: String -
Undocumented
Declaration
Swift
public var bic: String? -
Undocumented
Declaration
Swift
public var amount: String -
Undocumented
Declaration
Swift
public var purpose: String
-
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Payment Structure Reference