Interface AuthorizePaymentIntentResponse.Builder

  • Method Details

    • paymentIntent

      The updated payment intent (status AUTHORIZED for FUTURE, CAPTURED for INSTANT). For INSTANT, if the provider accepted the capture but has not settled it (capture status CAPTURE_PENDING), the intent stays INITIATED; call AuthorizePaymentIntent again to refresh it. Its partnerAuthorizationReference carries the provider authorization reference.

      Parameters:
      paymentIntent - The updated payment intent (status AUTHORIZED for FUTURE, CAPTURED for INSTANT). For INSTANT, if the provider accepted the capture but has not settled it (capture status CAPTURE_PENDING), the intent stays INITIATED; call AuthorizePaymentIntent again to refresh it. Its partnerAuthorizationReference carries the provider authorization reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentIntent

      The updated payment intent (status AUTHORIZED for FUTURE, CAPTURED for INSTANT). For INSTANT, if the provider accepted the capture but has not settled it (capture status CAPTURE_PENDING), the intent stays INITIATED; call AuthorizePaymentIntent again to refresh it. Its partnerAuthorizationReference carries the provider authorization reference.

      This is a convenience method that creates an instance of the PaymentIntent.Builder avoiding the need to create one manually via PaymentIntent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to paymentIntent(PaymentIntent).

      Parameters:
      paymentIntent - a consumer that will call methods on PaymentIntent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • capture

      The capture created when captureStrategy=INSTANT (funds captured at authorization).

      Parameters:
      capture - The capture created when captureStrategy=INSTANT (funds captured at authorization).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capture

      The capture created when captureStrategy=INSTANT (funds captured at authorization).

      This is a convenience method that creates an instance of the Capture.Builder avoiding the need to create one manually via Capture.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to capture(Capture).

      Parameters:
      capture - a consumer that will call methods on Capture.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: