Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
shtukas committed Oct 22, 2024
1 parent 5a322a0 commit a30460e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@ object ZuoraRenewOrderPayload {

def apply(
subscriptionNumber: String,
startDate: LocalDate,
effectDate: LocalDate,
accountNumber: String
): ZuoraRenewOrderPayload = {
val triggerDates = List(
ZuoraRenewOrderPayloadOrderActionTriggerDate(
"ContractEffective",
startDate
effectDate
),
ZuoraRenewOrderPayloadOrderActionTriggerDate(
"ServiceActivation",
startDate
effectDate
),
ZuoraRenewOrderPayloadOrderActionTriggerDate(
"CustomerAcceptance",
startDate
effectDate
),
)

Expand All @@ -76,7 +76,7 @@ object ZuoraRenewOrderPayload {
val processingOptions = ZuoraRenewOrderPayloadProcessingOptions(runBilling = false, collectPayment = false)

ZuoraRenewOrderPayload(
orderDate = startDate,
orderDate = effectDate,
existingAccountNumber = accountNumber,
subscriptions = subscriptions,
processingOptions = processingOptions
Expand Down

0 comments on commit a30460e

Please sign in to comment.