UpdateInvestmentGoal

public struct UpdateInvestmentGoal
extension UpdateInvestmentGoal: Encodable

A user’s investment goal.

Note

This is basically the same as a normal InvestmentGoal, but it only contains the properties that can be updated through the SDK.
  • Investment goal amount

    Declaration

    Swift

    public let money: Money?
  • Does goal is active

    Declaration

    Swift

    public let isActive: Bool
  • Declaration

    Swift

    public init(
        money: Money?,
        isActive: Bool)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws