SavePaymentMethod

public enum SavePaymentMethod : RawRepresentable, Codable, Equatable

Indication of the possibility of saving payment data for repeated payments.

  • Allow to save payment method.

    Declaration

    Swift

    case allowed
  • Cannot save payment method.

    Declaration

    Swift

    case forbidden
  • Unsupported field type.

    Declaration

    Swift

    case unknown(String)

RawRepresentable

Codable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

Equatable

  • Declaration

    Swift

    public static func == (lhs: SavePaymentMethod, rhs: SavePaymentMethod) -> Bool