Class SavedPaymentMethodTransactionExecutionRequest
java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.domain.SavedPaymentMethodTransactionExecutionRequest
- All Implemented Interfaces:
Serializable
The request payload used to execute a transaction against a
Payment.- Since:
- PaymentTransactionServices 2.1.0, Release Train 2.3.0
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountjavax.money.CurrencyUnitjavax.money.MonetaryAmountjavax.money.MonetaryAmountjavax.money.MonetaryAmountMap to capture any additional information about the paymentThe id of the entity that owns this payment.Describes the owning entity of the payment.The id of the user that owns this payment.Describes the owning user of the payment.Deprecated.javax.money.MonetaryAmountjavax.money.MonetaryAmountjavax.money.MonetaryAmountinthashCode()booleanbooleanvoidsetAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal) voidsetAllowAutomaticReversal(boolean allowAutomaticReversal) voidsetFeesTotal(javax.money.MonetaryAmount feesTotal) voidsetFulfillmentTotal(javax.money.MonetaryAmount fulfillmentTotal) voidsetIncludedTaxTotal(javax.money.MonetaryAmount includedTaxTotal) voidsetLineItems(List<TransactionLineItem> lineItems) voidsetParentSourceEntityId(String parentSourceEntityId) voidsetParentSourceEntityType(String parentSourceEntityType) voidsetParentTransactionId(String parentTransactionId) voidsetPaymentAttributes(Map<String, String> paymentAttributes) Map to capture any additional information about the paymentvoidsetPaymentId(String paymentId) voidsetPaymentMethodProperties(Map<String, Object> paymentMethodProperties) voidsetPaymentOwningEntityId(String paymentOwningEntityId) The id of the entity that owns this payment.voidsetPaymentOwningEntityType(String paymentOwningEntityType) Describes the owning entity of the payment.voidsetPaymentOwningUserId(String paymentOwningUserId) The id of the user that owns this payment.voidsetPaymentOwningUserType(String paymentOwningUserType) Describes the owning user of the payment.voidsetRequestId(String requestId) voidsetSecurityCode(String securityCode) voidvoidsetSourceEntityId(String sourceEntityId) Deprecated.voidsetSourceEntityIds(List<String> sourceEntityIds) voidsetSourceEntityType(String sourceEntityType) voidsetSubtotal(javax.money.MonetaryAmount subtotal) voidsetTaxTotal(javax.money.MonetaryAmount taxTotal) voidsetTransactionAmount(javax.money.MonetaryAmount transactionAmount) voidsetTransactionExecutionRequest(TransactionExecutionRequest transactionExecutionRequest) voidsetTransactionManagementState(String transactionManagementState) voidsetTransactionType(String transactionType) toString()
-
Constructor Details
-
SavedPaymentMethodTransactionExecutionRequest
public SavedPaymentMethodTransactionExecutionRequest()
-
-
Method Details
-
getTransactionExecutionRequest
-
getPaymentOwningEntityType
Describes the owning entity 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 owning entity of the payment
-
getPaymentOwningEntityId
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.
-
getPaymentOwningUserType
Describes the owning user of the payment.- Returns:
- The type describing the owning user of the payment
-
getPaymentOwningUserId
The id of the user that owns this payment.- Returns:
- The id of the user that owns this payment.
-
getPaymentAttributes
Map to capture any additional information about the payment- Returns:
- Map to capture any additional information about the payment
-
setTransactionExecutionRequest
-
setPaymentOwningEntityType
Describes the owning entity 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 owning entity of the payment
-
setPaymentOwningEntityId
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.
-
setPaymentOwningUserType
Describes the owning user of the payment.- Parameters:
ownerType- The type describing the owning user of the payment
-
setPaymentOwningUserId
The id of the user that owns this payment.- Parameters:
ownerId- The id of the user that owns this payment.
-
setPaymentAttributes
Map to capture any additional information about the payment- Parameters:
paymentAttributes- Map to capture any additional information about the payment
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getCurrency
public javax.money.CurrencyUnit getCurrency() -
hasParentSourceEntityTypeAndId
public boolean hasParentSourceEntityTypeAndId() -
getIncludedTaxTotal
public javax.money.MonetaryAmount getIncludedTaxTotal() -
getSourceEntityId
Deprecated. -
setSourceEntityId
Deprecated. -
getPaymentId
-
getSource
-
getParentTransactionId
-
getParentSourceEntityType
-
getParentSourceEntityId
-
getSourceEntityType
-
getSourceEntityIds
-
getTransactionType
-
getTransactionManagementState
-
isAllowAutomaticReversal
public boolean isAllowAutomaticReversal() -
getTransactionAmount
public javax.money.MonetaryAmount getTransactionAmount() -
getSubtotal
public javax.money.MonetaryAmount getSubtotal() -
getAdjustmentsTotal
public javax.money.MonetaryAmount getAdjustmentsTotal() -
getFulfillmentTotal
public javax.money.MonetaryAmount getFulfillmentTotal() -
getFeesTotal
public javax.money.MonetaryAmount getFeesTotal() -
getTaxTotal
public javax.money.MonetaryAmount getTaxTotal() -
getLineItems
-
getSecurityCode
-
getPaymentMethodProperties
-
getRequestId
-
setPaymentId
-
setSource
-
setParentTransactionId
-
setParentSourceEntityType
-
setParentSourceEntityId
-
setSourceEntityType
-
setSourceEntityIds
-
setTransactionType
-
setTransactionManagementState
-
setAllowAutomaticReversal
public void setAllowAutomaticReversal(boolean allowAutomaticReversal) -
setTransactionAmount
public void setTransactionAmount(javax.money.MonetaryAmount transactionAmount) -
setSubtotal
public void setSubtotal(javax.money.MonetaryAmount subtotal) -
setAdjustmentsTotal
public void setAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal) -
setFulfillmentTotal
public void setFulfillmentTotal(javax.money.MonetaryAmount fulfillmentTotal) -
setFeesTotal
public void setFeesTotal(javax.money.MonetaryAmount feesTotal) -
setTaxTotal
public void setTaxTotal(javax.money.MonetaryAmount taxTotal) -
setIncludedTaxTotal
public void setIncludedTaxTotal(javax.money.MonetaryAmount includedTaxTotal) -
setLineItems
-
setSecurityCode
-
setPaymentMethodProperties
-
setRequestId
-