HyperwalletTransferMethod

@objcMembers
public class HyperwalletTransferMethod : NSObject, Codable

Representation of the transfer method (bank account, bank card, PayPal account, prepaid card, paper check).

  • Representation of the transfer method’s field type

    See more

    Declaration

    Swift

    public enum TransferMethodField : String
  • Representation of the transfer method’s type

    See more

    Declaration

    Swift

    public enum TransferMethodType : String
  • Creates a new instance of the HyperwalletTransferMethod

    Declaration

    Swift

    override public init()
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Gets the field value

    Declaration

    Swift

    public func getField(_ fieldName: String) -> String?

    Parameters

    fieldName

    The TransferMethodField type raw value

    Return Value

    Returns the field value, or nil if none exists.

  • Sets the field value based on the key

    Declaration

    Swift

    public func setField(key: TransferMethodField.RawValue, value: String)

    Parameters

    key

    The TransferMethodField.RawValue value

    value

    The value

  • The transfer method’s created time

    Declaration

    Swift

    public var createdOn: String? { get }
  • The transfer method holder’s profile type, e.g. INDIVIDUAL or BUSINESS.

    Declaration

    Swift

    public var profileType: String? { get }
  • The transfer method’s status

    Declaration

    Swift

    public var status: String? { get }
  • The transfer method’s token

    Declaration

    Swift

    public var token: String? { get }
  • The transfer method’s country

    Declaration

    Swift

    public var transferMethodCountry: String? { get }
  • The transfer method’s currency

    Declaration

    Swift

    public var transferMethodCurrency: String? { get }
  • The transfer method’s type

    Declaration

    Swift

    public var type: String? { get }