Class SavedPaymentMethodTransactionExecutionRequest

java.lang.Object
com.broadleafcommerce.billing.service.provider.domain.SavedPaymentMethodTransactionExecutionRequest
All Implemented Interfaces:
Serializable

public class SavedPaymentMethodTransactionExecutionRequest extends Object implements Serializable
The request payload used to execute a transaction against a SavedPaymentMethod.
Author:
Chris Kittrell (ckittrell)
See Also:
  • Constructor Details

    • SavedPaymentMethodTransactionExecutionRequest

      public SavedPaymentMethodTransactionExecutionRequest()
  • Method Details

    • getTransactionExecutionRequest

      public TransactionExecutionRequest getTransactionExecutionRequest()
    • getPaymentOwningEntityType

      public String 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

      public String 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

      public String getPaymentOwningUserType()
      Describes the owning user of the payment.
      Returns:
      The type describing the owning user of the payment
    • getPaymentOwningUserId

      public String getPaymentOwningUserId()
      The id of the user that owns this payment.
      Returns:
      The id of the user that owns this payment.
    • getPaymentAttributes

      public Map<String,String> getPaymentAttributes()
      Map to capture any additional information about the payment
      Returns:
      Map to capture any additional information about the payment
    • setTransactionExecutionRequest

      public void setTransactionExecutionRequest(TransactionExecutionRequest transactionExecutionRequest)
    • setPaymentOwningEntityType

      public void setPaymentOwningEntityType(String paymentOwningEntityType)
      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

      public void setPaymentOwningEntityId(String paymentOwningEntityId)
      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

      public void setPaymentOwningUserType(String paymentOwningUserType)
      Describes the owning user of the payment.
      Parameters:
      ownerType - The type describing the owning user of the payment
    • setPaymentOwningUserId

      public void setPaymentOwningUserId(String paymentOwningUserId)
      The id of the user that owns this payment.
      Parameters:
      ownerId - The id of the user that owns this payment.
    • setPaymentAttributes

      public void setPaymentAttributes(Map<String,String> paymentAttributes)
      Map to capture any additional information about the payment
      Parameters:
      paymentAttributes - Map to capture any additional information about the payment
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCurrency

      public javax.money.CurrencyUnit getCurrency()
    • getSource

      public String getSource()
    • getSourceEntityType

      public String getSourceEntityType()
    • getSourceEntityId

      public String getSourceEntityId()
    • 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()
    • getIncludedTaxTotal

      public javax.money.MonetaryAmount getIncludedTaxTotal()
    • getRequestId

      public String getRequestId()
    • setSource

      public void setSource(String source)
    • setSourceEntityType

      public void setSourceEntityType(String sourceEntityType)
    • setSourceEntityId

      public void setSourceEntityId(String sourceEntityId)
    • 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)
    • setRequestId

      public void setRequestId(String requestId)