def successfulUpdate()

in src/main/scala/payment_failure_comms/models/PaymentFailureRecordUpdate.scala [31:37]


  def successfulUpdate(record: PaymentFailureRecord): PaymentFailureRecordUpdate = {
    PaymentFailureRecordUpdate(
      Id = record.Id,
      PF_Comms_Last_Stage_Processed__c = eventStageMapping.get(record.PF_Comms_Status__c),
      PF_Comms_Number_of_Attempts__c = 0
    )
  }