Class BulkPriceUpdateSubscriptionRequest
java.lang.Object
com.broadleafcommerce.subscriptionoperation.web.domain.BulkPriceUpdateSubscriptionRequest
- All Implemented Interfaces:
Serializable
A DTO used to engage bulk update of pricing on all subscriptions identified as in-scope.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe PriceData recurringPrice after the price change.The PriceData recurringPrice before the price change.The segments that identify the accounts whose subscriptions should be excluded from those identified byincludedSegments.The segments that identify the accounts whose subscriptions should be updated.The effective date of the price change.Describes how the effective date of a subscription price change should be determined.Represents the default types of customer scope for which subscription bulk price changes can be applied.The id of the updated price data tied to one or more subscriptions.An idempotency key that can be used to identify repeated requestsinthashCode()voidsetAfterRecurringPrice(BigDecimal afterRecurringPrice) The PriceData recurringPrice after the price change.voidsetBeforeRecurringPrice(BigDecimal beforeRecurringPrice) The PriceData recurringPrice before the price change.voidsetExcludedSegments(Set<String> excludedSegments) The segments that identify the accounts whose subscriptions should be excluded from those identified byincludedSegments.voidsetIncludedSegments(Set<String> includedSegments) The segments that identify the accounts whose subscriptions should be updated.voidsetPriceChangeEffectiveDate(Instant priceChangeEffectiveDate) The effective date of the price change.voidsetPriceChangeEffectiveType(String priceChangeEffectiveType) Describes how the effective date of a subscription price change should be determined.voidsetPriceChangeScopeType(String priceChangeScopeType) Represents the default types of customer scope for which subscription bulk price changes can be applied.voidsetPriceDataId(String priceDataId) The id of the updated price data tied to one or more subscriptions.voidsetReference(String reference) An idempotency key that can be used to identify repeated requeststoString()
-
Constructor Details
-
BulkPriceUpdateSubscriptionRequest
public BulkPriceUpdateSubscriptionRequest()
-
-
Method Details
-
getReference
An idempotency key that can be used to identify repeated requests -
getPriceDataId
The id of the updated price data tied to one or more subscriptions. -
getBeforeRecurringPrice
The PriceData recurringPrice before the price change. -
getAfterRecurringPrice
The PriceData recurringPrice after the price change. -
getPriceChangeEffectiveType
Describes how the effective date of a subscription price change should be determined.- See Also:
-
getPriceChangeScopeType
Represents the default types of customer scope for which subscription bulk price changes can be applied.- See Also:
-
getPriceChangeEffectiveDate
The effective date of the price change. Reserved for future use. -
getIncludedSegments
The segments that identify the accounts whose subscriptions should be updated. Only applicable whenpriceChangeScopeTypeis set toDefaultPriceChangeScopeType.SEGMENTS. -
getExcludedSegments
The segments that identify the accounts whose subscriptions should be excluded from those identified byincludedSegments. Only applicable whenpriceChangeScopeTypeis set toDefaultPriceChangeScopeType.SEGMENTS. -
setReference
An idempotency key that can be used to identify repeated requests -
setPriceDataId
The id of the updated price data tied to one or more subscriptions. -
setBeforeRecurringPrice
The PriceData recurringPrice before the price change. -
setAfterRecurringPrice
The PriceData recurringPrice after the price change. -
setPriceChangeEffectiveType
Describes how the effective date of a subscription price change should be determined.- See Also:
-
setPriceChangeScopeType
Represents the default types of customer scope for which subscription bulk price changes can be applied.- See Also:
-
setPriceChangeEffectiveDate
The effective date of the price change. Reserved for future use. -
setIncludedSegments
The segments that identify the accounts whose subscriptions should be updated. Only applicable whenpriceChangeScopeTypeis set toDefaultPriceChangeScopeType.SEGMENTS. -
setExcludedSegments
The segments that identify the accounts whose subscriptions should be excluded from those identified byincludedSegments. Only applicable whenpriceChangeScopeTypeis set toDefaultPriceChangeScopeType.SEGMENTS. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-