Interface MppPaymentOutput.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MppPaymentOutput.Builder,MppPaymentOutput>, SdkBuilder<MppPaymentOutput.Builder,MppPaymentOutput>, SdkPojo
Enclosing class:
MppPaymentOutput

@Mutable @NotThreadSafe public static interface MppPaymentOutput.Builder extends SdkPojo, CopyableBuilder<MppPaymentOutput.Builder,MppPaymentOutput>
  • Method Details

    • version

      MppPaymentOutput.Builder version(String version)

      The MPP protocol version, for example "1" or "2".

      Parameters:
      version - The MPP protocol version, for example "1" or "2".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selectedPaymentId

      MppPaymentOutput.Builder selectedPaymentId(String selectedPaymentId)

      The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.

      Parameters:
      selectedPaymentId - The id of the challenge that was paid, echoed from the input challenge so you can correlate the result without decoding the credential.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentCredential

      MppPaymentOutput.Builder paymentCredential(String paymentCredential)

      Ready-to-send value for the Authorization header, in the form "Payment <base64url-token>". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.

      Parameters:
      paymentCredential - Ready-to-send value for the Authorization header, in the form "Payment <base64url-token>". Attach this header and retry the original request. To inspect the full credential, base64url-decode the token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.