Class SensitivePaymentMethodData

java.lang.Object
com.broadleafcommerce.cartoperation.domain.checkout.SensitivePaymentMethodData

public class SensitivePaymentMethodData extends Object
The payment method data that is used to execute the payment transactions. Assuming PaymentTransactionServices is being used, and you do not wish to persist this data in a Payment object.
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • SensitivePaymentMethodData

      public SensitivePaymentMethodData()
  • Method Details

    • getPaymentId

      public String getPaymentId()
      The payment ID.
    • getSecurityCode

      @Nullable public String getSecurityCode()
      The security code for the payment. This value can be used in payment activities to pass secure code information to payment gateways.
    • getPaymentMethodProperties

      public Map<String,Object> getPaymentMethodProperties()
      Additional data is needed to execute payment transactions, esp. properties that should not be persisted to the Payment#paymentMethodProperties in PaymentTransactionServices.
    • setPaymentId

      public void setPaymentId(String paymentId)
      The payment ID.
    • setSecurityCode

      public void setSecurityCode(@Nullable String securityCode)
      The security code for the payment. This value can be used in payment activities to pass secure code information to payment gateways.
    • setPaymentMethodProperties

      public void setPaymentMethodProperties(Map<String,Object> paymentMethodProperties)
      Additional data is needed to execute payment transactions, esp. properties that should not be persisted to the Payment#paymentMethodProperties in PaymentTransactionServices.
    • toString

      public String toString()
      Overrides:
      toString in class Object