Class ExternalFulfillmentCallbackInfo

java.lang.Object
com.broadleafcommerce.cartoperation.domain.payment.ExternalFulfillmentCallbackInfo
All Implemented Interfaces:
Serializable

public class ExternalFulfillmentCallbackInfo extends Object implements Serializable
A collection of information to send to payment gateway when building a fulfillment callback response.
Since:
Cart Operation Service 2.3.0, Release Train 2.3.0
See Also:
  • Constructor Details

    • ExternalFulfillmentCallbackInfo

      public ExternalFulfillmentCallbackInfo()
  • Method Details

    • getGatewayType

      public String getGatewayType()
      The payment gateway type for this fulfillment callback.
    • getOrderSubtotal

      public javax.money.MonetaryAmount getOrderSubtotal()
      The order item subtotal for this fulfillment callback.
    • getAdjustmentsTotal

      public javax.money.MonetaryAmount getAdjustmentsTotal()
      The adjustments total for this fulfillment callback.
    • getShippingTotal

      public javax.money.MonetaryAmount getShippingTotal()
      The shipping total for this fulfillment callback.
    • getTaxTotal

      public javax.money.MonetaryAmount getTaxTotal()
      The tax total for this fulfillment callback.
    • getTransactionTotal

      public javax.money.MonetaryAmount getTransactionTotal()
      The transaction total for this fulfillment callback.
    • getFulfillmentOptions

      public Map<String,List<ExternalFulfillmentOption>> getFulfillmentOptions()
      A list of ExternalFulfillmentOptions mapped by the fulfillment reference number.
    • getAttributes

      public Map<String,Object> getAttributes()
      Any additional attributes to build the fulfillment callback response for the payment gateway.
    • setGatewayType

      public void setGatewayType(String gatewayType)
      The payment gateway type for this fulfillment callback.
    • setOrderSubtotal

      public void setOrderSubtotal(javax.money.MonetaryAmount orderSubtotal)
      The order item subtotal for this fulfillment callback.
    • setAdjustmentsTotal

      public void setAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal)
      The adjustments total for this fulfillment callback.
    • setShippingTotal

      public void setShippingTotal(javax.money.MonetaryAmount shippingTotal)
      The shipping total for this fulfillment callback.
    • setTaxTotal

      public void setTaxTotal(javax.money.MonetaryAmount taxTotal)
      The tax total for this fulfillment callback.
    • setTransactionTotal

      public void setTransactionTotal(javax.money.MonetaryAmount transactionTotal)
      The transaction total for this fulfillment callback.
    • setFulfillmentOptions

      public void setFulfillmentOptions(Map<String,List<ExternalFulfillmentOption>> fulfillmentOptions)
      A list of ExternalFulfillmentOptions mapped by the fulfillment reference number.
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Any additional attributes to build the fulfillment callback response for the payment gateway.
    • 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