InvalidResponseException

class InvalidResponseException(val stripeError: StripeError? = null, val requestId: String? = null, val statusCode: Int = 0, message: String? = stripeError?.message, cause: Throwable? = null) : StripeException

A StripeException indicating that invalid parameters were used in a response. E.g when the response contains a null field that shouldn't be null, or contains an unknown Enum value that's not defined in the SDK.

Constructors

Link copied to clipboard
constructor(stripeError: StripeError? = null, requestId: String? = null, statusCode: Int = 0, message: String? = stripeError?.message, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
val requestId: String? = null
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun analyticsValue(): String
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String