HyperwalletField

public struct HyperwalletField : Codable

Representation of the transfer method configuration field

  • The field data type, or nil if none exists

    Declaration

    Swift

    public let dataType: HyperwalletDataType.RawValue?
  • The list of selection option, or nil if none exists

    Declaration

    Swift

    public let fieldSelectionOptions: [HyperwalletFieldSelectionOption]?
  • Indicate if the field is mandatory, or nil if none exists

    Declaration

    Swift

    public let isRequired: Bool?
  • Indicate if the field is editable, or nil if none exists

    Declaration

    Swift

    public let isEditable: Bool?
  • The field label

    Declaration

    Swift

    public let label: String?
  • The field maximum length, or nil if none exists

    Declaration

    Swift

    public let maxLength: Int?
  • The field minimum length, or nil if none exists

    Declaration

    Swift

    public let minLength: Int?
  • The field name, or nil if none exists

    Declaration

    Swift

    public let name: String?
  • The field placeholder, or nil if none exists

    Declaration

    Swift

    public let placeholder: String?
  • The regular expression to validate the field value, or nil if none exists

    Declaration

    Swift

    public let regularExpression: String?
  • The validation message

    Declaration

    Swift

    public let validationMessage: HyperwalletValidationMessage?
  • The field value

    Declaration

    Swift

    public let value: String?
  • The mask, or nil if none exists

    Declaration

    Swift

    public let mask: HyperwalletMask?
  • Indicate if the field is masked, or nil if none exists

    Declaration

    Swift

    public let fieldValueMasked: Bool?