Class ForwardRequest.ForwardRequestBuilder

  • Enclosing class:
    ForwardRequest

    public static class ForwardRequest.ForwardRequestBuilder
    extends java.lang.Object
    • Method Detail

      • source

        public ForwardRequest.ForwardRequestBuilder source​(AbstractSource source)
        The payment source to enrich the forward request with. You can provide placeholder values in destination_request.body. The request will be enriched with the respective payment credentials from the token or payment instrument you specified. For example, {{card_number}} (Required)
        Returns:
        this.
      • reference

        public ForwardRequest.ForwardRequestBuilder reference​(java.lang.String reference)
        Unique reference for the forward request. (Optional, max 80 characters)
        Returns:
        this.
      • processingChannelId

        public ForwardRequest.ForwardRequestBuilder processingChannelId​(java.lang.String processingChannelId)
        The processing channel ID to associate the billing for the forward request with (Optional, pattern ^(pc)_(\w{26})$)
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object