GetQuotePreviewAmount
public enum GetQuotePreviewAmount : Codable, Sendable
Get quote preview amount model.
-
The amount to be sent, in source currency.
Declaration
Swift
case send(_: Int)
-
The amount to be received by the Beneficiary, in target currency.
Declaration
Swift
case receive(_: Int)
-
Creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
The decoder to read data from.
-
Encodes the instance by encoding to the given decoder.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
The encoder to write data to.