SCPProcessRefundError


@interface SCPProcessRefundError : NSError

An error from -[SCPTerminal processRefund:completion:].

  • If processRefund failed after the refund was created, this property contains the failing refund.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) SCPRefund *refund;
  • If processRefund failed because the underlying network request errored, this property contains additional details about the error.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSError *requestError;
  • If processRefund failed because the payment method was declined, this property contains the decline code.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *failureReason;
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    + (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    + (nonnull instancetype)new;