Class BaseTransactionRequest

java.lang.Object
pro.mypvit.requests.AbstractRequest
pro.mypvit.requests.BaseTransactionRequest
Direct Known Subclasses:
TransactionLinkRequest, TransactionRestRequest

public class BaseTransactionRequest extends AbstractRequest
Base class for transaction requests in the MyPVit SDK. This class provides common fields for all transaction requests, such as agent information, amount, and product details.

It is designed to be extended by specific classes for different types of transactions.

Annotations Used:
  • Data : Automatically generates getters, setters, and other utility methods.
  • SuperBuilder : Enables builder pattern usage with inheritance.
  • NoArgsConstructor : Creates a no-arguments constructor.
  • AllArgsConstructor : Creates a constructor with all arguments.
  • EqualsAndHashCode : Generates equals() and hashCode() methods with inheritance support.
  • Constructor Details

    • BaseTransactionRequest

      public BaseTransactionRequest()
      Default constructor