Class ReferencedWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.ReferencedWrapper
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>, org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class ReferencedWrapper extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>

This is a JAXB wrapper around Referenced. This wrapper can either be an instance of: CreditCardPayment BankAccountPayment GiftCardPayment EmptyReferenced

User: Elbert Bautista Date: 4/26/12

See Also:
  • Field Details

    • id

      protected Long id
    • referenceNumber

      protected String referenceNumber
    • type

      protected String type
    • pan

      protected String pan
    • cvvCode

      protected String cvvCode
    • expirationMonth

      protected Integer expirationMonth
    • expirationYear

      protected Integer expirationYear
    • accountNumber

      protected String accountNumber
    • routingNumber

      protected String routingNumber
    • pin

      protected String pin
  • Constructor Details

    • ReferencedWrapper

      public ReferencedWrapper()
  • Method Details

    • wrapDetails

      public void wrapDetails(org.broadleafcommerce.core.payment.domain.secure.Referenced model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>
    • unwrap

      public org.broadleafcommerce.core.payment.domain.secure.Referenced unwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
      Specified by:
      unwrap in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>
    • wrapSummary

      public void wrapSummary(org.broadleafcommerce.core.payment.domain.secure.Referenced model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>
    • getId

      public Long getId()
      Returns:
      the id
    • setId

      public void setId(Long id)
      Parameters:
      id - the id to set
    • getReferenceNumber

      public String getReferenceNumber()
      Returns:
      the referenceNumber
    • setReferenceNumber

      public void setReferenceNumber(String referenceNumber)
      Parameters:
      referenceNumber - the referenceNumber to set
    • getType

      public String getType()
      Returns:
      the type
    • setType

      public void setType(String type)
      Parameters:
      type - the type to set
    • getPan

      public String getPan()
      Returns:
      the pan
    • setPan

      public void setPan(String pan)
      Parameters:
      pan - the pan to set
    • getCvvCode

      public String getCvvCode()
      Returns:
      the cvvCode
    • setCvvCode

      public void setCvvCode(String cvvCode)
      Parameters:
      cvvCode - the cvvCode to set
    • getExpirationMonth

      public Integer getExpirationMonth()
      Returns:
      the expirationMonth
    • setExpirationMonth

      public void setExpirationMonth(Integer expirationMonth)
      Parameters:
      expirationMonth - the expirationMonth to set
    • getExpirationYear

      public Integer getExpirationYear()
      Returns:
      the expirationYear
    • setExpirationYear

      public void setExpirationYear(Integer expirationYear)
      Parameters:
      expirationYear - the expirationYear to set
    • getAccountNumber

      public String getAccountNumber()
      Returns:
      the accountNumber
    • setAccountNumber

      public void setAccountNumber(String accountNumber)
      Parameters:
      accountNumber - the accountNumber to set
    • getRoutingNumber

      public String getRoutingNumber()
      Returns:
      the routingNumber
    • setRoutingNumber

      public void setRoutingNumber(String routingNumber)
      Parameters:
      routingNumber - the routingNumber to set
    • getPin

      public String getPin()
      Returns:
      the pin
    • setPin

      public void setPin(String pin)
      Parameters:
      pin - the pin to set