Class TransactionSummaryRequest
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.domain.TransactionSummaryRequest
- All Implemented Interfaces:
Serializable
The request DTO containing the information to fetch a
TransactionSummary- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAdditional attributes that can be declared for this request.The id of the entity that owns this payment.Describes the owner of the payment.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Additional attributes that can be declared for this request.voidsetOwnerId(String ownerId) The id of the entity that owns this payment.voidsetOwnerType(String ownerType) Describes the owner of the payment.booleanWhether to include failed transactions.shouldIncludeFailedTransactions(boolean shouldIncludeFailedTransactions) Whether to include failed transactions.booleanWhether to include transactions that were automatically reversed or automatically reversed another transaction.shouldIncludeReversedOrReversalTransactions(boolean shouldIncludeReversedOrReversalTransactions) Whether to include transactions that were automatically reversed or automatically reversed another transaction.toString()
-
Constructor Details
-
TransactionSummaryRequest
public TransactionSummaryRequest()
-
-
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
-
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.
-
shouldIncludeFailedTransactions
public boolean shouldIncludeFailedTransactions()Whether to include failed transactions.- Returns:
- Whether to include failed transactions.
-
shouldIncludeReversedOrReversalTransactions
public boolean shouldIncludeReversedOrReversalTransactions()Whether to include transactions that were automatically reversed or automatically reversed another transaction.- Returns:
- Whether to include transactions that were automatically reversed or automatically reversed another transaction.
-
getAdditionalAttributes
Additional attributes that can be declared for this request. -
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
-
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.
-
shouldIncludeFailedTransactions
public TransactionSummaryRequest shouldIncludeFailedTransactions(boolean shouldIncludeFailedTransactions) Whether to include failed transactions.- Parameters:
shouldIncludeFailedTransactions- Whether to include failed transactions.- Returns:
this.
-
shouldIncludeReversedOrReversalTransactions
public TransactionSummaryRequest shouldIncludeReversedOrReversalTransactions(boolean shouldIncludeReversedOrReversalTransactions) Whether to include transactions that were automatically reversed or automatically reversed another transaction.- Parameters:
shouldIncludeReversedOrReversalTransactions- Whether to include transactions that were automatically reversed or automatically reversed another transaction.- Returns:
this.
-
setAdditionalAttributes
Additional attributes that can be declared for this request. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-