Response

public enum Response : APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible

Undocumented

  • Error objects provide additional information about problems encountered while performing an operation. Errors also contain codes besides title and message which can be used for checks even if the detailed messages might change. * code 1000: generic error * code 1001: payment processing temporarily unavailable * code 1002: requested amount exceeds the authorized amount of the provided token * code 1003: implicit payment methods cannot be modified * code 1004: payment method rejected by provider

    See more

    Declaration

    Swift

    public class Status400 : APIModel
  • Error objects provide additional information about problems encountered while performing an operation. Errors also contain codes besides title and message which can be used for checks even if the detailed messages might change. * code 1000: generic error * code 1001: payment processing temporarily unavailable * code 1002: requested amount exceeds the authorized amount of the provided token * code 1003: implicit payment methods cannot be modified * code 1004: payment method rejected by provider

    See more

    Declaration

    Swift

    public class Status401 : APIModel
  • Error objects provide additional information about problems encountered while performing an operation. Errors also contain codes besides title and message which can be used for checks even if the detailed messages might change. * code 1000: generic error * code 1001: payment processing temporarily unavailable * code 1002: requested amount exceeds the authorized amount of the provided token * code 1003: implicit payment methods cannot be modified * code 1004: payment method rejected by provider

    See more

    Declaration

    Swift

    public class Status406 : APIModel
  • Error objects provide additional information about problems encountered while performing an operation. Errors also contain codes besides title and message which can be used for checks even if the detailed messages might change. * code 1000: generic error * code 1001: payment processing temporarily unavailable * code 1002: requested amount exceeds the authorized amount of the provided token * code 1003: implicit payment methods cannot be modified * code 1004: payment method rejected by provider

    See more

    Declaration

    Swift

    public class Status415 : APIModel
  • Error objects provide additional information about problems encountered while performing an operation. Errors also contain codes besides title and message which can be used for checks even if the detailed messages might change. * code 1000: generic error * code 1001: payment processing temporarily unavailable * code 1002: requested amount exceeds the authorized amount of the provided token * code 1003: implicit payment methods cannot be modified * code 1004: payment method rejected by provider

    See more

    Declaration

    Swift

    public class Status500 : APIModel
  • Undocumented

    Declaration

    Swift

    public typealias SuccessType = Void
  • Notification was successfully delivered.

    Declaration

    Swift

    case status201
  • Bad request

    Declaration

    Swift

    case status400(Status400)
  • OAuth token missing or invalid

    Declaration

    Swift

    case status401(Status401)
  • The specified accept header is invalid

    Declaration

    Swift

    case status406(Status406)
  • The specified content type header is invalid

    Declaration

    Swift

    case status415(Status415)
  • Internal server error

    Declaration

    Swift

    case status500(Status500)
  • Error occurred while communicating with PACE services

    Declaration

    Swift

    case status502(PCFuelingErrors)
  • Undocumented

    Declaration

    Swift

    public var success: Void? { get }
  • Undocumented

    Declaration

    Swift

    public var response: Any { get }
  • Undocumented

    Declaration

    Swift

    public var statusCode: Int { get }
  • Undocumented

    Declaration

    Swift

    public var successful: Bool { get }
  • Undocumented

    Declaration

    Swift

    public init(statusCode: Int, data: Data, decoder: ResponseDecoder) throws
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public var debugDescription: String { get }