Status200

public class Status200 : APIModel

This request will return a list of supported payment methods for the current user that they can, in theory, use. That is, ones that are valid and can immediately be used.

This is as opposed to the regular /payment-methods, which does not categorize payment methods as valid for use.

You should trigger this when the user is approaching on a gas station with fueling support to get a list of available payment methods.

If the list is empty, you can ask the user to add a payment method to use PACE fueling.

  • Undocumented

    Declaration

    Swift

    public var data: PCPayPaymentMethods?
  • Undocumented

    Declaration

    Swift

    public init(data: PCPayPaymentMethods? = nil)
  • Declaration

    Swift

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

    Swift

    public func encode(to encoder: Encoder) throws
  • Undocumented

    Declaration

    Swift

    public func isEqual(to object: Any?) -> Bool
  • Declaration

    Swift

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