Interface PaymentRequestSummary.Builder

  • Method Details

    • paymentRequestId

      PaymentRequestSummary.Builder paymentRequestId(String paymentRequestId)

      The unique identifier of the payment request.

      Parameters:
      paymentRequestId - The unique identifier of the payment request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agreementId

      PaymentRequestSummary.Builder agreementId(String agreementId)

      The unique identifier of the agreement associated with this payment request.

      Parameters:
      agreementId - The unique identifier of the agreement associated with this payment request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the payment request. Possible values include VALIDATING, VALIDATION_FAILED, PENDING_APPROVAL, APPROVED, REJECTED, and CANCELLED.

      Parameters:
      status - The current status of the payment request. Possible values include VALIDATING, VALIDATION_FAILED, PENDING_APPROVAL, APPROVED, REJECTED, and CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the payment request. Possible values include VALIDATING, VALIDATION_FAILED, PENDING_APPROVAL, APPROVED, REJECTED, and CANCELLED.

      Parameters:
      status - The current status of the payment request. Possible values include VALIDATING, VALIDATION_FAILED, PENDING_APPROVAL, APPROVED, REJECTED, and CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The descriptive name of the payment request.

      Parameters:
      name - The descriptive name of the payment request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chargeId

      The unique identifier of the charge created after the payment request is approved. This field is only present for approved payment requests.

      Parameters:
      chargeId - The unique identifier of the charge created after the payment request is approved. This field is only present for approved payment requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chargeAmount

      PaymentRequestSummary.Builder chargeAmount(String chargeAmount)

      The amount charged or to be charged to the buyer.

      Parameters:
      chargeAmount - The amount charged or to be charged to the buyer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

      PaymentRequestSummary.Builder currencyCode(String currencyCode)

      The currency code for the charge amount.

      Parameters:
      currencyCode - The currency code for the charge amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      PaymentRequestSummary.Builder createdAt(Instant createdAt)

      The date and time when the payment request was created, in ISO 8601 format.

      Parameters:
      createdAt - The date and time when the payment request was created, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      PaymentRequestSummary.Builder updatedAt(Instant updatedAt)

      The date and time when the payment request was last updated, in ISO 8601 format.

      Parameters:
      updatedAt - The date and time when the payment request was last updated, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.