Class StoreCreditPaymentRequest

java.lang.Object
com.broadleafcommerce.payment.service.gateway.StoreCreditPaymentRequest
All Implemented Interfaces:
Serializable

public class StoreCreditPaymentRequest extends Object implements Serializable
PaymentRequest wrapper class that helps communication between StoreCreditTransactionService and StoreCreditExternalCallService.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • StoreCreditPaymentRequest

      public StoreCreditPaymentRequest()
  • Method Details

    • getTransactionType

      public com.broadleafcommerce.paymentgateway.domain.enums.TransactionType getTransactionType()
      The transaction type with possible values in AUTHORIZE_AND_CAPTURE and REFUND.
    • getPaymentRequest

      public com.broadleafcommerce.paymentgateway.domain.PaymentRequest getPaymentRequest()
    • setTransactionType

      public void setTransactionType(com.broadleafcommerce.paymentgateway.domain.enums.TransactionType transactionType)
      The transaction type with possible values in AUTHORIZE_AND_CAPTURE and REFUND.
    • setPaymentRequest

      public void setPaymentRequest(com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object