Class SubscriptionNextPeriodBillingEventGenerationRequest

java.lang.Object
com.broadleafcommerce.billing.web.endpoint.domain.SubscriptionNextPeriodBillingEventGenerationRequest
All Implemented Interfaces:
Serializable

public class SubscriptionNextPeriodBillingEventGenerationRequest extends Object implements Serializable
A request DTO that describes the BillingEvents that are to be generated for a given subscription.
See Also:
  • Constructor Details

    • SubscriptionNextPeriodBillingEventGenerationRequest

      public SubscriptionNextPeriodBillingEventGenerationRequest(String subscriptionId, String orderRef, String orderId, String orderApplicationId, String subscriptionActionFlow, Map<String,Object> additionalAttributes)
    • SubscriptionNextPeriodBillingEventGenerationRequest

      public SubscriptionNextPeriodBillingEventGenerationRequest()
  • Method Details

    • getSubscriptionId

      public String getSubscriptionId()
      Id of this subscription
    • getOrderRef

      public String getOrderRef()
      Order number of the order that triggered the action flow
    • getOrderId

      public String getOrderId()
      Id of the order that triggered the action flow
    • getOrderApplicationId

      public String getOrderApplicationId()
      Application Id of the order that triggered the action flow
    • getSubscriptionActionFlow

      public String getSubscriptionActionFlow()
      Describes the action that was executed on the subscription.
      See Also:
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Miscellaneous attributes that can be set to this request in order to inform business logic.
    • setSubscriptionId

      public void setSubscriptionId(String subscriptionId)
      Id of this subscription
    • setOrderRef

      public void setOrderRef(String orderRef)
      Order number of the order that triggered the action flow
    • setOrderId

      public void setOrderId(String orderId)
      Id of the order that triggered the action flow
    • setOrderApplicationId

      public void setOrderApplicationId(String orderApplicationId)
      Application Id of the order that triggered the action flow
    • setSubscriptionActionFlow

      public void setSubscriptionActionFlow(String subscriptionActionFlow)
      Describes the action that was executed on the subscription.
      See Also:
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Miscellaneous attributes that can be set to this request in order to inform business logic.
    • 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