Class PaymentRequest

java.lang.Object
net.libyaguide.gpay.sdk.model.PaymentRequest

public class PaymentRequest extends Object
Represents a payment request response. Contains details of the created payment request.
  • Constructor Details

    • PaymentRequest

      public PaymentRequest()
  • Method Details

    • getRequesterUsername

      public String getRequesterUsername()
      Gets the username of the requester.
      Returns:
      the username of the requester
    • setRequesterUsername

      public void setRequesterUsername(String requesterUsername)
      Sets the username of the requester.
      Parameters:
      requesterUsername - the username of the requester
    • getRequestId

      public String getRequestId()
      Gets the unique ID for the payment request.
      Returns:
      the unique ID for the payment request
    • setRequestId

      public void setRequestId(String requestId)
      Sets the unique ID for the payment request.
      Parameters:
      requestId - the unique ID for the payment request
    • getRequestTime

      public Date getRequestTime()
      Gets the timestamp of the request.
      Returns:
      the timestamp of the request
    • setRequestTime

      public void setRequestTime(Date requestTime)
      Sets the timestamp of the request.
      Parameters:
      requestTime - the timestamp of the request
    • getAmount

      public BigDecimal getAmount()
      Gets the amount requested.
      Returns:
      the amount requested
    • setAmount

      public void setAmount(BigDecimal amount)
      Sets the amount requested.
      Parameters:
      amount - the amount requested
    • getReferenceNo

      public String getReferenceNo()
      Gets the reference number provided in the request, if any.
      Returns:
      the reference number
    • setReferenceNo

      public void setReferenceNo(String referenceNo)
      Sets the reference number provided in the request, if any.
      Parameters:
      referenceNo - the reference number
    • getResponseTimestamp

      public Date getResponseTimestamp()
      Gets the response timestamp.
      Returns:
      the response timestamp
    • setResponseTimestamp

      public void setResponseTimestamp(Date responseTimestamp)
      Sets the response timestamp.
      Parameters:
      responseTimestamp - the response timestamp