override def additionalLogInfo = Map()

in membership-common/src/main/scala/com/gu/zuora/soap/actions/Actions.scala [193:218]


    override def additionalLogInfo = Map("SubscriptionId" -> subscriptionId, "PaymentDate" -> paymentDate.toString)

    val date = if (now isBefore paymentDate) paymentDate else now

    val body = {
      <ns1:amend>
        <ns1:requests>
          <ns1:Amendments>
            <ns2:ContractEffectiveDate>{date}</ns2:ContractEffectiveDate>
            <ns2:CustomerAcceptanceDate>{date}</ns2:CustomerAcceptanceDate>
            <ns2:TermType>TERMED</ns2:TermType>
            <ns2:Name>GetSubscriptionDetailsViaAmend</ns2:Name>
            <ns2:SubscriptionId>{subscriptionId}</ns2:SubscriptionId>
            <ns2:Type>TermsAndConditions</ns2:Type>
          </ns1:Amendments>
          <ns1:AmendOptions>
            <ns1:GenerateInvoice>False</ns1:GenerateInvoice>
            <ns1:ProcessPayments>False</ns1:ProcessPayments>
          </ns1:AmendOptions>
          <ns1:PreviewOptions>
            <ns1:EnablePreviewMode>True</ns1:EnablePreviewMode>
            <ns1:PreviewThroughTermEnd>True</ns1:PreviewThroughTermEnd>
          </ns1:PreviewOptions>
        </ns1:requests>
      </ns1:amend>
    }