Interface ContractUpdateRequestBuilder
- All Superinterfaces:
oracle.communication.brm.charging.messages.update.UpdateRequestBuilder<ContractUpdateRequestBuilder>
public interface ContractUpdateRequestBuilder
extends oracle.communication.brm.charging.messages.update.UpdateRequestBuilder<ContractUpdateRequestBuilder>
Builder for a well-formed
ContractUpdateRequest.-
Method Summary
Modifier and TypeMethodDescriptionwithAccountRatingProfiles(Collection<oracle.communication.brm.charging.product.RatingProfile> accountRatingProfiles) Supplies account-level rating profiles.withContractId(String contractId) Supplies the ECE Contract identifier.withContractOfferingOverrideDetails(Map<String, ContractUpdateRequest.OfferingOverrideDetails> contractOfferingOverrideDetails) Supplies offering override construction details keyed by offering external identifier.withContractStatus(Integer status) Supplies the numeric BRM lifecycle status.withEndDate(ZonedDateTime endDate) Supplies the optional Contract end date.withExternalContractId(String externalContractId) Supplies the external Contract identifier.withServiceRatingProfiles(Map<String, Collection<oracle.communication.brm.charging.product.RatingProfile>> serviceRatingProfiles) Supplies service-level rating profiles keyed by product type.withStartDate(ZonedDateTime startDate) Supplies the optional Contract start date.withVersion(Integer version) Supplies the Contract version.Methods inherited from interface oracle.communication.brm.charging.messages.update.UpdateRequestBuilder
build, withBusinessEvent, withCustomerId, withEventTime, withMsgId, withRevisionCheck, withSharingGroupClassifier, withUpdateType
-
Method Details
-
withContractId
Supplies the ECE Contract identifier.- Parameters:
contractId- the numeric BRM Contract POID ID- Returns:
- this builder
-
withExternalContractId
Supplies the external Contract identifier.- Parameters:
externalContractId- the external Contract identifier- Returns:
- this builder
-
withVersion
Supplies the Contract version.- Parameters:
version- the Contract version- Returns:
- this builder
-
withContractStatus
Supplies the numeric BRM lifecycle status.- Parameters:
status- the numeric value from BRMPIN_FLD_STATUS- Returns:
- this builder
-
withStartDate
Supplies the optional Contract start date.- Parameters:
startDate- the Contract start date, ornull- Returns:
- this builder
-
withEndDate
Supplies the optional Contract end date.- Parameters:
endDate- the Contract end date, ornull- Returns:
- this builder
-
withContractOfferingOverrideDetails
ContractUpdateRequestBuilder withContractOfferingOverrideDetails(Map<String, ContractUpdateRequest.OfferingOverrideDetails> contractOfferingOverrideDetails) Supplies offering override construction details keyed by offering external identifier.- Parameters:
contractOfferingOverrideDetails- the Contract offering override construction details- Returns:
- this builder
-
withAccountRatingProfiles
ContractUpdateRequestBuilder withAccountRatingProfiles(Collection<oracle.communication.brm.charging.product.RatingProfile> accountRatingProfiles) Supplies account-level rating profiles.- Parameters:
accountRatingProfiles- the account rating profiles- Returns:
- this builder
-
withServiceRatingProfiles
ContractUpdateRequestBuilder withServiceRatingProfiles(Map<String, Collection<oracle.communication.brm.charging.product.RatingProfile>> serviceRatingProfiles) Supplies service-level rating profiles keyed by product type.- Parameters:
serviceRatingProfiles- the service rating profiles keyed by product type- Returns:
- this builder
-