Class PricingRequest

java.lang.Object
com.blockchyp.client.dto.PricingRequest
All Implemented Interfaces:
ITimeoutRequest

public class PricingRequest extends Object implements ITimeoutRequest
Models a pricing request.
  • Constructor Details

    • PricingRequest

      public PricingRequest()
  • Method Details

    • setTimeout

      public void setTimeout(int value)
      Sets the request timeout in seconds.
      Parameters:
      value - the request timeout in seconds.
    • getTimeout

      public int getTimeout()
      Gets the request timeout in seconds.
      Specified by:
      getTimeout in interface ITimeoutRequest
      Returns:
      the request timeout in seconds.
    • setTest

      public void setTest(boolean value)
      Sets whether or not to route transaction to the test gateway.
      Parameters:
      value - whether or not to route transaction to the test gateway.
    • isTest

      public boolean isTest()
      Gets whether or not to route transaction to the test gateway.
      Specified by:
      isTest in interface ITimeoutRequest
      Returns:
      whether or not to route transaction to the test gateway.
    • setData

      public void setData(PricingRequestData value)
      Sets the pricing request data.
      Parameters:
      value - the pricing request data.
    • getData

      public PricingRequestData getData()
      Gets the pricing request data.
      Returns:
      the pricing request data.