Class JpaSavedPaymentMethod
java.lang.Object
com.broadleafcommerce.paymenttransaction.provider.jpa.domain.JpaSavedPaymentMethod
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,com.broadleafcommerce.data.tracking.core.policy.Owned
,com.broadleafcommerce.data.tracking.core.TenantTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking>
,com.broadleafcommerce.data.tracking.core.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking>
,Serializable
@Entity
@TrackableExtension(TENANT)
public class JpaSavedPaymentMethod
extends Object
implements com.broadleafcommerce.data.tracking.core.TenantTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking>, Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.policy.Owned
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
The JPA primary key.getName()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking
getType()
int
The JPA managed version of this payment.int
hashCode()
boolean
void
setAttributes
(Map<String, Object> attributes) void
setBillingAddress
(Address billingAddress) void
setContextId
(String contextId) The JPA primary key.void
setDefaultForOwner
(boolean defaultForOwner) void
setDisplayAttributes
(Map<String, Object> displayAttributes) void
setGatewayReferenceId
(String gatewayReferenceId) void
setGatewayType
(String gatewayType) void
setLastTransactionDateTime
(Instant lastTransactionDateTime) void
setLastTransactionResultCode
(String lastTransactionResultCode) void
void
setNextAction
(SavedPaymentMethodNextAction nextAction) void
setOriginatingPaymentId
(String originatingPaymentId) void
setOwningUserId
(String owningUserId) void
setOwningUserType
(String owningUserType) void
setPaymentMethodProperties
(Map<String, String> paymentMethodProperties) void
void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking tracking) void
void
setVersion
(int version) The JPA managed version of this payment.void
setVisibleToChildren
(String visibleToChildren) org.modelmapper.ModelMapper
toMe()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
Methods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getDisplay, getNotificationStates, getNotificationStates, setNotificationStates
Methods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable
setTracking
-
Constructor Details
-
JpaSavedPaymentMethod
public JpaSavedPaymentMethod()
-
-
Method Details
-
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getOwnerIdentifier
- Specified by:
getOwnerIdentifier
in interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getContextId
The JPA primary key.- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the jpa primary key
-
getName
- See Also:
-
getStatus
- See Also:
-
isDefaultForOwner
public boolean isDefaultForOwner()- See Also:
-
getOriginatingPaymentId
-
getOwningUserType
- See Also:
-
getOwningUserId
- See Also:
-
getType
- See Also:
-
getGatewayType
- See Also:
-
getBillingAddress
- See Also:
-
getPaymentMethodProperties
-
getAttributes
- See Also:
-
getDisplayAttributes
-
getLastTransactionDateTime
-
getLastTransactionResultCode
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the
TenantJpaTracking
information for this - See Also:
-
TenantJpaTracking
-
getVersion
public int getVersion()The JPA managed version of this payment. This should not be modified by application code. See JPA's@Version
. -
getVisibleToChildren
-
getGatewayReferenceId
-
getNextAction
- See Also:
-
setContextId
The JPA primary key.- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Parameters:
_id
- the jpa primary key
-
setName
- See Also:
-
setStatus
- See Also:
-
setDefaultForOwner
public void setDefaultForOwner(boolean defaultForOwner) - See Also:
-
setOriginatingPaymentId
-
setOwningUserType
- See Also:
-
setOwningUserId
- See Also:
-
setType
- See Also:
-
setGatewayType
- See Also:
-
setBillingAddress
- See Also:
-
setPaymentMethodProperties
-
setAttributes
- See Also:
-
setDisplayAttributes
-
setLastTransactionDateTime
-
setLastTransactionResultCode
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking tracking) - Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.TenantJpaTracking>
- Parameters:
tracking
- theTenantJpaTracking
information for this- See Also:
-
TenantJpaTracking
-
setVersion
public void setVersion(int version) The JPA managed version of this payment. This should not be modified by application code. See JPA's@Version
. -
setVisibleToChildren
-
setGatewayReferenceId
-
setNextAction
- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-