Class LockPaymentRequest
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.domain.payment.LockPaymentRequest
- All Implemented Interfaces:
Serializable
A request DTO used to establish locks on a set of payments.
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The id of the entity that owns this payment.Describes the owner of the payment.int
hashCode()
void
setOwnerId
(String ownerId) The id of the entity that owns this payment.void
setOwnerType
(String ownerType) Describes the owner of the payment.toString()
-
Constructor Details
-
LockPaymentRequest
public LockPaymentRequest()
-
-
Method Details
-
getOwnerType
Describes the owner of the payment. For example, the payment could have originated with a cart or a subscription, therefore this value might be CART or SUBSCRIPTION.- Returns:
- The type describing the owner of the payment
- See Also:
-
getOwnerId
The id of the entity that owns this payment. For example, this may be a cart id, or a subscription billing cycle id.- Returns:
- The id of the entity that owns this payment.
-
setOwnerType
Describes the owner of the payment. For example, the payment could have originated with a cart or a subscription, therefore this value might be CART or SUBSCRIPTION.- Parameters:
ownerType
- The type describing the owner of the payment- See Also:
-
setOwnerId
The id of the entity that owns this payment. For example, this may be a cart id, or a subscription billing cycle id.- Parameters:
ownerId
- The id of the entity that owns this payment.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-