Class LockPaymentRequest
- java.lang.Object
 - 
- com.broadleafcommerce.orderoperation.service.provider.external.domain.payment.LockPaymentRequest
 
 
- 
- All Implemented Interfaces:
 Serializable
public class LockPaymentRequest extends Object implements Serializable
A request DTO used to establish locks on a set of payments.- Author:
 - Chris Kittrell (ckittrell)
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description LockPaymentRequest() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetOwnerId()The id of the entity that owns this payment.StringgetOwnerType()Describes the owner of the payment.List<String>getPaymentIds()The list of ids of the payments to lock.inthashCode()voidsetOwnerId(String ownerId)The id of the entity that owns this payment.voidsetOwnerType(String ownerType)Describes the owner of the payment.voidsetPaymentIds(List<String> paymentIds)The list of ids of the payments to lock.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getOwnerType
public String 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
 
 
- 
getOwnerId
public String 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
public void setOwnerType(String ownerType)
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
 
- 
setOwnerId
public void setOwnerId(String ownerId)
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.
 
- 
canEqual
protected boolean canEqual(Object other)
 
 - 
 
 -