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) throwsParameters
decoderThe decoder to read data from.
-
Encodes the instance by encoding to the given decoder.
Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
View on GitHub