PaymentOptions
public struct PaymentOptions
Response for payment options.
-
List of payment methods. If there is no suitable way, the list will be empty.
Declaration
Swift
public let items: [PaymentOption]
-
Creates instance of
PaymentOptions
.Declaration
Swift
public init(items: [PaymentOption])
Parameters
items
List of payment methods. If there is no suitable way, the list will be empty.
Return Value
Instance of
PaymentOptions
. -
API method for
See morePaymentOptions
.Declaration
Swift
public struct Method
-
Creates a new instance by decoding from the given decoder. This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
The decoder to read data from.