FundingSourceState

public enum FundingSourceState : Encodable, Decodable, Hashable

State type associated with FundingSource.

  • active: funding source is active.
  • inactive: funding source is inactive.
  • unknown: type could not be discerned - associated value is unknown and suggests that the SDK version is out of sync with the service.

Lifecycle

  • Backwards compatibility guard for catching new enum values added by the service - check you have the latest version of the SDK

    Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws