def METHOD_NAME(self):
    if getattr(self, "transaction_service_api", None) is None:
        self.transaction_service_api = TransactionServiceApi(
            configuration=self.config
        )
    return self.transaction_service_api