Class CreateBillingEventRequest
java.lang.Object
com.broadleafcommerce.billing.web.endpoint.domain.CreateBillingEventRequest
A request DTO that contains
BillingEvent and related objects that should be created
alongside it.-
Constructor Summary
ConstructorsConstructorDescriptionCreateBillingEventRequest(BillingEvent billingEvent, List<BillingEventPaymentWithTransaction> billingEventPaymentsWithTransactions, List<BillingEventItemWithTaxDetails> billingEventItemsWithTaxDetails, BillingEventAddress billingEventAddress, List<BillingEventAdjustment> billingEventAdjustments) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe centralBillingEventto be createdA billing address associated to be the primary billing address used for the paymentsA list ofadjustmentsto be created alongside aBillingEventA list ofitems with tax detailsto be created alongside aBillingEventA list ofpayments with transactionsto be created alongside aBillingEventinthashCode()voidsetBillingEvent(BillingEvent billingEvent) The centralBillingEventto be createdvoidsetBillingEventAddress(BillingEventAddress billingEventAddress) A billing address associated to be the primary billing address used for the paymentsvoidsetBillingEventAdjustments(List<BillingEventAdjustment> billingEventAdjustments) A list ofadjustmentsto be created alongside aBillingEventvoidsetBillingEventItemsWithTaxDetails(List<BillingEventItemWithTaxDetails> billingEventItemsWithTaxDetails) A list ofitems with tax detailsto be created alongside aBillingEventvoidsetBillingEventPaymentsWithTransactions(List<BillingEventPaymentWithTransaction> billingEventPaymentsWithTransactions) A list ofpayments with transactionsto be created alongside aBillingEventtoString()
-
Constructor Details
-
CreateBillingEventRequest
public CreateBillingEventRequest() -
CreateBillingEventRequest
public CreateBillingEventRequest(BillingEvent billingEvent, List<BillingEventPaymentWithTransaction> billingEventPaymentsWithTransactions, List<BillingEventItemWithTaxDetails> billingEventItemsWithTaxDetails, BillingEventAddress billingEventAddress, List<BillingEventAdjustment> billingEventAdjustments)
-
-
Method Details
-
getBillingEvent
The centralBillingEventto be created -
getBillingEventPaymentsWithTransactions
A list ofpayments with transactionsto be created alongside aBillingEvent -
getBillingEventItemsWithTaxDetails
A list ofitems with tax detailsto be created alongside aBillingEvent -
getBillingEventAddress
A billing address associated to be the primary billing address used for the payments -
getBillingEventAdjustments
A list ofadjustmentsto be created alongside aBillingEvent -
setBillingEvent
The centralBillingEventto be created -
setBillingEventPaymentsWithTransactions
public void setBillingEventPaymentsWithTransactions(List<BillingEventPaymentWithTransaction> billingEventPaymentsWithTransactions) A list ofpayments with transactionsto be created alongside aBillingEvent -
setBillingEventItemsWithTaxDetails
public void setBillingEventItemsWithTaxDetails(List<BillingEventItemWithTaxDetails> billingEventItemsWithTaxDetails) A list ofitems with tax detailsto be created alongside aBillingEvent -
setBillingEventAddress
A billing address associated to be the primary billing address used for the payments -
setBillingEventAdjustments
A list ofadjustmentsto be created alongside aBillingEvent -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-