Class ExternalFulfillmentCallbackInfo
java.lang.Object
com.broadleafcommerce.paymentgateway.domain.ExternalFulfillmentCallbackInfo
- All Implemented Interfaces:
Serializable
A collection of information needed by the payment gateway when building a response back to the
fulfillment callback.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountThe adjustments total for this payment.Any additional attributes to build the response for the payment gateway.A list ofFulfillmentOptionsmapped by the fulfillment reference number.The gateway type for the payment gateway.javax.money.MonetaryAmountThe item subtotal for this payment.javax.money.MonetaryAmountThe shipping total for this payment.javax.money.MonetaryAmountThe tax total for this payment.javax.money.MonetaryAmountThe transaction total for this payment.inthashCode()voidsetAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal) The adjustments total for this payment.voidsetAttributes(Map<String, Object> attributes) Any additional attributes to build the response for the payment gateway.voidsetFulfillmentOptions(Map<String, List<FulfillmentOption>> fulfillmentOptions) A list ofFulfillmentOptionsmapped by the fulfillment reference number.voidsetGatewayType(String gatewayType) The gateway type for the payment gateway.voidsetOrderSubtotal(javax.money.MonetaryAmount orderSubtotal) The item subtotal for this payment.voidsetShippingTotal(javax.money.MonetaryAmount shippingTotal) The shipping total for this payment.voidsetTaxTotal(javax.money.MonetaryAmount taxTotal) The tax total for this payment.voidsetTransactionTotal(javax.money.MonetaryAmount transactionTotal) The transaction total for this payment.toString()
-
Constructor Details
-
ExternalFulfillmentCallbackInfo
public ExternalFulfillmentCallbackInfo()
-
-
Method Details
-
getGatewayType
The gateway type for the payment gateway. -
getOrderSubtotal
public javax.money.MonetaryAmount getOrderSubtotal()The item subtotal for this payment. Used when calculating amount breakdowns for the gateway. -
getAdjustmentsTotal
public javax.money.MonetaryAmount getAdjustmentsTotal()The adjustments total for this payment. Used when calculating amount breakdowns for the gateway. -
getShippingTotal
public javax.money.MonetaryAmount getShippingTotal()The shipping total for this payment. Used when calculating amount breakdowns for the gateway. -
getTaxTotal
public javax.money.MonetaryAmount getTaxTotal()The tax total for this payment. Used when calculating amount breakdowns for the gateway. -
getTransactionTotal
public javax.money.MonetaryAmount getTransactionTotal()The transaction total for this payment. This is the full amount charged to the payment. -
getFulfillmentOptions
A list ofFulfillmentOptionsmapped by the fulfillment reference number. -
getAttributes
Any additional attributes to build the response for the payment gateway. -
setGatewayType
The gateway type for the payment gateway. -
setOrderSubtotal
public void setOrderSubtotal(javax.money.MonetaryAmount orderSubtotal) The item subtotal for this payment. Used when calculating amount breakdowns for the gateway. -
setAdjustmentsTotal
public void setAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal) The adjustments total for this payment. Used when calculating amount breakdowns for the gateway. -
setShippingTotal
public void setShippingTotal(javax.money.MonetaryAmount shippingTotal) The shipping total for this payment. Used when calculating amount breakdowns for the gateway. -
setTaxTotal
public void setTaxTotal(javax.money.MonetaryAmount taxTotal) The tax total for this payment. Used when calculating amount breakdowns for the gateway. -
setTransactionTotal
public void setTransactionTotal(javax.money.MonetaryAmount transactionTotal) The transaction total for this payment. This is the full amount charged to the payment. -
setFulfillmentOptions
A list ofFulfillmentOptionsmapped by the fulfillment reference number. -
setAttributes
Any additional attributes to build the response for the payment gateway. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-